pulp_ansible_client 0.17.0 → 0.17.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (139) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +4 -4
  3. data/docs/AnsibleCollectionRemote.md +1 -1
  4. data/docs/AnsibleCollectionRemoteResponse.md +1 -1
  5. data/docs/AnsibleCollectionVersion.md +5 -5
  6. data/docs/AnsibleCollectionsApi.md +6 -2
  7. data/docs/AnsibleGitRemote.md +28 -28
  8. data/docs/AnsibleGitRemoteResponse.md +26 -26
  9. data/docs/AnsibleRoleRemote.md +1 -1
  10. data/docs/AnsibleRoleRemoteResponse.md +1 -1
  11. data/docs/CollectionRefResponse.md +1 -1
  12. data/docs/CollectionResponse.md +6 -6
  13. data/docs/CollectionVersionListResponse.md +2 -2
  14. data/docs/CollectionVersionResponse.md +5 -5
  15. data/docs/ContentCollectionDeprecationsApi.md +6 -2
  16. data/docs/ContentCollectionMarksApi.md +6 -2
  17. data/docs/ContentCollectionSignaturesApi.md +6 -2
  18. data/docs/ContentCollectionVersionsApi.md +10 -6
  19. data/docs/ContentNamespacesApi.md +6 -2
  20. data/docs/ContentRolesApi.md +6 -2
  21. data/docs/DistributionsAnsibleApi.md +6 -2
  22. data/docs/GalaxyCollectionResponse.md +4 -4
  23. data/docs/GalaxyCollectionVersionResponse.md +4 -4
  24. data/docs/GalaxyRoleResponse.md +1 -1
  25. data/docs/GalaxyRoleVersionResponse.md +1 -1
  26. data/docs/PatchedansibleCollectionRemote.md +1 -1
  27. data/docs/PatchedansibleGitRemote.md +28 -28
  28. data/docs/PatchedansibleRoleRemote.md +1 -1
  29. data/docs/PulpAnsibleApiV3CollectionsAllApi.md +6 -2
  30. data/docs/PulpAnsibleApiV3CollectionsApi.md +6 -2
  31. data/docs/PulpAnsibleApiV3CollectionsVersionsApi.md +6 -2
  32. data/docs/PulpAnsibleApiV3NamespacesApi.md +6 -2
  33. data/docs/PulpAnsibleApiV3PluginAnsibleContentCollectionsAllCollectionsApi.md +6 -2
  34. data/docs/PulpAnsibleApiV3PluginAnsibleContentCollectionsIndexApi.md +6 -2
  35. data/docs/PulpAnsibleApiV3PluginAnsibleContentCollectionsIndexVersionsApi.md +6 -2
  36. data/docs/PulpAnsibleApiV3PluginAnsibleContentNamespacesApi.md +6 -2
  37. data/docs/PulpAnsibleApiV3PluginAnsibleSearchCollectionVersionsApi.md +2 -2
  38. data/docs/PulpAnsibleDefaultApiV3CollectionsAllApi.md +6 -2
  39. data/docs/PulpAnsibleDefaultApiV3CollectionsApi.md +6 -2
  40. data/docs/PulpAnsibleDefaultApiV3CollectionsVersionsApi.md +6 -2
  41. data/docs/PulpAnsibleDefaultApiV3NamespacesApi.md +6 -2
  42. data/docs/PulpAnsibleDefaultApiV3PluginAnsibleContentCollectionsAllCollectionsApi.md +6 -2
  43. data/docs/PulpAnsibleDefaultApiV3PluginAnsibleContentCollectionsIndexApi.md +6 -2
  44. data/docs/PulpAnsibleDefaultApiV3PluginAnsibleContentCollectionsIndexVersionsApi.md +6 -2
  45. data/docs/PulpAnsibleDefaultApiV3PluginAnsibleContentNamespacesApi.md +6 -2
  46. data/docs/PulpAnsibleDefaultApiV3PluginAnsibleSearchCollectionVersionsApi.md +2 -2
  47. data/docs/RemotesCollectionApi.md +6 -2
  48. data/docs/RemotesGitApi.md +6 -2
  49. data/docs/RemotesRoleApi.md +6 -2
  50. data/docs/RepositoriesAnsibleApi.md +6 -2
  51. data/docs/RepositoriesAnsibleVersionsApi.md +4 -2
  52. data/docs/UnpaginatedCollectionVersionResponse.md +5 -5
  53. data/lib/pulp_ansible_client/api/ansible_collections_api.rb +8 -2
  54. data/lib/pulp_ansible_client/api/content_collection_deprecations_api.rb +8 -2
  55. data/lib/pulp_ansible_client/api/content_collection_marks_api.rb +8 -2
  56. data/lib/pulp_ansible_client/api/content_collection_signatures_api.rb +8 -2
  57. data/lib/pulp_ansible_client/api/content_collection_versions_api.rb +14 -8
  58. data/lib/pulp_ansible_client/api/content_namespaces_api.rb +8 -2
  59. data/lib/pulp_ansible_client/api/content_roles_api.rb +8 -2
  60. data/lib/pulp_ansible_client/api/distributions_ansible_api.rb +8 -2
  61. data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_collections_all_api.rb +8 -2
  62. data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_collections_api.rb +8 -2
  63. data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_collections_versions_api.rb +8 -2
  64. data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_namespaces_api.rb +8 -2
  65. data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_plugin_ansible_content_collections_all_collections_api.rb +8 -2
  66. data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_plugin_ansible_content_collections_index_api.rb +8 -2
  67. data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_plugin_ansible_content_collections_index_versions_api.rb +8 -2
  68. data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_plugin_ansible_content_namespaces_api.rb +8 -2
  69. data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_plugin_ansible_search_collection_versions_api.rb +2 -2
  70. data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_collections_all_api.rb +8 -2
  71. data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_collections_api.rb +8 -2
  72. data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_collections_versions_api.rb +8 -2
  73. data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_namespaces_api.rb +8 -2
  74. data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_all_collections_api.rb +8 -2
  75. data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_index_api.rb +8 -2
  76. data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_index_versions_api.rb +8 -2
  77. data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_plugin_ansible_content_namespaces_api.rb +8 -2
  78. data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_plugin_ansible_search_collection_versions_api.rb +2 -2
  79. data/lib/pulp_ansible_client/api/remotes_collection_api.rb +8 -2
  80. data/lib/pulp_ansible_client/api/remotes_git_api.rb +8 -2
  81. data/lib/pulp_ansible_client/api/remotes_role_api.rb +8 -2
  82. data/lib/pulp_ansible_client/api/repositories_ansible_api.rb +8 -2
  83. data/lib/pulp_ansible_client/api/repositories_ansible_versions_api.rb +5 -2
  84. data/lib/pulp_ansible_client/models/ansible_collection_remote.rb +1 -1
  85. data/lib/pulp_ansible_client/models/ansible_collection_remote_response.rb +1 -1
  86. data/lib/pulp_ansible_client/models/ansible_collection_version.rb +18 -18
  87. data/lib/pulp_ansible_client/models/ansible_git_remote.rb +220 -220
  88. data/lib/pulp_ansible_client/models/ansible_git_remote_response.rb +142 -142
  89. data/lib/pulp_ansible_client/models/ansible_role_remote.rb +1 -1
  90. data/lib/pulp_ansible_client/models/ansible_role_remote_response.rb +1 -1
  91. data/lib/pulp_ansible_client/models/collection_ref_response.rb +1 -0
  92. data/lib/pulp_ansible_client/models/collection_response.rb +6 -0
  93. data/lib/pulp_ansible_client/models/collection_version_list_response.rb +2 -0
  94. data/lib/pulp_ansible_client/models/collection_version_response.rb +5 -0
  95. data/lib/pulp_ansible_client/models/galaxy_collection_response.rb +4 -0
  96. data/lib/pulp_ansible_client/models/galaxy_collection_version_response.rb +4 -0
  97. data/lib/pulp_ansible_client/models/galaxy_role_response.rb +1 -0
  98. data/lib/pulp_ansible_client/models/galaxy_role_version_response.rb +1 -0
  99. data/lib/pulp_ansible_client/models/patchedansible_collection_remote.rb +1 -1
  100. data/lib/pulp_ansible_client/models/patchedansible_git_remote.rb +211 -211
  101. data/lib/pulp_ansible_client/models/patchedansible_role_remote.rb +1 -1
  102. data/lib/pulp_ansible_client/models/unpaginated_collection_version_response.rb +5 -0
  103. data/lib/pulp_ansible_client/version.rb +1 -1
  104. data/spec/api/ansible_collections_api_spec.rb +3 -1
  105. data/spec/api/content_collection_deprecations_api_spec.rb +3 -1
  106. data/spec/api/content_collection_marks_api_spec.rb +3 -1
  107. data/spec/api/content_collection_signatures_api_spec.rb +3 -1
  108. data/spec/api/content_collection_versions_api_spec.rb +5 -3
  109. data/spec/api/content_namespaces_api_spec.rb +3 -1
  110. data/spec/api/content_roles_api_spec.rb +3 -1
  111. data/spec/api/distributions_ansible_api_spec.rb +3 -1
  112. data/spec/api/pulp_ansible_api_v3_collections_all_api_spec.rb +3 -1
  113. data/spec/api/pulp_ansible_api_v3_collections_api_spec.rb +3 -1
  114. data/spec/api/pulp_ansible_api_v3_collections_versions_api_spec.rb +3 -1
  115. data/spec/api/pulp_ansible_api_v3_namespaces_api_spec.rb +3 -1
  116. data/spec/api/pulp_ansible_api_v3_plugin_ansible_content_collections_all_collections_api_spec.rb +3 -1
  117. data/spec/api/pulp_ansible_api_v3_plugin_ansible_content_collections_index_api_spec.rb +3 -1
  118. data/spec/api/pulp_ansible_api_v3_plugin_ansible_content_collections_index_versions_api_spec.rb +3 -1
  119. data/spec/api/pulp_ansible_api_v3_plugin_ansible_content_namespaces_api_spec.rb +3 -1
  120. data/spec/api/pulp_ansible_api_v3_plugin_ansible_search_collection_versions_api_spec.rb +1 -1
  121. data/spec/api/pulp_ansible_default_api_v3_collections_all_api_spec.rb +3 -1
  122. data/spec/api/pulp_ansible_default_api_v3_collections_api_spec.rb +3 -1
  123. data/spec/api/pulp_ansible_default_api_v3_collections_versions_api_spec.rb +3 -1
  124. data/spec/api/pulp_ansible_default_api_v3_namespaces_api_spec.rb +3 -1
  125. data/spec/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_all_collections_api_spec.rb +3 -1
  126. data/spec/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_index_api_spec.rb +3 -1
  127. data/spec/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_index_versions_api_spec.rb +3 -1
  128. data/spec/api/pulp_ansible_default_api_v3_plugin_ansible_content_namespaces_api_spec.rb +3 -1
  129. data/spec/api/pulp_ansible_default_api_v3_plugin_ansible_search_collection_versions_api_spec.rb +1 -1
  130. data/spec/api/remotes_collection_api_spec.rb +3 -1
  131. data/spec/api/remotes_git_api_spec.rb +3 -1
  132. data/spec/api/remotes_role_api_spec.rb +3 -1
  133. data/spec/api/repositories_ansible_api_spec.rb +3 -1
  134. data/spec/api/repositories_ansible_versions_api_spec.rb +2 -1
  135. data/spec/models/ansible_collection_version_spec.rb +3 -3
  136. data/spec/models/ansible_git_remote_response_spec.rb +16 -16
  137. data/spec/models/ansible_git_remote_spec.rb +20 -20
  138. data/spec/models/patchedansible_git_remote_spec.rb +20 -20
  139. metadata +130 -130
@@ -15,60 +15,60 @@ require 'date'
15
15
  module PulpAnsibleClient
16
16
  # A serializer for Git Collection Remotes.
17
17
  class AnsibleGitRemoteResponse
18
- attr_accessor :pulp_href
18
+ # A PEM encoded CA certificate used to validate the server certificate presented by the remote server.
19
+ attr_accessor :ca_cert
19
20
 
20
- # 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.
21
- attr_accessor :sock_read_timeout
21
+ # A PEM encoded client certificate used for authentication.
22
+ attr_accessor :client_cert
23
+
24
+ # aiohttp.ClientTimeout.connect (q.v.) for download-connections. The default is null, which will cause the default from the aiohttp library to be used.
25
+ attr_accessor :connect_timeout
22
26
 
23
27
  # List of hidden (write only) fields
24
28
  attr_accessor :hidden_fields
25
29
 
26
- # Timestamp of creation.
27
- attr_accessor :pulp_created
28
-
29
- # If True, TLS peer validation must be performed.
30
- attr_accessor :tls_validation
30
+ # The URL of an external content source.
31
+ attr_accessor :url
31
32
 
32
- # Timestamp of the most recent update of the remote.
33
- attr_accessor :pulp_last_updated
33
+ attr_accessor :pulp_href
34
34
 
35
35
  # A unique name for this remote.
36
36
  attr_accessor :name
37
37
 
38
- # A PEM encoded client certificate used for authentication.
39
- attr_accessor :client_cert
40
-
41
38
  # The proxy URL. Format: scheme://host:port
42
39
  attr_accessor :proxy_url
43
40
 
44
- # The URL of an external content source.
45
- attr_accessor :url
46
-
47
41
  # Maximum number of retry attempts after a download failure. If not set then the default value (3) will be used.
48
42
  attr_accessor :max_retries
49
43
 
50
- attr_accessor :pulp_labels
44
+ # 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.
45
+ attr_accessor :sock_read_timeout
51
46
 
52
- # aiohttp.ClientTimeout.total (q.v.) for download-connections. The default is null, which will cause the default from the aiohttp library to be used.
53
- attr_accessor :total_timeout
47
+ # 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.
48
+ attr_accessor :sock_connect_timeout
49
+
50
+ # Timestamp of the most recent update of the remote.
51
+ attr_accessor :pulp_last_updated
52
+
53
+ # Limits requests per second for each concurrent downloader
54
+ attr_accessor :rate_limit
54
55
 
55
56
  # Headers for aiohttp.Clientsession
56
57
  attr_accessor :headers
57
58
 
58
- # 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.
59
- attr_accessor :sock_connect_timeout
59
+ # Timestamp of creation.
60
+ attr_accessor :pulp_created
60
61
 
61
- # aiohttp.ClientTimeout.connect (q.v.) for download-connections. The default is null, which will cause the default from the aiohttp library to be used.
62
- attr_accessor :connect_timeout
62
+ attr_accessor :pulp_labels
63
63
 
64
64
  # Total number of simultaneous connections. If not set then the default value will be used.
65
65
  attr_accessor :download_concurrency
66
66
 
67
- # Limits requests per second for each concurrent downloader
68
- attr_accessor :rate_limit
67
+ # If True, TLS peer validation must be performed.
68
+ attr_accessor :tls_validation
69
69
 
70
- # A PEM encoded CA certificate used to validate the server certificate presented by the remote server.
71
- attr_accessor :ca_cert
70
+ # aiohttp.ClientTimeout.total (q.v.) for download-connections. The default is null, which will cause the default from the aiohttp library to be used.
71
+ attr_accessor :total_timeout
72
72
 
73
73
  # If True, only metadata about the content will be stored in Pulp. Clients will retrieve content from the remote URL.
74
74
  attr_accessor :metadata_only
@@ -79,25 +79,25 @@ module PulpAnsibleClient
79
79
  # Attribute mapping from ruby-style variable name to JSON key.
80
80
  def self.attribute_map
81
81
  {
82
- :'pulp_href' => :'pulp_href',
83
- :'sock_read_timeout' => :'sock_read_timeout',
82
+ :'ca_cert' => :'ca_cert',
83
+ :'client_cert' => :'client_cert',
84
+ :'connect_timeout' => :'connect_timeout',
84
85
  :'hidden_fields' => :'hidden_fields',
85
- :'pulp_created' => :'pulp_created',
86
- :'tls_validation' => :'tls_validation',
87
- :'pulp_last_updated' => :'pulp_last_updated',
86
+ :'url' => :'url',
87
+ :'pulp_href' => :'pulp_href',
88
88
  :'name' => :'name',
89
- :'client_cert' => :'client_cert',
90
89
  :'proxy_url' => :'proxy_url',
91
- :'url' => :'url',
92
90
  :'max_retries' => :'max_retries',
93
- :'pulp_labels' => :'pulp_labels',
94
- :'total_timeout' => :'total_timeout',
95
- :'headers' => :'headers',
91
+ :'sock_read_timeout' => :'sock_read_timeout',
96
92
  :'sock_connect_timeout' => :'sock_connect_timeout',
97
- :'connect_timeout' => :'connect_timeout',
98
- :'download_concurrency' => :'download_concurrency',
93
+ :'pulp_last_updated' => :'pulp_last_updated',
99
94
  :'rate_limit' => :'rate_limit',
100
- :'ca_cert' => :'ca_cert',
95
+ :'headers' => :'headers',
96
+ :'pulp_created' => :'pulp_created',
97
+ :'pulp_labels' => :'pulp_labels',
98
+ :'download_concurrency' => :'download_concurrency',
99
+ :'tls_validation' => :'tls_validation',
100
+ :'total_timeout' => :'total_timeout',
101
101
  :'metadata_only' => :'metadata_only',
102
102
  :'git_ref' => :'git_ref'
103
103
  }
@@ -106,25 +106,25 @@ module PulpAnsibleClient
106
106
  # Attribute type mapping.
107
107
  def self.openapi_types
108
108
  {
109
- :'pulp_href' => :'String',
110
- :'sock_read_timeout' => :'Float',
109
+ :'ca_cert' => :'String',
110
+ :'client_cert' => :'String',
111
+ :'connect_timeout' => :'Float',
111
112
  :'hidden_fields' => :'Array<AnsibleCollectionRemoteResponseHiddenFields>',
112
- :'pulp_created' => :'DateTime',
113
- :'tls_validation' => :'Boolean',
114
- :'pulp_last_updated' => :'DateTime',
113
+ :'url' => :'String',
114
+ :'pulp_href' => :'String',
115
115
  :'name' => :'String',
116
- :'client_cert' => :'String',
117
116
  :'proxy_url' => :'String',
118
- :'url' => :'String',
119
117
  :'max_retries' => :'Integer',
120
- :'pulp_labels' => :'Hash<String, String>',
121
- :'total_timeout' => :'Float',
122
- :'headers' => :'Array<Object>',
118
+ :'sock_read_timeout' => :'Float',
123
119
  :'sock_connect_timeout' => :'Float',
124
- :'connect_timeout' => :'Float',
125
- :'download_concurrency' => :'Integer',
120
+ :'pulp_last_updated' => :'DateTime',
126
121
  :'rate_limit' => :'Integer',
127
- :'ca_cert' => :'String',
122
+ :'headers' => :'Array<Object>',
123
+ :'pulp_created' => :'DateTime',
124
+ :'pulp_labels' => :'Hash<String, String>',
125
+ :'download_concurrency' => :'Integer',
126
+ :'tls_validation' => :'Boolean',
127
+ :'total_timeout' => :'Float',
128
128
  :'metadata_only' => :'Boolean',
129
129
  :'git_ref' => :'String'
130
130
  }
@@ -133,16 +133,16 @@ module PulpAnsibleClient
133
133
  # List of attributes with nullable: true
134
134
  def self.openapi_nullable
135
135
  Set.new([
136
- :'sock_read_timeout',
136
+ :'ca_cert',
137
137
  :'client_cert',
138
+ :'connect_timeout',
138
139
  :'proxy_url',
139
140
  :'max_retries',
140
- :'total_timeout',
141
+ :'sock_read_timeout',
141
142
  :'sock_connect_timeout',
142
- :'connect_timeout',
143
- :'download_concurrency',
144
143
  :'rate_limit',
145
- :'ca_cert',
144
+ :'download_concurrency',
145
+ :'total_timeout',
146
146
  ])
147
147
  end
148
148
 
@@ -161,12 +161,16 @@ module PulpAnsibleClient
161
161
  h[k.to_sym] = v
162
162
  }
163
163
 
164
- if attributes.key?(:'pulp_href')
165
- self.pulp_href = attributes[:'pulp_href']
164
+ if attributes.key?(:'ca_cert')
165
+ self.ca_cert = attributes[:'ca_cert']
166
166
  end
167
167
 
168
- if attributes.key?(:'sock_read_timeout')
169
- self.sock_read_timeout = attributes[:'sock_read_timeout']
168
+ if attributes.key?(:'client_cert')
169
+ self.client_cert = attributes[:'client_cert']
170
+ end
171
+
172
+ if attributes.key?(:'connect_timeout')
173
+ self.connect_timeout = attributes[:'connect_timeout']
170
174
  end
171
175
 
172
176
  if attributes.key?(:'hidden_fields')
@@ -175,46 +179,40 @@ module PulpAnsibleClient
175
179
  end
176
180
  end
177
181
 
178
- if attributes.key?(:'pulp_created')
179
- self.pulp_created = attributes[:'pulp_created']
180
- end
181
-
182
- if attributes.key?(:'tls_validation')
183
- self.tls_validation = attributes[:'tls_validation']
182
+ if attributes.key?(:'url')
183
+ self.url = attributes[:'url']
184
184
  end
185
185
 
186
- if attributes.key?(:'pulp_last_updated')
187
- self.pulp_last_updated = attributes[:'pulp_last_updated']
186
+ if attributes.key?(:'pulp_href')
187
+ self.pulp_href = attributes[:'pulp_href']
188
188
  end
189
189
 
190
190
  if attributes.key?(:'name')
191
191
  self.name = attributes[:'name']
192
192
  end
193
193
 
194
- if attributes.key?(:'client_cert')
195
- self.client_cert = attributes[:'client_cert']
196
- end
197
-
198
194
  if attributes.key?(:'proxy_url')
199
195
  self.proxy_url = attributes[:'proxy_url']
200
196
  end
201
197
 
202
- if attributes.key?(:'url')
203
- self.url = attributes[:'url']
204
- end
205
-
206
198
  if attributes.key?(:'max_retries')
207
199
  self.max_retries = attributes[:'max_retries']
208
200
  end
209
201
 
210
- if attributes.key?(:'pulp_labels')
211
- if (value = attributes[:'pulp_labels']).is_a?(Hash)
212
- self.pulp_labels = value
213
- end
202
+ if attributes.key?(:'sock_read_timeout')
203
+ self.sock_read_timeout = attributes[:'sock_read_timeout']
214
204
  end
215
205
 
216
- if attributes.key?(:'total_timeout')
217
- self.total_timeout = attributes[:'total_timeout']
206
+ if attributes.key?(:'sock_connect_timeout')
207
+ self.sock_connect_timeout = attributes[:'sock_connect_timeout']
208
+ end
209
+
210
+ if attributes.key?(:'pulp_last_updated')
211
+ self.pulp_last_updated = attributes[:'pulp_last_updated']
212
+ end
213
+
214
+ if attributes.key?(:'rate_limit')
215
+ self.rate_limit = attributes[:'rate_limit']
218
216
  end
219
217
 
220
218
  if attributes.key?(:'headers')
@@ -223,24 +221,26 @@ module PulpAnsibleClient
223
221
  end
224
222
  end
225
223
 
226
- if attributes.key?(:'sock_connect_timeout')
227
- self.sock_connect_timeout = attributes[:'sock_connect_timeout']
224
+ if attributes.key?(:'pulp_created')
225
+ self.pulp_created = attributes[:'pulp_created']
228
226
  end
229
227
 
230
- if attributes.key?(:'connect_timeout')
231
- self.connect_timeout = attributes[:'connect_timeout']
228
+ if attributes.key?(:'pulp_labels')
229
+ if (value = attributes[:'pulp_labels']).is_a?(Hash)
230
+ self.pulp_labels = value
231
+ end
232
232
  end
233
233
 
234
234
  if attributes.key?(:'download_concurrency')
235
235
  self.download_concurrency = attributes[:'download_concurrency']
236
236
  end
237
237
 
238
- if attributes.key?(:'rate_limit')
239
- self.rate_limit = attributes[:'rate_limit']
238
+ if attributes.key?(:'tls_validation')
239
+ self.tls_validation = attributes[:'tls_validation']
240
240
  end
241
241
 
242
- if attributes.key?(:'ca_cert')
243
- self.ca_cert = attributes[:'ca_cert']
242
+ if attributes.key?(:'total_timeout')
243
+ self.total_timeout = attributes[:'total_timeout']
244
244
  end
245
245
 
246
246
  if attributes.key?(:'metadata_only')
@@ -256,68 +256,68 @@ module PulpAnsibleClient
256
256
  # @return Array for valid properties with the reasons
257
257
  def list_invalid_properties
258
258
  invalid_properties = Array.new
259
- if !@sock_read_timeout.nil? && @sock_read_timeout < 0.0
260
- invalid_properties.push('invalid value for "sock_read_timeout", must be greater than or equal to 0.0.')
261
- end
262
-
263
- if @name.nil?
264
- invalid_properties.push('invalid value for "name", name cannot be nil.')
259
+ if !@connect_timeout.nil? && @connect_timeout < 0.0
260
+ invalid_properties.push('invalid value for "connect_timeout", must be greater than or equal to 0.0.')
265
261
  end
266
262
 
267
263
  if @url.nil?
268
264
  invalid_properties.push('invalid value for "url", url cannot be nil.')
269
265
  end
270
266
 
271
- if !@total_timeout.nil? && @total_timeout < 0.0
272
- invalid_properties.push('invalid value for "total_timeout", must be greater than or equal to 0.0.')
267
+ if @name.nil?
268
+ invalid_properties.push('invalid value for "name", name cannot be nil.')
273
269
  end
274
270
 
275
- if !@sock_connect_timeout.nil? && @sock_connect_timeout < 0.0
276
- invalid_properties.push('invalid value for "sock_connect_timeout", must be greater than or equal to 0.0.')
271
+ if !@sock_read_timeout.nil? && @sock_read_timeout < 0.0
272
+ invalid_properties.push('invalid value for "sock_read_timeout", must be greater than or equal to 0.0.')
277
273
  end
278
274
 
279
- if !@connect_timeout.nil? && @connect_timeout < 0.0
280
- invalid_properties.push('invalid value for "connect_timeout", must be greater than or equal to 0.0.')
275
+ if !@sock_connect_timeout.nil? && @sock_connect_timeout < 0.0
276
+ invalid_properties.push('invalid value for "sock_connect_timeout", must be greater than or equal to 0.0.')
281
277
  end
282
278
 
283
279
  if !@download_concurrency.nil? && @download_concurrency < 1
284
280
  invalid_properties.push('invalid value for "download_concurrency", must be greater than or equal to 1.')
285
281
  end
286
282
 
283
+ if !@total_timeout.nil? && @total_timeout < 0.0
284
+ invalid_properties.push('invalid value for "total_timeout", must be greater than or equal to 0.0.')
285
+ end
286
+
287
287
  invalid_properties
288
288
  end
289
289
 
290
290
  # Check to see if the all the properties in the model are valid
291
291
  # @return true if the model is valid
292
292
  def valid?
293
- return false if !@sock_read_timeout.nil? && @sock_read_timeout < 0.0
294
- return false if @name.nil?
293
+ return false if !@connect_timeout.nil? && @connect_timeout < 0.0
295
294
  return false if @url.nil?
296
- return false if !@total_timeout.nil? && @total_timeout < 0.0
295
+ return false if @name.nil?
296
+ return false if !@sock_read_timeout.nil? && @sock_read_timeout < 0.0
297
297
  return false if !@sock_connect_timeout.nil? && @sock_connect_timeout < 0.0
298
- return false if !@connect_timeout.nil? && @connect_timeout < 0.0
299
298
  return false if !@download_concurrency.nil? && @download_concurrency < 1
299
+ return false if !@total_timeout.nil? && @total_timeout < 0.0
300
300
  true
301
301
  end
302
302
 
303
303
  # Custom attribute writer method with validation
304
- # @param [Object] sock_read_timeout Value to be assigned
305
- def sock_read_timeout=(sock_read_timeout)
306
- if !sock_read_timeout.nil? && sock_read_timeout < 0.0
307
- fail ArgumentError, 'invalid value for "sock_read_timeout", must be greater than or equal to 0.0.'
304
+ # @param [Object] connect_timeout Value to be assigned
305
+ def connect_timeout=(connect_timeout)
306
+ if !connect_timeout.nil? && connect_timeout < 0.0
307
+ fail ArgumentError, 'invalid value for "connect_timeout", must be greater than or equal to 0.0.'
308
308
  end
309
309
 
310
- @sock_read_timeout = sock_read_timeout
310
+ @connect_timeout = connect_timeout
311
311
  end
312
312
 
313
313
  # Custom attribute writer method with validation
314
- # @param [Object] total_timeout Value to be assigned
315
- def total_timeout=(total_timeout)
316
- if !total_timeout.nil? && total_timeout < 0.0
317
- fail ArgumentError, 'invalid value for "total_timeout", must be greater than or equal to 0.0.'
314
+ # @param [Object] sock_read_timeout Value to be assigned
315
+ def sock_read_timeout=(sock_read_timeout)
316
+ if !sock_read_timeout.nil? && sock_read_timeout < 0.0
317
+ fail ArgumentError, 'invalid value for "sock_read_timeout", must be greater than or equal to 0.0.'
318
318
  end
319
319
 
320
- @total_timeout = total_timeout
320
+ @sock_read_timeout = sock_read_timeout
321
321
  end
322
322
 
323
323
  # Custom attribute writer method with validation
@@ -330,16 +330,6 @@ module PulpAnsibleClient
330
330
  @sock_connect_timeout = sock_connect_timeout
331
331
  end
332
332
 
333
- # Custom attribute writer method with validation
334
- # @param [Object] connect_timeout Value to be assigned
335
- def connect_timeout=(connect_timeout)
336
- if !connect_timeout.nil? && connect_timeout < 0.0
337
- fail ArgumentError, 'invalid value for "connect_timeout", must be greater than or equal to 0.0.'
338
- end
339
-
340
- @connect_timeout = connect_timeout
341
- end
342
-
343
333
  # Custom attribute writer method with validation
344
334
  # @param [Object] download_concurrency Value to be assigned
345
335
  def download_concurrency=(download_concurrency)
@@ -350,30 +340,40 @@ module PulpAnsibleClient
350
340
  @download_concurrency = download_concurrency
351
341
  end
352
342
 
343
+ # Custom attribute writer method with validation
344
+ # @param [Object] total_timeout Value to be assigned
345
+ def total_timeout=(total_timeout)
346
+ if !total_timeout.nil? && total_timeout < 0.0
347
+ fail ArgumentError, 'invalid value for "total_timeout", must be greater than or equal to 0.0.'
348
+ end
349
+
350
+ @total_timeout = total_timeout
351
+ end
352
+
353
353
  # Checks equality by comparing each attribute.
354
354
  # @param [Object] Object to be compared
355
355
  def ==(o)
356
356
  return true if self.equal?(o)
357
357
  self.class == o.class &&
358
- pulp_href == o.pulp_href &&
359
- sock_read_timeout == o.sock_read_timeout &&
358
+ ca_cert == o.ca_cert &&
359
+ client_cert == o.client_cert &&
360
+ connect_timeout == o.connect_timeout &&
360
361
  hidden_fields == o.hidden_fields &&
361
- pulp_created == o.pulp_created &&
362
- tls_validation == o.tls_validation &&
363
- pulp_last_updated == o.pulp_last_updated &&
362
+ url == o.url &&
363
+ pulp_href == o.pulp_href &&
364
364
  name == o.name &&
365
- client_cert == o.client_cert &&
366
365
  proxy_url == o.proxy_url &&
367
- url == o.url &&
368
366
  max_retries == o.max_retries &&
369
- pulp_labels == o.pulp_labels &&
370
- total_timeout == o.total_timeout &&
371
- headers == o.headers &&
367
+ sock_read_timeout == o.sock_read_timeout &&
372
368
  sock_connect_timeout == o.sock_connect_timeout &&
373
- connect_timeout == o.connect_timeout &&
374
- download_concurrency == o.download_concurrency &&
369
+ pulp_last_updated == o.pulp_last_updated &&
375
370
  rate_limit == o.rate_limit &&
376
- ca_cert == o.ca_cert &&
371
+ headers == o.headers &&
372
+ pulp_created == o.pulp_created &&
373
+ pulp_labels == o.pulp_labels &&
374
+ download_concurrency == o.download_concurrency &&
375
+ tls_validation == o.tls_validation &&
376
+ total_timeout == o.total_timeout &&
377
377
  metadata_only == o.metadata_only &&
378
378
  git_ref == o.git_ref
379
379
  end
@@ -387,7 +387,7 @@ module PulpAnsibleClient
387
387
  # Calculates hash code according to all attributes.
388
388
  # @return [Integer] Hash code
389
389
  def hash
390
- [pulp_href, sock_read_timeout, hidden_fields, pulp_created, tls_validation, pulp_last_updated, name, client_cert, proxy_url, url, max_retries, pulp_labels, total_timeout, headers, sock_connect_timeout, connect_timeout, download_concurrency, rate_limit, ca_cert, metadata_only, git_ref].hash
390
+ [ca_cert, client_cert, connect_timeout, hidden_fields, url, pulp_href, name, proxy_url, max_retries, sock_read_timeout, sock_connect_timeout, pulp_last_updated, rate_limit, headers, pulp_created, pulp_labels, download_concurrency, tls_validation, total_timeout, metadata_only, git_ref].hash
391
391
  end
392
392
 
393
393
  # Builds the object from hash
@@ -56,7 +56,7 @@ module PulpAnsibleClient
56
56
  # Maximum number of retry attempts after a download failure. If not set then the default value (3) will be used.
57
57
  attr_accessor :max_retries
58
58
 
59
- # The policy to use when downloading content.
59
+ # The policy to use when downloading content. * `immediate` - immediate * `When syncing, download all metadata and content now.` - When syncing, download all metadata and content now.
60
60
  attr_accessor :policy
61
61
 
62
62
  # aiohttp.ClientTimeout.total (q.v.) for download-connections. The default is null, which will cause the default from the aiohttp library to be used.
@@ -49,7 +49,7 @@ module PulpAnsibleClient
49
49
  # Maximum number of retry attempts after a download failure. If not set then the default value (3) will be used.
50
50
  attr_accessor :max_retries
51
51
 
52
- # The policy to use when downloading content.
52
+ # The policy to use when downloading content. * `immediate` - immediate * `When syncing, download all metadata and content now.` - When syncing, download all metadata and content now.
53
53
  attr_accessor :policy
54
54
 
55
55
  # aiohttp.ClientTimeout.total (q.v.) for download-connections. The default is null, which will cause the default from the aiohttp library to be used.
@@ -19,6 +19,7 @@ module PulpAnsibleClient
19
19
 
20
20
  attr_accessor :name
21
21
 
22
+ # Returns link to a collection.
22
23
  attr_accessor :href
23
24
 
24
25
  # Attribute mapping from ruby-style variable name to JSON key.
@@ -15,20 +15,26 @@ require 'date'
15
15
  module PulpAnsibleClient
16
16
  # A serializer for a Collection.
17
17
  class CollectionResponse
18
+ # Get href.
18
19
  attr_accessor :href
19
20
 
20
21
  attr_accessor :namespace
21
22
 
22
23
  attr_accessor :name
23
24
 
25
+ # Get deprecated.
24
26
  attr_accessor :deprecated
25
27
 
28
+ # Get a link to a collection versions list.
26
29
  attr_accessor :versions_url
27
30
 
31
+ # Get a highest version and its link.
28
32
  attr_accessor :highest_version
29
33
 
34
+ # Get the timestamp of the lowest version CollectionVersion's created timestamp.
30
35
  attr_accessor :created_at
31
36
 
37
+ # Get the timestamp of the highest version CollectionVersion's created timestamp.
32
38
  attr_accessor :updated_at
33
39
 
34
40
  # Attribute mapping from ruby-style variable name to JSON key.
@@ -17,6 +17,7 @@ module PulpAnsibleClient
17
17
  class CollectionVersionListResponse
18
18
  attr_accessor :version
19
19
 
20
+ # Get href.
20
21
  attr_accessor :href
21
22
 
22
23
  attr_accessor :created_at
@@ -25,6 +26,7 @@ module PulpAnsibleClient
25
26
 
26
27
  attr_accessor :requires_ansible
27
28
 
29
+ # Get a list of mark values filtering only those in the current repo.
28
30
  attr_accessor :marks
29
31
 
30
32
  # Attribute mapping from ruby-style variable name to JSON key.
@@ -17,6 +17,7 @@ module PulpAnsibleClient
17
17
  class CollectionVersionResponse
18
18
  attr_accessor :version
19
19
 
20
+ # Get href.
20
21
  attr_accessor :href
21
22
 
22
23
  attr_accessor :created_at
@@ -25,12 +26,14 @@ module PulpAnsibleClient
25
26
 
26
27
  attr_accessor :requires_ansible
27
28
 
29
+ # Get a list of mark values filtering only those in the current repo.
28
30
  attr_accessor :marks
29
31
 
30
32
  attr_accessor :artifact
31
33
 
32
34
  attr_accessor :collection
33
35
 
36
+ # Get artifact download URL.
34
37
  attr_accessor :download_url
35
38
 
36
39
  attr_accessor :name
@@ -41,8 +44,10 @@ module PulpAnsibleClient
41
44
 
42
45
  attr_accessor :metadata
43
46
 
47
+ # Get the git URL.
44
48
  attr_accessor :git_url
45
49
 
50
+ # Get the git commit sha.
46
51
  attr_accessor :git_commit_sha
47
52
 
48
53
  # A JSON field holding MANIFEST.json data.
@@ -19,16 +19,20 @@ module PulpAnsibleClient
19
19
 
20
20
  attr_accessor :name
21
21
 
22
+ # Create a namespace dict.
22
23
  attr_accessor :namespace
23
24
 
25
+ # Get href.
24
26
  attr_accessor :href
25
27
 
28
+ # Get versions_url.
26
29
  attr_accessor :versions_url
27
30
 
28
31
  attr_accessor :created
29
32
 
30
33
  attr_accessor :modified
31
34
 
35
+ # Get latest version.
32
36
  attr_accessor :latest_version
33
37
 
34
38
  # Attribute mapping from ruby-style variable name to JSON key.
@@ -17,12 +17,16 @@ module PulpAnsibleClient
17
17
  class GalaxyCollectionVersionResponse
18
18
  attr_accessor :version
19
19
 
20
+ # Get href.
20
21
  attr_accessor :href
21
22
 
23
+ # Create a namespace dict.
22
24
  attr_accessor :namespace
23
25
 
26
+ # Create a collection dict.
24
27
  attr_accessor :collection
25
28
 
29
+ # Create an artifact dict.
26
30
  attr_accessor :artifact
27
31
 
28
32
  attr_accessor :metadata
@@ -15,6 +15,7 @@ require 'date'
15
15
  module PulpAnsibleClient
16
16
  # A serializer for Galaxy's representation of Roles.
17
17
  class GalaxyRoleResponse
18
+ # Get id.
18
19
  attr_accessor :id
19
20
 
20
21
  attr_accessor :name
@@ -17,6 +17,7 @@ module PulpAnsibleClient
17
17
  class GalaxyRoleVersionResponse
18
18
  attr_accessor :name
19
19
 
20
+ # Get source.
20
21
  attr_accessor :source
21
22
 
22
23
  # Attribute mapping from ruby-style variable name to JSON key.
@@ -56,7 +56,7 @@ module PulpAnsibleClient
56
56
  # Maximum number of retry attempts after a download failure. If not set then the default value (3) will be used.
57
57
  attr_accessor :max_retries
58
58
 
59
- # The policy to use when downloading content.
59
+ # The policy to use when downloading content. * `immediate` - immediate * `When syncing, download all metadata and content now.` - When syncing, download all metadata and content now.
60
60
  attr_accessor :policy
61
61
 
62
62
  # aiohttp.ClientTimeout.total (q.v.) for download-connections. The default is null, which will cause the default from the aiohttp library to be used.