pulp_ostree_client 2.4.5 → 2.4.7

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 (175) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +29 -12
  3. data/docs/AsyncOperationResponse.md +8 -7
  4. data/docs/ContentCommitsApi.md +228 -47
  5. data/docs/ContentConfigsApi.md +227 -46
  6. data/docs/ContentContentApi.md +255 -57
  7. data/docs/ContentObjectsApi.md +228 -47
  8. data/docs/ContentRefsApi.md +238 -57
  9. data/docs/ContentSummariesApi.md +227 -46
  10. data/docs/ContentSummaryResponse.md +12 -11
  11. data/docs/DistributionsOstreeApi.md +387 -182
  12. data/docs/MyPermissionsResponse.md +8 -7
  13. data/docs/NestedRole.md +12 -11
  14. data/docs/NestedRoleResponse.md +12 -11
  15. data/docs/ObjectRolesResponse.md +8 -7
  16. data/docs/OstreeImportAll.md +10 -9
  17. data/docs/OstreeImportCommitsToRef.md +12 -11
  18. data/docs/OstreeOstreeCommitResponse.md +26 -23
  19. data/docs/OstreeOstreeConfigResponse.md +20 -17
  20. data/docs/OstreeOstreeContent.md +16 -13
  21. data/docs/OstreeOstreeContentResponse.md +22 -19
  22. data/docs/OstreeOstreeDistribution.md +20 -19
  23. data/docs/OstreeOstreeDistributionResponse.md +32 -31
  24. data/docs/OstreeOstreeObjectResponse.md +24 -21
  25. data/docs/OstreeOstreeRefResponse.md +26 -23
  26. data/docs/OstreeOstreeRemote.md +54 -53
  27. data/docs/OstreeOstreeRemoteResponse.md +54 -53
  28. data/docs/OstreeOstreeRemoteResponseHiddenFieldsInner.md +20 -0
  29. data/docs/OstreeOstreeRepository.md +18 -17
  30. data/docs/OstreeOstreeRepositoryResponse.md +30 -29
  31. data/docs/OstreeOstreeSummaryResponse.md +20 -17
  32. data/docs/PaginatedRepositoryVersionResponseList.md +14 -13
  33. data/docs/PaginatedostreeOstreeCommitResponseList.md +14 -13
  34. data/docs/PaginatedostreeOstreeConfigResponseList.md +14 -13
  35. data/docs/PaginatedostreeOstreeContentResponseList.md +14 -13
  36. data/docs/PaginatedostreeOstreeDistributionResponseList.md +14 -13
  37. data/docs/PaginatedostreeOstreeObjectResponseList.md +14 -13
  38. data/docs/PaginatedostreeOstreeRefResponseList.md +14 -13
  39. data/docs/PaginatedostreeOstreeRemoteResponseList.md +14 -13
  40. data/docs/PaginatedostreeOstreeRepositoryResponseList.md +14 -13
  41. data/docs/PaginatedostreeOstreeSummaryResponseList.md +14 -13
  42. data/docs/PatchedostreeOstreeDistribution.md +20 -19
  43. data/docs/PatchedostreeOstreeRemote.md +54 -53
  44. data/docs/PatchedostreeOstreeRepository.md +18 -17
  45. data/docs/PolicyEnum.md +4 -5
  46. data/docs/RemotesOstreeApi.md +389 -184
  47. data/docs/Repair.md +8 -7
  48. data/docs/RepositoriesOstreeApi.md +502 -231
  49. data/docs/RepositoriesOstreeVersionsApi.md +152 -82
  50. data/docs/RepositoryAddRemoveContent.md +12 -11
  51. data/docs/RepositorySyncURL.md +10 -9
  52. data/docs/RepositoryVersionResponse.md +22 -21
  53. data/docs/SetLabel.md +10 -9
  54. data/docs/SetLabelResponse.md +10 -9
  55. data/docs/UnsetLabel.md +8 -7
  56. data/docs/UnsetLabelResponse.md +10 -9
  57. data/lib/pulp_ostree_client/api/content_commits_api.rb +165 -12
  58. data/lib/pulp_ostree_client/api/content_configs_api.rb +162 -9
  59. data/lib/pulp_ostree_client/api/content_content_api.rb +171 -14
  60. data/lib/pulp_ostree_client/api/content_objects_api.rb +165 -12
  61. data/lib/pulp_ostree_client/api/content_refs_api.rb +165 -12
  62. data/lib/pulp_ostree_client/api/content_summaries_api.rb +162 -9
  63. data/lib/pulp_ostree_client/api/distributions_ostree_api.rb +95 -59
  64. data/lib/pulp_ostree_client/api/remotes_ostree_api.rb +104 -68
  65. data/lib/pulp_ostree_client/api/repositories_ostree_api.rb +125 -76
  66. data/lib/pulp_ostree_client/api/repositories_ostree_versions_api.rb +40 -30
  67. data/lib/pulp_ostree_client/api_client.rb +137 -102
  68. data/lib/pulp_ostree_client/api_error.rb +2 -1
  69. data/lib/pulp_ostree_client/configuration.rb +162 -21
  70. data/lib/pulp_ostree_client/models/async_operation_response.rb +32 -22
  71. data/lib/pulp_ostree_client/models/content_summary_response.rb +36 -22
  72. data/lib/pulp_ostree_client/models/my_permissions_response.rb +32 -22
  73. data/lib/pulp_ostree_client/models/nested_role.rb +32 -22
  74. data/lib/pulp_ostree_client/models/nested_role_response.rb +32 -22
  75. data/lib/pulp_ostree_client/models/object_roles_response.rb +32 -22
  76. data/lib/pulp_ostree_client/models/ostree_import_all.rb +34 -22
  77. data/lib/pulp_ostree_client/models/ostree_import_commits_to_ref.rb +36 -22
  78. data/lib/pulp_ostree_client/models/ostree_ostree_commit_response.rb +53 -25
  79. data/lib/pulp_ostree_client/models/ostree_ostree_config_response.rb +49 -25
  80. data/lib/pulp_ostree_client/models/ostree_ostree_content.rb +49 -23
  81. data/lib/pulp_ostree_client/models/ostree_ostree_content_response.rb +51 -25
  82. data/lib/pulp_ostree_client/models/ostree_ostree_distribution.rb +34 -22
  83. data/lib/pulp_ostree_client/models/ostree_ostree_distribution_response.rb +36 -24
  84. data/lib/pulp_ostree_client/models/ostree_ostree_object_response.rb +53 -25
  85. data/lib/pulp_ostree_client/models/ostree_ostree_ref_response.rb +53 -25
  86. data/lib/pulp_ostree_client/models/ostree_ostree_remote.rb +61 -23
  87. data/lib/pulp_ostree_client/models/ostree_ostree_remote_response.rb +64 -26
  88. data/lib/pulp_ostree_client/models/{ostree_ostree_remote_response_hidden_fields.rb → ostree_ostree_remote_response_hidden_fields_inner.rb} +37 -25
  89. data/lib/pulp_ostree_client/models/ostree_ostree_repository.rb +32 -22
  90. data/lib/pulp_ostree_client/models/ostree_ostree_repository_response.rb +34 -24
  91. data/lib/pulp_ostree_client/models/ostree_ostree_summary_response.rb +49 -25
  92. data/lib/pulp_ostree_client/models/paginated_repository_version_response_list.rb +34 -22
  93. data/lib/pulp_ostree_client/models/paginatedostree_ostree_commit_response_list.rb +34 -22
  94. data/lib/pulp_ostree_client/models/paginatedostree_ostree_config_response_list.rb +34 -22
  95. data/lib/pulp_ostree_client/models/paginatedostree_ostree_content_response_list.rb +34 -22
  96. data/lib/pulp_ostree_client/models/paginatedostree_ostree_distribution_response_list.rb +34 -22
  97. data/lib/pulp_ostree_client/models/paginatedostree_ostree_object_response_list.rb +34 -22
  98. data/lib/pulp_ostree_client/models/paginatedostree_ostree_ref_response_list.rb +34 -22
  99. data/lib/pulp_ostree_client/models/paginatedostree_ostree_remote_response_list.rb +34 -22
  100. data/lib/pulp_ostree_client/models/paginatedostree_ostree_repository_response_list.rb +34 -22
  101. data/lib/pulp_ostree_client/models/paginatedostree_ostree_summary_response_list.rb +34 -22
  102. data/lib/pulp_ostree_client/models/patchedostree_ostree_distribution.rb +40 -24
  103. data/lib/pulp_ostree_client/models/patchedostree_ostree_remote.rb +67 -25
  104. data/lib/pulp_ostree_client/models/patchedostree_ostree_repository.rb +35 -23
  105. data/lib/pulp_ostree_client/models/policy_enum.rb +8 -4
  106. data/lib/pulp_ostree_client/models/repair.rb +30 -22
  107. data/lib/pulp_ostree_client/models/repository_add_remove_content.rb +30 -22
  108. data/lib/pulp_ostree_client/models/repository_sync_url.rb +30 -22
  109. data/lib/pulp_ostree_client/models/repository_version_response.rb +32 -24
  110. data/lib/pulp_ostree_client/models/set_label.rb +34 -22
  111. data/lib/pulp_ostree_client/models/set_label_response.rb +34 -22
  112. data/lib/pulp_ostree_client/models/unset_label.rb +33 -23
  113. data/lib/pulp_ostree_client/models/unset_label_response.rb +33 -23
  114. data/lib/pulp_ostree_client/version.rb +2 -2
  115. data/lib/pulp_ostree_client.rb +2 -2
  116. data/pulp_ostree_client.gemspec +9 -6
  117. data/spec/api/content_commits_api_spec.rb +31 -4
  118. data/spec/api/content_configs_api_spec.rb +30 -3
  119. data/spec/api/content_content_api_spec.rb +31 -4
  120. data/spec/api/content_objects_api_spec.rb +31 -4
  121. data/spec/api/content_refs_api_spec.rb +31 -4
  122. data/spec/api/content_summaries_api_spec.rb +30 -3
  123. data/spec/api/distributions_ostree_api_spec.rb +15 -14
  124. data/spec/api/remotes_ostree_api_spec.rb +20 -19
  125. data/spec/api/repositories_ostree_api_spec.rb +17 -17
  126. data/spec/api/repositories_ostree_versions_api_spec.rb +12 -11
  127. data/spec/models/async_operation_response_spec.rb +7 -12
  128. data/spec/models/content_summary_response_spec.rb +9 -14
  129. data/spec/models/my_permissions_response_spec.rb +7 -12
  130. data/spec/models/nested_role_response_spec.rb +9 -14
  131. data/spec/models/nested_role_spec.rb +9 -14
  132. data/spec/models/object_roles_response_spec.rb +7 -12
  133. data/spec/models/ostree_import_all_spec.rb +8 -13
  134. data/spec/models/ostree_import_commits_to_ref_spec.rb +9 -14
  135. data/spec/models/ostree_ostree_commit_response_spec.rb +21 -20
  136. data/spec/models/ostree_ostree_config_response_spec.rb +18 -17
  137. data/spec/models/ostree_ostree_content_response_spec.rb +19 -18
  138. data/spec/models/ostree_ostree_content_spec.rb +16 -15
  139. data/spec/models/ostree_ostree_distribution_response_spec.rb +19 -24
  140. data/spec/models/ostree_ostree_distribution_spec.rb +13 -18
  141. data/spec/models/ostree_ostree_object_response_spec.rb +20 -19
  142. data/spec/models/ostree_ostree_ref_response_spec.rb +21 -20
  143. data/spec/models/{ostree_ostree_remote_response_hidden_fields_spec.rb → ostree_ostree_remote_response_hidden_fields_inner_spec.rb} +11 -16
  144. data/spec/models/ostree_ostree_remote_response_spec.rb +30 -35
  145. data/spec/models/ostree_ostree_remote_spec.rb +30 -35
  146. data/spec/models/ostree_ostree_repository_response_spec.rb +18 -23
  147. data/spec/models/ostree_ostree_repository_spec.rb +12 -17
  148. data/spec/models/ostree_ostree_summary_response_spec.rb +18 -17
  149. data/spec/models/paginated_repository_version_response_list_spec.rb +10 -15
  150. data/spec/models/paginatedostree_ostree_commit_response_list_spec.rb +10 -15
  151. data/spec/models/paginatedostree_ostree_config_response_list_spec.rb +10 -15
  152. data/spec/models/paginatedostree_ostree_content_response_list_spec.rb +10 -15
  153. data/spec/models/paginatedostree_ostree_distribution_response_list_spec.rb +10 -15
  154. data/spec/models/paginatedostree_ostree_object_response_list_spec.rb +10 -15
  155. data/spec/models/paginatedostree_ostree_ref_response_list_spec.rb +10 -15
  156. data/spec/models/paginatedostree_ostree_remote_response_list_spec.rb +10 -15
  157. data/spec/models/paginatedostree_ostree_repository_response_list_spec.rb +10 -15
  158. data/spec/models/paginatedostree_ostree_summary_response_list_spec.rb +10 -15
  159. data/spec/models/patchedostree_ostree_distribution_spec.rb +13 -18
  160. data/spec/models/patchedostree_ostree_remote_spec.rb +30 -35
  161. data/spec/models/patchedostree_ostree_repository_spec.rb +12 -17
  162. data/spec/models/policy_enum_spec.rb +6 -11
  163. data/spec/models/repair_spec.rb +7 -12
  164. data/spec/models/repository_add_remove_content_spec.rb +9 -14
  165. data/spec/models/repository_sync_url_spec.rb +8 -13
  166. data/spec/models/repository_version_response_spec.rb +14 -19
  167. data/spec/models/set_label_response_spec.rb +8 -13
  168. data/spec/models/set_label_spec.rb +8 -13
  169. data/spec/models/unset_label_response_spec.rb +8 -13
  170. data/spec/models/unset_label_spec.rb +7 -12
  171. data/spec/spec_helper.rb +1 -1
  172. metadata +83 -59
  173. data/docs/OstreeOstreeRemoteResponseHiddenFields.md +0 -19
  174. data/spec/api_client_spec.rb +0 -188
  175. data/spec/configuration_spec.rb +0 -42
@@ -6,14 +6,15 @@
6
6
  The version of the OpenAPI document: v3
7
7
  Contact: pulp-list@redhat.com
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 4.3.1
9
+ Generator version: 7.10.0
10
10
 
11
11
  =end
12
12
 
13
13
  require 'date'
14
+ require 'time'
14
15
 
15
16
  module PulpOstreeClient
16
- # Serializer for synchronously setting a label.
17
+ # Serializer for synchronously UNsetting a label.
17
18
  class UnsetLabel
18
19
  attr_accessor :key
19
20
 
@@ -24,6 +25,11 @@ module PulpOstreeClient
24
25
  }
25
26
  end
26
27
 
28
+ # Returns all the JSON keys this model knows about
29
+ def self.acceptable_attributes
30
+ attribute_map.values
31
+ end
32
+
27
33
  # Attribute type mapping.
28
34
  def self.openapi_types
29
35
  {
@@ -54,12 +60,15 @@ module PulpOstreeClient
54
60
 
55
61
  if attributes.key?(:'key')
56
62
  self.key = attributes[:'key']
63
+ else
64
+ self.key = nil
57
65
  end
58
66
  end
59
67
 
60
68
  # Show invalid properties with the reasons. Usually used together with valid?
61
69
  # @return Array for valid properties with the reasons
62
70
  def list_invalid_properties
71
+ warn '[DEPRECATED] the `list_invalid_properties` method is obsolete'
63
72
  invalid_properties = Array.new
64
73
  if @key.nil?
65
74
  invalid_properties.push('invalid value for "key", key cannot be nil.')
@@ -80,6 +89,7 @@ module PulpOstreeClient
80
89
  # Check to see if the all the properties in the model are valid
81
90
  # @return true if the model is valid
82
91
  def valid?
92
+ warn '[DEPRECATED] the `valid?` method is obsolete'
83
93
  return false if @key.nil?
84
94
  return false if @key.to_s.length < 1
85
95
  return false if @key !~ Regexp.new(/^[-a-zA-Z0-9_]+$/)
@@ -129,37 +139,33 @@ module PulpOstreeClient
129
139
  # @param [Hash] attributes Model attributes in the form of hash
130
140
  # @return [Object] Returns the model itself
131
141
  def self.build_from_hash(attributes)
132
- new.build_from_hash(attributes)
133
- end
134
-
135
- # Builds the object from hash
136
- # @param [Hash] attributes Model attributes in the form of hash
137
- # @return [Object] Returns the model itself
138
- def build_from_hash(attributes)
139
142
  return nil unless attributes.is_a?(Hash)
140
- self.class.openapi_types.each_pair do |key, type|
141
- if type =~ /\AArray<(.*)>/i
143
+ attributes = attributes.transform_keys(&:to_sym)
144
+ transformed_hash = {}
145
+ openapi_types.each_pair do |key, type|
146
+ if attributes.key?(attribute_map[key]) && attributes[attribute_map[key]].nil?
147
+ transformed_hash["#{key}"] = nil
148
+ elsif type =~ /\AArray<(.*)>/i
142
149
  # check to ensure the input is an array given that the attribute
143
150
  # is documented as an array but the input is not
144
- if attributes[self.class.attribute_map[key]].is_a?(Array)
145
- self.send("#{key}=", attributes[self.class.attribute_map[key]].map { |v| _deserialize($1, v) })
151
+ if attributes[attribute_map[key]].is_a?(Array)
152
+ transformed_hash["#{key}"] = attributes[attribute_map[key]].map { |v| _deserialize($1, v) }
146
153
  end
147
- elsif !attributes[self.class.attribute_map[key]].nil?
148
- self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]]))
149
- end # or else data not found in attributes(hash), not an issue as the data can be optional
154
+ elsif !attributes[attribute_map[key]].nil?
155
+ transformed_hash["#{key}"] = _deserialize(type, attributes[attribute_map[key]])
156
+ end
150
157
  end
151
-
152
- self
158
+ new(transformed_hash)
153
159
  end
154
160
 
155
161
  # Deserializes the data based on type
156
162
  # @param string type Data type
157
163
  # @param string value Value to be deserialized
158
164
  # @return [Object] Deserialized data
159
- def _deserialize(type, value)
165
+ def self._deserialize(type, value)
160
166
  case type.to_sym
161
- when :DateTime
162
- DateTime.parse(value)
167
+ when :Time
168
+ Time.parse(value)
163
169
  when :Date
164
170
  Date.parse(value)
165
171
  when :String
@@ -189,7 +195,9 @@ module PulpOstreeClient
189
195
  end
190
196
  end
191
197
  else # model
192
- PulpOstreeClient.const_get(type).build_from_hash(value)
198
+ # models (e.g. Pet) or oneOf
199
+ klass = PulpOstreeClient.const_get(type)
200
+ klass.respond_to?(:openapi_any_of) || klass.respond_to?(:openapi_one_of) ? klass.build(value) : klass.build_from_hash(value)
193
201
  end
194
202
  end
195
203
 
@@ -215,7 +223,7 @@ module PulpOstreeClient
215
223
  is_nullable = self.class.openapi_nullable.include?(attr)
216
224
  next if !is_nullable || (is_nullable && !instance_variable_defined?(:"@#{attr}"))
217
225
  end
218
-
226
+
219
227
  hash[param] = _to_hash(value)
220
228
  end
221
229
  hash
@@ -238,5 +246,7 @@ module PulpOstreeClient
238
246
  value
239
247
  end
240
248
  end
249
+
241
250
  end
251
+
242
252
  end
@@ -6,14 +6,15 @@
6
6
  The version of the OpenAPI document: v3
7
7
  Contact: pulp-list@redhat.com
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 4.3.1
9
+ Generator version: 7.10.0
10
10
 
11
11
  =end
12
12
 
13
13
  require 'date'
14
+ require 'time'
14
15
 
15
16
  module PulpOstreeClient
16
- # Serializer for synchronously setting a label.
17
+ # Serializer for synchronously UNsetting a label.
17
18
  class UnsetLabelResponse
18
19
  attr_accessor :key
19
20
 
@@ -27,6 +28,11 @@ module PulpOstreeClient
27
28
  }
28
29
  end
29
30
 
31
+ # Returns all the JSON keys this model knows about
32
+ def self.acceptable_attributes
33
+ attribute_map.values
34
+ end
35
+
30
36
  # Attribute type mapping.
31
37
  def self.openapi_types
32
38
  {
@@ -58,6 +64,8 @@ module PulpOstreeClient
58
64
 
59
65
  if attributes.key?(:'key')
60
66
  self.key = attributes[:'key']
67
+ else
68
+ self.key = nil
61
69
  end
62
70
 
63
71
  if attributes.key?(:'value')
@@ -68,6 +76,7 @@ module PulpOstreeClient
68
76
  # Show invalid properties with the reasons. Usually used together with valid?
69
77
  # @return Array for valid properties with the reasons
70
78
  def list_invalid_properties
79
+ warn '[DEPRECATED] the `list_invalid_properties` method is obsolete'
71
80
  invalid_properties = Array.new
72
81
  if @key.nil?
73
82
  invalid_properties.push('invalid value for "key", key cannot be nil.')
@@ -84,6 +93,7 @@ module PulpOstreeClient
84
93
  # Check to see if the all the properties in the model are valid
85
94
  # @return true if the model is valid
86
95
  def valid?
96
+ warn '[DEPRECATED] the `valid?` method is obsolete'
87
97
  return false if @key.nil?
88
98
  return false if @key !~ Regexp.new(/^[-a-zA-Z0-9_]+$/)
89
99
  true
@@ -129,37 +139,33 @@ module PulpOstreeClient
129
139
  # @param [Hash] attributes Model attributes in the form of hash
130
140
  # @return [Object] Returns the model itself
131
141
  def self.build_from_hash(attributes)
132
- new.build_from_hash(attributes)
133
- end
134
-
135
- # Builds the object from hash
136
- # @param [Hash] attributes Model attributes in the form of hash
137
- # @return [Object] Returns the model itself
138
- def build_from_hash(attributes)
139
142
  return nil unless attributes.is_a?(Hash)
140
- self.class.openapi_types.each_pair do |key, type|
141
- if type =~ /\AArray<(.*)>/i
143
+ attributes = attributes.transform_keys(&:to_sym)
144
+ transformed_hash = {}
145
+ openapi_types.each_pair do |key, type|
146
+ if attributes.key?(attribute_map[key]) && attributes[attribute_map[key]].nil?
147
+ transformed_hash["#{key}"] = nil
148
+ elsif type =~ /\AArray<(.*)>/i
142
149
  # check to ensure the input is an array given that the attribute
143
150
  # is documented as an array but the input is not
144
- if attributes[self.class.attribute_map[key]].is_a?(Array)
145
- self.send("#{key}=", attributes[self.class.attribute_map[key]].map { |v| _deserialize($1, v) })
151
+ if attributes[attribute_map[key]].is_a?(Array)
152
+ transformed_hash["#{key}"] = attributes[attribute_map[key]].map { |v| _deserialize($1, v) }
146
153
  end
147
- elsif !attributes[self.class.attribute_map[key]].nil?
148
- self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]]))
149
- end # or else data not found in attributes(hash), not an issue as the data can be optional
154
+ elsif !attributes[attribute_map[key]].nil?
155
+ transformed_hash["#{key}"] = _deserialize(type, attributes[attribute_map[key]])
156
+ end
150
157
  end
151
-
152
- self
158
+ new(transformed_hash)
153
159
  end
154
160
 
155
161
  # Deserializes the data based on type
156
162
  # @param string type Data type
157
163
  # @param string value Value to be deserialized
158
164
  # @return [Object] Deserialized data
159
- def _deserialize(type, value)
165
+ def self._deserialize(type, value)
160
166
  case type.to_sym
161
- when :DateTime
162
- DateTime.parse(value)
167
+ when :Time
168
+ Time.parse(value)
163
169
  when :Date
164
170
  Date.parse(value)
165
171
  when :String
@@ -189,7 +195,9 @@ module PulpOstreeClient
189
195
  end
190
196
  end
191
197
  else # model
192
- PulpOstreeClient.const_get(type).build_from_hash(value)
198
+ # models (e.g. Pet) or oneOf
199
+ klass = PulpOstreeClient.const_get(type)
200
+ klass.respond_to?(:openapi_any_of) || klass.respond_to?(:openapi_one_of) ? klass.build(value) : klass.build_from_hash(value)
193
201
  end
194
202
  end
195
203
 
@@ -215,7 +223,7 @@ module PulpOstreeClient
215
223
  is_nullable = self.class.openapi_nullable.include?(attr)
216
224
  next if !is_nullable || (is_nullable && !instance_variable_defined?(:"@#{attr}"))
217
225
  end
218
-
226
+
219
227
  hash[param] = _to_hash(value)
220
228
  end
221
229
  hash
@@ -238,5 +246,7 @@ module PulpOstreeClient
238
246
  value
239
247
  end
240
248
  end
249
+
241
250
  end
251
+
242
252
  end
@@ -6,10 +6,10 @@
6
6
  The version of the OpenAPI document: v3
7
7
  Contact: pulp-list@redhat.com
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 4.3.1
9
+ Generator version: 7.10.0
10
10
 
11
11
  =end
12
12
 
13
13
  module PulpOstreeClient
14
- VERSION = '2.4.5'
14
+ VERSION = '2.4.7'
15
15
  end
@@ -6,7 +6,7 @@
6
6
  The version of the OpenAPI document: v3
7
7
  Contact: pulp-list@redhat.com
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 4.3.1
9
+ Generator version: 7.10.0
10
10
 
11
11
  =end
12
12
 
@@ -35,7 +35,7 @@ require 'pulp_ostree_client/models/ostree_ostree_object_response'
35
35
  require 'pulp_ostree_client/models/ostree_ostree_ref_response'
36
36
  require 'pulp_ostree_client/models/ostree_ostree_remote'
37
37
  require 'pulp_ostree_client/models/ostree_ostree_remote_response'
38
- require 'pulp_ostree_client/models/ostree_ostree_remote_response_hidden_fields'
38
+ require 'pulp_ostree_client/models/ostree_ostree_remote_response_hidden_fields_inner'
39
39
  require 'pulp_ostree_client/models/ostree_ostree_repository'
40
40
  require 'pulp_ostree_client/models/ostree_ostree_repository_response'
41
41
  require 'pulp_ostree_client/models/ostree_ostree_summary_response'
@@ -8,7 +8,7 @@
8
8
  The version of the OpenAPI document: v3
9
9
  Contact: pulp-list@redhat.com
10
10
  Generated by: https://openapi-generator.tech
11
- OpenAPI Generator version: 4.3.1
11
+ Generator version: 7.10.0
12
12
 
13
13
  =end
14
14
 
@@ -24,11 +24,14 @@ Gem::Specification.new do |s|
24
24
  s.homepage = "https://github.com/pulp/pulp_ostree"
25
25
  s.summary = "Pulp 3 API Ruby Gem"
26
26
  s.description = "Fetch, Upload, Organize, and Distribute Software Packages"
27
- s.license = 'GPLv2+'
28
- s.required_ruby_version = ">= 1.9"
29
-
30
- s.add_runtime_dependency 'faraday', '>= 1.0.1', '< 2.0'
31
- s.add_runtime_dependency 'json', '~> 2.1', '>= 2.1.0'
27
+ s.license = "GPLv2+"
28
+ s.required_ruby_version = ">= 2.7"
29
+ s.metadata = {}
30
+
31
+ s.add_runtime_dependency 'faraday-net_http', '>= 2.0', '< 3.1'
32
+ s.add_runtime_dependency 'faraday', '>= 1.0.1', '< 2.9'
33
+ s.add_runtime_dependency 'faraday-multipart'
34
+ s.add_runtime_dependency 'marcel'
32
35
 
33
36
  s.add_development_dependency 'rspec', '~> 3.6', '>= 3.6.0'
34
37
 
@@ -6,7 +6,7 @@
6
6
  The version of the OpenAPI document: v3
7
7
  Contact: pulp-list@redhat.com
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 4.3.1
9
+ Generator version: 7.10.0
10
10
 
11
11
  =end
12
12
 
@@ -39,11 +39,12 @@ describe 'ContentCommitsApi' do
39
39
  # @option opts [String] :checksum Filter results where checksum matches value
40
40
  # @option opts [Integer] :limit Number of results to return per page.
41
41
  # @option opts [Integer] :offset The initial index from which to return the results.
42
- # @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;upstream_id&#x60; - Upstream id * &#x60;-upstream_id&#x60; - Upstream id (descending) * &#x60;timestamp_of_interest&#x60; - Timestamp of interest * &#x60;-timestamp_of_interest&#x60; - Timestamp of interest (descending) * &#x60;checksum&#x60; - Checksum * &#x60;-checksum&#x60; - Checksum (descending) * &#x60;relative_path&#x60; - Relative path * &#x60;-relative_path&#x60; - Relative path (descending) * &#x60;pk&#x60; - Pk * &#x60;-pk&#x60; - Pk (descending)
42
+ # @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;upstream_id&#x60; - Upstream id * &#x60;-upstream_id&#x60; - Upstream id (descending) * &#x60;pulp_labels&#x60; - Pulp labels * &#x60;-pulp_labels&#x60; - Pulp labels (descending) * &#x60;timestamp_of_interest&#x60; - Timestamp of interest * &#x60;-timestamp_of_interest&#x60; - Timestamp of interest (descending) * &#x60;checksum&#x60; - Checksum * &#x60;-checksum&#x60; - Checksum (descending) * &#x60;relative_path&#x60; - Relative path * &#x60;-relative_path&#x60; - Relative path (descending) * &#x60;pk&#x60; - Pk * &#x60;-pk&#x60; - Pk (descending)
43
43
  # @option opts [Float] :orphaned_for Minutes Content has been orphaned for. -1 uses ORPHAN_PROTECTION_TIME.
44
44
  # @option opts [Array<String>] :prn__in Multiple values may be separated by commas.
45
45
  # @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
46
46
  # @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
47
+ # @option opts [String] :pulp_label_select Filter labels by search string
47
48
  # @option opts [String] :q Filter results by using NOT, AND and OR operations on other filters
48
49
  # @option opts [String] :repository_version Repository Version referenced by HREF/PRN
49
50
  # @option opts [String] :repository_version_added Repository Version referenced by HREF/PRN
@@ -53,7 +54,7 @@ describe 'ContentCommitsApi' do
53
54
  # @return [PaginatedostreeOstreeCommitResponseList]
54
55
  describe 'list test' do
55
56
  it 'should work' do
56
- # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
57
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
57
58
  end
58
59
  end
59
60
 
@@ -67,7 +68,33 @@ describe 'ContentCommitsApi' do
67
68
  # @return [OstreeOstreeCommitResponse]
68
69
  describe 'read test' do
69
70
  it 'should work' do
70
- # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
71
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
72
+ end
73
+ end
74
+
75
+ # unit tests for set_label
76
+ # Set a label
77
+ # Set a single pulp_label on the object to a specific value or null.
78
+ # @param ostree_ostree_commit_href
79
+ # @param set_label
80
+ # @param [Hash] opts the optional parameters
81
+ # @return [SetLabelResponse]
82
+ describe 'set_label test' do
83
+ it 'should work' do
84
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
85
+ end
86
+ end
87
+
88
+ # unit tests for unset_label
89
+ # Unset a label
90
+ # Unset a single pulp_label on the object.
91
+ # @param ostree_ostree_commit_href
92
+ # @param unset_label
93
+ # @param [Hash] opts the optional parameters
94
+ # @return [UnsetLabelResponse]
95
+ describe 'unset_label test' do
96
+ it 'should work' do
97
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
71
98
  end
72
99
  end
73
100
 
@@ -6,7 +6,7 @@
6
6
  The version of the OpenAPI document: v3
7
7
  Contact: pulp-list@redhat.com
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 4.3.1
9
+ Generator version: 7.10.0
10
10
 
11
11
  =end
12
12
 
@@ -43,6 +43,7 @@ describe 'ContentConfigsApi' do
43
43
  # @option opts [Array<String>] :prn__in Multiple values may be separated by commas.
44
44
  # @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
45
45
  # @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
46
+ # @option opts [String] :pulp_label_select Filter labels by search string
46
47
  # @option opts [String] :q Filter results by using NOT, AND and OR operations on other filters
47
48
  # @option opts [String] :repository_version Repository Version referenced by HREF/PRN
48
49
  # @option opts [String] :repository_version_added Repository Version referenced by HREF/PRN
@@ -52,7 +53,7 @@ describe 'ContentConfigsApi' do
52
53
  # @return [PaginatedostreeOstreeConfigResponseList]
53
54
  describe 'list test' do
54
55
  it 'should work' do
55
- # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
56
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
56
57
  end
57
58
  end
58
59
 
@@ -66,7 +67,33 @@ describe 'ContentConfigsApi' do
66
67
  # @return [OstreeOstreeConfigResponse]
67
68
  describe 'read test' do
68
69
  it 'should work' do
69
- # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
70
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
71
+ end
72
+ end
73
+
74
+ # unit tests for set_label
75
+ # Set a label
76
+ # Set a single pulp_label on the object to a specific value or null.
77
+ # @param ostree_ostree_config_href
78
+ # @param set_label
79
+ # @param [Hash] opts the optional parameters
80
+ # @return [SetLabelResponse]
81
+ describe 'set_label test' do
82
+ it 'should work' do
83
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
84
+ end
85
+ end
86
+
87
+ # unit tests for unset_label
88
+ # Unset a label
89
+ # Unset a single pulp_label on the object.
90
+ # @param ostree_ostree_config_href
91
+ # @param unset_label
92
+ # @param [Hash] opts the optional parameters
93
+ # @return [UnsetLabelResponse]
94
+ describe 'unset_label test' do
95
+ it 'should work' do
96
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
70
97
  end
71
98
  end
72
99
 
@@ -6,7 +6,7 @@
6
6
  The version of the OpenAPI document: v3
7
7
  Contact: pulp-list@redhat.com
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 4.3.1
9
+ Generator version: 7.10.0
10
10
 
11
11
  =end
12
12
 
@@ -40,7 +40,7 @@ describe 'ContentContentApi' do
40
40
  # @return [AsyncOperationResponse]
41
41
  describe 'create test' do
42
42
  it 'should work' do
43
- # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
43
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
44
44
  end
45
45
  end
46
46
 
@@ -55,6 +55,7 @@ describe 'ContentContentApi' do
55
55
  # @option opts [Array<String>] :prn__in Multiple values may be separated by commas.
56
56
  # @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
57
57
  # @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
58
+ # @option opts [String] :pulp_label_select Filter labels by search string
58
59
  # @option opts [String] :q Filter results by using NOT, AND and OR operations on other filters
59
60
  # @option opts [String] :repository_version Repository Version referenced by HREF/PRN
60
61
  # @option opts [String] :repository_version_added Repository Version referenced by HREF/PRN
@@ -64,7 +65,7 @@ describe 'ContentContentApi' do
64
65
  # @return [PaginatedostreeOstreeContentResponseList]
65
66
  describe 'list test' do
66
67
  it 'should work' do
67
- # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
68
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
68
69
  end
69
70
  end
70
71
 
@@ -78,7 +79,33 @@ describe 'ContentContentApi' do
78
79
  # @return [OstreeOstreeContentResponse]
79
80
  describe 'read test' do
80
81
  it 'should work' do
81
- # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
82
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
83
+ end
84
+ end
85
+
86
+ # unit tests for set_label
87
+ # Set a label
88
+ # Set a single pulp_label on the object to a specific value or null.
89
+ # @param ostree_ostree_content_href
90
+ # @param set_label
91
+ # @param [Hash] opts the optional parameters
92
+ # @return [SetLabelResponse]
93
+ describe 'set_label test' do
94
+ it 'should work' do
95
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
96
+ end
97
+ end
98
+
99
+ # unit tests for unset_label
100
+ # Unset a label
101
+ # Unset a single pulp_label on the object.
102
+ # @param ostree_ostree_content_href
103
+ # @param unset_label
104
+ # @param [Hash] opts the optional parameters
105
+ # @return [UnsetLabelResponse]
106
+ describe 'unset_label test' do
107
+ it 'should work' do
108
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
82
109
  end
83
110
  end
84
111
 
@@ -6,7 +6,7 @@
6
6
  The version of the OpenAPI document: v3
7
7
  Contact: pulp-list@redhat.com
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 4.3.1
9
+ Generator version: 7.10.0
10
10
 
11
11
  =end
12
12
 
@@ -39,11 +39,12 @@ describe 'ContentObjectsApi' do
39
39
  # @option opts [String] :checksum Filter results where checksum matches value
40
40
  # @option opts [Integer] :limit Number of results to return per page.
41
41
  # @option opts [Integer] :offset The initial index from which to return the results.
42
- # @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;upstream_id&#x60; - Upstream id * &#x60;-upstream_id&#x60; - Upstream id (descending) * &#x60;timestamp_of_interest&#x60; - Timestamp of interest * &#x60;-timestamp_of_interest&#x60; - Timestamp of interest (descending) * &#x60;typ&#x60; - Typ * &#x60;-typ&#x60; - Typ (descending) * &#x60;checksum&#x60; - Checksum * &#x60;-checksum&#x60; - Checksum (descending) * &#x60;relative_path&#x60; - Relative path * &#x60;-relative_path&#x60; - Relative path (descending) * &#x60;pk&#x60; - Pk * &#x60;-pk&#x60; - Pk (descending)
42
+ # @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;upstream_id&#x60; - Upstream id * &#x60;-upstream_id&#x60; - Upstream id (descending) * &#x60;pulp_labels&#x60; - Pulp labels * &#x60;-pulp_labels&#x60; - Pulp labels (descending) * &#x60;timestamp_of_interest&#x60; - Timestamp of interest * &#x60;-timestamp_of_interest&#x60; - Timestamp of interest (descending) * &#x60;typ&#x60; - Typ * &#x60;-typ&#x60; - Typ (descending) * &#x60;checksum&#x60; - Checksum * &#x60;-checksum&#x60; - Checksum (descending) * &#x60;relative_path&#x60; - Relative path * &#x60;-relative_path&#x60; - Relative path (descending) * &#x60;pk&#x60; - Pk * &#x60;-pk&#x60; - Pk (descending)
43
43
  # @option opts [Float] :orphaned_for Minutes Content has been orphaned for. -1 uses ORPHAN_PROTECTION_TIME.
44
44
  # @option opts [Array<String>] :prn__in Multiple values may be separated by commas.
45
45
  # @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
46
46
  # @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
47
+ # @option opts [String] :pulp_label_select Filter labels by search string
47
48
  # @option opts [String] :q Filter results by using NOT, AND and OR operations on other filters
48
49
  # @option opts [String] :repository_version Repository Version referenced by HREF/PRN
49
50
  # @option opts [String] :repository_version_added Repository Version referenced by HREF/PRN
@@ -53,7 +54,7 @@ describe 'ContentObjectsApi' do
53
54
  # @return [PaginatedostreeOstreeObjectResponseList]
54
55
  describe 'list test' do
55
56
  it 'should work' do
56
- # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
57
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
57
58
  end
58
59
  end
59
60
 
@@ -67,7 +68,33 @@ describe 'ContentObjectsApi' do
67
68
  # @return [OstreeOstreeObjectResponse]
68
69
  describe 'read test' do
69
70
  it 'should work' do
70
- # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
71
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
72
+ end
73
+ end
74
+
75
+ # unit tests for set_label
76
+ # Set a label
77
+ # Set a single pulp_label on the object to a specific value or null.
78
+ # @param ostree_ostree_object_href
79
+ # @param set_label
80
+ # @param [Hash] opts the optional parameters
81
+ # @return [SetLabelResponse]
82
+ describe 'set_label test' do
83
+ it 'should work' do
84
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
85
+ end
86
+ end
87
+
88
+ # unit tests for unset_label
89
+ # Unset a label
90
+ # Unset a single pulp_label on the object.
91
+ # @param ostree_ostree_object_href
92
+ # @param unset_label
93
+ # @param [Hash] opts the optional parameters
94
+ # @return [UnsetLabelResponse]
95
+ describe 'unset_label test' do
96
+ it 'should work' do
97
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
71
98
  end
72
99
  end
73
100
 
@@ -6,7 +6,7 @@
6
6
  The version of the OpenAPI document: v3
7
7
  Contact: pulp-list@redhat.com
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 4.3.1
9
+ Generator version: 7.10.0
10
10
 
11
11
  =end
12
12
 
@@ -48,11 +48,12 @@ describe 'ContentRefsApi' do
48
48
  # @option opts [String] :name__regex Filter results where name matches regex value
49
49
  # @option opts [String] :name__startswith Filter results where name starts with value
50
50
  # @option opts [Integer] :offset The initial index from which to return the results.
51
- # @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;upstream_id&#x60; - Upstream id * &#x60;-upstream_id&#x60; - Upstream id (descending) * &#x60;timestamp_of_interest&#x60; - Timestamp of interest * &#x60;-timestamp_of_interest&#x60; - Timestamp of interest (descending) * &#x60;name&#x60; - Name * &#x60;-name&#x60; - Name (descending) * &#x60;relative_path&#x60; - Relative path * &#x60;-relative_path&#x60; - Relative path (descending) * &#x60;pk&#x60; - Pk * &#x60;-pk&#x60; - Pk (descending)
51
+ # @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;upstream_id&#x60; - Upstream id * &#x60;-upstream_id&#x60; - Upstream id (descending) * &#x60;pulp_labels&#x60; - Pulp labels * &#x60;-pulp_labels&#x60; - Pulp labels (descending) * &#x60;timestamp_of_interest&#x60; - Timestamp of interest * &#x60;-timestamp_of_interest&#x60; - Timestamp of interest (descending) * &#x60;name&#x60; - Name * &#x60;-name&#x60; - Name (descending) * &#x60;relative_path&#x60; - Relative path * &#x60;-relative_path&#x60; - Relative path (descending) * &#x60;pk&#x60; - Pk * &#x60;-pk&#x60; - Pk (descending)
52
52
  # @option opts [Float] :orphaned_for Minutes Content has been orphaned for. -1 uses ORPHAN_PROTECTION_TIME.
53
53
  # @option opts [Array<String>] :prn__in Multiple values may be separated by commas.
54
54
  # @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
55
55
  # @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
56
+ # @option opts [String] :pulp_label_select Filter labels by search string
56
57
  # @option opts [String] :q Filter results by using NOT, AND and OR operations on other filters
57
58
  # @option opts [String] :repository_version Repository Version referenced by HREF/PRN
58
59
  # @option opts [String] :repository_version_added Repository Version referenced by HREF/PRN
@@ -62,7 +63,7 @@ describe 'ContentRefsApi' do
62
63
  # @return [PaginatedostreeOstreeRefResponseList]
63
64
  describe 'list test' do
64
65
  it 'should work' do
65
- # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
66
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
66
67
  end
67
68
  end
68
69
 
@@ -76,7 +77,33 @@ describe 'ContentRefsApi' do
76
77
  # @return [OstreeOstreeRefResponse]
77
78
  describe 'read test' do
78
79
  it 'should work' do
79
- # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
80
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
81
+ end
82
+ end
83
+
84
+ # unit tests for set_label
85
+ # Set a label
86
+ # Set a single pulp_label on the object to a specific value or null.
87
+ # @param ostree_ostree_ref_href
88
+ # @param set_label
89
+ # @param [Hash] opts the optional parameters
90
+ # @return [SetLabelResponse]
91
+ describe 'set_label test' do
92
+ it 'should work' do
93
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
94
+ end
95
+ end
96
+
97
+ # unit tests for unset_label
98
+ # Unset a label
99
+ # Unset a single pulp_label on the object.
100
+ # @param ostree_ostree_ref_href
101
+ # @param unset_label
102
+ # @param [Hash] opts the optional parameters
103
+ # @return [UnsetLabelResponse]
104
+ describe 'unset_label test' do
105
+ it 'should work' do
106
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
80
107
  end
81
108
  end
82
109