pulp_npm_client 0.9.0 → 0.10.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,223 @@
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 PulpNpmClient
17
+ class ObjectRolesResponse
18
+ attr_accessor :roles
19
+
20
+ # Attribute mapping from ruby-style variable name to JSON key.
21
+ def self.attribute_map
22
+ {
23
+ :'roles' => :'roles'
24
+ }
25
+ end
26
+
27
+ # Returns all the JSON keys this model knows about
28
+ def self.acceptable_attributes
29
+ attribute_map.values
30
+ end
31
+
32
+ # Attribute type mapping.
33
+ def self.openapi_types
34
+ {
35
+ :'roles' => :'Array<NestedRoleResponse>'
36
+ }
37
+ end
38
+
39
+ # List of attributes with nullable: true
40
+ def self.openapi_nullable
41
+ Set.new([
42
+ ])
43
+ end
44
+
45
+ # Initializes the object
46
+ # @param [Hash] attributes Model attributes in the form of hash
47
+ def initialize(attributes = {})
48
+ if (!attributes.is_a?(Hash))
49
+ fail ArgumentError, "The input argument (attributes) must be a hash in `PulpNpmClient::ObjectRolesResponse` initialize method"
50
+ end
51
+
52
+ # check to see if the attribute exists and convert string to symbol for hash key
53
+ attributes = attributes.each_with_object({}) { |(k, v), h|
54
+ if (!self.class.attribute_map.key?(k.to_sym))
55
+ fail ArgumentError, "`#{k}` is not a valid attribute in `PulpNpmClient::ObjectRolesResponse`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect
56
+ end
57
+ h[k.to_sym] = v
58
+ }
59
+
60
+ if attributes.key?(:'roles')
61
+ if (value = attributes[:'roles']).is_a?(Array)
62
+ self.roles = value
63
+ end
64
+ else
65
+ self.roles = nil
66
+ end
67
+ end
68
+
69
+ # Show invalid properties with the reasons. Usually used together with valid?
70
+ # @return Array for valid properties with the reasons
71
+ def list_invalid_properties
72
+ warn '[DEPRECATED] the `list_invalid_properties` method is obsolete'
73
+ invalid_properties = Array.new
74
+ if @roles.nil?
75
+ invalid_properties.push('invalid value for "roles", roles cannot be nil.')
76
+ end
77
+
78
+ invalid_properties
79
+ end
80
+
81
+ # Check to see if the all the properties in the model are valid
82
+ # @return true if the model is valid
83
+ def valid?
84
+ warn '[DEPRECATED] the `valid?` method is obsolete'
85
+ return false if @roles.nil?
86
+ true
87
+ end
88
+
89
+ # Checks equality by comparing each attribute.
90
+ # @param [Object] Object to be compared
91
+ def ==(o)
92
+ return true if self.equal?(o)
93
+ self.class == o.class &&
94
+ roles == o.roles
95
+ end
96
+
97
+ # @see the `==` method
98
+ # @param [Object] Object to be compared
99
+ def eql?(o)
100
+ self == o
101
+ end
102
+
103
+ # Calculates hash code according to all attributes.
104
+ # @return [Integer] Hash code
105
+ def hash
106
+ [roles].hash
107
+ end
108
+
109
+ # Builds the object from hash
110
+ # @param [Hash] attributes Model attributes in the form of hash
111
+ # @return [Object] Returns the model itself
112
+ def self.build_from_hash(attributes)
113
+ return nil unless attributes.is_a?(Hash)
114
+ attributes = attributes.transform_keys(&:to_sym)
115
+ transformed_hash = {}
116
+ openapi_types.each_pair do |key, type|
117
+ if attributes.key?(attribute_map[key]) && attributes[attribute_map[key]].nil?
118
+ transformed_hash["#{key}"] = nil
119
+ elsif type =~ /\AArray<(.*)>/i
120
+ # check to ensure the input is an array given that the attribute
121
+ # is documented as an array but the input is not
122
+ if attributes[attribute_map[key]].is_a?(Array)
123
+ transformed_hash["#{key}"] = attributes[attribute_map[key]].map { |v| _deserialize($1, v) }
124
+ end
125
+ elsif !attributes[attribute_map[key]].nil?
126
+ transformed_hash["#{key}"] = _deserialize(type, attributes[attribute_map[key]])
127
+ end
128
+ end
129
+ new(transformed_hash)
130
+ end
131
+
132
+ # Deserializes the data based on type
133
+ # @param string type Data type
134
+ # @param string value Value to be deserialized
135
+ # @return [Object] Deserialized data
136
+ def self._deserialize(type, value)
137
+ case type.to_sym
138
+ when :Time
139
+ Time.parse(value)
140
+ when :Date
141
+ Date.parse(value)
142
+ when :String
143
+ value.to_s
144
+ when :Integer
145
+ value.to_i
146
+ when :Float
147
+ value.to_f
148
+ when :Boolean
149
+ if value.to_s =~ /\A(true|t|yes|y|1)\z/i
150
+ true
151
+ else
152
+ false
153
+ end
154
+ when :Object
155
+ # generic object (usually a Hash), return directly
156
+ value
157
+ when /\AArray<(?<inner_type>.+)>\z/
158
+ inner_type = Regexp.last_match[:inner_type]
159
+ value.map { |v| _deserialize(inner_type, v) }
160
+ when /\AHash<(?<k_type>.+?), (?<v_type>.+)>\z/
161
+ k_type = Regexp.last_match[:k_type]
162
+ v_type = Regexp.last_match[:v_type]
163
+ {}.tap do |hash|
164
+ value.each do |k, v|
165
+ hash[_deserialize(k_type, k)] = _deserialize(v_type, v)
166
+ end
167
+ end
168
+ else # model
169
+ # models (e.g. Pet) or oneOf
170
+ klass = PulpNpmClient.const_get(type)
171
+ klass.respond_to?(:openapi_any_of) || klass.respond_to?(:openapi_one_of) ? klass.build(value) : klass.build_from_hash(value)
172
+ end
173
+ end
174
+
175
+ # Returns the string representation of the object
176
+ # @return [String] String presentation of the object
177
+ def to_s
178
+ to_hash.to_s
179
+ end
180
+
181
+ # to_body is an alias to to_hash (backward compatibility)
182
+ # @return [Hash] Returns the object in the form of hash
183
+ def to_body
184
+ to_hash
185
+ end
186
+
187
+ # Returns the object in the form of hash
188
+ # @return [Hash] Returns the object in the form of hash
189
+ def to_hash
190
+ hash = {}
191
+ self.class.attribute_map.each_pair do |attr, param|
192
+ value = self.send(attr)
193
+ if value.nil?
194
+ is_nullable = self.class.openapi_nullable.include?(attr)
195
+ next if !is_nullable || (is_nullable && !instance_variable_defined?(:"@#{attr}"))
196
+ end
197
+
198
+ hash[param] = _to_hash(value)
199
+ end
200
+ hash
201
+ end
202
+
203
+ # Outputs non-array value in the form of hash
204
+ # For object, use to_hash. Otherwise, just return the value
205
+ # @param [Object] value Any valid value
206
+ # @return [Hash] Returns the value in the form of hash
207
+ def _to_hash(value)
208
+ if value.is_a?(Array)
209
+ value.compact.map { |v| _to_hash(v) }
210
+ elsif value.is_a?(Hash)
211
+ {}.tap do |hash|
212
+ value.each { |k, v| hash[k] = _to_hash(v) }
213
+ end
214
+ elsif value.respond_to? :to_hash
215
+ value.to_hash
216
+ else
217
+ value
218
+ end
219
+ end
220
+
221
+ end
222
+
223
+ end
@@ -11,5 +11,5 @@ Generator version: 7.10.0
11
11
  =end
12
12
 
13
13
  module PulpNpmClient
14
- VERSION = '0.9.0'
14
+ VERSION = '0.10.0'
15
15
  end
@@ -19,6 +19,9 @@ require 'pulp_npm_client/configuration'
19
19
  # Models
20
20
  require 'pulp_npm_client/models/async_operation_response'
21
21
  require 'pulp_npm_client/models/content_summary_response'
22
+ require 'pulp_npm_client/models/my_permissions_response'
23
+ require 'pulp_npm_client/models/nested_role'
24
+ require 'pulp_npm_client/models/nested_role_response'
22
25
  require 'pulp_npm_client/models/npm_npm_distribution'
23
26
  require 'pulp_npm_client/models/npm_npm_distribution_response'
24
27
  require 'pulp_npm_client/models/npm_npm_remote'
@@ -27,6 +30,7 @@ require 'pulp_npm_client/models/npm_npm_remote_response_hidden_fields_inner'
27
30
  require 'pulp_npm_client/models/npm_npm_repository'
28
31
  require 'pulp_npm_client/models/npm_npm_repository_response'
29
32
  require 'pulp_npm_client/models/npm_package_response'
33
+ require 'pulp_npm_client/models/object_roles_response'
30
34
  require 'pulp_npm_client/models/paginated_repository_version_response_list'
31
35
  require 'pulp_npm_client/models/paginatednpm_npm_distribution_response_list'
32
36
  require 'pulp_npm_client/models/paginatednpm_npm_remote_response_list'
@@ -32,6 +32,20 @@ describe 'DistributionsNpmApi' do
32
32
  end
33
33
  end
34
34
 
35
+ # unit tests for add_role
36
+ # Add a role
37
+ # Add a role for this object to users/groups.
38
+ # @param npm_npm_distribution_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
+
35
49
  # unit tests for create
36
50
  # Create a npm distribution
37
51
  # Trigger an asynchronous create task
@@ -97,6 +111,36 @@ describe 'DistributionsNpmApi' do
97
111
  end
98
112
  end
99
113
 
114
+ # unit tests for list_roles
115
+ # List roles
116
+ # List roles assigned to this object.
117
+ # @param npm_npm_distribution_href
118
+ # @param [Hash] opts the optional parameters
119
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
120
+ # @option opts [Array<String>] :fields A list of fields to include in the response.
121
+ # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
122
+ # @return [ObjectRolesResponse]
123
+ describe 'list_roles test' do
124
+ it 'should work' do
125
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
126
+ end
127
+ end
128
+
129
+ # unit tests for my_permissions
130
+ # List user permissions
131
+ # List permissions available to the current user on this object.
132
+ # @param npm_npm_distribution_href
133
+ # @param [Hash] opts the optional parameters
134
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
135
+ # @option opts [Array<String>] :fields A list of fields to include in the response.
136
+ # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
137
+ # @return [MyPermissionsResponse]
138
+ describe 'my_permissions test' do
139
+ it 'should work' do
140
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
141
+ end
142
+ end
143
+
100
144
  # unit tests for partial_update
101
145
  # Update a npm distribution
102
146
  # Update the entity partially and trigger an asynchronous task if necessary
@@ -126,6 +170,20 @@ describe 'DistributionsNpmApi' do
126
170
  end
127
171
  end
128
172
 
173
+ # unit tests for remove_role
174
+ # Remove a role
175
+ # Remove a role for this object from users/groups.
176
+ # @param npm_npm_distribution_href
177
+ # @param nested_role
178
+ # @param [Hash] opts the optional parameters
179
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
180
+ # @return [NestedRoleResponse]
181
+ describe 'remove_role test' do
182
+ it 'should work' do
183
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
184
+ end
185
+ end
186
+
129
187
  # unit tests for set_label
130
188
  # Set a label
131
189
  # Set a single pulp_label on the object to a specific value or null.
@@ -32,6 +32,20 @@ describe 'RemotesNpmApi' do
32
32
  end
33
33
  end
34
34
 
35
+ # unit tests for add_role
36
+ # Add a role
37
+ # Add a role for this object to users/groups.
38
+ # @param npm_npm_remote_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
+
35
49
  # unit tests for create
36
50
  # Create a npm remote
37
51
  # A ViewSet for NpmRemote. Similar to the NpmPackageViewSet above, define endpoint_name, queryset and serializer, at a minimum.
@@ -96,6 +110,36 @@ describe 'RemotesNpmApi' do
96
110
  end
97
111
  end
98
112
 
113
+ # unit tests for list_roles
114
+ # List roles
115
+ # List roles assigned to this object.
116
+ # @param npm_npm_remote_href
117
+ # @param [Hash] opts the optional parameters
118
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
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 [ObjectRolesResponse]
122
+ describe 'list_roles test' do
123
+ it 'should work' do
124
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
125
+ end
126
+ end
127
+
128
+ # unit tests for my_permissions
129
+ # List user permissions
130
+ # List permissions available to the current user on this object.
131
+ # @param npm_npm_remote_href
132
+ # @param [Hash] opts the optional parameters
133
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
134
+ # @option opts [Array<String>] :fields A list of fields to include in the response.
135
+ # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
136
+ # @return [MyPermissionsResponse]
137
+ describe 'my_permissions test' do
138
+ it 'should work' do
139
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
140
+ end
141
+ end
142
+
99
143
  # unit tests for partial_update
100
144
  # Update a npm remote
101
145
  # Update the entity partially and trigger an asynchronous task if necessary
@@ -125,6 +169,20 @@ describe 'RemotesNpmApi' do
125
169
  end
126
170
  end
127
171
 
172
+ # unit tests for remove_role
173
+ # Remove a role
174
+ # Remove a role for this object from users/groups.
175
+ # @param npm_npm_remote_href
176
+ # @param nested_role
177
+ # @param [Hash] opts the optional parameters
178
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
179
+ # @return [NestedRoleResponse]
180
+ describe 'remove_role test' do
181
+ it 'should work' do
182
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
183
+ end
184
+ end
185
+
128
186
  # unit tests for set_label
129
187
  # Set a label
130
188
  # Set a single pulp_label on the object to a specific value or null.
@@ -32,6 +32,20 @@ describe 'RepositoriesNpmApi' do
32
32
  end
33
33
  end
34
34
 
35
+ # unit tests for add_role
36
+ # Add a role
37
+ # Add a role for this object to users/groups.
38
+ # @param npm_npm_repository_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
+
35
49
  # unit tests for create
36
50
  # Create a npm repository
37
51
  # A ViewSet for NpmRepository. Similar to the NpmPackageViewSet above, define endpoint_name, queryset and serializer, at a minimum.
@@ -108,6 +122,21 @@ describe 'RepositoriesNpmApi' do
108
122
  end
109
123
  end
110
124
 
125
+ # unit tests for list_roles
126
+ # List roles
127
+ # List roles assigned to this object.
128
+ # @param npm_npm_repository_href
129
+ # @param [Hash] opts the optional parameters
130
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
131
+ # @option opts [Array<String>] :fields A list of fields to include in the response.
132
+ # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
133
+ # @return [ObjectRolesResponse]
134
+ describe 'list_roles test' do
135
+ it 'should work' do
136
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
137
+ end
138
+ end
139
+
111
140
  # unit tests for modify
112
141
  # Modify Repository Content
113
142
  # Trigger an asynchronous task to create a new repository version.
@@ -122,6 +151,21 @@ describe 'RepositoriesNpmApi' do
122
151
  end
123
152
  end
124
153
 
154
+ # unit tests for my_permissions
155
+ # List user permissions
156
+ # List permissions available to the current user on this object.
157
+ # @param npm_npm_repository_href
158
+ # @param [Hash] opts the optional parameters
159
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
160
+ # @option opts [Array<String>] :fields A list of fields to include in the response.
161
+ # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
162
+ # @return [MyPermissionsResponse]
163
+ describe 'my_permissions test' do
164
+ it 'should work' do
165
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
166
+ end
167
+ end
168
+
125
169
  # unit tests for partial_update
126
170
  # Update a npm repository
127
171
  # Update the entity partially and trigger an asynchronous task if necessary
@@ -151,6 +195,20 @@ describe 'RepositoriesNpmApi' do
151
195
  end
152
196
  end
153
197
 
198
+ # unit tests for remove_role
199
+ # Remove a role
200
+ # Remove a role for this object from users/groups.
201
+ # @param npm_npm_repository_href
202
+ # @param nested_role
203
+ # @param [Hash] opts the optional parameters
204
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
205
+ # @return [NestedRoleResponse]
206
+ describe 'remove_role test' do
207
+ it 'should work' do
208
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
209
+ end
210
+ end
211
+
154
212
  # unit tests for set_label
155
213
  # Set a label
156
214
  # Set a single pulp_label on the object to a specific value or null.
@@ -0,0 +1,36 @@
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
+ require 'date'
16
+
17
+ # Unit tests for PulpNpmClient::MyPermissionsResponse
18
+ # Automatically generated by openapi-generator (https://openapi-generator.tech)
19
+ # Please update as you see appropriate
20
+ describe PulpNpmClient::MyPermissionsResponse do
21
+ let(:instance) { PulpNpmClient::MyPermissionsResponse.new }
22
+
23
+ describe 'test an instance of MyPermissionsResponse' do
24
+ it 'should create an instance of MyPermissionsResponse' do
25
+ # uncomment below to test the instance creation
26
+ #expect(instance).to be_instance_of(PulpNpmClient::MyPermissionsResponse)
27
+ end
28
+ end
29
+
30
+ describe 'test attribute "permissions"' do
31
+ it 'should work' do
32
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
33
+ end
34
+ end
35
+
36
+ end
@@ -0,0 +1,48 @@
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
+ require 'date'
16
+
17
+ # Unit tests for PulpNpmClient::NestedRoleResponse
18
+ # Automatically generated by openapi-generator (https://openapi-generator.tech)
19
+ # Please update as you see appropriate
20
+ describe PulpNpmClient::NestedRoleResponse do
21
+ let(:instance) { PulpNpmClient::NestedRoleResponse.new }
22
+
23
+ describe 'test an instance of NestedRoleResponse' do
24
+ it 'should create an instance of NestedRoleResponse' do
25
+ # uncomment below to test the instance creation
26
+ #expect(instance).to be_instance_of(PulpNpmClient::NestedRoleResponse)
27
+ end
28
+ end
29
+
30
+ describe 'test attribute "users"' do
31
+ it 'should work' do
32
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
33
+ end
34
+ end
35
+
36
+ describe 'test attribute "groups"' do
37
+ it 'should work' do
38
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
39
+ end
40
+ end
41
+
42
+ describe 'test attribute "role"' do
43
+ it 'should work' do
44
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
45
+ end
46
+ end
47
+
48
+ end
@@ -0,0 +1,48 @@
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
+ require 'date'
16
+
17
+ # Unit tests for PulpNpmClient::NestedRole
18
+ # Automatically generated by openapi-generator (https://openapi-generator.tech)
19
+ # Please update as you see appropriate
20
+ describe PulpNpmClient::NestedRole do
21
+ let(:instance) { PulpNpmClient::NestedRole.new }
22
+
23
+ describe 'test an instance of NestedRole' do
24
+ it 'should create an instance of NestedRole' do
25
+ # uncomment below to test the instance creation
26
+ #expect(instance).to be_instance_of(PulpNpmClient::NestedRole)
27
+ end
28
+ end
29
+
30
+ describe 'test attribute "users"' do
31
+ it 'should work' do
32
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
33
+ end
34
+ end
35
+
36
+ describe 'test attribute "groups"' do
37
+ it 'should work' do
38
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
39
+ end
40
+ end
41
+
42
+ describe 'test attribute "role"' do
43
+ it 'should work' do
44
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
45
+ end
46
+ end
47
+
48
+ end
@@ -0,0 +1,36 @@
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
+ require 'date'
16
+
17
+ # Unit tests for PulpNpmClient::ObjectRolesResponse
18
+ # Automatically generated by openapi-generator (https://openapi-generator.tech)
19
+ # Please update as you see appropriate
20
+ describe PulpNpmClient::ObjectRolesResponse do
21
+ let(:instance) { PulpNpmClient::ObjectRolesResponse.new }
22
+
23
+ describe 'test an instance of ObjectRolesResponse' do
24
+ it 'should create an instance of ObjectRolesResponse' do
25
+ # uncomment below to test the instance creation
26
+ #expect(instance).to be_instance_of(PulpNpmClient::ObjectRolesResponse)
27
+ end
28
+ end
29
+
30
+ describe 'test attribute "roles"' do
31
+ it 'should work' do
32
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
33
+ end
34
+ end
35
+
36
+ end