pulpcore_client 3.108.0 → 3.109.0

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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: f0c5573c96d7c215ff0c985dc4a6bd644ecf9b8264e7f99bc5c65d978a647a56
4
- data.tar.gz: 67e905f4b7f9ef3857e84ed803c85058e42715cec89a5e71901d58f3ba10deef
3
+ metadata.gz: 62f912d47aaf2c62e36aceb39a855712efdffd9fc71c51ada7763abd53f311ad
4
+ data.tar.gz: 3bd2068d9b0675e55f068bb73ab61c0a267eff8554f2a6894f5e5f4315f4bf72
5
5
  SHA512:
6
- metadata.gz: b8711ecd60f7ff41c9068f19d31df11ce89eefb24a99121b5008f530f8e4b625e72ef641d7fdfc367b2d26f1c18235856755ffeba73e2eca7a4d0c42024ff593
7
- data.tar.gz: 78c982f058d6f13b2fbae2ed294ee373798564e523b72e3288709421a364b3b0c16771270003d22ceeb561a04ba4dca54ee36b49ba0c9b6c745e96e3ef5331dd
6
+ metadata.gz: 61442424eedc453ce109c7f193afcb4222f30e8cbc9cb4d71342ed73d5859f7be8bb0d8601024443e47d425f150352d55f746eb7c4e517f4e18733bc4a2cc29f
7
+ data.tar.gz: a5f219bc75578d1b89bcdbd130aba8ec52193723d353c03dd7946e31507a2c4e842e6c317568ebedc8e8dea908c0d7f69cefc6f753f376215a4ea9b58c615175
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: 3.108.0
10
+ - Package version: 3.109.0
11
11
  - Generator version: 7.10.0
12
12
  - Build package: org.openapitools.codegen.languages.RubyClientCodegen
13
13
  For more information, please visit [https://pulpproject.org](https://pulpproject.org)
@@ -25,16 +25,16 @@ gem build pulpcore_client.gemspec
25
25
  Then either install the gem locally:
26
26
 
27
27
  ```shell
28
- gem install ./pulpcore_client-3.108.0.gem
28
+ gem install ./pulpcore_client-3.109.0.gem
29
29
  ```
30
30
 
31
- (for development, run `gem install --dev ./pulpcore_client-3.108.0.gem` to install the development dependencies)
31
+ (for development, run `gem install --dev ./pulpcore_client-3.109.0.gem` to install the development dependencies)
32
32
 
33
33
  or publish the gem to a gem hosting service, e.g. [RubyGems](https://rubygems.org/).
34
34
 
35
35
  Finally add this to the Gemfile:
36
36
 
37
- gem 'pulpcore_client', '~> 3.108.0'
37
+ gem 'pulpcore_client', '~> 3.109.0'
38
38
 
39
39
  ### Install from Git
40
40
 
@@ -252,6 +252,7 @@ Class | Method | HTTP request | Description
252
252
  *PulpcoreClient::LivezApi* | [**livez_read**](docs/LivezApi.md#livez_read) | **GET** /pulp/api/v3/livez/ | Inspect liveness of Pulp's REST API.
253
253
  *PulpcoreClient::LoginApi* | [**login**](docs/LoginApi.md#login) | **POST** /pulp/api/v3/login/ |
254
254
  *PulpcoreClient::LoginApi* | [**login_read**](docs/LoginApi.md#login_read) | **GET** /pulp/api/v3/login/ |
255
+ *PulpcoreClient::LoginApi* | [**login_update**](docs/LoginApi.md#login_update) | **PATCH** /pulp/api/v3/login/ |
255
256
  *PulpcoreClient::LoginApi* | [**logout**](docs/LoginApi.md#logout) | **DELETE** /pulp/api/v3/login/ |
256
257
  *PulpcoreClient::OrphansApi* | [**delete**](docs/OrphansApi.md#delete) | **DELETE** /pulp/api/v3/orphans/ | Delete orphans
257
258
  *PulpcoreClient::OrphansCleanupApi* | [**cleanup**](docs/OrphansCleanupApi.md#cleanup) | **POST** /pulp/api/v3/orphans/cleanup/ |
@@ -381,6 +382,7 @@ Class | Method | HTTP request | Description
381
382
  - [PulpcoreClient::HeaderContentGuardResponse](docs/HeaderContentGuardResponse.md)
382
383
  - [PulpcoreClient::ImportResponse](docs/ImportResponse.md)
383
384
  - [PulpcoreClient::LoginResponse](docs/LoginResponse.md)
385
+ - [PulpcoreClient::LoginUpdateResponse](docs/LoginUpdateResponse.md)
384
386
  - [PulpcoreClient::MethodEnum](docs/MethodEnum.md)
385
387
  - [PulpcoreClient::MinimalTaskResponse](docs/MinimalTaskResponse.md)
386
388
  - [PulpcoreClient::MultipleArtifactContentResponse](docs/MultipleArtifactContentResponse.md)
@@ -455,6 +457,7 @@ Class | Method | HTTP request | Description
455
457
  - [PulpcoreClient::PatchedFilesystemExporter](docs/PatchedFilesystemExporter.md)
456
458
  - [PulpcoreClient::PatchedGroup](docs/PatchedGroup.md)
457
459
  - [PulpcoreClient::PatchedHeaderContentGuard](docs/PatchedHeaderContentGuard.md)
460
+ - [PulpcoreClient::PatchedLoginUpdate](docs/PatchedLoginUpdate.md)
458
461
  - [PulpcoreClient::PatchedOpenPGPDistribution](docs/PatchedOpenPGPDistribution.md)
459
462
  - [PulpcoreClient::PatchedOpenPGPKeyring](docs/PatchedOpenPGPKeyring.md)
460
463
  - [PulpcoreClient::PatchedPulpExporter](docs/PatchedPulpExporter.md)
@@ -4,19 +4,19 @@
4
4
 
5
5
  | Name | Type | Description | Notes |
6
6
  | ---- | ---- | ----------- | ----- |
7
- | **pulp_last_updated** | **Time** | Timestamp of the last time this resource was updated. Note: for immutable resources - like content, repository versions, and publication - pulp_created and pulp_last_updated dates will be the same. | [optional][readonly] |
8
- | **pulp_created** | **Time** | Timestamp of creation. | [optional][readonly] |
9
7
  | **base_url** | **String** | The URL for accessing the publication as defined by this distribution. | [optional][readonly] |
10
- | **pulp_labels** | **Hash<String, String>** | | [optional] |
11
- | **name** | **String** | A unique name. Ex, `rawhide` and `stable`. | |
12
- | **repository_version** | **String** | RepositoryVersion to be served | [optional] |
13
- | **content_guard_prn** | **String** | The Pulp Resource Name (PRN) of the associated optional content guard. | [optional][readonly] |
14
8
  | **no_content_change_since** | **String** | Timestamp since when the distributed content served by this distribution has not changed. If equals to `null`, no guarantee is provided about content changes. | [optional][readonly] |
15
9
  | **pulp_href** | **String** | | [optional][readonly] |
16
- | **prn** | **String** | The Pulp Resource Name (PRN). | [optional][readonly] |
17
- | **content_guard** | **String** | An optional content-guard. | [optional] |
10
+ | **name** | **String** | A unique name. Ex, `rawhide` and `stable`. | |
18
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
+ | **pulp_last_updated** | **Time** | Timestamp of the last time this resource was updated. Note: for immutable resources - like content, repository versions, and publication - pulp_created and pulp_last_updated dates will be the same. | [optional][readonly] |
13
+ | **prn** | **String** | The Pulp Resource Name (PRN). | [optional][readonly] |
14
+ | **repository_version** | **String** | RepositoryVersion to be served | [optional] |
15
+ | **content_guard_prn** | **String** | The Pulp Resource Name (PRN) of the associated optional content guard. | [optional][readonly] |
16
+ | **pulp_labels** | **Hash<String, String>** | | [optional] |
19
17
  | **hidden** | **Boolean** | Whether this distribution should be shown in the content app. | [optional][default to false] |
18
+ | **content_guard** | **String** | An optional content-guard. | [optional] |
19
+ | **pulp_created** | **Time** | Timestamp of creation. | [optional][readonly] |
20
20
 
21
21
  ## Example
22
22
 
@@ -24,19 +24,19 @@
24
24
  require 'pulpcore_client'
25
25
 
26
26
  instance = PulpcoreClient::ArtifactDistributionResponse.new(
27
- pulp_last_updated: null,
28
- pulp_created: null,
29
27
  base_url: null,
30
- pulp_labels: null,
31
- name: null,
32
- repository_version: null,
33
- content_guard_prn: null,
34
28
  no_content_change_since: null,
35
29
  pulp_href: null,
30
+ name: null,
31
+ base_path: null,
32
+ pulp_last_updated: null,
36
33
  prn: null,
34
+ repository_version: null,
35
+ content_guard_prn: null,
36
+ pulp_labels: null,
37
+ hidden: null,
37
38
  content_guard: null,
38
- base_path: null,
39
- hidden: null
39
+ pulp_created: null
40
40
  )
41
41
  ```
42
42
 
data/docs/LoginApi.md CHANGED
@@ -6,6 +6,7 @@ All URIs are relative to *http://localhost:24817*
6
6
  | ------ | ------------ | ----------- |
7
7
  | [**login**](LoginApi.md#login) | **POST** /pulp/api/v3/login/ | |
8
8
  | [**login_read**](LoginApi.md#login_read) | **GET** /pulp/api/v3/login/ | |
9
+ | [**login_update**](LoginApi.md#login_update) | **PATCH** /pulp/api/v3/login/ | |
9
10
  | [**logout**](LoginApi.md#logout) | **DELETE** /pulp/api/v3/login/ | |
10
11
 
11
12
 
@@ -153,6 +154,78 @@ end
153
154
  - **Accept**: application/json
154
155
 
155
156
 
157
+ ## login_update
158
+
159
+ > <LoginUpdateResponse> login_update(patched_login_update, opts)
160
+
161
+
162
+
163
+ ### Examples
164
+
165
+ ```ruby
166
+ require 'time'
167
+ require 'pulpcore_client'
168
+ # setup authorization
169
+ PulpcoreClient.configure do |config|
170
+ # Configure HTTP basic authorization: basicAuth
171
+ config.username = 'YOUR USERNAME'
172
+ config.password = 'YOUR PASSWORD'
173
+ end
174
+
175
+ api_instance = PulpcoreClient::LoginApi.new
176
+ patched_login_update = PulpcoreClient::PatchedLoginUpdate.new # PatchedLoginUpdate |
177
+ opts = {
178
+ x_task_diagnostics: ['inner_example'] # Array<String> | List of profilers to use on tasks.
179
+ }
180
+
181
+ begin
182
+
183
+ result = api_instance.login_update(patched_login_update, opts)
184
+ p result
185
+ rescue PulpcoreClient::ApiError => e
186
+ puts "Error when calling LoginApi->login_update: #{e}"
187
+ end
188
+ ```
189
+
190
+ #### Using the login_update_with_http_info variant
191
+
192
+ This returns an Array which contains the response data, status code and headers.
193
+
194
+ > <Array(<LoginUpdateResponse>, Integer, Hash)> login_update_with_http_info(patched_login_update, opts)
195
+
196
+ ```ruby
197
+ begin
198
+
199
+ data, status_code, headers = api_instance.login_update_with_http_info(patched_login_update, opts)
200
+ p status_code # => 2xx
201
+ p headers # => { ... }
202
+ p data # => <LoginUpdateResponse>
203
+ rescue PulpcoreClient::ApiError => e
204
+ puts "Error when calling LoginApi->login_update_with_http_info: #{e}"
205
+ end
206
+ ```
207
+
208
+ ### Parameters
209
+
210
+ | Name | Type | Description | Notes |
211
+ | ---- | ---- | ----------- | ----- |
212
+ | **patched_login_update** | [**PatchedLoginUpdate**](PatchedLoginUpdate.md) | | |
213
+ | **x_task_diagnostics** | [**Array&lt;String&gt;**](String.md) | List of profilers to use on tasks. | [optional] |
214
+
215
+ ### Return type
216
+
217
+ [**LoginUpdateResponse**](LoginUpdateResponse.md)
218
+
219
+ ### Authorization
220
+
221
+ [basicAuth](../README.md#basicAuth)
222
+
223
+ ### HTTP request headers
224
+
225
+ - **Content-Type**: application/json, application/x-www-form-urlencoded, multipart/form-data
226
+ - **Accept**: application/json
227
+
228
+
156
229
  ## logout
157
230
 
158
231
  > logout(opts)
@@ -0,0 +1,24 @@
1
+ # PulpcoreClient::LoginUpdateResponse
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **username** | **String** | 150 characters or fewer. Letters, digits and @/./+/-/_ only. | [optional] |
8
+ | **first_name** | **String** | First name | [optional] |
9
+ | **last_name** | **String** | Last name | [optional] |
10
+ | **email** | **String** | Email address | [optional] |
11
+
12
+ ## Example
13
+
14
+ ```ruby
15
+ require 'pulpcore_client'
16
+
17
+ instance = PulpcoreClient::LoginUpdateResponse.new(
18
+ username: null,
19
+ first_name: null,
20
+ last_name: null,
21
+ email: null
22
+ )
23
+ ```
24
+
@@ -0,0 +1,28 @@
1
+ # PulpcoreClient::PatchedLoginUpdate
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **username** | **String** | 150 characters or fewer. Letters, digits and @/./+/-/_ only. | [optional] |
8
+ | **old_password** | **String** | Old password | [optional] |
9
+ | **new_password** | **String** | New password | [optional] |
10
+ | **first_name** | **String** | First name | [optional] |
11
+ | **last_name** | **String** | Last name | [optional] |
12
+ | **email** | **String** | Email address | [optional] |
13
+
14
+ ## Example
15
+
16
+ ```ruby
17
+ require 'pulpcore_client'
18
+
19
+ instance = PulpcoreClient::PatchedLoginUpdate.new(
20
+ username: null,
21
+ old_password: null,
22
+ new_password: null,
23
+ first_name: null,
24
+ last_name: null,
25
+ email: null
26
+ )
27
+ ```
28
+
data/docs/Purge.md CHANGED
@@ -4,7 +4,7 @@
4
4
 
5
5
  | Name | Type | Description | Notes |
6
6
  | ---- | ---- | ----------- | ----- |
7
- | **finished_before** | **Time** | Purge tasks completed earlier than this timestamp. Format &#39;%Y-%m-%d[T%H:%M:%S]&#39; | [optional][default to &#39;2026-03-15&#39;] |
7
+ | **finished_before** | **Time** | Purge tasks completed earlier than this timestamp. Format &#39;%Y-%m-%d[T%H:%M:%S]&#39; | [optional][default to &#39;2026-03-22&#39;] |
8
8
  | **states** | [**Array&lt;StatesEnum&gt;**](StatesEnum.md) | List of task-states to be purged. Only &#39;final&#39; states are allowed. | [optional] |
9
9
 
10
10
  ## Example
@@ -137,6 +137,73 @@ module PulpcoreClient
137
137
  return data, status_code, headers
138
138
  end
139
139
 
140
+ # @param patched_login_update [PatchedLoginUpdate]
141
+ # @param [Hash] opts the optional parameters
142
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
143
+ # @return [LoginUpdateResponse]
144
+ def login_update(patched_login_update, opts = {})
145
+ data, _status_code, _headers = login_update_with_http_info(patched_login_update, opts)
146
+ data
147
+ end
148
+
149
+ # @param patched_login_update [PatchedLoginUpdate]
150
+ # @param [Hash] opts the optional parameters
151
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
152
+ # @return [Array<(LoginUpdateResponse, Integer, Hash)>] LoginUpdateResponse data, response status code and response headers
153
+ def login_update_with_http_info(patched_login_update, opts = {})
154
+ if @api_client.config.debugging
155
+ @api_client.config.logger.debug 'Calling API: LoginApi.login_update ...'
156
+ end
157
+ # verify the required parameter 'patched_login_update' is set
158
+ if @api_client.config.client_side_validation && patched_login_update.nil?
159
+ fail ArgumentError, "Missing the required parameter 'patched_login_update' when calling LoginApi.login_update"
160
+ end
161
+ # resource path
162
+ local_var_path = '/pulp/api/v3/login/'
163
+
164
+ # query parameters
165
+ query_params = opts[:query_params] || {}
166
+
167
+ # header parameters
168
+ header_params = opts[:header_params] || {}
169
+ # HTTP header 'Accept' (if needed)
170
+ header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
171
+ # HTTP header 'Content-Type'
172
+ content_type = @api_client.select_header_content_type(['application/json', 'application/x-www-form-urlencoded', 'multipart/form-data'])
173
+ if !content_type.nil?
174
+ header_params['Content-Type'] = content_type
175
+ end
176
+ header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
177
+
178
+ # form parameters
179
+ form_params = opts[:form_params] || {}
180
+
181
+ # http body (model)
182
+ post_body = opts[:debug_body] || @api_client.object_to_http_body(patched_login_update)
183
+
184
+ # return_type
185
+ return_type = opts[:debug_return_type] || 'LoginUpdateResponse'
186
+
187
+ # auth_names
188
+ auth_names = opts[:debug_auth_names] || ['basicAuth']
189
+
190
+ new_options = opts.merge(
191
+ :operation => :"LoginApi.login_update",
192
+ :header_params => header_params,
193
+ :query_params => query_params,
194
+ :form_params => form_params,
195
+ :body => post_body,
196
+ :auth_names => auth_names,
197
+ :return_type => return_type
198
+ )
199
+
200
+ data, status_code, headers = @api_client.call_api(:PATCH, local_var_path, new_options)
201
+ if @api_client.config.debugging
202
+ @api_client.config.logger.debug "API called: LoginApi#login_update\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
203
+ end
204
+ return data, status_code, headers
205
+ end
206
+
140
207
  # @param [Hash] opts the optional parameters
141
208
  # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
142
209
  # @return [nil]
@@ -16,59 +16,59 @@ require 'time'
16
16
  module PulpcoreClient
17
17
  # A serializer for ArtifactDistribution.
18
18
  class ArtifactDistributionResponse
19
- # Timestamp of the last time this resource was updated. Note: for immutable resources - like content, repository versions, and publication - pulp_created and pulp_last_updated dates will be the same.
20
- attr_accessor :pulp_last_updated
21
-
22
- # Timestamp of creation.
23
- attr_accessor :pulp_created
24
-
25
19
  # The URL for accessing the publication as defined by this distribution.
26
20
  attr_accessor :base_url
27
21
 
28
- attr_accessor :pulp_labels
22
+ # Timestamp since when the distributed content served by this distribution has not changed. If equals to `null`, no guarantee is provided about content changes.
23
+ attr_accessor :no_content_change_since
24
+
25
+ attr_accessor :pulp_href
29
26
 
30
27
  # A unique name. Ex, `rawhide` and `stable`.
31
28
  attr_accessor :name
32
29
 
30
+ # The base (relative) path component of the published url. Avoid paths that overlap with other distribution base paths (e.g. \"foo\" and \"foo/bar\")
31
+ attr_accessor :base_path
32
+
33
+ # Timestamp of the last time this resource was updated. Note: for immutable resources - like content, repository versions, and publication - pulp_created and pulp_last_updated dates will be the same.
34
+ attr_accessor :pulp_last_updated
35
+
36
+ # The Pulp Resource Name (PRN).
37
+ attr_accessor :prn
38
+
33
39
  # RepositoryVersion to be served
34
40
  attr_accessor :repository_version
35
41
 
36
42
  # The Pulp Resource Name (PRN) of the associated optional content guard.
37
43
  attr_accessor :content_guard_prn
38
44
 
39
- # Timestamp since when the distributed content served by this distribution has not changed. If equals to `null`, no guarantee is provided about content changes.
40
- attr_accessor :no_content_change_since
41
-
42
- attr_accessor :pulp_href
45
+ attr_accessor :pulp_labels
43
46
 
44
- # The Pulp Resource Name (PRN).
45
- attr_accessor :prn
47
+ # Whether this distribution should be shown in the content app.
48
+ attr_accessor :hidden
46
49
 
47
50
  # An optional content-guard.
48
51
  attr_accessor :content_guard
49
52
 
50
- # The base (relative) path component of the published url. Avoid paths that overlap with other distribution base paths (e.g. \"foo\" and \"foo/bar\")
51
- attr_accessor :base_path
52
-
53
- # Whether this distribution should be shown in the content app.
54
- attr_accessor :hidden
53
+ # Timestamp of creation.
54
+ attr_accessor :pulp_created
55
55
 
56
56
  # Attribute mapping from ruby-style variable name to JSON key.
57
57
  def self.attribute_map
58
58
  {
59
- :'pulp_last_updated' => :'pulp_last_updated',
60
- :'pulp_created' => :'pulp_created',
61
59
  :'base_url' => :'base_url',
62
- :'pulp_labels' => :'pulp_labels',
63
- :'name' => :'name',
64
- :'repository_version' => :'repository_version',
65
- :'content_guard_prn' => :'content_guard_prn',
66
60
  :'no_content_change_since' => :'no_content_change_since',
67
61
  :'pulp_href' => :'pulp_href',
62
+ :'name' => :'name',
63
+ :'base_path' => :'base_path',
64
+ :'pulp_last_updated' => :'pulp_last_updated',
68
65
  :'prn' => :'prn',
66
+ :'repository_version' => :'repository_version',
67
+ :'content_guard_prn' => :'content_guard_prn',
68
+ :'pulp_labels' => :'pulp_labels',
69
+ :'hidden' => :'hidden',
69
70
  :'content_guard' => :'content_guard',
70
- :'base_path' => :'base_path',
71
- :'hidden' => :'hidden'
71
+ :'pulp_created' => :'pulp_created'
72
72
  }
73
73
  end
74
74
 
@@ -80,19 +80,19 @@ module PulpcoreClient
80
80
  # Attribute type mapping.
81
81
  def self.openapi_types
82
82
  {
83
- :'pulp_last_updated' => :'Time',
84
- :'pulp_created' => :'Time',
85
83
  :'base_url' => :'String',
86
- :'pulp_labels' => :'Hash<String, String>',
87
- :'name' => :'String',
88
- :'repository_version' => :'String',
89
- :'content_guard_prn' => :'String',
90
84
  :'no_content_change_since' => :'String',
91
85
  :'pulp_href' => :'String',
86
+ :'name' => :'String',
87
+ :'base_path' => :'String',
88
+ :'pulp_last_updated' => :'Time',
92
89
  :'prn' => :'String',
90
+ :'repository_version' => :'String',
91
+ :'content_guard_prn' => :'String',
92
+ :'pulp_labels' => :'Hash<String, String>',
93
+ :'hidden' => :'Boolean',
93
94
  :'content_guard' => :'String',
94
- :'base_path' => :'String',
95
- :'hidden' => :'Boolean'
95
+ :'pulp_created' => :'Time'
96
96
  }
97
97
  end
98
98
 
@@ -119,22 +119,16 @@ module PulpcoreClient
119
119
  h[k.to_sym] = v
120
120
  }
121
121
 
122
- if attributes.key?(:'pulp_last_updated')
123
- self.pulp_last_updated = attributes[:'pulp_last_updated']
124
- end
125
-
126
- if attributes.key?(:'pulp_created')
127
- self.pulp_created = attributes[:'pulp_created']
128
- end
129
-
130
122
  if attributes.key?(:'base_url')
131
123
  self.base_url = attributes[:'base_url']
132
124
  end
133
125
 
134
- if attributes.key?(:'pulp_labels')
135
- if (value = attributes[:'pulp_labels']).is_a?(Hash)
136
- self.pulp_labels = value
137
- end
126
+ if attributes.key?(:'no_content_change_since')
127
+ self.no_content_change_since = attributes[:'no_content_change_since']
128
+ end
129
+
130
+ if attributes.key?(:'pulp_href')
131
+ self.pulp_href = attributes[:'pulp_href']
138
132
  end
139
133
 
140
134
  if attributes.key?(:'name')
@@ -143,34 +137,32 @@ module PulpcoreClient
143
137
  self.name = nil
144
138
  end
145
139
 
146
- if attributes.key?(:'repository_version')
147
- self.repository_version = attributes[:'repository_version']
148
- end
149
-
150
- if attributes.key?(:'content_guard_prn')
151
- self.content_guard_prn = attributes[:'content_guard_prn']
152
- end
153
-
154
- if attributes.key?(:'no_content_change_since')
155
- self.no_content_change_since = attributes[:'no_content_change_since']
140
+ if attributes.key?(:'base_path')
141
+ self.base_path = attributes[:'base_path']
142
+ else
143
+ self.base_path = nil
156
144
  end
157
145
 
158
- if attributes.key?(:'pulp_href')
159
- self.pulp_href = attributes[:'pulp_href']
146
+ if attributes.key?(:'pulp_last_updated')
147
+ self.pulp_last_updated = attributes[:'pulp_last_updated']
160
148
  end
161
149
 
162
150
  if attributes.key?(:'prn')
163
151
  self.prn = attributes[:'prn']
164
152
  end
165
153
 
166
- if attributes.key?(:'content_guard')
167
- self.content_guard = attributes[:'content_guard']
154
+ if attributes.key?(:'repository_version')
155
+ self.repository_version = attributes[:'repository_version']
168
156
  end
169
157
 
170
- if attributes.key?(:'base_path')
171
- self.base_path = attributes[:'base_path']
172
- else
173
- self.base_path = nil
158
+ if attributes.key?(:'content_guard_prn')
159
+ self.content_guard_prn = attributes[:'content_guard_prn']
160
+ end
161
+
162
+ if attributes.key?(:'pulp_labels')
163
+ if (value = attributes[:'pulp_labels']).is_a?(Hash)
164
+ self.pulp_labels = value
165
+ end
174
166
  end
175
167
 
176
168
  if attributes.key?(:'hidden')
@@ -178,6 +170,14 @@ module PulpcoreClient
178
170
  else
179
171
  self.hidden = false
180
172
  end
173
+
174
+ if attributes.key?(:'content_guard')
175
+ self.content_guard = attributes[:'content_guard']
176
+ end
177
+
178
+ if attributes.key?(:'pulp_created')
179
+ self.pulp_created = attributes[:'pulp_created']
180
+ end
181
181
  end
182
182
 
183
183
  # Show invalid properties with the reasons. Usually used together with valid?
@@ -210,19 +210,19 @@ module PulpcoreClient
210
210
  def ==(o)
211
211
  return true if self.equal?(o)
212
212
  self.class == o.class &&
213
- pulp_last_updated == o.pulp_last_updated &&
214
- pulp_created == o.pulp_created &&
215
213
  base_url == o.base_url &&
216
- pulp_labels == o.pulp_labels &&
217
- name == o.name &&
218
- repository_version == o.repository_version &&
219
- content_guard_prn == o.content_guard_prn &&
220
214
  no_content_change_since == o.no_content_change_since &&
221
215
  pulp_href == o.pulp_href &&
216
+ name == o.name &&
217
+ base_path == o.base_path &&
218
+ pulp_last_updated == o.pulp_last_updated &&
222
219
  prn == o.prn &&
220
+ repository_version == o.repository_version &&
221
+ content_guard_prn == o.content_guard_prn &&
222
+ pulp_labels == o.pulp_labels &&
223
+ hidden == o.hidden &&
223
224
  content_guard == o.content_guard &&
224
- base_path == o.base_path &&
225
- hidden == o.hidden
225
+ pulp_created == o.pulp_created
226
226
  end
227
227
 
228
228
  # @see the `==` method
@@ -234,7 +234,7 @@ module PulpcoreClient
234
234
  # Calculates hash code according to all attributes.
235
235
  # @return [Integer] Hash code
236
236
  def hash
237
- [pulp_last_updated, pulp_created, base_url, pulp_labels, name, repository_version, content_guard_prn, no_content_change_since, pulp_href, prn, content_guard, base_path, hidden].hash
237
+ [base_url, no_content_change_since, pulp_href, name, base_path, pulp_last_updated, prn, repository_version, content_guard_prn, pulp_labels, hidden, content_guard, pulp_created].hash
238
238
  end
239
239
 
240
240
  # Builds the object from hash