pulp_rpm_client 3.7.0 → 3.8.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (114) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +19 -25
  3. data/docs/ContentAdvisoriesApi.md +2 -2
  4. data/docs/ContentDistributionTreesApi.md +2 -55
  5. data/docs/ContentModulemdDefaultsApi.md +2 -2
  6. data/docs/ContentModulemdsApi.md +2 -2
  7. data/docs/ContentPackagecategoriesApi.md +2 -55
  8. data/docs/ContentPackageenvironmentsApi.md +2 -55
  9. data/docs/ContentPackagegroupsApi.md +2 -55
  10. data/docs/ContentPackagelangpacksApi.md +2 -55
  11. data/docs/ContentPackagesApi.md +2 -2
  12. data/docs/ContentRepoMetadataFilesApi.md +2 -55
  13. data/docs/DistributionsRpmApi.md +2 -2
  14. data/docs/{InlineResponse20014.md → PaginatedRepositoryVersionResponseList.md} +4 -4
  15. data/docs/{InlineResponse2001.md → PaginatedrpmDistributionTreeResponseList.md} +4 -4
  16. data/docs/{InlineResponse2002.md → PaginatedrpmModulemdDefaultsResponseList.md} +4 -4
  17. data/docs/{InlineResponse2003.md → PaginatedrpmModulemdResponseList.md} +4 -4
  18. data/docs/{InlineResponse2004.md → PaginatedrpmPackageCategoryResponseList.md} +4 -4
  19. data/docs/{InlineResponse2005.md → PaginatedrpmPackageEnvironmentResponseList.md} +4 -4
  20. data/docs/{InlineResponse2006.md → PaginatedrpmPackageGroupResponseList.md} +4 -4
  21. data/docs/{InlineResponse2007.md → PaginatedrpmPackageLangpacksResponseList.md} +4 -4
  22. data/docs/{InlineResponse2008.md → PaginatedrpmPackageResponseList.md} +4 -4
  23. data/docs/{InlineResponse2009.md → PaginatedrpmRepoMetadataFileResponseList.md} +4 -4
  24. data/docs/{InlineResponse20010.md → PaginatedrpmRpmDistributionResponseList.md} +4 -4
  25. data/docs/{InlineResponse20011.md → PaginatedrpmRpmPublicationResponseList.md} +4 -4
  26. data/docs/{InlineResponse20012.md → PaginatedrpmRpmRemoteResponseList.md} +4 -4
  27. data/docs/{InlineResponse20013.md → PaginatedrpmRpmRepositoryResponseList.md} +4 -4
  28. data/docs/{InlineResponse200.md → PaginatedrpmUpdateRecordResponseList.md} +4 -4
  29. data/docs/PublicationsRpmApi.md +2 -2
  30. data/docs/RemotesRpmApi.md +2 -2
  31. data/docs/RepositoriesRpmApi.md +2 -2
  32. data/docs/RepositoriesRpmVersionsApi.md +2 -2
  33. data/docs/RpmRpmPublication.md +5 -1
  34. data/docs/RpmRpmPublicationResponse.md +5 -1
  35. data/lib/pulp_rpm_client/api/content_advisories_api.rb +3 -3
  36. data/lib/pulp_rpm_client/api/content_distribution_trees_api.rb +3 -63
  37. data/lib/pulp_rpm_client/api/content_modulemd_defaults_api.rb +3 -3
  38. data/lib/pulp_rpm_client/api/content_modulemds_api.rb +3 -3
  39. data/lib/pulp_rpm_client/api/content_packagecategories_api.rb +3 -63
  40. data/lib/pulp_rpm_client/api/content_packageenvironments_api.rb +3 -63
  41. data/lib/pulp_rpm_client/api/content_packagegroups_api.rb +3 -63
  42. data/lib/pulp_rpm_client/api/content_packagelangpacks_api.rb +3 -63
  43. data/lib/pulp_rpm_client/api/content_packages_api.rb +3 -3
  44. data/lib/pulp_rpm_client/api/content_repo_metadata_files_api.rb +3 -63
  45. data/lib/pulp_rpm_client/api/distributions_rpm_api.rb +3 -3
  46. data/lib/pulp_rpm_client/api/publications_rpm_api.rb +3 -3
  47. data/lib/pulp_rpm_client/api/remotes_rpm_api.rb +3 -3
  48. data/lib/pulp_rpm_client/api/repositories_rpm_api.rb +3 -3
  49. data/lib/pulp_rpm_client/api/repositories_rpm_versions_api.rb +3 -3
  50. data/lib/pulp_rpm_client/models/{inline_response20014.rb → paginated_repository_version_response_list.rb} +3 -3
  51. data/lib/pulp_rpm_client/models/{inline_response2001.rb → paginatedrpm_distribution_tree_response_list.rb} +3 -3
  52. data/lib/pulp_rpm_client/models/{inline_response2002.rb → paginatedrpm_modulemd_defaults_response_list.rb} +3 -3
  53. data/lib/pulp_rpm_client/models/{inline_response2003.rb → paginatedrpm_modulemd_response_list.rb} +3 -3
  54. data/lib/pulp_rpm_client/models/{inline_response2004.rb → paginatedrpm_package_category_response_list.rb} +3 -3
  55. data/lib/pulp_rpm_client/models/{inline_response2005.rb → paginatedrpm_package_environment_response_list.rb} +3 -3
  56. data/lib/pulp_rpm_client/models/{inline_response2006.rb → paginatedrpm_package_group_response_list.rb} +3 -3
  57. data/lib/pulp_rpm_client/models/{inline_response2007.rb → paginatedrpm_package_langpacks_response_list.rb} +3 -3
  58. data/lib/pulp_rpm_client/models/{inline_response2008.rb → paginatedrpm_package_response_list.rb} +3 -3
  59. data/lib/pulp_rpm_client/models/{inline_response2009.rb → paginatedrpm_repo_metadata_file_response_list.rb} +3 -3
  60. data/lib/pulp_rpm_client/models/{inline_response20010.rb → paginatedrpm_rpm_distribution_response_list.rb} +3 -3
  61. data/lib/pulp_rpm_client/models/{inline_response20011.rb → paginatedrpm_rpm_publication_response_list.rb} +3 -3
  62. data/lib/pulp_rpm_client/models/{inline_response20012.rb → paginatedrpm_rpm_remote_response_list.rb} +3 -3
  63. data/lib/pulp_rpm_client/models/{inline_response20013.rb → paginatedrpm_rpm_repository_response_list.rb} +3 -3
  64. data/lib/pulp_rpm_client/models/{inline_response200.rb → paginatedrpm_update_record_response_list.rb} +3 -3
  65. data/lib/pulp_rpm_client/models/rpm_repository_sync_url.rb +22 -0
  66. data/lib/pulp_rpm_client/models/rpm_rpm_publication.rb +76 -4
  67. data/lib/pulp_rpm_client/models/rpm_rpm_publication_response.rb +76 -4
  68. data/lib/pulp_rpm_client/version.rb +1 -1
  69. data/lib/pulp_rpm_client.rb +15 -15
  70. data/spec/api/content_advisories_api_spec.rb +1 -1
  71. data/spec/api/content_distribution_trees_api_spec.rb +1 -13
  72. data/spec/api/content_modulemd_defaults_api_spec.rb +1 -1
  73. data/spec/api/content_modulemds_api_spec.rb +1 -1
  74. data/spec/api/content_packagecategories_api_spec.rb +1 -13
  75. data/spec/api/content_packageenvironments_api_spec.rb +1 -13
  76. data/spec/api/content_packagegroups_api_spec.rb +1 -13
  77. data/spec/api/content_packagelangpacks_api_spec.rb +1 -13
  78. data/spec/api/content_packages_api_spec.rb +1 -1
  79. data/spec/api/content_repo_metadata_files_api_spec.rb +1 -13
  80. data/spec/api/distributions_rpm_api_spec.rb +1 -1
  81. data/spec/api/publications_rpm_api_spec.rb +1 -1
  82. data/spec/api/remotes_rpm_api_spec.rb +1 -1
  83. data/spec/api/repositories_rpm_api_spec.rb +1 -1
  84. data/spec/api/repositories_rpm_versions_api_spec.rb +1 -1
  85. data/spec/models/paginated_repository_version_response_list_spec.rb +59 -0
  86. data/spec/models/paginatedrpm_distribution_tree_response_list_spec.rb +59 -0
  87. data/spec/models/paginatedrpm_modulemd_defaults_response_list_spec.rb +59 -0
  88. data/spec/models/{inline_response20011_spec.rb → paginatedrpm_modulemd_response_list_spec.rb} +6 -6
  89. data/spec/models/paginatedrpm_package_category_response_list_spec.rb +59 -0
  90. data/spec/models/paginatedrpm_package_environment_response_list_spec.rb +59 -0
  91. data/spec/models/{inline_response20013_spec.rb → paginatedrpm_package_group_response_list_spec.rb} +6 -6
  92. data/spec/models/paginatedrpm_package_langpacks_response_list_spec.rb +59 -0
  93. data/spec/models/{inline_response20010_spec.rb → paginatedrpm_package_response_list_spec.rb} +6 -6
  94. data/spec/models/paginatedrpm_repo_metadata_file_response_list_spec.rb +59 -0
  95. data/spec/models/paginatedrpm_rpm_distribution_response_list_spec.rb +59 -0
  96. data/spec/models/paginatedrpm_rpm_publication_response_list_spec.rb +59 -0
  97. data/spec/models/{inline_response20012_spec.rb → paginatedrpm_rpm_remote_response_list_spec.rb} +6 -6
  98. data/spec/models/paginatedrpm_rpm_repository_response_list_spec.rb +59 -0
  99. data/spec/models/paginatedrpm_update_record_response_list_spec.rb +59 -0
  100. data/spec/models/rpm_repository_sync_url_spec.rb +4 -0
  101. data/spec/models/rpm_rpm_publication_response_spec.rb +12 -0
  102. data/spec/models/rpm_rpm_publication_spec.rb +12 -0
  103. metadata +62 -62
  104. data/spec/models/inline_response20014_spec.rb +0 -59
  105. data/spec/models/inline_response2001_spec.rb +0 -59
  106. data/spec/models/inline_response2002_spec.rb +0 -59
  107. data/spec/models/inline_response2003_spec.rb +0 -59
  108. data/spec/models/inline_response2004_spec.rb +0 -59
  109. data/spec/models/inline_response2005_spec.rb +0 -59
  110. data/spec/models/inline_response2006_spec.rb +0 -59
  111. data/spec/models/inline_response2007_spec.rb +0 -59
  112. data/spec/models/inline_response2008_spec.rb +0 -59
  113. data/spec/models/inline_response2009_spec.rb +0 -59
  114. data/spec/models/inline_response200_spec.rb +0 -59
@@ -19,66 +19,6 @@ module PulpRpmClient
19
19
  def initialize(api_client = ApiClient.default)
20
20
  @api_client = api_client
21
21
  end
22
- # Delete a package category
23
- # PackageCategory ViewSet.
24
- # @param rpm_package_category_href [String]
25
- # @param [Hash] opts the optional parameters
26
- # @return [nil]
27
- def delete(rpm_package_category_href, opts = {})
28
- delete_with_http_info(rpm_package_category_href, opts)
29
- nil
30
- end
31
-
32
- # Delete a package category
33
- # PackageCategory ViewSet.
34
- # @param rpm_package_category_href [String]
35
- # @param [Hash] opts the optional parameters
36
- # @return [Array<(nil, Integer, Hash)>] nil, response status code and response headers
37
- def delete_with_http_info(rpm_package_category_href, opts = {})
38
- if @api_client.config.debugging
39
- @api_client.config.logger.debug 'Calling API: ContentPackagecategoriesApi.delete ...'
40
- end
41
- # verify the required parameter 'rpm_package_category_href' is set
42
- if @api_client.config.client_side_validation && rpm_package_category_href.nil?
43
- fail ArgumentError, "Missing the required parameter 'rpm_package_category_href' when calling ContentPackagecategoriesApi.delete"
44
- end
45
- # resource path
46
- local_var_path = '{rpm_package_category_href}'.sub('{' + 'rpm_package_category_href' + '}', CGI.escape(rpm_package_category_href.to_s).gsub('%2F', '/'))
47
-
48
- # query parameters
49
- query_params = opts[:query_params] || {}
50
-
51
- # header parameters
52
- header_params = opts[:header_params] || {}
53
-
54
- # form parameters
55
- form_params = opts[:form_params] || {}
56
-
57
- # http body (model)
58
- post_body = opts[:body]
59
-
60
- # return_type
61
- return_type = opts[:return_type]
62
-
63
- # auth_names
64
- auth_names = opts[:auth_names] || ['basicAuth']
65
-
66
- new_options = opts.merge(
67
- :header_params => header_params,
68
- :query_params => query_params,
69
- :form_params => form_params,
70
- :body => post_body,
71
- :auth_names => auth_names,
72
- :return_type => return_type
73
- )
74
-
75
- data, status_code, headers = @api_client.call_api(:DELETE, local_var_path, new_options)
76
- if @api_client.config.debugging
77
- @api_client.config.logger.debug "API called: ContentPackagecategoriesApi#delete\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
78
- end
79
- return data, status_code, headers
80
- end
81
-
82
22
  # List package categorys
83
23
  # PackageCategory ViewSet.
84
24
  # @param [Hash] opts the optional parameters
@@ -90,7 +30,7 @@ module PulpRpmClient
90
30
  # @option opts [String] :repository_version_removed repository_version_removed
91
31
  # @option opts [String] :fields A list of fields to include in the response.
92
32
  # @option opts [String] :exclude_fields A list of fields to exclude from the response.
93
- # @return [InlineResponse2004]
33
+ # @return [PaginatedrpmPackageCategoryResponseList]
94
34
  def list(opts = {})
95
35
  data, _status_code, _headers = list_with_http_info(opts)
96
36
  data
@@ -107,7 +47,7 @@ module PulpRpmClient
107
47
  # @option opts [String] :repository_version_removed repository_version_removed
108
48
  # @option opts [String] :fields A list of fields to include in the response.
109
49
  # @option opts [String] :exclude_fields A list of fields to exclude from the response.
110
- # @return [Array<(InlineResponse2004, Integer, Hash)>] InlineResponse2004 data, response status code and response headers
50
+ # @return [Array<(PaginatedrpmPackageCategoryResponseList, Integer, Hash)>] PaginatedrpmPackageCategoryResponseList data, response status code and response headers
111
51
  def list_with_http_info(opts = {})
112
52
  if @api_client.config.debugging
113
53
  @api_client.config.logger.debug 'Calling API: ContentPackagecategoriesApi.list ...'
@@ -138,7 +78,7 @@ module PulpRpmClient
138
78
  post_body = opts[:body]
139
79
 
140
80
  # return_type
141
- return_type = opts[:return_type] || 'InlineResponse2004'
81
+ return_type = opts[:return_type] || 'PaginatedrpmPackageCategoryResponseList'
142
82
 
143
83
  # auth_names
144
84
  auth_names = opts[:auth_names] || ['basicAuth']
@@ -19,66 +19,6 @@ module PulpRpmClient
19
19
  def initialize(api_client = ApiClient.default)
20
20
  @api_client = api_client
21
21
  end
22
- # Delete a package environment
23
- # PackageEnvironment ViewSet.
24
- # @param rpm_package_environment_href [String]
25
- # @param [Hash] opts the optional parameters
26
- # @return [nil]
27
- def delete(rpm_package_environment_href, opts = {})
28
- delete_with_http_info(rpm_package_environment_href, opts)
29
- nil
30
- end
31
-
32
- # Delete a package environment
33
- # PackageEnvironment ViewSet.
34
- # @param rpm_package_environment_href [String]
35
- # @param [Hash] opts the optional parameters
36
- # @return [Array<(nil, Integer, Hash)>] nil, response status code and response headers
37
- def delete_with_http_info(rpm_package_environment_href, opts = {})
38
- if @api_client.config.debugging
39
- @api_client.config.logger.debug 'Calling API: ContentPackageenvironmentsApi.delete ...'
40
- end
41
- # verify the required parameter 'rpm_package_environment_href' is set
42
- if @api_client.config.client_side_validation && rpm_package_environment_href.nil?
43
- fail ArgumentError, "Missing the required parameter 'rpm_package_environment_href' when calling ContentPackageenvironmentsApi.delete"
44
- end
45
- # resource path
46
- local_var_path = '{rpm_package_environment_href}'.sub('{' + 'rpm_package_environment_href' + '}', CGI.escape(rpm_package_environment_href.to_s).gsub('%2F', '/'))
47
-
48
- # query parameters
49
- query_params = opts[:query_params] || {}
50
-
51
- # header parameters
52
- header_params = opts[:header_params] || {}
53
-
54
- # form parameters
55
- form_params = opts[:form_params] || {}
56
-
57
- # http body (model)
58
- post_body = opts[:body]
59
-
60
- # return_type
61
- return_type = opts[:return_type]
62
-
63
- # auth_names
64
- auth_names = opts[:auth_names] || ['basicAuth']
65
-
66
- new_options = opts.merge(
67
- :header_params => header_params,
68
- :query_params => query_params,
69
- :form_params => form_params,
70
- :body => post_body,
71
- :auth_names => auth_names,
72
- :return_type => return_type
73
- )
74
-
75
- data, status_code, headers = @api_client.call_api(:DELETE, local_var_path, new_options)
76
- if @api_client.config.debugging
77
- @api_client.config.logger.debug "API called: ContentPackageenvironmentsApi#delete\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
78
- end
79
- return data, status_code, headers
80
- end
81
-
82
22
  # List package environments
83
23
  # PackageEnvironment ViewSet.
84
24
  # @param [Hash] opts the optional parameters
@@ -90,7 +30,7 @@ module PulpRpmClient
90
30
  # @option opts [String] :repository_version_removed repository_version_removed
91
31
  # @option opts [String] :fields A list of fields to include in the response.
92
32
  # @option opts [String] :exclude_fields A list of fields to exclude from the response.
93
- # @return [InlineResponse2005]
33
+ # @return [PaginatedrpmPackageEnvironmentResponseList]
94
34
  def list(opts = {})
95
35
  data, _status_code, _headers = list_with_http_info(opts)
96
36
  data
@@ -107,7 +47,7 @@ module PulpRpmClient
107
47
  # @option opts [String] :repository_version_removed repository_version_removed
108
48
  # @option opts [String] :fields A list of fields to include in the response.
109
49
  # @option opts [String] :exclude_fields A list of fields to exclude from the response.
110
- # @return [Array<(InlineResponse2005, Integer, Hash)>] InlineResponse2005 data, response status code and response headers
50
+ # @return [Array<(PaginatedrpmPackageEnvironmentResponseList, Integer, Hash)>] PaginatedrpmPackageEnvironmentResponseList data, response status code and response headers
111
51
  def list_with_http_info(opts = {})
112
52
  if @api_client.config.debugging
113
53
  @api_client.config.logger.debug 'Calling API: ContentPackageenvironmentsApi.list ...'
@@ -138,7 +78,7 @@ module PulpRpmClient
138
78
  post_body = opts[:body]
139
79
 
140
80
  # return_type
141
- return_type = opts[:return_type] || 'InlineResponse2005'
81
+ return_type = opts[:return_type] || 'PaginatedrpmPackageEnvironmentResponseList'
142
82
 
143
83
  # auth_names
144
84
  auth_names = opts[:auth_names] || ['basicAuth']
@@ -19,66 +19,6 @@ module PulpRpmClient
19
19
  def initialize(api_client = ApiClient.default)
20
20
  @api_client = api_client
21
21
  end
22
- # Delete a package group
23
- # PackageGroup ViewSet.
24
- # @param rpm_package_group_href [String]
25
- # @param [Hash] opts the optional parameters
26
- # @return [nil]
27
- def delete(rpm_package_group_href, opts = {})
28
- delete_with_http_info(rpm_package_group_href, opts)
29
- nil
30
- end
31
-
32
- # Delete a package group
33
- # PackageGroup ViewSet.
34
- # @param rpm_package_group_href [String]
35
- # @param [Hash] opts the optional parameters
36
- # @return [Array<(nil, Integer, Hash)>] nil, response status code and response headers
37
- def delete_with_http_info(rpm_package_group_href, opts = {})
38
- if @api_client.config.debugging
39
- @api_client.config.logger.debug 'Calling API: ContentPackagegroupsApi.delete ...'
40
- end
41
- # verify the required parameter 'rpm_package_group_href' is set
42
- if @api_client.config.client_side_validation && rpm_package_group_href.nil?
43
- fail ArgumentError, "Missing the required parameter 'rpm_package_group_href' when calling ContentPackagegroupsApi.delete"
44
- end
45
- # resource path
46
- local_var_path = '{rpm_package_group_href}'.sub('{' + 'rpm_package_group_href' + '}', CGI.escape(rpm_package_group_href.to_s).gsub('%2F', '/'))
47
-
48
- # query parameters
49
- query_params = opts[:query_params] || {}
50
-
51
- # header parameters
52
- header_params = opts[:header_params] || {}
53
-
54
- # form parameters
55
- form_params = opts[:form_params] || {}
56
-
57
- # http body (model)
58
- post_body = opts[:body]
59
-
60
- # return_type
61
- return_type = opts[:return_type]
62
-
63
- # auth_names
64
- auth_names = opts[:auth_names] || ['basicAuth']
65
-
66
- new_options = opts.merge(
67
- :header_params => header_params,
68
- :query_params => query_params,
69
- :form_params => form_params,
70
- :body => post_body,
71
- :auth_names => auth_names,
72
- :return_type => return_type
73
- )
74
-
75
- data, status_code, headers = @api_client.call_api(:DELETE, local_var_path, new_options)
76
- if @api_client.config.debugging
77
- @api_client.config.logger.debug "API called: ContentPackagegroupsApi#delete\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
78
- end
79
- return data, status_code, headers
80
- end
81
-
82
22
  # List package groups
83
23
  # PackageGroup ViewSet.
84
24
  # @param [Hash] opts the optional parameters
@@ -90,7 +30,7 @@ module PulpRpmClient
90
30
  # @option opts [String] :repository_version_removed repository_version_removed
91
31
  # @option opts [String] :fields A list of fields to include in the response.
92
32
  # @option opts [String] :exclude_fields A list of fields to exclude from the response.
93
- # @return [InlineResponse2006]
33
+ # @return [PaginatedrpmPackageGroupResponseList]
94
34
  def list(opts = {})
95
35
  data, _status_code, _headers = list_with_http_info(opts)
96
36
  data
@@ -107,7 +47,7 @@ module PulpRpmClient
107
47
  # @option opts [String] :repository_version_removed repository_version_removed
108
48
  # @option opts [String] :fields A list of fields to include in the response.
109
49
  # @option opts [String] :exclude_fields A list of fields to exclude from the response.
110
- # @return [Array<(InlineResponse2006, Integer, Hash)>] InlineResponse2006 data, response status code and response headers
50
+ # @return [Array<(PaginatedrpmPackageGroupResponseList, Integer, Hash)>] PaginatedrpmPackageGroupResponseList data, response status code and response headers
111
51
  def list_with_http_info(opts = {})
112
52
  if @api_client.config.debugging
113
53
  @api_client.config.logger.debug 'Calling API: ContentPackagegroupsApi.list ...'
@@ -138,7 +78,7 @@ module PulpRpmClient
138
78
  post_body = opts[:body]
139
79
 
140
80
  # return_type
141
- return_type = opts[:return_type] || 'InlineResponse2006'
81
+ return_type = opts[:return_type] || 'PaginatedrpmPackageGroupResponseList'
142
82
 
143
83
  # auth_names
144
84
  auth_names = opts[:auth_names] || ['basicAuth']
@@ -19,66 +19,6 @@ module PulpRpmClient
19
19
  def initialize(api_client = ApiClient.default)
20
20
  @api_client = api_client
21
21
  end
22
- # Delete a package langpacks
23
- # PackageLangpacks ViewSet.
24
- # @param rpm_package_langpacks_href [String]
25
- # @param [Hash] opts the optional parameters
26
- # @return [nil]
27
- def delete(rpm_package_langpacks_href, opts = {})
28
- delete_with_http_info(rpm_package_langpacks_href, opts)
29
- nil
30
- end
31
-
32
- # Delete a package langpacks
33
- # PackageLangpacks ViewSet.
34
- # @param rpm_package_langpacks_href [String]
35
- # @param [Hash] opts the optional parameters
36
- # @return [Array<(nil, Integer, Hash)>] nil, response status code and response headers
37
- def delete_with_http_info(rpm_package_langpacks_href, opts = {})
38
- if @api_client.config.debugging
39
- @api_client.config.logger.debug 'Calling API: ContentPackagelangpacksApi.delete ...'
40
- end
41
- # verify the required parameter 'rpm_package_langpacks_href' is set
42
- if @api_client.config.client_side_validation && rpm_package_langpacks_href.nil?
43
- fail ArgumentError, "Missing the required parameter 'rpm_package_langpacks_href' when calling ContentPackagelangpacksApi.delete"
44
- end
45
- # resource path
46
- local_var_path = '{rpm_package_langpacks_href}'.sub('{' + 'rpm_package_langpacks_href' + '}', CGI.escape(rpm_package_langpacks_href.to_s).gsub('%2F', '/'))
47
-
48
- # query parameters
49
- query_params = opts[:query_params] || {}
50
-
51
- # header parameters
52
- header_params = opts[:header_params] || {}
53
-
54
- # form parameters
55
- form_params = opts[:form_params] || {}
56
-
57
- # http body (model)
58
- post_body = opts[:body]
59
-
60
- # return_type
61
- return_type = opts[:return_type]
62
-
63
- # auth_names
64
- auth_names = opts[:auth_names] || ['basicAuth']
65
-
66
- new_options = opts.merge(
67
- :header_params => header_params,
68
- :query_params => query_params,
69
- :form_params => form_params,
70
- :body => post_body,
71
- :auth_names => auth_names,
72
- :return_type => return_type
73
- )
74
-
75
- data, status_code, headers = @api_client.call_api(:DELETE, local_var_path, new_options)
76
- if @api_client.config.debugging
77
- @api_client.config.logger.debug "API called: ContentPackagelangpacksApi#delete\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
78
- end
79
- return data, status_code, headers
80
- end
81
-
82
22
  # List package langpackss
83
23
  # PackageLangpacks ViewSet.
84
24
  # @param [Hash] opts the optional parameters
@@ -90,7 +30,7 @@ module PulpRpmClient
90
30
  # @option opts [String] :repository_version_removed repository_version_removed
91
31
  # @option opts [String] :fields A list of fields to include in the response.
92
32
  # @option opts [String] :exclude_fields A list of fields to exclude from the response.
93
- # @return [InlineResponse2007]
33
+ # @return [PaginatedrpmPackageLangpacksResponseList]
94
34
  def list(opts = {})
95
35
  data, _status_code, _headers = list_with_http_info(opts)
96
36
  data
@@ -107,7 +47,7 @@ module PulpRpmClient
107
47
  # @option opts [String] :repository_version_removed repository_version_removed
108
48
  # @option opts [String] :fields A list of fields to include in the response.
109
49
  # @option opts [String] :exclude_fields A list of fields to exclude from the response.
110
- # @return [Array<(InlineResponse2007, Integer, Hash)>] InlineResponse2007 data, response status code and response headers
50
+ # @return [Array<(PaginatedrpmPackageLangpacksResponseList, Integer, Hash)>] PaginatedrpmPackageLangpacksResponseList data, response status code and response headers
111
51
  def list_with_http_info(opts = {})
112
52
  if @api_client.config.debugging
113
53
  @api_client.config.logger.debug 'Calling API: ContentPackagelangpacksApi.list ...'
@@ -138,7 +78,7 @@ module PulpRpmClient
138
78
  post_body = opts[:body]
139
79
 
140
80
  # return_type
141
- return_type = opts[:return_type] || 'InlineResponse2007'
81
+ return_type = opts[:return_type] || 'PaginatedrpmPackageLangpacksResponseList'
142
82
 
143
83
  # auth_names
144
84
  auth_names = opts[:auth_names] || ['basicAuth']
@@ -125,7 +125,7 @@ module PulpRpmClient
125
125
  # @option opts [String] :version__ne version__ne
126
126
  # @option opts [String] :fields A list of fields to include in the response.
127
127
  # @option opts [String] :exclude_fields A list of fields to exclude from the response.
128
- # @return [InlineResponse2008]
128
+ # @return [PaginatedrpmPackageResponseList]
129
129
  def list(opts = {})
130
130
  data, _status_code, _headers = list_with_http_info(opts)
131
131
  data
@@ -163,7 +163,7 @@ module PulpRpmClient
163
163
  # @option opts [String] :version__ne version__ne
164
164
  # @option opts [String] :fields A list of fields to include in the response.
165
165
  # @option opts [String] :exclude_fields A list of fields to exclude from the response.
166
- # @return [Array<(InlineResponse2008, Integer, Hash)>] InlineResponse2008 data, response status code and response headers
166
+ # @return [Array<(PaginatedrpmPackageResponseList, Integer, Hash)>] PaginatedrpmPackageResponseList data, response status code and response headers
167
167
  def list_with_http_info(opts = {})
168
168
  if @api_client.config.debugging
169
169
  @api_client.config.logger.debug 'Calling API: ContentPackagesApi.list ...'
@@ -219,7 +219,7 @@ module PulpRpmClient
219
219
  post_body = opts[:body]
220
220
 
221
221
  # return_type
222
- return_type = opts[:return_type] || 'InlineResponse2008'
222
+ return_type = opts[:return_type] || 'PaginatedrpmPackageResponseList'
223
223
 
224
224
  # auth_names
225
225
  auth_names = opts[:auth_names] || ['basicAuth']
@@ -19,66 +19,6 @@ module PulpRpmClient
19
19
  def initialize(api_client = ApiClient.default)
20
20
  @api_client = api_client
21
21
  end
22
- # Delete a repo metadata file
23
- # RepoMetadataFile Viewset.
24
- # @param rpm_repo_metadata_file_href [String]
25
- # @param [Hash] opts the optional parameters
26
- # @return [nil]
27
- def delete(rpm_repo_metadata_file_href, opts = {})
28
- delete_with_http_info(rpm_repo_metadata_file_href, opts)
29
- nil
30
- end
31
-
32
- # Delete a repo metadata file
33
- # RepoMetadataFile Viewset.
34
- # @param rpm_repo_metadata_file_href [String]
35
- # @param [Hash] opts the optional parameters
36
- # @return [Array<(nil, Integer, Hash)>] nil, response status code and response headers
37
- def delete_with_http_info(rpm_repo_metadata_file_href, opts = {})
38
- if @api_client.config.debugging
39
- @api_client.config.logger.debug 'Calling API: ContentRepoMetadataFilesApi.delete ...'
40
- end
41
- # verify the required parameter 'rpm_repo_metadata_file_href' is set
42
- if @api_client.config.client_side_validation && rpm_repo_metadata_file_href.nil?
43
- fail ArgumentError, "Missing the required parameter 'rpm_repo_metadata_file_href' when calling ContentRepoMetadataFilesApi.delete"
44
- end
45
- # resource path
46
- local_var_path = '{rpm_repo_metadata_file_href}'.sub('{' + 'rpm_repo_metadata_file_href' + '}', CGI.escape(rpm_repo_metadata_file_href.to_s).gsub('%2F', '/'))
47
-
48
- # query parameters
49
- query_params = opts[:query_params] || {}
50
-
51
- # header parameters
52
- header_params = opts[:header_params] || {}
53
-
54
- # form parameters
55
- form_params = opts[:form_params] || {}
56
-
57
- # http body (model)
58
- post_body = opts[:body]
59
-
60
- # return_type
61
- return_type = opts[:return_type]
62
-
63
- # auth_names
64
- auth_names = opts[:auth_names] || ['basicAuth']
65
-
66
- new_options = opts.merge(
67
- :header_params => header_params,
68
- :query_params => query_params,
69
- :form_params => form_params,
70
- :body => post_body,
71
- :auth_names => auth_names,
72
- :return_type => return_type
73
- )
74
-
75
- data, status_code, headers = @api_client.call_api(:DELETE, local_var_path, new_options)
76
- if @api_client.config.debugging
77
- @api_client.config.logger.debug "API called: ContentRepoMetadataFilesApi#delete\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
78
- end
79
- return data, status_code, headers
80
- end
81
-
82
22
  # List repo metadata files
83
23
  # RepoMetadataFile Viewset.
84
24
  # @param [Hash] opts the optional parameters
@@ -90,7 +30,7 @@ module PulpRpmClient
90
30
  # @option opts [String] :repository_version_removed repository_version_removed
91
31
  # @option opts [String] :fields A list of fields to include in the response.
92
32
  # @option opts [String] :exclude_fields A list of fields to exclude from the response.
93
- # @return [InlineResponse2009]
33
+ # @return [PaginatedrpmRepoMetadataFileResponseList]
94
34
  def list(opts = {})
95
35
  data, _status_code, _headers = list_with_http_info(opts)
96
36
  data
@@ -107,7 +47,7 @@ module PulpRpmClient
107
47
  # @option opts [String] :repository_version_removed repository_version_removed
108
48
  # @option opts [String] :fields A list of fields to include in the response.
109
49
  # @option opts [String] :exclude_fields A list of fields to exclude from the response.
110
- # @return [Array<(InlineResponse2009, Integer, Hash)>] InlineResponse2009 data, response status code and response headers
50
+ # @return [Array<(PaginatedrpmRepoMetadataFileResponseList, Integer, Hash)>] PaginatedrpmRepoMetadataFileResponseList data, response status code and response headers
111
51
  def list_with_http_info(opts = {})
112
52
  if @api_client.config.debugging
113
53
  @api_client.config.logger.debug 'Calling API: ContentRepoMetadataFilesApi.list ...'
@@ -138,7 +78,7 @@ module PulpRpmClient
138
78
  post_body = opts[:body]
139
79
 
140
80
  # return_type
141
- return_type = opts[:return_type] || 'InlineResponse2009'
81
+ return_type = opts[:return_type] || 'PaginatedrpmRepoMetadataFileResponseList'
142
82
 
143
83
  # auth_names
144
84
  auth_names = opts[:auth_names] || ['basicAuth']
@@ -159,7 +159,7 @@ module PulpRpmClient
159
159
  # @option opts [String] :ordering Which field to use when ordering the results.
160
160
  # @option opts [String] :fields A list of fields to include in the response.
161
161
  # @option opts [String] :exclude_fields A list of fields to exclude from the response.
162
- # @return [InlineResponse20010]
162
+ # @return [PaginatedrpmRpmDistributionResponseList]
163
163
  def list(opts = {})
164
164
  data, _status_code, _headers = list_with_http_info(opts)
165
165
  data
@@ -179,7 +179,7 @@ module PulpRpmClient
179
179
  # @option opts [String] :ordering Which field to use when ordering the results.
180
180
  # @option opts [String] :fields A list of fields to include in the response.
181
181
  # @option opts [String] :exclude_fields A list of fields to exclude from the response.
182
- # @return [Array<(InlineResponse20010, Integer, Hash)>] InlineResponse20010 data, response status code and response headers
182
+ # @return [Array<(PaginatedrpmRpmDistributionResponseList, Integer, Hash)>] PaginatedrpmRpmDistributionResponseList data, response status code and response headers
183
183
  def list_with_http_info(opts = {})
184
184
  if @api_client.config.debugging
185
185
  @api_client.config.logger.debug 'Calling API: DistributionsRpmApi.list ...'
@@ -213,7 +213,7 @@ module PulpRpmClient
213
213
  post_body = opts[:body]
214
214
 
215
215
  # return_type
216
- return_type = opts[:return_type] || 'InlineResponse20010'
216
+ return_type = opts[:return_type] || 'PaginatedrpmRpmDistributionResponseList'
217
217
 
218
218
  # auth_names
219
219
  auth_names = opts[:auth_names] || ['basicAuth']
@@ -158,7 +158,7 @@ module PulpRpmClient
158
158
  # @option opts [String] :repository_version repository_version
159
159
  # @option opts [String] :fields A list of fields to include in the response.
160
160
  # @option opts [String] :exclude_fields A list of fields to exclude from the response.
161
- # @return [InlineResponse20011]
161
+ # @return [PaginatedrpmRpmPublicationResponseList]
162
162
  def list(opts = {})
163
163
  data, _status_code, _headers = list_with_http_info(opts)
164
164
  data
@@ -179,7 +179,7 @@ module PulpRpmClient
179
179
  # @option opts [String] :repository_version repository_version
180
180
  # @option opts [String] :fields A list of fields to include in the response.
181
181
  # @option opts [String] :exclude_fields A list of fields to exclude from the response.
182
- # @return [Array<(InlineResponse20011, Integer, Hash)>] InlineResponse20011 data, response status code and response headers
182
+ # @return [Array<(PaginatedrpmRpmPublicationResponseList, Integer, Hash)>] PaginatedrpmRpmPublicationResponseList data, response status code and response headers
183
183
  def list_with_http_info(opts = {})
184
184
  if @api_client.config.debugging
185
185
  @api_client.config.logger.debug 'Calling API: PublicationsRpmApi.list ...'
@@ -214,7 +214,7 @@ module PulpRpmClient
214
214
  post_body = opts[:body]
215
215
 
216
216
  # return_type
217
- return_type = opts[:return_type] || 'InlineResponse20011'
217
+ return_type = opts[:return_type] || 'PaginatedrpmRpmPublicationResponseList'
218
218
 
219
219
  # auth_names
220
220
  auth_names = opts[:auth_names] || ['basicAuth']
@@ -161,7 +161,7 @@ module PulpRpmClient
161
161
  # @option opts [String] :pulp_last_updated__range pulp_last_updated__range
162
162
  # @option opts [String] :fields A list of fields to include in the response.
163
163
  # @option opts [String] :exclude_fields A list of fields to exclude from the response.
164
- # @return [InlineResponse20012]
164
+ # @return [PaginatedrpmRpmRemoteResponseList]
165
165
  def list(opts = {})
166
166
  data, _status_code, _headers = list_with_http_info(opts)
167
167
  data
@@ -183,7 +183,7 @@ module PulpRpmClient
183
183
  # @option opts [String] :pulp_last_updated__range pulp_last_updated__range
184
184
  # @option opts [String] :fields A list of fields to include in the response.
185
185
  # @option opts [String] :exclude_fields A list of fields to exclude from the response.
186
- # @return [Array<(InlineResponse20012, Integer, Hash)>] InlineResponse20012 data, response status code and response headers
186
+ # @return [Array<(PaginatedrpmRpmRemoteResponseList, Integer, Hash)>] PaginatedrpmRpmRemoteResponseList data, response status code and response headers
187
187
  def list_with_http_info(opts = {})
188
188
  if @api_client.config.debugging
189
189
  @api_client.config.logger.debug 'Calling API: RemotesRpmApi.list ...'
@@ -219,7 +219,7 @@ module PulpRpmClient
219
219
  post_body = opts[:body]
220
220
 
221
221
  # return_type
222
- return_type = opts[:return_type] || 'InlineResponse20012'
222
+ return_type = opts[:return_type] || 'PaginatedrpmRpmRemoteResponseList'
223
223
 
224
224
  # auth_names
225
225
  auth_names = opts[:auth_names] || ['basicAuth']
@@ -155,7 +155,7 @@ module PulpRpmClient
155
155
  # @option opts [String] :ordering Which field to use when ordering the results.
156
156
  # @option opts [String] :fields A list of fields to include in the response.
157
157
  # @option opts [String] :exclude_fields A list of fields to exclude from the response.
158
- # @return [InlineResponse20013]
158
+ # @return [PaginatedrpmRpmRepositoryResponseList]
159
159
  def list(opts = {})
160
160
  data, _status_code, _headers = list_with_http_info(opts)
161
161
  data
@@ -171,7 +171,7 @@ module PulpRpmClient
171
171
  # @option opts [String] :ordering Which field to use when ordering the results.
172
172
  # @option opts [String] :fields A list of fields to include in the response.
173
173
  # @option opts [String] :exclude_fields A list of fields to exclude from the response.
174
- # @return [Array<(InlineResponse20013, Integer, Hash)>] InlineResponse20013 data, response status code and response headers
174
+ # @return [Array<(PaginatedrpmRpmRepositoryResponseList, Integer, Hash)>] PaginatedrpmRpmRepositoryResponseList data, response status code and response headers
175
175
  def list_with_http_info(opts = {})
176
176
  if @api_client.config.debugging
177
177
  @api_client.config.logger.debug 'Calling API: RepositoriesRpmApi.list ...'
@@ -201,7 +201,7 @@ module PulpRpmClient
201
201
  post_body = opts[:body]
202
202
 
203
203
  # return_type
204
- return_type = opts[:return_type] || 'InlineResponse20013'
204
+ return_type = opts[:return_type] || 'PaginatedrpmRpmRepositoryResponseList'
205
205
 
206
206
  # auth_names
207
207
  auth_names = opts[:auth_names] || ['basicAuth']
@@ -104,7 +104,7 @@ module PulpRpmClient
104
104
  # @option opts [String] :pulp_created__range pulp_created__range
105
105
  # @option opts [String] :fields A list of fields to include in the response.
106
106
  # @option opts [String] :exclude_fields A list of fields to exclude from the response.
107
- # @return [InlineResponse20014]
107
+ # @return [PaginatedRepositoryVersionResponseList]
108
108
  def list(rpm_rpm_repository_href, opts = {})
109
109
  data, _status_code, _headers = list_with_http_info(rpm_rpm_repository_href, opts)
110
110
  data
@@ -133,7 +133,7 @@ module PulpRpmClient
133
133
  # @option opts [String] :pulp_created__range pulp_created__range
134
134
  # @option opts [String] :fields A list of fields to include in the response.
135
135
  # @option opts [String] :exclude_fields A list of fields to exclude from the response.
136
- # @return [Array<(InlineResponse20014, Integer, Hash)>] InlineResponse20014 data, response status code and response headers
136
+ # @return [Array<(PaginatedRepositoryVersionResponseList, Integer, Hash)>] PaginatedRepositoryVersionResponseList data, response status code and response headers
137
137
  def list_with_http_info(rpm_rpm_repository_href, opts = {})
138
138
  if @api_client.config.debugging
139
139
  @api_client.config.logger.debug 'Calling API: RepositoriesRpmVersionsApi.list ...'
@@ -179,7 +179,7 @@ module PulpRpmClient
179
179
  post_body = opts[:body]
180
180
 
181
181
  # return_type
182
- return_type = opts[:return_type] || 'InlineResponse20014'
182
+ return_type = opts[:return_type] || 'PaginatedRepositoryVersionResponseList'
183
183
 
184
184
  # auth_names
185
185
  auth_names = opts[:auth_names] || ['basicAuth']
@@ -13,7 +13,7 @@ OpenAPI Generator version: 4.2.3
13
13
  require 'date'
14
14
 
15
15
  module PulpRpmClient
16
- class InlineResponse20014
16
+ class PaginatedRepositoryVersionResponseList
17
17
  attr_accessor :count
18
18
 
19
19
  attr_accessor :_next
@@ -54,13 +54,13 @@ module PulpRpmClient
54
54
  # @param [Hash] attributes Model attributes in the form of hash
55
55
  def initialize(attributes = {})
56
56
  if (!attributes.is_a?(Hash))
57
- fail ArgumentError, "The input argument (attributes) must be a hash in `PulpRpmClient::InlineResponse20014` initialize method"
57
+ fail ArgumentError, "The input argument (attributes) must be a hash in `PulpRpmClient::PaginatedRepositoryVersionResponseList` initialize method"
58
58
  end
59
59
 
60
60
  # check to see if the attribute exists and convert string to symbol for hash key
61
61
  attributes = attributes.each_with_object({}) { |(k, v), h|
62
62
  if (!self.class.attribute_map.key?(k.to_sym))
63
- fail ArgumentError, "`#{k}` is not a valid attribute in `PulpRpmClient::InlineResponse20014`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect
63
+ fail ArgumentError, "`#{k}` is not a valid attribute in `PulpRpmClient::PaginatedRepositoryVersionResponseList`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect
64
64
  end
65
65
  h[k.to_sym] = v
66
66
  }