pulp_container_client 2.19.3 → 2.19.4

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 (107) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +5 -7
  3. data/docs/ContainerBlobResponse.md +2 -0
  4. data/docs/ContainerContainerDistribution.md +9 -9
  5. data/docs/ContainerContainerDistributionResponse.md +12 -10
  6. data/docs/ContainerContainerNamespaceResponse.md +2 -0
  7. data/docs/ContainerContainerPullThroughDistribution.md +9 -9
  8. data/docs/ContainerContainerPullThroughDistributionResponse.md +12 -10
  9. data/docs/ContainerContainerPullThroughRemoteResponse.md +2 -2
  10. data/docs/ContainerContainerPullThroughRemoteResponseHiddenFields.md +2 -2
  11. data/docs/ContainerContainerPushRepository.md +5 -5
  12. data/docs/ContainerContainerPushRepositoryResponse.md +12 -10
  13. data/docs/ContainerContainerRemoteResponse.md +2 -2
  14. data/docs/ContainerContainerRepositoryResponse.md +2 -0
  15. data/docs/ContainerManifestResponse.md +2 -0
  16. data/docs/ContainerManifestSignatureResponse.md +2 -0
  17. data/docs/ContainerTagResponse.md +2 -0
  18. data/docs/ContentBlobsApi.md +1 -1
  19. data/docs/ContentManifestsApi.md +1 -1
  20. data/docs/ContentSignaturesApi.md +1 -1
  21. data/docs/ContentTagsApi.md +1 -1
  22. data/docs/DistributionsContainerApi.md +1 -1
  23. data/docs/DistributionsPullThroughApi.md +1 -1
  24. data/docs/PaginatedRepositoryVersionResponseList.md +2 -2
  25. data/docs/PaginatedcontainerBlobResponseList.md +2 -2
  26. data/docs/PaginatedcontainerContainerDistributionResponseList.md +2 -2
  27. data/docs/PaginatedcontainerContainerNamespaceResponseList.md +2 -2
  28. data/docs/PaginatedcontainerContainerPullThroughDistributionResponseList.md +2 -2
  29. data/docs/PaginatedcontainerContainerPullThroughRemoteResponseList.md +2 -2
  30. data/docs/PaginatedcontainerContainerPushRepositoryResponseList.md +2 -2
  31. data/docs/PaginatedcontainerContainerRemoteResponseList.md +2 -2
  32. data/docs/PaginatedcontainerContainerRepositoryResponseList.md +2 -2
  33. data/docs/PaginatedcontainerManifestResponseList.md +2 -2
  34. data/docs/PaginatedcontainerManifestSignatureResponseList.md +2 -2
  35. data/docs/PaginatedcontainerTagResponseList.md +2 -2
  36. data/docs/PatchedcontainerContainerDistribution.md +9 -9
  37. data/docs/PatchedcontainerContainerPullThroughDistribution.md +9 -9
  38. data/docs/PatchedcontainerContainerPushRepository.md +5 -5
  39. data/docs/PulpContainerNamespacesApi.md +1 -1
  40. data/docs/RemotesContainerApi.md +1 -1
  41. data/docs/RemotesPullThroughApi.md +1 -1
  42. data/docs/RepositoriesContainerApi.md +1 -1
  43. data/docs/RepositoriesContainerPushApi.md +1 -1
  44. data/docs/RepositoriesContainerPushVersionsApi.md +1 -1
  45. data/docs/RepositoriesContainerVersionsApi.md +1 -1
  46. data/docs/RepositoryVersionResponse.md +2 -0
  47. data/docs/TokenApi.md +1 -1
  48. data/lib/pulp_container_client/configuration.rb +2 -2
  49. data/lib/pulp_container_client/models/container_blob_response.rb +11 -1
  50. data/lib/pulp_container_client/models/container_container_distribution.rb +36 -36
  51. data/lib/pulp_container_client/models/container_container_distribution_response.rb +52 -42
  52. data/lib/pulp_container_client/models/container_container_namespace_response.rb +11 -1
  53. data/lib/pulp_container_client/models/container_container_pull_through_distribution.rb +36 -36
  54. data/lib/pulp_container_client/models/container_container_pull_through_distribution_response.rb +52 -42
  55. data/lib/pulp_container_client/models/container_container_pull_through_remote_response.rb +11 -11
  56. data/lib/pulp_container_client/models/container_container_pull_through_remote_response_hidden_fields.rb +10 -0
  57. data/lib/pulp_container_client/models/container_container_push_repository.rb +39 -39
  58. data/lib/pulp_container_client/models/container_container_push_repository_response.rb +49 -39
  59. data/lib/pulp_container_client/models/container_container_remote_response.rb +11 -11
  60. data/lib/pulp_container_client/models/container_container_repository_response.rb +11 -1
  61. data/lib/pulp_container_client/models/container_manifest_response.rb +11 -1
  62. data/lib/pulp_container_client/models/container_manifest_signature_response.rb +11 -1
  63. data/lib/pulp_container_client/models/container_tag_response.rb +11 -1
  64. data/lib/pulp_container_client/models/paginated_repository_version_response_list.rb +10 -0
  65. data/lib/pulp_container_client/models/paginatedcontainer_blob_response_list.rb +10 -0
  66. data/lib/pulp_container_client/models/paginatedcontainer_container_distribution_response_list.rb +10 -0
  67. data/lib/pulp_container_client/models/paginatedcontainer_container_namespace_response_list.rb +10 -0
  68. data/lib/pulp_container_client/models/paginatedcontainer_container_pull_through_distribution_response_list.rb +10 -0
  69. data/lib/pulp_container_client/models/paginatedcontainer_container_pull_through_remote_response_list.rb +10 -0
  70. data/lib/pulp_container_client/models/paginatedcontainer_container_push_repository_response_list.rb +10 -0
  71. data/lib/pulp_container_client/models/paginatedcontainer_container_remote_response_list.rb +10 -0
  72. data/lib/pulp_container_client/models/paginatedcontainer_container_repository_response_list.rb +10 -0
  73. data/lib/pulp_container_client/models/paginatedcontainer_manifest_response_list.rb +10 -0
  74. data/lib/pulp_container_client/models/paginatedcontainer_manifest_signature_response_list.rb +10 -0
  75. data/lib/pulp_container_client/models/paginatedcontainer_tag_response_list.rb +10 -0
  76. data/lib/pulp_container_client/models/patchedcontainer_container_distribution.rb +36 -36
  77. data/lib/pulp_container_client/models/patchedcontainer_container_pull_through_distribution.rb +36 -36
  78. data/lib/pulp_container_client/models/patchedcontainer_container_push_repository.rb +39 -39
  79. data/lib/pulp_container_client/models/repository_version_response.rb +11 -1
  80. data/lib/pulp_container_client/version.rb +1 -1
  81. data/lib/pulp_container_client.rb +0 -2
  82. data/spec/configuration_spec.rb +3 -3
  83. data/spec/models/container_blob_response_spec.rb +6 -0
  84. data/spec/models/container_container_distribution_response_spec.rb +12 -6
  85. data/spec/models/container_container_distribution_spec.rb +5 -5
  86. data/spec/models/container_container_namespace_response_spec.rb +6 -0
  87. data/spec/models/container_container_pull_through_distribution_response_spec.rb +12 -6
  88. data/spec/models/container_container_pull_through_distribution_spec.rb +5 -5
  89. data/spec/models/container_container_pull_through_remote_response_spec.rb +6 -6
  90. data/spec/models/container_container_push_repository_response_spec.rb +12 -6
  91. data/spec/models/container_container_push_repository_spec.rb +4 -4
  92. data/spec/models/container_container_remote_response_spec.rb +6 -6
  93. data/spec/models/container_container_repository_response_spec.rb +6 -0
  94. data/spec/models/container_manifest_response_spec.rb +6 -0
  95. data/spec/models/container_manifest_signature_response_spec.rb +6 -0
  96. data/spec/models/container_tag_response_spec.rb +6 -0
  97. data/spec/models/patchedcontainer_container_distribution_spec.rb +5 -5
  98. data/spec/models/patchedcontainer_container_pull_through_distribution_spec.rb +5 -5
  99. data/spec/models/patchedcontainer_container_push_repository_spec.rb +4 -4
  100. data/spec/models/repository_version_response_spec.rb +6 -0
  101. metadata +76 -84
  102. data/docs/IndexDynamicApi.md +0 -50
  103. data/docs/IndexStaticApi.md +0 -50
  104. data/lib/pulp_container_client/api/index_dynamic_api.rb +0 -74
  105. data/lib/pulp_container_client/api/index_static_api.rb +0 -74
  106. data/spec/api/index_dynamic_api_spec.rb +0 -45
  107. data/spec/api/index_static_api_spec.rb +0 -45
@@ -88,12 +88,22 @@ module PulpContainerClient
88
88
  # @return Array for valid properties with the reasons
89
89
  def list_invalid_properties
90
90
  invalid_properties = Array.new
91
+ if @count.nil?
92
+ invalid_properties.push('invalid value for "count", count cannot be nil.')
93
+ end
94
+
95
+ if @results.nil?
96
+ invalid_properties.push('invalid value for "results", results cannot be nil.')
97
+ end
98
+
91
99
  invalid_properties
92
100
  end
93
101
 
94
102
  # Check to see if the all the properties in the model are valid
95
103
  # @return true if the model is valid
96
104
  def valid?
105
+ return false if @count.nil?
106
+ return false if @results.nil?
97
107
  true
98
108
  end
99
109
 
@@ -88,12 +88,22 @@ module PulpContainerClient
88
88
  # @return Array for valid properties with the reasons
89
89
  def list_invalid_properties
90
90
  invalid_properties = Array.new
91
+ if @count.nil?
92
+ invalid_properties.push('invalid value for "count", count cannot be nil.')
93
+ end
94
+
95
+ if @results.nil?
96
+ invalid_properties.push('invalid value for "results", results cannot be nil.')
97
+ end
98
+
91
99
  invalid_properties
92
100
  end
93
101
 
94
102
  # Check to see if the all the properties in the model are valid
95
103
  # @return true if the model is valid
96
104
  def valid?
105
+ return false if @count.nil?
106
+ return false if @results.nil?
97
107
  true
98
108
  end
99
109
 
@@ -88,12 +88,22 @@ module PulpContainerClient
88
88
  # @return Array for valid properties with the reasons
89
89
  def list_invalid_properties
90
90
  invalid_properties = Array.new
91
+ if @count.nil?
92
+ invalid_properties.push('invalid value for "count", count cannot be nil.')
93
+ end
94
+
95
+ if @results.nil?
96
+ invalid_properties.push('invalid value for "results", results cannot be nil.')
97
+ end
98
+
91
99
  invalid_properties
92
100
  end
93
101
 
94
102
  # Check to see if the all the properties in the model are valid
95
103
  # @return true if the model is valid
96
104
  def valid?
105
+ return false if @count.nil?
106
+ return false if @results.nil?
97
107
  true
98
108
  end
99
109
 
@@ -88,12 +88,22 @@ module PulpContainerClient
88
88
  # @return Array for valid properties with the reasons
89
89
  def list_invalid_properties
90
90
  invalid_properties = Array.new
91
+ if @count.nil?
92
+ invalid_properties.push('invalid value for "count", count cannot be nil.')
93
+ end
94
+
95
+ if @results.nil?
96
+ invalid_properties.push('invalid value for "results", results cannot be nil.')
97
+ end
98
+
91
99
  invalid_properties
92
100
  end
93
101
 
94
102
  # Check to see if the all the properties in the model are valid
95
103
  # @return true if the model is valid
96
104
  def valid?
105
+ return false if @count.nil?
106
+ return false if @results.nil?
97
107
  true
98
108
  end
99
109
 
@@ -15,22 +15,22 @@ require 'date'
15
15
  module PulpContainerClient
16
16
  # A serializer for ContainerDistribution.
17
17
  class PatchedcontainerContainerDistribution
18
- # The base (relative) path component of the published url. Avoid paths that overlap with other distribution base paths (e.g. \"foo\" and \"foo/bar\")
19
- attr_accessor :base_path
18
+ # Whether this distribution should be shown in the content app.
19
+ attr_accessor :hidden
20
20
 
21
- # A unique name. Ex, `rawhide` and `stable`.
22
- attr_accessor :name
21
+ attr_accessor :pulp_labels
23
22
 
24
- # An optional content-guard. If none is specified, a default one will be used.
25
- attr_accessor :content_guard
23
+ # The base (relative) path component of the published url. Avoid paths that overlap with other distribution base paths (e.g. \"foo\" and \"foo/bar\")
24
+ attr_accessor :base_path
26
25
 
27
26
  # The latest RepositoryVersion for this Repository will be served.
28
27
  attr_accessor :repository
29
28
 
30
- # Whether this distribution should be shown in the content app.
31
- attr_accessor :hidden
29
+ # An optional content-guard. If none is specified, a default one will be used.
30
+ attr_accessor :content_guard
32
31
 
33
- attr_accessor :pulp_labels
32
+ # A unique name. Ex, `rawhide` and `stable`.
33
+ attr_accessor :name
34
34
 
35
35
  # RepositoryVersion to be served
36
36
  attr_accessor :repository_version
@@ -44,12 +44,12 @@ module PulpContainerClient
44
44
  # Attribute mapping from ruby-style variable name to JSON key.
45
45
  def self.attribute_map
46
46
  {
47
- :'base_path' => :'base_path',
48
- :'name' => :'name',
49
- :'content_guard' => :'content_guard',
50
- :'repository' => :'repository',
51
47
  :'hidden' => :'hidden',
52
48
  :'pulp_labels' => :'pulp_labels',
49
+ :'base_path' => :'base_path',
50
+ :'repository' => :'repository',
51
+ :'content_guard' => :'content_guard',
52
+ :'name' => :'name',
53
53
  :'repository_version' => :'repository_version',
54
54
  :'private' => :'private',
55
55
  :'description' => :'description'
@@ -59,12 +59,12 @@ module PulpContainerClient
59
59
  # Attribute type mapping.
60
60
  def self.openapi_types
61
61
  {
62
- :'base_path' => :'String',
63
- :'name' => :'String',
64
- :'content_guard' => :'String',
65
- :'repository' => :'String',
66
62
  :'hidden' => :'Boolean',
67
63
  :'pulp_labels' => :'Hash<String, String>',
64
+ :'base_path' => :'String',
65
+ :'repository' => :'String',
66
+ :'content_guard' => :'String',
67
+ :'name' => :'String',
68
68
  :'repository_version' => :'String',
69
69
  :'private' => :'Boolean',
70
70
  :'description' => :'String'
@@ -95,32 +95,32 @@ module PulpContainerClient
95
95
  h[k.to_sym] = v
96
96
  }
97
97
 
98
- if attributes.key?(:'base_path')
99
- self.base_path = attributes[:'base_path']
98
+ if attributes.key?(:'hidden')
99
+ self.hidden = attributes[:'hidden']
100
+ else
101
+ self.hidden = false
100
102
  end
101
103
 
102
- if attributes.key?(:'name')
103
- self.name = attributes[:'name']
104
+ if attributes.key?(:'pulp_labels')
105
+ if (value = attributes[:'pulp_labels']).is_a?(Hash)
106
+ self.pulp_labels = value
107
+ end
104
108
  end
105
109
 
106
- if attributes.key?(:'content_guard')
107
- self.content_guard = attributes[:'content_guard']
110
+ if attributes.key?(:'base_path')
111
+ self.base_path = attributes[:'base_path']
108
112
  end
109
113
 
110
114
  if attributes.key?(:'repository')
111
115
  self.repository = attributes[:'repository']
112
116
  end
113
117
 
114
- if attributes.key?(:'hidden')
115
- self.hidden = attributes[:'hidden']
116
- else
117
- self.hidden = false
118
+ if attributes.key?(:'content_guard')
119
+ self.content_guard = attributes[:'content_guard']
118
120
  end
119
121
 
120
- if attributes.key?(:'pulp_labels')
121
- if (value = attributes[:'pulp_labels']).is_a?(Hash)
122
- self.pulp_labels = value
123
- end
122
+ if attributes.key?(:'name')
123
+ self.name = attributes[:'name']
124
124
  end
125
125
 
126
126
  if attributes.key?(:'repository_version')
@@ -199,12 +199,12 @@ module PulpContainerClient
199
199
  def ==(o)
200
200
  return true if self.equal?(o)
201
201
  self.class == o.class &&
202
- base_path == o.base_path &&
203
- name == o.name &&
204
- content_guard == o.content_guard &&
205
- repository == o.repository &&
206
202
  hidden == o.hidden &&
207
203
  pulp_labels == o.pulp_labels &&
204
+ base_path == o.base_path &&
205
+ repository == o.repository &&
206
+ content_guard == o.content_guard &&
207
+ name == o.name &&
208
208
  repository_version == o.repository_version &&
209
209
  private == o.private &&
210
210
  description == o.description
@@ -219,7 +219,7 @@ module PulpContainerClient
219
219
  # Calculates hash code according to all attributes.
220
220
  # @return [Integer] Hash code
221
221
  def hash
222
- [base_path, name, content_guard, repository, hidden, pulp_labels, repository_version, private, description].hash
222
+ [hidden, pulp_labels, base_path, repository, content_guard, name, repository_version, private, description].hash
223
223
  end
224
224
 
225
225
  # Builds the object from hash
@@ -15,22 +15,22 @@ require 'date'
15
15
  module PulpContainerClient
16
16
  # A serializer for a specialized pull-through distribution referencing sub-distributions.
17
17
  class PatchedcontainerContainerPullThroughDistribution
18
- # The base (relative) path component of the published url. Avoid paths that overlap with other distribution base paths (e.g. \"foo\" and \"foo/bar\")
19
- attr_accessor :base_path
18
+ # Whether this distribution should be shown in the content app.
19
+ attr_accessor :hidden
20
20
 
21
- # A unique name. Ex, `rawhide` and `stable`.
22
- attr_accessor :name
21
+ attr_accessor :pulp_labels
23
22
 
24
- # An optional content-guard. If none is specified, a default one will be used.
25
- attr_accessor :content_guard
23
+ # The base (relative) path component of the published url. Avoid paths that overlap with other distribution base paths (e.g. \"foo\" and \"foo/bar\")
24
+ attr_accessor :base_path
26
25
 
27
26
  # The latest RepositoryVersion for this Repository will be served.
28
27
  attr_accessor :repository
29
28
 
30
- # Whether this distribution should be shown in the content app.
31
- attr_accessor :hidden
29
+ # An optional content-guard. If none is specified, a default one will be used.
30
+ attr_accessor :content_guard
32
31
 
33
- attr_accessor :pulp_labels
32
+ # A unique name. Ex, `rawhide` and `stable`.
33
+ attr_accessor :name
34
34
 
35
35
  # Remote that can be used to fetch content when using pull-through caching.
36
36
  attr_accessor :remote
@@ -47,12 +47,12 @@ module PulpContainerClient
47
47
  # Attribute mapping from ruby-style variable name to JSON key.
48
48
  def self.attribute_map
49
49
  {
50
- :'base_path' => :'base_path',
51
- :'name' => :'name',
52
- :'content_guard' => :'content_guard',
53
- :'repository' => :'repository',
54
50
  :'hidden' => :'hidden',
55
51
  :'pulp_labels' => :'pulp_labels',
52
+ :'base_path' => :'base_path',
53
+ :'repository' => :'repository',
54
+ :'content_guard' => :'content_guard',
55
+ :'name' => :'name',
56
56
  :'remote' => :'remote',
57
57
  :'distributions' => :'distributions',
58
58
  :'private' => :'private',
@@ -63,12 +63,12 @@ module PulpContainerClient
63
63
  # Attribute type mapping.
64
64
  def self.openapi_types
65
65
  {
66
- :'base_path' => :'String',
67
- :'name' => :'String',
68
- :'content_guard' => :'String',
69
- :'repository' => :'String',
70
66
  :'hidden' => :'Boolean',
71
67
  :'pulp_labels' => :'Hash<String, String>',
68
+ :'base_path' => :'String',
69
+ :'repository' => :'String',
70
+ :'content_guard' => :'String',
71
+ :'name' => :'String',
72
72
  :'remote' => :'String',
73
73
  :'distributions' => :'Array<String>',
74
74
  :'private' => :'Boolean',
@@ -99,32 +99,32 @@ module PulpContainerClient
99
99
  h[k.to_sym] = v
100
100
  }
101
101
 
102
- if attributes.key?(:'base_path')
103
- self.base_path = attributes[:'base_path']
102
+ if attributes.key?(:'hidden')
103
+ self.hidden = attributes[:'hidden']
104
+ else
105
+ self.hidden = false
104
106
  end
105
107
 
106
- if attributes.key?(:'name')
107
- self.name = attributes[:'name']
108
+ if attributes.key?(:'pulp_labels')
109
+ if (value = attributes[:'pulp_labels']).is_a?(Hash)
110
+ self.pulp_labels = value
111
+ end
108
112
  end
109
113
 
110
- if attributes.key?(:'content_guard')
111
- self.content_guard = attributes[:'content_guard']
114
+ if attributes.key?(:'base_path')
115
+ self.base_path = attributes[:'base_path']
112
116
  end
113
117
 
114
118
  if attributes.key?(:'repository')
115
119
  self.repository = attributes[:'repository']
116
120
  end
117
121
 
118
- if attributes.key?(:'hidden')
119
- self.hidden = attributes[:'hidden']
120
- else
121
- self.hidden = false
122
+ if attributes.key?(:'content_guard')
123
+ self.content_guard = attributes[:'content_guard']
122
124
  end
123
125
 
124
- if attributes.key?(:'pulp_labels')
125
- if (value = attributes[:'pulp_labels']).is_a?(Hash)
126
- self.pulp_labels = value
127
- end
126
+ if attributes.key?(:'name')
127
+ self.name = attributes[:'name']
128
128
  end
129
129
 
130
130
  if attributes.key?(:'remote')
@@ -209,12 +209,12 @@ module PulpContainerClient
209
209
  def ==(o)
210
210
  return true if self.equal?(o)
211
211
  self.class == o.class &&
212
- base_path == o.base_path &&
213
- name == o.name &&
214
- content_guard == o.content_guard &&
215
- repository == o.repository &&
216
212
  hidden == o.hidden &&
217
213
  pulp_labels == o.pulp_labels &&
214
+ base_path == o.base_path &&
215
+ repository == o.repository &&
216
+ content_guard == o.content_guard &&
217
+ name == o.name &&
218
218
  remote == o.remote &&
219
219
  distributions == o.distributions &&
220
220
  private == o.private &&
@@ -230,7 +230,7 @@ module PulpContainerClient
230
230
  # Calculates hash code according to all attributes.
231
231
  # @return [Integer] Hash code
232
232
  def hash
233
- [base_path, name, content_guard, repository, hidden, pulp_labels, remote, distributions, private, description].hash
233
+ [hidden, pulp_labels, base_path, repository, content_guard, name, remote, distributions, private, description].hash
234
234
  end
235
235
 
236
236
  # Builds the object from hash
@@ -18,25 +18,25 @@ module PulpContainerClient
18
18
  # Retain X versions of the repository. Default is null which retains all versions.
19
19
  attr_accessor :retain_repo_versions
20
20
 
21
+ # An optional description.
22
+ attr_accessor :description
23
+
21
24
  # A reference to an associated signing service.
22
25
  attr_accessor :manifest_signing_service
23
26
 
27
+ attr_accessor :pulp_labels
28
+
24
29
  # A unique name for this repository.
25
30
  attr_accessor :name
26
31
 
27
- # An optional description.
28
- attr_accessor :description
29
-
30
- attr_accessor :pulp_labels
31
-
32
32
  # Attribute mapping from ruby-style variable name to JSON key.
33
33
  def self.attribute_map
34
34
  {
35
35
  :'retain_repo_versions' => :'retain_repo_versions',
36
- :'manifest_signing_service' => :'manifest_signing_service',
37
- :'name' => :'name',
38
36
  :'description' => :'description',
39
- :'pulp_labels' => :'pulp_labels'
37
+ :'manifest_signing_service' => :'manifest_signing_service',
38
+ :'pulp_labels' => :'pulp_labels',
39
+ :'name' => :'name'
40
40
  }
41
41
  end
42
42
 
@@ -44,10 +44,10 @@ module PulpContainerClient
44
44
  def self.openapi_types
45
45
  {
46
46
  :'retain_repo_versions' => :'Integer',
47
- :'manifest_signing_service' => :'String',
48
- :'name' => :'String',
49
47
  :'description' => :'String',
50
- :'pulp_labels' => :'Hash<String, String>'
48
+ :'manifest_signing_service' => :'String',
49
+ :'pulp_labels' => :'Hash<String, String>',
50
+ :'name' => :'String'
51
51
  }
52
52
  end
53
53
 
@@ -55,8 +55,8 @@ module PulpContainerClient
55
55
  def self.openapi_nullable
56
56
  Set.new([
57
57
  :'retain_repo_versions',
58
- :'manifest_signing_service',
59
58
  :'description',
59
+ :'manifest_signing_service',
60
60
  ])
61
61
  end
62
62
 
@@ -79,23 +79,23 @@ module PulpContainerClient
79
79
  self.retain_repo_versions = attributes[:'retain_repo_versions']
80
80
  end
81
81
 
82
- if attributes.key?(:'manifest_signing_service')
83
- self.manifest_signing_service = attributes[:'manifest_signing_service']
84
- end
85
-
86
- if attributes.key?(:'name')
87
- self.name = attributes[:'name']
88
- end
89
-
90
82
  if attributes.key?(:'description')
91
83
  self.description = attributes[:'description']
92
84
  end
93
85
 
86
+ if attributes.key?(:'manifest_signing_service')
87
+ self.manifest_signing_service = attributes[:'manifest_signing_service']
88
+ end
89
+
94
90
  if attributes.key?(:'pulp_labels')
95
91
  if (value = attributes[:'pulp_labels']).is_a?(Hash)
96
92
  self.pulp_labels = value
97
93
  end
98
94
  end
95
+
96
+ if attributes.key?(:'name')
97
+ self.name = attributes[:'name']
98
+ end
99
99
  end
100
100
 
101
101
  # Show invalid properties with the reasons. Usually used together with valid?
@@ -106,14 +106,14 @@ module PulpContainerClient
106
106
  invalid_properties.push('invalid value for "retain_repo_versions", must be greater than or equal to 1.')
107
107
  end
108
108
 
109
- if !@name.nil? && @name.to_s.length < 1
110
- invalid_properties.push('invalid value for "name", the character length must be great than or equal to 1.')
111
- end
112
-
113
109
  if !@description.nil? && @description.to_s.length < 1
114
110
  invalid_properties.push('invalid value for "description", the character length must be great than or equal to 1.')
115
111
  end
116
112
 
113
+ if !@name.nil? && @name.to_s.length < 1
114
+ invalid_properties.push('invalid value for "name", the character length must be great than or equal to 1.')
115
+ end
116
+
117
117
  invalid_properties
118
118
  end
119
119
 
@@ -121,8 +121,8 @@ module PulpContainerClient
121
121
  # @return true if the model is valid
122
122
  def valid?
123
123
  return false if !@retain_repo_versions.nil? && @retain_repo_versions < 1
124
- return false if !@name.nil? && @name.to_s.length < 1
125
124
  return false if !@description.nil? && @description.to_s.length < 1
125
+ return false if !@name.nil? && @name.to_s.length < 1
126
126
  true
127
127
  end
128
128
 
@@ -136,16 +136,6 @@ module PulpContainerClient
136
136
  @retain_repo_versions = retain_repo_versions
137
137
  end
138
138
 
139
- # Custom attribute writer method with validation
140
- # @param [Object] name Value to be assigned
141
- def name=(name)
142
- if !name.nil? && name.to_s.length < 1
143
- fail ArgumentError, 'invalid value for "name", the character length must be great than or equal to 1.'
144
- end
145
-
146
- @name = name
147
- end
148
-
149
139
  # Custom attribute writer method with validation
150
140
  # @param [Object] description Value to be assigned
151
141
  def description=(description)
@@ -156,16 +146,26 @@ module PulpContainerClient
156
146
  @description = description
157
147
  end
158
148
 
149
+ # Custom attribute writer method with validation
150
+ # @param [Object] name Value to be assigned
151
+ def name=(name)
152
+ if !name.nil? && name.to_s.length < 1
153
+ fail ArgumentError, 'invalid value for "name", the character length must be great than or equal to 1.'
154
+ end
155
+
156
+ @name = name
157
+ end
158
+
159
159
  # Checks equality by comparing each attribute.
160
160
  # @param [Object] Object to be compared
161
161
  def ==(o)
162
162
  return true if self.equal?(o)
163
163
  self.class == o.class &&
164
164
  retain_repo_versions == o.retain_repo_versions &&
165
- manifest_signing_service == o.manifest_signing_service &&
166
- name == o.name &&
167
165
  description == o.description &&
168
- pulp_labels == o.pulp_labels
166
+ manifest_signing_service == o.manifest_signing_service &&
167
+ pulp_labels == o.pulp_labels &&
168
+ name == o.name
169
169
  end
170
170
 
171
171
  # @see the `==` method
@@ -177,7 +177,7 @@ module PulpContainerClient
177
177
  # Calculates hash code according to all attributes.
178
178
  # @return [Integer] Hash code
179
179
  def hash
180
- [retain_repo_versions, manifest_signing_service, name, description, pulp_labels].hash
180
+ [retain_repo_versions, description, manifest_signing_service, pulp_labels, name].hash
181
181
  end
182
182
 
183
183
  # Builds the object from hash
@@ -20,6 +20,9 @@ module PulpContainerClient
20
20
  # Timestamp of creation.
21
21
  attr_accessor :pulp_created
22
22
 
23
+ # Timestamp of the last time this resource was updated. Note: for immutable resources - like content, repository versions, and publication - pulp_created and pulp_last_updated dates will be the same.
24
+ attr_accessor :pulp_last_updated
25
+
23
26
  attr_accessor :number
24
27
 
25
28
  attr_accessor :repository
@@ -35,6 +38,7 @@ module PulpContainerClient
35
38
  {
36
39
  :'pulp_href' => :'pulp_href',
37
40
  :'pulp_created' => :'pulp_created',
41
+ :'pulp_last_updated' => :'pulp_last_updated',
38
42
  :'number' => :'number',
39
43
  :'repository' => :'repository',
40
44
  :'base_version' => :'base_version',
@@ -47,6 +51,7 @@ module PulpContainerClient
47
51
  {
48
52
  :'pulp_href' => :'String',
49
53
  :'pulp_created' => :'DateTime',
54
+ :'pulp_last_updated' => :'DateTime',
50
55
  :'number' => :'Integer',
51
56
  :'repository' => :'String',
52
57
  :'base_version' => :'String',
@@ -83,6 +88,10 @@ module PulpContainerClient
83
88
  self.pulp_created = attributes[:'pulp_created']
84
89
  end
85
90
 
91
+ if attributes.key?(:'pulp_last_updated')
92
+ self.pulp_last_updated = attributes[:'pulp_last_updated']
93
+ end
94
+
86
95
  if attributes.key?(:'number')
87
96
  self.number = attributes[:'number']
88
97
  end
@@ -120,6 +129,7 @@ module PulpContainerClient
120
129
  self.class == o.class &&
121
130
  pulp_href == o.pulp_href &&
122
131
  pulp_created == o.pulp_created &&
132
+ pulp_last_updated == o.pulp_last_updated &&
123
133
  number == o.number &&
124
134
  repository == o.repository &&
125
135
  base_version == o.base_version &&
@@ -135,7 +145,7 @@ module PulpContainerClient
135
145
  # Calculates hash code according to all attributes.
136
146
  # @return [Integer] Hash code
137
147
  def hash
138
- [pulp_href, pulp_created, number, repository, base_version, content_summary].hash
148
+ [pulp_href, pulp_created, pulp_last_updated, number, repository, base_version, content_summary].hash
139
149
  end
140
150
 
141
151
  # Builds the object from hash
@@ -11,5 +11,5 @@ OpenAPI Generator version: 4.3.1
11
11
  =end
12
12
 
13
13
  module PulpContainerClient
14
- VERSION = '2.19.3'
14
+ VERSION = '2.19.4'
15
15
  end
@@ -88,8 +88,6 @@ require 'pulp_container_client/api/content_signatures_api'
88
88
  require 'pulp_container_client/api/content_tags_api'
89
89
  require 'pulp_container_client/api/distributions_container_api'
90
90
  require 'pulp_container_client/api/distributions_pull_through_api'
91
- require 'pulp_container_client/api/index_dynamic_api'
92
- require 'pulp_container_client/api/index_static_api'
93
91
  require 'pulp_container_client/api/pulp_container_namespaces_api'
94
92
  require 'pulp_container_client/api/remotes_container_api'
95
93
  require 'pulp_container_client/api/remotes_pull_through_api'
@@ -18,7 +18,7 @@ describe PulpContainerClient::Configuration do
18
18
  before(:each) do
19
19
  # uncomment below to setup host and base_path
20
20
  # require 'URI'
21
- # uri = URI.parse("http://pulp")
21
+ # uri = URI.parse("http://localhost:24817")
22
22
  # PulpContainerClient.configure do |c|
23
23
  # c.host = uri.host
24
24
  # c.base_path = uri.path
@@ -28,14 +28,14 @@ describe PulpContainerClient::Configuration do
28
28
  describe '#base_url' do
29
29
  it 'should have the default value' do
30
30
  # uncomment below to test default value of the base path
31
- # expect(config.base_url).to eq("http://pulp")
31
+ # expect(config.base_url).to eq("http://localhost:24817")
32
32
  end
33
33
 
34
34
  it 'should remove trailing slashes' do
35
35
  [nil, '', '/', '//'].each do |base_path|
36
36
  config.base_path = base_path
37
37
  # uncomment below to test trailing slashes
38
- # expect(config.base_url).to eq("http://pulp")
38
+ # expect(config.base_url).to eq("http://localhost:24817")
39
39
  end
40
40
  end
41
41
  end
@@ -44,6 +44,12 @@ describe 'ContainerBlobResponse' do
44
44
  end
45
45
  end
46
46
 
47
+ describe 'test attribute "pulp_last_updated"' do
48
+ it 'should work' do
49
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
50
+ end
51
+ end
52
+
47
53
  describe 'test attribute "artifact"' do
48
54
  it 'should work' do
49
55
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers