pulp_container_client 2.4.0.dev01614050467 → 2.4.0.dev1614914600

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.

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: 8a41a215abb54b3732dd5f5d6b04a4117999aac4bd5f7e5054989b481d75bc0a
4
- data.tar.gz: 0ab52d8a702df525beb071800752a23102d70d5a8256893cb7f27e0047b3f898
3
+ metadata.gz: 8c70117acef3e43a4a784fb2ed36ecd3ac7adf186425566eed9c043870926774
4
+ data.tar.gz: 6e2bbfc8d06e014536041541db9cda1db5b2cb116d6ff9e89be308f2d080b89d
5
5
  SHA512:
6
- metadata.gz: 589ef386d43be0df596d076c8825505688715742d17bd9f55965d9f5208a22d78786de19015b027e52082a0f739a72c45e3dcddea17a7939a115efc2e0ad415f
7
- data.tar.gz: ce966b7c4154466cb49f9908e16ae906f0ff0eb6451cb7c77b707a70e01e4fc647e19b1b57dd8b156174cf06cf797ce88f094d75d3d74c524696159f21a0c300
6
+ metadata.gz: 11950d04f0449e2e322fa036d3cf9ea39d64a59c69c67506a35db0bab8fdb188fbbc0dd0cafa4e88498ef447cc1cb9330035fd1765f446e92fd3dcdc8dab4c05
7
+ data.tar.gz: 3aa6da6f08073156aa9bb9ff3a8916ba3ff8b52cfebd4be7dba740d3775cc2214e9e3da11562c7a8d6261b76d8e40ee1e4cc8d3e5e2ab3b10ea9120d68eec01b
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.dev01614050467
10
+ - Package version: 2.4.0.dev1614914600
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.dev01614050467.gem
27
+ gem install ./pulp_container_client-2.4.0.dev1614914600.gem
28
28
  ```
29
29
 
30
- (for development, run `gem install --dev ./pulp_container_client-2.4.0.dev01614050467.gem` to install the development dependencies)
30
+ (for development, run `gem install --dev ./pulp_container_client-2.4.0.dev1614914600.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.dev01614050467'
36
+ gem 'pulp_container_client', '~> 2.4.0.dev1614914600'
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
- **name** | **String** | A unique name. Ex, `rawhide` and `stable`. |
7
+ **repository** | **String** | The latest RepositoryVersion for this Repository will be served. | [optional]
8
8
  **repository_version** | **String** | RepositoryVersion to be served | [optional]
9
+ **name** | **String** | A unique name. Ex, `rawhide` and `stable`. |
9
10
  **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\") |
10
- **content_guard** | **String** | An optional content-guard. If none is specified, a default one will be used. | [optional]
11
- **repository** | **String** | The latest RepositoryVersion for this Repository will be served. | [optional]
12
11
  **pulp_labels** | [**Object**](.md) | | [optional]
12
+ **content_guard** | **String** | An optional content-guard. If none is specified, a default one will be used. | [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(name: null,
21
+ instance = PulpContainerClient::ContainerContainerDistribution.new(repository: null,
22
22
  repository_version: null,
23
+ name: null,
23
24
  base_path: null,
24
- content_guard: null,
25
- repository: null,
26
25
  pulp_labels: null,
26
+ content_guard: 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
- **pulp_created** | **DateTime** | Timestamp of creation. | [optional] [readonly]
8
- **name** | **String** | A unique name. Ex, `rawhide` and `stable`. |
7
+ **repository** | **String** | The latest RepositoryVersion for this Repository will be served. | [optional]
9
8
  **pulp_href** | **String** | | [optional] [readonly]
10
9
  **repository_version** | **String** | RepositoryVersion to be served | [optional]
10
+ **name** | **String** | A unique name. Ex, `rawhide` and `stable`. |
11
11
  **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\") |
12
- **content_guard** | **String** | An optional content-guard. If none is specified, a default one will be used. | [optional]
13
- **repository** | **String** | The latest RepositoryVersion for this Repository will be served. | [optional]
14
12
  **pulp_labels** | [**Object**](.md) | | [optional]
13
+ **content_guard** | **String** | An optional content-guard. If none is specified, a default one will be used. | [optional]
14
+ **pulp_created** | **DateTime** | Timestamp of creation. | [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(pulp_created: null,
26
- name: null,
25
+ instance = PulpContainerClient::ContainerContainerDistributionResponse.new(repository: null,
27
26
  pulp_href: null,
28
27
  repository_version: null,
28
+ name: null,
29
29
  base_path: null,
30
- content_guard: null,
31
- repository: null,
32
30
  pulp_labels: null,
31
+ content_guard: null,
32
+ pulp_created: 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
- **name** | **String** | A unique name. Ex, `rawhide` and `stable`. | [optional]
7
+ **repository** | **String** | The latest RepositoryVersion for this Repository will be served. | [optional]
8
8
  **repository_version** | **String** | RepositoryVersion to be served | [optional]
9
+ **name** | **String** | A unique name. Ex, `rawhide` and `stable`. | [optional]
9
10
  **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]
10
- **content_guard** | **String** | An optional content-guard. If none is specified, a default one will be used. | [optional]
11
- **repository** | **String** | The latest RepositoryVersion for this Repository will be served. | [optional]
12
11
  **pulp_labels** | [**Object**](.md) | | [optional]
12
+ **content_guard** | **String** | An optional content-guard. If none is specified, a default one will be used. | [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(name: null,
21
+ instance = PulpContainerClient::PatchedcontainerContainerDistribution.new(repository: null,
22
22
  repository_version: null,
23
+ name: null,
23
24
  base_path: null,
24
- content_guard: null,
25
- repository: null,
26
25
  pulp_labels: null,
26
+ content_guard: 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
- # A unique name. Ex, `rawhide` and `stable`.
19
- attr_accessor :name
18
+ # The latest RepositoryVersion for this Repository will be served.
19
+ attr_accessor :repository
20
20
 
21
21
  # RepositoryVersion to be served
22
22
  attr_accessor :repository_version
23
23
 
24
+ # A unique name. Ex, `rawhide` and `stable`.
25
+ attr_accessor :name
26
+
24
27
  # The base (relative) path component of the published url. Avoid paths that overlap with other distribution base paths (e.g. \"foo\" and \"foo/bar\")
25
28
  attr_accessor :base_path
26
29
 
30
+ attr_accessor :pulp_labels
31
+
27
32
  # An optional content-guard. If none is specified, a default one will be used.
28
33
  attr_accessor :content_guard
29
34
 
30
- # The latest RepositoryVersion for this Repository will be served.
31
- attr_accessor :repository
32
-
33
- attr_accessor :pulp_labels
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
- :'name' => :'name',
44
+ :'repository' => :'repository',
45
45
  :'repository_version' => :'repository_version',
46
+ :'name' => :'name',
46
47
  :'base_path' => :'base_path',
47
- :'content_guard' => :'content_guard',
48
- :'repository' => :'repository',
49
48
  :'pulp_labels' => :'pulp_labels',
49
+ :'content_guard' => :'content_guard',
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
- :'name' => :'String',
58
+ :'repository' => :'String',
59
59
  :'repository_version' => :'String',
60
+ :'name' => :'String',
60
61
  :'base_path' => :'String',
61
- :'content_guard' => :'String',
62
- :'repository' => :'String',
63
62
  :'pulp_labels' => :'Object',
63
+ :'content_guard' => :'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_version',
73
72
  :'repository',
73
+ :'repository_version',
74
74
  :'description'
75
75
  ])
76
76
  end
@@ -90,30 +90,30 @@ module PulpContainerClient
90
90
  h[k.to_sym] = v
91
91
  }
92
92
 
93
- if attributes.key?(:'name')
94
- self.name = attributes[:'name']
93
+ if attributes.key?(:'repository')
94
+ self.repository = attributes[:'repository']
95
95
  end
96
96
 
97
97
  if attributes.key?(:'repository_version')
98
98
  self.repository_version = attributes[:'repository_version']
99
99
  end
100
100
 
101
- if attributes.key?(:'base_path')
102
- self.base_path = attributes[:'base_path']
103
- end
104
-
105
- if attributes.key?(:'content_guard')
106
- self.content_guard = attributes[:'content_guard']
101
+ if attributes.key?(:'name')
102
+ self.name = attributes[:'name']
107
103
  end
108
104
 
109
- if attributes.key?(:'repository')
110
- self.repository = attributes[:'repository']
105
+ if attributes.key?(:'base_path')
106
+ self.base_path = attributes[:'base_path']
111
107
  end
112
108
 
113
109
  if attributes.key?(:'pulp_labels')
114
110
  self.pulp_labels = attributes[:'pulp_labels']
115
111
  end
116
112
 
113
+ if attributes.key?(:'content_guard')
114
+ self.content_guard = attributes[:'content_guard']
115
+ end
116
+
117
117
  if attributes.key?(:'private')
118
118
  self.private = attributes[:'private']
119
119
  end
@@ -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
- name == o.name &&
154
+ repository == o.repository &&
155
155
  repository_version == o.repository_version &&
156
+ name == o.name &&
156
157
  base_path == o.base_path &&
157
- content_guard == o.content_guard &&
158
- repository == o.repository &&
159
158
  pulp_labels == o.pulp_labels &&
159
+ content_guard == o.content_guard &&
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
- [name, repository_version, base_path, content_guard, repository, pulp_labels, private, description].hash
173
+ [repository, repository_version, name, base_path, pulp_labels, content_guard, private, description].hash
174
174
  end
175
175
 
176
176
  # Builds the object from hash