pulp_deb_client 3.5.1 → 3.5.2

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 (124) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +31 -4
  3. data/docs/ContentGenericContentsApi.md +152 -2
  4. data/docs/ContentInstallerFileIndicesApi.md +150 -2
  5. data/docs/ContentInstallerPackagesApi.md +152 -2
  6. data/docs/ContentPackageIndicesApi.md +150 -2
  7. data/docs/ContentPackageReleaseComponentsApi.md +150 -2
  8. data/docs/ContentPackagesApi.md +152 -2
  9. data/docs/ContentReleaseArchitecturesApi.md +150 -2
  10. data/docs/ContentReleaseComponentsApi.md +150 -2
  11. data/docs/ContentReleaseFilesApi.md +150 -2
  12. data/docs/ContentReleasesApi.md +150 -2
  13. data/docs/ContentSourceIndicesApi.md +150 -2
  14. data/docs/ContentSourcePackagesApi.md +150 -2
  15. data/docs/ContentSourceReleaseComponentsApi.md +150 -2
  16. data/docs/DebGenericContentResponse.md +2 -0
  17. data/docs/DebInstallerFileIndex.md +2 -0
  18. data/docs/DebInstallerFileIndexResponse.md +2 -0
  19. data/docs/DebInstallerPackageResponse.md +2 -0
  20. data/docs/DebPackageIndex.md +2 -0
  21. data/docs/DebPackageIndexResponse.md +2 -0
  22. data/docs/DebPackageReleaseComponent.md +2 -0
  23. data/docs/DebPackageReleaseComponentResponse.md +2 -0
  24. data/docs/DebPackageResponse.md +2 -0
  25. data/docs/DebRelease.md +2 -0
  26. data/docs/DebReleaseArchitecture.md +2 -0
  27. data/docs/DebReleaseArchitectureResponse.md +2 -0
  28. data/docs/DebReleaseComponent.md +2 -0
  29. data/docs/DebReleaseComponentResponse.md +2 -0
  30. data/docs/DebReleaseFile.md +2 -0
  31. data/docs/DebReleaseFileResponse.md +2 -0
  32. data/docs/DebReleaseResponse.md +2 -0
  33. data/docs/DebSourceIndex.md +2 -0
  34. data/docs/DebSourceIndexResponse.md +2 -0
  35. data/docs/DebSourcePackage.md +2 -0
  36. data/docs/DebSourcePackageReleaseComponent.md +2 -0
  37. data/docs/DebSourcePackageReleaseComponentResponse.md +2 -0
  38. data/docs/DebSourcePackageResponse.md +2 -0
  39. data/docs/DistributionsAptApi.md +4 -2
  40. data/docs/PublicationsAptApi.md +4 -2
  41. data/docs/PublicationsVerbatimApi.md +4 -2
  42. data/lib/pulp_deb_client/api/content_generic_contents_api.rb +157 -3
  43. data/lib/pulp_deb_client/api/content_installer_file_indices_api.rb +154 -3
  44. data/lib/pulp_deb_client/api/content_installer_packages_api.rb +157 -3
  45. data/lib/pulp_deb_client/api/content_package_indices_api.rb +154 -3
  46. data/lib/pulp_deb_client/api/content_package_release_components_api.rb +154 -3
  47. data/lib/pulp_deb_client/api/content_packages_api.rb +157 -3
  48. data/lib/pulp_deb_client/api/content_release_architectures_api.rb +154 -3
  49. data/lib/pulp_deb_client/api/content_release_components_api.rb +154 -3
  50. data/lib/pulp_deb_client/api/content_release_files_api.rb +154 -3
  51. data/lib/pulp_deb_client/api/content_releases_api.rb +154 -3
  52. data/lib/pulp_deb_client/api/content_source_indices_api.rb +154 -3
  53. data/lib/pulp_deb_client/api/content_source_packages_api.rb +154 -3
  54. data/lib/pulp_deb_client/api/content_source_release_components_api.rb +154 -3
  55. data/lib/pulp_deb_client/api/distributions_apt_api.rb +6 -3
  56. data/lib/pulp_deb_client/api/publications_apt_api.rb +6 -3
  57. data/lib/pulp_deb_client/api/publications_verbatim_api.rb +6 -3
  58. data/lib/pulp_deb_client/models/deb_generic_content_response.rb +13 -1
  59. data/lib/pulp_deb_client/models/deb_installer_file_index.rb +13 -1
  60. data/lib/pulp_deb_client/models/deb_installer_file_index_response.rb +13 -1
  61. data/lib/pulp_deb_client/models/deb_installer_package_response.rb +13 -1
  62. data/lib/pulp_deb_client/models/deb_package_index.rb +13 -1
  63. data/lib/pulp_deb_client/models/deb_package_index_response.rb +13 -1
  64. data/lib/pulp_deb_client/models/deb_package_release_component.rb +13 -1
  65. data/lib/pulp_deb_client/models/deb_package_release_component_response.rb +13 -1
  66. data/lib/pulp_deb_client/models/deb_package_response.rb +13 -1
  67. data/lib/pulp_deb_client/models/deb_release.rb +13 -1
  68. data/lib/pulp_deb_client/models/deb_release_architecture.rb +13 -1
  69. data/lib/pulp_deb_client/models/deb_release_architecture_response.rb +13 -1
  70. data/lib/pulp_deb_client/models/deb_release_component.rb +13 -1
  71. data/lib/pulp_deb_client/models/deb_release_component_response.rb +13 -1
  72. data/lib/pulp_deb_client/models/deb_release_file.rb +13 -1
  73. data/lib/pulp_deb_client/models/deb_release_file_response.rb +13 -1
  74. data/lib/pulp_deb_client/models/deb_release_response.rb +13 -1
  75. data/lib/pulp_deb_client/models/deb_source_index.rb +13 -1
  76. data/lib/pulp_deb_client/models/deb_source_index_response.rb +13 -1
  77. data/lib/pulp_deb_client/models/deb_source_package.rb +13 -1
  78. data/lib/pulp_deb_client/models/deb_source_package_release_component.rb +13 -1
  79. data/lib/pulp_deb_client/models/deb_source_package_release_component_response.rb +13 -1
  80. data/lib/pulp_deb_client/models/deb_source_package_response.rb +13 -1
  81. data/lib/pulp_deb_client/models/unset_label.rb +1 -1
  82. data/lib/pulp_deb_client/models/unset_label_response.rb +1 -1
  83. data/lib/pulp_deb_client/version.rb +1 -1
  84. data/pulp_deb_client.gemspec +0 -1
  85. data/spec/api/content_generic_contents_api_spec.rb +29 -1
  86. data/spec/api/content_installer_file_indices_api_spec.rb +28 -1
  87. data/spec/api/content_installer_packages_api_spec.rb +29 -1
  88. data/spec/api/content_package_indices_api_spec.rb +28 -1
  89. data/spec/api/content_package_release_components_api_spec.rb +28 -1
  90. data/spec/api/content_packages_api_spec.rb +29 -1
  91. data/spec/api/content_release_architectures_api_spec.rb +28 -1
  92. data/spec/api/content_release_components_api_spec.rb +28 -1
  93. data/spec/api/content_release_files_api_spec.rb +28 -1
  94. data/spec/api/content_releases_api_spec.rb +28 -1
  95. data/spec/api/content_source_indices_api_spec.rb +28 -1
  96. data/spec/api/content_source_packages_api_spec.rb +28 -1
  97. data/spec/api/content_source_release_components_api_spec.rb +28 -1
  98. data/spec/api/distributions_apt_api_spec.rb +2 -1
  99. data/spec/api/publications_apt_api_spec.rb +2 -1
  100. data/spec/api/publications_verbatim_api_spec.rb +2 -1
  101. data/spec/models/deb_generic_content_response_spec.rb +6 -0
  102. data/spec/models/deb_installer_file_index_response_spec.rb +6 -0
  103. data/spec/models/deb_installer_file_index_spec.rb +6 -0
  104. data/spec/models/deb_installer_package_response_spec.rb +6 -0
  105. data/spec/models/deb_package_index_response_spec.rb +6 -0
  106. data/spec/models/deb_package_index_spec.rb +6 -0
  107. data/spec/models/deb_package_release_component_response_spec.rb +6 -0
  108. data/spec/models/deb_package_release_component_spec.rb +6 -0
  109. data/spec/models/deb_package_response_spec.rb +6 -0
  110. data/spec/models/deb_release_architecture_response_spec.rb +6 -0
  111. data/spec/models/deb_release_architecture_spec.rb +6 -0
  112. data/spec/models/deb_release_component_response_spec.rb +6 -0
  113. data/spec/models/deb_release_component_spec.rb +6 -0
  114. data/spec/models/deb_release_file_response_spec.rb +6 -0
  115. data/spec/models/deb_release_file_spec.rb +6 -0
  116. data/spec/models/deb_release_response_spec.rb +6 -0
  117. data/spec/models/deb_release_spec.rb +6 -0
  118. data/spec/models/deb_source_index_response_spec.rb +6 -0
  119. data/spec/models/deb_source_index_spec.rb +6 -0
  120. data/spec/models/deb_source_package_release_component_response_spec.rb +6 -0
  121. data/spec/models/deb_source_package_release_component_spec.rb +6 -0
  122. data/spec/models/deb_source_package_response_spec.rb +6 -0
  123. data/spec/models/deb_source_package_spec.rb +6 -0
  124. metadata +73 -93
@@ -23,6 +23,7 @@ module PulpDebClient
23
23
  # Trigger an asynchronous task to create content,optionally create new repository version.
24
24
  # @param [Hash] opts the optional parameters
25
25
  # @option opts [String] :repository A URI of a repository the new content unit should be associated with.
26
+ # @option opts [Hash<String, String>] :pulp_labels A dictionary of arbitrary key/value pairs used to describe a specific Content instance.
26
27
  # @option opts [String] :artifact Artifact file representing the physical content
27
28
  # @option opts [String] :relative_path Path where the artifact is located relative to distributions base_path
28
29
  # @option opts [File] :file An uploaded file that may be turned into the content unit.
@@ -40,6 +41,7 @@ module PulpDebClient
40
41
  # Trigger an asynchronous task to create content,optionally create new repository version.
41
42
  # @param [Hash] opts the optional parameters
42
43
  # @option opts [String] :repository A URI of a repository the new content unit should be associated with.
44
+ # @option opts [Hash<String, String>] :pulp_labels A dictionary of arbitrary key/value pairs used to describe a specific Content instance.
43
45
  # @option opts [String] :artifact Artifact file representing the physical content
44
46
  # @option opts [String] :relative_path Path where the artifact is located relative to distributions base_path
45
47
  # @option opts [File] :file An uploaded file that may be turned into the content unit.
@@ -87,6 +89,7 @@ module PulpDebClient
87
89
  # form parameters
88
90
  form_params = opts[:form_params] || {}
89
91
  form_params['repository'] = opts[:'repository'] if !opts[:'repository'].nil?
92
+ form_params['pulp_labels'] = opts[:'pulp_labels'] if !opts[:'pulp_labels'].nil?
90
93
  form_params['artifact'] = opts[:'artifact'] if !opts[:'artifact'].nil?
91
94
  form_params['relative_path'] = opts[:'relative_path'] if !opts[:'relative_path'].nil?
92
95
  form_params['file'] = opts[:'file'] if !opts[:'file'].nil?
@@ -134,7 +137,7 @@ module PulpDebClient
134
137
  # @option opts [String] :maintainer Filter results where maintainer matches value
135
138
  # @option opts [String] :multi_arch Filter results where multi_arch matches value * &#x60;no&#x60; - no * &#x60;same&#x60; - same * &#x60;foreign&#x60; - foreign * &#x60;allowed&#x60; - allowed
136
139
  # @option opts [Integer] :offset The initial index from which to return the results.
137
- # @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;pulp_type&#x60; - Pulp type * &#x60;-pulp_type&#x60; - Pulp type (descending) * &#x60;upstream_id&#x60; - Upstream id * &#x60;-upstream_id&#x60; - Upstream id (descending) * &#x60;timestamp_of_interest&#x60; - Timestamp of interest * &#x60;-timestamp_of_interest&#x60; - Timestamp of interest (descending) * &#x60;package&#x60; - Package * &#x60;-package&#x60; - Package (descending) * &#x60;source&#x60; - Source * &#x60;-source&#x60; - Source (descending) * &#x60;version&#x60; - Version * &#x60;-version&#x60; - Version (descending) * &#x60;architecture&#x60; - Architecture * &#x60;-architecture&#x60; - Architecture (descending) * &#x60;section&#x60; - Section * &#x60;-section&#x60; - Section (descending) * &#x60;priority&#x60; - Priority * &#x60;-priority&#x60; - Priority (descending) * &#x60;origin&#x60; - Origin * &#x60;-origin&#x60; - Origin (descending) * &#x60;tag&#x60; - Tag * &#x60;-tag&#x60; - Tag (descending) * &#x60;bugs&#x60; - Bugs * &#x60;-bugs&#x60; - Bugs (descending) * &#x60;essential&#x60; - Essential * &#x60;-essential&#x60; - Essential (descending) * &#x60;build_essential&#x60; - Build essential * &#x60;-build_essential&#x60; - Build essential (descending) * &#x60;installed_size&#x60; - Installed size * &#x60;-installed_size&#x60; - Installed size (descending) * &#x60;maintainer&#x60; - Maintainer * &#x60;-maintainer&#x60; - Maintainer (descending) * &#x60;original_maintainer&#x60; - Original maintainer * &#x60;-original_maintainer&#x60; - Original maintainer (descending) * &#x60;description&#x60; - Description * &#x60;-description&#x60; - Description (descending) * &#x60;description_md5&#x60; - Description md5 * &#x60;-description_md5&#x60; - Description md5 (descending) * &#x60;homepage&#x60; - Homepage * &#x60;-homepage&#x60; - Homepage (descending) * &#x60;built_using&#x60; - Built using * &#x60;-built_using&#x60; - Built using (descending) * &#x60;auto_built_package&#x60; - Auto built package * &#x60;-auto_built_package&#x60; - Auto built package (descending) * &#x60;multi_arch&#x60; - Multi arch * &#x60;-multi_arch&#x60; - Multi arch (descending) * &#x60;breaks&#x60; - Breaks * &#x60;-breaks&#x60; - Breaks (descending) * &#x60;conflicts&#x60; - Conflicts * &#x60;-conflicts&#x60; - Conflicts (descending) * &#x60;depends&#x60; - Depends * &#x60;-depends&#x60; - Depends (descending) * &#x60;recommends&#x60; - Recommends * &#x60;-recommends&#x60; - Recommends (descending) * &#x60;suggests&#x60; - Suggests * &#x60;-suggests&#x60; - Suggests (descending) * &#x60;enhances&#x60; - Enhances * &#x60;-enhances&#x60; - Enhances (descending) * &#x60;pre_depends&#x60; - Pre depends * &#x60;-pre_depends&#x60; - Pre depends (descending) * &#x60;provides&#x60; - Provides * &#x60;-provides&#x60; - Provides (descending) * &#x60;replaces&#x60; - Replaces * &#x60;-replaces&#x60; - Replaces (descending) * &#x60;relative_path&#x60; - Relative path * &#x60;-relative_path&#x60; - Relative path (descending) * &#x60;sha256&#x60; - Sha256 * &#x60;-sha256&#x60; - Sha256 (descending) * &#x60;custom_fields&#x60; - Custom fields * &#x60;-custom_fields&#x60; - Custom fields (descending) * &#x60;pk&#x60; - Pk * &#x60;-pk&#x60; - Pk (descending)
140
+ # @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;pulp_type&#x60; - Pulp type * &#x60;-pulp_type&#x60; - Pulp type (descending) * &#x60;upstream_id&#x60; - Upstream id * &#x60;-upstream_id&#x60; - Upstream id (descending) * &#x60;pulp_labels&#x60; - Pulp labels * &#x60;-pulp_labels&#x60; - Pulp labels (descending) * &#x60;timestamp_of_interest&#x60; - Timestamp of interest * &#x60;-timestamp_of_interest&#x60; - Timestamp of interest (descending) * &#x60;package&#x60; - Package * &#x60;-package&#x60; - Package (descending) * &#x60;source&#x60; - Source * &#x60;-source&#x60; - Source (descending) * &#x60;version&#x60; - Version * &#x60;-version&#x60; - Version (descending) * &#x60;architecture&#x60; - Architecture * &#x60;-architecture&#x60; - Architecture (descending) * &#x60;section&#x60; - Section * &#x60;-section&#x60; - Section (descending) * &#x60;priority&#x60; - Priority * &#x60;-priority&#x60; - Priority (descending) * &#x60;origin&#x60; - Origin * &#x60;-origin&#x60; - Origin (descending) * &#x60;tag&#x60; - Tag * &#x60;-tag&#x60; - Tag (descending) * &#x60;bugs&#x60; - Bugs * &#x60;-bugs&#x60; - Bugs (descending) * &#x60;essential&#x60; - Essential * &#x60;-essential&#x60; - Essential (descending) * &#x60;build_essential&#x60; - Build essential * &#x60;-build_essential&#x60; - Build essential (descending) * &#x60;installed_size&#x60; - Installed size * &#x60;-installed_size&#x60; - Installed size (descending) * &#x60;maintainer&#x60; - Maintainer * &#x60;-maintainer&#x60; - Maintainer (descending) * &#x60;original_maintainer&#x60; - Original maintainer * &#x60;-original_maintainer&#x60; - Original maintainer (descending) * &#x60;description&#x60; - Description * &#x60;-description&#x60; - Description (descending) * &#x60;description_md5&#x60; - Description md5 * &#x60;-description_md5&#x60; - Description md5 (descending) * &#x60;homepage&#x60; - Homepage * &#x60;-homepage&#x60; - Homepage (descending) * &#x60;built_using&#x60; - Built using * &#x60;-built_using&#x60; - Built using (descending) * &#x60;auto_built_package&#x60; - Auto built package * &#x60;-auto_built_package&#x60; - Auto built package (descending) * &#x60;multi_arch&#x60; - Multi arch * &#x60;-multi_arch&#x60; - Multi arch (descending) * &#x60;breaks&#x60; - Breaks * &#x60;-breaks&#x60; - Breaks (descending) * &#x60;conflicts&#x60; - Conflicts * &#x60;-conflicts&#x60; - Conflicts (descending) * &#x60;depends&#x60; - Depends * &#x60;-depends&#x60; - Depends (descending) * &#x60;recommends&#x60; - Recommends * &#x60;-recommends&#x60; - Recommends (descending) * &#x60;suggests&#x60; - Suggests * &#x60;-suggests&#x60; - Suggests (descending) * &#x60;enhances&#x60; - Enhances * &#x60;-enhances&#x60; - Enhances (descending) * &#x60;pre_depends&#x60; - Pre depends * &#x60;-pre_depends&#x60; - Pre depends (descending) * &#x60;provides&#x60; - Provides * &#x60;-provides&#x60; - Provides (descending) * &#x60;replaces&#x60; - Replaces * &#x60;-replaces&#x60; - Replaces (descending) * &#x60;relative_path&#x60; - Relative path * &#x60;-relative_path&#x60; - Relative path (descending) * &#x60;sha256&#x60; - Sha256 * &#x60;-sha256&#x60; - Sha256 (descending) * &#x60;custom_fields&#x60; - Custom fields * &#x60;-custom_fields&#x60; - Custom fields (descending) * &#x60;pk&#x60; - Pk * &#x60;-pk&#x60; - Pk (descending)
138
141
  # @option opts [String] :origin Filter results where origin matches value
139
142
  # @option opts [String] :original_maintainer Filter results where original_maintainer matches value
140
143
  # @option opts [Float] :orphaned_for Minutes Content has been orphaned for. -1 uses ORPHAN_PROTECTION_TIME.
@@ -151,6 +154,7 @@ module PulpDebClient
151
154
  # @option opts [Array<String>] :prn__in Multiple values may be separated by commas.
152
155
  # @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
153
156
  # @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
157
+ # @option opts [String] :pulp_label_select Filter labels by search string
154
158
  # @option opts [String] :q Filter results by using NOT, AND and OR operations on other filters
155
159
  # @option opts [String] :relative_path Filter results where relative_path matches value
156
160
  # @option opts [String] :release Must be a comma-separated string: \&quot;release_href,repository_or_repository_version_href\&quot; release_href: Filter results where Package in Release repository_or_repository_version_href: The RepositoryVersion href to filter by, or Repository href (assume latest version)
@@ -184,7 +188,7 @@ module PulpDebClient
184
188
  # @option opts [String] :maintainer Filter results where maintainer matches value
185
189
  # @option opts [String] :multi_arch Filter results where multi_arch matches value * &#x60;no&#x60; - no * &#x60;same&#x60; - same * &#x60;foreign&#x60; - foreign * &#x60;allowed&#x60; - allowed
186
190
  # @option opts [Integer] :offset The initial index from which to return the results.
187
- # @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;pulp_type&#x60; - Pulp type * &#x60;-pulp_type&#x60; - Pulp type (descending) * &#x60;upstream_id&#x60; - Upstream id * &#x60;-upstream_id&#x60; - Upstream id (descending) * &#x60;timestamp_of_interest&#x60; - Timestamp of interest * &#x60;-timestamp_of_interest&#x60; - Timestamp of interest (descending) * &#x60;package&#x60; - Package * &#x60;-package&#x60; - Package (descending) * &#x60;source&#x60; - Source * &#x60;-source&#x60; - Source (descending) * &#x60;version&#x60; - Version * &#x60;-version&#x60; - Version (descending) * &#x60;architecture&#x60; - Architecture * &#x60;-architecture&#x60; - Architecture (descending) * &#x60;section&#x60; - Section * &#x60;-section&#x60; - Section (descending) * &#x60;priority&#x60; - Priority * &#x60;-priority&#x60; - Priority (descending) * &#x60;origin&#x60; - Origin * &#x60;-origin&#x60; - Origin (descending) * &#x60;tag&#x60; - Tag * &#x60;-tag&#x60; - Tag (descending) * &#x60;bugs&#x60; - Bugs * &#x60;-bugs&#x60; - Bugs (descending) * &#x60;essential&#x60; - Essential * &#x60;-essential&#x60; - Essential (descending) * &#x60;build_essential&#x60; - Build essential * &#x60;-build_essential&#x60; - Build essential (descending) * &#x60;installed_size&#x60; - Installed size * &#x60;-installed_size&#x60; - Installed size (descending) * &#x60;maintainer&#x60; - Maintainer * &#x60;-maintainer&#x60; - Maintainer (descending) * &#x60;original_maintainer&#x60; - Original maintainer * &#x60;-original_maintainer&#x60; - Original maintainer (descending) * &#x60;description&#x60; - Description * &#x60;-description&#x60; - Description (descending) * &#x60;description_md5&#x60; - Description md5 * &#x60;-description_md5&#x60; - Description md5 (descending) * &#x60;homepage&#x60; - Homepage * &#x60;-homepage&#x60; - Homepage (descending) * &#x60;built_using&#x60; - Built using * &#x60;-built_using&#x60; - Built using (descending) * &#x60;auto_built_package&#x60; - Auto built package * &#x60;-auto_built_package&#x60; - Auto built package (descending) * &#x60;multi_arch&#x60; - Multi arch * &#x60;-multi_arch&#x60; - Multi arch (descending) * &#x60;breaks&#x60; - Breaks * &#x60;-breaks&#x60; - Breaks (descending) * &#x60;conflicts&#x60; - Conflicts * &#x60;-conflicts&#x60; - Conflicts (descending) * &#x60;depends&#x60; - Depends * &#x60;-depends&#x60; - Depends (descending) * &#x60;recommends&#x60; - Recommends * &#x60;-recommends&#x60; - Recommends (descending) * &#x60;suggests&#x60; - Suggests * &#x60;-suggests&#x60; - Suggests (descending) * &#x60;enhances&#x60; - Enhances * &#x60;-enhances&#x60; - Enhances (descending) * &#x60;pre_depends&#x60; - Pre depends * &#x60;-pre_depends&#x60; - Pre depends (descending) * &#x60;provides&#x60; - Provides * &#x60;-provides&#x60; - Provides (descending) * &#x60;replaces&#x60; - Replaces * &#x60;-replaces&#x60; - Replaces (descending) * &#x60;relative_path&#x60; - Relative path * &#x60;-relative_path&#x60; - Relative path (descending) * &#x60;sha256&#x60; - Sha256 * &#x60;-sha256&#x60; - Sha256 (descending) * &#x60;custom_fields&#x60; - Custom fields * &#x60;-custom_fields&#x60; - Custom fields (descending) * &#x60;pk&#x60; - Pk * &#x60;-pk&#x60; - Pk (descending)
191
+ # @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;pulp_type&#x60; - Pulp type * &#x60;-pulp_type&#x60; - Pulp type (descending) * &#x60;upstream_id&#x60; - Upstream id * &#x60;-upstream_id&#x60; - Upstream id (descending) * &#x60;pulp_labels&#x60; - Pulp labels * &#x60;-pulp_labels&#x60; - Pulp labels (descending) * &#x60;timestamp_of_interest&#x60; - Timestamp of interest * &#x60;-timestamp_of_interest&#x60; - Timestamp of interest (descending) * &#x60;package&#x60; - Package * &#x60;-package&#x60; - Package (descending) * &#x60;source&#x60; - Source * &#x60;-source&#x60; - Source (descending) * &#x60;version&#x60; - Version * &#x60;-version&#x60; - Version (descending) * &#x60;architecture&#x60; - Architecture * &#x60;-architecture&#x60; - Architecture (descending) * &#x60;section&#x60; - Section * &#x60;-section&#x60; - Section (descending) * &#x60;priority&#x60; - Priority * &#x60;-priority&#x60; - Priority (descending) * &#x60;origin&#x60; - Origin * &#x60;-origin&#x60; - Origin (descending) * &#x60;tag&#x60; - Tag * &#x60;-tag&#x60; - Tag (descending) * &#x60;bugs&#x60; - Bugs * &#x60;-bugs&#x60; - Bugs (descending) * &#x60;essential&#x60; - Essential * &#x60;-essential&#x60; - Essential (descending) * &#x60;build_essential&#x60; - Build essential * &#x60;-build_essential&#x60; - Build essential (descending) * &#x60;installed_size&#x60; - Installed size * &#x60;-installed_size&#x60; - Installed size (descending) * &#x60;maintainer&#x60; - Maintainer * &#x60;-maintainer&#x60; - Maintainer (descending) * &#x60;original_maintainer&#x60; - Original maintainer * &#x60;-original_maintainer&#x60; - Original maintainer (descending) * &#x60;description&#x60; - Description * &#x60;-description&#x60; - Description (descending) * &#x60;description_md5&#x60; - Description md5 * &#x60;-description_md5&#x60; - Description md5 (descending) * &#x60;homepage&#x60; - Homepage * &#x60;-homepage&#x60; - Homepage (descending) * &#x60;built_using&#x60; - Built using * &#x60;-built_using&#x60; - Built using (descending) * &#x60;auto_built_package&#x60; - Auto built package * &#x60;-auto_built_package&#x60; - Auto built package (descending) * &#x60;multi_arch&#x60; - Multi arch * &#x60;-multi_arch&#x60; - Multi arch (descending) * &#x60;breaks&#x60; - Breaks * &#x60;-breaks&#x60; - Breaks (descending) * &#x60;conflicts&#x60; - Conflicts * &#x60;-conflicts&#x60; - Conflicts (descending) * &#x60;depends&#x60; - Depends * &#x60;-depends&#x60; - Depends (descending) * &#x60;recommends&#x60; - Recommends * &#x60;-recommends&#x60; - Recommends (descending) * &#x60;suggests&#x60; - Suggests * &#x60;-suggests&#x60; - Suggests (descending) * &#x60;enhances&#x60; - Enhances * &#x60;-enhances&#x60; - Enhances (descending) * &#x60;pre_depends&#x60; - Pre depends * &#x60;-pre_depends&#x60; - Pre depends (descending) * &#x60;provides&#x60; - Provides * &#x60;-provides&#x60; - Provides (descending) * &#x60;replaces&#x60; - Replaces * &#x60;-replaces&#x60; - Replaces (descending) * &#x60;relative_path&#x60; - Relative path * &#x60;-relative_path&#x60; - Relative path (descending) * &#x60;sha256&#x60; - Sha256 * &#x60;-sha256&#x60; - Sha256 (descending) * &#x60;custom_fields&#x60; - Custom fields * &#x60;-custom_fields&#x60; - Custom fields (descending) * &#x60;pk&#x60; - Pk * &#x60;-pk&#x60; - Pk (descending)
188
192
  # @option opts [String] :origin Filter results where origin matches value
189
193
  # @option opts [String] :original_maintainer Filter results where original_maintainer matches value
190
194
  # @option opts [Float] :orphaned_for Minutes Content has been orphaned for. -1 uses ORPHAN_PROTECTION_TIME.
@@ -201,6 +205,7 @@ module PulpDebClient
201
205
  # @option opts [Array<String>] :prn__in Multiple values may be separated by commas.
202
206
  # @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
203
207
  # @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
208
+ # @option opts [String] :pulp_label_select Filter labels by search string
204
209
  # @option opts [String] :q Filter results by using NOT, AND and OR operations on other filters
205
210
  # @option opts [String] :relative_path Filter results where relative_path matches value
206
211
  # @option opts [String] :release Must be a comma-separated string: \&quot;release_href,repository_or_repository_version_href\&quot; release_href: Filter results where Package in Release repository_or_repository_version_href: The RepositoryVersion href to filter by, or Repository href (assume latest version)
@@ -224,7 +229,7 @@ module PulpDebClient
224
229
  if @api_client.config.client_side_validation && opts[:'multi_arch'] && !allowable_values.include?(opts[:'multi_arch'])
225
230
  fail ArgumentError, "invalid value for \"multi_arch\", must be one of #{allowable_values}"
226
231
  end
227
- allowable_values = ["-architecture", "-auto_built_package", "-breaks", "-bugs", "-build_essential", "-built_using", "-conflicts", "-custom_fields", "-depends", "-description", "-description_md5", "-enhances", "-essential", "-homepage", "-installed_size", "-maintainer", "-multi_arch", "-origin", "-original_maintainer", "-package", "-pk", "-pre_depends", "-priority", "-provides", "-pulp_created", "-pulp_id", "-pulp_last_updated", "-pulp_type", "-recommends", "-relative_path", "-replaces", "-section", "-sha256", "-source", "-suggests", "-tag", "-timestamp_of_interest", "-upstream_id", "-version", "architecture", "auto_built_package", "breaks", "bugs", "build_essential", "built_using", "conflicts", "custom_fields", "depends", "description", "description_md5", "enhances", "essential", "homepage", "installed_size", "maintainer", "multi_arch", "origin", "original_maintainer", "package", "pk", "pre_depends", "priority", "provides", "pulp_created", "pulp_id", "pulp_last_updated", "pulp_type", "recommends", "relative_path", "replaces", "section", "sha256", "source", "suggests", "tag", "timestamp_of_interest", "upstream_id", "version"]
232
+ allowable_values = ["-architecture", "-auto_built_package", "-breaks", "-bugs", "-build_essential", "-built_using", "-conflicts", "-custom_fields", "-depends", "-description", "-description_md5", "-enhances", "-essential", "-homepage", "-installed_size", "-maintainer", "-multi_arch", "-origin", "-original_maintainer", "-package", "-pk", "-pre_depends", "-priority", "-provides", "-pulp_created", "-pulp_id", "-pulp_labels", "-pulp_last_updated", "-pulp_type", "-recommends", "-relative_path", "-replaces", "-section", "-sha256", "-source", "-suggests", "-tag", "-timestamp_of_interest", "-upstream_id", "-version", "architecture", "auto_built_package", "breaks", "bugs", "build_essential", "built_using", "conflicts", "custom_fields", "depends", "description", "description_md5", "enhances", "essential", "homepage", "installed_size", "maintainer", "multi_arch", "origin", "original_maintainer", "package", "pk", "pre_depends", "priority", "provides", "pulp_created", "pulp_id", "pulp_labels", "pulp_last_updated", "pulp_type", "recommends", "relative_path", "replaces", "section", "sha256", "source", "suggests", "tag", "timestamp_of_interest", "upstream_id", "version"]
228
233
  if @api_client.config.client_side_validation && opts[:'ordering'] && !opts[:'ordering'].all? { |item| allowable_values.include?(item) }
229
234
  fail ArgumentError, "invalid value for \"ordering\", must include one of #{allowable_values}"
230
235
  end
@@ -260,6 +265,7 @@ module PulpDebClient
260
265
  query_params[:'prn__in'] = @api_client.build_collection_param(opts[:'prn__in'], :csv) if !opts[:'prn__in'].nil?
261
266
  query_params[:'pulp_href__in'] = @api_client.build_collection_param(opts[:'pulp_href__in'], :csv) if !opts[:'pulp_href__in'].nil?
262
267
  query_params[:'pulp_id__in'] = @api_client.build_collection_param(opts[:'pulp_id__in'], :csv) if !opts[:'pulp_id__in'].nil?
268
+ query_params[:'pulp_label_select'] = opts[:'pulp_label_select'] if !opts[:'pulp_label_select'].nil?
263
269
  query_params[:'q'] = opts[:'q'] if !opts[:'q'].nil?
264
270
  query_params[:'relative_path'] = opts[:'relative_path'] if !opts[:'relative_path'].nil?
265
271
  query_params[:'release'] = opts[:'release'] if !opts[:'release'].nil?
@@ -377,5 +383,153 @@ module PulpDebClient
377
383
  end
378
384
  return data, status_code, headers
379
385
  end
386
+
387
+ # Set a label
388
+ # Set a single pulp_label on the object to a specific value or null.
389
+ # @param deb_package_href [String]
390
+ # @param set_label [SetLabel]
391
+ # @param [Hash] opts the optional parameters
392
+ # @return [SetLabelResponse]
393
+ def set_label(deb_package_href, set_label, opts = {})
394
+ data, _status_code, _headers = set_label_with_http_info(deb_package_href, set_label, opts)
395
+ data
396
+ end
397
+
398
+ # Set a label
399
+ # Set a single pulp_label on the object to a specific value or null.
400
+ # @param deb_package_href [String]
401
+ # @param set_label [SetLabel]
402
+ # @param [Hash] opts the optional parameters
403
+ # @return [Array<(SetLabelResponse, Integer, Hash)>] SetLabelResponse data, response status code and response headers
404
+ def set_label_with_http_info(deb_package_href, set_label, opts = {})
405
+ if @api_client.config.debugging
406
+ @api_client.config.logger.debug 'Calling API: ContentPackagesApi.set_label ...'
407
+ end
408
+ # verify the required parameter 'deb_package_href' is set
409
+ if @api_client.config.client_side_validation && deb_package_href.nil?
410
+ fail ArgumentError, "Missing the required parameter 'deb_package_href' when calling ContentPackagesApi.set_label"
411
+ end
412
+ # verify the required parameter 'set_label' is set
413
+ if @api_client.config.client_side_validation && set_label.nil?
414
+ fail ArgumentError, "Missing the required parameter 'set_label' when calling ContentPackagesApi.set_label"
415
+ end
416
+ # resource path
417
+ local_var_path = '{deb_package_href}set_label/'.sub('{' + 'deb_package_href' + '}', CGI.escape(deb_package_href.to_s).gsub('%2F', '/'))
418
+
419
+ # query parameters
420
+ query_params = opts[:query_params] || {}
421
+
422
+ # header parameters
423
+ header_params = opts[:header_params] || {}
424
+ # HTTP header 'Accept' (if needed)
425
+ header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
426
+ # HTTP header 'Content-Type'
427
+ content_type = @api_client.select_header_content_type(['application/json', 'application/x-www-form-urlencoded', 'multipart/form-data'])
428
+ if !content_type.nil?
429
+ header_params['Content-Type'] = content_type
430
+ end
431
+
432
+ # form parameters
433
+ form_params = opts[:form_params] || {}
434
+
435
+ # http body (model)
436
+ post_body = opts[:debug_body] || @api_client.object_to_http_body(set_label)
437
+
438
+ # return_type
439
+ return_type = opts[:debug_return_type] || 'SetLabelResponse'
440
+
441
+ # auth_names
442
+ auth_names = opts[:debug_auth_names] || ['basicAuth']
443
+
444
+ new_options = opts.merge(
445
+ :operation => :"ContentPackagesApi.set_label",
446
+ :header_params => header_params,
447
+ :query_params => query_params,
448
+ :form_params => form_params,
449
+ :body => post_body,
450
+ :auth_names => auth_names,
451
+ :return_type => return_type
452
+ )
453
+
454
+ data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
455
+ if @api_client.config.debugging
456
+ @api_client.config.logger.debug "API called: ContentPackagesApi#set_label\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
457
+ end
458
+ return data, status_code, headers
459
+ end
460
+
461
+ # Unset a label
462
+ # Unset a single pulp_label on the object.
463
+ # @param deb_package_href [String]
464
+ # @param unset_label [UnsetLabel]
465
+ # @param [Hash] opts the optional parameters
466
+ # @return [UnsetLabelResponse]
467
+ def unset_label(deb_package_href, unset_label, opts = {})
468
+ data, _status_code, _headers = unset_label_with_http_info(deb_package_href, unset_label, opts)
469
+ data
470
+ end
471
+
472
+ # Unset a label
473
+ # Unset a single pulp_label on the object.
474
+ # @param deb_package_href [String]
475
+ # @param unset_label [UnsetLabel]
476
+ # @param [Hash] opts the optional parameters
477
+ # @return [Array<(UnsetLabelResponse, Integer, Hash)>] UnsetLabelResponse data, response status code and response headers
478
+ def unset_label_with_http_info(deb_package_href, unset_label, opts = {})
479
+ if @api_client.config.debugging
480
+ @api_client.config.logger.debug 'Calling API: ContentPackagesApi.unset_label ...'
481
+ end
482
+ # verify the required parameter 'deb_package_href' is set
483
+ if @api_client.config.client_side_validation && deb_package_href.nil?
484
+ fail ArgumentError, "Missing the required parameter 'deb_package_href' when calling ContentPackagesApi.unset_label"
485
+ end
486
+ # verify the required parameter 'unset_label' is set
487
+ if @api_client.config.client_side_validation && unset_label.nil?
488
+ fail ArgumentError, "Missing the required parameter 'unset_label' when calling ContentPackagesApi.unset_label"
489
+ end
490
+ # resource path
491
+ local_var_path = '{deb_package_href}unset_label/'.sub('{' + 'deb_package_href' + '}', CGI.escape(deb_package_href.to_s).gsub('%2F', '/'))
492
+
493
+ # query parameters
494
+ query_params = opts[:query_params] || {}
495
+
496
+ # header parameters
497
+ header_params = opts[:header_params] || {}
498
+ # HTTP header 'Accept' (if needed)
499
+ header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
500
+ # HTTP header 'Content-Type'
501
+ content_type = @api_client.select_header_content_type(['application/json', 'application/x-www-form-urlencoded', 'multipart/form-data'])
502
+ if !content_type.nil?
503
+ header_params['Content-Type'] = content_type
504
+ end
505
+
506
+ # form parameters
507
+ form_params = opts[:form_params] || {}
508
+
509
+ # http body (model)
510
+ post_body = opts[:debug_body] || @api_client.object_to_http_body(unset_label)
511
+
512
+ # return_type
513
+ return_type = opts[:debug_return_type] || 'UnsetLabelResponse'
514
+
515
+ # auth_names
516
+ auth_names = opts[:debug_auth_names] || ['basicAuth']
517
+
518
+ new_options = opts.merge(
519
+ :operation => :"ContentPackagesApi.unset_label",
520
+ :header_params => header_params,
521
+ :query_params => query_params,
522
+ :form_params => form_params,
523
+ :body => post_body,
524
+ :auth_names => auth_names,
525
+ :return_type => return_type
526
+ )
527
+
528
+ data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
529
+ if @api_client.config.debugging
530
+ @api_client.config.logger.debug "API called: ContentPackagesApi#unset_label\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
531
+ end
532
+ return data, status_code, headers
533
+ end
380
534
  end
381
535
  end
@@ -94,11 +94,12 @@ module PulpDebClient
94
94
  # @option opts [String] :distribution Filter results where distribution matches value
95
95
  # @option opts [Integer] :limit Number of results to return per page.
96
96
  # @option opts [Integer] :offset The initial index from which to return the results.
97
- # @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;pulp_type&#x60; - Pulp type * &#x60;-pulp_type&#x60; - Pulp type (descending) * &#x60;upstream_id&#x60; - Upstream id * &#x60;-upstream_id&#x60; - Upstream id (descending) * &#x60;timestamp_of_interest&#x60; - Timestamp of interest * &#x60;-timestamp_of_interest&#x60; - Timestamp of interest (descending) * &#x60;distribution&#x60; - Distribution * &#x60;-distribution&#x60; - Distribution (descending) * &#x60;architecture&#x60; - Architecture * &#x60;-architecture&#x60; - Architecture (descending) * &#x60;pk&#x60; - Pk * &#x60;-pk&#x60; - Pk (descending)
97
+ # @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;pulp_type&#x60; - Pulp type * &#x60;-pulp_type&#x60; - Pulp type (descending) * &#x60;upstream_id&#x60; - Upstream id * &#x60;-upstream_id&#x60; - Upstream id (descending) * &#x60;pulp_labels&#x60; - Pulp labels * &#x60;-pulp_labels&#x60; - Pulp labels (descending) * &#x60;timestamp_of_interest&#x60; - Timestamp of interest * &#x60;-timestamp_of_interest&#x60; - Timestamp of interest (descending) * &#x60;distribution&#x60; - Distribution * &#x60;-distribution&#x60; - Distribution (descending) * &#x60;architecture&#x60; - Architecture * &#x60;-architecture&#x60; - Architecture (descending) * &#x60;pk&#x60; - Pk * &#x60;-pk&#x60; - Pk (descending)
98
98
  # @option opts [Float] :orphaned_for Minutes Content has been orphaned for. -1 uses ORPHAN_PROTECTION_TIME.
99
99
  # @option opts [Array<String>] :prn__in Multiple values may be separated by commas.
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] :pulp_label_select Filter labels by search string
102
103
  # @option opts [String] :q Filter results by using NOT, AND and OR operations on other filters
103
104
  # @option opts [String] :repository_version Repository Version referenced by HREF/PRN
104
105
  # @option opts [String] :repository_version_added Repository Version referenced by HREF/PRN
@@ -118,11 +119,12 @@ module PulpDebClient
118
119
  # @option opts [String] :distribution Filter results where distribution matches value
119
120
  # @option opts [Integer] :limit Number of results to return per page.
120
121
  # @option opts [Integer] :offset The initial index from which to return the results.
121
- # @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;pulp_type&#x60; - Pulp type * &#x60;-pulp_type&#x60; - Pulp type (descending) * &#x60;upstream_id&#x60; - Upstream id * &#x60;-upstream_id&#x60; - Upstream id (descending) * &#x60;timestamp_of_interest&#x60; - Timestamp of interest * &#x60;-timestamp_of_interest&#x60; - Timestamp of interest (descending) * &#x60;distribution&#x60; - Distribution * &#x60;-distribution&#x60; - Distribution (descending) * &#x60;architecture&#x60; - Architecture * &#x60;-architecture&#x60; - Architecture (descending) * &#x60;pk&#x60; - Pk * &#x60;-pk&#x60; - Pk (descending)
122
+ # @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;pulp_type&#x60; - Pulp type * &#x60;-pulp_type&#x60; - Pulp type (descending) * &#x60;upstream_id&#x60; - Upstream id * &#x60;-upstream_id&#x60; - Upstream id (descending) * &#x60;pulp_labels&#x60; - Pulp labels * &#x60;-pulp_labels&#x60; - Pulp labels (descending) * &#x60;timestamp_of_interest&#x60; - Timestamp of interest * &#x60;-timestamp_of_interest&#x60; - Timestamp of interest (descending) * &#x60;distribution&#x60; - Distribution * &#x60;-distribution&#x60; - Distribution (descending) * &#x60;architecture&#x60; - Architecture * &#x60;-architecture&#x60; - Architecture (descending) * &#x60;pk&#x60; - Pk * &#x60;-pk&#x60; - Pk (descending)
122
123
  # @option opts [Float] :orphaned_for Minutes Content has been orphaned for. -1 uses ORPHAN_PROTECTION_TIME.
123
124
  # @option opts [Array<String>] :prn__in Multiple values may be separated by commas.
124
125
  # @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
125
126
  # @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
127
+ # @option opts [String] :pulp_label_select Filter labels by search string
126
128
  # @option opts [String] :q Filter results by using NOT, AND and OR operations on other filters
127
129
  # @option opts [String] :repository_version Repository Version referenced by HREF/PRN
128
130
  # @option opts [String] :repository_version_added Repository Version referenced by HREF/PRN
@@ -134,7 +136,7 @@ module PulpDebClient
134
136
  if @api_client.config.debugging
135
137
  @api_client.config.logger.debug 'Calling API: ContentReleaseArchitecturesApi.list ...'
136
138
  end
137
- allowable_values = ["-architecture", "-distribution", "-pk", "-pulp_created", "-pulp_id", "-pulp_last_updated", "-pulp_type", "-timestamp_of_interest", "-upstream_id", "architecture", "distribution", "pk", "pulp_created", "pulp_id", "pulp_last_updated", "pulp_type", "timestamp_of_interest", "upstream_id"]
139
+ allowable_values = ["-architecture", "-distribution", "-pk", "-pulp_created", "-pulp_id", "-pulp_labels", "-pulp_last_updated", "-pulp_type", "-timestamp_of_interest", "-upstream_id", "architecture", "distribution", "pk", "pulp_created", "pulp_id", "pulp_labels", "pulp_last_updated", "pulp_type", "timestamp_of_interest", "upstream_id"]
138
140
  if @api_client.config.client_side_validation && opts[:'ordering'] && !opts[:'ordering'].all? { |item| allowable_values.include?(item) }
139
141
  fail ArgumentError, "invalid value for \"ordering\", must include one of #{allowable_values}"
140
142
  end
@@ -152,6 +154,7 @@ module PulpDebClient
152
154
  query_params[:'prn__in'] = @api_client.build_collection_param(opts[:'prn__in'], :csv) if !opts[:'prn__in'].nil?
153
155
  query_params[:'pulp_href__in'] = @api_client.build_collection_param(opts[:'pulp_href__in'], :csv) if !opts[:'pulp_href__in'].nil?
154
156
  query_params[:'pulp_id__in'] = @api_client.build_collection_param(opts[:'pulp_id__in'], :csv) if !opts[:'pulp_id__in'].nil?
157
+ query_params[:'pulp_label_select'] = opts[:'pulp_label_select'] if !opts[:'pulp_label_select'].nil?
155
158
  query_params[:'q'] = opts[:'q'] if !opts[:'q'].nil?
156
159
  query_params[:'repository_version'] = opts[:'repository_version'] if !opts[:'repository_version'].nil?
157
160
  query_params[:'repository_version_added'] = opts[:'repository_version_added'] if !opts[:'repository_version_added'].nil?
@@ -261,5 +264,153 @@ module PulpDebClient
261
264
  end
262
265
  return data, status_code, headers
263
266
  end
267
+
268
+ # Set a label
269
+ # Set a single pulp_label on the object to a specific value or null.
270
+ # @param deb_release_architecture_href [String]
271
+ # @param set_label [SetLabel]
272
+ # @param [Hash] opts the optional parameters
273
+ # @return [SetLabelResponse]
274
+ def set_label(deb_release_architecture_href, set_label, opts = {})
275
+ data, _status_code, _headers = set_label_with_http_info(deb_release_architecture_href, set_label, opts)
276
+ data
277
+ end
278
+
279
+ # Set a label
280
+ # Set a single pulp_label on the object to a specific value or null.
281
+ # @param deb_release_architecture_href [String]
282
+ # @param set_label [SetLabel]
283
+ # @param [Hash] opts the optional parameters
284
+ # @return [Array<(SetLabelResponse, Integer, Hash)>] SetLabelResponse data, response status code and response headers
285
+ def set_label_with_http_info(deb_release_architecture_href, set_label, opts = {})
286
+ if @api_client.config.debugging
287
+ @api_client.config.logger.debug 'Calling API: ContentReleaseArchitecturesApi.set_label ...'
288
+ end
289
+ # verify the required parameter 'deb_release_architecture_href' is set
290
+ if @api_client.config.client_side_validation && deb_release_architecture_href.nil?
291
+ fail ArgumentError, "Missing the required parameter 'deb_release_architecture_href' when calling ContentReleaseArchitecturesApi.set_label"
292
+ end
293
+ # verify the required parameter 'set_label' is set
294
+ if @api_client.config.client_side_validation && set_label.nil?
295
+ fail ArgumentError, "Missing the required parameter 'set_label' when calling ContentReleaseArchitecturesApi.set_label"
296
+ end
297
+ # resource path
298
+ local_var_path = '{deb_release_architecture_href}set_label/'.sub('{' + 'deb_release_architecture_href' + '}', CGI.escape(deb_release_architecture_href.to_s).gsub('%2F', '/'))
299
+
300
+ # query parameters
301
+ query_params = opts[:query_params] || {}
302
+
303
+ # header parameters
304
+ header_params = opts[:header_params] || {}
305
+ # HTTP header 'Accept' (if needed)
306
+ header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
307
+ # HTTP header 'Content-Type'
308
+ content_type = @api_client.select_header_content_type(['application/json', 'application/x-www-form-urlencoded', 'multipart/form-data'])
309
+ if !content_type.nil?
310
+ header_params['Content-Type'] = content_type
311
+ end
312
+
313
+ # form parameters
314
+ form_params = opts[:form_params] || {}
315
+
316
+ # http body (model)
317
+ post_body = opts[:debug_body] || @api_client.object_to_http_body(set_label)
318
+
319
+ # return_type
320
+ return_type = opts[:debug_return_type] || 'SetLabelResponse'
321
+
322
+ # auth_names
323
+ auth_names = opts[:debug_auth_names] || ['basicAuth']
324
+
325
+ new_options = opts.merge(
326
+ :operation => :"ContentReleaseArchitecturesApi.set_label",
327
+ :header_params => header_params,
328
+ :query_params => query_params,
329
+ :form_params => form_params,
330
+ :body => post_body,
331
+ :auth_names => auth_names,
332
+ :return_type => return_type
333
+ )
334
+
335
+ data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
336
+ if @api_client.config.debugging
337
+ @api_client.config.logger.debug "API called: ContentReleaseArchitecturesApi#set_label\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
338
+ end
339
+ return data, status_code, headers
340
+ end
341
+
342
+ # Unset a label
343
+ # Unset a single pulp_label on the object.
344
+ # @param deb_release_architecture_href [String]
345
+ # @param unset_label [UnsetLabel]
346
+ # @param [Hash] opts the optional parameters
347
+ # @return [UnsetLabelResponse]
348
+ def unset_label(deb_release_architecture_href, unset_label, opts = {})
349
+ data, _status_code, _headers = unset_label_with_http_info(deb_release_architecture_href, unset_label, opts)
350
+ data
351
+ end
352
+
353
+ # Unset a label
354
+ # Unset a single pulp_label on the object.
355
+ # @param deb_release_architecture_href [String]
356
+ # @param unset_label [UnsetLabel]
357
+ # @param [Hash] opts the optional parameters
358
+ # @return [Array<(UnsetLabelResponse, Integer, Hash)>] UnsetLabelResponse data, response status code and response headers
359
+ def unset_label_with_http_info(deb_release_architecture_href, unset_label, opts = {})
360
+ if @api_client.config.debugging
361
+ @api_client.config.logger.debug 'Calling API: ContentReleaseArchitecturesApi.unset_label ...'
362
+ end
363
+ # verify the required parameter 'deb_release_architecture_href' is set
364
+ if @api_client.config.client_side_validation && deb_release_architecture_href.nil?
365
+ fail ArgumentError, "Missing the required parameter 'deb_release_architecture_href' when calling ContentReleaseArchitecturesApi.unset_label"
366
+ end
367
+ # verify the required parameter 'unset_label' is set
368
+ if @api_client.config.client_side_validation && unset_label.nil?
369
+ fail ArgumentError, "Missing the required parameter 'unset_label' when calling ContentReleaseArchitecturesApi.unset_label"
370
+ end
371
+ # resource path
372
+ local_var_path = '{deb_release_architecture_href}unset_label/'.sub('{' + 'deb_release_architecture_href' + '}', CGI.escape(deb_release_architecture_href.to_s).gsub('%2F', '/'))
373
+
374
+ # query parameters
375
+ query_params = opts[:query_params] || {}
376
+
377
+ # header parameters
378
+ header_params = opts[:header_params] || {}
379
+ # HTTP header 'Accept' (if needed)
380
+ header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
381
+ # HTTP header 'Content-Type'
382
+ content_type = @api_client.select_header_content_type(['application/json', 'application/x-www-form-urlencoded', 'multipart/form-data'])
383
+ if !content_type.nil?
384
+ header_params['Content-Type'] = content_type
385
+ end
386
+
387
+ # form parameters
388
+ form_params = opts[:form_params] || {}
389
+
390
+ # http body (model)
391
+ post_body = opts[:debug_body] || @api_client.object_to_http_body(unset_label)
392
+
393
+ # return_type
394
+ return_type = opts[:debug_return_type] || 'UnsetLabelResponse'
395
+
396
+ # auth_names
397
+ auth_names = opts[:debug_auth_names] || ['basicAuth']
398
+
399
+ new_options = opts.merge(
400
+ :operation => :"ContentReleaseArchitecturesApi.unset_label",
401
+ :header_params => header_params,
402
+ :query_params => query_params,
403
+ :form_params => form_params,
404
+ :body => post_body,
405
+ :auth_names => auth_names,
406
+ :return_type => return_type
407
+ )
408
+
409
+ data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
410
+ if @api_client.config.debugging
411
+ @api_client.config.logger.debug "API called: ContentReleaseArchitecturesApi#unset_label\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
412
+ end
413
+ return data, status_code, headers
414
+ end
264
415
  end
265
416
  end