pulp_container_client 2.0.0b3 → 2.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (156) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +69 -57
  3. data/docs/{ContainerBlob.md → ContainerBlobResponse.md} +2 -2
  4. data/docs/ContainerContainerDistribution.md +6 -12
  5. data/docs/ContainerContainerDistributionResponse.md +31 -0
  6. data/docs/ContainerContainerPushRepository.md +4 -10
  7. data/docs/ContainerContainerPushRepositoryResponse.md +29 -0
  8. data/docs/ContainerContainerRemote.md +8 -12
  9. data/docs/ContainerContainerRemoteResponse.md +49 -0
  10. data/docs/ContainerContainerRepository.md +4 -10
  11. data/docs/ContainerContainerRepositoryResponse.md +29 -0
  12. data/docs/ContainerContentRedirectContentGuard.md +1 -5
  13. data/docs/ContainerContentRedirectContentGuardResponse.md +23 -0
  14. data/docs/{ContainerManifest.md → ContainerManifestResponse.md} +2 -2
  15. data/docs/{ContainerTag.md → ContainerTagResponse.md} +2 -4
  16. data/docs/ContentBlobsApi.md +24 -24
  17. data/docs/ContentManifestsApi.md +24 -24
  18. data/docs/ContentSummary.md +3 -3
  19. data/docs/ContentSummaryResponse.md +21 -0
  20. data/docs/ContentTagsApi.md +26 -26
  21. data/docs/ContentguardsContentRedirectApi.md +55 -55
  22. data/docs/DistributionsContainerApi.md +108 -60
  23. data/docs/InlineResponse200.md +3 -3
  24. data/docs/InlineResponse2001.md +3 -3
  25. data/docs/InlineResponse2002.md +3 -3
  26. data/docs/InlineResponse2003.md +3 -3
  27. data/docs/InlineResponse2004.md +3 -3
  28. data/docs/InlineResponse2005.md +3 -3
  29. data/docs/InlineResponse2006.md +3 -3
  30. data/docs/InlineResponse2007.md +3 -3
  31. data/docs/InlineResponse2008.md +3 -3
  32. data/docs/ManifestCopy.md +1 -1
  33. data/docs/OCIBuildImage.md +23 -0
  34. data/docs/PatchedcontainerContainerDistribution.md +25 -0
  35. data/docs/PatchedcontainerContainerRemote.md +43 -0
  36. data/docs/PatchedcontainerContainerRepository.md +21 -0
  37. data/docs/PatchedcontainerContentRedirectContentGuard.md +19 -0
  38. data/docs/PolicyEnum.md +16 -0
  39. data/docs/RecursiveManage.md +1 -1
  40. data/docs/RemotesContainerApi.md +125 -65
  41. data/docs/RepositoriesContainerApi.md +158 -134
  42. data/docs/RepositoriesContainerPushApi.md +44 -148
  43. data/docs/RepositoriesContainerVersionsApi.md +190 -126
  44. data/docs/RepositorySyncURL.md +1 -1
  45. data/docs/RepositoryVersion.md +1 -9
  46. data/docs/RepositoryVersionResponse.md +25 -0
  47. data/docs/TagCopy.md +1 -1
  48. data/docs/TokenApi.md +8 -16
  49. data/lib/pulp_container_client/api/content_blobs_api.rb +38 -34
  50. data/lib/pulp_container_client/api/content_manifests_api.rb +38 -34
  51. data/lib/pulp_container_client/api/content_tags_api.rb +41 -37
  52. data/lib/pulp_container_client/api/contentguards_content_redirect_api.rb +90 -90
  53. data/lib/pulp_container_client/api/distributions_container_api.rb +153 -90
  54. data/lib/pulp_container_client/api/remotes_container_api.rb +181 -100
  55. data/lib/pulp_container_client/api/repositories_container_api.rb +245 -222
  56. data/lib/pulp_container_client/api/repositories_container_push_api.rb +66 -197
  57. data/lib/pulp_container_client/api/repositories_container_versions_api.rb +278 -188
  58. data/lib/pulp_container_client/api/token_api.rb +8 -14
  59. data/lib/pulp_container_client/api_client.rb +2 -2
  60. data/lib/pulp_container_client/api_error.rb +2 -2
  61. data/lib/pulp_container_client/configuration.rb +3 -3
  62. data/lib/pulp_container_client/models/async_operation_response.rb +3 -2
  63. data/lib/pulp_container_client/models/{container_blob.rb → container_blob_response.rb} +6 -43
  64. data/lib/pulp_container_client/models/container_container_distribution.rb +29 -110
  65. data/lib/pulp_container_client/models/container_container_distribution_response.rb +289 -0
  66. data/lib/pulp_container_client/models/container_container_push_repository.rb +18 -78
  67. data/lib/pulp_container_client/models/container_container_push_repository_response.rb +271 -0
  68. data/lib/pulp_container_client/models/container_container_remote.rb +29 -227
  69. data/lib/pulp_container_client/models/container_container_remote_response.rb +409 -0
  70. data/lib/pulp_container_client/models/container_container_repository.rb +18 -78
  71. data/lib/pulp_container_client/models/container_container_repository_response.rb +271 -0
  72. data/lib/pulp_container_client/models/container_content_redirect_content_guard.rb +4 -56
  73. data/lib/pulp_container_client/models/container_content_redirect_content_guard_response.rb +243 -0
  74. data/lib/pulp_container_client/models/{container_manifest.rb → container_manifest_response.rb} +6 -43
  75. data/lib/pulp_container_client/models/{container_tag.rb → container_tag_response.rb} +7 -40
  76. data/lib/pulp_container_client/models/content_summary.rb +9 -15
  77. data/lib/pulp_container_client/models/content_summary_response.rb +240 -0
  78. data/lib/pulp_container_client/models/inline_response200.rb +3 -13
  79. data/lib/pulp_container_client/models/inline_response2001.rb +3 -13
  80. data/lib/pulp_container_client/models/inline_response2002.rb +3 -13
  81. data/lib/pulp_container_client/models/inline_response2003.rb +3 -13
  82. data/lib/pulp_container_client/models/inline_response2004.rb +3 -13
  83. data/lib/pulp_container_client/models/inline_response2005.rb +3 -13
  84. data/lib/pulp_container_client/models/inline_response2006.rb +3 -13
  85. data/lib/pulp_container_client/models/inline_response2007.rb +3 -13
  86. data/lib/pulp_container_client/models/inline_response2008.rb +3 -13
  87. data/lib/pulp_container_client/models/manifest_copy.rb +4 -3
  88. data/lib/pulp_container_client/models/oci_build_image.rb +240 -0
  89. data/lib/pulp_container_client/models/patchedcontainer_container_distribution.rb +250 -0
  90. data/lib/pulp_container_client/models/patchedcontainer_container_remote.rb +365 -0
  91. data/lib/pulp_container_client/models/patchedcontainer_container_repository.rb +229 -0
  92. data/lib/pulp_container_client/models/patchedcontainer_content_redirect_content_guard.rb +219 -0
  93. data/lib/pulp_container_client/models/policy_enum.rb +37 -0
  94. data/lib/pulp_container_client/models/recursive_manage.rb +4 -3
  95. data/lib/pulp_container_client/models/repository_sync_url.rb +3 -8
  96. data/lib/pulp_container_client/models/repository_version.rb +7 -43
  97. data/lib/pulp_container_client/models/repository_version_response.rb +246 -0
  98. data/lib/pulp_container_client/models/tag_copy.rb +4 -3
  99. data/lib/pulp_container_client/models/tag_image.rb +3 -40
  100. data/lib/pulp_container_client/models/un_tag_image.rb +3 -21
  101. data/lib/pulp_container_client/version.rb +3 -3
  102. data/lib/pulp_container_client.rb +18 -5
  103. data/pulp_container_client.gemspec +4 -4
  104. data/spec/api/content_blobs_api_spec.rb +11 -11
  105. data/spec/api/content_manifests_api_spec.rb +11 -11
  106. data/spec/api/content_tags_api_spec.rb +12 -12
  107. data/spec/api/contentguards_content_redirect_api_spec.rb +17 -17
  108. data/spec/api/distributions_container_api_spec.rb +39 -18
  109. data/spec/api/remotes_container_api_spec.rb +48 -21
  110. data/spec/api/repositories_container_api_spec.rb +41 -32
  111. data/spec/api/repositories_container_push_api_spec.rb +17 -40
  112. data/spec/api/repositories_container_versions_api_spec.rb +76 -46
  113. data/spec/api/token_api_spec.rb +4 -6
  114. data/spec/api_client_spec.rb +2 -2
  115. data/spec/configuration_spec.rb +2 -2
  116. data/spec/models/async_operation_response_spec.rb +2 -2
  117. data/spec/models/{container_blob_spec.rb → container_blob_response_spec.rb} +8 -8
  118. data/spec/models/container_container_distribution_response_spec.rb +83 -0
  119. data/spec/models/container_container_distribution_spec.rb +5 -23
  120. data/spec/models/container_container_push_repository_response_spec.rb +77 -0
  121. data/spec/models/container_container_push_repository_spec.rb +5 -23
  122. data/spec/models/container_container_remote_response_spec.rb +137 -0
  123. data/spec/models/container_container_remote_spec.rb +7 -23
  124. data/spec/models/container_container_repository_response_spec.rb +77 -0
  125. data/spec/models/container_container_repository_spec.rb +5 -23
  126. data/spec/models/container_content_redirect_content_guard_response_spec.rb +59 -0
  127. data/spec/models/container_content_redirect_content_guard_spec.rb +2 -14
  128. data/spec/models/{container_manifest_spec.rb → container_manifest_response_spec.rb} +8 -8
  129. data/spec/models/{container_tag_spec.rb → container_tag_response_spec.rb} +8 -14
  130. data/spec/models/content_summary_response_spec.rb +53 -0
  131. data/spec/models/content_summary_spec.rb +2 -2
  132. data/spec/models/inline_response2001_spec.rb +2 -2
  133. data/spec/models/inline_response2002_spec.rb +2 -2
  134. data/spec/models/inline_response2003_spec.rb +2 -2
  135. data/spec/models/inline_response2004_spec.rb +2 -2
  136. data/spec/models/inline_response2005_spec.rb +2 -2
  137. data/spec/models/inline_response2006_spec.rb +2 -2
  138. data/spec/models/inline_response2007_spec.rb +2 -2
  139. data/spec/models/inline_response2008_spec.rb +2 -2
  140. data/spec/models/inline_response200_spec.rb +2 -2
  141. data/spec/models/manifest_copy_spec.rb +2 -2
  142. data/spec/models/oci_build_image_spec.rb +59 -0
  143. data/spec/models/patchedcontainer_container_distribution_spec.rb +65 -0
  144. data/spec/models/patchedcontainer_container_remote_spec.rb +119 -0
  145. data/spec/models/patchedcontainer_container_repository_spec.rb +53 -0
  146. data/spec/models/patchedcontainer_content_redirect_content_guard_spec.rb +47 -0
  147. data/spec/models/policy_enum_spec.rb +35 -0
  148. data/spec/models/recursive_manage_spec.rb +2 -2
  149. data/spec/models/repository_sync_url_spec.rb +2 -2
  150. data/spec/models/repository_version_response_spec.rb +65 -0
  151. data/spec/models/repository_version_spec.rb +2 -26
  152. data/spec/models/tag_copy_spec.rb +2 -2
  153. data/spec/models/tag_image_spec.rb +2 -2
  154. data/spec/models/un_tag_image_spec.rb +2 -2
  155. data/spec/spec_helper.rb +2 -2
  156. metadata +93 -41
@@ -1,10 +1,10 @@
1
1
  =begin
2
2
  #Pulp 3 API
3
3
 
4
- #No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
4
+ #Fetch, Upload, Organize, and Distribute Software Packages
5
5
 
6
6
  The version of the OpenAPI document: v3
7
-
7
+ Contact: pulp-list@redhat.com
8
8
  Generated by: https://openapi-generator.tech
9
9
  OpenAPI Generator version: 4.2.3
10
10
 
@@ -21,26 +21,26 @@ module PulpContainerClient
21
21
  end
22
22
  # Create a container remote
23
23
  # Container remotes represent an external repository that implements the Container Registry API. Container remotes support deferred downloading by configuring the ``policy`` field. ``on_demand`` and ``streamed`` policies can provide significant disk space savings.
24
- # @param data [ContainerContainerRemote]
24
+ # @param container_container_remote [ContainerContainerRemote]
25
25
  # @param [Hash] opts the optional parameters
26
- # @return [ContainerContainerRemote]
27
- def create(data, opts = {})
28
- data, _status_code, _headers = create_with_http_info(data, opts)
26
+ # @return [ContainerContainerRemoteResponse]
27
+ def create(container_container_remote, opts = {})
28
+ data, _status_code, _headers = create_with_http_info(container_container_remote, opts)
29
29
  data
30
30
  end
31
31
 
32
32
  # Create a container remote
33
33
  # Container remotes represent an external repository that implements the Container Registry API. Container remotes support deferred downloading by configuring the ``policy`` field. ``on_demand`` and ``streamed`` policies can provide significant disk space savings.
34
- # @param data [ContainerContainerRemote]
34
+ # @param container_container_remote [ContainerContainerRemote]
35
35
  # @param [Hash] opts the optional parameters
36
- # @return [Array<(ContainerContainerRemote, Integer, Hash)>] ContainerContainerRemote data, response status code and response headers
37
- def create_with_http_info(data, opts = {})
36
+ # @return [Array<(ContainerContainerRemoteResponse, Integer, Hash)>] ContainerContainerRemoteResponse data, response status code and response headers
37
+ def create_with_http_info(container_container_remote, opts = {})
38
38
  if @api_client.config.debugging
39
39
  @api_client.config.logger.debug 'Calling API: RemotesContainerApi.create ...'
40
40
  end
41
- # verify the required parameter 'data' is set
42
- if @api_client.config.client_side_validation && data.nil?
43
- fail ArgumentError, "Missing the required parameter 'data' when calling RemotesContainerApi.create"
41
+ # verify the required parameter 'container_container_remote' is set
42
+ if @api_client.config.client_side_validation && container_container_remote.nil?
43
+ fail ArgumentError, "Missing the required parameter 'container_container_remote' when calling RemotesContainerApi.create"
44
44
  end
45
45
  # resource path
46
46
  local_var_path = '/pulp/api/v3/remotes/container/container/'
@@ -53,19 +53,19 @@ module PulpContainerClient
53
53
  # HTTP header 'Accept' (if needed)
54
54
  header_params['Accept'] = @api_client.select_header_accept(['application/json'])
55
55
  # HTTP header 'Content-Type'
56
- header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
56
+ header_params['Content-Type'] = @api_client.select_header_content_type(['application/json', 'application/x-www-form-urlencoded', 'multipart/form-data'])
57
57
 
58
58
  # form parameters
59
59
  form_params = opts[:form_params] || {}
60
60
 
61
61
  # http body (model)
62
- post_body = opts[:body] || @api_client.object_to_http_body(data)
62
+ post_body = opts[:body] || @api_client.object_to_http_body(container_container_remote)
63
63
 
64
64
  # return_type
65
- return_type = opts[:return_type] || 'ContainerContainerRemote'
65
+ return_type = opts[:return_type] || 'ContainerContainerRemoteResponse'
66
66
 
67
67
  # auth_names
68
- auth_names = opts[:auth_names] || ['Basic']
68
+ auth_names = opts[:auth_names] || ['basicAuth']
69
69
 
70
70
  new_options = opts.merge(
71
71
  :header_params => header_params,
@@ -85,32 +85,59 @@ module PulpContainerClient
85
85
 
86
86
  # Delete a container remote
87
87
  # Trigger an asynchronous delete task
88
- # @param container_remote_href [String] URI of Container Remote. e.g.: /pulp/api/v3/remotes/container/container/1/
88
+ # @param container_container_remote_href [String]
89
89
  # @param [Hash] opts the optional parameters
90
+ # @option opts [String] :name name
91
+ # @option opts [String] :name__in name__in
92
+ # @option opts [String] :ordering Which field to use when ordering the results.
93
+ # @option opts [String] :pulp_last_updated pulp_last_updated
94
+ # @option opts [String] :pulp_last_updated__gt pulp_last_updated__gt
95
+ # @option opts [String] :pulp_last_updated__gte pulp_last_updated__gte
96
+ # @option opts [String] :pulp_last_updated__lt pulp_last_updated__lt
97
+ # @option opts [String] :pulp_last_updated__lte pulp_last_updated__lte
98
+ # @option opts [String] :pulp_last_updated__range pulp_last_updated__range
90
99
  # @return [AsyncOperationResponse]
91
- def delete(container_remote_href, opts = {})
92
- data, _status_code, _headers = delete_with_http_info(container_remote_href, opts)
100
+ def delete(container_container_remote_href, opts = {})
101
+ data, _status_code, _headers = delete_with_http_info(container_container_remote_href, opts)
93
102
  data
94
103
  end
95
104
 
96
105
  # Delete a container remote
97
106
  # Trigger an asynchronous delete task
98
- # @param container_remote_href [String] URI of Container Remote. e.g.: /pulp/api/v3/remotes/container/container/1/
107
+ # @param container_container_remote_href [String]
99
108
  # @param [Hash] opts the optional parameters
109
+ # @option opts [String] :name name
110
+ # @option opts [String] :name__in name__in
111
+ # @option opts [String] :ordering Which field to use when ordering the results.
112
+ # @option opts [String] :pulp_last_updated pulp_last_updated
113
+ # @option opts [String] :pulp_last_updated__gt pulp_last_updated__gt
114
+ # @option opts [String] :pulp_last_updated__gte pulp_last_updated__gte
115
+ # @option opts [String] :pulp_last_updated__lt pulp_last_updated__lt
116
+ # @option opts [String] :pulp_last_updated__lte pulp_last_updated__lte
117
+ # @option opts [String] :pulp_last_updated__range pulp_last_updated__range
100
118
  # @return [Array<(AsyncOperationResponse, Integer, Hash)>] AsyncOperationResponse data, response status code and response headers
101
- def delete_with_http_info(container_remote_href, opts = {})
119
+ def delete_with_http_info(container_container_remote_href, opts = {})
102
120
  if @api_client.config.debugging
103
121
  @api_client.config.logger.debug 'Calling API: RemotesContainerApi.delete ...'
104
122
  end
105
- # verify the required parameter 'container_remote_href' is set
106
- if @api_client.config.client_side_validation && container_remote_href.nil?
107
- fail ArgumentError, "Missing the required parameter 'container_remote_href' when calling RemotesContainerApi.delete"
123
+ # verify the required parameter 'container_container_remote_href' is set
124
+ if @api_client.config.client_side_validation && container_container_remote_href.nil?
125
+ fail ArgumentError, "Missing the required parameter 'container_container_remote_href' when calling RemotesContainerApi.delete"
108
126
  end
109
127
  # resource path
110
- local_var_path = '{container_remote_href}'.sub('{' + 'container_remote_href' + '}', CGI.escape(container_remote_href.to_s).gsub('%2F', '/'))
128
+ local_var_path = '{container_container_remote_href}'.sub('{' + 'container_container_remote_href' + '}', CGI.escape(container_container_remote_href.to_s).gsub('%2F', '/'))
111
129
 
112
130
  # query parameters
113
131
  query_params = opts[:query_params] || {}
132
+ query_params[:'name'] = opts[:'name'] if !opts[:'name'].nil?
133
+ query_params[:'name__in'] = opts[:'name__in'] if !opts[:'name__in'].nil?
134
+ query_params[:'ordering'] = opts[:'ordering'] if !opts[:'ordering'].nil?
135
+ query_params[:'pulp_last_updated'] = opts[:'pulp_last_updated'] if !opts[:'pulp_last_updated'].nil?
136
+ query_params[:'pulp_last_updated__gt'] = opts[:'pulp_last_updated__gt'] if !opts[:'pulp_last_updated__gt'].nil?
137
+ query_params[:'pulp_last_updated__gte'] = opts[:'pulp_last_updated__gte'] if !opts[:'pulp_last_updated__gte'].nil?
138
+ query_params[:'pulp_last_updated__lt'] = opts[:'pulp_last_updated__lt'] if !opts[:'pulp_last_updated__lt'].nil?
139
+ query_params[:'pulp_last_updated__lte'] = opts[:'pulp_last_updated__lte'] if !opts[:'pulp_last_updated__lte'].nil?
140
+ query_params[:'pulp_last_updated__range'] = opts[:'pulp_last_updated__range'] if !opts[:'pulp_last_updated__range'].nil?
114
141
 
115
142
  # header parameters
116
143
  header_params = opts[:header_params] || {}
@@ -127,7 +154,7 @@ module PulpContainerClient
127
154
  return_type = opts[:return_type] || 'AsyncOperationResponse'
128
155
 
129
156
  # auth_names
130
- auth_names = opts[:auth_names] || ['Basic']
157
+ auth_names = opts[:auth_names] || ['basicAuth']
131
158
 
132
159
  new_options = opts.merge(
133
160
  :header_params => header_params,
@@ -148,17 +175,17 @@ module PulpContainerClient
148
175
  # List container remotes
149
176
  # Container remotes represent an external repository that implements the Container Registry API. Container remotes support deferred downloading by configuring the ``policy`` field. ``on_demand`` and ``streamed`` policies can provide significant disk space savings.
150
177
  # @param [Hash] opts the optional parameters
151
- # @option opts [String] :ordering Which field to use when ordering the results.
152
- # @option opts [String] :name
153
- # @option opts [String] :name__in Filter results where name is in a comma-separated list of values
154
- # @option opts [String] :pulp_last_updated__lt Filter results where pulp_last_updated is less than value
155
- # @option opts [String] :pulp_last_updated__lte Filter results where pulp_last_updated is less than or equal to value
156
- # @option opts [String] :pulp_last_updated__gt Filter results where pulp_last_updated is greater than value
157
- # @option opts [String] :pulp_last_updated__gte Filter results where pulp_last_updated is greater than or equal to value
158
- # @option opts [String] :pulp_last_updated__range Filter results where pulp_last_updated is between two comma separated values
159
- # @option opts [String] :pulp_last_updated ISO 8601 formatted dates are supported
160
178
  # @option opts [Integer] :limit Number of results to return per page.
179
+ # @option opts [String] :name name
180
+ # @option opts [String] :name__in name__in
161
181
  # @option opts [Integer] :offset The initial index from which to return the results.
182
+ # @option opts [String] :ordering Which field to use when ordering the results.
183
+ # @option opts [String] :pulp_last_updated pulp_last_updated
184
+ # @option opts [String] :pulp_last_updated__gt pulp_last_updated__gt
185
+ # @option opts [String] :pulp_last_updated__gte pulp_last_updated__gte
186
+ # @option opts [String] :pulp_last_updated__lt pulp_last_updated__lt
187
+ # @option opts [String] :pulp_last_updated__lte pulp_last_updated__lte
188
+ # @option opts [String] :pulp_last_updated__range pulp_last_updated__range
162
189
  # @option opts [String] :fields A list of fields to include in the response.
163
190
  # @option opts [String] :exclude_fields A list of fields to exclude from the response.
164
191
  # @return [InlineResponse2005]
@@ -170,17 +197,17 @@ module PulpContainerClient
170
197
  # List container remotes
171
198
  # Container remotes represent an external repository that implements the Container Registry API. Container remotes support deferred downloading by configuring the &#x60;&#x60;policy&#x60;&#x60; field. &#x60;&#x60;on_demand&#x60;&#x60; and &#x60;&#x60;streamed&#x60;&#x60; policies can provide significant disk space savings.
172
199
  # @param [Hash] opts the optional parameters
173
- # @option opts [String] :ordering Which field to use when ordering the results.
174
- # @option opts [String] :name
175
- # @option opts [String] :name__in Filter results where name is in a comma-separated list of values
176
- # @option opts [String] :pulp_last_updated__lt Filter results where pulp_last_updated is less than value
177
- # @option opts [String] :pulp_last_updated__lte Filter results where pulp_last_updated is less than or equal to value
178
- # @option opts [String] :pulp_last_updated__gt Filter results where pulp_last_updated is greater than value
179
- # @option opts [String] :pulp_last_updated__gte Filter results where pulp_last_updated is greater than or equal to value
180
- # @option opts [String] :pulp_last_updated__range Filter results where pulp_last_updated is between two comma separated values
181
- # @option opts [String] :pulp_last_updated ISO 8601 formatted dates are supported
182
200
  # @option opts [Integer] :limit Number of results to return per page.
201
+ # @option opts [String] :name name
202
+ # @option opts [String] :name__in name__in
183
203
  # @option opts [Integer] :offset The initial index from which to return the results.
204
+ # @option opts [String] :ordering Which field to use when ordering the results.
205
+ # @option opts [String] :pulp_last_updated pulp_last_updated
206
+ # @option opts [String] :pulp_last_updated__gt pulp_last_updated__gt
207
+ # @option opts [String] :pulp_last_updated__gte pulp_last_updated__gte
208
+ # @option opts [String] :pulp_last_updated__lt pulp_last_updated__lt
209
+ # @option opts [String] :pulp_last_updated__lte pulp_last_updated__lte
210
+ # @option opts [String] :pulp_last_updated__range pulp_last_updated__range
184
211
  # @option opts [String] :fields A list of fields to include in the response.
185
212
  # @option opts [String] :exclude_fields A list of fields to exclude from the response.
186
213
  # @return [Array<(InlineResponse2005, Integer, Hash)>] InlineResponse2005 data, response status code and response headers
@@ -193,17 +220,17 @@ module PulpContainerClient
193
220
 
194
221
  # query parameters
195
222
  query_params = opts[:query_params] || {}
196
- query_params[:'ordering'] = opts[:'ordering'] if !opts[:'ordering'].nil?
223
+ query_params[:'limit'] = opts[:'limit'] if !opts[:'limit'].nil?
197
224
  query_params[:'name'] = opts[:'name'] if !opts[:'name'].nil?
198
225
  query_params[:'name__in'] = opts[:'name__in'] if !opts[:'name__in'].nil?
199
- query_params[:'pulp_last_updated__lt'] = opts[:'pulp_last_updated__lt'] if !opts[:'pulp_last_updated__lt'].nil?
200
- query_params[:'pulp_last_updated__lte'] = opts[:'pulp_last_updated__lte'] if !opts[:'pulp_last_updated__lte'].nil?
226
+ query_params[:'offset'] = opts[:'offset'] if !opts[:'offset'].nil?
227
+ query_params[:'ordering'] = opts[:'ordering'] if !opts[:'ordering'].nil?
228
+ query_params[:'pulp_last_updated'] = opts[:'pulp_last_updated'] if !opts[:'pulp_last_updated'].nil?
201
229
  query_params[:'pulp_last_updated__gt'] = opts[:'pulp_last_updated__gt'] if !opts[:'pulp_last_updated__gt'].nil?
202
230
  query_params[:'pulp_last_updated__gte'] = opts[:'pulp_last_updated__gte'] if !opts[:'pulp_last_updated__gte'].nil?
231
+ query_params[:'pulp_last_updated__lt'] = opts[:'pulp_last_updated__lt'] if !opts[:'pulp_last_updated__lt'].nil?
232
+ query_params[:'pulp_last_updated__lte'] = opts[:'pulp_last_updated__lte'] if !opts[:'pulp_last_updated__lte'].nil?
203
233
  query_params[:'pulp_last_updated__range'] = opts[:'pulp_last_updated__range'] if !opts[:'pulp_last_updated__range'].nil?
204
- query_params[:'pulp_last_updated'] = opts[:'pulp_last_updated'] if !opts[:'pulp_last_updated'].nil?
205
- query_params[:'limit'] = opts[:'limit'] if !opts[:'limit'].nil?
206
- query_params[:'offset'] = opts[:'offset'] if !opts[:'offset'].nil?
207
234
  query_params[:'fields'] = opts[:'fields'] if !opts[:'fields'].nil?
208
235
  query_params[:'exclude_fields'] = opts[:'exclude_fields'] if !opts[:'exclude_fields'].nil?
209
236
 
@@ -222,7 +249,7 @@ module PulpContainerClient
222
249
  return_type = opts[:return_type] || 'InlineResponse2005'
223
250
 
224
251
  # auth_names
225
- auth_names = opts[:auth_names] || ['Basic']
252
+ auth_names = opts[:auth_names] || ['basicAuth']
226
253
 
227
254
  new_options = opts.merge(
228
255
  :header_params => header_params,
@@ -240,59 +267,86 @@ module PulpContainerClient
240
267
  return data, status_code, headers
241
268
  end
242
269
 
243
- # Partially update a container remote
270
+ # Update a container remote
244
271
  # Trigger an asynchronous partial update task
245
- # @param container_remote_href [String] URI of Container Remote. e.g.: /pulp/api/v3/remotes/container/container/1/
246
- # @param data [ContainerContainerRemote]
272
+ # @param container_container_remote_href [String]
273
+ # @param patchedcontainer_container_remote [PatchedcontainerContainerRemote]
247
274
  # @param [Hash] opts the optional parameters
275
+ # @option opts [String] :name name
276
+ # @option opts [String] :name__in name__in
277
+ # @option opts [String] :ordering Which field to use when ordering the results.
278
+ # @option opts [String] :pulp_last_updated pulp_last_updated
279
+ # @option opts [String] :pulp_last_updated__gt pulp_last_updated__gt
280
+ # @option opts [String] :pulp_last_updated__gte pulp_last_updated__gte
281
+ # @option opts [String] :pulp_last_updated__lt pulp_last_updated__lt
282
+ # @option opts [String] :pulp_last_updated__lte pulp_last_updated__lte
283
+ # @option opts [String] :pulp_last_updated__range pulp_last_updated__range
248
284
  # @return [AsyncOperationResponse]
249
- def partial_update(container_remote_href, data, opts = {})
250
- data, _status_code, _headers = partial_update_with_http_info(container_remote_href, data, opts)
285
+ def partial_update(container_container_remote_href, patchedcontainer_container_remote, opts = {})
286
+ data, _status_code, _headers = partial_update_with_http_info(container_container_remote_href, patchedcontainer_container_remote, opts)
251
287
  data
252
288
  end
253
289
 
254
- # Partially update a container remote
290
+ # Update a container remote
255
291
  # Trigger an asynchronous partial update task
256
- # @param container_remote_href [String] URI of Container Remote. e.g.: /pulp/api/v3/remotes/container/container/1/
257
- # @param data [ContainerContainerRemote]
292
+ # @param container_container_remote_href [String]
293
+ # @param patchedcontainer_container_remote [PatchedcontainerContainerRemote]
258
294
  # @param [Hash] opts the optional parameters
295
+ # @option opts [String] :name name
296
+ # @option opts [String] :name__in name__in
297
+ # @option opts [String] :ordering Which field to use when ordering the results.
298
+ # @option opts [String] :pulp_last_updated pulp_last_updated
299
+ # @option opts [String] :pulp_last_updated__gt pulp_last_updated__gt
300
+ # @option opts [String] :pulp_last_updated__gte pulp_last_updated__gte
301
+ # @option opts [String] :pulp_last_updated__lt pulp_last_updated__lt
302
+ # @option opts [String] :pulp_last_updated__lte pulp_last_updated__lte
303
+ # @option opts [String] :pulp_last_updated__range pulp_last_updated__range
259
304
  # @return [Array<(AsyncOperationResponse, Integer, Hash)>] AsyncOperationResponse data, response status code and response headers
260
- def partial_update_with_http_info(container_remote_href, data, opts = {})
305
+ def partial_update_with_http_info(container_container_remote_href, patchedcontainer_container_remote, opts = {})
261
306
  if @api_client.config.debugging
262
307
  @api_client.config.logger.debug 'Calling API: RemotesContainerApi.partial_update ...'
263
308
  end
264
- # verify the required parameter 'container_remote_href' is set
265
- if @api_client.config.client_side_validation && container_remote_href.nil?
266
- fail ArgumentError, "Missing the required parameter 'container_remote_href' when calling RemotesContainerApi.partial_update"
309
+ # verify the required parameter 'container_container_remote_href' is set
310
+ if @api_client.config.client_side_validation && container_container_remote_href.nil?
311
+ fail ArgumentError, "Missing the required parameter 'container_container_remote_href' when calling RemotesContainerApi.partial_update"
267
312
  end
268
- # verify the required parameter 'data' is set
269
- if @api_client.config.client_side_validation && data.nil?
270
- fail ArgumentError, "Missing the required parameter 'data' when calling RemotesContainerApi.partial_update"
313
+ # verify the required parameter 'patchedcontainer_container_remote' is set
314
+ if @api_client.config.client_side_validation && patchedcontainer_container_remote.nil?
315
+ fail ArgumentError, "Missing the required parameter 'patchedcontainer_container_remote' when calling RemotesContainerApi.partial_update"
271
316
  end
272
317
  # resource path
273
- local_var_path = '{container_remote_href}'.sub('{' + 'container_remote_href' + '}', CGI.escape(container_remote_href.to_s).gsub('%2F', '/'))
318
+ local_var_path = '{container_container_remote_href}'.sub('{' + 'container_container_remote_href' + '}', CGI.escape(container_container_remote_href.to_s).gsub('%2F', '/'))
274
319
 
275
320
  # query parameters
276
321
  query_params = opts[:query_params] || {}
322
+ query_params[:'name'] = opts[:'name'] if !opts[:'name'].nil?
323
+ query_params[:'name__in'] = opts[:'name__in'] if !opts[:'name__in'].nil?
324
+ query_params[:'ordering'] = opts[:'ordering'] if !opts[:'ordering'].nil?
325
+ query_params[:'pulp_last_updated'] = opts[:'pulp_last_updated'] if !opts[:'pulp_last_updated'].nil?
326
+ query_params[:'pulp_last_updated__gt'] = opts[:'pulp_last_updated__gt'] if !opts[:'pulp_last_updated__gt'].nil?
327
+ query_params[:'pulp_last_updated__gte'] = opts[:'pulp_last_updated__gte'] if !opts[:'pulp_last_updated__gte'].nil?
328
+ query_params[:'pulp_last_updated__lt'] = opts[:'pulp_last_updated__lt'] if !opts[:'pulp_last_updated__lt'].nil?
329
+ query_params[:'pulp_last_updated__lte'] = opts[:'pulp_last_updated__lte'] if !opts[:'pulp_last_updated__lte'].nil?
330
+ query_params[:'pulp_last_updated__range'] = opts[:'pulp_last_updated__range'] if !opts[:'pulp_last_updated__range'].nil?
277
331
 
278
332
  # header parameters
279
333
  header_params = opts[:header_params] || {}
280
334
  # HTTP header 'Accept' (if needed)
281
335
  header_params['Accept'] = @api_client.select_header_accept(['application/json'])
282
336
  # HTTP header 'Content-Type'
283
- header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
337
+ header_params['Content-Type'] = @api_client.select_header_content_type(['application/json', 'application/x-www-form-urlencoded', 'multipart/form-data'])
284
338
 
285
339
  # form parameters
286
340
  form_params = opts[:form_params] || {}
287
341
 
288
342
  # http body (model)
289
- post_body = opts[:body] || @api_client.object_to_http_body(data)
343
+ post_body = opts[:body] || @api_client.object_to_http_body(patchedcontainer_container_remote)
290
344
 
291
345
  # return_type
292
346
  return_type = opts[:return_type] || 'AsyncOperationResponse'
293
347
 
294
348
  # auth_names
295
- auth_names = opts[:auth_names] || ['Basic']
349
+ auth_names = opts[:auth_names] || ['basicAuth']
296
350
 
297
351
  new_options = opts.merge(
298
352
  :header_params => header_params,
@@ -312,33 +366,33 @@ module PulpContainerClient
312
366
 
313
367
  # Inspect a container remote
314
368
  # Container remotes represent an external repository that implements the Container Registry API. Container remotes support deferred downloading by configuring the ``policy`` field. ``on_demand`` and ``streamed`` policies can provide significant disk space savings.
315
- # @param container_remote_href [String] URI of Container Remote. e.g.: /pulp/api/v3/remotes/container/container/1/
369
+ # @param container_container_remote_href [String]
316
370
  # @param [Hash] opts the optional parameters
317
371
  # @option opts [String] :fields A list of fields to include in the response.
318
372
  # @option opts [String] :exclude_fields A list of fields to exclude from the response.
319
- # @return [ContainerContainerRemote]
320
- def read(container_remote_href, opts = {})
321
- data, _status_code, _headers = read_with_http_info(container_remote_href, opts)
373
+ # @return [ContainerContainerRemoteResponse]
374
+ def read(container_container_remote_href, opts = {})
375
+ data, _status_code, _headers = read_with_http_info(container_container_remote_href, opts)
322
376
  data
323
377
  end
324
378
 
325
379
  # Inspect a container remote
326
380
  # Container remotes represent an external repository that implements the Container Registry API. Container remotes support deferred downloading by configuring the &#x60;&#x60;policy&#x60;&#x60; field. &#x60;&#x60;on_demand&#x60;&#x60; and &#x60;&#x60;streamed&#x60;&#x60; policies can provide significant disk space savings.
327
- # @param container_remote_href [String] URI of Container Remote. e.g.: /pulp/api/v3/remotes/container/container/1/
381
+ # @param container_container_remote_href [String]
328
382
  # @param [Hash] opts the optional parameters
329
383
  # @option opts [String] :fields A list of fields to include in the response.
330
384
  # @option opts [String] :exclude_fields A list of fields to exclude from the response.
331
- # @return [Array<(ContainerContainerRemote, Integer, Hash)>] ContainerContainerRemote data, response status code and response headers
332
- def read_with_http_info(container_remote_href, opts = {})
385
+ # @return [Array<(ContainerContainerRemoteResponse, Integer, Hash)>] ContainerContainerRemoteResponse data, response status code and response headers
386
+ def read_with_http_info(container_container_remote_href, opts = {})
333
387
  if @api_client.config.debugging
334
388
  @api_client.config.logger.debug 'Calling API: RemotesContainerApi.read ...'
335
389
  end
336
- # verify the required parameter 'container_remote_href' is set
337
- if @api_client.config.client_side_validation && container_remote_href.nil?
338
- fail ArgumentError, "Missing the required parameter 'container_remote_href' when calling RemotesContainerApi.read"
390
+ # verify the required parameter 'container_container_remote_href' is set
391
+ if @api_client.config.client_side_validation && container_container_remote_href.nil?
392
+ fail ArgumentError, "Missing the required parameter 'container_container_remote_href' when calling RemotesContainerApi.read"
339
393
  end
340
394
  # resource path
341
- local_var_path = '{container_remote_href}'.sub('{' + 'container_remote_href' + '}', CGI.escape(container_remote_href.to_s).gsub('%2F', '/'))
395
+ local_var_path = '{container_container_remote_href}'.sub('{' + 'container_container_remote_href' + '}', CGI.escape(container_container_remote_href.to_s).gsub('%2F', '/'))
342
396
 
343
397
  # query parameters
344
398
  query_params = opts[:query_params] || {}
@@ -357,10 +411,10 @@ module PulpContainerClient
357
411
  post_body = opts[:body]
358
412
 
359
413
  # return_type
360
- return_type = opts[:return_type] || 'ContainerContainerRemote'
414
+ return_type = opts[:return_type] || 'ContainerContainerRemoteResponse'
361
415
 
362
416
  # auth_names
363
- auth_names = opts[:auth_names] || ['Basic']
417
+ auth_names = opts[:auth_names] || ['basicAuth']
364
418
 
365
419
  new_options = opts.merge(
366
420
  :header_params => header_params,
@@ -380,57 +434,84 @@ module PulpContainerClient
380
434
 
381
435
  # Update a container remote
382
436
  # Trigger an asynchronous update task
383
- # @param container_remote_href [String] URI of Container Remote. e.g.: /pulp/api/v3/remotes/container/container/1/
384
- # @param data [ContainerContainerRemote]
437
+ # @param container_container_remote_href [String]
438
+ # @param container_container_remote [ContainerContainerRemote]
385
439
  # @param [Hash] opts the optional parameters
440
+ # @option opts [String] :name name
441
+ # @option opts [String] :name__in name__in
442
+ # @option opts [String] :ordering Which field to use when ordering the results.
443
+ # @option opts [String] :pulp_last_updated pulp_last_updated
444
+ # @option opts [String] :pulp_last_updated__gt pulp_last_updated__gt
445
+ # @option opts [String] :pulp_last_updated__gte pulp_last_updated__gte
446
+ # @option opts [String] :pulp_last_updated__lt pulp_last_updated__lt
447
+ # @option opts [String] :pulp_last_updated__lte pulp_last_updated__lte
448
+ # @option opts [String] :pulp_last_updated__range pulp_last_updated__range
386
449
  # @return [AsyncOperationResponse]
387
- def update(container_remote_href, data, opts = {})
388
- data, _status_code, _headers = update_with_http_info(container_remote_href, data, opts)
450
+ def update(container_container_remote_href, container_container_remote, opts = {})
451
+ data, _status_code, _headers = update_with_http_info(container_container_remote_href, container_container_remote, opts)
389
452
  data
390
453
  end
391
454
 
392
455
  # Update a container remote
393
456
  # Trigger an asynchronous update task
394
- # @param container_remote_href [String] URI of Container Remote. e.g.: /pulp/api/v3/remotes/container/container/1/
395
- # @param data [ContainerContainerRemote]
457
+ # @param container_container_remote_href [String]
458
+ # @param container_container_remote [ContainerContainerRemote]
396
459
  # @param [Hash] opts the optional parameters
460
+ # @option opts [String] :name name
461
+ # @option opts [String] :name__in name__in
462
+ # @option opts [String] :ordering Which field to use when ordering the results.
463
+ # @option opts [String] :pulp_last_updated pulp_last_updated
464
+ # @option opts [String] :pulp_last_updated__gt pulp_last_updated__gt
465
+ # @option opts [String] :pulp_last_updated__gte pulp_last_updated__gte
466
+ # @option opts [String] :pulp_last_updated__lt pulp_last_updated__lt
467
+ # @option opts [String] :pulp_last_updated__lte pulp_last_updated__lte
468
+ # @option opts [String] :pulp_last_updated__range pulp_last_updated__range
397
469
  # @return [Array<(AsyncOperationResponse, Integer, Hash)>] AsyncOperationResponse data, response status code and response headers
398
- def update_with_http_info(container_remote_href, data, opts = {})
470
+ def update_with_http_info(container_container_remote_href, container_container_remote, opts = {})
399
471
  if @api_client.config.debugging
400
472
  @api_client.config.logger.debug 'Calling API: RemotesContainerApi.update ...'
401
473
  end
402
- # verify the required parameter 'container_remote_href' is set
403
- if @api_client.config.client_side_validation && container_remote_href.nil?
404
- fail ArgumentError, "Missing the required parameter 'container_remote_href' when calling RemotesContainerApi.update"
474
+ # verify the required parameter 'container_container_remote_href' is set
475
+ if @api_client.config.client_side_validation && container_container_remote_href.nil?
476
+ fail ArgumentError, "Missing the required parameter 'container_container_remote_href' when calling RemotesContainerApi.update"
405
477
  end
406
- # verify the required parameter 'data' is set
407
- if @api_client.config.client_side_validation && data.nil?
408
- fail ArgumentError, "Missing the required parameter 'data' when calling RemotesContainerApi.update"
478
+ # verify the required parameter 'container_container_remote' is set
479
+ if @api_client.config.client_side_validation && container_container_remote.nil?
480
+ fail ArgumentError, "Missing the required parameter 'container_container_remote' when calling RemotesContainerApi.update"
409
481
  end
410
482
  # resource path
411
- local_var_path = '{container_remote_href}'.sub('{' + 'container_remote_href' + '}', CGI.escape(container_remote_href.to_s).gsub('%2F', '/'))
483
+ local_var_path = '{container_container_remote_href}'.sub('{' + 'container_container_remote_href' + '}', CGI.escape(container_container_remote_href.to_s).gsub('%2F', '/'))
412
484
 
413
485
  # query parameters
414
486
  query_params = opts[:query_params] || {}
487
+ query_params[:'name'] = opts[:'name'] if !opts[:'name'].nil?
488
+ query_params[:'name__in'] = opts[:'name__in'] if !opts[:'name__in'].nil?
489
+ query_params[:'ordering'] = opts[:'ordering'] if !opts[:'ordering'].nil?
490
+ query_params[:'pulp_last_updated'] = opts[:'pulp_last_updated'] if !opts[:'pulp_last_updated'].nil?
491
+ query_params[:'pulp_last_updated__gt'] = opts[:'pulp_last_updated__gt'] if !opts[:'pulp_last_updated__gt'].nil?
492
+ query_params[:'pulp_last_updated__gte'] = opts[:'pulp_last_updated__gte'] if !opts[:'pulp_last_updated__gte'].nil?
493
+ query_params[:'pulp_last_updated__lt'] = opts[:'pulp_last_updated__lt'] if !opts[:'pulp_last_updated__lt'].nil?
494
+ query_params[:'pulp_last_updated__lte'] = opts[:'pulp_last_updated__lte'] if !opts[:'pulp_last_updated__lte'].nil?
495
+ query_params[:'pulp_last_updated__range'] = opts[:'pulp_last_updated__range'] if !opts[:'pulp_last_updated__range'].nil?
415
496
 
416
497
  # header parameters
417
498
  header_params = opts[:header_params] || {}
418
499
  # HTTP header 'Accept' (if needed)
419
500
  header_params['Accept'] = @api_client.select_header_accept(['application/json'])
420
501
  # HTTP header 'Content-Type'
421
- header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
502
+ header_params['Content-Type'] = @api_client.select_header_content_type(['application/json', 'application/x-www-form-urlencoded', 'multipart/form-data'])
422
503
 
423
504
  # form parameters
424
505
  form_params = opts[:form_params] || {}
425
506
 
426
507
  # http body (model)
427
- post_body = opts[:body] || @api_client.object_to_http_body(data)
508
+ post_body = opts[:body] || @api_client.object_to_http_body(container_container_remote)
428
509
 
429
510
  # return_type
430
511
  return_type = opts[:return_type] || 'AsyncOperationResponse'
431
512
 
432
513
  # auth_names
433
- auth_names = opts[:auth_names] || ['Basic']
514
+ auth_names = opts[:auth_names] || ['basicAuth']
434
515
 
435
516
  new_options = opts.merge(
436
517
  :header_params => header_params,