pulpcore_client 3.102.0 → 3.103.1

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: f41e9519416944668a48d4bae220afa9b145115855296f50d179277953dc32d9
4
- data.tar.gz: 5229faa9532409e3dccb81538eb2a72bcbd0fd15907009e6c8f9cc3a37112172
3
+ metadata.gz: 65085abb0ac000fad10f840de69e4b6fb8591e417e095010e51ff66a73478381
4
+ data.tar.gz: c9000a9db8084e5ffdd3bfae599809b93850baf719ce85af9a813e6cc7c65c27
5
5
  SHA512:
6
- metadata.gz: 30da6313b4d5435d02bd4bd10c165b78a477f3cc9d67418e33f6500d054fb1ef08e5094954da3d2fd6964bb1e01fbf82cd7310ec55b3f07ea305a468f786c574
7
- data.tar.gz: fc242e868d3ba983a158e877afa52a22ff65a2dd320aeb5851da68cc4ddcace4d80a02a4f5b57aaabb4e0487ee81696f1cedf7a03ee24e871c60f1cb3605497b
6
+ metadata.gz: b502df18377e150b7fe25ffe3dcca598ab628cf42bfa99a6d84dffc47b43e88e70fc8c4ae733d4927126dd72d586dc6c9da240f518c8f27015a173d0e8572097
7
+ data.tar.gz: dde00c448846761c3082c78358cfb932f5eb1f217844e69a860dcc115d0210d5be5422f925ad281a3c215cdb67c6362aac26da80aeddbe5444d53e72c012ea2e
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.102.0
10
+ - Package version: 3.103.1
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.102.0.gem
28
+ gem install ./pulpcore_client-3.103.1.gem
29
29
  ```
30
30
 
31
- (for development, run `gem install --dev ./pulpcore_client-3.102.0.gem` to install the development dependencies)
31
+ (for development, run `gem install --dev ./pulpcore_client-3.103.1.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.102.0'
37
+ gem 'pulpcore_client', '~> 3.103.1'
38
38
 
39
39
  ### Install from Git
40
40
 
@@ -478,6 +478,8 @@ Class | Method | HTTP request | Description
478
478
  - [PulpcoreClient::RBACContentGuardResponse](docs/RBACContentGuardResponse.md)
479
479
  - [PulpcoreClient::ReclaimSpace](docs/ReclaimSpace.md)
480
480
  - [PulpcoreClient::RedisConnectionResponse](docs/RedisConnectionResponse.md)
481
+ - [PulpcoreClient::RemoteNetworkConfig](docs/RemoteNetworkConfig.md)
482
+ - [PulpcoreClient::RemoteNetworkConfigResponse](docs/RemoteNetworkConfigResponse.md)
481
483
  - [PulpcoreClient::Repair](docs/Repair.md)
482
484
  - [PulpcoreClient::RepositoryAddRemoveContent](docs/RepositoryAddRemoveContent.md)
483
485
  - [PulpcoreClient::RepositoryResponse](docs/RepositoryResponse.md)
@@ -4,17 +4,17 @@
4
4
 
5
5
  | Name | Type | Description | Notes |
6
6
  | ---- | ---- | ----------- | ----- |
7
- | **content_guard** | **String** | An optional content-guard. | [optional] |
8
- | **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\") | |
9
- | **pulp_href** | **String** | | [optional][readonly] |
10
- | **pulp_created** | **Time** | Timestamp of creation. | [optional][readonly] |
11
- | **pulp_labels** | **Hash<String, String>** | | [optional] |
12
- | **hidden** | **Boolean** | Whether this distribution should be shown in the content app. | [optional][default to false] |
13
7
  | **name** | **String** | A unique name. Ex, `rawhide` and `stable`. | |
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
- | **base_url** | **String** | The URL for accessing the publication as defined by this distribution. | [optional][readonly] |
16
9
  | **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] |
10
+ | **pulp_href** | **String** | | [optional][readonly] |
11
+ | **content_guard** | **String** | An optional content-guard. | [optional] |
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\") | |
17
13
  | **prn** | **String** | The Pulp Resource Name (PRN). | [optional][readonly] |
14
+ | **hidden** | **Boolean** | Whether this distribution should be shown in the content app. | [optional][default to false] |
15
+ | **base_url** | **String** | The URL for accessing the publication as defined by this distribution. | [optional][readonly] |
16
+ | **pulp_created** | **Time** | Timestamp of creation. | [optional][readonly] |
17
+ | **pulp_labels** | **Hash<String, String>** | | [optional] |
18
18
 
19
19
  ## Example
20
20
 
@@ -22,17 +22,17 @@
22
22
  require 'pulpcore_client'
23
23
 
24
24
  instance = PulpcoreClient::ArtifactDistributionResponse.new(
25
+ name: null,
26
+ no_content_change_since: null,
27
+ pulp_last_updated: null,
28
+ pulp_href: null,
25
29
  content_guard: null,
26
30
  base_path: null,
27
- pulp_href: null,
28
- pulp_created: null,
29
- pulp_labels: null,
31
+ prn: null,
30
32
  hidden: null,
31
- name: null,
32
- no_content_change_since: null,
33
33
  base_url: null,
34
- pulp_last_updated: null,
35
- prn: null
34
+ pulp_created: null,
35
+ pulp_labels: null
36
36
  )
37
37
  ```
38
38
 
@@ -38,7 +38,8 @@ opts = {
38
38
  pulp_labels: { key: 'inner_example'}, # Hash<String, String> | A dictionary of arbitrary key/value pairs used to describe a specific Content instance.
39
39
  file: File.new('/path/to/some/file'), # File | An uploaded file that may be turned into the content unit.
40
40
  upload: 'upload_example', # String | An uncommitted upload that may be turned into the content unit.
41
- file_url: 'file_url_example' # String | A url that Pulp can download and turn into the content unit.
41
+ file_url: 'file_url_example', # String | A url that Pulp can download and turn into the content unit.
42
+ downloader_config: PulpcoreClient::RemoteNetworkConfig.new # RemoteNetworkConfig | Configuration for the download process (e.g., proxies, auth, timeouts). Only applicable when providing a 'file_url.
42
43
  }
43
44
 
44
45
  begin
@@ -78,6 +79,7 @@ end
78
79
  | **file** | **File** | An uploaded file that may be turned into the content unit. | [optional] |
79
80
  | **upload** | **String** | An uncommitted upload that may be turned into the content unit. | [optional] |
80
81
  | **file_url** | **String** | A url that Pulp can download and turn into the content unit. | [optional] |
82
+ | **downloader_config** | [**RemoteNetworkConfig**](RemoteNetworkConfig.md) | Configuration for the download process (e.g., proxies, auth, timeouts). Only applicable when providing a &#39;file_url. | [optional] |
81
83
 
82
84
  ### Return type
83
85
 
@@ -10,21 +10,21 @@
10
10
  | **pulp_last_updated** | **Time** | Timestamp of the most recent update of the remote. | [optional][readonly] |
11
11
  | **name** | **String** | A unique name for this remote. | |
12
12
  | **url** | **String** | The URL of an external content source. | |
13
+ | **pulp_labels** | **Hash&lt;String, String&gt;** | | [optional] |
14
+ | **policy** | [**GenericRemoteResponsePolicyEnum**](GenericRemoteResponsePolicyEnum.md) | The policy to use when downloading content. * &#x60;immediate&#x60; - When syncing, download all metadata and content now. * &#x60;on_demand&#x60; - When syncing, download metadata, but do not download content now. Instead, download content as clients request it, and save it in Pulp to be served for future client requests. * &#x60;streamed&#x60; - When syncing, download metadata, but do not download content now. Instead,download content as clients request it, but never save it in Pulp. This causes future requests for that same content to have to be downloaded again. | [optional] |
15
+ | **hidden_fields** | [**Array&lt;GenericRemoteResponseHiddenFieldsInner&gt;**](GenericRemoteResponseHiddenFieldsInner.md) | List of hidden (write only) fields | [optional] |
13
16
  | **ca_cert** | **String** | A PEM encoded CA certificate used to validate the server certificate presented by the remote server. | [optional] |
14
17
  | **client_cert** | **String** | A PEM encoded client certificate used for authentication. | [optional] |
15
18
  | **tls_validation** | **Boolean** | If True, TLS peer validation must be performed. | [optional] |
16
19
  | **proxy_url** | **String** | The proxy URL. Format: scheme://host:port | [optional] |
17
- | **pulp_labels** | **Hash&lt;String, String&gt;** | | [optional] |
18
- | **download_concurrency** | **Integer** | Total number of simultaneous connections. If not set then the default value will be used. | [optional] |
19
20
  | **max_retries** | **Integer** | Maximum number of retry attempts after a download failure. If not set then the default value (3) will be used. | [optional] |
20
- | **policy** | [**GenericRemoteResponsePolicyEnum**](GenericRemoteResponsePolicyEnum.md) | The policy to use when downloading content. * &#x60;immediate&#x60; - When syncing, download all metadata and content now. * &#x60;on_demand&#x60; - When syncing, download metadata, but do not download content now. Instead, download content as clients request it, and save it in Pulp to be served for future client requests. * &#x60;streamed&#x60; - When syncing, download metadata, but do not download content now. Instead,download content as clients request it, but never save it in Pulp. This causes future requests for that same content to have to be downloaded again. | [optional] |
21
21
  | **total_timeout** | **Float** | aiohttp.ClientTimeout.total (q.v.) for download-connections. The default is null, which will cause the default from the aiohttp library to be used. | [optional] |
22
22
  | **connect_timeout** | **Float** | aiohttp.ClientTimeout.connect (q.v.) for download-connections. The default is null, which will cause the default from the aiohttp library to be used. | [optional] |
23
23
  | **sock_connect_timeout** | **Float** | aiohttp.ClientTimeout.sock_connect (q.v.) for download-connections. The default is null, which will cause the default from the aiohttp library to be used. | [optional] |
24
24
  | **sock_read_timeout** | **Float** | aiohttp.ClientTimeout.sock_read (q.v.) for download-connections. The default is null, which will cause the default from the aiohttp library to be used. | [optional] |
25
25
  | **headers** | **Array&lt;Object&gt;** | Headers for aiohttp.Clientsession | [optional] |
26
+ | **download_concurrency** | **Integer** | Total number of simultaneous connections. If not set then the default value will be used. | [optional] |
26
27
  | **rate_limit** | **Integer** | Limits requests per second for each concurrent downloader | [optional] |
27
- | **hidden_fields** | [**Array&lt;GenericRemoteResponseHiddenFieldsInner&gt;**](GenericRemoteResponseHiddenFieldsInner.md) | List of hidden (write only) fields | [optional] |
28
28
 
29
29
  ## Example
30
30
 
@@ -38,21 +38,21 @@ instance = PulpcoreClient::GenericRemoteResponse.new(
38
38
  pulp_last_updated: null,
39
39
  name: null,
40
40
  url: null,
41
+ pulp_labels: null,
42
+ policy: null,
43
+ hidden_fields: null,
41
44
  ca_cert: null,
42
45
  client_cert: null,
43
46
  tls_validation: null,
44
47
  proxy_url: null,
45
- pulp_labels: null,
46
- download_concurrency: null,
47
48
  max_retries: null,
48
- policy: null,
49
49
  total_timeout: null,
50
50
  connect_timeout: null,
51
51
  sock_connect_timeout: null,
52
52
  sock_read_timeout: null,
53
53
  headers: null,
54
- rate_limit: null,
55
- hidden_fields: null
54
+ download_concurrency: null,
55
+ rate_limit: null
56
56
  )
57
57
  ```
58
58
 
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;2025-12-28&#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-01-04&#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
@@ -0,0 +1,50 @@
1
+ # PulpcoreClient::RemoteNetworkConfig
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **ca_cert** | **String** | A PEM encoded CA certificate used to validate the server certificate presented by the remote server. | [optional] |
8
+ | **client_cert** | **String** | A PEM encoded client certificate used for authentication. | [optional] |
9
+ | **client_key** | **String** | A PEM encoded private key used for authentication. | [optional] |
10
+ | **tls_validation** | **Boolean** | If True, TLS peer validation must be performed. | [optional] |
11
+ | **proxy_url** | **String** | The proxy URL. Format: scheme://host:port | [optional] |
12
+ | **proxy_username** | **String** | The username to authenticte to the proxy. | [optional] |
13
+ | **proxy_password** | **String** | The password to authenticate to the proxy. Extra leading and trailing whitespace characters are not trimmed. | [optional] |
14
+ | **username** | **String** | The username to be used for authentication when syncing. | [optional] |
15
+ | **password** | **String** | The password to be used for authentication when syncing. Extra leading and trailing whitespace characters are not trimmed. | [optional] |
16
+ | **max_retries** | **Integer** | Maximum number of retry attempts after a download failure. If not set then the default value (3) will be used. | [optional] |
17
+ | **total_timeout** | **Float** | aiohttp.ClientTimeout.total (q.v.) for download-connections. The default is null, which will cause the default from the aiohttp library to be used. | [optional] |
18
+ | **connect_timeout** | **Float** | aiohttp.ClientTimeout.connect (q.v.) for download-connections. The default is null, which will cause the default from the aiohttp library to be used. | [optional] |
19
+ | **sock_connect_timeout** | **Float** | aiohttp.ClientTimeout.sock_connect (q.v.) for download-connections. The default is null, which will cause the default from the aiohttp library to be used. | [optional] |
20
+ | **sock_read_timeout** | **Float** | aiohttp.ClientTimeout.sock_read (q.v.) for download-connections. The default is null, which will cause the default from the aiohttp library to be used. | [optional] |
21
+ | **headers** | **Array&lt;Object&gt;** | Headers for aiohttp.Clientsession | [optional] |
22
+ | **download_concurrency** | **Integer** | Total number of simultaneous connections. If not set then the default value will be used. | [optional] |
23
+ | **rate_limit** | **Integer** | Limits requests per second for each concurrent downloader | [optional] |
24
+
25
+ ## Example
26
+
27
+ ```ruby
28
+ require 'pulpcore_client'
29
+
30
+ instance = PulpcoreClient::RemoteNetworkConfig.new(
31
+ ca_cert: null,
32
+ client_cert: null,
33
+ client_key: null,
34
+ tls_validation: null,
35
+ proxy_url: null,
36
+ proxy_username: null,
37
+ proxy_password: null,
38
+ username: null,
39
+ password: null,
40
+ max_retries: null,
41
+ total_timeout: null,
42
+ connect_timeout: null,
43
+ sock_connect_timeout: null,
44
+ sock_read_timeout: null,
45
+ headers: null,
46
+ download_concurrency: null,
47
+ rate_limit: null
48
+ )
49
+ ```
50
+
@@ -0,0 +1,40 @@
1
+ # PulpcoreClient::RemoteNetworkConfigResponse
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **ca_cert** | **String** | A PEM encoded CA certificate used to validate the server certificate presented by the remote server. | [optional] |
8
+ | **client_cert** | **String** | A PEM encoded client certificate used for authentication. | [optional] |
9
+ | **tls_validation** | **Boolean** | If True, TLS peer validation must be performed. | [optional] |
10
+ | **proxy_url** | **String** | The proxy URL. Format: scheme://host:port | [optional] |
11
+ | **max_retries** | **Integer** | Maximum number of retry attempts after a download failure. If not set then the default value (3) will be used. | [optional] |
12
+ | **total_timeout** | **Float** | aiohttp.ClientTimeout.total (q.v.) for download-connections. The default is null, which will cause the default from the aiohttp library to be used. | [optional] |
13
+ | **connect_timeout** | **Float** | aiohttp.ClientTimeout.connect (q.v.) for download-connections. The default is null, which will cause the default from the aiohttp library to be used. | [optional] |
14
+ | **sock_connect_timeout** | **Float** | aiohttp.ClientTimeout.sock_connect (q.v.) for download-connections. The default is null, which will cause the default from the aiohttp library to be used. | [optional] |
15
+ | **sock_read_timeout** | **Float** | aiohttp.ClientTimeout.sock_read (q.v.) for download-connections. The default is null, which will cause the default from the aiohttp library to be used. | [optional] |
16
+ | **headers** | **Array&lt;Object&gt;** | Headers for aiohttp.Clientsession | [optional] |
17
+ | **download_concurrency** | **Integer** | Total number of simultaneous connections. If not set then the default value will be used. | [optional] |
18
+ | **rate_limit** | **Integer** | Limits requests per second for each concurrent downloader | [optional] |
19
+
20
+ ## Example
21
+
22
+ ```ruby
23
+ require 'pulpcore_client'
24
+
25
+ instance = PulpcoreClient::RemoteNetworkConfigResponse.new(
26
+ ca_cert: null,
27
+ client_cert: null,
28
+ tls_validation: null,
29
+ proxy_url: null,
30
+ max_retries: null,
31
+ total_timeout: null,
32
+ connect_timeout: null,
33
+ sock_connect_timeout: null,
34
+ sock_read_timeout: null,
35
+ headers: null,
36
+ download_concurrency: null,
37
+ rate_limit: null
38
+ )
39
+ ```
40
+
@@ -28,6 +28,7 @@ module PulpcoreClient
28
28
  # @option opts [File] :file An uploaded file that may be turned into the content unit.
29
29
  # @option opts [String] :upload An uncommitted upload that may be turned into the content unit.
30
30
  # @option opts [String] :file_url A url that Pulp can download and turn into the content unit.
31
+ # @option opts [RemoteNetworkConfig] :downloader_config Configuration for the download process (e.g., proxies, auth, timeouts). Only applicable when providing a &#39;file_url.
31
32
  # @return [AsyncOperationResponse]
32
33
  def create(opts = {})
33
34
  data, _status_code, _headers = create_with_http_info(opts)
@@ -43,6 +44,7 @@ module PulpcoreClient
43
44
  # @option opts [File] :file An uploaded file that may be turned into the content unit.
44
45
  # @option opts [String] :upload An uncommitted upload that may be turned into the content unit.
45
46
  # @option opts [String] :file_url A url that Pulp can download and turn into the content unit.
47
+ # @option opts [RemoteNetworkConfig] :downloader_config Configuration for the download process (e.g., proxies, auth, timeouts). Only applicable when providing a &#39;file_url.
46
48
  # @return [Array<(AsyncOperationResponse, Integer, Hash)>] AsyncOperationResponse data, response status code and response headers
47
49
  def create_with_http_info(opts = {})
48
50
  if @api_client.config.debugging
@@ -76,6 +78,7 @@ module PulpcoreClient
76
78
  form_params['file'] = opts[:'file'] if !opts[:'file'].nil?
77
79
  form_params['upload'] = opts[:'upload'] if !opts[:'upload'].nil?
78
80
  form_params['file_url'] = opts[:'file_url'] if !opts[:'file_url'].nil?
81
+ form_params['downloader_config'] = opts[:'downloader_config'] if !opts[:'downloader_config'].nil?
79
82
 
80
83
  # http body (model)
81
84
  post_body = opts[:debug_body]
@@ -16,51 +16,51 @@ require 'time'
16
16
  module PulpcoreClient
17
17
  # A serializer for ArtifactDistribution.
18
18
  class ArtifactDistributionResponse
19
+ # A unique name. Ex, `rawhide` and `stable`.
20
+ attr_accessor :name
21
+
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
+ # 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.
26
+ attr_accessor :pulp_last_updated
27
+
28
+ attr_accessor :pulp_href
29
+
19
30
  # An optional content-guard.
20
31
  attr_accessor :content_guard
21
32
 
22
33
  # The base (relative) path component of the published url. Avoid paths that overlap with other distribution base paths (e.g. \"foo\" and \"foo/bar\")
23
34
  attr_accessor :base_path
24
35
 
25
- attr_accessor :pulp_href
26
-
27
- # Timestamp of creation.
28
- attr_accessor :pulp_created
29
-
30
- attr_accessor :pulp_labels
36
+ # The Pulp Resource Name (PRN).
37
+ attr_accessor :prn
31
38
 
32
39
  # Whether this distribution should be shown in the content app.
33
40
  attr_accessor :hidden
34
41
 
35
- # A unique name. Ex, `rawhide` and `stable`.
36
- attr_accessor :name
37
-
38
- # Timestamp since when the distributed content served by this distribution has not changed. If equals to `null`, no guarantee is provided about content changes.
39
- attr_accessor :no_content_change_since
40
-
41
42
  # The URL for accessing the publication as defined by this distribution.
42
43
  attr_accessor :base_url
43
44
 
44
- # 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.
45
- attr_accessor :pulp_last_updated
45
+ # Timestamp of creation.
46
+ attr_accessor :pulp_created
46
47
 
47
- # The Pulp Resource Name (PRN).
48
- attr_accessor :prn
48
+ attr_accessor :pulp_labels
49
49
 
50
50
  # Attribute mapping from ruby-style variable name to JSON key.
51
51
  def self.attribute_map
52
52
  {
53
+ :'name' => :'name',
54
+ :'no_content_change_since' => :'no_content_change_since',
55
+ :'pulp_last_updated' => :'pulp_last_updated',
56
+ :'pulp_href' => :'pulp_href',
53
57
  :'content_guard' => :'content_guard',
54
58
  :'base_path' => :'base_path',
55
- :'pulp_href' => :'pulp_href',
56
- :'pulp_created' => :'pulp_created',
57
- :'pulp_labels' => :'pulp_labels',
59
+ :'prn' => :'prn',
58
60
  :'hidden' => :'hidden',
59
- :'name' => :'name',
60
- :'no_content_change_since' => :'no_content_change_since',
61
61
  :'base_url' => :'base_url',
62
- :'pulp_last_updated' => :'pulp_last_updated',
63
- :'prn' => :'prn'
62
+ :'pulp_created' => :'pulp_created',
63
+ :'pulp_labels' => :'pulp_labels'
64
64
  }
65
65
  end
66
66
 
@@ -72,17 +72,17 @@ module PulpcoreClient
72
72
  # Attribute type mapping.
73
73
  def self.openapi_types
74
74
  {
75
+ :'name' => :'String',
76
+ :'no_content_change_since' => :'String',
77
+ :'pulp_last_updated' => :'Time',
78
+ :'pulp_href' => :'String',
75
79
  :'content_guard' => :'String',
76
80
  :'base_path' => :'String',
77
- :'pulp_href' => :'String',
78
- :'pulp_created' => :'Time',
79
- :'pulp_labels' => :'Hash<String, String>',
81
+ :'prn' => :'String',
80
82
  :'hidden' => :'Boolean',
81
- :'name' => :'String',
82
- :'no_content_change_since' => :'String',
83
83
  :'base_url' => :'String',
84
- :'pulp_last_updated' => :'Time',
85
- :'prn' => :'String'
84
+ :'pulp_created' => :'Time',
85
+ :'pulp_labels' => :'Hash<String, String>'
86
86
  }
87
87
  end
88
88
 
@@ -108,28 +108,36 @@ module PulpcoreClient
108
108
  h[k.to_sym] = v
109
109
  }
110
110
 
111
- if attributes.key?(:'content_guard')
112
- self.content_guard = attributes[:'content_guard']
111
+ if attributes.key?(:'name')
112
+ self.name = attributes[:'name']
113
+ else
114
+ self.name = nil
113
115
  end
114
116
 
115
- if attributes.key?(:'base_path')
116
- self.base_path = attributes[:'base_path']
117
- else
118
- self.base_path = nil
117
+ if attributes.key?(:'no_content_change_since')
118
+ self.no_content_change_since = attributes[:'no_content_change_since']
119
+ end
120
+
121
+ if attributes.key?(:'pulp_last_updated')
122
+ self.pulp_last_updated = attributes[:'pulp_last_updated']
119
123
  end
120
124
 
121
125
  if attributes.key?(:'pulp_href')
122
126
  self.pulp_href = attributes[:'pulp_href']
123
127
  end
124
128
 
125
- if attributes.key?(:'pulp_created')
126
- self.pulp_created = attributes[:'pulp_created']
129
+ if attributes.key?(:'content_guard')
130
+ self.content_guard = attributes[:'content_guard']
127
131
  end
128
132
 
129
- if attributes.key?(:'pulp_labels')
130
- if (value = attributes[:'pulp_labels']).is_a?(Hash)
131
- self.pulp_labels = value
132
- end
133
+ if attributes.key?(:'base_path')
134
+ self.base_path = attributes[:'base_path']
135
+ else
136
+ self.base_path = nil
137
+ end
138
+
139
+ if attributes.key?(:'prn')
140
+ self.prn = attributes[:'prn']
133
141
  end
134
142
 
135
143
  if attributes.key?(:'hidden')
@@ -138,26 +146,18 @@ module PulpcoreClient
138
146
  self.hidden = false
139
147
  end
140
148
 
141
- if attributes.key?(:'name')
142
- self.name = attributes[:'name']
143
- else
144
- self.name = nil
145
- end
146
-
147
- if attributes.key?(:'no_content_change_since')
148
- self.no_content_change_since = attributes[:'no_content_change_since']
149
- end
150
-
151
149
  if attributes.key?(:'base_url')
152
150
  self.base_url = attributes[:'base_url']
153
151
  end
154
152
 
155
- if attributes.key?(:'pulp_last_updated')
156
- self.pulp_last_updated = attributes[:'pulp_last_updated']
153
+ if attributes.key?(:'pulp_created')
154
+ self.pulp_created = attributes[:'pulp_created']
157
155
  end
158
156
 
159
- if attributes.key?(:'prn')
160
- self.prn = attributes[:'prn']
157
+ if attributes.key?(:'pulp_labels')
158
+ if (value = attributes[:'pulp_labels']).is_a?(Hash)
159
+ self.pulp_labels = value
160
+ end
161
161
  end
162
162
  end
163
163
 
@@ -166,14 +166,14 @@ module PulpcoreClient
166
166
  def list_invalid_properties
167
167
  warn '[DEPRECATED] the `list_invalid_properties` method is obsolete'
168
168
  invalid_properties = Array.new
169
- if @base_path.nil?
170
- invalid_properties.push('invalid value for "base_path", base_path cannot be nil.')
171
- end
172
-
173
169
  if @name.nil?
174
170
  invalid_properties.push('invalid value for "name", name cannot be nil.')
175
171
  end
176
172
 
173
+ if @base_path.nil?
174
+ invalid_properties.push('invalid value for "base_path", base_path cannot be nil.')
175
+ end
176
+
177
177
  invalid_properties
178
178
  end
179
179
 
@@ -181,8 +181,8 @@ module PulpcoreClient
181
181
  # @return true if the model is valid
182
182
  def valid?
183
183
  warn '[DEPRECATED] the `valid?` method is obsolete'
184
- return false if @base_path.nil?
185
184
  return false if @name.nil?
185
+ return false if @base_path.nil?
186
186
  true
187
187
  end
188
188
 
@@ -191,17 +191,17 @@ module PulpcoreClient
191
191
  def ==(o)
192
192
  return true if self.equal?(o)
193
193
  self.class == o.class &&
194
+ name == o.name &&
195
+ no_content_change_since == o.no_content_change_since &&
196
+ pulp_last_updated == o.pulp_last_updated &&
197
+ pulp_href == o.pulp_href &&
194
198
  content_guard == o.content_guard &&
195
199
  base_path == o.base_path &&
196
- pulp_href == o.pulp_href &&
197
- pulp_created == o.pulp_created &&
198
- pulp_labels == o.pulp_labels &&
200
+ prn == o.prn &&
199
201
  hidden == o.hidden &&
200
- name == o.name &&
201
- no_content_change_since == o.no_content_change_since &&
202
202
  base_url == o.base_url &&
203
- pulp_last_updated == o.pulp_last_updated &&
204
- prn == o.prn
203
+ pulp_created == o.pulp_created &&
204
+ pulp_labels == o.pulp_labels
205
205
  end
206
206
 
207
207
  # @see the `==` method
@@ -213,7 +213,7 @@ module PulpcoreClient
213
213
  # Calculates hash code according to all attributes.
214
214
  # @return [Integer] Hash code
215
215
  def hash
216
- [content_guard, base_path, pulp_href, pulp_created, pulp_labels, hidden, name, no_content_change_since, base_url, pulp_last_updated, prn].hash
216
+ [name, no_content_change_since, pulp_last_updated, pulp_href, content_guard, base_path, prn, hidden, base_url, pulp_created, pulp_labels].hash
217
217
  end
218
218
 
219
219
  # Builds the object from hash