pulp_container_client 2.12.3 → 2.13.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (66) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +5 -5
  3. data/docs/ContainerContainerDistribution.md +5 -5
  4. data/docs/ContainerContainerDistributionResponse.md +8 -8
  5. data/docs/ContainerContainerPushRepository.md +6 -6
  6. data/docs/ContainerContainerPushRepositoryResponse.md +12 -12
  7. data/docs/ContainerContainerRemote.md +2 -2
  8. data/docs/ContentBlobsApi.md +2 -2
  9. data/docs/ContentManifestsApi.md +2 -2
  10. data/docs/ContentSignaturesApi.md +2 -2
  11. data/docs/ContentTagsApi.md +2 -2
  12. data/docs/DistributionsContainerApi.md +2 -2
  13. data/docs/OCIBuildImage.md +2 -2
  14. data/docs/PatchedcontainerContainerDistribution.md +5 -5
  15. data/docs/PatchedcontainerContainerPushRepository.md +6 -6
  16. data/docs/PatchedcontainerContainerRemote.md +2 -2
  17. data/docs/PulpContainerNamespacesApi.md +2 -2
  18. data/docs/RemotesContainerApi.md +2 -2
  19. data/docs/RepositoriesContainerApi.md +6 -6
  20. data/docs/RepositoriesContainerPushApi.md +2 -2
  21. data/docs/RepositoriesContainerPushVersionsApi.md +2 -2
  22. data/docs/RepositoriesContainerVersionsApi.md +2 -2
  23. data/git_push.sh +58 -0
  24. data/lib/pulp_container_client/api/content_blobs_api.rb +7 -3
  25. data/lib/pulp_container_client/api/content_manifests_api.rb +7 -3
  26. data/lib/pulp_container_client/api/content_signatures_api.rb +7 -3
  27. data/lib/pulp_container_client/api/content_tags_api.rb +7 -3
  28. data/lib/pulp_container_client/api/distributions_container_api.rb +7 -3
  29. data/lib/pulp_container_client/api/pulp_container_namespaces_api.rb +7 -3
  30. data/lib/pulp_container_client/api/remotes_container_api.rb +7 -3
  31. data/lib/pulp_container_client/api/repositories_container_api.rb +11 -7
  32. data/lib/pulp_container_client/api/repositories_container_push_api.rb +7 -3
  33. data/lib/pulp_container_client/api/repositories_container_push_versions_api.rb +7 -3
  34. data/lib/pulp_container_client/api/repositories_container_versions_api.rb +7 -3
  35. data/lib/pulp_container_client/api_client.rb +1 -1
  36. data/lib/pulp_container_client/models/container_container_distribution.rb +20 -20
  37. data/lib/pulp_container_client/models/container_container_distribution_response.rb +37 -37
  38. data/lib/pulp_container_client/models/container_container_namespace.rb +0 -9
  39. data/lib/pulp_container_client/models/container_container_namespace_response.rb +0 -19
  40. data/lib/pulp_container_client/models/container_container_push_repository.rb +41 -41
  41. data/lib/pulp_container_client/models/container_container_push_repository_response.rb +53 -53
  42. data/lib/pulp_container_client/models/container_container_remote.rb +2 -2
  43. data/lib/pulp_container_client/models/oci_build_image.rb +2 -2
  44. data/lib/pulp_container_client/models/patchedcontainer_container_distribution.rb +20 -20
  45. data/lib/pulp_container_client/models/patchedcontainer_container_push_repository.rb +41 -41
  46. data/lib/pulp_container_client/models/patchedcontainer_container_remote.rb +2 -2
  47. data/lib/pulp_container_client/version.rb +1 -1
  48. data/pulp_container_client.gemspec +3 -3
  49. data/spec/api/content_blobs_api_spec.rb +1 -1
  50. data/spec/api/content_manifests_api_spec.rb +1 -1
  51. data/spec/api/content_signatures_api_spec.rb +1 -1
  52. data/spec/api/content_tags_api_spec.rb +1 -1
  53. data/spec/api/distributions_container_api_spec.rb +1 -1
  54. data/spec/api/pulp_container_namespaces_api_spec.rb +1 -1
  55. data/spec/api/remotes_container_api_spec.rb +1 -1
  56. data/spec/api/repositories_container_api_spec.rb +3 -3
  57. data/spec/api/repositories_container_push_api_spec.rb +1 -1
  58. data/spec/api/repositories_container_push_versions_api_spec.rb +1 -1
  59. data/spec/api/repositories_container_versions_api_spec.rb +1 -1
  60. data/spec/models/container_container_distribution_response_spec.rb +7 -7
  61. data/spec/models/container_container_distribution_spec.rb +5 -5
  62. data/spec/models/container_container_push_repository_response_spec.rb +9 -9
  63. data/spec/models/container_container_push_repository_spec.rb +5 -5
  64. data/spec/models/patchedcontainer_container_distribution_spec.rb +5 -5
  65. data/spec/models/patchedcontainer_container_push_repository_spec.rb +5 -5
  66. metadata +57 -56
@@ -15,25 +15,25 @@ require 'date'
15
15
  module PulpContainerClient
16
16
  # A serializer for ContainerDistribution.
17
17
  class ContainerContainerDistributionResponse
18
- # A unique name. Ex, `rawhide` and `stable`.
19
- attr_accessor :name
20
-
21
- attr_accessor :pulp_href
18
+ # Timestamp of creation.
19
+ attr_accessor :pulp_created
22
20
 
23
21
  attr_accessor :pulp_labels
24
22
 
23
+ # The latest RepositoryVersion for this Repository will be served.
24
+ attr_accessor :repository
25
+
26
+ # A unique name. Ex, `rawhide` and `stable`.
27
+ attr_accessor :name
28
+
25
29
  # An optional content-guard. If none is specified, a default one will be used.
26
30
  attr_accessor :content_guard
27
31
 
32
+ attr_accessor :pulp_href
33
+
28
34
  # The base (relative) path component of the published url. Avoid paths that overlap with other distribution base paths (e.g. \"foo\" and \"foo/bar\")
29
35
  attr_accessor :base_path
30
36
 
31
- # The latest RepositoryVersion for this Repository will be served.
32
- attr_accessor :repository
33
-
34
- # Timestamp of creation.
35
- attr_accessor :pulp_created
36
-
37
37
  # RepositoryVersion to be served
38
38
  attr_accessor :repository_version
39
39
 
@@ -52,13 +52,13 @@ module PulpContainerClient
52
52
  # Attribute mapping from ruby-style variable name to JSON key.
53
53
  def self.attribute_map
54
54
  {
55
- :'name' => :'name',
56
- :'pulp_href' => :'pulp_href',
55
+ :'pulp_created' => :'pulp_created',
57
56
  :'pulp_labels' => :'pulp_labels',
57
+ :'repository' => :'repository',
58
+ :'name' => :'name',
58
59
  :'content_guard' => :'content_guard',
60
+ :'pulp_href' => :'pulp_href',
59
61
  :'base_path' => :'base_path',
60
- :'repository' => :'repository',
61
- :'pulp_created' => :'pulp_created',
62
62
  :'repository_version' => :'repository_version',
63
63
  :'registry_path' => :'registry_path',
64
64
  :'namespace' => :'namespace',
@@ -70,13 +70,13 @@ module PulpContainerClient
70
70
  # Attribute type mapping.
71
71
  def self.openapi_types
72
72
  {
73
- :'name' => :'String',
74
- :'pulp_href' => :'String',
73
+ :'pulp_created' => :'DateTime',
75
74
  :'pulp_labels' => :'Object',
75
+ :'repository' => :'String',
76
+ :'name' => :'String',
76
77
  :'content_guard' => :'String',
78
+ :'pulp_href' => :'String',
77
79
  :'base_path' => :'String',
78
- :'repository' => :'String',
79
- :'pulp_created' => :'DateTime',
80
80
  :'repository_version' => :'String',
81
81
  :'registry_path' => :'String',
82
82
  :'namespace' => :'String',
@@ -109,32 +109,32 @@ module PulpContainerClient
109
109
  h[k.to_sym] = v
110
110
  }
111
111
 
112
- if attributes.key?(:'name')
113
- self.name = attributes[:'name']
114
- end
115
-
116
- if attributes.key?(:'pulp_href')
117
- self.pulp_href = attributes[:'pulp_href']
112
+ if attributes.key?(:'pulp_created')
113
+ self.pulp_created = attributes[:'pulp_created']
118
114
  end
119
115
 
120
116
  if attributes.key?(:'pulp_labels')
121
117
  self.pulp_labels = attributes[:'pulp_labels']
122
118
  end
123
119
 
124
- if attributes.key?(:'content_guard')
125
- self.content_guard = attributes[:'content_guard']
120
+ if attributes.key?(:'repository')
121
+ self.repository = attributes[:'repository']
126
122
  end
127
123
 
128
- if attributes.key?(:'base_path')
129
- self.base_path = attributes[:'base_path']
124
+ if attributes.key?(:'name')
125
+ self.name = attributes[:'name']
130
126
  end
131
127
 
132
- if attributes.key?(:'repository')
133
- self.repository = attributes[:'repository']
128
+ if attributes.key?(:'content_guard')
129
+ self.content_guard = attributes[:'content_guard']
134
130
  end
135
131
 
136
- if attributes.key?(:'pulp_created')
137
- self.pulp_created = attributes[:'pulp_created']
132
+ if attributes.key?(:'pulp_href')
133
+ self.pulp_href = attributes[:'pulp_href']
134
+ end
135
+
136
+ if attributes.key?(:'base_path')
137
+ self.base_path = attributes[:'base_path']
138
138
  end
139
139
 
140
140
  if attributes.key?(:'repository_version')
@@ -186,13 +186,13 @@ module PulpContainerClient
186
186
  def ==(o)
187
187
  return true if self.equal?(o)
188
188
  self.class == o.class &&
189
- name == o.name &&
190
- pulp_href == o.pulp_href &&
189
+ pulp_created == o.pulp_created &&
191
190
  pulp_labels == o.pulp_labels &&
191
+ repository == o.repository &&
192
+ name == o.name &&
192
193
  content_guard == o.content_guard &&
194
+ pulp_href == o.pulp_href &&
193
195
  base_path == o.base_path &&
194
- repository == o.repository &&
195
- pulp_created == o.pulp_created &&
196
196
  repository_version == o.repository_version &&
197
197
  registry_path == o.registry_path &&
198
198
  namespace == o.namespace &&
@@ -209,7 +209,7 @@ module PulpContainerClient
209
209
  # Calculates hash code according to all attributes.
210
210
  # @return [Integer] Hash code
211
211
  def hash
212
- [name, pulp_href, pulp_labels, content_guard, base_path, repository, pulp_created, repository_version, registry_path, namespace, private, description].hash
212
+ [pulp_created, pulp_labels, repository, name, content_guard, pulp_href, base_path, repository_version, registry_path, namespace, private, description].hash
213
213
  end
214
214
 
215
215
  # Builds the object from hash
@@ -65,10 +65,6 @@ module PulpContainerClient
65
65
  invalid_properties.push('invalid value for "name", name cannot be nil.')
66
66
  end
67
67
 
68
- if @name.to_s.length > 255
69
- invalid_properties.push('invalid value for "name", the character length must be smaller than or equal to 255.')
70
- end
71
-
72
68
  if @name.to_s.length < 1
73
69
  invalid_properties.push('invalid value for "name", the character length must be great than or equal to 1.')
74
70
  end
@@ -80,7 +76,6 @@ module PulpContainerClient
80
76
  # @return true if the model is valid
81
77
  def valid?
82
78
  return false if @name.nil?
83
- return false if @name.to_s.length > 255
84
79
  return false if @name.to_s.length < 1
85
80
  true
86
81
  end
@@ -92,10 +87,6 @@ module PulpContainerClient
92
87
  fail ArgumentError, 'name cannot be nil'
93
88
  end
94
89
 
95
- if name.to_s.length > 255
96
- fail ArgumentError, 'invalid value for "name", the character length must be smaller than or equal to 255.'
97
- end
98
-
99
90
  if name.to_s.length < 1
100
91
  fail ArgumentError, 'invalid value for "name", the character length must be great than or equal to 1.'
101
92
  end
@@ -82,10 +82,6 @@ module PulpContainerClient
82
82
  invalid_properties.push('invalid value for "name", name cannot be nil.')
83
83
  end
84
84
 
85
- if @name.to_s.length > 255
86
- invalid_properties.push('invalid value for "name", the character length must be smaller than or equal to 255.')
87
- end
88
-
89
85
  invalid_properties
90
86
  end
91
87
 
@@ -93,24 +89,9 @@ module PulpContainerClient
93
89
  # @return true if the model is valid
94
90
  def valid?
95
91
  return false if @name.nil?
96
- return false if @name.to_s.length > 255
97
92
  true
98
93
  end
99
94
 
100
- # Custom attribute writer method with validation
101
- # @param [Object] name Value to be assigned
102
- def name=(name)
103
- if name.nil?
104
- fail ArgumentError, 'name cannot be nil'
105
- end
106
-
107
- if name.to_s.length > 255
108
- fail ArgumentError, 'invalid value for "name", the character length must be smaller than or equal to 255.'
109
- end
110
-
111
- @name = name
112
- end
113
-
114
95
  # Checks equality by comparing each attribute.
115
96
  # @param [Object] Object to be compared
116
97
  def ==(o)
@@ -15,48 +15,48 @@ require 'date'
15
15
  module PulpContainerClient
16
16
  # Serializer for Container Push Repositories.
17
17
  class ContainerContainerPushRepository
18
- # A unique name for this repository.
19
- attr_accessor :name
20
-
21
18
  attr_accessor :pulp_labels
22
19
 
23
- # An optional description.
24
- attr_accessor :description
25
-
26
20
  # 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
21
  attr_accessor :retain_repo_versions
28
22
 
23
+ # A unique name for this repository.
24
+ attr_accessor :name
25
+
29
26
  # A reference to an associated signing service.
30
27
  attr_accessor :manifest_signing_service
31
28
 
29
+ # An optional description.
30
+ attr_accessor :description
31
+
32
32
  # Attribute mapping from ruby-style variable name to JSON key.
33
33
  def self.attribute_map
34
34
  {
35
- :'name' => :'name',
36
35
  :'pulp_labels' => :'pulp_labels',
37
- :'description' => :'description',
38
36
  :'retain_repo_versions' => :'retain_repo_versions',
39
- :'manifest_signing_service' => :'manifest_signing_service'
37
+ :'name' => :'name',
38
+ :'manifest_signing_service' => :'manifest_signing_service',
39
+ :'description' => :'description'
40
40
  }
41
41
  end
42
42
 
43
43
  # Attribute type mapping.
44
44
  def self.openapi_types
45
45
  {
46
- :'name' => :'String',
47
46
  :'pulp_labels' => :'Object',
48
- :'description' => :'String',
49
47
  :'retain_repo_versions' => :'Integer',
50
- :'manifest_signing_service' => :'String'
48
+ :'name' => :'String',
49
+ :'manifest_signing_service' => :'String',
50
+ :'description' => :'String'
51
51
  }
52
52
  end
53
53
 
54
54
  # List of attributes with nullable: true
55
55
  def self.openapi_nullable
56
56
  Set.new([
57
- :'description',
58
57
  :'retain_repo_versions',
59
- :'manifest_signing_service'
58
+ :'manifest_signing_service',
59
+ :'description'
60
60
  ])
61
61
  end
62
62
 
@@ -75,31 +75,35 @@ module PulpContainerClient
75
75
  h[k.to_sym] = v
76
76
  }
77
77
 
78
- if attributes.key?(:'name')
79
- self.name = attributes[:'name']
80
- end
81
-
82
78
  if attributes.key?(:'pulp_labels')
83
79
  self.pulp_labels = attributes[:'pulp_labels']
84
80
  end
85
81
 
86
- if attributes.key?(:'description')
87
- self.description = attributes[:'description']
88
- end
89
-
90
82
  if attributes.key?(:'retain_repo_versions')
91
83
  self.retain_repo_versions = attributes[:'retain_repo_versions']
92
84
  end
93
85
 
86
+ if attributes.key?(:'name')
87
+ self.name = attributes[:'name']
88
+ end
89
+
94
90
  if attributes.key?(:'manifest_signing_service')
95
91
  self.manifest_signing_service = attributes[:'manifest_signing_service']
96
92
  end
93
+
94
+ if attributes.key?(:'description')
95
+ self.description = attributes[:'description']
96
+ end
97
97
  end
98
98
 
99
99
  # Show invalid properties with the reasons. Usually used together with valid?
100
100
  # @return Array for valid properties with the reasons
101
101
  def list_invalid_properties
102
102
  invalid_properties = Array.new
103
+ if !@retain_repo_versions.nil? && @retain_repo_versions < 1
104
+ invalid_properties.push('invalid value for "retain_repo_versions", must be greater than or equal to 1.')
105
+ end
106
+
103
107
  if @name.nil?
104
108
  invalid_properties.push('invalid value for "name", name cannot be nil.')
105
109
  end
@@ -112,23 +116,29 @@ module PulpContainerClient
112
116
  invalid_properties.push('invalid value for "description", the character length must be great than or equal to 1.')
113
117
  end
114
118
 
115
- if !@retain_repo_versions.nil? && @retain_repo_versions < 1
116
- invalid_properties.push('invalid value for "retain_repo_versions", must be greater than or equal to 1.')
117
- end
118
-
119
119
  invalid_properties
120
120
  end
121
121
 
122
122
  # Check to see if the all the properties in the model are valid
123
123
  # @return true if the model is valid
124
124
  def valid?
125
+ return false if !@retain_repo_versions.nil? && @retain_repo_versions < 1
125
126
  return false if @name.nil?
126
127
  return false if @name.to_s.length < 1
127
128
  return false if !@description.nil? && @description.to_s.length < 1
128
- return false if !@retain_repo_versions.nil? && @retain_repo_versions < 1
129
129
  true
130
130
  end
131
131
 
132
+ # Custom attribute writer method with validation
133
+ # @param [Object] retain_repo_versions Value to be assigned
134
+ def retain_repo_versions=(retain_repo_versions)
135
+ if !retain_repo_versions.nil? && retain_repo_versions < 1
136
+ fail ArgumentError, 'invalid value for "retain_repo_versions", must be greater than or equal to 1.'
137
+ end
138
+
139
+ @retain_repo_versions = retain_repo_versions
140
+ end
141
+
132
142
  # Custom attribute writer method with validation
133
143
  # @param [Object] name Value to be assigned
134
144
  def name=(name)
@@ -153,26 +163,16 @@ module PulpContainerClient
153
163
  @description = description
154
164
  end
155
165
 
156
- # Custom attribute writer method with validation
157
- # @param [Object] retain_repo_versions Value to be assigned
158
- def retain_repo_versions=(retain_repo_versions)
159
- if !retain_repo_versions.nil? && retain_repo_versions < 1
160
- fail ArgumentError, 'invalid value for "retain_repo_versions", must be greater than or equal to 1.'
161
- end
162
-
163
- @retain_repo_versions = retain_repo_versions
164
- end
165
-
166
166
  # Checks equality by comparing each attribute.
167
167
  # @param [Object] Object to be compared
168
168
  def ==(o)
169
169
  return true if self.equal?(o)
170
170
  self.class == o.class &&
171
- name == o.name &&
172
171
  pulp_labels == o.pulp_labels &&
173
- description == o.description &&
174
172
  retain_repo_versions == o.retain_repo_versions &&
175
- manifest_signing_service == o.manifest_signing_service
173
+ name == o.name &&
174
+ manifest_signing_service == o.manifest_signing_service &&
175
+ description == o.description
176
176
  end
177
177
 
178
178
  # @see the `==` method
@@ -184,7 +184,7 @@ module PulpContainerClient
184
184
  # Calculates hash code according to all attributes.
185
185
  # @return [Integer] Hash code
186
186
  def hash
187
- [name, pulp_labels, description, retain_repo_versions, manifest_signing_service].hash
187
+ [pulp_labels, retain_repo_versions, name, manifest_signing_service, description].hash
188
188
  end
189
189
 
190
190
  # Builds the object from hash
@@ -15,65 +15,65 @@ require 'date'
15
15
  module PulpContainerClient
16
16
  # Serializer for Container Push Repositories.
17
17
  class ContainerContainerPushRepositoryResponse
18
- attr_accessor :versions_href
18
+ # Timestamp of creation.
19
+ attr_accessor :pulp_created
20
+
21
+ attr_accessor :pulp_labels
22
+
23
+ # 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.
24
+ attr_accessor :retain_repo_versions
19
25
 
20
26
  # A unique name for this repository.
21
27
  attr_accessor :name
22
28
 
23
- attr_accessor :pulp_href
24
-
25
- attr_accessor :pulp_labels
29
+ # A reference to an associated signing service.
30
+ attr_accessor :manifest_signing_service
26
31
 
27
32
  attr_accessor :latest_version_href
28
33
 
29
34
  # An optional description.
30
35
  attr_accessor :description
31
36
 
32
- # Timestamp of creation.
33
- attr_accessor :pulp_created
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 :retain_repo_versions
37
+ attr_accessor :versions_href
37
38
 
38
- # A reference to an associated signing service.
39
- attr_accessor :manifest_signing_service
39
+ attr_accessor :pulp_href
40
40
 
41
41
  # Attribute mapping from ruby-style variable name to JSON key.
42
42
  def self.attribute_map
43
43
  {
44
- :'versions_href' => :'versions_href',
45
- :'name' => :'name',
46
- :'pulp_href' => :'pulp_href',
44
+ :'pulp_created' => :'pulp_created',
47
45
  :'pulp_labels' => :'pulp_labels',
46
+ :'retain_repo_versions' => :'retain_repo_versions',
47
+ :'name' => :'name',
48
+ :'manifest_signing_service' => :'manifest_signing_service',
48
49
  :'latest_version_href' => :'latest_version_href',
49
50
  :'description' => :'description',
50
- :'pulp_created' => :'pulp_created',
51
- :'retain_repo_versions' => :'retain_repo_versions',
52
- :'manifest_signing_service' => :'manifest_signing_service'
51
+ :'versions_href' => :'versions_href',
52
+ :'pulp_href' => :'pulp_href'
53
53
  }
54
54
  end
55
55
 
56
56
  # Attribute type mapping.
57
57
  def self.openapi_types
58
58
  {
59
- :'versions_href' => :'String',
60
- :'name' => :'String',
61
- :'pulp_href' => :'String',
59
+ :'pulp_created' => :'DateTime',
62
60
  :'pulp_labels' => :'Object',
61
+ :'retain_repo_versions' => :'Integer',
62
+ :'name' => :'String',
63
+ :'manifest_signing_service' => :'String',
63
64
  :'latest_version_href' => :'String',
64
65
  :'description' => :'String',
65
- :'pulp_created' => :'DateTime',
66
- :'retain_repo_versions' => :'Integer',
67
- :'manifest_signing_service' => :'String'
66
+ :'versions_href' => :'String',
67
+ :'pulp_href' => :'String'
68
68
  }
69
69
  end
70
70
 
71
71
  # List of attributes with nullable: true
72
72
  def self.openapi_nullable
73
73
  Set.new([
74
- :'description',
75
74
  :'retain_repo_versions',
76
- :'manifest_signing_service'
75
+ :'manifest_signing_service',
76
+ :'description',
77
77
  ])
78
78
  end
79
79
 
@@ -92,20 +92,24 @@ module PulpContainerClient
92
92
  h[k.to_sym] = v
93
93
  }
94
94
 
95
- if attributes.key?(:'versions_href')
96
- self.versions_href = attributes[:'versions_href']
95
+ if attributes.key?(:'pulp_created')
96
+ self.pulp_created = attributes[:'pulp_created']
97
97
  end
98
98
 
99
- if attributes.key?(:'name')
100
- self.name = attributes[:'name']
99
+ if attributes.key?(:'pulp_labels')
100
+ self.pulp_labels = attributes[:'pulp_labels']
101
101
  end
102
102
 
103
- if attributes.key?(:'pulp_href')
104
- self.pulp_href = attributes[:'pulp_href']
103
+ if attributes.key?(:'retain_repo_versions')
104
+ self.retain_repo_versions = attributes[:'retain_repo_versions']
105
105
  end
106
106
 
107
- if attributes.key?(:'pulp_labels')
108
- self.pulp_labels = attributes[:'pulp_labels']
107
+ if attributes.key?(:'name')
108
+ self.name = attributes[:'name']
109
+ end
110
+
111
+ if attributes.key?(:'manifest_signing_service')
112
+ self.manifest_signing_service = attributes[:'manifest_signing_service']
109
113
  end
110
114
 
111
115
  if attributes.key?(:'latest_version_href')
@@ -116,16 +120,12 @@ module PulpContainerClient
116
120
  self.description = attributes[:'description']
117
121
  end
118
122
 
119
- if attributes.key?(:'pulp_created')
120
- self.pulp_created = attributes[:'pulp_created']
121
- end
122
-
123
- if attributes.key?(:'retain_repo_versions')
124
- self.retain_repo_versions = attributes[:'retain_repo_versions']
123
+ if attributes.key?(:'versions_href')
124
+ self.versions_href = attributes[:'versions_href']
125
125
  end
126
126
 
127
- if attributes.key?(:'manifest_signing_service')
128
- self.manifest_signing_service = attributes[:'manifest_signing_service']
127
+ if attributes.key?(:'pulp_href')
128
+ self.pulp_href = attributes[:'pulp_href']
129
129
  end
130
130
  end
131
131
 
@@ -133,22 +133,22 @@ module PulpContainerClient
133
133
  # @return Array for valid properties with the reasons
134
134
  def list_invalid_properties
135
135
  invalid_properties = Array.new
136
- if @name.nil?
137
- invalid_properties.push('invalid value for "name", name cannot be nil.')
138
- end
139
-
140
136
  if !@retain_repo_versions.nil? && @retain_repo_versions < 1
141
137
  invalid_properties.push('invalid value for "retain_repo_versions", must be greater than or equal to 1.')
142
138
  end
143
139
 
140
+ if @name.nil?
141
+ invalid_properties.push('invalid value for "name", name cannot be nil.')
142
+ end
143
+
144
144
  invalid_properties
145
145
  end
146
146
 
147
147
  # Check to see if the all the properties in the model are valid
148
148
  # @return true if the model is valid
149
149
  def valid?
150
- return false if @name.nil?
151
150
  return false if !@retain_repo_versions.nil? && @retain_repo_versions < 1
151
+ return false if @name.nil?
152
152
  true
153
153
  end
154
154
 
@@ -167,15 +167,15 @@ module PulpContainerClient
167
167
  def ==(o)
168
168
  return true if self.equal?(o)
169
169
  self.class == o.class &&
170
- versions_href == o.versions_href &&
171
- name == o.name &&
172
- pulp_href == o.pulp_href &&
170
+ pulp_created == o.pulp_created &&
173
171
  pulp_labels == o.pulp_labels &&
172
+ retain_repo_versions == o.retain_repo_versions &&
173
+ name == o.name &&
174
+ manifest_signing_service == o.manifest_signing_service &&
174
175
  latest_version_href == o.latest_version_href &&
175
176
  description == o.description &&
176
- pulp_created == o.pulp_created &&
177
- retain_repo_versions == o.retain_repo_versions &&
178
- manifest_signing_service == o.manifest_signing_service
177
+ versions_href == o.versions_href &&
178
+ pulp_href == o.pulp_href
179
179
  end
180
180
 
181
181
  # @see the `==` method
@@ -187,7 +187,7 @@ module PulpContainerClient
187
187
  # Calculates hash code according to all attributes.
188
188
  # @return [Integer] Hash code
189
189
  def hash
190
- [versions_href, name, pulp_href, pulp_labels, latest_version_href, description, pulp_created, retain_repo_versions, manifest_signing_service].hash
190
+ [pulp_created, pulp_labels, retain_repo_versions, name, manifest_signing_service, latest_version_href, description, versions_href, pulp_href].hash
191
191
  end
192
192
 
193
193
  # Builds the object from hash
@@ -39,13 +39,13 @@ module PulpContainerClient
39
39
  # The username to authenticte to the proxy.
40
40
  attr_accessor :proxy_username
41
41
 
42
- # The password to authenticte to the proxy.
42
+ # The password to authenticate to the proxy. Extra leading and trailing whitespace characters are not trimmed.
43
43
  attr_accessor :proxy_password
44
44
 
45
45
  # The username to be used for authentication when syncing.
46
46
  attr_accessor :username
47
47
 
48
- # The password to be used for authentication when syncing.
48
+ # The password to be used for authentication when syncing. Extra leading and trailing whitespace characters are not trimmed.
49
49
  attr_accessor :password
50
50
 
51
51
  attr_accessor :pulp_labels
@@ -15,10 +15,10 @@ require 'date'
15
15
  module PulpContainerClient
16
16
  # Serializer for building an OCI container image from a Containerfile. The Containerfile can either be specified via an artifact url, or a new file can be uploaded. A repository must be specified, to which the container image content will be added.
17
17
  class OCIBuildImage
18
- # Artifact representing the Containerfile that should be used to run buildah.
18
+ # Artifact representing the Containerfile that should be used to run podman-build.
19
19
  attr_accessor :containerfile_artifact
20
20
 
21
- # An uploaded Containerfile that should be used to run buildah.
21
+ # An uploaded Containerfile that should be used to run podman-build.
22
22
  attr_accessor :containerfile
23
23
 
24
24
  # A tag name for the new image being built.