pulp_maven_client 0.8.0 → 0.8.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (49) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +5 -5
  3. data/docs/ContentArtifactApi.md +13 -9
  4. data/docs/DistributionsMavenApi.md +5 -3
  5. data/docs/MavenMavenArtifactResponse.md +4 -0
  6. data/docs/MavenMavenDistributionResponse.md +6 -0
  7. data/docs/MavenMavenRemoteResponse.md +4 -2
  8. data/docs/MavenMavenRemoteResponseHiddenFields.md +2 -2
  9. data/docs/MavenMavenRepositoryResponse.md +4 -0
  10. data/docs/PaginatedRepositoryVersionResponseList.md +2 -2
  11. data/docs/PaginatedmavenMavenArtifactResponseList.md +2 -2
  12. data/docs/PaginatedmavenMavenDistributionResponseList.md +2 -2
  13. data/docs/PaginatedmavenMavenRemoteResponseList.md +2 -2
  14. data/docs/PaginatedmavenMavenRepositoryResponseList.md +2 -2
  15. data/docs/PulpMavenApi.md +1 -1
  16. data/docs/RemotesMavenApi.md +5 -3
  17. data/docs/RepositoriesMavenApi.md +9 -7
  18. data/docs/RepositoriesMavenVersionsApi.md +9 -7
  19. data/docs/RepositoryVersionResponse.md +4 -0
  20. data/lib/pulp_maven_client/api/content_artifact_api.rb +14 -8
  21. data/lib/pulp_maven_client/api/distributions_maven_api.rb +5 -2
  22. data/lib/pulp_maven_client/api/remotes_maven_api.rb +5 -2
  23. data/lib/pulp_maven_client/api/repositories_maven_api.rb +9 -6
  24. data/lib/pulp_maven_client/api/repositories_maven_versions_api.rb +10 -7
  25. data/lib/pulp_maven_client/configuration.rb +2 -2
  26. data/lib/pulp_maven_client/models/maven_maven_artifact_response.rb +21 -1
  27. data/lib/pulp_maven_client/models/maven_maven_distribution_response.rb +31 -1
  28. data/lib/pulp_maven_client/models/maven_maven_remote_response.rb +21 -11
  29. data/lib/pulp_maven_client/models/maven_maven_remote_response_hidden_fields.rb +10 -0
  30. data/lib/pulp_maven_client/models/maven_maven_repository_response.rb +21 -1
  31. data/lib/pulp_maven_client/models/paginated_repository_version_response_list.rb +10 -0
  32. data/lib/pulp_maven_client/models/paginatedmaven_maven_artifact_response_list.rb +10 -0
  33. data/lib/pulp_maven_client/models/paginatedmaven_maven_distribution_response_list.rb +10 -0
  34. data/lib/pulp_maven_client/models/paginatedmaven_maven_remote_response_list.rb +10 -0
  35. data/lib/pulp_maven_client/models/paginatedmaven_maven_repository_response_list.rb +10 -0
  36. data/lib/pulp_maven_client/models/repository_version_response.rb +22 -2
  37. data/lib/pulp_maven_client/version.rb +1 -1
  38. data/spec/api/content_artifact_api_spec.rb +6 -4
  39. data/spec/api/distributions_maven_api_spec.rb +2 -1
  40. data/spec/api/remotes_maven_api_spec.rb +2 -1
  41. data/spec/api/repositories_maven_api_spec.rb +4 -3
  42. data/spec/api/repositories_maven_versions_api_spec.rb +4 -3
  43. data/spec/configuration_spec.rb +3 -3
  44. data/spec/models/maven_maven_artifact_response_spec.rb +12 -0
  45. data/spec/models/maven_maven_distribution_response_spec.rb +18 -0
  46. data/spec/models/maven_maven_remote_response_spec.rb +12 -6
  47. data/spec/models/maven_maven_repository_response_spec.rb +12 -0
  48. data/spec/models/repository_version_response_spec.rb +12 -0
  49. metadata +37 -37
@@ -88,12 +88,22 @@ module PulpMavenClient
88
88
  # @return Array for valid properties with the reasons
89
89
  def list_invalid_properties
90
90
  invalid_properties = Array.new
91
+ if @count.nil?
92
+ invalid_properties.push('invalid value for "count", count cannot be nil.')
93
+ end
94
+
95
+ if @results.nil?
96
+ invalid_properties.push('invalid value for "results", results cannot be nil.')
97
+ end
98
+
91
99
  invalid_properties
92
100
  end
93
101
 
94
102
  # Check to see if the all the properties in the model are valid
95
103
  # @return true if the model is valid
96
104
  def valid?
105
+ return false if @count.nil?
106
+ return false if @results.nil?
97
107
  true
98
108
  end
99
109
 
@@ -88,12 +88,22 @@ module PulpMavenClient
88
88
  # @return Array for valid properties with the reasons
89
89
  def list_invalid_properties
90
90
  invalid_properties = Array.new
91
+ if @count.nil?
92
+ invalid_properties.push('invalid value for "count", count cannot be nil.')
93
+ end
94
+
95
+ if @results.nil?
96
+ invalid_properties.push('invalid value for "results", results cannot be nil.')
97
+ end
98
+
91
99
  invalid_properties
92
100
  end
93
101
 
94
102
  # Check to see if the all the properties in the model are valid
95
103
  # @return true if the model is valid
96
104
  def valid?
105
+ return false if @count.nil?
106
+ return false if @results.nil?
97
107
  true
98
108
  end
99
109
 
@@ -88,12 +88,22 @@ module PulpMavenClient
88
88
  # @return Array for valid properties with the reasons
89
89
  def list_invalid_properties
90
90
  invalid_properties = Array.new
91
+ if @count.nil?
92
+ invalid_properties.push('invalid value for "count", count cannot be nil.')
93
+ end
94
+
95
+ if @results.nil?
96
+ invalid_properties.push('invalid value for "results", results cannot be nil.')
97
+ end
98
+
91
99
  invalid_properties
92
100
  end
93
101
 
94
102
  # Check to see if the all the properties in the model are valid
95
103
  # @return true if the model is valid
96
104
  def valid?
105
+ return false if @count.nil?
106
+ return false if @results.nil?
97
107
  true
98
108
  end
99
109
 
@@ -88,12 +88,22 @@ module PulpMavenClient
88
88
  # @return Array for valid properties with the reasons
89
89
  def list_invalid_properties
90
90
  invalid_properties = Array.new
91
+ if @count.nil?
92
+ invalid_properties.push('invalid value for "count", count cannot be nil.')
93
+ end
94
+
95
+ if @results.nil?
96
+ invalid_properties.push('invalid value for "results", results cannot be nil.')
97
+ end
98
+
91
99
  invalid_properties
92
100
  end
93
101
 
94
102
  # Check to see if the all the properties in the model are valid
95
103
  # @return true if the model is valid
96
104
  def valid?
105
+ return false if @count.nil?
106
+ return false if @results.nil?
97
107
  true
98
108
  end
99
109
 
@@ -88,12 +88,22 @@ module PulpMavenClient
88
88
  # @return Array for valid properties with the reasons
89
89
  def list_invalid_properties
90
90
  invalid_properties = Array.new
91
+ if @count.nil?
92
+ invalid_properties.push('invalid value for "count", count cannot be nil.')
93
+ end
94
+
95
+ if @results.nil?
96
+ invalid_properties.push('invalid value for "results", results cannot be nil.')
97
+ end
98
+
91
99
  invalid_properties
92
100
  end
93
101
 
94
102
  # Check to see if the all the properties in the model are valid
95
103
  # @return true if the model is valid
96
104
  def valid?
105
+ return false if @count.nil?
106
+ return false if @results.nil?
97
107
  true
98
108
  end
99
109
 
@@ -13,13 +13,19 @@ OpenAPI Generator version: 4.3.1
13
13
  require 'date'
14
14
 
15
15
  module PulpMavenClient
16
- # Base serializer for use with :class:`pulpcore.app.models.Model` This ensures that all Serializers provide values for the 'pulp_href` field. The class provides a default for the ``ref_name`` attribute in the ModelSerializers's ``Meta`` class. This ensures that the OpenAPI definitions of plugins are namespaced properly.
16
+ # Base serializer for use with [pulpcore.app.models.Model][] This ensures that all Serializers provide values for the 'pulp_href` field. The class provides a default for the ``ref_name`` attribute in the ModelSerializers's ``Meta`` class. This ensures that the OpenAPI definitions of plugins are namespaced properly.
17
17
  class RepositoryVersionResponse
18
18
  attr_accessor :pulp_href
19
19
 
20
+ # The Pulp Resource Name (PRN).
21
+ attr_accessor :prn
22
+
20
23
  # Timestamp of creation.
21
24
  attr_accessor :pulp_created
22
25
 
26
+ # Timestamp of the last time this resource was updated. Note: for immutable resources - like content, repository versions, and publication - pulp_created and pulp_last_updated dates will be the same.
27
+ attr_accessor :pulp_last_updated
28
+
23
29
  attr_accessor :number
24
30
 
25
31
  attr_accessor :repository
@@ -34,7 +40,9 @@ module PulpMavenClient
34
40
  def self.attribute_map
35
41
  {
36
42
  :'pulp_href' => :'pulp_href',
43
+ :'prn' => :'prn',
37
44
  :'pulp_created' => :'pulp_created',
45
+ :'pulp_last_updated' => :'pulp_last_updated',
38
46
  :'number' => :'number',
39
47
  :'repository' => :'repository',
40
48
  :'base_version' => :'base_version',
@@ -46,7 +54,9 @@ module PulpMavenClient
46
54
  def self.openapi_types
47
55
  {
48
56
  :'pulp_href' => :'String',
57
+ :'prn' => :'String',
49
58
  :'pulp_created' => :'DateTime',
59
+ :'pulp_last_updated' => :'DateTime',
50
60
  :'number' => :'Integer',
51
61
  :'repository' => :'String',
52
62
  :'base_version' => :'String',
@@ -79,10 +89,18 @@ module PulpMavenClient
79
89
  self.pulp_href = attributes[:'pulp_href']
80
90
  end
81
91
 
92
+ if attributes.key?(:'prn')
93
+ self.prn = attributes[:'prn']
94
+ end
95
+
82
96
  if attributes.key?(:'pulp_created')
83
97
  self.pulp_created = attributes[:'pulp_created']
84
98
  end
85
99
 
100
+ if attributes.key?(:'pulp_last_updated')
101
+ self.pulp_last_updated = attributes[:'pulp_last_updated']
102
+ end
103
+
86
104
  if attributes.key?(:'number')
87
105
  self.number = attributes[:'number']
88
106
  end
@@ -119,7 +137,9 @@ module PulpMavenClient
119
137
  return true if self.equal?(o)
120
138
  self.class == o.class &&
121
139
  pulp_href == o.pulp_href &&
140
+ prn == o.prn &&
122
141
  pulp_created == o.pulp_created &&
142
+ pulp_last_updated == o.pulp_last_updated &&
123
143
  number == o.number &&
124
144
  repository == o.repository &&
125
145
  base_version == o.base_version &&
@@ -135,7 +155,7 @@ module PulpMavenClient
135
155
  # Calculates hash code according to all attributes.
136
156
  # @return [Integer] Hash code
137
157
  def hash
138
- [pulp_href, pulp_created, number, repository, base_version, content_summary].hash
158
+ [pulp_href, prn, pulp_created, pulp_last_updated, number, repository, base_version, content_summary].hash
139
159
  end
140
160
 
141
161
  # Builds the object from hash
@@ -11,5 +11,5 @@ OpenAPI Generator version: 4.3.1
11
11
  =end
12
12
 
13
13
  module PulpMavenClient
14
- VERSION = '0.8.0'
14
+ VERSION = '0.8.2'
15
15
  end
@@ -54,12 +54,14 @@ describe 'ContentArtifactApi' do
54
54
  # @option opts [Integer] :limit Number of results to return per page.
55
55
  # @option opts [Integer] :offset The initial index from which to return the results.
56
56
  # @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;group_id&#x60; - Group id * &#x60;-group_id&#x60; - Group id (descending) * &#x60;artifact_id&#x60; - Artifact id * &#x60;-artifact_id&#x60; - Artifact id (descending) * &#x60;version&#x60; - Version * &#x60;-version&#x60; - Version (descending) * &#x60;filename&#x60; - Filename * &#x60;-filename&#x60; - Filename (descending) * &#x60;pk&#x60; - Pk * &#x60;-pk&#x60; - Pk (descending)
57
+ # @option opts [Float] :orphaned_for Minutes Content has been orphaned for. -1 uses ORPHAN_PROTECTION_TIME.
58
+ # @option opts [Array<String>] :prn__in Multiple values may be separated by commas.
57
59
  # @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
58
60
  # @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
59
- # @option opts [String] :q
60
- # @option opts [String] :repository_version Repository Version referenced by HREF
61
- # @option opts [String] :repository_version_added Repository Version referenced by HREF
62
- # @option opts [String] :repository_version_removed Repository Version referenced by HREF
61
+ # @option opts [String] :q Filter results by using NOT, AND and OR operations on other filters
62
+ # @option opts [String] :repository_version Repository Version referenced by HREF/PRN
63
+ # @option opts [String] :repository_version_added Repository Version referenced by HREF/PRN
64
+ # @option opts [String] :repository_version_removed Repository Version referenced by HREF/PRN
63
65
  # @option opts [String] :version Filter results where version matches value
64
66
  # @option opts [Array<String>] :fields A list of fields to include in the response.
65
67
  # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
@@ -76,10 +76,11 @@ describe 'DistributionsMavenApi' do
76
76
  # @option opts [String] :name__startswith Filter results where name starts with value
77
77
  # @option opts [Integer] :offset The initial index from which to return the results.
78
78
  # @option opts [Array<String>] :ordering Ordering * &#x60;pulp_id&#x60; - Pulp id * &#x60;-pulp_id&#x60; - Pulp id (descending) * &#x60;pulp_created&#x60; - Pulp created * &#x60;-pulp_created&#x60; - Pulp created (descending) * &#x60;pulp_last_updated&#x60; - Pulp last updated * &#x60;-pulp_last_updated&#x60; - Pulp last updated (descending) * &#x60;pulp_type&#x60; - Pulp type * &#x60;-pulp_type&#x60; - Pulp type (descending) * &#x60;name&#x60; - Name * &#x60;-name&#x60; - Name (descending) * &#x60;pulp_labels&#x60; - Pulp labels * &#x60;-pulp_labels&#x60; - Pulp labels (descending) * &#x60;base_path&#x60; - Base path * &#x60;-base_path&#x60; - Base path (descending) * &#x60;hidden&#x60; - Hidden * &#x60;-hidden&#x60; - Hidden (descending) * &#x60;pk&#x60; - Pk * &#x60;-pk&#x60; - Pk (descending)
79
+ # @option opts [Array<String>] :prn__in Multiple values may be separated by commas.
79
80
  # @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
80
81
  # @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
81
82
  # @option opts [String] :pulp_label_select Filter labels by search string
82
- # @option opts [String] :q
83
+ # @option opts [String] :q Filter results by using NOT, AND and OR operations on other filters
83
84
  # @option opts [String] :repository Filter results where repository matches value
84
85
  # @option opts [Array<String>] :repository__in Filter results where repository is in a comma-separated list of values
85
86
  # @option opts [String] :with_content Filter distributions based on the content served by them
@@ -72,6 +72,7 @@ describe 'RemotesMavenApi' do
72
72
  # @option opts [String] :name__startswith Filter results where name starts with value
73
73
  # @option opts [Integer] :offset The initial index from which to return the results.
74
74
  # @option opts [Array<String>] :ordering Ordering * &#x60;pulp_id&#x60; - Pulp id * &#x60;-pulp_id&#x60; - Pulp id (descending) * &#x60;pulp_created&#x60; - Pulp created * &#x60;-pulp_created&#x60; - Pulp created (descending) * &#x60;pulp_last_updated&#x60; - Pulp last updated * &#x60;-pulp_last_updated&#x60; - Pulp last updated (descending) * &#x60;pulp_type&#x60; - Pulp type * &#x60;-pulp_type&#x60; - Pulp type (descending) * &#x60;name&#x60; - Name * &#x60;-name&#x60; - Name (descending) * &#x60;pulp_labels&#x60; - Pulp labels * &#x60;-pulp_labels&#x60; - Pulp labels (descending) * &#x60;url&#x60; - Url * &#x60;-url&#x60; - Url (descending) * &#x60;ca_cert&#x60; - Ca cert * &#x60;-ca_cert&#x60; - Ca cert (descending) * &#x60;client_cert&#x60; - Client cert * &#x60;-client_cert&#x60; - Client cert (descending) * &#x60;client_key&#x60; - Client key * &#x60;-client_key&#x60; - Client key (descending) * &#x60;tls_validation&#x60; - Tls validation * &#x60;-tls_validation&#x60; - Tls validation (descending) * &#x60;username&#x60; - Username * &#x60;-username&#x60; - Username (descending) * &#x60;password&#x60; - Password * &#x60;-password&#x60; - Password (descending) * &#x60;proxy_url&#x60; - Proxy url * &#x60;-proxy_url&#x60; - Proxy url (descending) * &#x60;proxy_username&#x60; - Proxy username * &#x60;-proxy_username&#x60; - Proxy username (descending) * &#x60;proxy_password&#x60; - Proxy password * &#x60;-proxy_password&#x60; - Proxy password (descending) * &#x60;download_concurrency&#x60; - Download concurrency * &#x60;-download_concurrency&#x60; - Download concurrency (descending) * &#x60;max_retries&#x60; - Max retries * &#x60;-max_retries&#x60; - Max retries (descending) * &#x60;policy&#x60; - Policy * &#x60;-policy&#x60; - Policy (descending) * &#x60;total_timeout&#x60; - Total timeout * &#x60;-total_timeout&#x60; - Total timeout (descending) * &#x60;connect_timeout&#x60; - Connect timeout * &#x60;-connect_timeout&#x60; - Connect timeout (descending) * &#x60;sock_connect_timeout&#x60; - Sock connect timeout * &#x60;-sock_connect_timeout&#x60; - Sock connect timeout (descending) * &#x60;sock_read_timeout&#x60; - Sock read timeout * &#x60;-sock_read_timeout&#x60; - Sock read timeout (descending) * &#x60;headers&#x60; - Headers * &#x60;-headers&#x60; - Headers (descending) * &#x60;rate_limit&#x60; - Rate limit * &#x60;-rate_limit&#x60; - Rate limit (descending) * &#x60;pk&#x60; - Pk * &#x60;-pk&#x60; - Pk (descending)
75
+ # @option opts [Array<String>] :prn__in Multiple values may be separated by commas.
75
76
  # @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
76
77
  # @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
77
78
  # @option opts [String] :pulp_label_select Filter labels by search string
@@ -81,7 +82,7 @@ describe 'RemotesMavenApi' do
81
82
  # @option opts [DateTime] :pulp_last_updated__lt Filter results where pulp_last_updated is less than value
82
83
  # @option opts [DateTime] :pulp_last_updated__lte Filter results where pulp_last_updated is less than or equal to value
83
84
  # @option opts [Array<DateTime>] :pulp_last_updated__range Filter results where pulp_last_updated is between two comma separated values
84
- # @option opts [String] :q
85
+ # @option opts [String] :q Filter results by using NOT, AND and OR operations on other filters
85
86
  # @option opts [Array<String>] :fields A list of fields to include in the response.
86
87
  # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
87
88
  # @return [PaginatedmavenMavenRemoteResponseList]
@@ -73,7 +73,7 @@ describe 'RepositoriesMavenApi' do
73
73
  # List maven repositorys
74
74
  # A ViewSet for MavenRemote.
75
75
  # @param [Hash] opts the optional parameters
76
- # @option opts [String] :latest_with_content Content Unit referenced by HREF
76
+ # @option opts [String] :latest_with_content Content Unit referenced by HREF/PRN
77
77
  # @option opts [Integer] :limit Number of results to return per page.
78
78
  # @option opts [String] :name Filter results where name matches value
79
79
  # @option opts [String] :name__contains Filter results where name contains value
@@ -86,10 +86,11 @@ describe 'RepositoriesMavenApi' do
86
86
  # @option opts [String] :name__startswith Filter results where name starts with value
87
87
  # @option opts [Integer] :offset The initial index from which to return the results.
88
88
  # @option opts [Array<String>] :ordering Ordering * &#x60;pulp_id&#x60; - Pulp id * &#x60;-pulp_id&#x60; - Pulp id (descending) * &#x60;pulp_created&#x60; - Pulp created * &#x60;-pulp_created&#x60; - Pulp created (descending) * &#x60;pulp_last_updated&#x60; - Pulp last updated * &#x60;-pulp_last_updated&#x60; - Pulp last updated (descending) * &#x60;pulp_type&#x60; - Pulp type * &#x60;-pulp_type&#x60; - Pulp type (descending) * &#x60;name&#x60; - Name * &#x60;-name&#x60; - Name (descending) * &#x60;pulp_labels&#x60; - Pulp labels * &#x60;-pulp_labels&#x60; - Pulp labels (descending) * &#x60;description&#x60; - Description * &#x60;-description&#x60; - Description (descending) * &#x60;next_version&#x60; - Next version * &#x60;-next_version&#x60; - Next version (descending) * &#x60;retain_repo_versions&#x60; - Retain repo versions * &#x60;-retain_repo_versions&#x60; - Retain repo versions (descending) * &#x60;user_hidden&#x60; - User hidden * &#x60;-user_hidden&#x60; - User hidden (descending) * &#x60;pk&#x60; - Pk * &#x60;-pk&#x60; - Pk (descending)
89
+ # @option opts [Array<String>] :prn__in Multiple values may be separated by commas.
89
90
  # @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
90
91
  # @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
91
92
  # @option opts [String] :pulp_label_select Filter labels by search string
92
- # @option opts [String] :q
93
+ # @option opts [String] :q Filter results by using NOT, AND and OR operations on other filters
93
94
  # @option opts [String] :remote Foreign Key referenced by HREF
94
95
  # @option opts [Integer] :retain_repo_versions Filter results where retain_repo_versions matches value
95
96
  # @option opts [Integer] :retain_repo_versions__gt Filter results where retain_repo_versions is greater than value
@@ -99,7 +100,7 @@ describe 'RepositoriesMavenApi' do
99
100
  # @option opts [Integer] :retain_repo_versions__lte Filter results where retain_repo_versions is less than or equal to value
100
101
  # @option opts [Integer] :retain_repo_versions__ne Filter results where retain_repo_versions not equal to value
101
102
  # @option opts [Array<Integer>] :retain_repo_versions__range Filter results where retain_repo_versions is between two comma separated values
102
- # @option opts [String] :with_content Content Unit referenced by HREF
103
+ # @option opts [String] :with_content Content Unit referenced by HREF/PRN
103
104
  # @option opts [Array<String>] :fields A list of fields to include in the response.
104
105
  # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
105
106
  # @return [PaginatedmavenMavenRepositoryResponseList]
@@ -49,8 +49,8 @@ describe 'RepositoriesMavenVersionsApi' do
49
49
  # MavenRepositoryVersion represents a single Maven repository version.
50
50
  # @param maven_maven_repository_href
51
51
  # @param [Hash] opts the optional parameters
52
- # @option opts [String] :content Content Unit referenced by HREF
53
- # @option opts [String] :content__in Content Unit referenced by HREF
52
+ # @option opts [String] :content Content Unit referenced by HREF/PRN
53
+ # @option opts [Array<String>] :content__in Multiple values may be separated by commas.
54
54
  # @option opts [Integer] :limit Number of results to return per page.
55
55
  # @option opts [Integer] :number Filter results where number matches value
56
56
  # @option opts [Integer] :number__gt Filter results where number is greater than value
@@ -60,6 +60,7 @@ describe 'RepositoriesMavenVersionsApi' do
60
60
  # @option opts [Array<Integer>] :number__range Filter results where number is between two comma separated values
61
61
  # @option opts [Integer] :offset The initial index from which to return the results.
62
62
  # @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;number&#x60; - Number * &#x60;-number&#x60; - Number (descending) * &#x60;complete&#x60; - Complete * &#x60;-complete&#x60; - Complete (descending) * &#x60;info&#x60; - Info * &#x60;-info&#x60; - Info (descending) * &#x60;pk&#x60; - Pk * &#x60;-pk&#x60; - Pk (descending)
63
+ # @option opts [Array<String>] :prn__in Multiple values may be separated by commas.
63
64
  # @option opts [DateTime] :pulp_created Filter results where pulp_created matches value
64
65
  # @option opts [DateTime] :pulp_created__gt Filter results where pulp_created is greater than value
65
66
  # @option opts [DateTime] :pulp_created__gte Filter results where pulp_created is greater than or equal to value
@@ -67,7 +68,7 @@ describe 'RepositoriesMavenVersionsApi' do
67
68
  # @option opts [DateTime] :pulp_created__lte Filter results where pulp_created is less than or equal to value
68
69
  # @option opts [Array<DateTime>] :pulp_created__range Filter results where pulp_created is between two comma separated values
69
70
  # @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
70
- # @option opts [String] :q
71
+ # @option opts [String] :q Filter results by using NOT, AND and OR operations on other filters
71
72
  # @option opts [Array<String>] :fields A list of fields to include in the response.
72
73
  # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
73
74
  # @return [PaginatedRepositoryVersionResponseList]
@@ -18,7 +18,7 @@ describe PulpMavenClient::Configuration do
18
18
  before(:each) do
19
19
  # uncomment below to setup host and base_path
20
20
  # require 'URI'
21
- # uri = URI.parse("http://pulp")
21
+ # uri = URI.parse("http://localhost:24817")
22
22
  # PulpMavenClient.configure do |c|
23
23
  # c.host = uri.host
24
24
  # c.base_path = uri.path
@@ -28,14 +28,14 @@ describe PulpMavenClient::Configuration do
28
28
  describe '#base_url' do
29
29
  it 'should have the default value' do
30
30
  # uncomment below to test default value of the base path
31
- # expect(config.base_url).to eq("http://pulp")
31
+ # expect(config.base_url).to eq("http://localhost:24817")
32
32
  end
33
33
 
34
34
  it 'should remove trailing slashes' do
35
35
  [nil, '', '/', '//'].each do |base_path|
36
36
  config.base_path = base_path
37
37
  # uncomment below to test trailing slashes
38
- # expect(config.base_url).to eq("http://pulp")
38
+ # expect(config.base_url).to eq("http://localhost:24817")
39
39
  end
40
40
  end
41
41
  end
@@ -38,12 +38,24 @@ describe 'MavenMavenArtifactResponse' do
38
38
  end
39
39
  end
40
40
 
41
+ describe 'test attribute "prn"' 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
+
41
47
  describe 'test attribute "pulp_created"' do
42
48
  it 'should work' do
43
49
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
44
50
  end
45
51
  end
46
52
 
53
+ describe 'test attribute "pulp_last_updated"' do
54
+ it 'should work' do
55
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
56
+ end
57
+ end
58
+
47
59
  describe 'test attribute "artifact"' do
48
60
  it 'should work' do
49
61
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
@@ -38,12 +38,24 @@ describe 'MavenMavenDistributionResponse' do
38
38
  end
39
39
  end
40
40
 
41
+ describe 'test attribute "prn"' 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
+
41
47
  describe 'test attribute "pulp_created"' do
42
48
  it 'should work' do
43
49
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
44
50
  end
45
51
  end
46
52
 
53
+ describe 'test attribute "pulp_last_updated"' do
54
+ it 'should work' do
55
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
56
+ end
57
+ end
58
+
47
59
  describe 'test attribute "base_path"' do
48
60
  it 'should work' do
49
61
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
@@ -62,6 +74,12 @@ describe 'MavenMavenDistributionResponse' do
62
74
  end
63
75
  end
64
76
 
77
+ describe 'test attribute "no_content_change_since"' do
78
+ it 'should work' do
79
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
80
+ end
81
+ end
82
+
65
83
  describe 'test attribute "hidden"' do
66
84
  it 'should work' do
67
85
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
@@ -38,12 +38,24 @@ describe 'MavenMavenRemoteResponse' do
38
38
  end
39
39
  end
40
40
 
41
+ describe 'test attribute "prn"' 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
+
41
47
  describe 'test attribute "pulp_created"' do
42
48
  it 'should work' do
43
49
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
44
50
  end
45
51
  end
46
52
 
53
+ describe 'test attribute "pulp_last_updated"' do
54
+ it 'should work' do
55
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
56
+ end
57
+ end
58
+
47
59
  describe 'test attribute "name"' do
48
60
  it 'should work' do
49
61
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
@@ -86,12 +98,6 @@ describe 'MavenMavenRemoteResponse' do
86
98
  end
87
99
  end
88
100
 
89
- describe 'test attribute "pulp_last_updated"' do
90
- it 'should work' do
91
- # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
92
- end
93
- end
94
-
95
101
  describe 'test attribute "download_concurrency"' do
96
102
  it 'should work' do
97
103
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
@@ -38,12 +38,24 @@ describe 'MavenMavenRepositoryResponse' do
38
38
  end
39
39
  end
40
40
 
41
+ describe 'test attribute "prn"' 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
+
41
47
  describe 'test attribute "pulp_created"' do
42
48
  it 'should work' do
43
49
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
44
50
  end
45
51
  end
46
52
 
53
+ describe 'test attribute "pulp_last_updated"' do
54
+ it 'should work' do
55
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
56
+ end
57
+ end
58
+
47
59
  describe 'test attribute "versions_href"' do
48
60
  it 'should work' do
49
61
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
@@ -38,12 +38,24 @@ describe 'RepositoryVersionResponse' do
38
38
  end
39
39
  end
40
40
 
41
+ describe 'test attribute "prn"' 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
+
41
47
  describe 'test attribute "pulp_created"' do
42
48
  it 'should work' do
43
49
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
44
50
  end
45
51
  end
46
52
 
53
+ describe 'test attribute "pulp_last_updated"' do
54
+ it 'should work' do
55
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
56
+ end
57
+ end
58
+
47
59
  describe 'test attribute "number"' do
48
60
  it 'should work' do
49
61
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: pulp_maven_client
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.8.0
4
+ version: 0.8.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - OpenAPI-Generator
8
- autorequire:
8
+ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-12-20 00:00:00.000000000 Z
11
+ date: 2025-02-06 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: faraday
@@ -34,42 +34,42 @@ dependencies:
34
34
  name: json
35
35
  requirement: !ruby/object:Gem::Requirement
36
36
  requirements:
37
- - - ">="
38
- - !ruby/object:Gem::Version
39
- version: 2.1.0
40
37
  - - "~>"
41
38
  - !ruby/object:Gem::Version
42
39
  version: '2.1'
40
+ - - ">="
41
+ - !ruby/object:Gem::Version
42
+ version: 2.1.0
43
43
  type: :runtime
44
44
  prerelease: false
45
45
  version_requirements: !ruby/object:Gem::Requirement
46
46
  requirements:
47
- - - ">="
48
- - !ruby/object:Gem::Version
49
- version: 2.1.0
50
47
  - - "~>"
51
48
  - !ruby/object:Gem::Version
52
49
  version: '2.1'
50
+ - - ">="
51
+ - !ruby/object:Gem::Version
52
+ version: 2.1.0
53
53
  - !ruby/object:Gem::Dependency
54
54
  name: rspec
55
55
  requirement: !ruby/object:Gem::Requirement
56
56
  requirements:
57
- - - ">="
58
- - !ruby/object:Gem::Version
59
- version: 3.6.0
60
57
  - - "~>"
61
58
  - !ruby/object:Gem::Version
62
59
  version: '3.6'
60
+ - - ">="
61
+ - !ruby/object:Gem::Version
62
+ version: 3.6.0
63
63
  type: :development
64
64
  prerelease: false
65
65
  version_requirements: !ruby/object:Gem::Requirement
66
66
  requirements:
67
- - - ">="
68
- - !ruby/object:Gem::Version
69
- version: 3.6.0
70
67
  - - "~>"
71
68
  - !ruby/object:Gem::Version
72
69
  version: '3.6'
70
+ - - ">="
71
+ - !ruby/object:Gem::Version
72
+ version: 3.6.0
73
73
  description: Fetch, Upload, Organize, and Distribute Software Packages
74
74
  email:
75
75
  - pulp-list@redhat.com
@@ -192,7 +192,7 @@ homepage: https://github.com/pulp/pulp_maven
192
192
  licenses:
193
193
  - GPLv2+
194
194
  metadata: {}
195
- post_install_message:
195
+ post_install_message:
196
196
  rdoc_options: []
197
197
  require_paths:
198
198
  - lib
@@ -207,44 +207,44 @@ required_rubygems_version: !ruby/object:Gem::Requirement
207
207
  - !ruby/object:Gem::Version
208
208
  version: '0'
209
209
  requirements: []
210
- rubygems_version: 3.0.3.1
211
- signing_key:
210
+ rubygems_version: 3.4.20
211
+ signing_key:
212
212
  specification_version: 4
213
213
  summary: Pulp 3 API Ruby Gem
214
214
  test_files:
215
- - spec/api/repositories_maven_versions_api_spec.rb
216
215
  - spec/api/remotes_maven_api_spec.rb
217
216
  - spec/api/distributions_maven_api_spec.rb
217
+ - spec/api/content_artifact_api_spec.rb
218
+ - spec/api/repositories_maven_versions_api_spec.rb
218
219
  - spec/api/pulp_maven_api_spec.rb
219
220
  - spec/api/repositories_maven_api_spec.rb
220
- - spec/api/content_artifact_api_spec.rb
221
221
  - spec/api_client_spec.rb
222
222
  - spec/configuration_spec.rb
223
- - spec/models/maven_maven_remote_response_spec.rb
224
223
  - spec/models/repository_version_response_spec.rb
225
- - spec/models/maven_maven_remote_response_hidden_fields_spec.rb
226
- - spec/models/paginated_repository_version_response_list_spec.rb
227
- - spec/models/policy_enum_spec.rb
228
224
  - spec/models/patchedmaven_maven_repository_spec.rb
229
- - spec/models/maven_maven_distribution_spec.rb
230
- - spec/models/maven_maven_remote_spec.rb
231
- - spec/models/maven_maven_repository_response_spec.rb
232
- - spec/models/patchedmaven_maven_distribution_spec.rb
233
- - spec/models/set_label_response_spec.rb
234
- - spec/models/maven_maven_artifact_response_spec.rb
235
- - spec/models/maven_maven_artifact_spec.rb
236
- - spec/models/set_label_spec.rb
237
- - spec/models/maven_maven_distribution_response_spec.rb
238
225
  - spec/models/paginatedmaven_maven_distribution_response_list_spec.rb
239
- - spec/models/unset_label_spec.rb
240
- - spec/models/patchedmaven_maven_remote_spec.rb
241
226
  - spec/models/unset_label_response_spec.rb
242
- - spec/models/async_operation_response_spec.rb
227
+ - spec/models/set_label_spec.rb
228
+ - spec/models/maven_maven_remote_spec.rb
243
229
  - spec/models/maven_maven_repository_spec.rb
230
+ - spec/models/maven_maven_distribution_response_spec.rb
231
+ - spec/models/maven_maven_distribution_spec.rb
232
+ - spec/models/paginatedmaven_maven_repository_response_list_spec.rb
244
233
  - spec/models/paginatedmaven_maven_artifact_response_list_spec.rb
245
234
  - spec/models/repair_spec.rb
235
+ - spec/models/maven_maven_repository_response_spec.rb
236
+ - spec/models/maven_maven_remote_response_hidden_fields_spec.rb
246
237
  - spec/models/content_summary_response_spec.rb
247
238
  - spec/models/paginatedmaven_maven_remote_response_list_spec.rb
248
- - spec/models/paginatedmaven_maven_repository_response_list_spec.rb
239
+ - spec/models/maven_maven_artifact_response_spec.rb
249
240
  - spec/models/repository_add_cached_content_spec.rb
241
+ - spec/models/set_label_response_spec.rb
242
+ - spec/models/patchedmaven_maven_remote_spec.rb
243
+ - spec/models/policy_enum_spec.rb
244
+ - spec/models/maven_maven_artifact_spec.rb
245
+ - spec/models/maven_maven_remote_response_spec.rb
246
+ - spec/models/async_operation_response_spec.rb
247
+ - spec/models/paginated_repository_version_response_list_spec.rb
248
+ - spec/models/patchedmaven_maven_distribution_spec.rb
249
+ - spec/models/unset_label_spec.rb
250
250
  - spec/spec_helper.rb