pulp_maven_client 0.1.0b31570567113 → 0.1.0b31572295913

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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 00b9742cea740b238962685e62b83204d48ec9ce65260ef6266fcf139112791e
4
- data.tar.gz: a6d40906c84184768f31d9eb5f08f9b8ead861f0864576a4e807b954bc125c46
3
+ metadata.gz: 2f0475a9d52c169345ed3756a58aeb9873138773ec82ebddcc65d057364bc1ef
4
+ data.tar.gz: a864e79d13eae67b20135b14e1b0a788ef8a7bcc2a2a217961eba1355889304e
5
5
  SHA512:
6
- metadata.gz: f95e649d90da7f150ebfb387b60adf370ec297c7ee6a4241d6c40cdadfa5cca2ebd0753f80a2e01230a4f5907e235032a0cb67454739e48c091416f935c7462f
7
- data.tar.gz: a869b8ecd1bacce0a39e862e146a1b277e439a8ed98af2e36eadfcdb0b8210aff9f13b9911217580c160ce527a7546dc39b3111b9000a5904ea2193f007091cc
6
+ metadata.gz: 2337283b80abb64b15cb50bfc042937752b552c0e16ac72c43381bab085e8422bad6fb053ffe7952cb4da25d40eba9dacb529c84fe17f8e7c49e38154050d7bf
7
+ data.tar.gz: 5563e74feffc2480a0ea4b8e76b092a2a018b57347540b7d60304a8bb7edfc85e0d324799f13c65c0f50233a32657ac394cb68b9930bdbfd02e07e457fe6cc9f
data/README.md CHANGED
@@ -7,7 +7,7 @@ No description provided (generated by Openapi Generator https://github.com/opena
7
7
  This SDK is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project:
8
8
 
9
9
  - API version: v3
10
- - Package version: 0.1.0b31570567113
10
+ - Package version: 0.1.0b31572295913
11
11
  - Build package: org.openapitools.codegen.languages.RubyClientCodegen
12
12
 
13
13
  ## Installation
@@ -23,16 +23,16 @@ gem build pulp_maven_client.gemspec
23
23
  Then either install the gem locally:
24
24
 
25
25
  ```shell
26
- gem install ./pulp_maven_client-0.1.0b31570567113.gem
26
+ gem install ./pulp_maven_client-0.1.0b31572295913.gem
27
27
  ```
28
28
 
29
- (for development, run `gem install --dev ./pulp_maven_client-0.1.0b31570567113.gem` to install the development dependencies)
29
+ (for development, run `gem install --dev ./pulp_maven_client-0.1.0b31572295913.gem` to install the development dependencies)
30
30
 
31
31
  or publish the gem to a gem hosting service, e.g. [RubyGems](https://rubygems.org/).
32
32
 
33
33
  Finally add this to the Gemfile:
34
34
 
35
- gem 'pulp_maven_client', '~> 0.1.0b31570567113'
35
+ gem 'pulp_maven_client', '~> 0.1.0b31572295913'
36
36
 
37
37
  ### Install from Git
38
38
 
@@ -4,24 +4,22 @@
4
4
 
5
5
  Name | Type | Description | Notes
6
6
  ------------ | ------------- | ------------- | -------------
7
- **_href** | **String** | | [optional]
8
- **_created** | **DateTime** | Timestamp of creation. | [optional]
9
- **_type** | **String** | | [optional]
7
+ **pulp_href** | **String** | | [optional] [readonly]
8
+ **pulp_created** | **DateTime** | Timestamp of creation. | [optional] [readonly]
10
9
  **artifact** | **String** | Artifact file representing the physical content |
11
10
  **relative_path** | **String** | Path where the artifact is located relative to distributions base_path |
12
- **group_id** | **String** | Group Id of the artifact's package. | [optional]
13
- **artifact_id** | **String** | Artifact Id of the artifact's package. | [optional]
14
- **version** | **String** | Version of the artifact's package. | [optional]
15
- **filename** | **String** | Filename of the artifact. | [optional]
11
+ **group_id** | **String** | Group Id of the artifact's package. | [optional] [readonly]
12
+ **artifact_id** | **String** | Artifact Id of the artifact's package. | [optional] [readonly]
13
+ **version** | **String** | Version of the artifact's package. | [optional] [readonly]
14
+ **filename** | **String** | Filename of the artifact. | [optional] [readonly]
16
15
 
17
16
  ## Code Sample
18
17
 
19
18
  ```ruby
20
19
  require 'PulpMavenClient'
21
20
 
22
- instance = PulpMavenClient::MavenArtifact.new(_href: null,
23
- _created: null,
24
- _type: null,
21
+ instance = PulpMavenClient::MavenArtifact.new(pulp_href: null,
22
+ pulp_created: null,
25
23
  artifact: null,
26
24
  relative_path: null,
27
25
  group_id: null,
@@ -4,10 +4,10 @@
4
4
 
5
5
  Name | Type | Description | Notes
6
6
  ------------ | ------------- | ------------- | -------------
7
- **_href** | **String** | | [optional]
8
- **_created** | **DateTime** | Timestamp of creation. | [optional]
7
+ **pulp_href** | **String** | | [optional] [readonly]
8
+ **pulp_created** | **DateTime** | Timestamp of creation. | [optional] [readonly]
9
9
  **base_path** | **String** | The base (relative) path component of the published url. Avoid paths that overlap with other distribution base paths (e.g. \"foo\" and \"foo/bar\") |
10
- **base_url** | **String** | The URL for accessing the publication as defined by this distribution. | [optional]
10
+ **base_url** | **String** | The URL for accessing the publication as defined by this distribution. | [optional] [readonly]
11
11
  **content_guard** | **String** | An optional content-guard. | [optional]
12
12
  **name** | **String** | A unique name. Ex, `rawhide` and `stable`. |
13
13
  **remote** | **String** | Remote that can be used to fetch content when using pull-through caching. | [optional]
@@ -17,8 +17,8 @@ Name | Type | Description | Notes
17
17
  ```ruby
18
18
  require 'PulpMavenClient'
19
19
 
20
- instance = PulpMavenClient::MavenDistribution.new(_href: null,
21
- _created: null,
20
+ instance = PulpMavenClient::MavenDistribution.new(pulp_href: null,
21
+ pulp_created: null,
22
22
  base_path: null,
23
23
  base_url: null,
24
24
  content_guard: null,
@@ -4,9 +4,8 @@
4
4
 
5
5
  Name | Type | Description | Notes
6
6
  ------------ | ------------- | ------------- | -------------
7
- **_href** | **String** | | [optional]
8
- **_created** | **DateTime** | Timestamp of creation. | [optional]
9
- **_type** | **String** | | [optional]
7
+ **pulp_href** | **String** | | [optional] [readonly]
8
+ **pulp_created** | **DateTime** | Timestamp of creation. | [optional] [readonly]
10
9
  **name** | **String** | A unique name for this remote. |
11
10
  **url** | **String** | The URL of an external content source. |
12
11
  **ssl_ca_certificate** | **String** | A string containing the PEM encoded CA certificate used to validate the server certificate presented by the remote server. All new line characters must be escaped. Returns SHA256 sum on GET. | [optional]
@@ -16,7 +15,7 @@ Name | Type | Description | Notes
16
15
  **proxy_url** | **String** | The proxy URL. Format: scheme://user:password@host:port | [optional]
17
16
  **username** | **String** | The username to be used for authentication when syncing. | [optional]
18
17
  **password** | **String** | The password to be used for authentication when syncing. | [optional]
19
- **_last_updated** | **DateTime** | Timestamp of the most recent update of the remote. | [optional]
18
+ **pulp_last_updated** | **DateTime** | Timestamp of the most recent update of the remote. | [optional] [readonly]
20
19
  **download_concurrency** | **Integer** | Total number of simultaneous connections. | [optional]
21
20
  **policy** | **String** | The policy to use when downloading content. | [optional] [default to 'immediate']
22
21
 
@@ -25,9 +24,8 @@ Name | Type | Description | Notes
25
24
  ```ruby
26
25
  require 'PulpMavenClient'
27
26
 
28
- instance = PulpMavenClient::MavenRemote.new(_href: null,
29
- _created: null,
30
- _type: null,
27
+ instance = PulpMavenClient::MavenRemote.new(pulp_href: null,
28
+ pulp_created: null,
31
29
  name: null,
32
30
  url: null,
33
31
  ssl_ca_certificate: null,
@@ -37,7 +35,7 @@ instance = PulpMavenClient::MavenRemote.new(_href: null,
37
35
  proxy_url: null,
38
36
  username: null,
39
37
  password: null,
40
- _last_updated: null,
38
+ pulp_last_updated: null,
41
39
  download_concurrency: null,
42
40
  policy: null)
43
41
  ```
@@ -143,12 +143,12 @@ api_instance = PulpMavenClient::RemotesMavenApi.new
143
143
  opts = {
144
144
  name: 'name_example', # String |
145
145
  name__in: 'name__in_example', # String | Filter results where name is in a comma-separated list of values
146
- _last_updated__lt: '_last_updated__lt_example', # String | Filter results where _last_updated is less than value
147
- _last_updated__lte: '_last_updated__lte_example', # String | Filter results where _last_updated is less than or equal to value
148
- _last_updated__gt: '_last_updated__gt_example', # String | Filter results where _last_updated is greater than value
149
- _last_updated__gte: '_last_updated__gte_example', # String | Filter results where _last_updated is greater than or equal to value
150
- _last_updated__range: '_last_updated__range_example', # String | Filter results where _last_updated is between two comma separated values
151
- _last_updated: '_last_updated_example', # String | ISO 8601 formatted dates are supported
146
+ pulp_last_updated__lt: 'pulp_last_updated__lt_example', # String | Filter results where pulp_last_updated is less than value
147
+ pulp_last_updated__lte: 'pulp_last_updated__lte_example', # String | Filter results where pulp_last_updated is less than or equal to value
148
+ pulp_last_updated__gt: 'pulp_last_updated__gt_example', # String | Filter results where pulp_last_updated is greater than value
149
+ pulp_last_updated__gte: 'pulp_last_updated__gte_example', # String | Filter results where pulp_last_updated is greater than or equal to value
150
+ pulp_last_updated__range: 'pulp_last_updated__range_example', # String | Filter results where pulp_last_updated is between two comma separated values
151
+ pulp_last_updated: 'pulp_last_updated_example', # String | ISO 8601 formatted dates are supported
152
152
  limit: 56, # Integer | Number of results to return per page.
153
153
  offset: 56, # Integer | The initial index from which to return the results.
154
154
  fields: 'fields_example', # String | A list of fields to include in the response.
@@ -171,12 +171,12 @@ Name | Type | Description | Notes
171
171
  ------------- | ------------- | ------------- | -------------
172
172
  **name** | **String**| | [optional]
173
173
  **name__in** | **String**| Filter results where name is in a comma-separated list of values | [optional]
174
- **_last_updated__lt** | **String**| Filter results where _last_updated is less than value | [optional]
175
- **_last_updated__lte** | **String**| Filter results where _last_updated is less than or equal to value | [optional]
176
- **_last_updated__gt** | **String**| Filter results where _last_updated is greater than value | [optional]
177
- **_last_updated__gte** | **String**| Filter results where _last_updated is greater than or equal to value | [optional]
178
- **_last_updated__range** | **String**| Filter results where _last_updated is between two comma separated values | [optional]
179
- **_last_updated** | **String**| ISO 8601 formatted dates are supported | [optional]
174
+ **pulp_last_updated__lt** | **String**| Filter results where pulp_last_updated is less than value | [optional]
175
+ **pulp_last_updated__lte** | **String**| Filter results where pulp_last_updated is less than or equal to value | [optional]
176
+ **pulp_last_updated__gt** | **String**| Filter results where pulp_last_updated is greater than value | [optional]
177
+ **pulp_last_updated__gte** | **String**| Filter results where pulp_last_updated is greater than or equal to value | [optional]
178
+ **pulp_last_updated__range** | **String**| Filter results where pulp_last_updated is between two comma separated values | [optional]
179
+ **pulp_last_updated** | **String**| ISO 8601 formatted dates are supported | [optional]
180
180
  **limit** | **Integer**| Number of results to return per page. | [optional]
181
181
  **offset** | **Integer**| The initial index from which to return the results. | [optional]
182
182
  **fields** | **String**| A list of fields to include in the response. | [optional]
@@ -150,12 +150,12 @@ module PulpMavenClient
150
150
  # @param [Hash] opts the optional parameters
151
151
  # @option opts [String] :name
152
152
  # @option opts [String] :name__in Filter results where name is in a comma-separated list of values
153
- # @option opts [String] :_last_updated__lt Filter results where _last_updated is less than value
154
- # @option opts [String] :_last_updated__lte Filter results where _last_updated is less than or equal to value
155
- # @option opts [String] :_last_updated__gt Filter results where _last_updated is greater than value
156
- # @option opts [String] :_last_updated__gte Filter results where _last_updated is greater than or equal to value
157
- # @option opts [String] :_last_updated__range Filter results where _last_updated is between two comma separated values
158
- # @option opts [String] :_last_updated ISO 8601 formatted dates are supported
153
+ # @option opts [String] :pulp_last_updated__lt Filter results where pulp_last_updated is less than value
154
+ # @option opts [String] :pulp_last_updated__lte Filter results where pulp_last_updated is less than or equal to value
155
+ # @option opts [String] :pulp_last_updated__gt Filter results where pulp_last_updated is greater than value
156
+ # @option opts [String] :pulp_last_updated__gte Filter results where pulp_last_updated is greater than or equal to value
157
+ # @option opts [String] :pulp_last_updated__range Filter results where pulp_last_updated is between two comma separated values
158
+ # @option opts [String] :pulp_last_updated ISO 8601 formatted dates are supported
159
159
  # @option opts [Integer] :limit Number of results to return per page.
160
160
  # @option opts [Integer] :offset The initial index from which to return the results.
161
161
  # @option opts [String] :fields A list of fields to include in the response.
@@ -171,12 +171,12 @@ module PulpMavenClient
171
171
  # @param [Hash] opts the optional parameters
172
172
  # @option opts [String] :name
173
173
  # @option opts [String] :name__in Filter results where name is in a comma-separated list of values
174
- # @option opts [String] :_last_updated__lt Filter results where _last_updated is less than value
175
- # @option opts [String] :_last_updated__lte Filter results where _last_updated is less than or equal to value
176
- # @option opts [String] :_last_updated__gt Filter results where _last_updated is greater than value
177
- # @option opts [String] :_last_updated__gte Filter results where _last_updated is greater than or equal to value
178
- # @option opts [String] :_last_updated__range Filter results where _last_updated is between two comma separated values
179
- # @option opts [String] :_last_updated ISO 8601 formatted dates are supported
174
+ # @option opts [String] :pulp_last_updated__lt Filter results where pulp_last_updated is less than value
175
+ # @option opts [String] :pulp_last_updated__lte Filter results where pulp_last_updated is less than or equal to value
176
+ # @option opts [String] :pulp_last_updated__gt Filter results where pulp_last_updated is greater than value
177
+ # @option opts [String] :pulp_last_updated__gte Filter results where pulp_last_updated is greater than or equal to value
178
+ # @option opts [String] :pulp_last_updated__range Filter results where pulp_last_updated is between two comma separated values
179
+ # @option opts [String] :pulp_last_updated ISO 8601 formatted dates are supported
180
180
  # @option opts [Integer] :limit Number of results to return per page.
181
181
  # @option opts [Integer] :offset The initial index from which to return the results.
182
182
  # @option opts [String] :fields A list of fields to include in the response.
@@ -193,12 +193,12 @@ module PulpMavenClient
193
193
  query_params = opts[:query_params] || {}
194
194
  query_params[:'name'] = opts[:'name'] if !opts[:'name'].nil?
195
195
  query_params[:'name__in'] = opts[:'name__in'] if !opts[:'name__in'].nil?
196
- query_params[:'_last_updated__lt'] = opts[:'_last_updated__lt'] if !opts[:'_last_updated__lt'].nil?
197
- query_params[:'_last_updated__lte'] = opts[:'_last_updated__lte'] if !opts[:'_last_updated__lte'].nil?
198
- query_params[:'_last_updated__gt'] = opts[:'_last_updated__gt'] if !opts[:'_last_updated__gt'].nil?
199
- query_params[:'_last_updated__gte'] = opts[:'_last_updated__gte'] if !opts[:'_last_updated__gte'].nil?
200
- query_params[:'_last_updated__range'] = opts[:'_last_updated__range'] if !opts[:'_last_updated__range'].nil?
201
- query_params[:'_last_updated'] = opts[:'_last_updated'] if !opts[:'_last_updated'].nil?
196
+ query_params[:'pulp_last_updated__lt'] = opts[:'pulp_last_updated__lt'] if !opts[:'pulp_last_updated__lt'].nil?
197
+ query_params[:'pulp_last_updated__lte'] = opts[:'pulp_last_updated__lte'] if !opts[:'pulp_last_updated__lte'].nil?
198
+ query_params[:'pulp_last_updated__gt'] = opts[:'pulp_last_updated__gt'] if !opts[:'pulp_last_updated__gt'].nil?
199
+ query_params[:'pulp_last_updated__gte'] = opts[:'pulp_last_updated__gte'] if !opts[:'pulp_last_updated__gte'].nil?
200
+ query_params[:'pulp_last_updated__range'] = opts[:'pulp_last_updated__range'] if !opts[:'pulp_last_updated__range'].nil?
201
+ query_params[:'pulp_last_updated'] = opts[:'pulp_last_updated'] if !opts[:'pulp_last_updated'].nil?
202
202
  query_params[:'limit'] = opts[:'limit'] if !opts[:'limit'].nil?
203
203
  query_params[:'offset'] = opts[:'offset'] if !opts[:'offset'].nil?
204
204
  query_params[:'fields'] = opts[:'fields'] if !opts[:'fields'].nil?
@@ -14,12 +14,10 @@ require 'date'
14
14
 
15
15
  module PulpMavenClient
16
16
  class MavenArtifact
17
- attr_accessor :_href
17
+ attr_accessor :pulp_href
18
18
 
19
19
  # Timestamp of creation.
20
- attr_accessor :_created
21
-
22
- attr_accessor :_type
20
+ attr_accessor :pulp_created
23
21
 
24
22
  # Artifact file representing the physical content
25
23
  attr_accessor :artifact
@@ -42,9 +40,8 @@ module PulpMavenClient
42
40
  # Attribute mapping from ruby-style variable name to JSON key.
43
41
  def self.attribute_map
44
42
  {
45
- :'_href' => :'_href',
46
- :'_created' => :'_created',
47
- :'_type' => :'_type',
43
+ :'pulp_href' => :'pulp_href',
44
+ :'pulp_created' => :'pulp_created',
48
45
  :'artifact' => :'artifact',
49
46
  :'relative_path' => :'relative_path',
50
47
  :'group_id' => :'group_id',
@@ -57,9 +54,8 @@ module PulpMavenClient
57
54
  # Attribute type mapping.
58
55
  def self.openapi_types
59
56
  {
60
- :'_href' => :'String',
61
- :'_created' => :'DateTime',
62
- :'_type' => :'String',
57
+ :'pulp_href' => :'String',
58
+ :'pulp_created' => :'DateTime',
63
59
  :'artifact' => :'String',
64
60
  :'relative_path' => :'String',
65
61
  :'group_id' => :'String',
@@ -84,16 +80,12 @@ module PulpMavenClient
84
80
  h[k.to_sym] = v
85
81
  }
86
82
 
87
- if attributes.key?(:'_href')
88
- self._href = attributes[:'_href']
89
- end
90
-
91
- if attributes.key?(:'_created')
92
- self._created = attributes[:'_created']
83
+ if attributes.key?(:'pulp_href')
84
+ self.pulp_href = attributes[:'pulp_href']
93
85
  end
94
86
 
95
- if attributes.key?(:'_type')
96
- self._type = attributes[:'_type']
87
+ if attributes.key?(:'pulp_created')
88
+ self.pulp_created = attributes[:'pulp_created']
97
89
  end
98
90
 
99
91
  if attributes.key?(:'artifact')
@@ -125,10 +117,6 @@ module PulpMavenClient
125
117
  # @return Array for valid properties with the reasons
126
118
  def list_invalid_properties
127
119
  invalid_properties = Array.new
128
- if !@_type.nil? && @_type.to_s.length < 1
129
- invalid_properties.push('invalid value for "_type", the character length must be great than or equal to 1.')
130
- end
131
-
132
120
  if @artifact.nil?
133
121
  invalid_properties.push('invalid value for "artifact", artifact cannot be nil.')
134
122
  end
@@ -163,7 +151,6 @@ module PulpMavenClient
163
151
  # Check to see if the all the properties in the model are valid
164
152
  # @return true if the model is valid
165
153
  def valid?
166
- return false if !@_type.nil? && @_type.to_s.length < 1
167
154
  return false if @artifact.nil?
168
155
  return false if @relative_path.nil?
169
156
  return false if @relative_path.to_s.length < 1
@@ -174,16 +161,6 @@ module PulpMavenClient
174
161
  true
175
162
  end
176
163
 
177
- # Custom attribute writer method with validation
178
- # @param [Object] _type Value to be assigned
179
- def _type=(_type)
180
- if !_type.nil? && _type.to_s.length < 1
181
- fail ArgumentError, 'invalid value for "_type", the character length must be great than or equal to 1.'
182
- end
183
-
184
- @_type = _type
185
- end
186
-
187
164
  # Custom attribute writer method with validation
188
165
  # @param [Object] relative_path Value to be assigned
189
166
  def relative_path=(relative_path)
@@ -243,9 +220,8 @@ module PulpMavenClient
243
220
  def ==(o)
244
221
  return true if self.equal?(o)
245
222
  self.class == o.class &&
246
- _href == o._href &&
247
- _created == o._created &&
248
- _type == o._type &&
223
+ pulp_href == o.pulp_href &&
224
+ pulp_created == o.pulp_created &&
249
225
  artifact == o.artifact &&
250
226
  relative_path == o.relative_path &&
251
227
  group_id == o.group_id &&
@@ -263,7 +239,7 @@ module PulpMavenClient
263
239
  # Calculates hash code according to all attributes.
264
240
  # @return [Integer] Hash code
265
241
  def hash
266
- [_href, _created, _type, artifact, relative_path, group_id, artifact_id, version, filename].hash
242
+ [pulp_href, pulp_created, artifact, relative_path, group_id, artifact_id, version, filename].hash
267
243
  end
268
244
 
269
245
  # Builds the object from hash
@@ -14,10 +14,10 @@ require 'date'
14
14
 
15
15
  module PulpMavenClient
16
16
  class MavenDistribution
17
- attr_accessor :_href
17
+ attr_accessor :pulp_href
18
18
 
19
19
  # Timestamp of creation.
20
- attr_accessor :_created
20
+ attr_accessor :pulp_created
21
21
 
22
22
  # The base (relative) path component of the published url. Avoid paths that overlap with other distribution base paths (e.g. \"foo\" and \"foo/bar\")
23
23
  attr_accessor :base_path
@@ -37,8 +37,8 @@ module PulpMavenClient
37
37
  # Attribute mapping from ruby-style variable name to JSON key.
38
38
  def self.attribute_map
39
39
  {
40
- :'_href' => :'_href',
41
- :'_created' => :'_created',
40
+ :'pulp_href' => :'pulp_href',
41
+ :'pulp_created' => :'pulp_created',
42
42
  :'base_path' => :'base_path',
43
43
  :'base_url' => :'base_url',
44
44
  :'content_guard' => :'content_guard',
@@ -50,8 +50,8 @@ module PulpMavenClient
50
50
  # Attribute type mapping.
51
51
  def self.openapi_types
52
52
  {
53
- :'_href' => :'String',
54
- :'_created' => :'DateTime',
53
+ :'pulp_href' => :'String',
54
+ :'pulp_created' => :'DateTime',
55
55
  :'base_path' => :'String',
56
56
  :'base_url' => :'String',
57
57
  :'content_guard' => :'String',
@@ -75,12 +75,12 @@ module PulpMavenClient
75
75
  h[k.to_sym] = v
76
76
  }
77
77
 
78
- if attributes.key?(:'_href')
79
- self._href = attributes[:'_href']
78
+ if attributes.key?(:'pulp_href')
79
+ self.pulp_href = attributes[:'pulp_href']
80
80
  end
81
81
 
82
- if attributes.key?(:'_created')
83
- self._created = attributes[:'_created']
82
+ if attributes.key?(:'pulp_created')
83
+ self.pulp_created = attributes[:'pulp_created']
84
84
  end
85
85
 
86
86
  if attributes.key?(:'base_path')
@@ -203,8 +203,8 @@ module PulpMavenClient
203
203
  def ==(o)
204
204
  return true if self.equal?(o)
205
205
  self.class == o.class &&
206
- _href == o._href &&
207
- _created == o._created &&
206
+ pulp_href == o.pulp_href &&
207
+ pulp_created == o.pulp_created &&
208
208
  base_path == o.base_path &&
209
209
  base_url == o.base_url &&
210
210
  content_guard == o.content_guard &&
@@ -221,7 +221,7 @@ module PulpMavenClient
221
221
  # Calculates hash code according to all attributes.
222
222
  # @return [Integer] Hash code
223
223
  def hash
224
- [_href, _created, base_path, base_url, content_guard, name, remote].hash
224
+ [pulp_href, pulp_created, base_path, base_url, content_guard, name, remote].hash
225
225
  end
226
226
 
227
227
  # Builds the object from hash
@@ -14,12 +14,10 @@ require 'date'
14
14
 
15
15
  module PulpMavenClient
16
16
  class MavenRemote
17
- attr_accessor :_href
17
+ attr_accessor :pulp_href
18
18
 
19
19
  # Timestamp of creation.
20
- attr_accessor :_created
21
-
22
- attr_accessor :_type
20
+ attr_accessor :pulp_created
23
21
 
24
22
  # A unique name for this remote.
25
23
  attr_accessor :name
@@ -49,7 +47,7 @@ module PulpMavenClient
49
47
  attr_accessor :password
50
48
 
51
49
  # Timestamp of the most recent update of the remote.
52
- attr_accessor :_last_updated
50
+ attr_accessor :pulp_last_updated
53
51
 
54
52
  # Total number of simultaneous connections.
55
53
  attr_accessor :download_concurrency
@@ -82,9 +80,8 @@ module PulpMavenClient
82
80
  # Attribute mapping from ruby-style variable name to JSON key.
83
81
  def self.attribute_map
84
82
  {
85
- :'_href' => :'_href',
86
- :'_created' => :'_created',
87
- :'_type' => :'_type',
83
+ :'pulp_href' => :'pulp_href',
84
+ :'pulp_created' => :'pulp_created',
88
85
  :'name' => :'name',
89
86
  :'url' => :'url',
90
87
  :'ssl_ca_certificate' => :'ssl_ca_certificate',
@@ -94,7 +91,7 @@ module PulpMavenClient
94
91
  :'proxy_url' => :'proxy_url',
95
92
  :'username' => :'username',
96
93
  :'password' => :'password',
97
- :'_last_updated' => :'_last_updated',
94
+ :'pulp_last_updated' => :'pulp_last_updated',
98
95
  :'download_concurrency' => :'download_concurrency',
99
96
  :'policy' => :'policy'
100
97
  }
@@ -103,9 +100,8 @@ module PulpMavenClient
103
100
  # Attribute type mapping.
104
101
  def self.openapi_types
105
102
  {
106
- :'_href' => :'String',
107
- :'_created' => :'DateTime',
108
- :'_type' => :'String',
103
+ :'pulp_href' => :'String',
104
+ :'pulp_created' => :'DateTime',
109
105
  :'name' => :'String',
110
106
  :'url' => :'String',
111
107
  :'ssl_ca_certificate' => :'String',
@@ -115,7 +111,7 @@ module PulpMavenClient
115
111
  :'proxy_url' => :'String',
116
112
  :'username' => :'String',
117
113
  :'password' => :'String',
118
- :'_last_updated' => :'DateTime',
114
+ :'pulp_last_updated' => :'DateTime',
119
115
  :'download_concurrency' => :'Integer',
120
116
  :'policy' => :'String'
121
117
  }
@@ -136,16 +132,12 @@ module PulpMavenClient
136
132
  h[k.to_sym] = v
137
133
  }
138
134
 
139
- if attributes.key?(:'_href')
140
- self._href = attributes[:'_href']
141
- end
142
-
143
- if attributes.key?(:'_created')
144
- self._created = attributes[:'_created']
135
+ if attributes.key?(:'pulp_href')
136
+ self.pulp_href = attributes[:'pulp_href']
145
137
  end
146
138
 
147
- if attributes.key?(:'_type')
148
- self._type = attributes[:'_type']
139
+ if attributes.key?(:'pulp_created')
140
+ self.pulp_created = attributes[:'pulp_created']
149
141
  end
150
142
 
151
143
  if attributes.key?(:'name')
@@ -184,8 +176,8 @@ module PulpMavenClient
184
176
  self.password = attributes[:'password']
185
177
  end
186
178
 
187
- if attributes.key?(:'_last_updated')
188
- self._last_updated = attributes[:'_last_updated']
179
+ if attributes.key?(:'pulp_last_updated')
180
+ self.pulp_last_updated = attributes[:'pulp_last_updated']
189
181
  end
190
182
 
191
183
  if attributes.key?(:'download_concurrency')
@@ -203,10 +195,6 @@ module PulpMavenClient
203
195
  # @return Array for valid properties with the reasons
204
196
  def list_invalid_properties
205
197
  invalid_properties = Array.new
206
- if !@_type.nil? && @_type.to_s.length < 1
207
- invalid_properties.push('invalid value for "_type", the character length must be great than or equal to 1.')
208
- end
209
-
210
198
  if @name.nil?
211
199
  invalid_properties.push('invalid value for "name", name cannot be nil.')
212
200
  end
@@ -257,7 +245,6 @@ module PulpMavenClient
257
245
  # Check to see if the all the properties in the model are valid
258
246
  # @return true if the model is valid
259
247
  def valid?
260
- return false if !@_type.nil? && @_type.to_s.length < 1
261
248
  return false if @name.nil?
262
249
  return false if @name.to_s.length < 1
263
250
  return false if @url.nil?
@@ -274,16 +261,6 @@ module PulpMavenClient
274
261
  true
275
262
  end
276
263
 
277
- # Custom attribute writer method with validation
278
- # @param [Object] _type Value to be assigned
279
- def _type=(_type)
280
- if !_type.nil? && _type.to_s.length < 1
281
- fail ArgumentError, 'invalid value for "_type", the character length must be great than or equal to 1.'
282
- end
283
-
284
- @_type = _type
285
- end
286
-
287
264
  # Custom attribute writer method with validation
288
265
  # @param [Object] name Value to be assigned
289
266
  def name=(name)
@@ -397,9 +374,8 @@ module PulpMavenClient
397
374
  def ==(o)
398
375
  return true if self.equal?(o)
399
376
  self.class == o.class &&
400
- _href == o._href &&
401
- _created == o._created &&
402
- _type == o._type &&
377
+ pulp_href == o.pulp_href &&
378
+ pulp_created == o.pulp_created &&
403
379
  name == o.name &&
404
380
  url == o.url &&
405
381
  ssl_ca_certificate == o.ssl_ca_certificate &&
@@ -409,7 +385,7 @@ module PulpMavenClient
409
385
  proxy_url == o.proxy_url &&
410
386
  username == o.username &&
411
387
  password == o.password &&
412
- _last_updated == o._last_updated &&
388
+ pulp_last_updated == o.pulp_last_updated &&
413
389
  download_concurrency == o.download_concurrency &&
414
390
  policy == o.policy
415
391
  end
@@ -423,7 +399,7 @@ module PulpMavenClient
423
399
  # Calculates hash code according to all attributes.
424
400
  # @return [Integer] Hash code
425
401
  def hash
426
- [_href, _created, _type, name, url, ssl_ca_certificate, ssl_client_certificate, ssl_client_key, ssl_validation, proxy_url, username, password, _last_updated, download_concurrency, policy].hash
402
+ [pulp_href, pulp_created, name, url, ssl_ca_certificate, ssl_client_certificate, ssl_client_key, ssl_validation, proxy_url, username, password, pulp_last_updated, download_concurrency, policy].hash
427
403
  end
428
404
 
429
405
  # Builds the object from hash
@@ -11,5 +11,5 @@ OpenAPI Generator version: 4.2.0-SNAPSHOT
11
11
  =end
12
12
 
13
13
  module PulpMavenClient
14
- VERSION = '0.1.0b31570567113'
14
+ VERSION = '0.1.0b31572295913'
15
15
  end
@@ -62,12 +62,12 @@ describe 'RemotesMavenApi' do
62
62
  # @param [Hash] opts the optional parameters
63
63
  # @option opts [String] :name
64
64
  # @option opts [String] :name__in Filter results where name is in a comma-separated list of values
65
- # @option opts [String] :_last_updated__lt Filter results where _last_updated is less than value
66
- # @option opts [String] :_last_updated__lte Filter results where _last_updated is less than or equal to value
67
- # @option opts [String] :_last_updated__gt Filter results where _last_updated is greater than value
68
- # @option opts [String] :_last_updated__gte Filter results where _last_updated is greater than or equal to value
69
- # @option opts [String] :_last_updated__range Filter results where _last_updated is between two comma separated values
70
- # @option opts [String] :_last_updated ISO 8601 formatted dates are supported
65
+ # @option opts [String] :pulp_last_updated__lt Filter results where pulp_last_updated is less than value
66
+ # @option opts [String] :pulp_last_updated__lte Filter results where pulp_last_updated is less than or equal to value
67
+ # @option opts [String] :pulp_last_updated__gt Filter results where pulp_last_updated is greater than value
68
+ # @option opts [String] :pulp_last_updated__gte Filter results where pulp_last_updated is greater than or equal to value
69
+ # @option opts [String] :pulp_last_updated__range Filter results where pulp_last_updated is between two comma separated values
70
+ # @option opts [String] :pulp_last_updated ISO 8601 formatted dates are supported
71
71
  # @option opts [Integer] :limit Number of results to return per page.
72
72
  # @option opts [Integer] :offset The initial index from which to return the results.
73
73
  # @option opts [String] :fields A list of fields to include in the response.
@@ -32,19 +32,13 @@ describe 'MavenArtifact' do
32
32
  expect(@instance).to be_instance_of(PulpMavenClient::MavenArtifact)
33
33
  end
34
34
  end
35
- describe 'test attribute "_href"' do
35
+ describe 'test attribute "pulp_href"' do
36
36
  it 'should work' do
37
37
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
38
38
  end
39
39
  end
40
40
 
41
- describe 'test attribute "_created"' 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
-
47
- describe 'test attribute "_type"' do
41
+ describe 'test attribute "pulp_created"' do
48
42
  it 'should work' do
49
43
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
50
44
  end
@@ -32,13 +32,13 @@ describe 'MavenDistribution' do
32
32
  expect(@instance).to be_instance_of(PulpMavenClient::MavenDistribution)
33
33
  end
34
34
  end
35
- describe 'test attribute "_href"' do
35
+ describe 'test attribute "pulp_href"' do
36
36
  it 'should work' do
37
37
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
38
38
  end
39
39
  end
40
40
 
41
- describe 'test attribute "_created"' do
41
+ describe 'test attribute "pulp_created"' do
42
42
  it 'should work' do
43
43
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
44
44
  end
@@ -32,19 +32,13 @@ describe 'MavenRemote' do
32
32
  expect(@instance).to be_instance_of(PulpMavenClient::MavenRemote)
33
33
  end
34
34
  end
35
- describe 'test attribute "_href"' do
35
+ describe 'test attribute "pulp_href"' do
36
36
  it 'should work' do
37
37
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
38
38
  end
39
39
  end
40
40
 
41
- describe 'test attribute "_created"' 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
-
47
- describe 'test attribute "_type"' do
41
+ describe 'test attribute "pulp_created"' do
48
42
  it 'should work' do
49
43
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
50
44
  end
@@ -104,7 +98,7 @@ describe 'MavenRemote' do
104
98
  end
105
99
  end
106
100
 
107
- describe 'test attribute "_last_updated"' do
101
+ describe 'test attribute "pulp_last_updated"' do
108
102
  it 'should work' do
109
103
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
110
104
  end
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.1.0b31570567113
4
+ version: 0.1.0b31572295913
5
5
  platform: ruby
6
6
  authors:
7
7
  - OpenAPI-Generator
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2019-10-08 00:00:00.000000000 Z
11
+ date: 2019-10-28 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: faraday