pulpcore_client 3.57.1 → 3.59.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 (123) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +6 -5
  3. data/docs/AccessPoliciesApi.md +2 -2
  4. data/docs/ArtifactDistributionResponse.md +13 -11
  5. data/docs/ArtifactsApi.md +2 -2
  6. data/docs/ContentApi.md +2 -2
  7. data/docs/ContentguardsApi.md +2 -2
  8. data/docs/ContentguardsCompositeApi.md +2 -2
  9. data/docs/ContentguardsContentRedirectApi.md +2 -2
  10. data/docs/ContentguardsHeaderApi.md +2 -2
  11. data/docs/ContentguardsRbacApi.md +2 -2
  12. data/docs/DistributionResponse.md +2 -0
  13. data/docs/DistributionsApi.md +2 -2
  14. data/docs/DistributionsArtifactsApi.md +2 -2
  15. data/docs/DomainsApi.md +2 -2
  16. data/docs/ExportersFilesystemApi.md +2 -2
  17. data/docs/ExportersPulpApi.md +2 -2
  18. data/docs/GroupsApi.md +2 -2
  19. data/docs/GroupsRolesApi.md +2 -2
  20. data/docs/ImportersPulpApi.md +2 -2
  21. data/docs/PublicationsApi.md +2 -2
  22. data/docs/RemotesApi.md +2 -2
  23. data/docs/RepositoriesApi.md +2 -2
  24. data/docs/RepositoryVersionsApi.md +2 -2
  25. data/docs/RolesApi.md +2 -2
  26. data/docs/SigningServicesApi.md +2 -2
  27. data/docs/TaskGroupsApi.md +56 -4
  28. data/docs/TaskSchedulesApi.md +2 -2
  29. data/docs/TasksApi.md +2 -2
  30. data/docs/UploadsApi.md +2 -2
  31. data/docs/UpstreamPulpResponse.md +3 -1
  32. data/docs/UsersApi.md +2 -2
  33. data/docs/UsersRolesApi.md +2 -2
  34. data/docs/WorkersApi.md +2 -2
  35. data/lib/pulpcore_client/api/access_policies_api.rb +2 -2
  36. data/lib/pulpcore_client/api/artifacts_api.rb +2 -2
  37. data/lib/pulpcore_client/api/content_api.rb +2 -2
  38. data/lib/pulpcore_client/api/contentguards_api.rb +2 -2
  39. data/lib/pulpcore_client/api/contentguards_composite_api.rb +2 -2
  40. data/lib/pulpcore_client/api/contentguards_content_redirect_api.rb +2 -2
  41. data/lib/pulpcore_client/api/contentguards_header_api.rb +2 -2
  42. data/lib/pulpcore_client/api/contentguards_rbac_api.rb +2 -2
  43. data/lib/pulpcore_client/api/distributions_api.rb +2 -2
  44. data/lib/pulpcore_client/api/distributions_artifacts_api.rb +2 -2
  45. data/lib/pulpcore_client/api/domains_api.rb +2 -2
  46. data/lib/pulpcore_client/api/exporters_filesystem_api.rb +2 -2
  47. data/lib/pulpcore_client/api/exporters_pulp_api.rb +2 -2
  48. data/lib/pulpcore_client/api/groups_api.rb +2 -2
  49. data/lib/pulpcore_client/api/groups_roles_api.rb +2 -2
  50. data/lib/pulpcore_client/api/importers_pulp_api.rb +2 -2
  51. data/lib/pulpcore_client/api/publications_api.rb +2 -2
  52. data/lib/pulpcore_client/api/remotes_api.rb +2 -2
  53. data/lib/pulpcore_client/api/repositories_api.rb +2 -2
  54. data/lib/pulpcore_client/api/repository_versions_api.rb +2 -2
  55. data/lib/pulpcore_client/api/roles_api.rb +2 -2
  56. data/lib/pulpcore_client/api/signing_services_api.rb +2 -2
  57. data/lib/pulpcore_client/api/task_groups_api.rb +70 -4
  58. data/lib/pulpcore_client/api/task_schedules_api.rb +2 -2
  59. data/lib/pulpcore_client/api/tasks_api.rb +2 -2
  60. data/lib/pulpcore_client/api/uploads_api.rb +2 -2
  61. data/lib/pulpcore_client/api/users_api.rb +2 -2
  62. data/lib/pulpcore_client/api/users_roles_api.rb +2 -2
  63. data/lib/pulpcore_client/api/workers_api.rb +2 -2
  64. data/lib/pulpcore_client/models/api_app_status_response.rb +1 -1
  65. data/lib/pulpcore_client/models/artifact.rb +1 -1
  66. data/lib/pulpcore_client/models/artifact_distribution_response.rb +53 -43
  67. data/lib/pulpcore_client/models/artifact_response.rb +1 -1
  68. data/lib/pulpcore_client/models/composite_content_guard.rb +1 -1
  69. data/lib/pulpcore_client/models/composite_content_guard_response.rb +1 -1
  70. data/lib/pulpcore_client/models/content_app_status_response.rb +1 -1
  71. data/lib/pulpcore_client/models/content_guard_response.rb +1 -1
  72. data/lib/pulpcore_client/models/distribution_response.rb +11 -1
  73. data/lib/pulpcore_client/models/group_progress_report_response.rb +1 -1
  74. data/lib/pulpcore_client/models/minimal_task_response.rb +1 -1
  75. data/lib/pulpcore_client/models/multiple_artifact_content_response.rb +1 -1
  76. data/lib/pulpcore_client/models/patched_composite_content_guard.rb +1 -1
  77. data/lib/pulpcore_client/models/patched_rbac_content_guard.rb +1 -1
  78. data/lib/pulpcore_client/models/patched_task_cancel.rb +0 -1
  79. data/lib/pulpcore_client/models/progress_report_response.rb +1 -1
  80. data/lib/pulpcore_client/models/publication_response.rb +1 -1
  81. data/lib/pulpcore_client/models/rbac_content_guard.rb +1 -1
  82. data/lib/pulpcore_client/models/rbac_content_guard_response.rb +1 -1
  83. data/lib/pulpcore_client/models/repository_response.rb +1 -1
  84. data/lib/pulpcore_client/models/repository_version_response.rb +1 -1
  85. data/lib/pulpcore_client/models/task_group_response.rb +1 -1
  86. data/lib/pulpcore_client/models/task_response.rb +1 -1
  87. data/lib/pulpcore_client/models/task_schedule_response.rb +1 -1
  88. data/lib/pulpcore_client/models/upstream_pulp_response.rb +15 -5
  89. data/lib/pulpcore_client/models/worker_response.rb +1 -1
  90. data/lib/pulpcore_client/version.rb +1 -1
  91. data/spec/api/access_policies_api_spec.rb +1 -1
  92. data/spec/api/artifacts_api_spec.rb +1 -1
  93. data/spec/api/content_api_spec.rb +1 -1
  94. data/spec/api/contentguards_api_spec.rb +1 -1
  95. data/spec/api/contentguards_composite_api_spec.rb +1 -1
  96. data/spec/api/contentguards_content_redirect_api_spec.rb +1 -1
  97. data/spec/api/contentguards_header_api_spec.rb +1 -1
  98. data/spec/api/contentguards_rbac_api_spec.rb +1 -1
  99. data/spec/api/distributions_api_spec.rb +1 -1
  100. data/spec/api/distributions_artifacts_api_spec.rb +1 -1
  101. data/spec/api/domains_api_spec.rb +1 -1
  102. data/spec/api/exporters_filesystem_api_spec.rb +1 -1
  103. data/spec/api/exporters_pulp_api_spec.rb +1 -1
  104. data/spec/api/groups_api_spec.rb +1 -1
  105. data/spec/api/groups_roles_api_spec.rb +1 -1
  106. data/spec/api/importers_pulp_api_spec.rb +1 -1
  107. data/spec/api/publications_api_spec.rb +1 -1
  108. data/spec/api/remotes_api_spec.rb +1 -1
  109. data/spec/api/repositories_api_spec.rb +1 -1
  110. data/spec/api/repository_versions_api_spec.rb +1 -1
  111. data/spec/api/roles_api_spec.rb +1 -1
  112. data/spec/api/signing_services_api_spec.rb +1 -1
  113. data/spec/api/task_groups_api_spec.rb +13 -2
  114. data/spec/api/task_schedules_api_spec.rb +1 -1
  115. data/spec/api/tasks_api_spec.rb +1 -1
  116. data/spec/api/uploads_api_spec.rb +1 -1
  117. data/spec/api/users_api_spec.rb +1 -1
  118. data/spec/api/users_roles_api_spec.rb +1 -1
  119. data/spec/api/workers_api_spec.rb +1 -1
  120. data/spec/models/artifact_distribution_response_spec.rb +13 -7
  121. data/spec/models/distribution_response_spec.rb +6 -0
  122. data/spec/models/upstream_pulp_response_spec.rb +6 -0
  123. metadata +2 -2
@@ -40,7 +40,7 @@ module PulpcoreClient
40
40
  # @option opts [String] :pulp_label_select Filter labels by search string
41
41
  # @option opts [String] :pulp_type Pulp type * `file.file` - file.file
42
42
  # @option opts [Array<String>] :pulp_type__in Multiple values may be separated by commas. * &#x60;file.file&#x60; - file.file
43
- # @option opts [String] :q
43
+ # @option opts [String] :q Filter results by using NOT, AND and OR operations on other filters
44
44
  # @option opts [String] :remote Foreign Key referenced by HREF
45
45
  # @option opts [Integer] :retain_repo_versions Filter results where retain_repo_versions matches value
46
46
  # @option opts [Integer] :retain_repo_versions__gt Filter results where retain_repo_versions is greater than value
@@ -80,7 +80,7 @@ module PulpcoreClient
80
80
  # @option opts [String] :pulp_label_select Filter labels by search string
81
81
  # @option opts [String] :pulp_type Pulp type * &#x60;file.file&#x60; - file.file
82
82
  # @option opts [Array<String>] :pulp_type__in Multiple values may be separated by commas. * &#x60;file.file&#x60; - file.file
83
- # @option opts [String] :q
83
+ # @option opts [String] :q Filter results by using NOT, AND and OR operations on other filters
84
84
  # @option opts [String] :remote Foreign Key referenced by HREF
85
85
  # @option opts [Integer] :retain_repo_versions Filter results where retain_repo_versions matches value
86
86
  # @option opts [Integer] :retain_repo_versions__gt Filter results where retain_repo_versions is greater than value
@@ -40,7 +40,7 @@ module PulpcoreClient
40
40
  # @option opts [DateTime] :pulp_created__lte Filter results where pulp_created is less than or equal to value
41
41
  # @option opts [Array<DateTime>] :pulp_created__range Filter results where pulp_created is between two comma separated values
42
42
  # @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
43
- # @option opts [String] :q
43
+ # @option opts [String] :q Filter results by using NOT, AND and OR operations on other filters
44
44
  # @option opts [Array<String>] :fields A list of fields to include in the response.
45
45
  # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
46
46
  # @return [PaginatedRepositoryVersionResponseList]
@@ -70,7 +70,7 @@ module PulpcoreClient
70
70
  # @option opts [DateTime] :pulp_created__lte Filter results where pulp_created is less than or equal to value
71
71
  # @option opts [Array<DateTime>] :pulp_created__range Filter results where pulp_created is between two comma separated values
72
72
  # @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
73
- # @option opts [String] :q
73
+ # @option opts [String] :q Filter results by using NOT, AND and OR operations on other filters
74
74
  # @option opts [Array<String>] :fields A list of fields to include in the response.
75
75
  # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
76
76
  # @return [Array<(PaginatedRepositoryVersionResponseList, Integer, Hash)>] PaginatedRepositoryVersionResponseList data, response status code and response headers
@@ -167,7 +167,7 @@ module PulpcoreClient
167
167
  # @option opts [Array<String>] :ordering Ordering * &#x60;pulp_id&#x60; - Pulp id * &#x60;-pulp_id&#x60; - Pulp id (descending) * &#x60;pulp_created&#x60; - Pulp created * &#x60;-pulp_created&#x60; - Pulp created (descending) * &#x60;pulp_last_updated&#x60; - Pulp last updated * &#x60;-pulp_last_updated&#x60; - Pulp last updated (descending) * &#x60;name&#x60; - Name * &#x60;-name&#x60; - Name (descending) * &#x60;description&#x60; - Description * &#x60;-description&#x60; - Description (descending) * &#x60;locked&#x60; - Locked * &#x60;-locked&#x60; - Locked (descending) * &#x60;pk&#x60; - Pk * &#x60;-pk&#x60; - Pk (descending)
168
168
  # @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
169
169
  # @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
170
- # @option opts [String] :q
170
+ # @option opts [String] :q Filter results by using NOT, AND and OR operations on other filters
171
171
  # @option opts [Array<String>] :fields A list of fields to include in the response.
172
172
  # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
173
173
  # @return [PaginatedRoleResponseList]
@@ -200,7 +200,7 @@ module PulpcoreClient
200
200
  # @option opts [Array<String>] :ordering Ordering * &#x60;pulp_id&#x60; - Pulp id * &#x60;-pulp_id&#x60; - Pulp id (descending) * &#x60;pulp_created&#x60; - Pulp created * &#x60;-pulp_created&#x60; - Pulp created (descending) * &#x60;pulp_last_updated&#x60; - Pulp last updated * &#x60;-pulp_last_updated&#x60; - Pulp last updated (descending) * &#x60;name&#x60; - Name * &#x60;-name&#x60; - Name (descending) * &#x60;description&#x60; - Description * &#x60;-description&#x60; - Description (descending) * &#x60;locked&#x60; - Locked * &#x60;-locked&#x60; - Locked (descending) * &#x60;pk&#x60; - Pk * &#x60;-pk&#x60; - Pk (descending)
201
201
  # @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
202
202
  # @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
203
- # @option opts [String] :q
203
+ # @option opts [String] :q Filter results by using NOT, AND and OR operations on other filters
204
204
  # @option opts [Array<String>] :fields A list of fields to include in the response.
205
205
  # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
206
206
  # @return [Array<(PaginatedRoleResponseList, Integer, Hash)>] PaginatedRoleResponseList data, response status code and response headers
@@ -28,7 +28,7 @@ module PulpcoreClient
28
28
  # @option opts [Array<String>] :ordering Ordering * &#x60;pulp_id&#x60; - Pulp id * &#x60;-pulp_id&#x60; - Pulp id (descending) * &#x60;pulp_created&#x60; - Pulp created * &#x60;-pulp_created&#x60; - Pulp created (descending) * &#x60;pulp_last_updated&#x60; - Pulp last updated * &#x60;-pulp_last_updated&#x60; - Pulp last updated (descending) * &#x60;name&#x60; - Name * &#x60;-name&#x60; - Name (descending) * &#x60;public_key&#x60; - Public key * &#x60;-public_key&#x60; - Public key (descending) * &#x60;pubkey_fingerprint&#x60; - Pubkey fingerprint * &#x60;-pubkey_fingerprint&#x60; - Pubkey fingerprint (descending) * &#x60;script&#x60; - Script * &#x60;-script&#x60; - Script (descending) * &#x60;pk&#x60; - Pk * &#x60;-pk&#x60; - Pk (descending)
29
29
  # @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
30
30
  # @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
31
- # @option opts [String] :q
31
+ # @option opts [String] :q Filter results by using NOT, AND and OR operations on other filters
32
32
  # @option opts [Array<String>] :fields A list of fields to include in the response.
33
33
  # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
34
34
  # @return [PaginatedSigningServiceResponseList]
@@ -46,7 +46,7 @@ module PulpcoreClient
46
46
  # @option opts [Array<String>] :ordering Ordering * &#x60;pulp_id&#x60; - Pulp id * &#x60;-pulp_id&#x60; - Pulp id (descending) * &#x60;pulp_created&#x60; - Pulp created * &#x60;-pulp_created&#x60; - Pulp created (descending) * &#x60;pulp_last_updated&#x60; - Pulp last updated * &#x60;-pulp_last_updated&#x60; - Pulp last updated (descending) * &#x60;name&#x60; - Name * &#x60;-name&#x60; - Name (descending) * &#x60;public_key&#x60; - Public key * &#x60;-public_key&#x60; - Public key (descending) * &#x60;pubkey_fingerprint&#x60; - Pubkey fingerprint * &#x60;-pubkey_fingerprint&#x60; - Pubkey fingerprint (descending) * &#x60;script&#x60; - Script * &#x60;-script&#x60; - Script (descending) * &#x60;pk&#x60; - Pk * &#x60;-pk&#x60; - Pk (descending)
47
47
  # @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
48
48
  # @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
49
- # @option opts [String] :q
49
+ # @option opts [String] :q Filter results by using NOT, AND and OR operations on other filters
50
50
  # @option opts [Array<String>] :fields A list of fields to include in the response.
51
51
  # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
52
52
  # @return [Array<(PaginatedSigningServiceResponseList, Integer, Hash)>] PaginatedSigningServiceResponseList data, response status code and response headers
@@ -20,7 +20,6 @@ module PulpcoreClient
20
20
  @api_client = api_client
21
21
  end
22
22
  # List task groups
23
- # A customized named ModelViewSet that knows how to register itself with the Pulp API router. This viewset is discoverable by its name. \"Normal\" Django Models and Master/Detail models are supported by the ``register_with`` method. Attributes: lookup_field (str): The name of the field by which an object should be looked up, in addition to any parent lookups if this ViewSet is nested. Defaults to 'pk' endpoint_name (str): The name of the final path segment that should identify the ViewSet's collection endpoint. nest_prefix (str): Optional prefix under which this ViewSet should be nested. This must correspond to the \"parent_prefix\" of a router with rest_framework_nested.NestedMixin. None indicates this ViewSet should not be nested. parent_lookup_kwargs (dict): Optional mapping of key names that would appear in self.kwargs to django model filter expressions that can be used with the corresponding value from self.kwargs, used only by a nested ViewSet to filter based on the parent object's identity. schema (DefaultSchema): The schema class to use by default in a viewset.
24
23
  # @param [Hash] opts the optional parameters
25
24
  # @option opts [Integer] :limit Number of results to return per page.
26
25
  # @option opts [Integer] :offset The initial index from which to return the results.
@@ -33,7 +32,6 @@ module PulpcoreClient
33
32
  end
34
33
 
35
34
  # List task groups
36
- # A customized named ModelViewSet that knows how to register itself with the Pulp API router. This viewset is discoverable by its name. \&quot;Normal\&quot; Django Models and Master/Detail models are supported by the &#x60;&#x60;register_with&#x60;&#x60; method. Attributes: lookup_field (str): The name of the field by which an object should be looked up, in addition to any parent lookups if this ViewSet is nested. Defaults to &#39;pk&#39; endpoint_name (str): The name of the final path segment that should identify the ViewSet&#39;s collection endpoint. nest_prefix (str): Optional prefix under which this ViewSet should be nested. This must correspond to the \&quot;parent_prefix\&quot; of a router with rest_framework_nested.NestedMixin. None indicates this ViewSet should not be nested. parent_lookup_kwargs (dict): Optional mapping of key names that would appear in self.kwargs to django model filter expressions that can be used with the corresponding value from self.kwargs, used only by a nested ViewSet to filter based on the parent object&#39;s identity. schema (DefaultSchema): The schema class to use by default in a viewset.
37
35
  # @param [Hash] opts the optional parameters
38
36
  # @option opts [Integer] :limit Number of results to return per page.
39
37
  # @option opts [Integer] :offset The initial index from which to return the results.
@@ -88,7 +86,6 @@ module PulpcoreClient
88
86
  end
89
87
 
90
88
  # Inspect a task group
91
- # A customized named ModelViewSet that knows how to register itself with the Pulp API router. This viewset is discoverable by its name. \"Normal\" Django Models and Master/Detail models are supported by the ``register_with`` method. Attributes: lookup_field (str): The name of the field by which an object should be looked up, in addition to any parent lookups if this ViewSet is nested. Defaults to 'pk' endpoint_name (str): The name of the final path segment that should identify the ViewSet's collection endpoint. nest_prefix (str): Optional prefix under which this ViewSet should be nested. This must correspond to the \"parent_prefix\" of a router with rest_framework_nested.NestedMixin. None indicates this ViewSet should not be nested. parent_lookup_kwargs (dict): Optional mapping of key names that would appear in self.kwargs to django model filter expressions that can be used with the corresponding value from self.kwargs, used only by a nested ViewSet to filter based on the parent object's identity. schema (DefaultSchema): The schema class to use by default in a viewset.
92
89
  # @param task_group_href [String]
93
90
  # @param [Hash] opts the optional parameters
94
91
  # @option opts [Array<String>] :fields A list of fields to include in the response.
@@ -100,7 +97,6 @@ module PulpcoreClient
100
97
  end
101
98
 
102
99
  # Inspect a task group
103
- # A customized named ModelViewSet that knows how to register itself with the Pulp API router. This viewset is discoverable by its name. \&quot;Normal\&quot; Django Models and Master/Detail models are supported by the &#x60;&#x60;register_with&#x60;&#x60; method. Attributes: lookup_field (str): The name of the field by which an object should be looked up, in addition to any parent lookups if this ViewSet is nested. Defaults to &#39;pk&#39; endpoint_name (str): The name of the final path segment that should identify the ViewSet&#39;s collection endpoint. nest_prefix (str): Optional prefix under which this ViewSet should be nested. This must correspond to the \&quot;parent_prefix\&quot; of a router with rest_framework_nested.NestedMixin. None indicates this ViewSet should not be nested. parent_lookup_kwargs (dict): Optional mapping of key names that would appear in self.kwargs to django model filter expressions that can be used with the corresponding value from self.kwargs, used only by a nested ViewSet to filter based on the parent object&#39;s identity. schema (DefaultSchema): The schema class to use by default in a viewset.
104
100
  # @param task_group_href [String]
105
101
  # @param [Hash] opts the optional parameters
106
102
  # @option opts [Array<String>] :fields A list of fields to include in the response.
@@ -154,5 +150,75 @@ module PulpcoreClient
154
150
  end
155
151
  return data, status_code, headers
156
152
  end
153
+
154
+ # Cancel a task group
155
+ # This operation cancels a task group.
156
+ # @param task_group_href [String]
157
+ # @param patched_task_cancel [PatchedTaskCancel]
158
+ # @param [Hash] opts the optional parameters
159
+ # @return [TaskGroupResponse]
160
+ def task_groups_cancel(task_group_href, patched_task_cancel, opts = {})
161
+ data, _status_code, _headers = task_groups_cancel_with_http_info(task_group_href, patched_task_cancel, opts)
162
+ data
163
+ end
164
+
165
+ # Cancel a task group
166
+ # This operation cancels a task group.
167
+ # @param task_group_href [String]
168
+ # @param patched_task_cancel [PatchedTaskCancel]
169
+ # @param [Hash] opts the optional parameters
170
+ # @return [Array<(TaskGroupResponse, Integer, Hash)>] TaskGroupResponse data, response status code and response headers
171
+ def task_groups_cancel_with_http_info(task_group_href, patched_task_cancel, opts = {})
172
+ if @api_client.config.debugging
173
+ @api_client.config.logger.debug 'Calling API: TaskGroupsApi.task_groups_cancel ...'
174
+ end
175
+ # verify the required parameter 'task_group_href' is set
176
+ if @api_client.config.client_side_validation && task_group_href.nil?
177
+ fail ArgumentError, "Missing the required parameter 'task_group_href' when calling TaskGroupsApi.task_groups_cancel"
178
+ end
179
+ # verify the required parameter 'patched_task_cancel' is set
180
+ if @api_client.config.client_side_validation && patched_task_cancel.nil?
181
+ fail ArgumentError, "Missing the required parameter 'patched_task_cancel' when calling TaskGroupsApi.task_groups_cancel"
182
+ end
183
+ # resource path
184
+ local_var_path = '{task_group_href}'.sub('{' + 'task_group_href' + '}', CGI.escape(task_group_href.to_s).gsub('%2F', '/'))
185
+
186
+ # query parameters
187
+ query_params = opts[:query_params] || {}
188
+
189
+ # header parameters
190
+ header_params = opts[:header_params] || {}
191
+ # HTTP header 'Accept' (if needed)
192
+ header_params['Accept'] = @api_client.select_header_accept(['application/json'])
193
+ # HTTP header 'Content-Type'
194
+ header_params['Content-Type'] = @api_client.select_header_content_type(['application/json', 'application/x-www-form-urlencoded', 'multipart/form-data'])
195
+
196
+ # form parameters
197
+ form_params = opts[:form_params] || {}
198
+
199
+ # http body (model)
200
+ post_body = opts[:body] || @api_client.object_to_http_body(patched_task_cancel)
201
+
202
+ # return_type
203
+ return_type = opts[:return_type] || 'TaskGroupResponse'
204
+
205
+ # auth_names
206
+ auth_names = opts[:auth_names] || ['basicAuth']
207
+
208
+ new_options = opts.merge(
209
+ :header_params => header_params,
210
+ :query_params => query_params,
211
+ :form_params => form_params,
212
+ :body => post_body,
213
+ :auth_names => auth_names,
214
+ :return_type => return_type
215
+ )
216
+
217
+ data, status_code, headers = @api_client.call_api(:PATCH, local_var_path, new_options)
218
+ if @api_client.config.debugging
219
+ @api_client.config.logger.debug "API called: TaskGroupsApi#task_groups_cancel\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
220
+ end
221
+ return data, status_code, headers
222
+ end
157
223
  end
158
224
  end
@@ -99,7 +99,7 @@ module PulpcoreClient
99
99
  # @option opts [Array<String>] :ordering Ordering * &#x60;pulp_id&#x60; - Pulp id * &#x60;-pulp_id&#x60; - Pulp id (descending) * &#x60;pulp_created&#x60; - Pulp created * &#x60;-pulp_created&#x60; - Pulp created (descending) * &#x60;pulp_last_updated&#x60; - Pulp last updated * &#x60;-pulp_last_updated&#x60; - Pulp last updated (descending) * &#x60;name&#x60; - Name * &#x60;-name&#x60; - Name (descending) * &#x60;next_dispatch&#x60; - Next dispatch * &#x60;-next_dispatch&#x60; - Next dispatch (descending) * &#x60;dispatch_interval&#x60; - Dispatch interval * &#x60;-dispatch_interval&#x60; - Dispatch interval (descending) * &#x60;task_name&#x60; - Task name * &#x60;-task_name&#x60; - Task name (descending) * &#x60;pk&#x60; - Pk * &#x60;-pk&#x60; - Pk (descending)
100
100
  # @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
101
101
  # @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
102
- # @option opts [String] :q
102
+ # @option opts [String] :q Filter results by using NOT, AND and OR operations on other filters
103
103
  # @option opts [String] :task_name Filter results where task_name matches value
104
104
  # @option opts [String] :task_name__contains Filter results where task_name contains value
105
105
  # @option opts [Array<String>] :fields A list of fields to include in the response.
@@ -120,7 +120,7 @@ module PulpcoreClient
120
120
  # @option opts [Array<String>] :ordering Ordering * &#x60;pulp_id&#x60; - Pulp id * &#x60;-pulp_id&#x60; - Pulp id (descending) * &#x60;pulp_created&#x60; - Pulp created * &#x60;-pulp_created&#x60; - Pulp created (descending) * &#x60;pulp_last_updated&#x60; - Pulp last updated * &#x60;-pulp_last_updated&#x60; - Pulp last updated (descending) * &#x60;name&#x60; - Name * &#x60;-name&#x60; - Name (descending) * &#x60;next_dispatch&#x60; - Next dispatch * &#x60;-next_dispatch&#x60; - Next dispatch (descending) * &#x60;dispatch_interval&#x60; - Dispatch interval * &#x60;-dispatch_interval&#x60; - Dispatch interval (descending) * &#x60;task_name&#x60; - Task name * &#x60;-task_name&#x60; - Task name (descending) * &#x60;pk&#x60; - Pk * &#x60;-pk&#x60; - Pk (descending)
121
121
  # @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
122
122
  # @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
123
- # @option opts [String] :q
123
+ # @option opts [String] :q Filter results by using NOT, AND and OR operations on other filters
124
124
  # @option opts [String] :task_name Filter results where task_name matches value
125
125
  # @option opts [String] :task_name__contains Filter results where task_name contains value
126
126
  # @option opts [Array<String>] :fields A list of fields to include in the response.
@@ -174,7 +174,7 @@ module PulpcoreClient
174
174
  # @option opts [String] :parent_task Filter results where parent_task matches value
175
175
  # @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
176
176
  # @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
177
- # @option opts [String] :q
177
+ # @option opts [String] :q Filter results by using NOT, AND and OR operations on other filters
178
178
  # @option opts [String] :reserved_resources
179
179
  # @option opts [Array<String>] :reserved_resources__in Multiple values may be separated by commas.
180
180
  # @option opts [String] :shared_resources
@@ -225,7 +225,7 @@ module PulpcoreClient
225
225
  # @option opts [String] :parent_task Filter results where parent_task matches value
226
226
  # @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
227
227
  # @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
228
- # @option opts [String] :q
228
+ # @option opts [String] :q Filter results by using NOT, AND and OR operations on other filters
229
229
  # @option opts [String] :reserved_resources
230
230
  # @option opts [Array<String>] :reserved_resources__in Multiple values may be separated by commas.
231
231
  # @option opts [String] :shared_resources
@@ -291,7 +291,7 @@ module PulpcoreClient
291
291
  # @option opts [Array<String>] :ordering Ordering * &#x60;pulp_id&#x60; - Pulp id * &#x60;-pulp_id&#x60; - Pulp id (descending) * &#x60;pulp_created&#x60; - Pulp created * &#x60;-pulp_created&#x60; - Pulp created (descending) * &#x60;pulp_last_updated&#x60; - Pulp last updated * &#x60;-pulp_last_updated&#x60; - Pulp last updated (descending) * &#x60;size&#x60; - Size * &#x60;-size&#x60; - Size (descending) * &#x60;pk&#x60; - Pk * &#x60;-pk&#x60; - Pk (descending)
292
292
  # @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
293
293
  # @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
294
- # @option opts [String] :q
294
+ # @option opts [String] :q Filter results by using NOT, AND and OR operations on other filters
295
295
  # @option opts [Integer] :size Filter results where size matches value
296
296
  # @option opts [Integer] :size__gt Filter results where size is greater than value
297
297
  # @option opts [Integer] :size__lt Filter results where size is less than value
@@ -312,7 +312,7 @@ module PulpcoreClient
312
312
  # @option opts [Array<String>] :ordering Ordering * &#x60;pulp_id&#x60; - Pulp id * &#x60;-pulp_id&#x60; - Pulp id (descending) * &#x60;pulp_created&#x60; - Pulp created * &#x60;-pulp_created&#x60; - Pulp created (descending) * &#x60;pulp_last_updated&#x60; - Pulp last updated * &#x60;-pulp_last_updated&#x60; - Pulp last updated (descending) * &#x60;size&#x60; - Size * &#x60;-size&#x60; - Size (descending) * &#x60;pk&#x60; - Pk * &#x60;-pk&#x60; - Pk (descending)
313
313
  # @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
314
314
  # @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
315
- # @option opts [String] :q
315
+ # @option opts [String] :q Filter results by using NOT, AND and OR operations on other filters
316
316
  # @option opts [Integer] :size Filter results where size matches value
317
317
  # @option opts [Integer] :size__gt Filter results where size is greater than value
318
318
  # @option opts [Integer] :size__lt Filter results where size is less than value
@@ -168,7 +168,7 @@ module PulpcoreClient
168
168
  # @option opts [Array<String>] :ordering Ordering * &#x60;id&#x60; - Id * &#x60;-id&#x60; - Id (descending) * &#x60;password&#x60; - Password * &#x60;-password&#x60; - Password (descending) * &#x60;last_login&#x60; - Last login * &#x60;-last_login&#x60; - Last login (descending) * &#x60;is_superuser&#x60; - Is superuser * &#x60;-is_superuser&#x60; - Is superuser (descending) * &#x60;username&#x60; - Username * &#x60;-username&#x60; - Username (descending) * &#x60;first_name&#x60; - First name * &#x60;-first_name&#x60; - First name (descending) * &#x60;last_name&#x60; - Last name * &#x60;-last_name&#x60; - Last name (descending) * &#x60;email&#x60; - Email * &#x60;-email&#x60; - Email (descending) * &#x60;is_staff&#x60; - Is staff * &#x60;-is_staff&#x60; - Is staff (descending) * &#x60;is_active&#x60; - Is active * &#x60;-is_active&#x60; - Is active (descending) * &#x60;date_joined&#x60; - Date joined * &#x60;-date_joined&#x60; - Date joined (descending) * &#x60;pk&#x60; - Pk * &#x60;-pk&#x60; - Pk (descending)
169
169
  # @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
170
170
  # @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
171
- # @option opts [String] :q
171
+ # @option opts [String] :q Filter results by using NOT, AND and OR operations on other filters
172
172
  # @option opts [String] :username Filter results where username matches value
173
173
  # @option opts [String] :username__contains Filter results where username contains value
174
174
  # @option opts [String] :username__icontains Filter results where username contains value
@@ -207,7 +207,7 @@ module PulpcoreClient
207
207
  # @option opts [Array<String>] :ordering Ordering * &#x60;id&#x60; - Id * &#x60;-id&#x60; - Id (descending) * &#x60;password&#x60; - Password * &#x60;-password&#x60; - Password (descending) * &#x60;last_login&#x60; - Last login * &#x60;-last_login&#x60; - Last login (descending) * &#x60;is_superuser&#x60; - Is superuser * &#x60;-is_superuser&#x60; - Is superuser (descending) * &#x60;username&#x60; - Username * &#x60;-username&#x60; - Username (descending) * &#x60;first_name&#x60; - First name * &#x60;-first_name&#x60; - First name (descending) * &#x60;last_name&#x60; - Last name * &#x60;-last_name&#x60; - Last name (descending) * &#x60;email&#x60; - Email * &#x60;-email&#x60; - Email (descending) * &#x60;is_staff&#x60; - Is staff * &#x60;-is_staff&#x60; - Is staff (descending) * &#x60;is_active&#x60; - Is active * &#x60;-is_active&#x60; - Is active (descending) * &#x60;date_joined&#x60; - Date joined * &#x60;-date_joined&#x60; - Date joined (descending) * &#x60;pk&#x60; - Pk * &#x60;-pk&#x60; - Pk (descending)
208
208
  # @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
209
209
  # @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
210
- # @option opts [String] :q
210
+ # @option opts [String] :q Filter results by using NOT, AND and OR operations on other filters
211
211
  # @option opts [String] :username Filter results where username matches value
212
212
  # @option opts [String] :username__contains Filter results where username contains value
213
213
  # @option opts [String] :username__icontains Filter results where username contains value
@@ -160,7 +160,7 @@ module PulpcoreClient
160
160
  # @option opts [Array<String>] :ordering Ordering * &#x60;role&#x60; - Role * &#x60;-role&#x60; - Role (descending) * &#x60;description&#x60; - Description * &#x60;-description&#x60; - Description (descending) * &#x60;pulp_created&#x60; - Pulp created * &#x60;-pulp_created&#x60; - Pulp created (descending) * &#x60;pk&#x60; - Pk * &#x60;-pk&#x60; - Pk (descending)
161
161
  # @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
162
162
  # @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
163
- # @option opts [String] :q
163
+ # @option opts [String] :q Filter results by using NOT, AND and OR operations on other filters
164
164
  # @option opts [String] :role
165
165
  # @option opts [String] :role__contains
166
166
  # @option opts [String] :role__icontains
@@ -185,7 +185,7 @@ module PulpcoreClient
185
185
  # @option opts [Array<String>] :ordering Ordering * &#x60;role&#x60; - Role * &#x60;-role&#x60; - Role (descending) * &#x60;description&#x60; - Description * &#x60;-description&#x60; - Description (descending) * &#x60;pulp_created&#x60; - Pulp created * &#x60;-pulp_created&#x60; - Pulp created (descending) * &#x60;pk&#x60; - Pk * &#x60;-pk&#x60; - Pk (descending)
186
186
  # @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
187
187
  # @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
188
- # @option opts [String] :q
188
+ # @option opts [String] :q Filter results by using NOT, AND and OR operations on other filters
189
189
  # @option opts [String] :role
190
190
  # @option opts [String] :role__contains
191
191
  # @option opts [String] :role__icontains
@@ -44,7 +44,7 @@ module PulpcoreClient
44
44
  # @option opts [Array<String>] :ordering Ordering * &#x60;pulp_id&#x60; - Pulp id * &#x60;-pulp_id&#x60; - Pulp id (descending) * &#x60;pulp_created&#x60; - Pulp created * &#x60;-pulp_created&#x60; - Pulp created (descending) * &#x60;pulp_last_updated&#x60; - Pulp last updated * &#x60;-pulp_last_updated&#x60; - Pulp last updated (descending) * &#x60;name&#x60; - Name * &#x60;-name&#x60; - Name (descending) * &#x60;last_heartbeat&#x60; - Last heartbeat * &#x60;-last_heartbeat&#x60; - Last heartbeat (descending) * &#x60;versions&#x60; - Versions * &#x60;-versions&#x60; - Versions (descending) * &#x60;pk&#x60; - Pk * &#x60;-pk&#x60; - Pk (descending)
45
45
  # @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
46
46
  # @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
47
- # @option opts [String] :q
47
+ # @option opts [String] :q Filter results by using NOT, AND and OR operations on other filters
48
48
  # @option opts [Array<String>] :fields A list of fields to include in the response.
49
49
  # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
50
50
  # @return [PaginatedWorkerResponseList]
@@ -78,7 +78,7 @@ module PulpcoreClient
78
78
  # @option opts [Array<String>] :ordering Ordering * &#x60;pulp_id&#x60; - Pulp id * &#x60;-pulp_id&#x60; - Pulp id (descending) * &#x60;pulp_created&#x60; - Pulp created * &#x60;-pulp_created&#x60; - Pulp created (descending) * &#x60;pulp_last_updated&#x60; - Pulp last updated * &#x60;-pulp_last_updated&#x60; - Pulp last updated (descending) * &#x60;name&#x60; - Name * &#x60;-name&#x60; - Name (descending) * &#x60;last_heartbeat&#x60; - Last heartbeat * &#x60;-last_heartbeat&#x60; - Last heartbeat (descending) * &#x60;versions&#x60; - Versions * &#x60;-versions&#x60; - Versions (descending) * &#x60;pk&#x60; - Pk * &#x60;-pk&#x60; - Pk (descending)
79
79
  # @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
80
80
  # @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
81
- # @option opts [String] :q
81
+ # @option opts [String] :q Filter results by using NOT, AND and OR operations on other filters
82
82
  # @option opts [Array<String>] :fields A list of fields to include in the response.
83
83
  # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
84
84
  # @return [Array<(PaginatedWorkerResponseList, Integer, Hash)>] PaginatedWorkerResponseList data, response status code and response headers
@@ -13,7 +13,7 @@ OpenAPI Generator version: 4.3.1
13
13
  require 'date'
14
14
 
15
15
  module PulpcoreClient
16
- # Base serializer for use with :class:`pulpcore.app.models.Model` This ensures that all Serializers provide values for the 'pulp_href` field. The class provides a default for the ``ref_name`` attribute in the ModelSerializers's ``Meta`` class. This ensures that the OpenAPI definitions of plugins are namespaced properly.
16
+ # Base serializer for use with [pulpcore.app.models.Model][] This ensures that all Serializers provide values for the 'pulp_href` field. The class provides a default for the ``ref_name`` attribute in the ModelSerializers's ``Meta`` class. This ensures that the OpenAPI definitions of plugins are namespaced properly.
17
17
  class ApiAppStatusResponse
18
18
  # The name of the worker.
19
19
  attr_accessor :name
@@ -13,7 +13,7 @@ OpenAPI Generator version: 4.3.1
13
13
  require 'date'
14
14
 
15
15
  module PulpcoreClient
16
- # Base serializer for use with :class:`pulpcore.app.models.Model` This ensures that all Serializers provide values for the 'pulp_href` field. The class provides a default for the ``ref_name`` attribute in the ModelSerializers's ``Meta`` class. This ensures that the OpenAPI definitions of plugins are namespaced properly.
16
+ # Base serializer for use with [pulpcore.app.models.Model][] This ensures that all Serializers provide values for the 'pulp_href` field. The class provides a default for the ``ref_name`` attribute in the ModelSerializers's ``Meta`` class. This ensures that the OpenAPI definitions of plugins are namespaced properly.
17
17
  class Artifact
18
18
  # The stored file.
19
19
  attr_accessor :file
@@ -15,58 +15,63 @@ require 'date'
15
15
  module PulpcoreClient
16
16
  # A serializer for ArtifactDistribution.
17
17
  class ArtifactDistributionResponse
18
- attr_accessor :pulp_href
18
+ attr_accessor :pulp_labels
19
19
 
20
- # The URL for accessing the publication as defined by this distribution.
21
- attr_accessor :base_url
20
+ attr_accessor :pulp_href
22
21
 
23
22
  # The base (relative) path component of the published url. Avoid paths that overlap with other distribution base paths (e.g. \"foo\" and \"foo/bar\")
24
23
  attr_accessor :base_path
25
24
 
26
- # Timestamp of the last time this resource was updated. Note: for immutable resources - like content, repository versions, and publication - pulp_created and pulp_last_updated dates will be the same.
27
- attr_accessor :pulp_last_updated
25
+ # The URL for accessing the publication as defined by this distribution.
26
+ attr_accessor :base_url
28
27
 
29
- # A unique name. Ex, `rawhide` and `stable`.
30
- attr_accessor :name
28
+ # Timestamp of creation.
29
+ attr_accessor :pulp_created
31
30
 
32
31
  # Whether this distribution should be shown in the content app.
33
32
  attr_accessor :hidden
34
33
 
35
- # Timestamp of creation.
36
- attr_accessor :pulp_created
37
-
38
34
  # An optional content-guard.
39
35
  attr_accessor :content_guard
40
36
 
41
- attr_accessor :pulp_labels
37
+ # Timestamp of the last time this resource was updated. Note: for immutable resources - like content, repository versions, and publication - pulp_created and pulp_last_updated dates will be the same.
38
+ attr_accessor :pulp_last_updated
39
+
40
+ # A unique name. Ex, `rawhide` and `stable`.
41
+ attr_accessor :name
42
+
43
+ # Timestamp since when the distributed content served by this distribution has not changed. If equals to `null`, no guarantee is provided about content changes.
44
+ attr_accessor :no_content_change_since
42
45
 
43
46
  # Attribute mapping from ruby-style variable name to JSON key.
44
47
  def self.attribute_map
45
48
  {
49
+ :'pulp_labels' => :'pulp_labels',
46
50
  :'pulp_href' => :'pulp_href',
47
- :'base_url' => :'base_url',
48
51
  :'base_path' => :'base_path',
49
- :'pulp_last_updated' => :'pulp_last_updated',
50
- :'name' => :'name',
51
- :'hidden' => :'hidden',
52
+ :'base_url' => :'base_url',
52
53
  :'pulp_created' => :'pulp_created',
54
+ :'hidden' => :'hidden',
53
55
  :'content_guard' => :'content_guard',
54
- :'pulp_labels' => :'pulp_labels'
56
+ :'pulp_last_updated' => :'pulp_last_updated',
57
+ :'name' => :'name',
58
+ :'no_content_change_since' => :'no_content_change_since'
55
59
  }
56
60
  end
57
61
 
58
62
  # Attribute type mapping.
59
63
  def self.openapi_types
60
64
  {
65
+ :'pulp_labels' => :'Hash<String, String>',
61
66
  :'pulp_href' => :'String',
62
- :'base_url' => :'String',
63
67
  :'base_path' => :'String',
64
- :'pulp_last_updated' => :'DateTime',
65
- :'name' => :'String',
66
- :'hidden' => :'Boolean',
68
+ :'base_url' => :'String',
67
69
  :'pulp_created' => :'DateTime',
70
+ :'hidden' => :'Boolean',
68
71
  :'content_guard' => :'String',
69
- :'pulp_labels' => :'Hash<String, String>'
72
+ :'pulp_last_updated' => :'DateTime',
73
+ :'name' => :'String',
74
+ :'no_content_change_since' => :'String'
70
75
  }
71
76
  end
72
77
 
@@ -92,24 +97,26 @@ module PulpcoreClient
92
97
  h[k.to_sym] = v
93
98
  }
94
99
 
95
- if attributes.key?(:'pulp_href')
96
- self.pulp_href = attributes[:'pulp_href']
100
+ if attributes.key?(:'pulp_labels')
101
+ if (value = attributes[:'pulp_labels']).is_a?(Hash)
102
+ self.pulp_labels = value
103
+ end
97
104
  end
98
105
 
99
- if attributes.key?(:'base_url')
100
- self.base_url = attributes[:'base_url']
106
+ if attributes.key?(:'pulp_href')
107
+ self.pulp_href = attributes[:'pulp_href']
101
108
  end
102
109
 
103
110
  if attributes.key?(:'base_path')
104
111
  self.base_path = attributes[:'base_path']
105
112
  end
106
113
 
107
- if attributes.key?(:'pulp_last_updated')
108
- self.pulp_last_updated = attributes[:'pulp_last_updated']
114
+ if attributes.key?(:'base_url')
115
+ self.base_url = attributes[:'base_url']
109
116
  end
110
117
 
111
- if attributes.key?(:'name')
112
- self.name = attributes[:'name']
118
+ if attributes.key?(:'pulp_created')
119
+ self.pulp_created = attributes[:'pulp_created']
113
120
  end
114
121
 
115
122
  if attributes.key?(:'hidden')
@@ -118,18 +125,20 @@ module PulpcoreClient
118
125
  self.hidden = false
119
126
  end
120
127
 
121
- if attributes.key?(:'pulp_created')
122
- self.pulp_created = attributes[:'pulp_created']
123
- end
124
-
125
128
  if attributes.key?(:'content_guard')
126
129
  self.content_guard = attributes[:'content_guard']
127
130
  end
128
131
 
129
- if attributes.key?(:'pulp_labels')
130
- if (value = attributes[:'pulp_labels']).is_a?(Hash)
131
- self.pulp_labels = value
132
- end
132
+ if attributes.key?(:'pulp_last_updated')
133
+ self.pulp_last_updated = attributes[:'pulp_last_updated']
134
+ end
135
+
136
+ if attributes.key?(:'name')
137
+ self.name = attributes[:'name']
138
+ end
139
+
140
+ if attributes.key?(:'no_content_change_since')
141
+ self.no_content_change_since = attributes[:'no_content_change_since']
133
142
  end
134
143
  end
135
144
 
@@ -161,15 +170,16 @@ module PulpcoreClient
161
170
  def ==(o)
162
171
  return true if self.equal?(o)
163
172
  self.class == o.class &&
173
+ pulp_labels == o.pulp_labels &&
164
174
  pulp_href == o.pulp_href &&
165
- base_url == o.base_url &&
166
175
  base_path == o.base_path &&
167
- pulp_last_updated == o.pulp_last_updated &&
168
- name == o.name &&
169
- hidden == o.hidden &&
176
+ base_url == o.base_url &&
170
177
  pulp_created == o.pulp_created &&
178
+ hidden == o.hidden &&
171
179
  content_guard == o.content_guard &&
172
- pulp_labels == o.pulp_labels
180
+ pulp_last_updated == o.pulp_last_updated &&
181
+ name == o.name &&
182
+ no_content_change_since == o.no_content_change_since
173
183
  end
174
184
 
175
185
  # @see the `==` method
@@ -181,7 +191,7 @@ module PulpcoreClient
181
191
  # Calculates hash code according to all attributes.
182
192
  # @return [Integer] Hash code
183
193
  def hash
184
- [pulp_href, base_url, base_path, pulp_last_updated, name, hidden, pulp_created, content_guard, pulp_labels].hash
194
+ [pulp_labels, pulp_href, base_path, base_url, pulp_created, hidden, content_guard, pulp_last_updated, name, no_content_change_since].hash
185
195
  end
186
196
 
187
197
  # Builds the object from hash
@@ -13,7 +13,7 @@ OpenAPI Generator version: 4.3.1
13
13
  require 'date'
14
14
 
15
15
  module PulpcoreClient
16
- # Base serializer for use with :class:`pulpcore.app.models.Model` This ensures that all Serializers provide values for the 'pulp_href` field. The class provides a default for the ``ref_name`` attribute in the ModelSerializers's ``Meta`` class. This ensures that the OpenAPI definitions of plugins are namespaced properly.
16
+ # Base serializer for use with [pulpcore.app.models.Model][] This ensures that all Serializers provide values for the 'pulp_href` field. The class provides a default for the ``ref_name`` attribute in the ModelSerializers's ``Meta`` class. This ensures that the OpenAPI definitions of plugins are namespaced properly.
17
17
  class ArtifactResponse
18
18
  attr_accessor :pulp_href
19
19
 
@@ -13,7 +13,7 @@ OpenAPI Generator version: 4.3.1
13
13
  require 'date'
14
14
 
15
15
  module PulpcoreClient
16
- # Base serializer for use with :class:`pulpcore.app.models.Model` This ensures that all Serializers provide values for the 'pulp_href` field. The class provides a default for the ``ref_name`` attribute in the ModelSerializers's ``Meta`` class. This ensures that the OpenAPI definitions of plugins are namespaced properly.
16
+ # Base serializer for use with [pulpcore.app.models.Model][] This ensures that all Serializers provide values for the 'pulp_href` field. The class provides a default for the ``ref_name`` attribute in the ModelSerializers's ``Meta`` class. This ensures that the OpenAPI definitions of plugins are namespaced properly.
17
17
  class CompositeContentGuard
18
18
  # The unique name.
19
19
  attr_accessor :name
@@ -13,7 +13,7 @@ OpenAPI Generator version: 4.3.1
13
13
  require 'date'
14
14
 
15
15
  module PulpcoreClient
16
- # Base serializer for use with :class:`pulpcore.app.models.Model` This ensures that all Serializers provide values for the 'pulp_href` field. The class provides a default for the ``ref_name`` attribute in the ModelSerializers's ``Meta`` class. This ensures that the OpenAPI definitions of plugins are namespaced properly.
16
+ # Base serializer for use with [pulpcore.app.models.Model][] This ensures that all Serializers provide values for the 'pulp_href` field. The class provides a default for the ``ref_name`` attribute in the ModelSerializers's ``Meta`` class. This ensures that the OpenAPI definitions of plugins are namespaced properly.
17
17
  class CompositeContentGuardResponse
18
18
  attr_accessor :pulp_href
19
19
 
@@ -13,7 +13,7 @@ OpenAPI Generator version: 4.3.1
13
13
  require 'date'
14
14
 
15
15
  module PulpcoreClient
16
- # Base serializer for use with :class:`pulpcore.app.models.Model` This ensures that all Serializers provide values for the 'pulp_href` field. The class provides a default for the ``ref_name`` attribute in the ModelSerializers's ``Meta`` class. This ensures that the OpenAPI definitions of plugins are namespaced properly.
16
+ # Base serializer for use with [pulpcore.app.models.Model][] This ensures that all Serializers provide values for the 'pulp_href` field. The class provides a default for the ``ref_name`` attribute in the ModelSerializers's ``Meta`` class. This ensures that the OpenAPI definitions of plugins are namespaced properly.
17
17
  class ContentAppStatusResponse
18
18
  # The name of the worker.
19
19
  attr_accessor :name
@@ -13,7 +13,7 @@ OpenAPI Generator version: 4.3.1
13
13
  require 'date'
14
14
 
15
15
  module PulpcoreClient
16
- # Base serializer for use with :class:`pulpcore.app.models.Model` This ensures that all Serializers provide values for the 'pulp_href` field. The class provides a default for the ``ref_name`` attribute in the ModelSerializers's ``Meta`` class. This ensures that the OpenAPI definitions of plugins are namespaced properly.
16
+ # Base serializer for use with [pulpcore.app.models.Model][] This ensures that all Serializers provide values for the 'pulp_href` field. The class provides a default for the ``ref_name`` attribute in the ModelSerializers's ``Meta`` class. This ensures that the OpenAPI definitions of plugins are namespaced properly.
17
17
  class ContentGuardResponse
18
18
  attr_accessor :pulp_href
19
19
 
@@ -32,6 +32,9 @@ module PulpcoreClient
32
32
  # An optional content-guard.
33
33
  attr_accessor :content_guard
34
34
 
35
+ # Timestamp since when the distributed content served by this distribution has not changed. If equals to `null`, no guarantee is provided about content changes.
36
+ attr_accessor :no_content_change_since
37
+
35
38
  # Whether this distribution should be shown in the content app.
36
39
  attr_accessor :hidden
37
40
 
@@ -52,6 +55,7 @@ module PulpcoreClient
52
55
  :'base_path' => :'base_path',
53
56
  :'base_url' => :'base_url',
54
57
  :'content_guard' => :'content_guard',
58
+ :'no_content_change_since' => :'no_content_change_since',
55
59
  :'hidden' => :'hidden',
56
60
  :'pulp_labels' => :'pulp_labels',
57
61
  :'name' => :'name',
@@ -68,6 +72,7 @@ module PulpcoreClient
68
72
  :'base_path' => :'String',
69
73
  :'base_url' => :'String',
70
74
  :'content_guard' => :'String',
75
+ :'no_content_change_since' => :'String',
71
76
  :'hidden' => :'Boolean',
72
77
  :'pulp_labels' => :'Hash<String, String>',
73
78
  :'name' => :'String',
@@ -122,6 +127,10 @@ module PulpcoreClient
122
127
  self.content_guard = attributes[:'content_guard']
123
128
  end
124
129
 
130
+ if attributes.key?(:'no_content_change_since')
131
+ self.no_content_change_since = attributes[:'no_content_change_since']
132
+ end
133
+
125
134
  if attributes.key?(:'hidden')
126
135
  self.hidden = attributes[:'hidden']
127
136
  else
@@ -177,6 +186,7 @@ module PulpcoreClient
177
186
  base_path == o.base_path &&
178
187
  base_url == o.base_url &&
179
188
  content_guard == o.content_guard &&
189
+ no_content_change_since == o.no_content_change_since &&
180
190
  hidden == o.hidden &&
181
191
  pulp_labels == o.pulp_labels &&
182
192
  name == o.name &&
@@ -192,7 +202,7 @@ module PulpcoreClient
192
202
  # Calculates hash code according to all attributes.
193
203
  # @return [Integer] Hash code
194
204
  def hash
195
- [pulp_href, pulp_created, pulp_last_updated, base_path, base_url, content_guard, hidden, pulp_labels, name, repository].hash
205
+ [pulp_href, pulp_created, pulp_last_updated, base_path, base_url, content_guard, no_content_change_since, hidden, pulp_labels, name, repository].hash
196
206
  end
197
207
 
198
208
  # Builds the object from hash