pulpcore_client 3.118.1 → 3.119.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (28) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +18 -4
  3. data/docs/ArtifactDistributionResponse.md +17 -17
  4. data/docs/ContentguardsApi.md +4 -4
  5. data/docs/ContentguardsEnvvarHeaderApi.md +810 -0
  6. data/docs/EnvVarHeaderContentGuard.md +24 -0
  7. data/docs/EnvVarHeaderContentGuardResponse.md +32 -0
  8. data/docs/PaginatedEnvVarHeaderContentGuardResponseList.md +24 -0
  9. data/docs/PatchedEnvVarHeaderContentGuard.md +24 -0
  10. data/docs/Purge.md +1 -1
  11. data/lib/pulpcore_client/api/contentguards_api.rb +6 -6
  12. data/lib/pulpcore_client/api/contentguards_envvar_header_api.rb +799 -0
  13. data/lib/pulpcore_client/models/artifact_distribution_response.rb +85 -85
  14. data/lib/pulpcore_client/models/env_var_header_content_guard.rb +340 -0
  15. data/lib/pulpcore_client/models/env_var_header_content_guard_response.rb +307 -0
  16. data/lib/pulpcore_client/models/paginated_env_var_header_content_guard_response_list.rb +257 -0
  17. data/lib/pulpcore_client/models/patched_env_var_header_content_guard.rb +319 -0
  18. data/lib/pulpcore_client/models/purge.rb +1 -1
  19. data/lib/pulpcore_client/version.rb +1 -1
  20. data/lib/pulpcore_client.rb +5 -0
  21. data/spec/api/contentguards_api_spec.rb +2 -2
  22. data/spec/api/contentguards_envvar_header_api_spec.rb +192 -0
  23. data/spec/models/artifact_distribution_response_spec.rb +13 -13
  24. data/spec/models/env_var_header_content_guard_response_spec.rb +78 -0
  25. data/spec/models/env_var_header_content_guard_spec.rb +54 -0
  26. data/spec/models/paginated_env_var_header_content_guard_response_list_spec.rb +54 -0
  27. data/spec/models/patched_env_var_header_content_guard_spec.rb +54 -0
  28. metadata +22 -2
@@ -0,0 +1,319 @@
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
+ Generator version: 7.10.0
10
+
11
+ =end
12
+
13
+ require 'date'
14
+ require 'time'
15
+
16
+ module PulpcoreClient
17
+ # A serializer for EnvVarHeaderContentGuard. The guard expects the request header named ``header_name`` to carry a Base64-encoded UTF-8 representation of the secret. The plaintext secret is read from ``env_var`` on the server at request time and is never stored in or returned by the API.
18
+ class PatchedEnvVarHeaderContentGuard
19
+ # The unique name.
20
+ attr_accessor :name
21
+
22
+ # An optional description.
23
+ attr_accessor :description
24
+
25
+ # The header name the guard will check on.
26
+ attr_accessor :header_name
27
+
28
+ # Name of a content-app environment variable holding the expected secret (plaintext UTF-8). Must be listed in ENVVAR_HEADER_CONTENT_GUARD_ALLOWED_VARS. The request header must send that value Base64-encoded. The value is never stored in or returned by the API.
29
+ attr_accessor :env_var
30
+
31
+ # Attribute mapping from ruby-style variable name to JSON key.
32
+ def self.attribute_map
33
+ {
34
+ :'name' => :'name',
35
+ :'description' => :'description',
36
+ :'header_name' => :'header_name',
37
+ :'env_var' => :'env_var'
38
+ }
39
+ end
40
+
41
+ # Returns all the JSON keys this model knows about
42
+ def self.acceptable_attributes
43
+ attribute_map.values
44
+ end
45
+
46
+ # Attribute type mapping.
47
+ def self.openapi_types
48
+ {
49
+ :'name' => :'String',
50
+ :'description' => :'String',
51
+ :'header_name' => :'String',
52
+ :'env_var' => :'String'
53
+ }
54
+ end
55
+
56
+ # List of attributes with nullable: true
57
+ def self.openapi_nullable
58
+ Set.new([
59
+ :'description',
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::PatchedEnvVarHeaderContentGuard` 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::PatchedEnvVarHeaderContentGuard`. 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?(:'env_var')
91
+ self.env_var = attributes[:'env_var']
92
+ end
93
+ end
94
+
95
+ # Show invalid properties with the reasons. Usually used together with valid?
96
+ # @return Array for valid properties with the reasons
97
+ def list_invalid_properties
98
+ warn '[DEPRECATED] the `list_invalid_properties` method is obsolete'
99
+ invalid_properties = Array.new
100
+ if !@name.nil? && @name.to_s.length < 1
101
+ invalid_properties.push('invalid value for "name", the character length must be great than or equal to 1.')
102
+ end
103
+
104
+ if !@description.nil? && @description.to_s.length < 1
105
+ invalid_properties.push('invalid value for "description", the character length must be great than or equal to 1.')
106
+ end
107
+
108
+ if !@header_name.nil? && @header_name.to_s.length < 1
109
+ invalid_properties.push('invalid value for "header_name", the character length must be great than or equal to 1.')
110
+ end
111
+
112
+ if !@env_var.nil? && @env_var.to_s.length < 1
113
+ invalid_properties.push('invalid value for "env_var", the character length must be great than or equal to 1.')
114
+ end
115
+
116
+ invalid_properties
117
+ end
118
+
119
+ # Check to see if the all the properties in the model are valid
120
+ # @return true if the model is valid
121
+ def valid?
122
+ warn '[DEPRECATED] the `valid?` method is obsolete'
123
+ return false if !@name.nil? && @name.to_s.length < 1
124
+ return false if !@description.nil? && @description.to_s.length < 1
125
+ return false if !@header_name.nil? && @header_name.to_s.length < 1
126
+ return false if !@env_var.nil? && @env_var.to_s.length < 1
127
+ true
128
+ end
129
+
130
+ # Custom attribute writer method with validation
131
+ # @param [Object] name Value to be assigned
132
+ def name=(name)
133
+ if name.nil?
134
+ fail ArgumentError, 'name cannot be nil'
135
+ end
136
+
137
+ if name.to_s.length < 1
138
+ fail ArgumentError, 'invalid value for "name", the character length must be great than or equal to 1.'
139
+ end
140
+
141
+ @name = name
142
+ end
143
+
144
+ # Custom attribute writer method with validation
145
+ # @param [Object] description Value to be assigned
146
+ def description=(description)
147
+ if !description.nil? && description.to_s.length < 1
148
+ fail ArgumentError, 'invalid value for "description", the character length must be great than or equal to 1.'
149
+ end
150
+
151
+ @description = description
152
+ end
153
+
154
+ # Custom attribute writer method with validation
155
+ # @param [Object] header_name Value to be assigned
156
+ def header_name=(header_name)
157
+ if header_name.nil?
158
+ fail ArgumentError, 'header_name cannot be nil'
159
+ end
160
+
161
+ if header_name.to_s.length < 1
162
+ fail ArgumentError, 'invalid value for "header_name", the character length must be great than or equal to 1.'
163
+ end
164
+
165
+ @header_name = header_name
166
+ end
167
+
168
+ # Custom attribute writer method with validation
169
+ # @param [Object] env_var Value to be assigned
170
+ def env_var=(env_var)
171
+ if env_var.nil?
172
+ fail ArgumentError, 'env_var cannot be nil'
173
+ end
174
+
175
+ if env_var.to_s.length < 1
176
+ fail ArgumentError, 'invalid value for "env_var", the character length must be great than or equal to 1.'
177
+ end
178
+
179
+ @env_var = env_var
180
+ end
181
+
182
+ # Checks equality by comparing each attribute.
183
+ # @param [Object] Object to be compared
184
+ def ==(o)
185
+ return true if self.equal?(o)
186
+ self.class == o.class &&
187
+ name == o.name &&
188
+ description == o.description &&
189
+ header_name == o.header_name &&
190
+ env_var == o.env_var
191
+ end
192
+
193
+ # @see the `==` method
194
+ # @param [Object] Object to be compared
195
+ def eql?(o)
196
+ self == o
197
+ end
198
+
199
+ # Calculates hash code according to all attributes.
200
+ # @return [Integer] Hash code
201
+ def hash
202
+ [name, description, header_name, env_var].hash
203
+ end
204
+
205
+ # Builds the object from hash
206
+ # @param [Hash] attributes Model attributes in the form of hash
207
+ # @return [Object] Returns the model itself
208
+ def self.build_from_hash(attributes)
209
+ return nil unless attributes.is_a?(Hash)
210
+ attributes = attributes.transform_keys(&:to_sym)
211
+ transformed_hash = {}
212
+ openapi_types.each_pair do |key, type|
213
+ if attributes.key?(attribute_map[key]) && attributes[attribute_map[key]].nil?
214
+ transformed_hash["#{key}"] = nil
215
+ elsif type =~ /\AArray<(.*)>/i
216
+ # check to ensure the input is an array given that the attribute
217
+ # is documented as an array but the input is not
218
+ if attributes[attribute_map[key]].is_a?(Array)
219
+ transformed_hash["#{key}"] = attributes[attribute_map[key]].map { |v| _deserialize($1, v) }
220
+ end
221
+ elsif !attributes[attribute_map[key]].nil?
222
+ transformed_hash["#{key}"] = _deserialize(type, attributes[attribute_map[key]])
223
+ end
224
+ end
225
+ new(transformed_hash)
226
+ end
227
+
228
+ # Deserializes the data based on type
229
+ # @param string type Data type
230
+ # @param string value Value to be deserialized
231
+ # @return [Object] Deserialized data
232
+ def self._deserialize(type, value)
233
+ case type.to_sym
234
+ when :Time
235
+ Time.parse(value)
236
+ when :Date
237
+ Date.parse(value)
238
+ when :String
239
+ value.to_s
240
+ when :Integer
241
+ value.to_i
242
+ when :Float
243
+ value.to_f
244
+ when :Boolean
245
+ if value.to_s =~ /\A(true|t|yes|y|1)\z/i
246
+ true
247
+ else
248
+ false
249
+ end
250
+ when :Object
251
+ # generic object (usually a Hash), return directly
252
+ value
253
+ when /\AArray<(?<inner_type>.+)>\z/
254
+ inner_type = Regexp.last_match[:inner_type]
255
+ value.map { |v| _deserialize(inner_type, v) }
256
+ when /\AHash<(?<k_type>.+?), (?<v_type>.+)>\z/
257
+ k_type = Regexp.last_match[:k_type]
258
+ v_type = Regexp.last_match[:v_type]
259
+ {}.tap do |hash|
260
+ value.each do |k, v|
261
+ hash[_deserialize(k_type, k)] = _deserialize(v_type, v)
262
+ end
263
+ end
264
+ else # model
265
+ # models (e.g. Pet) or oneOf
266
+ klass = PulpcoreClient.const_get(type)
267
+ klass.respond_to?(:openapi_any_of) || klass.respond_to?(:openapi_one_of) ? klass.build(value) : klass.build_from_hash(value)
268
+ end
269
+ end
270
+
271
+ # Returns the string representation of the object
272
+ # @return [String] String presentation of the object
273
+ def to_s
274
+ to_hash.to_s
275
+ end
276
+
277
+ # to_body is an alias to to_hash (backward compatibility)
278
+ # @return [Hash] Returns the object in the form of hash
279
+ def to_body
280
+ to_hash
281
+ end
282
+
283
+ # Returns the object in the form of hash
284
+ # @return [Hash] Returns the object in the form of hash
285
+ def to_hash
286
+ hash = {}
287
+ self.class.attribute_map.each_pair do |attr, param|
288
+ value = self.send(attr)
289
+ if value.nil?
290
+ is_nullable = self.class.openapi_nullable.include?(attr)
291
+ next if !is_nullable || (is_nullable && !instance_variable_defined?(:"@#{attr}"))
292
+ end
293
+
294
+ hash[param] = _to_hash(value)
295
+ end
296
+ hash
297
+ end
298
+
299
+ # Outputs non-array value in the form of hash
300
+ # For object, use to_hash. Otherwise, just return the value
301
+ # @param [Object] value Any valid value
302
+ # @return [Hash] Returns the value in the form of hash
303
+ def _to_hash(value)
304
+ if value.is_a?(Array)
305
+ value.compact.map { |v| _to_hash(v) }
306
+ elsif value.is_a?(Hash)
307
+ {}.tap do |hash|
308
+ value.each { |k, v| hash[k] = _to_hash(v) }
309
+ end
310
+ elsif value.respond_to? :to_hash
311
+ value.to_hash
312
+ else
313
+ value
314
+ end
315
+ end
316
+
317
+ end
318
+
319
+ end
@@ -66,7 +66,7 @@ module PulpcoreClient
66
66
  if attributes.key?(:'finished_before')
67
67
  self.finished_before = attributes[:'finished_before']
68
68
  else
69
- self.finished_before = '2026-08-18'
69
+ self.finished_before = '2026-08-24'
70
70
  end
71
71
 
72
72
  if attributes.key?(:'states')
@@ -11,5 +11,5 @@ Generator version: 7.10.0
11
11
  =end
12
12
 
13
13
  module PulpcoreClient
14
- VERSION = '3.118.1'
14
+ VERSION = '3.119.0'
15
15
  end
@@ -36,6 +36,8 @@ require 'pulpcore_client/models/distribution_response'
36
36
  require 'pulpcore_client/models/domain'
37
37
  require 'pulpcore_client/models/domain_backend_migrator'
38
38
  require 'pulpcore_client/models/domain_response'
39
+ require 'pulpcore_client/models/env_var_header_content_guard'
40
+ require 'pulpcore_client/models/env_var_header_content_guard_response'
39
41
  require 'pulpcore_client/models/evaluation_response'
40
42
  require 'pulpcore_client/models/filesystem_export'
41
43
  require 'pulpcore_client/models/filesystem_export_response'
@@ -89,6 +91,7 @@ require 'pulpcore_client/models/paginated_content_guard_response_list'
89
91
  require 'pulpcore_client/models/paginated_content_redirect_content_guard_response_list'
90
92
  require 'pulpcore_client/models/paginated_distribution_response_list'
91
93
  require 'pulpcore_client/models/paginated_domain_response_list'
94
+ require 'pulpcore_client/models/paginated_env_var_header_content_guard_response_list'
92
95
  require 'pulpcore_client/models/paginated_filesystem_export_response_list'
93
96
  require 'pulpcore_client/models/paginated_filesystem_exporter_response_list'
94
97
  require 'pulpcore_client/models/paginated_generic_remote_response_list'
@@ -127,6 +130,7 @@ require 'pulpcore_client/models/patched_access_policy'
127
130
  require 'pulpcore_client/models/patched_composite_content_guard'
128
131
  require 'pulpcore_client/models/patched_content_redirect_content_guard'
129
132
  require 'pulpcore_client/models/patched_domain'
133
+ require 'pulpcore_client/models/patched_env_var_header_content_guard'
130
134
  require 'pulpcore_client/models/patched_filesystem_exporter'
131
135
  require 'pulpcore_client/models/patched_group'
132
136
  require 'pulpcore_client/models/patched_header_content_guard'
@@ -209,6 +213,7 @@ require 'pulpcore_client/api/content_openpgp_userid_api'
209
213
  require 'pulpcore_client/api/contentguards_api'
210
214
  require 'pulpcore_client/api/contentguards_composite_api'
211
215
  require 'pulpcore_client/api/contentguards_content_redirect_api'
216
+ require 'pulpcore_client/api/contentguards_envvar_header_api'
212
217
  require 'pulpcore_client/api/contentguards_header_api'
213
218
  require 'pulpcore_client/api/contentguards_rbac_api'
214
219
  require 'pulpcore_client/api/datarepair7272_api'
@@ -52,8 +52,8 @@ describe 'ContentguardsApi' do
52
52
  # @option opts [Array<String>] :prn__in Multiple values may be separated by commas.
53
53
  # @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
54
54
  # @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
55
- # @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;core.composite&#x60; - core.composite * &#x60;certguard.rhsm&#x60; - certguard.rhsm * &#x60;certguard.x509&#x60; - certguard.x509
56
- # @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;core.composite&#x60; - core.composite * &#x60;certguard.rhsm&#x60; - certguard.rhsm * &#x60;certguard.x509&#x60; - certguard.x509
55
+ # @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;core.envvar_header&#x60; - core.envvar_header * &#x60;core.composite&#x60; - core.composite * &#x60;certguard.rhsm&#x60; - certguard.rhsm * &#x60;certguard.x509&#x60; - certguard.x509
56
+ # @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;core.envvar_header&#x60; - core.envvar_header * &#x60;core.composite&#x60; - core.composite * &#x60;certguard.rhsm&#x60; - certguard.rhsm * &#x60;certguard.x509&#x60; - certguard.x509
57
57
  # @option opts [String] :q Filter results by using NOT, AND and OR operations on other filters
58
58
  # @option opts [Array<String>] :fields A list of fields to include in the response.
59
59
  # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
@@ -0,0 +1,192 @@
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
+ Generator version: 7.10.0
10
+
11
+ =end
12
+
13
+ require 'spec_helper'
14
+ require 'json'
15
+
16
+ # Unit tests for PulpcoreClient::ContentguardsEnvvarHeaderApi
17
+ # Automatically generated by openapi-generator (https://openapi-generator.tech)
18
+ # Please update as you see appropriate
19
+ describe 'ContentguardsEnvvarHeaderApi' do
20
+ before do
21
+ # run before each test
22
+ @api_instance = PulpcoreClient::ContentguardsEnvvarHeaderApi.new
23
+ end
24
+
25
+ after do
26
+ # run after each test
27
+ end
28
+
29
+ describe 'test an instance of ContentguardsEnvvarHeaderApi' do
30
+ it 'should create an instance of ContentguardsEnvvarHeaderApi' do
31
+ expect(@api_instance).to be_instance_of(PulpcoreClient::ContentguardsEnvvarHeaderApi)
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 env_var_header_content_guard_href
39
+ # @param nested_role
40
+ # @param [Hash] opts the optional parameters
41
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
42
+ # @return [NestedRoleResponse]
43
+ describe 'add_role test' do
44
+ it 'should work' do
45
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
46
+ end
47
+ end
48
+
49
+ # unit tests for create
50
+ # Create an env var header content guard
51
+ # Content guard that validates a Base64-encoded header against a server-side environment variable.
52
+ # @param env_var_header_content_guard
53
+ # @param [Hash] opts the optional parameters
54
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
55
+ # @return [EnvVarHeaderContentGuardResponse]
56
+ describe 'create test' do
57
+ it 'should work' do
58
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
59
+ end
60
+ end
61
+
62
+ # unit tests for delete
63
+ # Delete an env var header content guard
64
+ # Content guard that validates a Base64-encoded header against a server-side environment variable.
65
+ # @param env_var_header_content_guard_href
66
+ # @param [Hash] opts the optional parameters
67
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
68
+ # @return [nil]
69
+ describe 'delete test' do
70
+ it 'should work' do
71
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
72
+ end
73
+ end
74
+
75
+ # unit tests for list
76
+ # List env var header content guards
77
+ # Content guard that validates a Base64-encoded header against a server-side environment variable.
78
+ # @param [Hash] opts the optional parameters
79
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
80
+ # @option opts [Integer] :limit Number of results to return per page.
81
+ # @option opts [String] :name Filter results where name matches value
82
+ # @option opts [String] :name__contains Filter results where name contains value
83
+ # @option opts [String] :name__icontains Filter results where name contains value
84
+ # @option opts [String] :name__iexact Filter results where name matches value
85
+ # @option opts [Array<String>] :name__in Filter results where name is in a comma-separated list of values
86
+ # @option opts [String] :name__iregex Filter results where name matches regex value
87
+ # @option opts [String] :name__istartswith Filter results where name starts with value
88
+ # @option opts [String] :name__regex Filter results where name matches regex value
89
+ # @option opts [String] :name__startswith Filter results where name starts with value
90
+ # @option opts [Integer] :offset The initial index from which to return the results.
91
+ # @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)
92
+ # @option opts [Array<String>] :prn__in Multiple values may be separated by commas.
93
+ # @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
94
+ # @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
95
+ # @option opts [String] :q Filter results by using NOT, AND and OR operations on other filters
96
+ # @option opts [Array<String>] :fields A list of fields to include in the response.
97
+ # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
98
+ # @return [PaginatedEnvVarHeaderContentGuardResponseList]
99
+ describe 'list test' do
100
+ it 'should work' do
101
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
102
+ end
103
+ end
104
+
105
+ # unit tests for list_roles
106
+ # List roles
107
+ # List roles assigned to this object.
108
+ # @param env_var_header_content_guard_href
109
+ # @param [Hash] opts the optional parameters
110
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
111
+ # @option opts [Array<String>] :fields A list of fields to include in the response.
112
+ # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
113
+ # @return [ObjectRolesResponse]
114
+ describe 'list_roles test' do
115
+ it 'should work' do
116
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
117
+ end
118
+ end
119
+
120
+ # unit tests for my_permissions
121
+ # List user permissions
122
+ # List permissions available to the current user on this object.
123
+ # @param env_var_header_content_guard_href
124
+ # @param [Hash] opts the optional parameters
125
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
126
+ # @option opts [Array<String>] :fields A list of fields to include in the response.
127
+ # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
128
+ # @return [MyPermissionsResponse]
129
+ describe 'my_permissions test' do
130
+ it 'should work' do
131
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
132
+ end
133
+ end
134
+
135
+ # unit tests for partial_update
136
+ # Update an env var header content guard
137
+ # Content guard that validates a Base64-encoded header against a server-side environment variable.
138
+ # @param env_var_header_content_guard_href
139
+ # @param patched_env_var_header_content_guard
140
+ # @param [Hash] opts the optional parameters
141
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
142
+ # @return [EnvVarHeaderContentGuardResponse]
143
+ describe 'partial_update test' do
144
+ it 'should work' do
145
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
146
+ end
147
+ end
148
+
149
+ # unit tests for read
150
+ # Inspect an env var header content guard
151
+ # Content guard that validates a Base64-encoded header against a server-side environment variable.
152
+ # @param env_var_header_content_guard_href
153
+ # @param [Hash] opts the optional parameters
154
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
155
+ # @option opts [Array<String>] :fields A list of fields to include in the response.
156
+ # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
157
+ # @return [EnvVarHeaderContentGuardResponse]
158
+ describe 'read test' do
159
+ it 'should work' do
160
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
161
+ end
162
+ end
163
+
164
+ # unit tests for remove_role
165
+ # Remove a role
166
+ # Remove a role for this object from users/groups.
167
+ # @param env_var_header_content_guard_href
168
+ # @param nested_role
169
+ # @param [Hash] opts the optional parameters
170
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
171
+ # @return [NestedRoleResponse]
172
+ describe 'remove_role test' do
173
+ it 'should work' do
174
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
175
+ end
176
+ end
177
+
178
+ # unit tests for update
179
+ # Update an env var header content guard
180
+ # Content guard that validates a Base64-encoded header against a server-side environment variable.
181
+ # @param env_var_header_content_guard_href
182
+ # @param env_var_header_content_guard
183
+ # @param [Hash] opts the optional parameters
184
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
185
+ # @return [EnvVarHeaderContentGuardResponse]
186
+ describe 'update test' do
187
+ it 'should work' do
188
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
189
+ end
190
+ end
191
+
192
+ end
@@ -27,79 +27,79 @@ describe PulpcoreClient::ArtifactDistributionResponse do
27
27
  end
28
28
  end
29
29
 
30
- describe 'test attribute "prn"' do
30
+ describe 'test attribute "base_path"' do
31
31
  it 'should work' do
32
32
  # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
33
33
  end
34
34
  end
35
35
 
36
- describe 'test attribute "name"' do
36
+ describe 'test attribute "prn"' do
37
37
  it 'should work' do
38
38
  # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
39
39
  end
40
40
  end
41
41
 
42
- describe 'test attribute "repository_version"' do
42
+ describe 'test attribute "hidden"' do
43
43
  it 'should work' do
44
44
  # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
45
45
  end
46
46
  end
47
47
 
48
- describe 'test attribute "content_guard"' do
48
+ describe 'test attribute "pulp_href"' do
49
49
  it 'should work' do
50
50
  # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
51
51
  end
52
52
  end
53
53
 
54
- describe 'test attribute "no_content_change_since"' do
54
+ describe 'test attribute "base_url"' do
55
55
  it 'should work' do
56
56
  # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
57
57
  end
58
58
  end
59
59
 
60
- describe 'test attribute "pulp_href"' do
60
+ describe 'test attribute "content_guard"' do
61
61
  it 'should work' do
62
62
  # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
63
63
  end
64
64
  end
65
65
 
66
- describe 'test attribute "pulp_created"' do
66
+ describe 'test attribute "name"' do
67
67
  it 'should work' do
68
68
  # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
69
69
  end
70
70
  end
71
71
 
72
- describe 'test attribute "content_guard_prn"' do
72
+ describe 'test attribute "pulp_labels"' do
73
73
  it 'should work' do
74
74
  # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
75
75
  end
76
76
  end
77
77
 
78
- describe 'test attribute "hidden"' do
78
+ describe 'test attribute "pulp_created"' do
79
79
  it 'should work' do
80
80
  # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
81
81
  end
82
82
  end
83
83
 
84
- describe 'test attribute "base_path"' do
84
+ describe 'test attribute "pulp_last_updated"' do
85
85
  it 'should work' do
86
86
  # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
87
87
  end
88
88
  end
89
89
 
90
- describe 'test attribute "base_url"' do
90
+ describe 'test attribute "repository_version"' do
91
91
  it 'should work' do
92
92
  # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
93
93
  end
94
94
  end
95
95
 
96
- describe 'test attribute "pulp_last_updated"' do
96
+ describe 'test attribute "no_content_change_since"' do
97
97
  it 'should work' do
98
98
  # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
99
99
  end
100
100
  end
101
101
 
102
- describe 'test attribute "pulp_labels"' do
102
+ describe 'test attribute "content_guard_prn"' do
103
103
  it 'should work' do
104
104
  # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
105
105
  end