pulp_ansible_client 0.11.0 → 0.11.1

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: f576913de4c784a77cff08e006cf6ce22ff4b20363b40d552aa8a8fb4bfe97fd
4
- data.tar.gz: 3b66433e4c61c1e3d4a0f18672384db7f17db83bb643f449ae5ee177d6834147
3
+ metadata.gz: 60f1f7bfa13596774be77baad10b3335636a272d3c247636a17266e4c47c9949
4
+ data.tar.gz: e72895d8edb7921a9ac70c35c9eb0f3c55ea7accd1b0333eca31dd70ccb0c472
5
5
  SHA512:
6
- metadata.gz: 00a56fc1f13f53a23701e55913ba71d020b1685a6b4ca5d53ee064aa414e0722572eb3677688d8bca7ef750e7f63f30041dae56095cecbfb9f0bff75326125a6
7
- data.tar.gz: f2c772ea4a3f62448b624efe76a5b3dd2554e5b5e4cda780f2dc2b17b2712c8b55e14027e4075eee7b15e49feb05cd497aa18a4db988275da4b508b4b1cccac6
6
+ metadata.gz: b5ccb50f15444cc6d44511cbe734d2437c1efc7d600d56670a7cc6b900804bda67569f64b67016baf87d718f473844dca19f1626d5c8964a563c61c76bd2344f
7
+ data.tar.gz: 78bd81113dc91d55eb2f1e36803bb98c2d3300a56e52be952ffdd768eb2c751a71dc2d73103dea2c3c53dec2eec29ae2d32d6516e7b23723ac9b93596d9cdb97
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.11.0
10
+ - Package version: 0.11.1
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.11.0.gem
27
+ gem install ./pulp_ansible_client-0.11.1.gem
28
28
  ```
29
29
 
30
- (for development, run `gem install --dev ./pulp_ansible_client-0.11.0.gem` to install the development dependencies)
30
+ (for development, run `gem install --dev ./pulp_ansible_client-0.11.1.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.11.0'
36
+ gem 'pulp_ansible_client', '~> 0.11.1'
37
37
 
38
38
  ### Install from Git
39
39
 
@@ -4,8 +4,8 @@
4
4
 
5
5
  Name | Type | Description | Notes
6
6
  ------------ | ------------- | ------------- | -------------
7
- **file** | **File** | An uploaded file that may be turned into the artifact of the content unit. | [optional]
8
7
  **repository** | **String** | A URI of a repository the new content unit should be associated with. | [optional]
8
+ **file** | **File** | An uploaded file that may be turned into the artifact of the content unit. | [optional]
9
9
  **name** | **String** | The name of the collection. |
10
10
  **namespace** | **String** | The namespace of the collection. |
11
11
  **version** | **String** | The version of the collection. |
@@ -15,8 +15,8 @@ Name | Type | Description | Notes
15
15
  ```ruby
16
16
  require 'PulpAnsibleClient'
17
17
 
18
- instance = PulpAnsibleClient::AnsibleCollectionVersion.new(file: null,
19
- repository: null,
18
+ instance = PulpAnsibleClient::AnsibleCollectionVersion.new(repository: null,
19
+ file: null,
20
20
  name: null,
21
21
  namespace: null,
22
22
  version: null)
@@ -4,26 +4,26 @@
4
4
 
5
5
  Name | Type | Description | Notes
6
6
  ------------ | ------------- | ------------- | -------------
7
- **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
- **pulp_labels** | [**Object**](.md) | | [optional]
9
- **client_cert** | **String** | A PEM encoded client certificate used for authentication. | [optional]
10
- **rate_limit** | **Integer** | Limits requests per second for each concurrent downloader | [optional]
11
- **username** | **String** | The username to be used for authentication when syncing. | [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
- **password** | **String** | The password to be used for authentication when syncing. | [optional]
14
- **client_key** | **String** | A PEM encoded private key used for authentication. | [optional]
7
+ **proxy_username** | **String** | The username to authenticte to the proxy. | [optional]
15
8
  **proxy_url** | **String** | The proxy URL. Format: scheme://host:port | [optional]
16
- **tls_validation** | **Boolean** | If True, TLS peer validation must be performed. | [optional]
17
9
  **max_retries** | **Integer** | Maximum number of retry attempts after a download failure. If not set then the default value (3) will be used. | [optional]
18
- **name** | **String** | A unique name for this remote. |
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
10
  **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]
22
- **headers** | **Array<Object>** | Headers for aiohttp.Clientsession | [optional]
11
+ **tls_validation** | **Boolean** | If True, TLS peer validation must be performed. | [optional]
12
+ **username** | **String** | The username to be used for authentication when syncing. | [optional]
13
+ **rate_limit** | **Integer** | Limits requests per second for each concurrent downloader | [optional]
14
+ **client_key** | **String** | A PEM encoded private key used for authentication. | [optional]
15
+ **client_cert** | **String** | A PEM encoded client certificate used for authentication. | [optional]
23
16
  **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
- **url** | **String** | The URL of an external content source. |
25
- **proxy_username** | **String** | The username to authenticte to the proxy. | [optional]
26
17
  **download_concurrency** | **Integer** | Total number of simultaneous connections. If not set then the default value will be used. | [optional]
18
+ **pulp_labels** | [**Object**](.md) | | [optional]
19
+ **proxy_password** | **String** | The password to authenticte to the proxy. | [optional]
20
+ **headers** | **Array<Object>** | Headers for aiohttp.Clientsession | [optional]
21
+ **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]
22
+ **name** | **String** | A unique name for this remote. |
23
+ **url** | **String** | The URL of an external content source. |
24
+ **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]
25
+ **ca_cert** | **String** | A PEM encoded CA certificate used to validate the server certificate presented by the remote server. | [optional]
26
+ **password** | **String** | The password to be used for authentication when syncing. | [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]
29
29
 
@@ -32,26 +32,26 @@ Name | Type | Description | Notes
32
32
  ```ruby
33
33
  require 'PulpAnsibleClient'
34
34
 
35
- instance = PulpAnsibleClient::AnsibleGitRemote.new(sock_read_timeout: null,
36
- pulp_labels: null,
37
- client_cert: null,
38
- rate_limit: null,
39
- username: null,
40
- total_timeout: null,
41
- password: null,
42
- client_key: null,
35
+ instance = PulpAnsibleClient::AnsibleGitRemote.new(proxy_username: null,
43
36
  proxy_url: null,
44
- tls_validation: null,
45
37
  max_retries: null,
46
- name: null,
47
- ca_cert: null,
48
- proxy_password: null,
49
38
  connect_timeout: null,
50
- headers: null,
39
+ tls_validation: null,
40
+ username: null,
41
+ rate_limit: null,
42
+ client_key: null,
43
+ client_cert: null,
51
44
  sock_connect_timeout: null,
52
- url: null,
53
- proxy_username: null,
54
45
  download_concurrency: null,
46
+ pulp_labels: null,
47
+ proxy_password: null,
48
+ headers: null,
49
+ sock_read_timeout: null,
50
+ name: null,
51
+ url: null,
52
+ total_timeout: null,
53
+ ca_cert: null,
54
+ password: null,
55
55
  metadata_only: null,
56
56
  git_ref: null)
57
57
  ```
@@ -4,24 +4,24 @@
4
4
 
5
5
  Name | Type | Description | Notes
6
6
  ------------ | ------------- | ------------- | -------------
7
- **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
- **pulp_labels** | [**Object**](.md) | | [optional]
9
- **client_cert** | **String** | A PEM encoded client certificate used for authentication. | [optional]
10
- **pulp_href** | **String** | | [optional] [readonly]
11
- **rate_limit** | **Integer** | Limits requests per second for each concurrent downloader | [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
- **pulp_last_updated** | **DateTime** | Timestamp of the most recent update of the remote. | [optional] [readonly]
14
7
  **proxy_url** | **String** | The proxy URL. Format: scheme://host:port | [optional]
15
- **tls_validation** | **Boolean** | If True, TLS peer validation must be performed. | [optional]
16
8
  **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
- **name** | **String** | A unique name for this remote. |
18
- **ca_cert** | **String** | A PEM encoded CA certificate used to validate the server certificate presented by the remote server. | [optional]
9
+ **pulp_href** | **String** | | [optional] [readonly]
19
10
  **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]
20
- **headers** | **Array<Object>** | Headers for aiohttp.Clientsession | [optional]
11
+ **tls_validation** | **Boolean** | If True, TLS peer validation must be performed. | [optional]
12
+ **rate_limit** | **Integer** | Limits requests per second for each concurrent downloader | [optional]
13
+ **client_cert** | **String** | A PEM encoded client certificate used for authentication. | [optional]
21
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]
22
- **pulp_created** | **DateTime** | Timestamp of creation. | [optional] [readonly]
23
- **url** | **String** | The URL of an external content source. |
24
15
  **download_concurrency** | **Integer** | Total number of simultaneous connections. If not set then the default value will be used. | [optional]
16
+ **pulp_labels** | [**Object**](.md) | | [optional]
17
+ **headers** | **Array<Object>** | Headers for aiohttp.Clientsession | [optional]
18
+ **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]
19
+ **name** | **String** | A unique name for this remote. |
20
+ **pulp_last_updated** | **DateTime** | Timestamp of the most recent update of the remote. | [optional] [readonly]
21
+ **url** | **String** | The URL of an external content source. |
22
+ **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]
23
+ **pulp_created** | **DateTime** | Timestamp of creation. | [optional] [readonly]
24
+ **ca_cert** | **String** | A PEM encoded CA certificate used to validate the server certificate presented by the remote server. | [optional]
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
- pulp_labels: null,
35
- client_cert: null,
36
- pulp_href: null,
37
- rate_limit: null,
38
- total_timeout: null,
39
- pulp_last_updated: null,
40
- proxy_url: null,
41
- tls_validation: null,
33
+ instance = PulpAnsibleClient::AnsibleGitRemoteResponse.new(proxy_url: null,
42
34
  max_retries: null,
43
- name: null,
44
- ca_cert: null,
35
+ pulp_href: null,
45
36
  connect_timeout: null,
46
- headers: null,
37
+ tls_validation: null,
38
+ rate_limit: null,
39
+ client_cert: null,
47
40
  sock_connect_timeout: null,
48
- pulp_created: null,
49
- url: null,
50
41
  download_concurrency: null,
42
+ pulp_labels: null,
43
+ headers: null,
44
+ sock_read_timeout: null,
45
+ name: null,
46
+ pulp_last_updated: null,
47
+ url: null,
48
+ total_timeout: null,
49
+ pulp_created: null,
50
+ ca_cert: null,
51
51
  metadata_only: null,
52
52
  git_ref: null)
53
53
  ```
@@ -35,8 +35,8 @@ name = 'name_example' # String | The name of the collection.
35
35
  namespace = 'namespace_example' # String | The namespace of the collection.
36
36
  version = 'version_example' # String | The version of the collection.
37
37
  opts = {
38
- file: File.new('/path/to/file'), # File | An uploaded file that may be turned into the artifact of the content unit.
39
- repository: 'repository_example' # String | A URI of a repository the new content unit should be associated with.
38
+ repository: 'repository_example', # String | A URI of a repository the new content unit should be associated with.
39
+ file: File.new('/path/to/file') # File | An uploaded file that may be turned into the artifact of the content unit.
40
40
  }
41
41
 
42
42
  begin
@@ -56,8 +56,8 @@ Name | Type | Description | Notes
56
56
  **name** | **String**| The name of the collection. |
57
57
  **namespace** | **String**| The namespace of the collection. |
58
58
  **version** | **String**| The version of the collection. |
59
- **file** | **File**| An uploaded file that may be turned into the artifact of the content unit. | [optional]
60
59
  **repository** | **String**| A URI of a repository the new content unit should be associated with. | [optional]
60
+ **file** | **File**| An uploaded file that may be turned into the artifact of the content unit. | [optional]
61
61
 
62
62
  ### Return type
63
63
 
@@ -4,26 +4,26 @@
4
4
 
5
5
  Name | Type | Description | Notes
6
6
  ------------ | ------------- | ------------- | -------------
7
- **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
- **pulp_labels** | [**Object**](.md) | | [optional]
9
- **client_cert** | **String** | A PEM encoded client certificate used for authentication. | [optional]
10
- **rate_limit** | **Integer** | Limits requests per second for each concurrent downloader | [optional]
11
- **username** | **String** | The username to be used for authentication when syncing. | [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
- **password** | **String** | The password to be used for authentication when syncing. | [optional]
14
- **client_key** | **String** | A PEM encoded private key used for authentication. | [optional]
7
+ **proxy_username** | **String** | The username to authenticte to the proxy. | [optional]
15
8
  **proxy_url** | **String** | The proxy URL. Format: scheme://host:port | [optional]
16
- **tls_validation** | **Boolean** | If True, TLS peer validation must be performed. | [optional]
17
9
  **max_retries** | **Integer** | Maximum number of retry attempts after a download failure. If not set then the default value (3) will be used. | [optional]
18
- **name** | **String** | A unique name for this remote. | [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
10
  **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]
22
- **headers** | **Array<Object>** | Headers for aiohttp.Clientsession | [optional]
11
+ **tls_validation** | **Boolean** | If True, TLS peer validation must be performed. | [optional]
12
+ **username** | **String** | The username to be used for authentication when syncing. | [optional]
13
+ **rate_limit** | **Integer** | Limits requests per second for each concurrent downloader | [optional]
14
+ **client_key** | **String** | A PEM encoded private key used for authentication. | [optional]
15
+ **client_cert** | **String** | A PEM encoded client certificate used for authentication. | [optional]
23
16
  **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
- **url** | **String** | The URL of an external content source. | [optional]
25
- **proxy_username** | **String** | The username to authenticte to the proxy. | [optional]
26
17
  **download_concurrency** | **Integer** | Total number of simultaneous connections. If not set then the default value will be used. | [optional]
18
+ **pulp_labels** | [**Object**](.md) | | [optional]
19
+ **proxy_password** | **String** | The password to authenticte to the proxy. | [optional]
20
+ **headers** | **Array<Object>** | Headers for aiohttp.Clientsession | [optional]
21
+ **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]
22
+ **name** | **String** | A unique name for this remote. | [optional]
23
+ **url** | **String** | The URL of an external content source. | [optional]
24
+ **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]
25
+ **ca_cert** | **String** | A PEM encoded CA certificate used to validate the server certificate presented by the remote server. | [optional]
26
+ **password** | **String** | The password to be used for authentication when syncing. | [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]
29
29
 
@@ -32,26 +32,26 @@ Name | Type | Description | Notes
32
32
  ```ruby
33
33
  require 'PulpAnsibleClient'
34
34
 
35
- instance = PulpAnsibleClient::PatchedansibleGitRemote.new(sock_read_timeout: null,
36
- pulp_labels: null,
37
- client_cert: null,
38
- rate_limit: null,
39
- username: null,
40
- total_timeout: null,
41
- password: null,
42
- client_key: null,
35
+ instance = PulpAnsibleClient::PatchedansibleGitRemote.new(proxy_username: null,
43
36
  proxy_url: null,
44
- tls_validation: null,
45
37
  max_retries: null,
46
- name: null,
47
- ca_cert: null,
48
- proxy_password: null,
49
38
  connect_timeout: null,
50
- headers: null,
39
+ tls_validation: null,
40
+ username: null,
41
+ rate_limit: null,
42
+ client_key: null,
43
+ client_cert: null,
51
44
  sock_connect_timeout: null,
52
- url: null,
53
- proxy_username: null,
54
45
  download_concurrency: null,
46
+ pulp_labels: null,
47
+ proxy_password: null,
48
+ headers: null,
49
+ sock_read_timeout: null,
50
+ name: null,
51
+ url: null,
52
+ total_timeout: null,
53
+ ca_cert: null,
54
+ password: null,
55
55
  metadata_only: null,
56
56
  git_ref: null)
57
57
  ```
@@ -25,8 +25,8 @@ module PulpAnsibleClient
25
25
  # @param namespace [String] The namespace of the collection.
26
26
  # @param version [String] The version of the collection.
27
27
  # @param [Hash] opts the optional parameters
28
- # @option opts [File] :file An uploaded file that may be turned into the artifact of the content unit.
29
28
  # @option opts [String] :repository A URI of a repository the new content unit should be associated with.
29
+ # @option opts [File] :file An uploaded file that may be turned into the artifact of the content unit.
30
30
  # @return [AsyncOperationResponse]
31
31
  def create(name, namespace, version, opts = {})
32
32
  data, _status_code, _headers = create_with_http_info(name, namespace, version, opts)
@@ -39,8 +39,8 @@ module PulpAnsibleClient
39
39
  # @param namespace [String] The namespace of the collection.
40
40
  # @param version [String] The version of the collection.
41
41
  # @param [Hash] opts the optional parameters
42
- # @option opts [File] :file An uploaded file that may be turned into the artifact of the content unit.
43
42
  # @option opts [String] :repository A URI of a repository the new content unit should be associated with.
43
+ # @option opts [File] :file An uploaded file that may be turned into the artifact of the content unit.
44
44
  # @return [Array<(AsyncOperationResponse, Integer, Hash)>] AsyncOperationResponse data, response status code and response headers
45
45
  def create_with_http_info(name, namespace, version, opts = {})
46
46
  if @api_client.config.debugging
@@ -100,8 +100,8 @@ module PulpAnsibleClient
100
100
  form_params['name'] = name
101
101
  form_params['namespace'] = namespace
102
102
  form_params['version'] = version
103
- form_params['file'] = opts[:'file'] if !opts[:'file'].nil?
104
103
  form_params['repository'] = opts[:'repository'] if !opts[:'repository'].nil?
104
+ form_params['file'] = opts[:'file'] if !opts[:'file'].nil?
105
105
 
106
106
  # http body (model)
107
107
  post_body = opts[:body]
@@ -15,12 +15,12 @@ require 'date'
15
15
  module PulpAnsibleClient
16
16
  # A serializer for CollectionVersion Content.
17
17
  class AnsibleCollectionVersion
18
- # An uploaded file that may be turned into the artifact of the content unit.
19
- attr_accessor :file
20
-
21
18
  # A URI of a repository the new content unit should be associated with.
22
19
  attr_accessor :repository
23
20
 
21
+ # An uploaded file that may be turned into the artifact of the content unit.
22
+ attr_accessor :file
23
+
24
24
  # The name of the collection.
25
25
  attr_accessor :name
26
26
 
@@ -33,8 +33,8 @@ module PulpAnsibleClient
33
33
  # Attribute mapping from ruby-style variable name to JSON key.
34
34
  def self.attribute_map
35
35
  {
36
- :'file' => :'file',
37
36
  :'repository' => :'repository',
37
+ :'file' => :'file',
38
38
  :'name' => :'name',
39
39
  :'namespace' => :'namespace',
40
40
  :'version' => :'version'
@@ -44,8 +44,8 @@ module PulpAnsibleClient
44
44
  # Attribute type mapping.
45
45
  def self.openapi_types
46
46
  {
47
- :'file' => :'File',
48
47
  :'repository' => :'String',
48
+ :'file' => :'File',
49
49
  :'name' => :'String',
50
50
  :'namespace' => :'String',
51
51
  :'version' => :'String'
@@ -73,14 +73,14 @@ module PulpAnsibleClient
73
73
  h[k.to_sym] = v
74
74
  }
75
75
 
76
- if attributes.key?(:'file')
77
- self.file = attributes[:'file']
78
- end
79
-
80
76
  if attributes.key?(:'repository')
81
77
  self.repository = attributes[:'repository']
82
78
  end
83
79
 
80
+ if attributes.key?(:'file')
81
+ self.file = attributes[:'file']
82
+ end
83
+
84
84
  if attributes.key?(:'name')
85
85
  self.name = attributes[:'name']
86
86
  end
@@ -211,8 +211,8 @@ module PulpAnsibleClient
211
211
  def ==(o)
212
212
  return true if self.equal?(o)
213
213
  self.class == o.class &&
214
- file == o.file &&
215
214
  repository == o.repository &&
215
+ file == o.file &&
216
216
  name == o.name &&
217
217
  namespace == o.namespace &&
218
218
  version == o.version
@@ -227,7 +227,7 @@ module PulpAnsibleClient
227
227
  # Calculates hash code according to all attributes.
228
228
  # @return [Integer] Hash code
229
229
  def hash
230
- [file, repository, name, namespace, version].hash
230
+ [repository, file, name, namespace, version].hash
231
231
  end
232
232
 
233
233
  # Builds the object from hash