pulpcore_client 3.108.1 → 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: b75ec2b4be1d434a674cca56b2b4a8207ffb43b418495d9daf4ea60a1e187a73
4
- data.tar.gz: a14ab10446a4e59d688b7dfda70f5093a745aab503cf6d4b1534df981b4d4635
3
+ metadata.gz: 62f912d47aaf2c62e36aceb39a855712efdffd9fc71c51ada7763abd53f311ad
4
+ data.tar.gz: 3bd2068d9b0675e55f068bb73ab61c0a267eff8554f2a6894f5e5f4315f4bf72
5
5
  SHA512:
6
- metadata.gz: 3ce480efc4d8d035771725500c135560691c5387825d04be13b5141f821f3b368395afb15fb097226d2378cac7ea0e6b5ad95ad6c1a12cc9abdc0e8fdf78fa36
7
- data.tar.gz: ab8b90cb7170d8910a3b9db16ec8055f96098143e089f8f84c60f5480eaae8a2761ecf34065b4fc2c9638dbdc4f6e3aac1fc58a6a70434f7942a82b20b83014b
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.1
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.1.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.1.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.1'
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
+ | **base_url** | **String** | The URL for accessing the publication as defined by this distribution. | [optional][readonly] |
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] |
7
9
  | **pulp_href** | **String** | | [optional][readonly] |
8
- | **hidden** | **Boolean** | Whether this distribution should be shown in the content app. | [optional][default to false] |
9
- | **content_guard_prn** | **String** | The Pulp Resource Name (PRN) of the associated optional content guard. | [optional][readonly] |
10
- | **pulp_labels** | **Hash<String, String>** | | [optional] |
11
- | **repository_version** | **String** | RepositoryVersion to be served | [optional] |
10
+ | **name** | **String** | A unique name. Ex, `rawhide` and `stable`. | |
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
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
13
  | **prn** | **String** | The Pulp Resource Name (PRN). | [optional][readonly] |
14
- | **pulp_created** | **Time** | Timestamp of creation. | [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] |
17
+ | **hidden** | **Boolean** | Whether this distribution should be shown in the content app. | [optional][default to false] |
15
18
  | **content_guard** | **String** | An optional content-guard. | [optional] |
16
- | **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] |
17
- | **name** | **String** | A unique name. Ex, `rawhide` and `stable`. | |
18
- | **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\") | |
19
- | **base_url** | **String** | The URL for accessing the publication as defined by this distribution. | [optional][readonly] |
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
+ base_url: null,
28
+ no_content_change_since: null,
27
29
  pulp_href: null,
28
- hidden: null,
29
- content_guard_prn: null,
30
- pulp_labels: null,
31
- repository_version: null,
30
+ name: null,
31
+ base_path: null,
32
32
  pulp_last_updated: null,
33
33
  prn: null,
34
- pulp_created: null,
34
+ repository_version: null,
35
+ content_guard_prn: null,
36
+ pulp_labels: null,
37
+ hidden: null,
35
38
  content_guard: null,
36
- no_content_change_since: null,
37
- name: null,
38
- base_path: null,
39
- base_url: 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-21&#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,18 +16,19 @@ require 'time'
16
16
  module PulpcoreClient
17
17
  # A serializer for ArtifactDistribution.
18
18
  class ArtifactDistributionResponse
19
- attr_accessor :pulp_href
19
+ # The URL for accessing the publication as defined by this distribution.
20
+ attr_accessor :base_url
20
21
 
21
- # Whether this distribution should be shown in the content app.
22
- attr_accessor :hidden
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
23
24
 
24
- # The Pulp Resource Name (PRN) of the associated optional content guard.
25
- attr_accessor :content_guard_prn
25
+ attr_accessor :pulp_href
26
26
 
27
- attr_accessor :pulp_labels
27
+ # A unique name. Ex, `rawhide` and `stable`.
28
+ attr_accessor :name
28
29
 
29
- # RepositoryVersion to be served
30
- attr_accessor :repository_version
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
31
32
 
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.
33
34
  attr_accessor :pulp_last_updated
@@ -35,40 +36,39 @@ module PulpcoreClient
35
36
  # The Pulp Resource Name (PRN).
36
37
  attr_accessor :prn
37
38
 
38
- # Timestamp of creation.
39
- attr_accessor :pulp_created
39
+ # RepositoryVersion to be served
40
+ attr_accessor :repository_version
40
41
 
41
- # An optional content-guard.
42
- attr_accessor :content_guard
42
+ # The Pulp Resource Name (PRN) of the associated optional content guard.
43
+ attr_accessor :content_guard_prn
43
44
 
44
- # Timestamp since when the distributed content served by this distribution has not changed. If equals to `null`, no guarantee is provided about content changes.
45
- attr_accessor :no_content_change_since
45
+ attr_accessor :pulp_labels
46
46
 
47
- # A unique name. Ex, `rawhide` and `stable`.
48
- attr_accessor :name
47
+ # Whether this distribution should be shown in the content app.
48
+ attr_accessor :hidden
49
49
 
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
50
+ # An optional content-guard.
51
+ attr_accessor :content_guard
52
52
 
53
- # The URL for accessing the publication as defined by this distribution.
54
- attr_accessor :base_url
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
+ :'base_url' => :'base_url',
60
+ :'no_content_change_since' => :'no_content_change_since',
59
61
  :'pulp_href' => :'pulp_href',
60
- :'hidden' => :'hidden',
61
- :'content_guard_prn' => :'content_guard_prn',
62
- :'pulp_labels' => :'pulp_labels',
63
- :'repository_version' => :'repository_version',
62
+ :'name' => :'name',
63
+ :'base_path' => :'base_path',
64
64
  :'pulp_last_updated' => :'pulp_last_updated',
65
65
  :'prn' => :'prn',
66
- :'pulp_created' => :'pulp_created',
66
+ :'repository_version' => :'repository_version',
67
+ :'content_guard_prn' => :'content_guard_prn',
68
+ :'pulp_labels' => :'pulp_labels',
69
+ :'hidden' => :'hidden',
67
70
  :'content_guard' => :'content_guard',
68
- :'no_content_change_since' => :'no_content_change_since',
69
- :'name' => :'name',
70
- :'base_path' => :'base_path',
71
- :'base_url' => :'base_url'
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
+ :'base_url' => :'String',
84
+ :'no_content_change_since' => :'String',
83
85
  :'pulp_href' => :'String',
84
- :'hidden' => :'Boolean',
85
- :'content_guard_prn' => :'String',
86
- :'pulp_labels' => :'Hash<String, String>',
87
- :'repository_version' => :'String',
86
+ :'name' => :'String',
87
+ :'base_path' => :'String',
88
88
  :'pulp_last_updated' => :'Time',
89
89
  :'prn' => :'String',
90
- :'pulp_created' => :'Time',
90
+ :'repository_version' => :'String',
91
+ :'content_guard_prn' => :'String',
92
+ :'pulp_labels' => :'Hash<String, String>',
93
+ :'hidden' => :'Boolean',
91
94
  :'content_guard' => :'String',
92
- :'no_content_change_since' => :'String',
93
- :'name' => :'String',
94
- :'base_path' => :'String',
95
- :'base_url' => :'String'
95
+ :'pulp_created' => :'Time'
96
96
  }
97
97
  end
98
98
 
@@ -119,28 +119,28 @@ module PulpcoreClient
119
119
  h[k.to_sym] = v
120
120
  }
121
121
 
122
- if attributes.key?(:'pulp_href')
123
- self.pulp_href = attributes[:'pulp_href']
122
+ if attributes.key?(:'base_url')
123
+ self.base_url = attributes[:'base_url']
124
124
  end
125
125
 
126
- if attributes.key?(:'hidden')
127
- self.hidden = attributes[:'hidden']
128
- else
129
- self.hidden = false
126
+ if attributes.key?(:'no_content_change_since')
127
+ self.no_content_change_since = attributes[:'no_content_change_since']
130
128
  end
131
129
 
132
- if attributes.key?(:'content_guard_prn')
133
- self.content_guard_prn = attributes[:'content_guard_prn']
130
+ if attributes.key?(:'pulp_href')
131
+ self.pulp_href = attributes[:'pulp_href']
134
132
  end
135
133
 
136
- if attributes.key?(:'pulp_labels')
137
- if (value = attributes[:'pulp_labels']).is_a?(Hash)
138
- self.pulp_labels = value
139
- end
134
+ if attributes.key?(:'name')
135
+ self.name = attributes[:'name']
136
+ else
137
+ self.name = nil
140
138
  end
141
139
 
142
- if attributes.key?(:'repository_version')
143
- self.repository_version = attributes[:'repository_version']
140
+ if attributes.key?(:'base_path')
141
+ self.base_path = attributes[:'base_path']
142
+ else
143
+ self.base_path = nil
144
144
  end
145
145
 
146
146
  if attributes.key?(:'pulp_last_updated')
@@ -151,32 +151,32 @@ module PulpcoreClient
151
151
  self.prn = attributes[:'prn']
152
152
  end
153
153
 
154
- if attributes.key?(:'pulp_created')
155
- self.pulp_created = attributes[:'pulp_created']
154
+ if attributes.key?(:'repository_version')
155
+ self.repository_version = attributes[:'repository_version']
156
156
  end
157
157
 
158
- if attributes.key?(:'content_guard')
159
- self.content_guard = attributes[:'content_guard']
158
+ if attributes.key?(:'content_guard_prn')
159
+ self.content_guard_prn = attributes[:'content_guard_prn']
160
160
  end
161
161
 
162
- if attributes.key?(:'no_content_change_since')
163
- self.no_content_change_since = attributes[:'no_content_change_since']
162
+ if attributes.key?(:'pulp_labels')
163
+ if (value = attributes[:'pulp_labels']).is_a?(Hash)
164
+ self.pulp_labels = value
165
+ end
164
166
  end
165
167
 
166
- if attributes.key?(:'name')
167
- self.name = attributes[:'name']
168
+ if attributes.key?(:'hidden')
169
+ self.hidden = attributes[:'hidden']
168
170
  else
169
- self.name = nil
171
+ self.hidden = false
170
172
  end
171
173
 
172
- if attributes.key?(:'base_path')
173
- self.base_path = attributes[:'base_path']
174
- else
175
- self.base_path = nil
174
+ if attributes.key?(:'content_guard')
175
+ self.content_guard = attributes[:'content_guard']
176
176
  end
177
177
 
178
- if attributes.key?(:'base_url')
179
- self.base_url = attributes[:'base_url']
178
+ if attributes.key?(:'pulp_created')
179
+ self.pulp_created = attributes[:'pulp_created']
180
180
  end
181
181
  end
182
182
 
@@ -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
+ base_url == o.base_url &&
214
+ no_content_change_since == o.no_content_change_since &&
213
215
  pulp_href == o.pulp_href &&
214
- hidden == o.hidden &&
215
- content_guard_prn == o.content_guard_prn &&
216
- pulp_labels == o.pulp_labels &&
217
- repository_version == o.repository_version &&
216
+ name == o.name &&
217
+ base_path == o.base_path &&
218
218
  pulp_last_updated == o.pulp_last_updated &&
219
219
  prn == o.prn &&
220
- pulp_created == o.pulp_created &&
220
+ repository_version == o.repository_version &&
221
+ content_guard_prn == o.content_guard_prn &&
222
+ pulp_labels == o.pulp_labels &&
223
+ hidden == o.hidden &&
221
224
  content_guard == o.content_guard &&
222
- no_content_change_since == o.no_content_change_since &&
223
- name == o.name &&
224
- base_path == o.base_path &&
225
- base_url == o.base_url
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_href, hidden, content_guard_prn, pulp_labels, repository_version, pulp_last_updated, prn, pulp_created, content_guard, no_content_change_since, name, base_path, base_url].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