pulp_container_client 2.4.0.dev01613964104 → 2.4.0.dev1614828140

Sign up to get free protection for your applications and to get access to all the features.

Potentially problematic release.


This version of pulp_container_client might be problematic. Click here for more details.

checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 648d293710fc8396c1bab5b933de05a893f03567e098f417fdf440d7b562beb4
4
- data.tar.gz: 59f33b93c682331cfc8ed85e27a7309a87c07e2ade2347464ebfe7eaf05c4c5d
3
+ metadata.gz: 7302dbd3a11fc63235e7b75acbd3262de1fe1746beaf3e1b3a4b616ce9964fa6
4
+ data.tar.gz: cb97e2dba406fb7871f8461a456068bd627954e9f351e04d18881db564cd8355
5
5
  SHA512:
6
- metadata.gz: a5b724c42524c32387c24984b3f414096f2522407b0e19e4324cd9924f7a29b2eda9ee4dc9812c180def723e30afaf97858e15f74c0a059bf56e986439787b35
7
- data.tar.gz: c3294ccc043ce82fe544b9a98ca682679dee729a93bb4c7af8c38eaa4db8eb0b039882c2c7f96603d65656cd24ae34b49d70a29dd4133fe1ab67f6326456275f
6
+ metadata.gz: a0ccebcd1804ffa1e311787b5a3cfcc420cab7085ec028057ce650dc43e5097af88b9279aa0c7d3a728097b30fd32705a5dc00c193a5050d220ae061a93d9719
7
+ data.tar.gz: 299bc65e86a438974f14f3abeeb4df361b94c57c0411fe06de3d8d96d2aa0e781a57cd769acb61d04ecb149a6d2d1fe922a86b6c1bb01b04b90dff91559c0147
data/README.md CHANGED
@@ -7,7 +7,7 @@ Fetch, Upload, Organize, and Distribute Software Packages
7
7
  This SDK is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project:
8
8
 
9
9
  - API version: v3
10
- - Package version: 2.4.0.dev01613964104
10
+ - Package version: 2.4.0.dev1614828140
11
11
  - Build package: org.openapitools.codegen.languages.RubyClientCodegen
12
12
  For more information, please visit [https://pulpproject.org](https://pulpproject.org)
13
13
 
@@ -24,16 +24,16 @@ gem build pulp_container_client.gemspec
24
24
  Then either install the gem locally:
25
25
 
26
26
  ```shell
27
- gem install ./pulp_container_client-2.4.0.dev01613964104.gem
27
+ gem install ./pulp_container_client-2.4.0.dev1614828140.gem
28
28
  ```
29
29
 
30
- (for development, run `gem install --dev ./pulp_container_client-2.4.0.dev01613964104.gem` to install the development dependencies)
30
+ (for development, run `gem install --dev ./pulp_container_client-2.4.0.dev1614828140.gem` to install the development dependencies)
31
31
 
32
32
  or publish the gem to a gem hosting service, e.g. [RubyGems](https://rubygems.org/).
33
33
 
34
34
  Finally add this to the Gemfile:
35
35
 
36
- gem 'pulp_container_client', '~> 2.4.0.dev01613964104'
36
+ gem 'pulp_container_client', '~> 2.4.0.dev1614828140'
37
37
 
38
38
  ### Install from Git
39
39
 
@@ -139,6 +139,7 @@ Class | Method | HTTP request | Description
139
139
  *PulpContainerClient::RepositoriesContainerApi* | [**update**](docs/RepositoriesContainerApi.md#update) | **PUT** {container_container_repository_href} | Update a container repository
140
140
  *PulpContainerClient::RepositoriesContainerPushApi* | [**list**](docs/RepositoriesContainerPushApi.md#list) | **GET** /pulp/api/v3/repositories/container/container-push/ | List container push repositorys
141
141
  *PulpContainerClient::RepositoriesContainerPushApi* | [**read**](docs/RepositoriesContainerPushApi.md#read) | **GET** {container_container_push_repository_href} | Inspect a container push repository
142
+ *PulpContainerClient::RepositoriesContainerPushApi* | [**remove_image**](docs/RepositoriesContainerPushApi.md#remove_image) | **POST** {container_container_push_repository_href}remove_image/ | Delete an image from a repository
142
143
  *PulpContainerClient::RepositoriesContainerPushApi* | [**tag**](docs/RepositoriesContainerPushApi.md#tag) | **POST** {container_container_push_repository_href}tag/ | Create a Tag
143
144
  *PulpContainerClient::RepositoriesContainerPushApi* | [**untag**](docs/RepositoriesContainerPushApi.md#untag) | **POST** {container_container_push_repository_href}untag/ | Delete a tag
144
145
  *PulpContainerClient::RepositoriesContainerVersionsApi* | [**delete**](docs/RepositoriesContainerVersionsApi.md#delete) | **DELETE** {container_container_push_repository_version_href} | Delete a repository version
@@ -190,6 +191,7 @@ Class | Method | HTTP request | Description
190
191
  - [PulpContainerClient::PatchedcontainerContentRedirectContentGuard](docs/PatchedcontainerContentRedirectContentGuard.md)
191
192
  - [PulpContainerClient::PolicyEnum](docs/PolicyEnum.md)
192
193
  - [PulpContainerClient::RecursiveManage](docs/RecursiveManage.md)
194
+ - [PulpContainerClient::RemoveImage](docs/RemoveImage.md)
193
195
  - [PulpContainerClient::RepositorySyncURL](docs/RepositorySyncURL.md)
194
196
  - [PulpContainerClient::RepositoryVersion](docs/RepositoryVersion.md)
195
197
  - [PulpContainerClient::RepositoryVersionResponse](docs/RepositoryVersionResponse.md)
@@ -4,12 +4,12 @@
4
4
 
5
5
  Name | Type | Description | Notes
6
6
  ------------ | ------------- | ------------- | -------------
7
- **content_guard** | **String** | An optional content-guard. If none is specified, a default one will be used. | [optional]
7
+ **repository_version** | **String** | RepositoryVersion to be served | [optional]
8
8
  **name** | **String** | A unique name. Ex, `rawhide` and `stable`. |
9
+ **content_guard** | **String** | An optional content-guard. If none is specified, a default one will be used. | [optional]
10
+ **pulp_labels** | [**Object**](.md) | | [optional]
9
11
  **repository** | **String** | The latest RepositoryVersion for this Repository will be served. | [optional]
10
12
  **base_path** | **String** | The base (relative) path component of the published url. Avoid paths that overlap with other distribution base paths (e.g. \"foo\" and \"foo/bar\") |
11
- **pulp_labels** | [**Object**](.md) | | [optional]
12
- **repository_version** | **String** | RepositoryVersion to be served | [optional]
13
13
  **private** | **Boolean** | Restrict pull access to explicitly authorized users. Defaults to unrestricted pull access. | [optional]
14
14
  **description** | **String** | An optional description. | [optional]
15
15
 
@@ -18,12 +18,12 @@ Name | Type | Description | Notes
18
18
  ```ruby
19
19
  require 'PulpContainerClient'
20
20
 
21
- instance = PulpContainerClient::ContainerContainerDistribution.new(content_guard: null,
21
+ instance = PulpContainerClient::ContainerContainerDistribution.new(repository_version: null,
22
22
  name: null,
23
+ content_guard: null,
24
+ pulp_labels: null,
23
25
  repository: null,
24
26
  base_path: null,
25
- pulp_labels: null,
26
- repository_version: null,
27
27
  private: null,
28
28
  description: null)
29
29
  ```
@@ -4,14 +4,14 @@
4
4
 
5
5
  Name | Type | Description | Notes
6
6
  ------------ | ------------- | ------------- | -------------
7
- **content_guard** | **String** | An optional content-guard. If none is specified, a default one will be used. | [optional]
7
+ **repository_version** | **String** | RepositoryVersion to be served | [optional]
8
8
  **name** | **String** | A unique name. Ex, `rawhide` and `stable`. |
9
+ **content_guard** | **String** | An optional content-guard. If none is specified, a default one will be used. | [optional]
10
+ **pulp_labels** | [**Object**](.md) | | [optional]
11
+ **pulp_href** | **String** | | [optional] [readonly]
9
12
  **repository** | **String** | The latest RepositoryVersion for this Repository will be served. | [optional]
10
13
  **base_path** | **String** | The base (relative) path component of the published url. Avoid paths that overlap with other distribution base paths (e.g. \"foo\" and \"foo/bar\") |
11
14
  **pulp_created** | **DateTime** | Timestamp of creation. | [optional] [readonly]
12
- **pulp_labels** | [**Object**](.md) | | [optional]
13
- **repository_version** | **String** | RepositoryVersion to be served | [optional]
14
- **pulp_href** | **String** | | [optional] [readonly]
15
15
  **registry_path** | **String** | The Registry hostame/name/ to use with docker pull command defined by this distribution. | [optional] [readonly]
16
16
  **namespace** | **String** | Namespace this distribution belongs to. | [optional] [readonly]
17
17
  **private** | **Boolean** | Restrict pull access to explicitly authorized users. Defaults to unrestricted pull access. | [optional]
@@ -22,14 +22,14 @@ Name | Type | Description | Notes
22
22
  ```ruby
23
23
  require 'PulpContainerClient'
24
24
 
25
- instance = PulpContainerClient::ContainerContainerDistributionResponse.new(content_guard: null,
25
+ instance = PulpContainerClient::ContainerContainerDistributionResponse.new(repository_version: null,
26
26
  name: null,
27
+ content_guard: null,
28
+ pulp_labels: null,
29
+ pulp_href: null,
27
30
  repository: null,
28
31
  base_path: null,
29
32
  pulp_created: null,
30
- pulp_labels: null,
31
- repository_version: null,
32
- pulp_href: null,
33
33
  registry_path: null,
34
34
  namespace: null,
35
35
  private: null,
@@ -10,11 +10,8 @@ Name | Type | Description | Notes
10
10
  **url** | **String** | The URL of an external content source. |
11
11
  **ca_cert** | **String** | A PEM encoded CA certificate used to validate the server certificate presented by the remote server. | [optional]
12
12
  **client_cert** | **String** | A PEM encoded client certificate used for authentication. | [optional]
13
- **client_key** | **String** | A PEM encoded private key used for authentication. | [optional]
14
13
  **tls_validation** | **Boolean** | If True, TLS peer validation must be performed. | [optional]
15
14
  **proxy_url** | **String** | The proxy URL. Format: scheme://user:password@host:port | [optional]
16
- **username** | **String** | The username to be used for authentication when syncing. | [optional]
17
- **password** | **String** | The password to be used for authentication when syncing. | [optional]
18
15
  **pulp_labels** | [**Object**](.md) | | [optional]
19
16
  **pulp_last_updated** | **DateTime** | Timestamp of the most recent update of the remote. | [optional] [readonly]
20
17
  **download_concurrency** | **Integer** | Total number of simultaneous connections. | [optional]
@@ -39,11 +36,8 @@ instance = PulpContainerClient::ContainerContainerRemoteResponse.new(pulp_href:
39
36
  url: null,
40
37
  ca_cert: null,
41
38
  client_cert: null,
42
- client_key: null,
43
39
  tls_validation: null,
44
40
  proxy_url: null,
45
- username: null,
46
- password: null,
47
41
  pulp_labels: null,
48
42
  pulp_last_updated: null,
49
43
  download_concurrency: null,
@@ -4,12 +4,12 @@
4
4
 
5
5
  Name | Type | Description | Notes
6
6
  ------------ | ------------- | ------------- | -------------
7
- **content_guard** | **String** | An optional content-guard. If none is specified, a default one will be used. | [optional]
7
+ **repository_version** | **String** | RepositoryVersion to be served | [optional]
8
8
  **name** | **String** | A unique name. Ex, `rawhide` and `stable`. | [optional]
9
+ **content_guard** | **String** | An optional content-guard. If none is specified, a default one will be used. | [optional]
10
+ **pulp_labels** | [**Object**](.md) | | [optional]
9
11
  **repository** | **String** | The latest RepositoryVersion for this Repository will be served. | [optional]
10
12
  **base_path** | **String** | The base (relative) path component of the published url. Avoid paths that overlap with other distribution base paths (e.g. \"foo\" and \"foo/bar\") | [optional]
11
- **pulp_labels** | [**Object**](.md) | | [optional]
12
- **repository_version** | **String** | RepositoryVersion to be served | [optional]
13
13
  **private** | **Boolean** | Restrict pull access to explicitly authorized users. Defaults to unrestricted pull access. | [optional]
14
14
  **description** | **String** | An optional description. | [optional]
15
15
 
@@ -18,12 +18,12 @@ Name | Type | Description | Notes
18
18
  ```ruby
19
19
  require 'PulpContainerClient'
20
20
 
21
- instance = PulpContainerClient::PatchedcontainerContainerDistribution.new(content_guard: null,
21
+ instance = PulpContainerClient::PatchedcontainerContainerDistribution.new(repository_version: null,
22
22
  name: null,
23
+ content_guard: null,
24
+ pulp_labels: null,
23
25
  repository: null,
24
26
  base_path: null,
25
- pulp_labels: null,
26
- repository_version: null,
27
27
  private: null,
28
28
  description: null)
29
29
  ```
@@ -0,0 +1,17 @@
1
+ # PulpContainerClient::RemoveImage
2
+
3
+ ## Properties
4
+
5
+ Name | Type | Description | Notes
6
+ ------------ | ------------- | ------------- | -------------
7
+ **digest** | **String** | sha256 of the Manifest file |
8
+
9
+ ## Code Sample
10
+
11
+ ```ruby
12
+ require 'PulpContainerClient'
13
+
14
+ instance = PulpContainerClient::RemoveImage.new(digest: null)
15
+ ```
16
+
17
+
@@ -6,6 +6,7 @@ Method | HTTP request | Description
6
6
  ------------- | ------------- | -------------
7
7
  [**list**](RepositoriesContainerPushApi.md#list) | **GET** /pulp/api/v3/repositories/container/container-push/ | List container push repositorys
8
8
  [**read**](RepositoriesContainerPushApi.md#read) | **GET** {container_container_push_repository_href} | Inspect a container push repository
9
+ [**remove_image**](RepositoriesContainerPushApi.md#remove_image) | **POST** {container_container_push_repository_href}remove_image/ | Delete an image from a repository
9
10
  [**tag**](RepositoriesContainerPushApi.md#tag) | **POST** {container_container_push_repository_href}tag/ | Create a Tag
10
11
  [**untag**](RepositoriesContainerPushApi.md#untag) | **POST** {container_container_push_repository_href}untag/ | Delete a tag
11
12
 
@@ -145,6 +146,61 @@ Name | Type | Description | Notes
145
146
  - **Accept**: application/json
146
147
 
147
148
 
149
+ ## remove_image
150
+
151
+ > AsyncOperationResponse remove_image(container_container_push_repository_href, remove_image)
152
+
153
+ Delete an image from a repository
154
+
155
+ Trigger an asynchronous task to remove a manifest and all its associated data by a digest
156
+
157
+ ### Example
158
+
159
+ ```ruby
160
+ # load the gem
161
+ require 'pulp_container_client'
162
+ # setup authorization
163
+ PulpContainerClient.configure do |config|
164
+ # Configure HTTP basic authorization: basicAuth
165
+ config.username = 'YOUR USERNAME'
166
+ config.password = 'YOUR PASSWORD'
167
+ end
168
+
169
+ api_instance = PulpContainerClient::RepositoriesContainerPushApi.new
170
+ container_container_push_repository_href = 'container_container_push_repository_href_example' # String |
171
+ remove_image = PulpContainerClient::RemoveImage.new # RemoveImage |
172
+
173
+ begin
174
+ #Delete an image from a repository
175
+ result = api_instance.remove_image(container_container_push_repository_href, remove_image)
176
+ p result
177
+ rescue PulpContainerClient::ApiError => e
178
+ puts "Exception when calling RepositoriesContainerPushApi->remove_image: #{e}"
179
+ end
180
+ ```
181
+
182
+ ### Parameters
183
+
184
+
185
+ Name | Type | Description | Notes
186
+ ------------- | ------------- | ------------- | -------------
187
+ **container_container_push_repository_href** | **String**| |
188
+ **remove_image** | [**RemoveImage**](RemoveImage.md)| |
189
+
190
+ ### Return type
191
+
192
+ [**AsyncOperationResponse**](AsyncOperationResponse.md)
193
+
194
+ ### Authorization
195
+
196
+ [basicAuth](../README.md#basicAuth)
197
+
198
+ ### HTTP request headers
199
+
200
+ - **Content-Type**: application/json, application/x-www-form-urlencoded, multipart/form-data
201
+ - **Accept**: application/json
202
+
203
+
148
204
  ## tag
149
205
 
150
206
  > AsyncOperationResponse tag(container_container_push_repository_href, tag_image)
@@ -53,6 +53,7 @@ require 'pulp_container_client/models/patchedcontainer_container_repository'
53
53
  require 'pulp_container_client/models/patchedcontainer_content_redirect_content_guard'
54
54
  require 'pulp_container_client/models/policy_enum'
55
55
  require 'pulp_container_client/models/recursive_manage'
56
+ require 'pulp_container_client/models/remove_image'
56
57
  require 'pulp_container_client/models/repository_sync_url'
57
58
  require 'pulp_container_client/models/repository_version'
58
59
  require 'pulp_container_client/models/repository_version_response'
@@ -176,6 +176,76 @@ module PulpContainerClient
176
176
  return data, status_code, headers
177
177
  end
178
178
 
179
+ # Delete an image from a repository
180
+ # Trigger an asynchronous task to remove a manifest and all its associated data by a digest
181
+ # @param container_container_push_repository_href [String]
182
+ # @param remove_image [RemoveImage]
183
+ # @param [Hash] opts the optional parameters
184
+ # @return [AsyncOperationResponse]
185
+ def remove_image(container_container_push_repository_href, remove_image, opts = {})
186
+ data, _status_code, _headers = remove_image_with_http_info(container_container_push_repository_href, remove_image, opts)
187
+ data
188
+ end
189
+
190
+ # Delete an image from a repository
191
+ # Trigger an asynchronous task to remove a manifest and all its associated data by a digest
192
+ # @param container_container_push_repository_href [String]
193
+ # @param remove_image [RemoveImage]
194
+ # @param [Hash] opts the optional parameters
195
+ # @return [Array<(AsyncOperationResponse, Integer, Hash)>] AsyncOperationResponse data, response status code and response headers
196
+ def remove_image_with_http_info(container_container_push_repository_href, remove_image, opts = {})
197
+ if @api_client.config.debugging
198
+ @api_client.config.logger.debug 'Calling API: RepositoriesContainerPushApi.remove_image ...'
199
+ end
200
+ # verify the required parameter 'container_container_push_repository_href' is set
201
+ if @api_client.config.client_side_validation && container_container_push_repository_href.nil?
202
+ fail ArgumentError, "Missing the required parameter 'container_container_push_repository_href' when calling RepositoriesContainerPushApi.remove_image"
203
+ end
204
+ # verify the required parameter 'remove_image' is set
205
+ if @api_client.config.client_side_validation && remove_image.nil?
206
+ fail ArgumentError, "Missing the required parameter 'remove_image' when calling RepositoriesContainerPushApi.remove_image"
207
+ end
208
+ # resource path
209
+ local_var_path = '{container_container_push_repository_href}remove_image/'.sub('{' + 'container_container_push_repository_href' + '}', CGI.escape(container_container_push_repository_href.to_s).gsub('%2F', '/'))
210
+
211
+ # query parameters
212
+ query_params = opts[:query_params] || {}
213
+
214
+ # header parameters
215
+ header_params = opts[:header_params] || {}
216
+ # HTTP header 'Accept' (if needed)
217
+ header_params['Accept'] = @api_client.select_header_accept(['application/json'])
218
+ # HTTP header 'Content-Type'
219
+ header_params['Content-Type'] = @api_client.select_header_content_type(['application/json', 'application/x-www-form-urlencoded', 'multipart/form-data'])
220
+
221
+ # form parameters
222
+ form_params = opts[:form_params] || {}
223
+
224
+ # http body (model)
225
+ post_body = opts[:body] || @api_client.object_to_http_body(remove_image)
226
+
227
+ # return_type
228
+ return_type = opts[:return_type] || 'AsyncOperationResponse'
229
+
230
+ # auth_names
231
+ auth_names = opts[:auth_names] || ['basicAuth']
232
+
233
+ new_options = opts.merge(
234
+ :header_params => header_params,
235
+ :query_params => query_params,
236
+ :form_params => form_params,
237
+ :body => post_body,
238
+ :auth_names => auth_names,
239
+ :return_type => return_type
240
+ )
241
+
242
+ data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
243
+ if @api_client.config.debugging
244
+ @api_client.config.logger.debug "API called: RepositoriesContainerPushApi#remove_image\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
245
+ end
246
+ return data, status_code, headers
247
+ end
248
+
179
249
  # Create a Tag
180
250
  # Trigger an asynchronous task to tag an image in the repository
181
251
  # @param container_container_push_repository_href [String]
@@ -15,23 +15,23 @@ require 'date'
15
15
  module PulpContainerClient
16
16
  # A serializer for ContainerDistribution.
17
17
  class ContainerContainerDistribution
18
- # An optional content-guard. If none is specified, a default one will be used.
19
- attr_accessor :content_guard
18
+ # RepositoryVersion to be served
19
+ attr_accessor :repository_version
20
20
 
21
21
  # A unique name. Ex, `rawhide` and `stable`.
22
22
  attr_accessor :name
23
23
 
24
+ # An optional content-guard. If none is specified, a default one will be used.
25
+ attr_accessor :content_guard
26
+
27
+ attr_accessor :pulp_labels
28
+
24
29
  # The latest RepositoryVersion for this Repository will be served.
25
30
  attr_accessor :repository
26
31
 
27
32
  # The base (relative) path component of the published url. Avoid paths that overlap with other distribution base paths (e.g. \"foo\" and \"foo/bar\")
28
33
  attr_accessor :base_path
29
34
 
30
- attr_accessor :pulp_labels
31
-
32
- # RepositoryVersion to be served
33
- attr_accessor :repository_version
34
-
35
35
  # Restrict pull access to explicitly authorized users. Defaults to unrestricted pull access.
36
36
  attr_accessor :private
37
37
 
@@ -41,12 +41,12 @@ module PulpContainerClient
41
41
  # Attribute mapping from ruby-style variable name to JSON key.
42
42
  def self.attribute_map
43
43
  {
44
- :'content_guard' => :'content_guard',
44
+ :'repository_version' => :'repository_version',
45
45
  :'name' => :'name',
46
+ :'content_guard' => :'content_guard',
47
+ :'pulp_labels' => :'pulp_labels',
46
48
  :'repository' => :'repository',
47
49
  :'base_path' => :'base_path',
48
- :'pulp_labels' => :'pulp_labels',
49
- :'repository_version' => :'repository_version',
50
50
  :'private' => :'private',
51
51
  :'description' => :'description'
52
52
  }
@@ -55,12 +55,12 @@ module PulpContainerClient
55
55
  # Attribute type mapping.
56
56
  def self.openapi_types
57
57
  {
58
- :'content_guard' => :'String',
58
+ :'repository_version' => :'String',
59
59
  :'name' => :'String',
60
+ :'content_guard' => :'String',
61
+ :'pulp_labels' => :'Object',
60
62
  :'repository' => :'String',
61
63
  :'base_path' => :'String',
62
- :'pulp_labels' => :'Object',
63
- :'repository_version' => :'String',
64
64
  :'private' => :'Boolean',
65
65
  :'description' => :'String'
66
66
  }
@@ -69,8 +69,8 @@ module PulpContainerClient
69
69
  # List of attributes with nullable: true
70
70
  def self.openapi_nullable
71
71
  Set.new([
72
- :'repository',
73
72
  :'repository_version',
73
+ :'repository',
74
74
  :'description'
75
75
  ])
76
76
  end
@@ -90,28 +90,28 @@ module PulpContainerClient
90
90
  h[k.to_sym] = v
91
91
  }
92
92
 
93
- if attributes.key?(:'content_guard')
94
- self.content_guard = attributes[:'content_guard']
93
+ if attributes.key?(:'repository_version')
94
+ self.repository_version = attributes[:'repository_version']
95
95
  end
96
96
 
97
97
  if attributes.key?(:'name')
98
98
  self.name = attributes[:'name']
99
99
  end
100
100
 
101
- if attributes.key?(:'repository')
102
- self.repository = attributes[:'repository']
103
- end
104
-
105
- if attributes.key?(:'base_path')
106
- self.base_path = attributes[:'base_path']
101
+ if attributes.key?(:'content_guard')
102
+ self.content_guard = attributes[:'content_guard']
107
103
  end
108
104
 
109
105
  if attributes.key?(:'pulp_labels')
110
106
  self.pulp_labels = attributes[:'pulp_labels']
111
107
  end
112
108
 
113
- if attributes.key?(:'repository_version')
114
- self.repository_version = attributes[:'repository_version']
109
+ if attributes.key?(:'repository')
110
+ self.repository = attributes[:'repository']
111
+ end
112
+
113
+ if attributes.key?(:'base_path')
114
+ self.base_path = attributes[:'base_path']
115
115
  end
116
116
 
117
117
  if attributes.key?(:'private')
@@ -151,12 +151,12 @@ module PulpContainerClient
151
151
  def ==(o)
152
152
  return true if self.equal?(o)
153
153
  self.class == o.class &&
154
- content_guard == o.content_guard &&
154
+ repository_version == o.repository_version &&
155
155
  name == o.name &&
156
+ content_guard == o.content_guard &&
157
+ pulp_labels == o.pulp_labels &&
156
158
  repository == o.repository &&
157
159
  base_path == o.base_path &&
158
- pulp_labels == o.pulp_labels &&
159
- repository_version == o.repository_version &&
160
160
  private == o.private &&
161
161
  description == o.description
162
162
  end
@@ -170,7 +170,7 @@ module PulpContainerClient
170
170
  # Calculates hash code according to all attributes.
171
171
  # @return [Integer] Hash code
172
172
  def hash
173
- [content_guard, name, repository, base_path, pulp_labels, repository_version, private, description].hash
173
+ [repository_version, name, content_guard, pulp_labels, repository, base_path, private, description].hash
174
174
  end
175
175
 
176
176
  # Builds the object from hash