pulp_rpm_client 3.18.0.dev1651381596 → 3.18.0.dev1651552515

Sign up to get free protection for your applications and to get access to all the features.

Potentially problematic release.


This version of pulp_rpm_client might be problematic. Click here for more details.

Files changed (35) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +36 -8
  3. data/docs/AcsRpmApi.md +228 -0
  4. data/docs/DistributionsRpmApi.md +228 -0
  5. data/docs/MyPermissionsResponse.md +17 -0
  6. data/docs/NestedRole.md +21 -0
  7. data/docs/NestedRoleResponse.md +21 -0
  8. data/docs/ObjectRolesResponse.md +17 -0
  9. data/docs/PublicationsRpmApi.md +228 -0
  10. data/docs/RemotesRpmApi.md +228 -0
  11. data/docs/RemotesUlnApi.md +228 -0
  12. data/docs/RepositoriesRpmApi.md +228 -0
  13. data/lib/pulp_rpm_client/api/acs_rpm_api.rb +268 -0
  14. data/lib/pulp_rpm_client/api/distributions_rpm_api.rb +268 -0
  15. data/lib/pulp_rpm_client/api/publications_rpm_api.rb +268 -0
  16. data/lib/pulp_rpm_client/api/remotes_rpm_api.rb +268 -0
  17. data/lib/pulp_rpm_client/api/remotes_uln_api.rb +268 -0
  18. data/lib/pulp_rpm_client/api/repositories_rpm_api.rb +268 -0
  19. data/lib/pulp_rpm_client/models/my_permissions_response.rb +213 -0
  20. data/lib/pulp_rpm_client/models/nested_role.rb +234 -0
  21. data/lib/pulp_rpm_client/models/nested_role_response.rb +234 -0
  22. data/lib/pulp_rpm_client/models/object_roles_response.rb +213 -0
  23. data/lib/pulp_rpm_client/version.rb +1 -1
  24. data/lib/pulp_rpm_client.rb +4 -0
  25. data/spec/api/acs_rpm_api_spec.rb +50 -0
  26. data/spec/api/distributions_rpm_api_spec.rb +50 -0
  27. data/spec/api/publications_rpm_api_spec.rb +50 -0
  28. data/spec/api/remotes_rpm_api_spec.rb +50 -0
  29. data/spec/api/remotes_uln_api_spec.rb +50 -0
  30. data/spec/api/repositories_rpm_api_spec.rb +50 -0
  31. data/spec/models/my_permissions_response_spec.rb +41 -0
  32. data/spec/models/nested_role_response_spec.rb +53 -0
  33. data/spec/models/nested_role_spec.rb +53 -0
  34. data/spec/models/object_roles_response_spec.rb +41 -0
  35. metadata +18 -2
@@ -0,0 +1,213 @@
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 PulpRpmClient
16
+ class ObjectRolesResponse
17
+ attr_accessor :roles
18
+
19
+ # Attribute mapping from ruby-style variable name to JSON key.
20
+ def self.attribute_map
21
+ {
22
+ :'roles' => :'roles'
23
+ }
24
+ end
25
+
26
+ # Attribute type mapping.
27
+ def self.openapi_types
28
+ {
29
+ :'roles' => :'Array<NestedRoleResponse>'
30
+ }
31
+ end
32
+
33
+ # List of attributes with nullable: true
34
+ def self.openapi_nullable
35
+ Set.new([
36
+ ])
37
+ end
38
+
39
+ # Initializes the object
40
+ # @param [Hash] attributes Model attributes in the form of hash
41
+ def initialize(attributes = {})
42
+ if (!attributes.is_a?(Hash))
43
+ fail ArgumentError, "The input argument (attributes) must be a hash in `PulpRpmClient::ObjectRolesResponse` initialize method"
44
+ end
45
+
46
+ # check to see if the attribute exists and convert string to symbol for hash key
47
+ attributes = attributes.each_with_object({}) { |(k, v), h|
48
+ if (!self.class.attribute_map.key?(k.to_sym))
49
+ fail ArgumentError, "`#{k}` is not a valid attribute in `PulpRpmClient::ObjectRolesResponse`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect
50
+ end
51
+ h[k.to_sym] = v
52
+ }
53
+
54
+ if attributes.key?(:'roles')
55
+ if (value = attributes[:'roles']).is_a?(Array)
56
+ self.roles = value
57
+ end
58
+ end
59
+ end
60
+
61
+ # Show invalid properties with the reasons. Usually used together with valid?
62
+ # @return Array for valid properties with the reasons
63
+ def list_invalid_properties
64
+ invalid_properties = Array.new
65
+ if @roles.nil?
66
+ invalid_properties.push('invalid value for "roles", roles cannot be nil.')
67
+ end
68
+
69
+ invalid_properties
70
+ end
71
+
72
+ # Check to see if the all the properties in the model are valid
73
+ # @return true if the model is valid
74
+ def valid?
75
+ return false if @roles.nil?
76
+ true
77
+ end
78
+
79
+ # Checks equality by comparing each attribute.
80
+ # @param [Object] Object to be compared
81
+ def ==(o)
82
+ return true if self.equal?(o)
83
+ self.class == o.class &&
84
+ roles == o.roles
85
+ end
86
+
87
+ # @see the `==` method
88
+ # @param [Object] Object to be compared
89
+ def eql?(o)
90
+ self == o
91
+ end
92
+
93
+ # Calculates hash code according to all attributes.
94
+ # @return [Integer] Hash code
95
+ def hash
96
+ [roles].hash
97
+ end
98
+
99
+ # Builds the object from hash
100
+ # @param [Hash] attributes Model attributes in the form of hash
101
+ # @return [Object] Returns the model itself
102
+ def self.build_from_hash(attributes)
103
+ new.build_from_hash(attributes)
104
+ end
105
+
106
+ # Builds the object from hash
107
+ # @param [Hash] attributes Model attributes in the form of hash
108
+ # @return [Object] Returns the model itself
109
+ def build_from_hash(attributes)
110
+ return nil unless attributes.is_a?(Hash)
111
+ self.class.openapi_types.each_pair do |key, type|
112
+ if type =~ /\AArray<(.*)>/i
113
+ # check to ensure the input is an array given that the attribute
114
+ # is documented as an array but the input is not
115
+ if attributes[self.class.attribute_map[key]].is_a?(Array)
116
+ self.send("#{key}=", attributes[self.class.attribute_map[key]].map { |v| _deserialize($1, v) })
117
+ end
118
+ elsif !attributes[self.class.attribute_map[key]].nil?
119
+ self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]]))
120
+ end # or else data not found in attributes(hash), not an issue as the data can be optional
121
+ end
122
+
123
+ self
124
+ end
125
+
126
+ # Deserializes the data based on type
127
+ # @param string type Data type
128
+ # @param string value Value to be deserialized
129
+ # @return [Object] Deserialized data
130
+ def _deserialize(type, value)
131
+ case type.to_sym
132
+ when :DateTime
133
+ DateTime.parse(value)
134
+ when :Date
135
+ Date.parse(value)
136
+ when :String
137
+ value.to_s
138
+ when :Integer
139
+ value.to_i
140
+ when :Float
141
+ value.to_f
142
+ when :Boolean
143
+ if value.to_s =~ /\A(true|t|yes|y|1)\z/i
144
+ true
145
+ else
146
+ false
147
+ end
148
+ when :Object
149
+ # generic object (usually a Hash), return directly
150
+ value
151
+ when /\AArray<(?<inner_type>.+)>\z/
152
+ inner_type = Regexp.last_match[:inner_type]
153
+ value.map { |v| _deserialize(inner_type, v) }
154
+ when /\AHash<(?<k_type>.+?), (?<v_type>.+)>\z/
155
+ k_type = Regexp.last_match[:k_type]
156
+ v_type = Regexp.last_match[:v_type]
157
+ {}.tap do |hash|
158
+ value.each do |k, v|
159
+ hash[_deserialize(k_type, k)] = _deserialize(v_type, v)
160
+ end
161
+ end
162
+ else # model
163
+ PulpRpmClient.const_get(type).build_from_hash(value)
164
+ end
165
+ end
166
+
167
+ # Returns the string representation of the object
168
+ # @return [String] String presentation of the object
169
+ def to_s
170
+ to_hash.to_s
171
+ end
172
+
173
+ # to_body is an alias to to_hash (backward compatibility)
174
+ # @return [Hash] Returns the object in the form of hash
175
+ def to_body
176
+ to_hash
177
+ end
178
+
179
+ # Returns the object in the form of hash
180
+ # @return [Hash] Returns the object in the form of hash
181
+ def to_hash
182
+ hash = {}
183
+ self.class.attribute_map.each_pair do |attr, param|
184
+ value = self.send(attr)
185
+ if value.nil?
186
+ is_nullable = self.class.openapi_nullable.include?(attr)
187
+ next if !is_nullable || (is_nullable && !instance_variable_defined?(:"@#{attr}"))
188
+ end
189
+
190
+ hash[param] = _to_hash(value)
191
+ end
192
+ hash
193
+ end
194
+
195
+ # Outputs non-array value in the form of hash
196
+ # For object, use to_hash. Otherwise, just return the value
197
+ # @param [Object] value Any valid value
198
+ # @return [Hash] Returns the value in the form of hash
199
+ def _to_hash(value)
200
+ if value.is_a?(Array)
201
+ value.compact.map { |v| _to_hash(v) }
202
+ elsif value.is_a?(Hash)
203
+ {}.tap do |hash|
204
+ value.each { |k, v| hash[k] = _to_hash(v) }
205
+ end
206
+ elsif value.respond_to? :to_hash
207
+ value.to_hash
208
+ else
209
+ value
210
+ end
211
+ end
212
+ end
213
+ end
@@ -11,5 +11,5 @@ OpenAPI Generator version: 4.3.1
11
11
  =end
12
12
 
13
13
  module PulpRpmClient
14
- VERSION = '3.18.0.dev1651381596'
14
+ VERSION = '3.18.0.dev1651552515'
15
15
  end
@@ -26,6 +26,10 @@ require 'pulp_rpm_client/models/content_summary_response'
26
26
  require 'pulp_rpm_client/models/copy'
27
27
  require 'pulp_rpm_client/models/image_response'
28
28
  require 'pulp_rpm_client/models/metadata_checksum_type_enum'
29
+ require 'pulp_rpm_client/models/my_permissions_response'
30
+ require 'pulp_rpm_client/models/nested_role'
31
+ require 'pulp_rpm_client/models/nested_role_response'
32
+ require 'pulp_rpm_client/models/object_roles_response'
29
33
  require 'pulp_rpm_client/models/package_checksum_type_enum'
30
34
  require 'pulp_rpm_client/models/paginated_repository_version_response_list'
31
35
  require 'pulp_rpm_client/models/paginatedrpm_distribution_tree_response_list'
@@ -32,6 +32,18 @@ describe 'AcsRpmApi' do
32
32
  end
33
33
  end
34
34
 
35
+ # unit tests for add_role
36
+ # Add a role for this object to users/groups.
37
+ # @param rpm_rpm_alternate_content_source_href
38
+ # @param nested_role
39
+ # @param [Hash] opts the optional parameters
40
+ # @return [NestedRoleResponse]
41
+ describe 'add_role test' do
42
+ it 'should work' do
43
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
44
+ end
45
+ end
46
+
35
47
  # unit tests for create
36
48
  # Create a rpm alternate content source
37
49
  # ViewSet for ACS.
@@ -77,6 +89,32 @@ describe 'AcsRpmApi' do
77
89
  end
78
90
  end
79
91
 
92
+ # unit tests for list_roles
93
+ # List roles assigned to this object.
94
+ # @param rpm_rpm_alternate_content_source_href
95
+ # @param [Hash] opts the optional parameters
96
+ # @option opts [String] :fields A list of fields to include in the response.
97
+ # @option opts [String] :exclude_fields A list of fields to exclude from the response.
98
+ # @return [ObjectRolesResponse]
99
+ describe 'list_roles test' do
100
+ it 'should work' do
101
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
102
+ end
103
+ end
104
+
105
+ # unit tests for my_permissions
106
+ # List permissions available to the current user on this object.
107
+ # @param rpm_rpm_alternate_content_source_href
108
+ # @param [Hash] opts the optional parameters
109
+ # @option opts [String] :fields A list of fields to include in the response.
110
+ # @option opts [String] :exclude_fields A list of fields to exclude from the response.
111
+ # @return [MyPermissionsResponse]
112
+ describe 'my_permissions test' do
113
+ it 'should work' do
114
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
115
+ end
116
+ end
117
+
80
118
  # unit tests for partial_update
81
119
  # Update a rpm alternate content source
82
120
  # Trigger an asynchronous partial update task
@@ -116,6 +154,18 @@ describe 'AcsRpmApi' do
116
154
  end
117
155
  end
118
156
 
157
+ # unit tests for remove_role
158
+ # Remove a role for this object from users/groups.
159
+ # @param rpm_rpm_alternate_content_source_href
160
+ # @param nested_role
161
+ # @param [Hash] opts the optional parameters
162
+ # @return [NestedRoleResponse]
163
+ describe 'remove_role test' do
164
+ it 'should work' do
165
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
166
+ end
167
+ end
168
+
119
169
  # unit tests for update
120
170
  # Update a rpm alternate content source
121
171
  # Trigger an asynchronous update task
@@ -32,6 +32,18 @@ describe 'DistributionsRpmApi' do
32
32
  end
33
33
  end
34
34
 
35
+ # unit tests for add_role
36
+ # Add a role for this object to users/groups.
37
+ # @param rpm_rpm_distribution_href
38
+ # @param nested_role
39
+ # @param [Hash] opts the optional parameters
40
+ # @return [NestedRoleResponse]
41
+ describe 'add_role test' do
42
+ it 'should work' do
43
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
44
+ end
45
+ end
46
+
35
47
  # unit tests for create
36
48
  # Create a rpm distribution
37
49
  # Trigger an asynchronous create task
@@ -82,6 +94,32 @@ describe 'DistributionsRpmApi' do
82
94
  end
83
95
  end
84
96
 
97
+ # unit tests for list_roles
98
+ # List roles assigned to this object.
99
+ # @param rpm_rpm_distribution_href
100
+ # @param [Hash] opts the optional parameters
101
+ # @option opts [String] :fields A list of fields to include in the response.
102
+ # @option opts [String] :exclude_fields A list of fields to exclude from the response.
103
+ # @return [ObjectRolesResponse]
104
+ describe 'list_roles test' do
105
+ it 'should work' do
106
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
107
+ end
108
+ end
109
+
110
+ # unit tests for my_permissions
111
+ # List permissions available to the current user on this object.
112
+ # @param rpm_rpm_distribution_href
113
+ # @param [Hash] opts the optional parameters
114
+ # @option opts [String] :fields A list of fields to include in the response.
115
+ # @option opts [String] :exclude_fields A list of fields to exclude from the response.
116
+ # @return [MyPermissionsResponse]
117
+ describe 'my_permissions test' do
118
+ it 'should work' do
119
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
120
+ end
121
+ end
122
+
85
123
  # unit tests for partial_update
86
124
  # Update a rpm distribution
87
125
  # Trigger an asynchronous partial update task
@@ -109,6 +147,18 @@ describe 'DistributionsRpmApi' do
109
147
  end
110
148
  end
111
149
 
150
+ # unit tests for remove_role
151
+ # Remove a role for this object from users/groups.
152
+ # @param rpm_rpm_distribution_href
153
+ # @param nested_role
154
+ # @param [Hash] opts the optional parameters
155
+ # @return [NestedRoleResponse]
156
+ describe 'remove_role test' do
157
+ it 'should work' do
158
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
159
+ end
160
+ end
161
+
112
162
  # unit tests for update
113
163
  # Update a rpm distribution
114
164
  # Trigger an asynchronous update task
@@ -32,6 +32,18 @@ describe 'PublicationsRpmApi' do
32
32
  end
33
33
  end
34
34
 
35
+ # unit tests for add_role
36
+ # Add a role for this object to users/groups.
37
+ # @param rpm_rpm_publication_href
38
+ # @param nested_role
39
+ # @param [Hash] opts the optional parameters
40
+ # @return [NestedRoleResponse]
41
+ describe 'add_role test' do
42
+ it 'should work' do
43
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
44
+ end
45
+ end
46
+
35
47
  # unit tests for create
36
48
  # Create a rpm publication
37
49
  # Trigger an asynchronous task to create a new RPM content publication.
@@ -81,6 +93,32 @@ describe 'PublicationsRpmApi' do
81
93
  end
82
94
  end
83
95
 
96
+ # unit tests for list_roles
97
+ # List roles assigned to this object.
98
+ # @param rpm_rpm_publication_href
99
+ # @param [Hash] opts the optional parameters
100
+ # @option opts [String] :fields A list of fields to include in the response.
101
+ # @option opts [String] :exclude_fields A list of fields to exclude from the response.
102
+ # @return [ObjectRolesResponse]
103
+ describe 'list_roles test' do
104
+ it 'should work' do
105
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
106
+ end
107
+ end
108
+
109
+ # unit tests for my_permissions
110
+ # List permissions available to the current user on this object.
111
+ # @param rpm_rpm_publication_href
112
+ # @param [Hash] opts the optional parameters
113
+ # @option opts [String] :fields A list of fields to include in the response.
114
+ # @option opts [String] :exclude_fields A list of fields to exclude from the response.
115
+ # @return [MyPermissionsResponse]
116
+ describe 'my_permissions test' do
117
+ it 'should work' do
118
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
119
+ end
120
+ end
121
+
84
122
  # unit tests for read
85
123
  # Inspect a rpm publication
86
124
  # ViewSet for Rpm Publications.
@@ -95,4 +133,16 @@ describe 'PublicationsRpmApi' do
95
133
  end
96
134
  end
97
135
 
136
+ # unit tests for remove_role
137
+ # Remove a role for this object from users/groups.
138
+ # @param rpm_rpm_publication_href
139
+ # @param nested_role
140
+ # @param [Hash] opts the optional parameters
141
+ # @return [NestedRoleResponse]
142
+ describe 'remove_role test' do
143
+ it 'should work' do
144
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
145
+ end
146
+ end
147
+
98
148
  end
@@ -32,6 +32,18 @@ describe 'RemotesRpmApi' do
32
32
  end
33
33
  end
34
34
 
35
+ # unit tests for add_role
36
+ # Add a role for this object to users/groups.
37
+ # @param rpm_rpm_remote_href
38
+ # @param nested_role
39
+ # @param [Hash] opts the optional parameters
40
+ # @return [NestedRoleResponse]
41
+ describe 'add_role test' do
42
+ it 'should work' do
43
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
44
+ end
45
+ end
46
+
35
47
  # unit tests for create
36
48
  # Create a rpm remote
37
49
  # A ViewSet for RpmRemote.
@@ -84,6 +96,32 @@ describe 'RemotesRpmApi' do
84
96
  end
85
97
  end
86
98
 
99
+ # unit tests for list_roles
100
+ # List roles assigned to this object.
101
+ # @param rpm_rpm_remote_href
102
+ # @param [Hash] opts the optional parameters
103
+ # @option opts [String] :fields A list of fields to include in the response.
104
+ # @option opts [String] :exclude_fields A list of fields to exclude from the response.
105
+ # @return [ObjectRolesResponse]
106
+ describe 'list_roles test' do
107
+ it 'should work' do
108
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
109
+ end
110
+ end
111
+
112
+ # unit tests for my_permissions
113
+ # List permissions available to the current user on this object.
114
+ # @param rpm_rpm_remote_href
115
+ # @param [Hash] opts the optional parameters
116
+ # @option opts [String] :fields A list of fields to include in the response.
117
+ # @option opts [String] :exclude_fields A list of fields to exclude from the response.
118
+ # @return [MyPermissionsResponse]
119
+ describe 'my_permissions test' do
120
+ it 'should work' do
121
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
122
+ end
123
+ end
124
+
87
125
  # unit tests for partial_update
88
126
  # Update a rpm remote
89
127
  # Trigger an asynchronous partial update task
@@ -111,6 +149,18 @@ describe 'RemotesRpmApi' do
111
149
  end
112
150
  end
113
151
 
152
+ # unit tests for remove_role
153
+ # Remove a role for this object from users/groups.
154
+ # @param rpm_rpm_remote_href
155
+ # @param nested_role
156
+ # @param [Hash] opts the optional parameters
157
+ # @return [NestedRoleResponse]
158
+ describe 'remove_role test' do
159
+ it 'should work' do
160
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
161
+ end
162
+ end
163
+
114
164
  # unit tests for update
115
165
  # Update a rpm remote
116
166
  # Trigger an asynchronous update task
@@ -32,6 +32,18 @@ describe 'RemotesUlnApi' do
32
32
  end
33
33
  end
34
34
 
35
+ # unit tests for add_role
36
+ # Add a role for this object to users/groups.
37
+ # @param rpm_uln_remote_href
38
+ # @param nested_role
39
+ # @param [Hash] opts the optional parameters
40
+ # @return [NestedRoleResponse]
41
+ describe 'add_role test' do
42
+ it 'should work' do
43
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
44
+ end
45
+ end
46
+
35
47
  # unit tests for create
36
48
  # Create an uln remote
37
49
  # A ViewSet for UlnRemote.
@@ -84,6 +96,32 @@ describe 'RemotesUlnApi' do
84
96
  end
85
97
  end
86
98
 
99
+ # unit tests for list_roles
100
+ # List roles assigned to this object.
101
+ # @param rpm_uln_remote_href
102
+ # @param [Hash] opts the optional parameters
103
+ # @option opts [String] :fields A list of fields to include in the response.
104
+ # @option opts [String] :exclude_fields A list of fields to exclude from the response.
105
+ # @return [ObjectRolesResponse]
106
+ describe 'list_roles test' do
107
+ it 'should work' do
108
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
109
+ end
110
+ end
111
+
112
+ # unit tests for my_permissions
113
+ # List permissions available to the current user on this object.
114
+ # @param rpm_uln_remote_href
115
+ # @param [Hash] opts the optional parameters
116
+ # @option opts [String] :fields A list of fields to include in the response.
117
+ # @option opts [String] :exclude_fields A list of fields to exclude from the response.
118
+ # @return [MyPermissionsResponse]
119
+ describe 'my_permissions test' do
120
+ it 'should work' do
121
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
122
+ end
123
+ end
124
+
87
125
  # unit tests for partial_update
88
126
  # Update an uln remote
89
127
  # Trigger an asynchronous partial update task
@@ -111,6 +149,18 @@ describe 'RemotesUlnApi' do
111
149
  end
112
150
  end
113
151
 
152
+ # unit tests for remove_role
153
+ # Remove a role for this object from users/groups.
154
+ # @param rpm_uln_remote_href
155
+ # @param nested_role
156
+ # @param [Hash] opts the optional parameters
157
+ # @return [NestedRoleResponse]
158
+ describe 'remove_role test' do
159
+ it 'should work' do
160
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
161
+ end
162
+ end
163
+
114
164
  # unit tests for update
115
165
  # Update an uln remote
116
166
  # Trigger an asynchronous update task
@@ -32,6 +32,18 @@ describe 'RepositoriesRpmApi' do
32
32
  end
33
33
  end
34
34
 
35
+ # unit tests for add_role
36
+ # Add a role for this object to users/groups.
37
+ # @param rpm_rpm_repository_href
38
+ # @param nested_role
39
+ # @param [Hash] opts the optional parameters
40
+ # @return [NestedRoleResponse]
41
+ describe 'add_role test' do
42
+ it 'should work' do
43
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
44
+ end
45
+ end
46
+
35
47
  # unit tests for create
36
48
  # Create a rpm repository
37
49
  # A ViewSet for RpmRepository.
@@ -78,6 +90,19 @@ describe 'RepositoriesRpmApi' do
78
90
  end
79
91
  end
80
92
 
93
+ # unit tests for list_roles
94
+ # List roles assigned to this object.
95
+ # @param rpm_rpm_repository_href
96
+ # @param [Hash] opts the optional parameters
97
+ # @option opts [String] :fields A list of fields to include in the response.
98
+ # @option opts [String] :exclude_fields A list of fields to exclude from the response.
99
+ # @return [ObjectRolesResponse]
100
+ describe 'list_roles test' do
101
+ it 'should work' do
102
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
103
+ end
104
+ end
105
+
81
106
  # unit tests for modify
82
107
  # Modify Repository Content
83
108
  # Trigger an asynchronous task to create a new repository version.
@@ -91,6 +116,19 @@ describe 'RepositoriesRpmApi' do
91
116
  end
92
117
  end
93
118
 
119
+ # unit tests for my_permissions
120
+ # List permissions available to the current user on this object.
121
+ # @param rpm_rpm_repository_href
122
+ # @param [Hash] opts the optional parameters
123
+ # @option opts [String] :fields A list of fields to include in the response.
124
+ # @option opts [String] :exclude_fields A list of fields to exclude from the response.
125
+ # @return [MyPermissionsResponse]
126
+ describe 'my_permissions test' do
127
+ it 'should work' do
128
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
129
+ end
130
+ end
131
+
94
132
  # unit tests for partial_update
95
133
  # Update a rpm repository
96
134
  # Trigger an asynchronous partial update task
@@ -118,6 +156,18 @@ describe 'RepositoriesRpmApi' do
118
156
  end
119
157
  end
120
158
 
159
+ # unit tests for remove_role
160
+ # Remove a role for this object from users/groups.
161
+ # @param rpm_rpm_repository_href
162
+ # @param nested_role
163
+ # @param [Hash] opts the optional parameters
164
+ # @return [NestedRoleResponse]
165
+ describe 'remove_role test' do
166
+ it 'should work' do
167
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
168
+ end
169
+ end
170
+
121
171
  # unit tests for sync
122
172
  # Sync from remote
123
173
  # Trigger an asynchronous task to sync RPM content.