pulpcore_client 3.38.1 → 3.39.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,325 @@
1
+ =begin
2
+ #Pulp 3 API
3
+
4
+ #Fetch, Upload, Organize, and Distribute Software Packages
5
+
6
+ The version of the OpenAPI document: v3
7
+ Contact: pulp-list@redhat.com
8
+ Generated by: https://openapi-generator.tech
9
+ OpenAPI Generator version: 4.3.1
10
+
11
+ =end
12
+
13
+ require 'date'
14
+
15
+ module PulpcoreClient
16
+ # A serializer for HeaderContentGuard.
17
+ class PatchedHeaderContentGuard
18
+ # The unique name.
19
+ attr_accessor :name
20
+
21
+ # An optional description.
22
+ attr_accessor :description
23
+
24
+ # The header name the guard will check on.
25
+ attr_accessor :header_name
26
+
27
+ # The value that will authorize the request.
28
+ attr_accessor :header_value
29
+
30
+ # A JQ syntax compatible filter. If jq_filter is not set, then the value willonly be Base64 decoded and checked as an explicit string match.
31
+ attr_accessor :jq_filter
32
+
33
+ # Attribute mapping from ruby-style variable name to JSON key.
34
+ def self.attribute_map
35
+ {
36
+ :'name' => :'name',
37
+ :'description' => :'description',
38
+ :'header_name' => :'header_name',
39
+ :'header_value' => :'header_value',
40
+ :'jq_filter' => :'jq_filter'
41
+ }
42
+ end
43
+
44
+ # Attribute type mapping.
45
+ def self.openapi_types
46
+ {
47
+ :'name' => :'String',
48
+ :'description' => :'String',
49
+ :'header_name' => :'String',
50
+ :'header_value' => :'String',
51
+ :'jq_filter' => :'String'
52
+ }
53
+ end
54
+
55
+ # List of attributes with nullable: true
56
+ def self.openapi_nullable
57
+ Set.new([
58
+ :'description',
59
+ :'jq_filter'
60
+ ])
61
+ end
62
+
63
+ # Initializes the object
64
+ # @param [Hash] attributes Model attributes in the form of hash
65
+ def initialize(attributes = {})
66
+ if (!attributes.is_a?(Hash))
67
+ fail ArgumentError, "The input argument (attributes) must be a hash in `PulpcoreClient::PatchedHeaderContentGuard` initialize method"
68
+ end
69
+
70
+ # check to see if the attribute exists and convert string to symbol for hash key
71
+ attributes = attributes.each_with_object({}) { |(k, v), h|
72
+ if (!self.class.attribute_map.key?(k.to_sym))
73
+ fail ArgumentError, "`#{k}` is not a valid attribute in `PulpcoreClient::PatchedHeaderContentGuard`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect
74
+ end
75
+ h[k.to_sym] = v
76
+ }
77
+
78
+ if attributes.key?(:'name')
79
+ self.name = attributes[:'name']
80
+ end
81
+
82
+ if attributes.key?(:'description')
83
+ self.description = attributes[:'description']
84
+ end
85
+
86
+ if attributes.key?(:'header_name')
87
+ self.header_name = attributes[:'header_name']
88
+ end
89
+
90
+ if attributes.key?(:'header_value')
91
+ self.header_value = attributes[:'header_value']
92
+ end
93
+
94
+ if attributes.key?(:'jq_filter')
95
+ self.jq_filter = attributes[:'jq_filter']
96
+ end
97
+ end
98
+
99
+ # Show invalid properties with the reasons. Usually used together with valid?
100
+ # @return Array for valid properties with the reasons
101
+ def list_invalid_properties
102
+ invalid_properties = Array.new
103
+ if !@name.nil? && @name.to_s.length < 1
104
+ invalid_properties.push('invalid value for "name", the character length must be great than or equal to 1.')
105
+ end
106
+
107
+ if !@description.nil? && @description.to_s.length < 1
108
+ invalid_properties.push('invalid value for "description", the character length must be great than or equal to 1.')
109
+ end
110
+
111
+ if !@header_name.nil? && @header_name.to_s.length < 1
112
+ invalid_properties.push('invalid value for "header_name", the character length must be great than or equal to 1.')
113
+ end
114
+
115
+ if !@header_value.nil? && @header_value.to_s.length < 1
116
+ invalid_properties.push('invalid value for "header_value", the character length must be great than or equal to 1.')
117
+ end
118
+
119
+ if !@jq_filter.nil? && @jq_filter.to_s.length < 1
120
+ invalid_properties.push('invalid value for "jq_filter", the character length must be great than or equal to 1.')
121
+ end
122
+
123
+ invalid_properties
124
+ end
125
+
126
+ # Check to see if the all the properties in the model are valid
127
+ # @return true if the model is valid
128
+ def valid?
129
+ return false if !@name.nil? && @name.to_s.length < 1
130
+ return false if !@description.nil? && @description.to_s.length < 1
131
+ return false if !@header_name.nil? && @header_name.to_s.length < 1
132
+ return false if !@header_value.nil? && @header_value.to_s.length < 1
133
+ return false if !@jq_filter.nil? && @jq_filter.to_s.length < 1
134
+ true
135
+ end
136
+
137
+ # Custom attribute writer method with validation
138
+ # @param [Object] name Value to be assigned
139
+ def name=(name)
140
+ if !name.nil? && name.to_s.length < 1
141
+ fail ArgumentError, 'invalid value for "name", the character length must be great than or equal to 1.'
142
+ end
143
+
144
+ @name = name
145
+ end
146
+
147
+ # Custom attribute writer method with validation
148
+ # @param [Object] description Value to be assigned
149
+ def description=(description)
150
+ if !description.nil? && description.to_s.length < 1
151
+ fail ArgumentError, 'invalid value for "description", the character length must be great than or equal to 1.'
152
+ end
153
+
154
+ @description = description
155
+ end
156
+
157
+ # Custom attribute writer method with validation
158
+ # @param [Object] header_name Value to be assigned
159
+ def header_name=(header_name)
160
+ if !header_name.nil? && header_name.to_s.length < 1
161
+ fail ArgumentError, 'invalid value for "header_name", the character length must be great than or equal to 1.'
162
+ end
163
+
164
+ @header_name = header_name
165
+ end
166
+
167
+ # Custom attribute writer method with validation
168
+ # @param [Object] header_value Value to be assigned
169
+ def header_value=(header_value)
170
+ if !header_value.nil? && header_value.to_s.length < 1
171
+ fail ArgumentError, 'invalid value for "header_value", the character length must be great than or equal to 1.'
172
+ end
173
+
174
+ @header_value = header_value
175
+ end
176
+
177
+ # Custom attribute writer method with validation
178
+ # @param [Object] jq_filter Value to be assigned
179
+ def jq_filter=(jq_filter)
180
+ if !jq_filter.nil? && jq_filter.to_s.length < 1
181
+ fail ArgumentError, 'invalid value for "jq_filter", the character length must be great than or equal to 1.'
182
+ end
183
+
184
+ @jq_filter = jq_filter
185
+ end
186
+
187
+ # Checks equality by comparing each attribute.
188
+ # @param [Object] Object to be compared
189
+ def ==(o)
190
+ return true if self.equal?(o)
191
+ self.class == o.class &&
192
+ name == o.name &&
193
+ description == o.description &&
194
+ header_name == o.header_name &&
195
+ header_value == o.header_value &&
196
+ jq_filter == o.jq_filter
197
+ end
198
+
199
+ # @see the `==` method
200
+ # @param [Object] Object to be compared
201
+ def eql?(o)
202
+ self == o
203
+ end
204
+
205
+ # Calculates hash code according to all attributes.
206
+ # @return [Integer] Hash code
207
+ def hash
208
+ [name, description, header_name, header_value, jq_filter].hash
209
+ end
210
+
211
+ # Builds the object from hash
212
+ # @param [Hash] attributes Model attributes in the form of hash
213
+ # @return [Object] Returns the model itself
214
+ def self.build_from_hash(attributes)
215
+ new.build_from_hash(attributes)
216
+ end
217
+
218
+ # Builds the object from hash
219
+ # @param [Hash] attributes Model attributes in the form of hash
220
+ # @return [Object] Returns the model itself
221
+ def build_from_hash(attributes)
222
+ return nil unless attributes.is_a?(Hash)
223
+ self.class.openapi_types.each_pair do |key, type|
224
+ if type =~ /\AArray<(.*)>/i
225
+ # check to ensure the input is an array given that the attribute
226
+ # is documented as an array but the input is not
227
+ if attributes[self.class.attribute_map[key]].is_a?(Array)
228
+ self.send("#{key}=", attributes[self.class.attribute_map[key]].map { |v| _deserialize($1, v) })
229
+ end
230
+ elsif !attributes[self.class.attribute_map[key]].nil?
231
+ self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]]))
232
+ end # or else data not found in attributes(hash), not an issue as the data can be optional
233
+ end
234
+
235
+ self
236
+ end
237
+
238
+ # Deserializes the data based on type
239
+ # @param string type Data type
240
+ # @param string value Value to be deserialized
241
+ # @return [Object] Deserialized data
242
+ def _deserialize(type, value)
243
+ case type.to_sym
244
+ when :DateTime
245
+ DateTime.parse(value)
246
+ when :Date
247
+ Date.parse(value)
248
+ when :String
249
+ value.to_s
250
+ when :Integer
251
+ value.to_i
252
+ when :Float
253
+ value.to_f
254
+ when :Boolean
255
+ if value.to_s =~ /\A(true|t|yes|y|1)\z/i
256
+ true
257
+ else
258
+ false
259
+ end
260
+ when :Object
261
+ # generic object (usually a Hash), return directly
262
+ value
263
+ when /\AArray<(?<inner_type>.+)>\z/
264
+ inner_type = Regexp.last_match[:inner_type]
265
+ value.map { |v| _deserialize(inner_type, v) }
266
+ when /\AHash<(?<k_type>.+?), (?<v_type>.+)>\z/
267
+ k_type = Regexp.last_match[:k_type]
268
+ v_type = Regexp.last_match[:v_type]
269
+ {}.tap do |hash|
270
+ value.each do |k, v|
271
+ hash[_deserialize(k_type, k)] = _deserialize(v_type, v)
272
+ end
273
+ end
274
+ else # model
275
+ PulpcoreClient.const_get(type).build_from_hash(value)
276
+ end
277
+ end
278
+
279
+ # Returns the string representation of the object
280
+ # @return [String] String presentation of the object
281
+ def to_s
282
+ to_hash.to_s
283
+ end
284
+
285
+ # to_body is an alias to to_hash (backward compatibility)
286
+ # @return [Hash] Returns the object in the form of hash
287
+ def to_body
288
+ to_hash
289
+ end
290
+
291
+ # Returns the object in the form of hash
292
+ # @return [Hash] Returns the object in the form of hash
293
+ def to_hash
294
+ hash = {}
295
+ self.class.attribute_map.each_pair do |attr, param|
296
+ value = self.send(attr)
297
+ if value.nil?
298
+ is_nullable = self.class.openapi_nullable.include?(attr)
299
+ next if !is_nullable || (is_nullable && !instance_variable_defined?(:"@#{attr}"))
300
+ end
301
+
302
+ hash[param] = _to_hash(value)
303
+ end
304
+ hash
305
+ end
306
+
307
+ # Outputs non-array value in the form of hash
308
+ # For object, use to_hash. Otherwise, just return the value
309
+ # @param [Object] value Any valid value
310
+ # @return [Hash] Returns the value in the form of hash
311
+ def _to_hash(value)
312
+ if value.is_a?(Array)
313
+ value.compact.map { |v| _to_hash(v) }
314
+ elsif value.is_a?(Hash)
315
+ {}.tap do |hash|
316
+ value.each { |k, v| hash[k] = _to_hash(v) }
317
+ end
318
+ elsif value.respond_to? :to_hash
319
+ value.to_hash
320
+ else
321
+ value
322
+ end
323
+ end
324
+ end
325
+ end
@@ -11,5 +11,5 @@ OpenAPI Generator version: 4.3.1
11
11
  =end
12
12
 
13
13
  module PulpcoreClient
14
- VERSION = '3.38.1'
14
+ VERSION = '3.39.0'
15
15
  end
@@ -46,6 +46,8 @@ require 'pulpcore_client/models/group_role'
46
46
  require 'pulpcore_client/models/group_role_response'
47
47
  require 'pulpcore_client/models/group_user'
48
48
  require 'pulpcore_client/models/group_user_response'
49
+ require 'pulpcore_client/models/header_content_guard'
50
+ require 'pulpcore_client/models/header_content_guard_response'
49
51
  require 'pulpcore_client/models/import_response'
50
52
  require 'pulpcore_client/models/method_enum'
51
53
  require 'pulpcore_client/models/minimal_task_response'
@@ -67,6 +69,7 @@ require 'pulpcore_client/models/paginated_filesystem_exporter_response_list'
67
69
  require 'pulpcore_client/models/paginated_group_response_list'
68
70
  require 'pulpcore_client/models/paginated_group_role_response_list'
69
71
  require 'pulpcore_client/models/paginated_group_user_response_list'
72
+ require 'pulpcore_client/models/paginated_header_content_guard_response_list'
70
73
  require 'pulpcore_client/models/paginated_import_response_list'
71
74
  require 'pulpcore_client/models/paginated_multiple_artifact_content_response_list'
72
75
  require 'pulpcore_client/models/paginated_publication_response_list'
@@ -92,6 +95,7 @@ require 'pulpcore_client/models/patched_content_redirect_content_guard'
92
95
  require 'pulpcore_client/models/patched_domain'
93
96
  require 'pulpcore_client/models/patched_filesystem_exporter'
94
97
  require 'pulpcore_client/models/patched_group'
98
+ require 'pulpcore_client/models/patched_header_content_guard'
95
99
  require 'pulpcore_client/models/patched_pulp_exporter'
96
100
  require 'pulpcore_client/models/patched_pulp_importer'
97
101
  require 'pulpcore_client/models/patched_rbac_content_guard'
@@ -155,6 +159,7 @@ require 'pulpcore_client/api/artifacts_api'
155
159
  require 'pulpcore_client/api/content_api'
156
160
  require 'pulpcore_client/api/contentguards_api'
157
161
  require 'pulpcore_client/api/contentguards_content_redirect_api'
162
+ require 'pulpcore_client/api/contentguards_header_api'
158
163
  require 'pulpcore_client/api/contentguards_rbac_api'
159
164
  require 'pulpcore_client/api/distributions_api'
160
165
  require 'pulpcore_client/api/distributions_artifacts_api'
@@ -50,8 +50,8 @@ describe 'ContentguardsApi' do
50
50
  # @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;name&#x60; - Name * &#x60;-name&#x60; - Name (descending) * &#x60;description&#x60; - Description * &#x60;-description&#x60; - Description (descending) * &#x60;pk&#x60; - Pk * &#x60;-pk&#x60; - Pk (descending)
51
51
  # @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
52
52
  # @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
53
- # @option opts [String] :pulp_type Pulp type * &#x60;core.rbac&#x60; - core.rbac * &#x60;core.content_redirect&#x60; - core.content_redirect * &#x60;certguard.rhsm&#x60; - certguard.rhsm * &#x60;certguard.x509&#x60; - certguard.x509
54
- # @option opts [Array<String>] :pulp_type__in Multiple values may be separated by commas. * &#x60;core.rbac&#x60; - core.rbac * &#x60;core.content_redirect&#x60; - core.content_redirect * &#x60;certguard.rhsm&#x60; - certguard.rhsm * &#x60;certguard.x509&#x60; - certguard.x509
53
+ # @option opts [String] :pulp_type Pulp type * &#x60;core.rbac&#x60; - core.rbac * &#x60;core.content_redirect&#x60; - core.content_redirect * &#x60;core.header&#x60; - core.header * &#x60;certguard.rhsm&#x60; - certguard.rhsm * &#x60;certguard.x509&#x60; - certguard.x509
54
+ # @option opts [Array<String>] :pulp_type__in Multiple values may be separated by commas. * &#x60;core.rbac&#x60; - core.rbac * &#x60;core.content_redirect&#x60; - core.content_redirect * &#x60;core.header&#x60; - core.header * &#x60;certguard.rhsm&#x60; - certguard.rhsm * &#x60;certguard.x509&#x60; - certguard.x509
55
55
  # @option opts [String] :q
56
56
  # @option opts [Array<String>] :fields A list of fields to include in the response.
57
57
  # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
@@ -0,0 +1,181 @@
1
+ =begin
2
+ #Pulp 3 API
3
+
4
+ #Fetch, Upload, Organize, and Distribute Software Packages
5
+
6
+ The version of the OpenAPI document: v3
7
+ Contact: pulp-list@redhat.com
8
+ Generated by: https://openapi-generator.tech
9
+ OpenAPI Generator version: 4.3.1
10
+
11
+ =end
12
+
13
+ require 'spec_helper'
14
+ require 'json'
15
+
16
+ # Unit tests for PulpcoreClient::ContentguardsHeaderApi
17
+ # Automatically generated by openapi-generator (https://openapi-generator.tech)
18
+ # Please update as you see appropriate
19
+ describe 'ContentguardsHeaderApi' do
20
+ before do
21
+ # run before each test
22
+ @api_instance = PulpcoreClient::ContentguardsHeaderApi.new
23
+ end
24
+
25
+ after do
26
+ # run after each test
27
+ end
28
+
29
+ describe 'test an instance of ContentguardsHeaderApi' do
30
+ it 'should create an instance of ContentguardsHeaderApi' do
31
+ expect(@api_instance).to be_instance_of(PulpcoreClient::ContentguardsHeaderApi)
32
+ end
33
+ end
34
+
35
+ # unit tests for add_role
36
+ # Add a role
37
+ # Add a role for this object to users/groups.
38
+ # @param header_content_guard_href
39
+ # @param nested_role
40
+ # @param [Hash] opts the optional parameters
41
+ # @return [NestedRoleResponse]
42
+ describe 'add_role test' do
43
+ it 'should work' do
44
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
45
+ end
46
+ end
47
+
48
+ # unit tests for create
49
+ # Create a header content guard
50
+ # Content guard to protect the content app using a specific header.
51
+ # @param header_content_guard
52
+ # @param [Hash] opts the optional parameters
53
+ # @return [HeaderContentGuardResponse]
54
+ describe 'create test' do
55
+ it 'should work' do
56
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
57
+ end
58
+ end
59
+
60
+ # unit tests for delete
61
+ # Delete a header content guard
62
+ # Content guard to protect the content app using a specific header.
63
+ # @param header_content_guard_href
64
+ # @param [Hash] opts the optional parameters
65
+ # @return [nil]
66
+ describe 'delete test' do
67
+ it 'should work' do
68
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
69
+ end
70
+ end
71
+
72
+ # unit tests for list
73
+ # List header content guards
74
+ # Content guard to protect the content app using a specific header.
75
+ # @param [Hash] opts the optional parameters
76
+ # @option opts [Integer] :limit Number of results to return per page.
77
+ # @option opts [String] :name Filter results where name matches value
78
+ # @option opts [String] :name__contains Filter results where name contains value
79
+ # @option opts [String] :name__icontains Filter results where name contains value
80
+ # @option opts [String] :name__iexact Filter results where name matches value
81
+ # @option opts [Array<String>] :name__in Filter results where name is in a comma-separated list of values
82
+ # @option opts [String] :name__iregex Filter results where name matches regex value
83
+ # @option opts [String] :name__istartswith Filter results where name starts with value
84
+ # @option opts [String] :name__regex Filter results where name matches regex value
85
+ # @option opts [String] :name__startswith Filter results where name starts with value
86
+ # @option opts [Integer] :offset The initial index from which to return the results.
87
+ # @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;name&#x60; - Name * &#x60;-name&#x60; - Name (descending) * &#x60;description&#x60; - Description * &#x60;-description&#x60; - Description (descending) * &#x60;pk&#x60; - Pk * &#x60;-pk&#x60; - Pk (descending)
88
+ # @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
89
+ # @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
90
+ # @option opts [String] :q
91
+ # @option opts [Array<String>] :fields A list of fields to include in the response.
92
+ # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
93
+ # @return [PaginatedHeaderContentGuardResponseList]
94
+ describe 'list test' do
95
+ it 'should work' do
96
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
97
+ end
98
+ end
99
+
100
+ # unit tests for list_roles
101
+ # List roles
102
+ # List roles assigned to this object.
103
+ # @param header_content_guard_href
104
+ # @param [Hash] opts the optional parameters
105
+ # @option opts [Array<String>] :fields A list of fields to include in the response.
106
+ # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
107
+ # @return [ObjectRolesResponse]
108
+ describe 'list_roles test' do
109
+ it 'should work' do
110
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
111
+ end
112
+ end
113
+
114
+ # unit tests for my_permissions
115
+ # List user permissions
116
+ # List permissions available to the current user on this object.
117
+ # @param header_content_guard_href
118
+ # @param [Hash] opts the optional parameters
119
+ # @option opts [Array<String>] :fields A list of fields to include in the response.
120
+ # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
121
+ # @return [MyPermissionsResponse]
122
+ describe 'my_permissions test' do
123
+ it 'should work' do
124
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
125
+ end
126
+ end
127
+
128
+ # unit tests for partial_update
129
+ # Update a header content guard
130
+ # Content guard to protect the content app using a specific header.
131
+ # @param header_content_guard_href
132
+ # @param patched_header_content_guard
133
+ # @param [Hash] opts the optional parameters
134
+ # @return [HeaderContentGuardResponse]
135
+ describe 'partial_update test' do
136
+ it 'should work' do
137
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
138
+ end
139
+ end
140
+
141
+ # unit tests for read
142
+ # Inspect a header content guard
143
+ # Content guard to protect the content app using a specific header.
144
+ # @param header_content_guard_href
145
+ # @param [Hash] opts the optional parameters
146
+ # @option opts [Array<String>] :fields A list of fields to include in the response.
147
+ # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
148
+ # @return [HeaderContentGuardResponse]
149
+ describe 'read test' do
150
+ it 'should work' do
151
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
152
+ end
153
+ end
154
+
155
+ # unit tests for remove_role
156
+ # Remove a role
157
+ # Remove a role for this object from users/groups.
158
+ # @param header_content_guard_href
159
+ # @param nested_role
160
+ # @param [Hash] opts the optional parameters
161
+ # @return [NestedRoleResponse]
162
+ describe 'remove_role test' do
163
+ it 'should work' do
164
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
165
+ end
166
+ end
167
+
168
+ # unit tests for update
169
+ # Update a header content guard
170
+ # Content guard to protect the content app using a specific header.
171
+ # @param header_content_guard_href
172
+ # @param header_content_guard
173
+ # @param [Hash] opts the optional parameters
174
+ # @return [HeaderContentGuardResponse]
175
+ describe 'update test' do
176
+ it 'should work' do
177
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
178
+ end
179
+ end
180
+
181
+ end
@@ -32,25 +32,25 @@ describe 'ArtifactDistributionResponse' do
32
32
  expect(@instance).to be_instance_of(PulpcoreClient::ArtifactDistributionResponse)
33
33
  end
34
34
  end
35
- describe 'test attribute "pulp_labels"' do
35
+ describe 'test attribute "base_path"' do
36
36
  it 'should work' do
37
37
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
38
38
  end
39
39
  end
40
40
 
41
- describe 'test attribute "pulp_created"' do
41
+ describe 'test attribute "hidden"' do
42
42
  it 'should work' do
43
43
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
44
44
  end
45
45
  end
46
46
 
47
- describe 'test attribute "base_path"' do
47
+ describe 'test attribute "base_url"' do
48
48
  it 'should work' do
49
49
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
50
50
  end
51
51
  end
52
52
 
53
- describe 'test attribute "name"' do
53
+ describe 'test attribute "pulp_labels"' do
54
54
  it 'should work' do
55
55
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
56
56
  end
@@ -62,19 +62,19 @@ describe 'ArtifactDistributionResponse' do
62
62
  end
63
63
  end
64
64
 
65
- describe 'test attribute "content_guard"' do
65
+ describe 'test attribute "pulp_created"' do
66
66
  it 'should work' do
67
67
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
68
68
  end
69
69
  end
70
70
 
71
- describe 'test attribute "hidden"' do
71
+ describe 'test attribute "name"' do
72
72
  it 'should work' do
73
73
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
74
74
  end
75
75
  end
76
76
 
77
- describe 'test attribute "base_url"' do
77
+ describe 'test attribute "content_guard"' do
78
78
  it 'should work' do
79
79
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
80
80
  end