pulp_ansible_client 0.13.4 → 0.13.5

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: b86311928c728078bd3045b406bcc49aae962666b9d5a12aeaa03f5292fb4cdf
4
- data.tar.gz: 9ebdb477a25a2bef0aa00e2d104712b1bb0ae33ff009b4deae5a49d7c4a6e3ed
3
+ metadata.gz: 29d0420225e59f7ebe48ee3bf21ed40ef946bf90598cc4b574fdbd58a51cf446
4
+ data.tar.gz: a33d7711011576e0bfe87df6237f9f3ebf85e194784626cd4757474878dbca5b
5
5
  SHA512:
6
- metadata.gz: 7493760801e319eeb4ac94aacdd9d3313c54022935d6b1b3843a7f05b7cb1d301c6811619155666a9a3e211a62366e71c6dfb246a3703aa28ad17975f46847df
7
- data.tar.gz: b3f1ad84ba4760003e511f54f45c050e150a150685c28a34543f2dbd4782d31785946ade5f3289d0dae35e279a91e2e3daa0fb750cf2b2229159d49d638d5714
6
+ metadata.gz: 8116a5ff87728f4baa93ad5e628b036dbdc0ffe1db6286b82d3ea1a2cc5acd7b18ba63f5fd463bdb0da846da6b132c08a1e3f5d3caf6bbc1d9ffbf458d70cd68
7
+ data.tar.gz: ede00ea442d256285549c3f526991085c4c208a56582162d115387455bdc042639aad7f8f46404ddcaf3bd60852621fedb02640c30a3610207e210e5765fcd5b
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: 0.13.4
10
+ - Package version: 0.13.5
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_ansible_client.gemspec
24
24
  Then either install the gem locally:
25
25
 
26
26
  ```shell
27
- gem install ./pulp_ansible_client-0.13.4.gem
27
+ gem install ./pulp_ansible_client-0.13.5.gem
28
28
  ```
29
29
 
30
- (for development, run `gem install --dev ./pulp_ansible_client-0.13.4.gem` to install the development dependencies)
30
+ (for development, run `gem install --dev ./pulp_ansible_client-0.13.5.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_ansible_client', '~> 0.13.4'
36
+ gem 'pulp_ansible_client', '~> 0.13.5'
37
37
 
38
38
  ### Install from Git
39
39
 
@@ -25,7 +25,6 @@ Name | Type | Description | Notes
25
25
  **rate_limit** | **Integer** | Limits requests per second for each concurrent downloader | [optional]
26
26
  **requirements_file** | **String** | The string version of Collection requirements yaml. | [optional]
27
27
  **auth_url** | **String** | The URL to receive a session token from, e.g. used with Automation Hub. | [optional]
28
- **token** | **String** | The token key to use for authentication. See https://docs.ansible.com/ansible/latest/user_guide/collections_using.html#configuring-the-ansible-galaxy-clientfor more details | [optional]
29
28
  **sync_dependencies** | **Boolean** | Sync dependencies for collections specified via requirements file | [optional] [default to true]
30
29
  **signed_only** | **Boolean** | Sync only collections that have a signature | [optional] [default to false]
31
30
 
@@ -55,7 +54,6 @@ instance = PulpAnsibleClient::AnsibleCollectionRemoteResponse.new(pulp_href: nul
55
54
  rate_limit: null,
56
55
  requirements_file: null,
57
56
  auth_url: null,
58
- token: null,
59
57
  sync_dependencies: null,
60
58
  signed_only: null)
61
59
  ```
@@ -4,9 +4,9 @@
4
4
 
5
5
  Name | Type | Description | Notes
6
6
  ------------ | ------------- | ------------- | -------------
7
+ **pulp_href** | **String** | | [optional] [readonly]
7
8
  **artifact** | **String** | Artifact file representing the physical content | [optional]
8
9
  **pulp_created** | **DateTime** | Timestamp of creation. | [optional] [readonly]
9
- **pulp_href** | **String** | | [optional] [readonly]
10
10
  **md5** | **String** | The MD5 checksum if available. | [optional] [readonly]
11
11
  **sha1** | **String** | The SHA-1 checksum if available. | [optional] [readonly]
12
12
  **sha224** | **String** | The SHA-224 checksum if available. | [optional] [readonly]
@@ -37,9 +37,9 @@ Name | Type | Description | Notes
37
37
  ```ruby
38
38
  require 'PulpAnsibleClient'
39
39
 
40
- instance = PulpAnsibleClient::AnsibleCollectionVersionResponse.new(artifact: null,
40
+ instance = PulpAnsibleClient::AnsibleCollectionVersionResponse.new(pulp_href: null,
41
+ artifact: null,
41
42
  pulp_created: null,
42
- pulp_href: null,
43
43
  md5: null,
44
44
  sha1: null,
45
45
  sha224: null,
@@ -4,25 +4,25 @@
4
4
 
5
5
  Name | Type | Description | Notes
6
6
  ------------ | ------------- | ------------- | -------------
7
- **client_key** | **String** | A PEM encoded private key used for authentication. | [optional]
7
+ **pulp_labels** | [**Object**](.md) | | [optional]
8
8
  **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]
9
- **username** | **String** | The username to be used for authentication when syncing. | [optional]
10
- **proxy_url** | **String** | The proxy URL. Format: scheme://host:port | [optional]
11
- **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]
12
9
  **name** | **String** | A unique name for this remote. |
13
- **ca_cert** | **String** | A PEM encoded CA certificate used to validate the server certificate presented by the remote server. | [optional]
14
- **proxy_username** | **String** | The username to authenticte to the proxy. | [optional]
10
+ **client_cert** | **String** | A PEM encoded client certificate used for authentication. | [optional]
11
+ **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]
12
+ **download_concurrency** | **Integer** | Total number of simultaneous connections. If not set then the default value will be used. | [optional]
13
+ **headers** | **Array<Object>** | Headers for aiohttp.Clientsession | [optional]
15
14
  **max_retries** | **Integer** | Maximum number of retry attempts after a download failure. If not set then the default value (3) will be used. | [optional]
16
- **proxy_password** | **String** | The password to authenticte to the proxy. | [optional]
15
+ **proxy_url** | **String** | The proxy URL. Format: scheme://host:port | [optional]
16
+ **url** | **String** | The URL of an external content source. |
17
17
  **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]
18
+ **rate_limit** | **Integer** | Limits requests per second for each concurrent downloader | [optional]
19
+ **ca_cert** | **String** | A PEM encoded CA certificate used to validate the server certificate presented by the remote server. | [optional]
20
+ **proxy_password** | **String** | The password to authenticte to the proxy. | [optional]
21
+ **client_key** | **String** | A PEM encoded private key used for authentication. | [optional]
18
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]
19
- **url** | **String** | The URL of an external content source. |
20
- **download_concurrency** | **Integer** | Total number of simultaneous connections. If not set then the default value will be used. | [optional]
23
+ **proxy_username** | **String** | The username to authenticte to the proxy. | [optional]
24
+ **username** | **String** | The username to be used for authentication when syncing. | [optional]
21
25
  **password** | **String** | The password to be used for authentication when syncing. | [optional]
22
- **pulp_labels** | [**Object**](.md) | | [optional]
23
- **client_cert** | **String** | A PEM encoded client certificate used for authentication. | [optional]
24
- **rate_limit** | **Integer** | Limits requests per second for each concurrent downloader | [optional]
25
- **headers** | **Array<Object>** | Headers for aiohttp.Clientsession | [optional]
26
26
  **tls_validation** | **Boolean** | If True, TLS peer validation must be performed. | [optional]
27
27
  **metadata_only** | **Boolean** | If True, only metadata about the content will be stored in Pulp. Clients will retrieve content from the remote URL. | [optional]
28
28
  **git_ref** | **String** | A git ref. e.g.: branch, tag, or commit sha. | [optional]
@@ -32,25 +32,25 @@ Name | Type | Description | Notes
32
32
  ```ruby
33
33
  require 'PulpAnsibleClient'
34
34
 
35
- instance = PulpAnsibleClient::AnsibleGitRemote.new(client_key: null,
35
+ instance = PulpAnsibleClient::AnsibleGitRemote.new(pulp_labels: null,
36
36
  sock_read_timeout: null,
37
- username: null,
38
- proxy_url: null,
39
- total_timeout: null,
40
37
  name: null,
41
- ca_cert: null,
42
- proxy_username: null,
38
+ client_cert: null,
39
+ total_timeout: null,
40
+ download_concurrency: null,
41
+ headers: null,
43
42
  max_retries: null,
44
- proxy_password: null,
43
+ proxy_url: null,
44
+ url: null,
45
45
  sock_connect_timeout: null,
46
+ rate_limit: null,
47
+ ca_cert: null,
48
+ proxy_password: null,
49
+ client_key: null,
46
50
  connect_timeout: null,
47
- url: null,
48
- download_concurrency: null,
51
+ proxy_username: null,
52
+ username: null,
49
53
  password: null,
50
- pulp_labels: null,
51
- client_cert: null,
52
- rate_limit: null,
53
- headers: null,
54
54
  tls_validation: null,
55
55
  metadata_only: null,
56
56
  git_ref: null)
@@ -4,24 +4,24 @@
4
4
 
5
5
  Name | Type | Description | Notes
6
6
  ------------ | ------------- | ------------- | -------------
7
+ **pulp_labels** | [**Object**](.md) | | [optional]
7
8
  **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]
8
- **proxy_url** | **String** | The proxy URL. Format: scheme://host:port | [optional]
9
- **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]
10
9
  **name** | **String** | A unique name for this remote. |
11
- **ca_cert** | **String** | A PEM encoded CA certificate used to validate the server certificate presented by the remote server. | [optional]
10
+ **client_cert** | **String** | A PEM encoded client certificate used for authentication. | [optional]
11
+ **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]
12
+ **download_concurrency** | **Integer** | Total number of simultaneous connections. If not set then the default value will be used. | [optional]
13
+ **headers** | **Array<Object>** | Headers for aiohttp.Clientsession | [optional]
12
14
  **max_retries** | **Integer** | Maximum number of retry attempts after a download failure. If not set then the default value (3) will be used. | [optional]
15
+ **proxy_url** | **String** | The proxy URL. Format: scheme://host:port | [optional]
16
+ **pulp_created** | **DateTime** | Timestamp of creation. | [optional] [readonly]
17
+ **url** | **String** | The URL of an external content source. |
18
+ **pulp_last_updated** | **DateTime** | Timestamp of the most recent update of the remote. | [optional] [readonly]
13
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
+ **rate_limit** | **Integer** | Limits requests per second for each concurrent downloader | [optional]
21
+ **ca_cert** | **String** | A PEM encoded CA certificate used to validate the server certificate presented by the remote server. | [optional]
14
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]
15
- **url** | **String** | The URL of an external content source. |
16
- **download_concurrency** | **Integer** | Total number of simultaneous connections. If not set then the default value will be used. | [optional]
17
- **pulp_created** | **DateTime** | Timestamp of creation. | [optional] [readonly]
18
23
  **pulp_href** | **String** | | [optional] [readonly]
19
- **pulp_labels** | [**Object**](.md) | | [optional]
20
- **client_cert** | **String** | A PEM encoded client certificate used for authentication. | [optional]
21
- **rate_limit** | **Integer** | Limits requests per second for each concurrent downloader | [optional]
22
- **headers** | **Array<Object>** | Headers for aiohttp.Clientsession | [optional]
23
24
  **tls_validation** | **Boolean** | If True, TLS peer validation must be performed. | [optional]
24
- **pulp_last_updated** | **DateTime** | Timestamp of the most recent update of the remote. | [optional] [readonly]
25
25
  **metadata_only** | **Boolean** | If True, only metadata about the content will be stored in Pulp. Clients will retrieve content from the remote URL. | [optional]
26
26
  **git_ref** | **String** | A git ref. e.g.: branch, tag, or commit sha. | [optional]
27
27
 
@@ -30,24 +30,24 @@ Name | Type | Description | Notes
30
30
  ```ruby
31
31
  require 'PulpAnsibleClient'
32
32
 
33
- instance = PulpAnsibleClient::AnsibleGitRemoteResponse.new(sock_read_timeout: null,
34
- proxy_url: null,
35
- total_timeout: null,
33
+ instance = PulpAnsibleClient::AnsibleGitRemoteResponse.new(pulp_labels: null,
34
+ sock_read_timeout: null,
36
35
  name: null,
37
- ca_cert: null,
36
+ client_cert: null,
37
+ total_timeout: null,
38
+ download_concurrency: null,
39
+ headers: null,
38
40
  max_retries: null,
41
+ proxy_url: null,
42
+ pulp_created: null,
43
+ url: null,
44
+ pulp_last_updated: null,
39
45
  sock_connect_timeout: null,
46
+ rate_limit: null,
47
+ ca_cert: null,
40
48
  connect_timeout: null,
41
- url: null,
42
- download_concurrency: null,
43
- pulp_created: null,
44
49
  pulp_href: null,
45
- pulp_labels: null,
46
- client_cert: null,
47
- rate_limit: null,
48
- headers: null,
49
50
  tls_validation: null,
50
- pulp_last_updated: null,
51
51
  metadata_only: null,
52
52
  git_ref: null)
53
53
  ```
@@ -4,9 +4,9 @@
4
4
 
5
5
  Name | Type | Description | Notes
6
6
  ------------ | ------------- | ------------- | -------------
7
+ **pulp_href** | **String** | | [optional] [readonly]
7
8
  **artifact** | **String** | Artifact file representing the physical content |
8
9
  **pulp_created** | **DateTime** | Timestamp of creation. | [optional] [readonly]
9
- **pulp_href** | **String** | | [optional] [readonly]
10
10
  **version** | **String** | |
11
11
  **name** | **String** | |
12
12
  **namespace** | **String** | |
@@ -16,9 +16,9 @@ Name | Type | Description | Notes
16
16
  ```ruby
17
17
  require 'PulpAnsibleClient'
18
18
 
19
- instance = PulpAnsibleClient::AnsibleRoleResponse.new(artifact: null,
19
+ instance = PulpAnsibleClient::AnsibleRoleResponse.new(pulp_href: null,
20
+ artifact: null,
20
21
  pulp_created: null,
21
- pulp_href: null,
22
22
  version: null,
23
23
  name: null,
24
24
  namespace: null)
@@ -4,25 +4,25 @@
4
4
 
5
5
  Name | Type | Description | Notes
6
6
  ------------ | ------------- | ------------- | -------------
7
- **client_key** | **String** | A PEM encoded private key used for authentication. | [optional]
7
+ **pulp_labels** | [**Object**](.md) | | [optional]
8
8
  **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]
9
- **username** | **String** | The username to be used for authentication when syncing. | [optional]
10
- **proxy_url** | **String** | The proxy URL. Format: scheme://host:port | [optional]
11
- **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]
12
9
  **name** | **String** | A unique name for this remote. | [optional]
13
- **ca_cert** | **String** | A PEM encoded CA certificate used to validate the server certificate presented by the remote server. | [optional]
14
- **proxy_username** | **String** | The username to authenticte to the proxy. | [optional]
10
+ **client_cert** | **String** | A PEM encoded client certificate used for authentication. | [optional]
11
+ **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]
12
+ **download_concurrency** | **Integer** | Total number of simultaneous connections. If not set then the default value will be used. | [optional]
13
+ **headers** | **Array<Object>** | Headers for aiohttp.Clientsession | [optional]
15
14
  **max_retries** | **Integer** | Maximum number of retry attempts after a download failure. If not set then the default value (3) will be used. | [optional]
16
- **proxy_password** | **String** | The password to authenticte to the proxy. | [optional]
15
+ **proxy_url** | **String** | The proxy URL. Format: scheme://host:port | [optional]
16
+ **url** | **String** | The URL of an external content source. | [optional]
17
17
  **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]
18
+ **rate_limit** | **Integer** | Limits requests per second for each concurrent downloader | [optional]
19
+ **ca_cert** | **String** | A PEM encoded CA certificate used to validate the server certificate presented by the remote server. | [optional]
20
+ **proxy_password** | **String** | The password to authenticte to the proxy. | [optional]
21
+ **client_key** | **String** | A PEM encoded private key used for authentication. | [optional]
18
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]
19
- **url** | **String** | The URL of an external content source. | [optional]
20
- **download_concurrency** | **Integer** | Total number of simultaneous connections. If not set then the default value will be used. | [optional]
23
+ **proxy_username** | **String** | The username to authenticte to the proxy. | [optional]
24
+ **username** | **String** | The username to be used for authentication when syncing. | [optional]
21
25
  **password** | **String** | The password to be used for authentication when syncing. | [optional]
22
- **pulp_labels** | [**Object**](.md) | | [optional]
23
- **client_cert** | **String** | A PEM encoded client certificate used for authentication. | [optional]
24
- **rate_limit** | **Integer** | Limits requests per second for each concurrent downloader | [optional]
25
- **headers** | **Array<Object>** | Headers for aiohttp.Clientsession | [optional]
26
26
  **tls_validation** | **Boolean** | If True, TLS peer validation must be performed. | [optional]
27
27
  **metadata_only** | **Boolean** | If True, only metadata about the content will be stored in Pulp. Clients will retrieve content from the remote URL. | [optional]
28
28
  **git_ref** | **String** | A git ref. e.g.: branch, tag, or commit sha. | [optional]
@@ -32,25 +32,25 @@ Name | Type | Description | Notes
32
32
  ```ruby
33
33
  require 'PulpAnsibleClient'
34
34
 
35
- instance = PulpAnsibleClient::PatchedansibleGitRemote.new(client_key: null,
35
+ instance = PulpAnsibleClient::PatchedansibleGitRemote.new(pulp_labels: null,
36
36
  sock_read_timeout: null,
37
- username: null,
38
- proxy_url: null,
39
- total_timeout: null,
40
37
  name: null,
41
- ca_cert: null,
42
- proxy_username: null,
38
+ client_cert: null,
39
+ total_timeout: null,
40
+ download_concurrency: null,
41
+ headers: null,
43
42
  max_retries: null,
44
- proxy_password: null,
43
+ proxy_url: null,
44
+ url: null,
45
45
  sock_connect_timeout: null,
46
+ rate_limit: null,
47
+ ca_cert: null,
48
+ proxy_password: null,
49
+ client_key: null,
46
50
  connect_timeout: null,
47
- url: null,
48
- download_concurrency: null,
51
+ proxy_username: null,
52
+ username: null,
49
53
  password: null,
50
- pulp_labels: null,
51
- client_cert: null,
52
- rate_limit: null,
53
- headers: null,
54
54
  tls_validation: null,
55
55
  metadata_only: null,
56
56
  git_ref: null)
@@ -76,9 +76,6 @@ module PulpAnsibleClient
76
76
  # The URL to receive a session token from, e.g. used with Automation Hub.
77
77
  attr_accessor :auth_url
78
78
 
79
- # The token key to use for authentication. See https://docs.ansible.com/ansible/latest/user_guide/collections_using.html#configuring-the-ansible-galaxy-clientfor more details
80
- attr_accessor :token
81
-
82
79
  # Sync dependencies for collections specified via requirements file
83
80
  attr_accessor :sync_dependencies
84
81
 
@@ -109,7 +106,6 @@ module PulpAnsibleClient
109
106
  :'rate_limit' => :'rate_limit',
110
107
  :'requirements_file' => :'requirements_file',
111
108
  :'auth_url' => :'auth_url',
112
- :'token' => :'token',
113
109
  :'sync_dependencies' => :'sync_dependencies',
114
110
  :'signed_only' => :'signed_only'
115
111
  }
@@ -139,7 +135,6 @@ module PulpAnsibleClient
139
135
  :'rate_limit' => :'Integer',
140
136
  :'requirements_file' => :'String',
141
137
  :'auth_url' => :'String',
142
- :'token' => :'String',
143
138
  :'sync_dependencies' => :'Boolean',
144
139
  :'signed_only' => :'Boolean'
145
140
  }
@@ -160,7 +155,6 @@ module PulpAnsibleClient
160
155
  :'rate_limit',
161
156
  :'requirements_file',
162
157
  :'auth_url',
163
- :'token',
164
158
  :'sync_dependencies',
165
159
  :'signed_only'
166
160
  ])
@@ -267,10 +261,6 @@ module PulpAnsibleClient
267
261
  self.auth_url = attributes[:'auth_url']
268
262
  end
269
263
 
270
- if attributes.key?(:'token')
271
- self.token = attributes[:'token']
272
- end
273
-
274
264
  if attributes.key?(:'sync_dependencies')
275
265
  self.sync_dependencies = attributes[:'sync_dependencies']
276
266
  else
@@ -320,10 +310,6 @@ module PulpAnsibleClient
320
310
  invalid_properties.push('invalid value for "auth_url", the character length must be smaller than or equal to 255.')
321
311
  end
322
312
 
323
- if !@token.nil? && @token.to_s.length > 2000
324
- invalid_properties.push('invalid value for "token", the character length must be smaller than or equal to 2000.')
325
- end
326
-
327
313
  invalid_properties
328
314
  end
329
315
 
@@ -338,7 +324,6 @@ module PulpAnsibleClient
338
324
  return false if !@sock_connect_timeout.nil? && @sock_connect_timeout < 0.0
339
325
  return false if !@sock_read_timeout.nil? && @sock_read_timeout < 0.0
340
326
  return false if !@auth_url.nil? && @auth_url.to_s.length > 255
341
- return false if !@token.nil? && @token.to_s.length > 2000
342
327
  true
343
328
  end
344
329
 
@@ -402,16 +387,6 @@ module PulpAnsibleClient
402
387
  @auth_url = auth_url
403
388
  end
404
389
 
405
- # Custom attribute writer method with validation
406
- # @param [Object] token Value to be assigned
407
- def token=(token)
408
- if !token.nil? && token.to_s.length > 2000
409
- fail ArgumentError, 'invalid value for "token", the character length must be smaller than or equal to 2000.'
410
- end
411
-
412
- @token = token
413
- end
414
-
415
390
  # Checks equality by comparing each attribute.
416
391
  # @param [Object] Object to be compared
417
392
  def ==(o)
@@ -438,7 +413,6 @@ module PulpAnsibleClient
438
413
  rate_limit == o.rate_limit &&
439
414
  requirements_file == o.requirements_file &&
440
415
  auth_url == o.auth_url &&
441
- token == o.token &&
442
416
  sync_dependencies == o.sync_dependencies &&
443
417
  signed_only == o.signed_only
444
418
  end
@@ -452,7 +426,7 @@ module PulpAnsibleClient
452
426
  # Calculates hash code according to all attributes.
453
427
  # @return [Integer] Hash code
454
428
  def hash
455
- [pulp_href, pulp_created, name, url, ca_cert, client_cert, tls_validation, proxy_url, pulp_labels, pulp_last_updated, download_concurrency, max_retries, policy, total_timeout, connect_timeout, sock_connect_timeout, sock_read_timeout, headers, rate_limit, requirements_file, auth_url, token, sync_dependencies, signed_only].hash
429
+ [pulp_href, pulp_created, name, url, ca_cert, client_cert, tls_validation, proxy_url, pulp_labels, pulp_last_updated, download_concurrency, max_retries, policy, total_timeout, connect_timeout, sock_connect_timeout, sock_read_timeout, headers, rate_limit, requirements_file, auth_url, sync_dependencies, signed_only].hash
456
430
  end
457
431
 
458
432
  # Builds the object from hash
@@ -15,14 +15,14 @@ require 'date'
15
15
  module PulpAnsibleClient
16
16
  # A serializer for CollectionVersion Content.
17
17
  class AnsibleCollectionVersionResponse
18
+ attr_accessor :pulp_href
19
+
18
20
  # Artifact file representing the physical content
19
21
  attr_accessor :artifact
20
22
 
21
23
  # Timestamp of creation.
22
24
  attr_accessor :pulp_created
23
25
 
24
- attr_accessor :pulp_href
25
-
26
26
  # The MD5 checksum if available.
27
27
  attr_accessor :md5
28
28
 
@@ -97,9 +97,9 @@ module PulpAnsibleClient
97
97
  # Attribute mapping from ruby-style variable name to JSON key.
98
98
  def self.attribute_map
99
99
  {
100
+ :'pulp_href' => :'pulp_href',
100
101
  :'artifact' => :'artifact',
101
102
  :'pulp_created' => :'pulp_created',
102
- :'pulp_href' => :'pulp_href',
103
103
  :'md5' => :'md5',
104
104
  :'sha1' => :'sha1',
105
105
  :'sha224' => :'sha224',
@@ -130,9 +130,9 @@ module PulpAnsibleClient
130
130
  # Attribute type mapping.
131
131
  def self.openapi_types
132
132
  {
133
+ :'pulp_href' => :'String',
133
134
  :'artifact' => :'String',
134
135
  :'pulp_created' => :'DateTime',
135
- :'pulp_href' => :'String',
136
136
  :'md5' => :'String',
137
137
  :'sha1' => :'String',
138
138
  :'sha224' => :'String',
@@ -182,6 +182,10 @@ module PulpAnsibleClient
182
182
  h[k.to_sym] = v
183
183
  }
184
184
 
185
+ if attributes.key?(:'pulp_href')
186
+ self.pulp_href = attributes[:'pulp_href']
187
+ end
188
+
185
189
  if attributes.key?(:'artifact')
186
190
  self.artifact = attributes[:'artifact']
187
191
  end
@@ -190,10 +194,6 @@ module PulpAnsibleClient
190
194
  self.pulp_created = attributes[:'pulp_created']
191
195
  end
192
196
 
193
- if attributes.key?(:'pulp_href')
194
- self.pulp_href = attributes[:'pulp_href']
195
- end
196
-
197
197
  if attributes.key?(:'md5')
198
198
  self.md5 = attributes[:'md5']
199
199
  end
@@ -543,9 +543,9 @@ module PulpAnsibleClient
543
543
  def ==(o)
544
544
  return true if self.equal?(o)
545
545
  self.class == o.class &&
546
+ pulp_href == o.pulp_href &&
546
547
  artifact == o.artifact &&
547
548
  pulp_created == o.pulp_created &&
548
- pulp_href == o.pulp_href &&
549
549
  md5 == o.md5 &&
550
550
  sha1 == o.sha1 &&
551
551
  sha224 == o.sha224 &&
@@ -581,7 +581,7 @@ module PulpAnsibleClient
581
581
  # Calculates hash code according to all attributes.
582
582
  # @return [Integer] Hash code
583
583
  def hash
584
- [artifact, pulp_created, pulp_href, md5, sha1, sha224, sha256, sha384, sha512, id, authors, contents, dependencies, description, docs_blob, manifest, files, documentation, homepage, issues, license, name, namespace, repository, tags, version, requires_ansible].hash
584
+ [pulp_href, artifact, pulp_created, md5, sha1, sha224, sha256, sha384, sha512, id, authors, contents, dependencies, description, docs_blob, manifest, files, documentation, homepage, issues, license, name, namespace, repository, tags, version, requires_ansible].hash
585
585
  end
586
586
 
587
587
  # Builds the object from hash