pulp_deb_client 2.12.1 → 2.13.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 4b328e9f3606dd17e397c544111d9297bd6ad0cab2f455b53ba6965f55968dfe
4
- data.tar.gz: f9a9aa3876f0f3ef4cb26f37992863f5d5bdbccd73a1ee66568fba90a0fadc0a
3
+ metadata.gz: 250d5e1d9f9de08e0a9e03e84fc0c5585adadedab9427e46bff6da78ad6eb4b5
4
+ data.tar.gz: c107b311be54f32bf100378fda2c75d4fb452e657c5f7e4afff40d57e8de0388
5
5
  SHA512:
6
- metadata.gz: a3e665252b905a1144da333bb962512c4b09c5cd1b23c84b7995dd6e1d0720f5e0ab1dd4d23e43af96a0078a7cf5eff09f3555816268b2e19392e2e735b03a4d
7
- data.tar.gz: 904337af78cbc8d66e41ab75ac5719a5b144b97ec4d3294e32c822e8f7a0c99450e2339c22d4124369c372f2fccfa962015706aa5c991db01c266dbdf768bc15
6
+ metadata.gz: 23f845438b0fd20ba32dc3b827d08ed0af42bd9ff83883c726336f1dcf4525500967a35fc1f99e0b275edb4e64d1fa59e5624c64ddf1f6613a6f0c05dadf76ad
7
+ data.tar.gz: 75d08722853722ca4c7b099752c7e5de51f633beb242ea523116cd70249df84beacb61ff6143404a8656a616a3bf7fc3aaefe9a483d87d01c575b55ce7a6e329
data/README.md CHANGED
@@ -7,7 +7,7 @@ Fetch, Upload, Organize, and Distribute Software Packages
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: 2.12.1
10
+ - Package version: 2.13.0
11
11
  - Build package: org.openapitools.codegen.languages.RubyClientCodegen
12
12
  For more information, please visit [https://pulpproject.org](https://pulpproject.org)
13
13
 
@@ -24,16 +24,16 @@ gem build pulp_deb_client.gemspec
24
24
  Then either install the gem locally:
25
25
 
26
26
  ```shell
27
- gem install ./pulp_deb_client-2.12.1.gem
27
+ gem install ./pulp_deb_client-2.13.0.gem
28
28
  ```
29
29
 
30
- (for development, run `gem install --dev ./pulp_deb_client-2.12.1.gem` to install the development dependencies)
30
+ (for development, run `gem install --dev ./pulp_deb_client-2.13.0.gem` to install the development dependencies)
31
31
 
32
32
  or publish the gem to a gem hosting service, e.g. [RubyGems](https://rubygems.org/).
33
33
 
34
34
  Finally add this to the Gemfile:
35
35
 
36
- gem 'pulp_deb_client', '~> 2.12.1'
36
+ gem 'pulp_deb_client', '~> 2.13.0'
37
37
 
38
38
  ### Install from Git
39
39
 
@@ -7,6 +7,7 @@ Name | Type | Description | Notes
7
7
  **pulp_labels** | [**Object**](.md) | | [optional]
8
8
  **name** | **String** | A unique name for this repository. |
9
9
  **description** | **String** | An optional description. | [optional]
10
+ **retained_versions** | **Integer** | Retain X versions of the repository. Default is null which retains all versions. This is provided as a tech preview in Pulp 3 and may change in the future. | [optional]
10
11
  **remote** | **String** | | [optional]
11
12
 
12
13
  ## Code Sample
@@ -17,6 +18,7 @@ require 'PulpDebClient'
17
18
  instance = PulpDebClient::DebAptRepository.new(pulp_labels: null,
18
19
  name: null,
19
20
  description: null,
21
+ retained_versions: null,
20
22
  remote: null)
21
23
  ```
22
24
 
@@ -11,6 +11,7 @@ Name | Type | Description | Notes
11
11
  **latest_version_href** | **String** | | [optional] [readonly]
12
12
  **name** | **String** | A unique name for this repository. |
13
13
  **description** | **String** | An optional description. | [optional]
14
+ **retained_versions** | **Integer** | Retain X versions of the repository. Default is null which retains all versions. This is provided as a tech preview in Pulp 3 and may change in the future. | [optional]
14
15
  **remote** | **String** | | [optional]
15
16
 
16
17
  ## Code Sample
@@ -25,6 +26,7 @@ instance = PulpDebClient::DebAptRepositoryResponse.new(pulp_href: null,
25
26
  latest_version_href: null,
26
27
  name: null,
27
28
  description: null,
29
+ retained_versions: null,
28
30
  remote: null)
29
31
  ```
30
32
 
@@ -7,6 +7,7 @@ Name | Type | Description | Notes
7
7
  **pulp_labels** | [**Object**](.md) | | [optional]
8
8
  **name** | **String** | A unique name for this repository. | [optional]
9
9
  **description** | **String** | An optional description. | [optional]
10
+ **retained_versions** | **Integer** | Retain X versions of the repository. Default is null which retains all versions. This is provided as a tech preview in Pulp 3 and may change in the future. | [optional]
10
11
  **remote** | **String** | | [optional]
11
12
 
12
13
  ## Code Sample
@@ -17,6 +18,7 @@ require 'PulpDebClient'
17
18
  instance = PulpDebClient::PatcheddebAptRepository.new(pulp_labels: null,
18
19
  name: null,
19
20
  description: null,
21
+ retained_versions: null,
20
22
  remote: null)
21
23
  ```
22
24
 
@@ -138,6 +138,8 @@ end
138
138
 
139
139
  api_instance = PulpDebClient::PublicationsAptApi.new
140
140
  opts = {
141
+ content: 'content_example', # String | Content Unit referenced by HREF
142
+ content__in: 'content__in_example', # String | Content Unit referenced by HREF
141
143
  limit: 56, # Integer | Number of results to return per page.
142
144
  offset: 56, # Integer | The initial index from which to return the results.
143
145
  ordering: 'ordering_example', # String | Which field to use when ordering the results.
@@ -166,6 +168,8 @@ end
166
168
 
167
169
  Name | Type | Description | Notes
168
170
  ------------- | ------------- | ------------- | -------------
171
+ **content** | **String**| Content Unit referenced by HREF | [optional]
172
+ **content__in** | **String**| Content Unit referenced by HREF | [optional]
169
173
  **limit** | **Integer**| Number of results to return per page. | [optional]
170
174
  **offset** | **Integer**| The initial index from which to return the results. | [optional]
171
175
  **ordering** | **String**| Which field to use when ordering the results. | [optional]
@@ -138,6 +138,8 @@ end
138
138
 
139
139
  api_instance = PulpDebClient::PublicationsVerbatimApi.new
140
140
  opts = {
141
+ content: 'content_example', # String | Content Unit referenced by HREF
142
+ content__in: 'content__in_example', # String | Content Unit referenced by HREF
141
143
  limit: 56, # Integer | Number of results to return per page.
142
144
  offset: 56, # Integer | The initial index from which to return the results.
143
145
  ordering: 'ordering_example', # String | Which field to use when ordering the results.
@@ -166,6 +168,8 @@ end
166
168
 
167
169
  Name | Type | Description | Notes
168
170
  ------------- | ------------- | ------------- | -------------
171
+ **content** | **String**| Content Unit referenced by HREF | [optional]
172
+ **content__in** | **String**| Content Unit referenced by HREF | [optional]
169
173
  **limit** | **Integer**| Number of results to return per page. | [optional]
170
174
  **offset** | **Integer**| The initial index from which to return the results. | [optional]
171
175
  **ordering** | **String**| Which field to use when ordering the results. | [optional]
@@ -7,6 +7,7 @@ Name | Type | Description | Notes
7
7
  **pulp_href** | **String** | | [optional] [readonly]
8
8
  **pulp_created** | **DateTime** | Timestamp of creation. | [optional] [readonly]
9
9
  **number** | **Integer** | | [optional] [readonly]
10
+ **repository** | **String** | | [optional] [readonly]
10
11
  **base_version** | **String** | A repository version whose content was used as the initial set of content for this repository version | [optional]
11
12
  **content_summary** | [**ContentSummaryResponse**](ContentSummaryResponse.md) | Various count summaries of the content in the version and the HREF to view them. | [optional] [readonly]
12
13
 
@@ -18,6 +19,7 @@ require 'PulpDebClient'
18
19
  instance = PulpDebClient::RepositoryVersionResponse.new(pulp_href: null,
19
20
  pulp_created: null,
20
21
  number: null,
22
+ repository: null,
21
23
  base_version: null,
22
24
  content_summary: null)
23
25
  ```
@@ -146,6 +146,8 @@ module PulpDebClient
146
146
  # List apt publications
147
147
  # An AptPublication is the ready to serve Pulp-internal representation of an AptRepositoryVersion. When creating an APT publication, users must use simple or structured mode (or both). If the publication should include '.deb' packages that were manually uploaded to the relevant AptRepository, users must use 'simple=true'. Conversely, 'structured=true' is only useful for publishing content obtained via synchronization. Once a Pulp publication has been created, it can be served by creating a Pulp distribution (in a near atomic action).
148
148
  # @param [Hash] opts the optional parameters
149
+ # @option opts [String] :content Content Unit referenced by HREF
150
+ # @option opts [String] :content__in Content Unit referenced by HREF
149
151
  # @option opts [Integer] :limit Number of results to return per page.
150
152
  # @option opts [Integer] :offset The initial index from which to return the results.
151
153
  # @option opts [String] :ordering Which field to use when ordering the results.
@@ -167,6 +169,8 @@ module PulpDebClient
167
169
  # List apt publications
168
170
  # An AptPublication is the ready to serve Pulp-internal representation of an AptRepositoryVersion. When creating an APT publication, users must use simple or structured mode (or both). If the publication should include '.deb' packages that were manually uploaded to the relevant AptRepository, users must use 'simple=true'. Conversely, 'structured=true' is only useful for publishing content obtained via synchronization. Once a Pulp publication has been created, it can be served by creating a Pulp distribution (in a near atomic action).
169
171
  # @param [Hash] opts the optional parameters
172
+ # @option opts [String] :content Content Unit referenced by HREF
173
+ # @option opts [String] :content__in Content Unit referenced by HREF
170
174
  # @option opts [Integer] :limit Number of results to return per page.
171
175
  # @option opts [Integer] :offset The initial index from which to return the results.
172
176
  # @option opts [String] :ordering Which field to use when ordering the results.
@@ -189,6 +193,8 @@ module PulpDebClient
189
193
 
190
194
  # query parameters
191
195
  query_params = opts[:query_params] || {}
196
+ query_params[:'content'] = opts[:'content'] if !opts[:'content'].nil?
197
+ query_params[:'content__in'] = opts[:'content__in'] if !opts[:'content__in'].nil?
192
198
  query_params[:'limit'] = opts[:'limit'] if !opts[:'limit'].nil?
193
199
  query_params[:'offset'] = opts[:'offset'] if !opts[:'offset'].nil?
194
200
  query_params[:'ordering'] = opts[:'ordering'] if !opts[:'ordering'].nil?
@@ -146,6 +146,8 @@ module PulpDebClient
146
146
  # List verbatim publications
147
147
  # An VerbatimPublication is the Pulp-internal representation of a \"mirrored\" AptRepositoryVersion. In other words, the verbatim publisher will recreate the synced subset of some a APT repository using the exact same metadata files and signatures as used by the upstream original. Once a Pulp publication has been created, it can be served by creating a Pulp distribution (in a near atomic action).
148
148
  # @param [Hash] opts the optional parameters
149
+ # @option opts [String] :content Content Unit referenced by HREF
150
+ # @option opts [String] :content__in Content Unit referenced by HREF
149
151
  # @option opts [Integer] :limit Number of results to return per page.
150
152
  # @option opts [Integer] :offset The initial index from which to return the results.
151
153
  # @option opts [String] :ordering Which field to use when ordering the results.
@@ -167,6 +169,8 @@ module PulpDebClient
167
169
  # List verbatim publications
168
170
  # An VerbatimPublication is the Pulp-internal representation of a \"mirrored\" AptRepositoryVersion. In other words, the verbatim publisher will recreate the synced subset of some a APT repository using the exact same metadata files and signatures as used by the upstream original. Once a Pulp publication has been created, it can be served by creating a Pulp distribution (in a near atomic action).
169
171
  # @param [Hash] opts the optional parameters
172
+ # @option opts [String] :content Content Unit referenced by HREF
173
+ # @option opts [String] :content__in Content Unit referenced by HREF
170
174
  # @option opts [Integer] :limit Number of results to return per page.
171
175
  # @option opts [Integer] :offset The initial index from which to return the results.
172
176
  # @option opts [String] :ordering Which field to use when ordering the results.
@@ -189,6 +193,8 @@ module PulpDebClient
189
193
 
190
194
  # query parameters
191
195
  query_params = opts[:query_params] || {}
196
+ query_params[:'content'] = opts[:'content'] if !opts[:'content'].nil?
197
+ query_params[:'content__in'] = opts[:'content__in'] if !opts[:'content__in'].nil?
192
198
  query_params[:'limit'] = opts[:'limit'] if !opts[:'limit'].nil?
193
199
  query_params[:'offset'] = opts[:'offset'] if !opts[:'offset'].nil?
194
200
  query_params[:'ordering'] = opts[:'ordering'] if !opts[:'ordering'].nil?
@@ -23,6 +23,9 @@ module PulpDebClient
23
23
  # An optional description.
24
24
  attr_accessor :description
25
25
 
26
+ # Retain X versions of the repository. Default is null which retains all versions. This is provided as a tech preview in Pulp 3 and may change in the future.
27
+ attr_accessor :retained_versions
28
+
26
29
  attr_accessor :remote
27
30
 
28
31
  # Attribute mapping from ruby-style variable name to JSON key.
@@ -31,6 +34,7 @@ module PulpDebClient
31
34
  :'pulp_labels' => :'pulp_labels',
32
35
  :'name' => :'name',
33
36
  :'description' => :'description',
37
+ :'retained_versions' => :'retained_versions',
34
38
  :'remote' => :'remote'
35
39
  }
36
40
  end
@@ -41,6 +45,7 @@ module PulpDebClient
41
45
  :'pulp_labels' => :'Object',
42
46
  :'name' => :'String',
43
47
  :'description' => :'String',
48
+ :'retained_versions' => :'Integer',
44
49
  :'remote' => :'String'
45
50
  }
46
51
  end
@@ -49,6 +54,7 @@ module PulpDebClient
49
54
  def self.openapi_nullable
50
55
  Set.new([
51
56
  :'description',
57
+ :'retained_versions',
52
58
  :'remote'
53
59
  ])
54
60
  end
@@ -80,6 +86,10 @@ module PulpDebClient
80
86
  self.description = attributes[:'description']
81
87
  end
82
88
 
89
+ if attributes.key?(:'retained_versions')
90
+ self.retained_versions = attributes[:'retained_versions']
91
+ end
92
+
83
93
  if attributes.key?(:'remote')
84
94
  self.remote = attributes[:'remote']
85
95
  end
@@ -93,6 +103,10 @@ module PulpDebClient
93
103
  invalid_properties.push('invalid value for "name", name cannot be nil.')
94
104
  end
95
105
 
106
+ if !@retained_versions.nil? && @retained_versions < 1
107
+ invalid_properties.push('invalid value for "retained_versions", must be greater than or equal to 1.')
108
+ end
109
+
96
110
  invalid_properties
97
111
  end
98
112
 
@@ -100,9 +114,20 @@ module PulpDebClient
100
114
  # @return true if the model is valid
101
115
  def valid?
102
116
  return false if @name.nil?
117
+ return false if !@retained_versions.nil? && @retained_versions < 1
103
118
  true
104
119
  end
105
120
 
121
+ # Custom attribute writer method with validation
122
+ # @param [Object] retained_versions Value to be assigned
123
+ def retained_versions=(retained_versions)
124
+ if !retained_versions.nil? && retained_versions < 1
125
+ fail ArgumentError, 'invalid value for "retained_versions", must be greater than or equal to 1.'
126
+ end
127
+
128
+ @retained_versions = retained_versions
129
+ end
130
+
106
131
  # Checks equality by comparing each attribute.
107
132
  # @param [Object] Object to be compared
108
133
  def ==(o)
@@ -111,6 +136,7 @@ module PulpDebClient
111
136
  pulp_labels == o.pulp_labels &&
112
137
  name == o.name &&
113
138
  description == o.description &&
139
+ retained_versions == o.retained_versions &&
114
140
  remote == o.remote
115
141
  end
116
142
 
@@ -123,7 +149,7 @@ module PulpDebClient
123
149
  # Calculates hash code according to all attributes.
124
150
  # @return [Integer] Hash code
125
151
  def hash
126
- [pulp_labels, name, description, remote].hash
152
+ [pulp_labels, name, description, retained_versions, remote].hash
127
153
  end
128
154
 
129
155
  # Builds the object from hash
@@ -32,6 +32,9 @@ module PulpDebClient
32
32
  # An optional description.
33
33
  attr_accessor :description
34
34
 
35
+ # Retain X versions of the repository. Default is null which retains all versions. This is provided as a tech preview in Pulp 3 and may change in the future.
36
+ attr_accessor :retained_versions
37
+
35
38
  attr_accessor :remote
36
39
 
37
40
  # Attribute mapping from ruby-style variable name to JSON key.
@@ -44,6 +47,7 @@ module PulpDebClient
44
47
  :'latest_version_href' => :'latest_version_href',
45
48
  :'name' => :'name',
46
49
  :'description' => :'description',
50
+ :'retained_versions' => :'retained_versions',
47
51
  :'remote' => :'remote'
48
52
  }
49
53
  end
@@ -58,6 +62,7 @@ module PulpDebClient
58
62
  :'latest_version_href' => :'String',
59
63
  :'name' => :'String',
60
64
  :'description' => :'String',
65
+ :'retained_versions' => :'Integer',
61
66
  :'remote' => :'String'
62
67
  }
63
68
  end
@@ -66,6 +71,7 @@ module PulpDebClient
66
71
  def self.openapi_nullable
67
72
  Set.new([
68
73
  :'description',
74
+ :'retained_versions',
69
75
  :'remote'
70
76
  ])
71
77
  end
@@ -113,6 +119,10 @@ module PulpDebClient
113
119
  self.description = attributes[:'description']
114
120
  end
115
121
 
122
+ if attributes.key?(:'retained_versions')
123
+ self.retained_versions = attributes[:'retained_versions']
124
+ end
125
+
116
126
  if attributes.key?(:'remote')
117
127
  self.remote = attributes[:'remote']
118
128
  end
@@ -126,6 +136,10 @@ module PulpDebClient
126
136
  invalid_properties.push('invalid value for "name", name cannot be nil.')
127
137
  end
128
138
 
139
+ if !@retained_versions.nil? && @retained_versions < 1
140
+ invalid_properties.push('invalid value for "retained_versions", must be greater than or equal to 1.')
141
+ end
142
+
129
143
  invalid_properties
130
144
  end
131
145
 
@@ -133,9 +147,20 @@ module PulpDebClient
133
147
  # @return true if the model is valid
134
148
  def valid?
135
149
  return false if @name.nil?
150
+ return false if !@retained_versions.nil? && @retained_versions < 1
136
151
  true
137
152
  end
138
153
 
154
+ # Custom attribute writer method with validation
155
+ # @param [Object] retained_versions Value to be assigned
156
+ def retained_versions=(retained_versions)
157
+ if !retained_versions.nil? && retained_versions < 1
158
+ fail ArgumentError, 'invalid value for "retained_versions", must be greater than or equal to 1.'
159
+ end
160
+
161
+ @retained_versions = retained_versions
162
+ end
163
+
139
164
  # Checks equality by comparing each attribute.
140
165
  # @param [Object] Object to be compared
141
166
  def ==(o)
@@ -148,6 +173,7 @@ module PulpDebClient
148
173
  latest_version_href == o.latest_version_href &&
149
174
  name == o.name &&
150
175
  description == o.description &&
176
+ retained_versions == o.retained_versions &&
151
177
  remote == o.remote
152
178
  end
153
179
 
@@ -160,7 +186,7 @@ module PulpDebClient
160
186
  # Calculates hash code according to all attributes.
161
187
  # @return [Integer] Hash code
162
188
  def hash
163
- [pulp_href, pulp_created, versions_href, pulp_labels, latest_version_href, name, description, remote].hash
189
+ [pulp_href, pulp_created, versions_href, pulp_labels, latest_version_href, name, description, retained_versions, remote].hash
164
190
  end
165
191
 
166
192
  # Builds the object from hash
@@ -23,6 +23,9 @@ module PulpDebClient
23
23
  # An optional description.
24
24
  attr_accessor :description
25
25
 
26
+ # Retain X versions of the repository. Default is null which retains all versions. This is provided as a tech preview in Pulp 3 and may change in the future.
27
+ attr_accessor :retained_versions
28
+
26
29
  attr_accessor :remote
27
30
 
28
31
  # Attribute mapping from ruby-style variable name to JSON key.
@@ -31,6 +34,7 @@ module PulpDebClient
31
34
  :'pulp_labels' => :'pulp_labels',
32
35
  :'name' => :'name',
33
36
  :'description' => :'description',
37
+ :'retained_versions' => :'retained_versions',
34
38
  :'remote' => :'remote'
35
39
  }
36
40
  end
@@ -41,6 +45,7 @@ module PulpDebClient
41
45
  :'pulp_labels' => :'Object',
42
46
  :'name' => :'String',
43
47
  :'description' => :'String',
48
+ :'retained_versions' => :'Integer',
44
49
  :'remote' => :'String'
45
50
  }
46
51
  end
@@ -49,6 +54,7 @@ module PulpDebClient
49
54
  def self.openapi_nullable
50
55
  Set.new([
51
56
  :'description',
57
+ :'retained_versions',
52
58
  :'remote'
53
59
  ])
54
60
  end
@@ -80,6 +86,10 @@ module PulpDebClient
80
86
  self.description = attributes[:'description']
81
87
  end
82
88
 
89
+ if attributes.key?(:'retained_versions')
90
+ self.retained_versions = attributes[:'retained_versions']
91
+ end
92
+
83
93
  if attributes.key?(:'remote')
84
94
  self.remote = attributes[:'remote']
85
95
  end
@@ -89,15 +99,30 @@ module PulpDebClient
89
99
  # @return Array for valid properties with the reasons
90
100
  def list_invalid_properties
91
101
  invalid_properties = Array.new
102
+ if !@retained_versions.nil? && @retained_versions < 1
103
+ invalid_properties.push('invalid value for "retained_versions", must be greater than or equal to 1.')
104
+ end
105
+
92
106
  invalid_properties
93
107
  end
94
108
 
95
109
  # Check to see if the all the properties in the model are valid
96
110
  # @return true if the model is valid
97
111
  def valid?
112
+ return false if !@retained_versions.nil? && @retained_versions < 1
98
113
  true
99
114
  end
100
115
 
116
+ # Custom attribute writer method with validation
117
+ # @param [Object] retained_versions Value to be assigned
118
+ def retained_versions=(retained_versions)
119
+ if !retained_versions.nil? && retained_versions < 1
120
+ fail ArgumentError, 'invalid value for "retained_versions", must be greater than or equal to 1.'
121
+ end
122
+
123
+ @retained_versions = retained_versions
124
+ end
125
+
101
126
  # Checks equality by comparing each attribute.
102
127
  # @param [Object] Object to be compared
103
128
  def ==(o)
@@ -106,6 +131,7 @@ module PulpDebClient
106
131
  pulp_labels == o.pulp_labels &&
107
132
  name == o.name &&
108
133
  description == o.description &&
134
+ retained_versions == o.retained_versions &&
109
135
  remote == o.remote
110
136
  end
111
137
 
@@ -118,7 +144,7 @@ module PulpDebClient
118
144
  # Calculates hash code according to all attributes.
119
145
  # @return [Integer] Hash code
120
146
  def hash
121
- [pulp_labels, name, description, remote].hash
147
+ [pulp_labels, name, description, retained_versions, remote].hash
122
148
  end
123
149
 
124
150
  # Builds the object from hash
@@ -22,6 +22,8 @@ module PulpDebClient
22
22
 
23
23
  attr_accessor :number
24
24
 
25
+ attr_accessor :repository
26
+
25
27
  # A repository version whose content was used as the initial set of content for this repository version
26
28
  attr_accessor :base_version
27
29
 
@@ -34,6 +36,7 @@ module PulpDebClient
34
36
  :'pulp_href' => :'pulp_href',
35
37
  :'pulp_created' => :'pulp_created',
36
38
  :'number' => :'number',
39
+ :'repository' => :'repository',
37
40
  :'base_version' => :'base_version',
38
41
  :'content_summary' => :'content_summary'
39
42
  }
@@ -45,6 +48,7 @@ module PulpDebClient
45
48
  :'pulp_href' => :'String',
46
49
  :'pulp_created' => :'DateTime',
47
50
  :'number' => :'Integer',
51
+ :'repository' => :'String',
48
52
  :'base_version' => :'String',
49
53
  :'content_summary' => :'ContentSummaryResponse'
50
54
  }
@@ -83,6 +87,10 @@ module PulpDebClient
83
87
  self.number = attributes[:'number']
84
88
  end
85
89
 
90
+ if attributes.key?(:'repository')
91
+ self.repository = attributes[:'repository']
92
+ end
93
+
86
94
  if attributes.key?(:'base_version')
87
95
  self.base_version = attributes[:'base_version']
88
96
  end
@@ -113,6 +121,7 @@ module PulpDebClient
113
121
  pulp_href == o.pulp_href &&
114
122
  pulp_created == o.pulp_created &&
115
123
  number == o.number &&
124
+ repository == o.repository &&
116
125
  base_version == o.base_version &&
117
126
  content_summary == o.content_summary
118
127
  end
@@ -126,7 +135,7 @@ module PulpDebClient
126
135
  # Calculates hash code according to all attributes.
127
136
  # @return [Integer] Hash code
128
137
  def hash
129
- [pulp_href, pulp_created, number, base_version, content_summary].hash
138
+ [pulp_href, pulp_created, number, repository, base_version, content_summary].hash
130
139
  end
131
140
 
132
141
  # Builds the object from hash
@@ -11,5 +11,5 @@ OpenAPI Generator version: 4.2.3
11
11
  =end
12
12
 
13
13
  module PulpDebClient
14
- VERSION = '2.12.1'
14
+ VERSION = '2.13.0'
15
15
  end
@@ -60,6 +60,8 @@ describe 'PublicationsAptApi' do
60
60
  # List apt publications
61
61
  # An AptPublication is the ready to serve Pulp-internal representation of an AptRepositoryVersion. When creating an APT publication, users must use simple or structured mode (or both). If the publication should include &#39;.deb&#39; packages that were manually uploaded to the relevant AptRepository, users must use &#39;simple&#x3D;true&#39;. Conversely, &#39;structured&#x3D;true&#39; is only useful for publishing content obtained via synchronization. Once a Pulp publication has been created, it can be served by creating a Pulp distribution (in a near atomic action).
62
62
  # @param [Hash] opts the optional parameters
63
+ # @option opts [String] :content Content Unit referenced by HREF
64
+ # @option opts [String] :content__in Content Unit referenced by HREF
63
65
  # @option opts [Integer] :limit Number of results to return per page.
64
66
  # @option opts [Integer] :offset The initial index from which to return the results.
65
67
  # @option opts [String] :ordering Which field to use when ordering the results.
@@ -60,6 +60,8 @@ describe 'PublicationsVerbatimApi' do
60
60
  # List verbatim publications
61
61
  # An VerbatimPublication is the Pulp-internal representation of a \&quot;mirrored\&quot; AptRepositoryVersion. In other words, the verbatim publisher will recreate the synced subset of some a APT repository using the exact same metadata files and signatures as used by the upstream original. Once a Pulp publication has been created, it can be served by creating a Pulp distribution (in a near atomic action).
62
62
  # @param [Hash] opts the optional parameters
63
+ # @option opts [String] :content Content Unit referenced by HREF
64
+ # @option opts [String] :content__in Content Unit referenced by HREF
63
65
  # @option opts [Integer] :limit Number of results to return per page.
64
66
  # @option opts [Integer] :offset The initial index from which to return the results.
65
67
  # @option opts [String] :ordering Which field to use when ordering the results.
@@ -74,6 +74,12 @@ describe 'DebAptRepositoryResponse' do
74
74
  end
75
75
  end
76
76
 
77
+ describe 'test attribute "retained_versions"' 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
+
77
83
  describe 'test attribute "remote"' do
78
84
  it 'should work' do
79
85
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
@@ -50,6 +50,12 @@ describe 'DebAptRepository' do
50
50
  end
51
51
  end
52
52
 
53
+ describe 'test attribute "retained_versions"' 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
+
53
59
  describe 'test attribute "remote"' do
54
60
  it 'should work' do
55
61
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
@@ -50,6 +50,12 @@ describe 'PatcheddebAptRepository' do
50
50
  end
51
51
  end
52
52
 
53
+ describe 'test attribute "retained_versions"' 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
+
53
59
  describe 'test attribute "remote"' do
54
60
  it 'should work' do
55
61
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
@@ -50,6 +50,12 @@ describe 'RepositoryVersionResponse' do
50
50
  end
51
51
  end
52
52
 
53
+ describe 'test attribute "repository"' 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
+
53
59
  describe 'test attribute "base_version"' do
54
60
  it 'should work' do
55
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_deb_client
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.12.1
4
+ version: 2.13.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - OpenAPI-Generator
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2021-05-25 00:00:00.000000000 Z
11
+ date: 2021-05-27 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: faraday