pulp_deb_client 2.5.0b1.dev01592847614 → 2.5.0b1.dev01593279813
Sign up to get free protection for your applications and to get access to all the features.
Potentially problematic release.
This version of pulp_deb_client might be problematic. Click here for more details.
- checksums.yaml +4 -4
- data/README.md +37 -37
- data/docs/{DebDebDistribution.md → DebAptDistribution.md} +2 -2
- data/docs/{DebDebDistributionRead.md → DebAptDistributionRead.md} +2 -2
- data/docs/{DebDebPublication.md → DebAptPublication.md} +2 -2
- data/docs/{DebDebPublicationRead.md → DebAptPublicationRead.md} +2 -2
- data/docs/{DebDebRemote.md → DebAptRemote.md} +2 -2
- data/docs/{DebDebRemoteRead.md → DebAptRemoteRead.md} +2 -2
- data/docs/{DebDebRepository.md → DebAptRepository.md} +2 -2
- data/docs/{DebDebRepositoryRead.md → DebAptRepositoryRead.md} +2 -2
- data/docs/DistributionsAptApi.md +43 -43
- data/docs/InlineResponse20010.md +1 -1
- data/docs/InlineResponse20012.md +1 -1
- data/docs/InlineResponse20013.md +1 -1
- data/docs/InlineResponse2009.md +1 -1
- data/docs/PublicationsAptApi.md +26 -26
- data/docs/RemotesAptApi.md +46 -46
- data/docs/RepositoriesAptApi.md +56 -56
- data/docs/RepositoriesDebVersionsApi.md +7 -7
- data/lib/pulp_deb_client.rb +8 -8
- data/lib/pulp_deb_client/api/distributions_apt_api.rb +61 -61
- data/lib/pulp_deb_client/api/publications_apt_api.rb +37 -37
- data/lib/pulp_deb_client/api/remotes_apt_api.rb +66 -66
- data/lib/pulp_deb_client/api/repositories_apt_api.rb +84 -84
- data/lib/pulp_deb_client/api/repositories_deb_versions_api.rb +13 -13
- data/lib/pulp_deb_client/models/{deb_deb_distribution.rb → deb_apt_distribution.rb} +3 -3
- data/lib/pulp_deb_client/models/{deb_deb_distribution_read.rb → deb_apt_distribution_read.rb} +3 -3
- data/lib/pulp_deb_client/models/{deb_deb_publication.rb → deb_apt_publication.rb} +3 -3
- data/lib/pulp_deb_client/models/{deb_deb_publication_read.rb → deb_apt_publication_read.rb} +3 -3
- data/lib/pulp_deb_client/models/{deb_deb_remote.rb → deb_apt_remote.rb} +3 -3
- data/lib/pulp_deb_client/models/{deb_deb_remote_read.rb → deb_apt_remote_read.rb} +3 -3
- data/lib/pulp_deb_client/models/{deb_deb_repository.rb → deb_apt_repository.rb} +3 -3
- data/lib/pulp_deb_client/models/{deb_deb_repository_read.rb → deb_apt_repository_read.rb} +3 -3
- data/lib/pulp_deb_client/models/inline_response20010.rb +1 -1
- data/lib/pulp_deb_client/models/inline_response20012.rb +1 -1
- data/lib/pulp_deb_client/models/inline_response20013.rb +1 -1
- data/lib/pulp_deb_client/models/inline_response2009.rb +1 -1
- data/lib/pulp_deb_client/version.rb +1 -1
- data/spec/api/distributions_apt_api_spec.rb +13 -13
- data/spec/api/publications_apt_api_spec.rb +10 -10
- data/spec/api/remotes_apt_api_spec.rb +15 -15
- data/spec/api/repositories_apt_api_spec.rb +17 -17
- data/spec/api/repositories_deb_versions_api_spec.rb +3 -3
- data/spec/models/{deb_deb_distribution_read_spec.rb → deb_apt_distribution_read_spec.rb} +6 -6
- data/spec/models/{deb_deb_distribution_spec.rb → deb_apt_distribution_spec.rb} +6 -6
- data/spec/models/{deb_deb_publication_read_spec.rb → deb_apt_publication_read_spec.rb} +6 -6
- data/spec/models/{deb_deb_publication_spec.rb → deb_apt_publication_spec.rb} +6 -6
- data/spec/models/{deb_deb_remote_read_spec.rb → deb_apt_remote_read_spec.rb} +6 -6
- data/spec/models/{deb_deb_remote_spec.rb → deb_apt_remote_spec.rb} +6 -6
- data/spec/models/{deb_deb_repository_read_spec.rb → deb_apt_repository_read_spec.rb} +6 -6
- data/spec/models/{deb_deb_repository_spec.rb → deb_apt_repository_spec.rb} +6 -6
- metadata +34 -34
@@ -82,8 +82,8 @@ module PulpDebClient
|
|
82
82
|
end
|
83
83
|
|
84
84
|
# List repository versions
|
85
|
-
#
|
86
|
-
# @param
|
85
|
+
# AptRepositoryVersion represents a single deb repository version.
|
86
|
+
# @param apt_repository_href [String] URI of Apt Repository. e.g.: /pulp/api/v3/repositories/deb/apt/1/
|
87
87
|
# @param [Hash] opts the optional parameters
|
88
88
|
# @option opts [String] :ordering Which field to use when ordering the results.
|
89
89
|
# @option opts [Float] :number
|
@@ -104,14 +104,14 @@ module PulpDebClient
|
|
104
104
|
# @option opts [String] :fields A list of fields to include in the response.
|
105
105
|
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
106
106
|
# @return [InlineResponse20014]
|
107
|
-
def list(
|
108
|
-
data, _status_code, _headers = list_with_http_info(
|
107
|
+
def list(apt_repository_href, opts = {})
|
108
|
+
data, _status_code, _headers = list_with_http_info(apt_repository_href, opts)
|
109
109
|
data
|
110
110
|
end
|
111
111
|
|
112
112
|
# List repository versions
|
113
|
-
#
|
114
|
-
# @param
|
113
|
+
# AptRepositoryVersion represents a single deb repository version.
|
114
|
+
# @param apt_repository_href [String] URI of Apt Repository. e.g.: /pulp/api/v3/repositories/deb/apt/1/
|
115
115
|
# @param [Hash] opts the optional parameters
|
116
116
|
# @option opts [String] :ordering Which field to use when ordering the results.
|
117
117
|
# @option opts [Float] :number
|
@@ -132,16 +132,16 @@ module PulpDebClient
|
|
132
132
|
# @option opts [String] :fields A list of fields to include in the response.
|
133
133
|
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
134
134
|
# @return [Array<(InlineResponse20014, Integer, Hash)>] InlineResponse20014 data, response status code and response headers
|
135
|
-
def list_with_http_info(
|
135
|
+
def list_with_http_info(apt_repository_href, opts = {})
|
136
136
|
if @api_client.config.debugging
|
137
137
|
@api_client.config.logger.debug 'Calling API: RepositoriesDebVersionsApi.list ...'
|
138
138
|
end
|
139
|
-
# verify the required parameter '
|
140
|
-
if @api_client.config.client_side_validation &&
|
141
|
-
fail ArgumentError, "Missing the required parameter '
|
139
|
+
# verify the required parameter 'apt_repository_href' is set
|
140
|
+
if @api_client.config.client_side_validation && apt_repository_href.nil?
|
141
|
+
fail ArgumentError, "Missing the required parameter 'apt_repository_href' when calling RepositoriesDebVersionsApi.list"
|
142
142
|
end
|
143
143
|
# resource path
|
144
|
-
local_var_path = '
|
144
|
+
local_var_path = '{apt_repository_href}versions/'.sub('{' + 'apt_repository_href' + '}', CGI.escape(apt_repository_href.to_s).gsub('%2F', '/'))
|
145
145
|
|
146
146
|
# query parameters
|
147
147
|
query_params = opts[:query_params] || {}
|
@@ -198,7 +198,7 @@ module PulpDebClient
|
|
198
198
|
end
|
199
199
|
|
200
200
|
# Inspect a repository version
|
201
|
-
#
|
201
|
+
# AptRepositoryVersion represents a single deb repository version.
|
202
202
|
# @param apt_repository_version_href [String] URI of Repository Version. e.g.: /pulp/api/v3/repositories/deb/apt/1/versions/1/
|
203
203
|
# @param [Hash] opts the optional parameters
|
204
204
|
# @option opts [String] :fields A list of fields to include in the response.
|
@@ -210,7 +210,7 @@ module PulpDebClient
|
|
210
210
|
end
|
211
211
|
|
212
212
|
# Inspect a repository version
|
213
|
-
#
|
213
|
+
# AptRepositoryVersion represents a single deb repository version.
|
214
214
|
# @param apt_repository_version_href [String] URI of Repository Version. e.g.: /pulp/api/v3/repositories/deb/apt/1/versions/1/
|
215
215
|
# @param [Hash] opts the optional parameters
|
216
216
|
# @option opts [String] :fields A list of fields to include in the response.
|
@@ -13,7 +13,7 @@ OpenAPI Generator version: 4.2.3
|
|
13
13
|
require 'date'
|
14
14
|
|
15
15
|
module PulpDebClient
|
16
|
-
class
|
16
|
+
class DebAptDistribution
|
17
17
|
attr_accessor :pulp_href
|
18
18
|
|
19
19
|
# Timestamp of creation.
|
@@ -72,13 +72,13 @@ module PulpDebClient
|
|
72
72
|
# @param [Hash] attributes Model attributes in the form of hash
|
73
73
|
def initialize(attributes = {})
|
74
74
|
if (!attributes.is_a?(Hash))
|
75
|
-
fail ArgumentError, "The input argument (attributes) must be a hash in `PulpDebClient::
|
75
|
+
fail ArgumentError, "The input argument (attributes) must be a hash in `PulpDebClient::DebAptDistribution` initialize method"
|
76
76
|
end
|
77
77
|
|
78
78
|
# check to see if the attribute exists and convert string to symbol for hash key
|
79
79
|
attributes = attributes.each_with_object({}) { |(k, v), h|
|
80
80
|
if (!self.class.attribute_map.key?(k.to_sym))
|
81
|
-
fail ArgumentError, "`#{k}` is not a valid attribute in `PulpDebClient::
|
81
|
+
fail ArgumentError, "`#{k}` is not a valid attribute in `PulpDebClient::DebAptDistribution`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect
|
82
82
|
end
|
83
83
|
h[k.to_sym] = v
|
84
84
|
}
|
data/lib/pulp_deb_client/models/{deb_deb_distribution_read.rb → deb_apt_distribution_read.rb}
RENAMED
@@ -13,7 +13,7 @@ OpenAPI Generator version: 4.2.3
|
|
13
13
|
require 'date'
|
14
14
|
|
15
15
|
module PulpDebClient
|
16
|
-
class
|
16
|
+
class DebAptDistributionRead
|
17
17
|
attr_accessor :pulp_href
|
18
18
|
|
19
19
|
# Timestamp of creation.
|
@@ -72,13 +72,13 @@ module PulpDebClient
|
|
72
72
|
# @param [Hash] attributes Model attributes in the form of hash
|
73
73
|
def initialize(attributes = {})
|
74
74
|
if (!attributes.is_a?(Hash))
|
75
|
-
fail ArgumentError, "The input argument (attributes) must be a hash in `PulpDebClient::
|
75
|
+
fail ArgumentError, "The input argument (attributes) must be a hash in `PulpDebClient::DebAptDistributionRead` initialize method"
|
76
76
|
end
|
77
77
|
|
78
78
|
# check to see if the attribute exists and convert string to symbol for hash key
|
79
79
|
attributes = attributes.each_with_object({}) { |(k, v), h|
|
80
80
|
if (!self.class.attribute_map.key?(k.to_sym))
|
81
|
-
fail ArgumentError, "`#{k}` is not a valid attribute in `PulpDebClient::
|
81
|
+
fail ArgumentError, "`#{k}` is not a valid attribute in `PulpDebClient::DebAptDistributionRead`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect
|
82
82
|
end
|
83
83
|
h[k.to_sym] = v
|
84
84
|
}
|
@@ -13,7 +13,7 @@ OpenAPI Generator version: 4.2.3
|
|
13
13
|
require 'date'
|
14
14
|
|
15
15
|
module PulpDebClient
|
16
|
-
class
|
16
|
+
class DebAptPublication
|
17
17
|
attr_accessor :pulp_href
|
18
18
|
|
19
19
|
# Timestamp of creation.
|
@@ -69,13 +69,13 @@ module PulpDebClient
|
|
69
69
|
# @param [Hash] attributes Model attributes in the form of hash
|
70
70
|
def initialize(attributes = {})
|
71
71
|
if (!attributes.is_a?(Hash))
|
72
|
-
fail ArgumentError, "The input argument (attributes) must be a hash in `PulpDebClient::
|
72
|
+
fail ArgumentError, "The input argument (attributes) must be a hash in `PulpDebClient::DebAptPublication` initialize method"
|
73
73
|
end
|
74
74
|
|
75
75
|
# check to see if the attribute exists and convert string to symbol for hash key
|
76
76
|
attributes = attributes.each_with_object({}) { |(k, v), h|
|
77
77
|
if (!self.class.attribute_map.key?(k.to_sym))
|
78
|
-
fail ArgumentError, "`#{k}` is not a valid attribute in `PulpDebClient::
|
78
|
+
fail ArgumentError, "`#{k}` is not a valid attribute in `PulpDebClient::DebAptPublication`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect
|
79
79
|
end
|
80
80
|
h[k.to_sym] = v
|
81
81
|
}
|
@@ -13,7 +13,7 @@ OpenAPI Generator version: 4.2.3
|
|
13
13
|
require 'date'
|
14
14
|
|
15
15
|
module PulpDebClient
|
16
|
-
class
|
16
|
+
class DebAptPublicationRead
|
17
17
|
attr_accessor :pulp_href
|
18
18
|
|
19
19
|
# Timestamp of creation.
|
@@ -69,13 +69,13 @@ module PulpDebClient
|
|
69
69
|
# @param [Hash] attributes Model attributes in the form of hash
|
70
70
|
def initialize(attributes = {})
|
71
71
|
if (!attributes.is_a?(Hash))
|
72
|
-
fail ArgumentError, "The input argument (attributes) must be a hash in `PulpDebClient::
|
72
|
+
fail ArgumentError, "The input argument (attributes) must be a hash in `PulpDebClient::DebAptPublicationRead` initialize method"
|
73
73
|
end
|
74
74
|
|
75
75
|
# check to see if the attribute exists and convert string to symbol for hash key
|
76
76
|
attributes = attributes.each_with_object({}) { |(k, v), h|
|
77
77
|
if (!self.class.attribute_map.key?(k.to_sym))
|
78
|
-
fail ArgumentError, "`#{k}` is not a valid attribute in `PulpDebClient::
|
78
|
+
fail ArgumentError, "`#{k}` is not a valid attribute in `PulpDebClient::DebAptPublicationRead`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect
|
79
79
|
end
|
80
80
|
h[k.to_sym] = v
|
81
81
|
}
|
@@ -13,7 +13,7 @@ OpenAPI Generator version: 4.2.3
|
|
13
13
|
require 'date'
|
14
14
|
|
15
15
|
module PulpDebClient
|
16
|
-
class
|
16
|
+
class DebAptRemote
|
17
17
|
attr_accessor :pulp_href
|
18
18
|
|
19
19
|
# Timestamp of creation.
|
@@ -171,13 +171,13 @@ module PulpDebClient
|
|
171
171
|
# @param [Hash] attributes Model attributes in the form of hash
|
172
172
|
def initialize(attributes = {})
|
173
173
|
if (!attributes.is_a?(Hash))
|
174
|
-
fail ArgumentError, "The input argument (attributes) must be a hash in `PulpDebClient::
|
174
|
+
fail ArgumentError, "The input argument (attributes) must be a hash in `PulpDebClient::DebAptRemote` initialize method"
|
175
175
|
end
|
176
176
|
|
177
177
|
# check to see if the attribute exists and convert string to symbol for hash key
|
178
178
|
attributes = attributes.each_with_object({}) { |(k, v), h|
|
179
179
|
if (!self.class.attribute_map.key?(k.to_sym))
|
180
|
-
fail ArgumentError, "`#{k}` is not a valid attribute in `PulpDebClient::
|
180
|
+
fail ArgumentError, "`#{k}` is not a valid attribute in `PulpDebClient::DebAptRemote`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect
|
181
181
|
end
|
182
182
|
h[k.to_sym] = v
|
183
183
|
}
|
@@ -13,7 +13,7 @@ OpenAPI Generator version: 4.2.3
|
|
13
13
|
require 'date'
|
14
14
|
|
15
15
|
module PulpDebClient
|
16
|
-
class
|
16
|
+
class DebAptRemoteRead
|
17
17
|
attr_accessor :pulp_href
|
18
18
|
|
19
19
|
# Timestamp of creation.
|
@@ -171,13 +171,13 @@ module PulpDebClient
|
|
171
171
|
# @param [Hash] attributes Model attributes in the form of hash
|
172
172
|
def initialize(attributes = {})
|
173
173
|
if (!attributes.is_a?(Hash))
|
174
|
-
fail ArgumentError, "The input argument (attributes) must be a hash in `PulpDebClient::
|
174
|
+
fail ArgumentError, "The input argument (attributes) must be a hash in `PulpDebClient::DebAptRemoteRead` initialize method"
|
175
175
|
end
|
176
176
|
|
177
177
|
# check to see if the attribute exists and convert string to symbol for hash key
|
178
178
|
attributes = attributes.each_with_object({}) { |(k, v), h|
|
179
179
|
if (!self.class.attribute_map.key?(k.to_sym))
|
180
|
-
fail ArgumentError, "`#{k}` is not a valid attribute in `PulpDebClient::
|
180
|
+
fail ArgumentError, "`#{k}` is not a valid attribute in `PulpDebClient::DebAptRemoteRead`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect
|
181
181
|
end
|
182
182
|
h[k.to_sym] = v
|
183
183
|
}
|
@@ -13,7 +13,7 @@ OpenAPI Generator version: 4.2.3
|
|
13
13
|
require 'date'
|
14
14
|
|
15
15
|
module PulpDebClient
|
16
|
-
class
|
16
|
+
class DebAptRepository
|
17
17
|
attr_accessor :pulp_href
|
18
18
|
|
19
19
|
# Timestamp of creation.
|
@@ -64,13 +64,13 @@ module PulpDebClient
|
|
64
64
|
# @param [Hash] attributes Model attributes in the form of hash
|
65
65
|
def initialize(attributes = {})
|
66
66
|
if (!attributes.is_a?(Hash))
|
67
|
-
fail ArgumentError, "The input argument (attributes) must be a hash in `PulpDebClient::
|
67
|
+
fail ArgumentError, "The input argument (attributes) must be a hash in `PulpDebClient::DebAptRepository` initialize method"
|
68
68
|
end
|
69
69
|
|
70
70
|
# check to see if the attribute exists and convert string to symbol for hash key
|
71
71
|
attributes = attributes.each_with_object({}) { |(k, v), h|
|
72
72
|
if (!self.class.attribute_map.key?(k.to_sym))
|
73
|
-
fail ArgumentError, "`#{k}` is not a valid attribute in `PulpDebClient::
|
73
|
+
fail ArgumentError, "`#{k}` is not a valid attribute in `PulpDebClient::DebAptRepository`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect
|
74
74
|
end
|
75
75
|
h[k.to_sym] = v
|
76
76
|
}
|
@@ -13,7 +13,7 @@ OpenAPI Generator version: 4.2.3
|
|
13
13
|
require 'date'
|
14
14
|
|
15
15
|
module PulpDebClient
|
16
|
-
class
|
16
|
+
class DebAptRepositoryRead
|
17
17
|
attr_accessor :pulp_href
|
18
18
|
|
19
19
|
# Timestamp of creation.
|
@@ -64,13 +64,13 @@ module PulpDebClient
|
|
64
64
|
# @param [Hash] attributes Model attributes in the form of hash
|
65
65
|
def initialize(attributes = {})
|
66
66
|
if (!attributes.is_a?(Hash))
|
67
|
-
fail ArgumentError, "The input argument (attributes) must be a hash in `PulpDebClient::
|
67
|
+
fail ArgumentError, "The input argument (attributes) must be a hash in `PulpDebClient::DebAptRepositoryRead` initialize method"
|
68
68
|
end
|
69
69
|
|
70
70
|
# check to see if the attribute exists and convert string to symbol for hash key
|
71
71
|
attributes = attributes.each_with_object({}) { |(k, v), h|
|
72
72
|
if (!self.class.attribute_map.key?(k.to_sym))
|
73
|
-
fail ArgumentError, "`#{k}` is not a valid attribute in `PulpDebClient::
|
73
|
+
fail ArgumentError, "`#{k}` is not a valid attribute in `PulpDebClient::DebAptRepositoryRead`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect
|
74
74
|
end
|
75
75
|
h[k.to_sym] = v
|
76
76
|
}
|
@@ -33,7 +33,7 @@ describe 'DistributionsAptApi' do
|
|
33
33
|
end
|
34
34
|
|
35
35
|
# unit tests for create
|
36
|
-
# Create
|
36
|
+
# Create an apt distribution
|
37
37
|
# Trigger an asynchronous create task
|
38
38
|
# @param data
|
39
39
|
# @param [Hash] opts the optional parameters
|
@@ -45,9 +45,9 @@ describe 'DistributionsAptApi' do
|
|
45
45
|
end
|
46
46
|
|
47
47
|
# unit tests for delete
|
48
|
-
# Delete
|
48
|
+
# Delete an apt distribution
|
49
49
|
# Trigger an asynchronous delete task
|
50
|
-
# @param
|
50
|
+
# @param apt_distribution_href URI of Apt Distribution. e.g.: /pulp/api/v3/distributions/deb/apt/1/
|
51
51
|
# @param [Hash] opts the optional parameters
|
52
52
|
# @return [AsyncOperationResponse]
|
53
53
|
describe 'delete test' do
|
@@ -57,8 +57,8 @@ describe 'DistributionsAptApi' do
|
|
57
57
|
end
|
58
58
|
|
59
59
|
# unit tests for list
|
60
|
-
# List
|
61
|
-
# ViewSet for
|
60
|
+
# List apt distributions
|
61
|
+
# ViewSet for AptDistributions.
|
62
62
|
# @param [Hash] opts the optional parameters
|
63
63
|
# @option opts [String] :ordering Which field to use when ordering the results.
|
64
64
|
# @option opts [String] :name
|
@@ -79,9 +79,9 @@ describe 'DistributionsAptApi' do
|
|
79
79
|
end
|
80
80
|
|
81
81
|
# unit tests for partial_update
|
82
|
-
# Partially update
|
82
|
+
# Partially update an apt distribution
|
83
83
|
# Trigger an asynchronous partial update task
|
84
|
-
# @param
|
84
|
+
# @param apt_distribution_href URI of Apt Distribution. e.g.: /pulp/api/v3/distributions/deb/apt/1/
|
85
85
|
# @param data
|
86
86
|
# @param [Hash] opts the optional parameters
|
87
87
|
# @return [AsyncOperationResponse]
|
@@ -92,13 +92,13 @@ describe 'DistributionsAptApi' do
|
|
92
92
|
end
|
93
93
|
|
94
94
|
# unit tests for read
|
95
|
-
# Inspect
|
96
|
-
# ViewSet for
|
97
|
-
# @param
|
95
|
+
# Inspect an apt distribution
|
96
|
+
# ViewSet for AptDistributions.
|
97
|
+
# @param apt_distribution_href URI of Apt Distribution. e.g.: /pulp/api/v3/distributions/deb/apt/1/
|
98
98
|
# @param [Hash] opts the optional parameters
|
99
99
|
# @option opts [String] :fields A list of fields to include in the response.
|
100
100
|
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
101
|
-
# @return [
|
101
|
+
# @return [DebAptDistributionRead]
|
102
102
|
describe 'read test' do
|
103
103
|
it 'should work' do
|
104
104
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
@@ -106,9 +106,9 @@ describe 'DistributionsAptApi' do
|
|
106
106
|
end
|
107
107
|
|
108
108
|
# unit tests for update
|
109
|
-
# Update
|
109
|
+
# Update an apt distribution
|
110
110
|
# Trigger an asynchronous update task
|
111
|
-
# @param
|
111
|
+
# @param apt_distribution_href URI of Apt Distribution. e.g.: /pulp/api/v3/distributions/deb/apt/1/
|
112
112
|
# @param data
|
113
113
|
# @param [Hash] opts the optional parameters
|
114
114
|
# @return [AsyncOperationResponse]
|
@@ -33,7 +33,7 @@ describe 'PublicationsAptApi' do
|
|
33
33
|
end
|
34
34
|
|
35
35
|
# unit tests for create
|
36
|
-
# Create
|
36
|
+
# Create an apt publication
|
37
37
|
# Trigger an asynchronous task to publish content
|
38
38
|
# @param data
|
39
39
|
# @param [Hash] opts the optional parameters
|
@@ -45,9 +45,9 @@ describe 'PublicationsAptApi' do
|
|
45
45
|
end
|
46
46
|
|
47
47
|
# unit tests for delete
|
48
|
-
# Delete
|
49
|
-
# A ViewSet for
|
50
|
-
# @param
|
48
|
+
# Delete an apt publication
|
49
|
+
# A ViewSet for AptPublication.
|
50
|
+
# @param apt_publication_href URI of Apt Publication. e.g.: /pulp/api/v3/publications/deb/apt/1/
|
51
51
|
# @param [Hash] opts the optional parameters
|
52
52
|
# @return [nil]
|
53
53
|
describe 'delete test' do
|
@@ -57,8 +57,8 @@ describe 'PublicationsAptApi' do
|
|
57
57
|
end
|
58
58
|
|
59
59
|
# unit tests for list
|
60
|
-
# List
|
61
|
-
# A ViewSet for
|
60
|
+
# List apt publications
|
61
|
+
# A ViewSet for AptPublication.
|
62
62
|
# @param [Hash] opts the optional parameters
|
63
63
|
# @option opts [String] :ordering Which field to use when ordering the results.
|
64
64
|
# @option opts [String] :repository_version Repository Version referenced by HREF
|
@@ -80,13 +80,13 @@ describe 'PublicationsAptApi' do
|
|
80
80
|
end
|
81
81
|
|
82
82
|
# unit tests for read
|
83
|
-
# Inspect
|
84
|
-
# A ViewSet for
|
85
|
-
# @param
|
83
|
+
# Inspect an apt publication
|
84
|
+
# A ViewSet for AptPublication.
|
85
|
+
# @param apt_publication_href URI of Apt Publication. e.g.: /pulp/api/v3/publications/deb/apt/1/
|
86
86
|
# @param [Hash] opts the optional parameters
|
87
87
|
# @option opts [String] :fields A list of fields to include in the response.
|
88
88
|
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
89
|
-
# @return [
|
89
|
+
# @return [DebAptPublicationRead]
|
90
90
|
describe 'read test' do
|
91
91
|
it 'should work' do
|
92
92
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
@@ -33,11 +33,11 @@ describe 'RemotesAptApi' do
|
|
33
33
|
end
|
34
34
|
|
35
35
|
# unit tests for create
|
36
|
-
# Create
|
37
|
-
# A ViewSet for
|
36
|
+
# Create an apt remote
|
37
|
+
# A ViewSet for AptRemote.
|
38
38
|
# @param data
|
39
39
|
# @param [Hash] opts the optional parameters
|
40
|
-
# @return [
|
40
|
+
# @return [DebAptRemoteRead]
|
41
41
|
describe 'create test' do
|
42
42
|
it 'should work' do
|
43
43
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
@@ -45,9 +45,9 @@ describe 'RemotesAptApi' do
|
|
45
45
|
end
|
46
46
|
|
47
47
|
# unit tests for delete
|
48
|
-
# Delete
|
48
|
+
# Delete an apt remote
|
49
49
|
# Trigger an asynchronous delete task
|
50
|
-
# @param
|
50
|
+
# @param apt_remote_href URI of Apt Remote. e.g.: /pulp/api/v3/remotes/deb/apt/1/
|
51
51
|
# @param [Hash] opts the optional parameters
|
52
52
|
# @return [AsyncOperationResponse]
|
53
53
|
describe 'delete test' do
|
@@ -57,8 +57,8 @@ describe 'RemotesAptApi' do
|
|
57
57
|
end
|
58
58
|
|
59
59
|
# unit tests for list
|
60
|
-
# List
|
61
|
-
# A ViewSet for
|
60
|
+
# List apt remotes
|
61
|
+
# A ViewSet for AptRemote.
|
62
62
|
# @param [Hash] opts the optional parameters
|
63
63
|
# @option opts [String] :ordering Which field to use when ordering the results.
|
64
64
|
# @option opts [String] :name
|
@@ -81,9 +81,9 @@ describe 'RemotesAptApi' do
|
|
81
81
|
end
|
82
82
|
|
83
83
|
# unit tests for partial_update
|
84
|
-
# Partially update
|
84
|
+
# Partially update an apt remote
|
85
85
|
# Trigger an asynchronous partial update task
|
86
|
-
# @param
|
86
|
+
# @param apt_remote_href URI of Apt Remote. e.g.: /pulp/api/v3/remotes/deb/apt/1/
|
87
87
|
# @param data
|
88
88
|
# @param [Hash] opts the optional parameters
|
89
89
|
# @return [AsyncOperationResponse]
|
@@ -94,13 +94,13 @@ describe 'RemotesAptApi' do
|
|
94
94
|
end
|
95
95
|
|
96
96
|
# unit tests for read
|
97
|
-
# Inspect
|
98
|
-
# A ViewSet for
|
99
|
-
# @param
|
97
|
+
# Inspect an apt remote
|
98
|
+
# A ViewSet for AptRemote.
|
99
|
+
# @param apt_remote_href URI of Apt Remote. e.g.: /pulp/api/v3/remotes/deb/apt/1/
|
100
100
|
# @param [Hash] opts the optional parameters
|
101
101
|
# @option opts [String] :fields A list of fields to include in the response.
|
102
102
|
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
103
|
-
# @return [
|
103
|
+
# @return [DebAptRemoteRead]
|
104
104
|
describe 'read test' do
|
105
105
|
it 'should work' do
|
106
106
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
@@ -108,9 +108,9 @@ describe 'RemotesAptApi' do
|
|
108
108
|
end
|
109
109
|
|
110
110
|
# unit tests for update
|
111
|
-
# Update
|
111
|
+
# Update an apt remote
|
112
112
|
# Trigger an asynchronous update task
|
113
|
-
# @param
|
113
|
+
# @param apt_remote_href URI of Apt Remote. e.g.: /pulp/api/v3/remotes/deb/apt/1/
|
114
114
|
# @param data
|
115
115
|
# @param [Hash] opts the optional parameters
|
116
116
|
# @return [AsyncOperationResponse]
|