pulp_container_client 2.1.0 → 2.1.1

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 (73) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +13 -13
  3. data/docs/ContainerContainerDistribution.md +7 -7
  4. data/docs/ContainerContainerDistributionResponse.md +9 -9
  5. data/docs/ContentBlobsApi.md +2 -2
  6. data/docs/ContentManifestsApi.md +2 -2
  7. data/docs/ContentTagsApi.md +2 -2
  8. data/docs/ContentguardsContentRedirectApi.md +2 -2
  9. data/docs/DistributionsContainerApi.md +2 -2
  10. data/docs/{InlineResponse2008.md → PaginatedRepositoryVersionResponseList.md} +4 -4
  11. data/docs/{InlineResponse200.md → PaginatedcontainerBlobResponseList.md} +4 -4
  12. data/docs/{InlineResponse2004.md → PaginatedcontainerContainerDistributionResponseList.md} +4 -4
  13. data/docs/{InlineResponse2007.md → PaginatedcontainerContainerPushRepositoryResponseList.md} +4 -4
  14. data/docs/{InlineResponse2005.md → PaginatedcontainerContainerRemoteResponseList.md} +4 -4
  15. data/docs/{InlineResponse2006.md → PaginatedcontainerContainerRepositoryResponseList.md} +4 -4
  16. data/docs/{InlineResponse2003.md → PaginatedcontainerContentRedirectContentGuardResponseList.md} +4 -4
  17. data/docs/{InlineResponse2001.md → PaginatedcontainerManifestResponseList.md} +4 -4
  18. data/docs/{InlineResponse2002.md → PaginatedcontainerTagResponseList.md} +4 -4
  19. data/docs/PatchedcontainerContainerDistribution.md +7 -7
  20. data/docs/RemotesContainerApi.md +2 -2
  21. data/docs/RepositoriesContainerApi.md +2 -2
  22. data/docs/RepositoriesContainerPushApi.md +2 -2
  23. data/docs/RepositoriesContainerVersionsApi.md +4 -4
  24. data/lib/pulp_container_client.rb +9 -9
  25. data/lib/pulp_container_client/api/content_blobs_api.rb +3 -3
  26. data/lib/pulp_container_client/api/content_manifests_api.rb +3 -3
  27. data/lib/pulp_container_client/api/content_tags_api.rb +3 -3
  28. data/lib/pulp_container_client/api/contentguards_content_redirect_api.rb +3 -3
  29. data/lib/pulp_container_client/api/distributions_container_api.rb +3 -3
  30. data/lib/pulp_container_client/api/remotes_container_api.rb +3 -3
  31. data/lib/pulp_container_client/api/repositories_container_api.rb +3 -3
  32. data/lib/pulp_container_client/api/repositories_container_push_api.rb +3 -3
  33. data/lib/pulp_container_client/api/repositories_container_versions_api.rb +6 -6
  34. data/lib/pulp_container_client/models/container_container_distribution.rb +26 -26
  35. data/lib/pulp_container_client/models/container_container_distribution_response.rb +38 -38
  36. data/lib/pulp_container_client/models/{inline_response2008.rb → paginated_repository_version_response_list.rb} +3 -3
  37. data/lib/pulp_container_client/models/{inline_response200.rb → paginatedcontainer_blob_response_list.rb} +3 -3
  38. data/lib/pulp_container_client/models/{inline_response2004.rb → paginatedcontainer_container_distribution_response_list.rb} +3 -3
  39. data/lib/pulp_container_client/models/{inline_response2007.rb → paginatedcontainer_container_push_repository_response_list.rb} +3 -3
  40. data/lib/pulp_container_client/models/{inline_response2005.rb → paginatedcontainer_container_remote_response_list.rb} +3 -3
  41. data/lib/pulp_container_client/models/{inline_response2006.rb → paginatedcontainer_container_repository_response_list.rb} +3 -3
  42. data/lib/pulp_container_client/models/{inline_response2003.rb → paginatedcontainer_content_redirect_content_guard_response_list.rb} +3 -3
  43. data/lib/pulp_container_client/models/{inline_response2001.rb → paginatedcontainer_manifest_response_list.rb} +3 -3
  44. data/lib/pulp_container_client/models/{inline_response2002.rb → paginatedcontainer_tag_response_list.rb} +3 -3
  45. data/lib/pulp_container_client/models/patchedcontainer_container_distribution.rb +26 -26
  46. data/lib/pulp_container_client/version.rb +1 -1
  47. data/spec/api/content_blobs_api_spec.rb +1 -1
  48. data/spec/api/content_manifests_api_spec.rb +1 -1
  49. data/spec/api/content_tags_api_spec.rb +1 -1
  50. data/spec/api/contentguards_content_redirect_api_spec.rb +1 -1
  51. data/spec/api/distributions_container_api_spec.rb +1 -1
  52. data/spec/api/remotes_container_api_spec.rb +1 -1
  53. data/spec/api/repositories_container_api_spec.rb +1 -1
  54. data/spec/api/repositories_container_push_api_spec.rb +1 -1
  55. data/spec/api/repositories_container_versions_api_spec.rb +2 -2
  56. data/spec/models/container_container_distribution_response_spec.rb +7 -7
  57. data/spec/models/container_container_distribution_spec.rb +5 -5
  58. data/spec/models/{inline_response2003_spec.rb → paginated_repository_version_response_list_spec.rb} +6 -6
  59. data/spec/models/{inline_response2002_spec.rb → paginatedcontainer_blob_response_list_spec.rb} +6 -6
  60. data/spec/models/paginatedcontainer_container_distribution_response_list_spec.rb +59 -0
  61. data/spec/models/paginatedcontainer_container_push_repository_response_list_spec.rb +59 -0
  62. data/spec/models/paginatedcontainer_container_remote_response_list_spec.rb +59 -0
  63. data/spec/models/paginatedcontainer_container_repository_response_list_spec.rb +59 -0
  64. data/spec/models/paginatedcontainer_content_redirect_content_guard_response_list_spec.rb +59 -0
  65. data/spec/models/{inline_response2004_spec.rb → paginatedcontainer_manifest_response_list_spec.rb} +6 -6
  66. data/spec/models/{inline_response2001_spec.rb → paginatedcontainer_tag_response_list_spec.rb} +6 -6
  67. data/spec/models/patchedcontainer_container_distribution_spec.rb +5 -5
  68. metadata +67 -67
  69. data/spec/models/inline_response2005_spec.rb +0 -59
  70. data/spec/models/inline_response2006_spec.rb +0 -59
  71. data/spec/models/inline_response2007_spec.rb +0 -59
  72. data/spec/models/inline_response2008_spec.rb +0 -59
  73. data/spec/models/inline_response200_spec.rb +0 -59
@@ -15,39 +15,39 @@ require 'date'
15
15
  module PulpContainerClient
16
16
  # A serializer for ContainerDistribution.
17
17
  class ContainerContainerDistributionResponse
18
+ attr_accessor :pulp_href
19
+
20
+ # The latest RepositoryVersion for this Repository will be served.
21
+ attr_accessor :repository
22
+
18
23
  # A unique name. Ex, `rawhide` and `stable`.
19
24
  attr_accessor :name
20
25
 
21
- # RepositoryVersion to be served
22
- attr_accessor :repository_version
26
+ # An optional content-guard. If none is specified, a default one will be used.
27
+ attr_accessor :content_guard
23
28
 
24
29
  # The base (relative) path component of the published url. Avoid paths that overlap with other distribution base paths (e.g. \"foo\" and \"foo/bar\")
25
30
  attr_accessor :base_path
26
31
 
32
+ # RepositoryVersion to be served
33
+ attr_accessor :repository_version
34
+
27
35
  # Timestamp of creation.
28
36
  attr_accessor :pulp_created
29
37
 
30
- # The latest RepositoryVersion for this Repository will be served.
31
- attr_accessor :repository
32
-
33
- # An optional content-guard. If none is specified, a default one will be used.
34
- attr_accessor :content_guard
35
-
36
- attr_accessor :pulp_href
37
-
38
38
  # The Registry hostame/name/ to use with docker pull command defined by this distribution.
39
39
  attr_accessor :registry_path
40
40
 
41
41
  # Attribute mapping from ruby-style variable name to JSON key.
42
42
  def self.attribute_map
43
43
  {
44
+ :'pulp_href' => :'pulp_href',
45
+ :'repository' => :'repository',
44
46
  :'name' => :'name',
45
- :'repository_version' => :'repository_version',
47
+ :'content_guard' => :'content_guard',
46
48
  :'base_path' => :'base_path',
49
+ :'repository_version' => :'repository_version',
47
50
  :'pulp_created' => :'pulp_created',
48
- :'repository' => :'repository',
49
- :'content_guard' => :'content_guard',
50
- :'pulp_href' => :'pulp_href',
51
51
  :'registry_path' => :'registry_path'
52
52
  }
53
53
  end
@@ -55,13 +55,13 @@ module PulpContainerClient
55
55
  # Attribute type mapping.
56
56
  def self.openapi_types
57
57
  {
58
+ :'pulp_href' => :'String',
59
+ :'repository' => :'String',
58
60
  :'name' => :'String',
59
- :'repository_version' => :'String',
61
+ :'content_guard' => :'String',
60
62
  :'base_path' => :'String',
63
+ :'repository_version' => :'String',
61
64
  :'pulp_created' => :'DateTime',
62
- :'repository' => :'String',
63
- :'content_guard' => :'String',
64
- :'pulp_href' => :'String',
65
65
  :'registry_path' => :'String'
66
66
  }
67
67
  end
@@ -69,8 +69,8 @@ module PulpContainerClient
69
69
  # List of attributes with nullable: true
70
70
  def self.openapi_nullable
71
71
  Set.new([
72
- :'repository_version',
73
72
  :'repository',
73
+ :'repository_version',
74
74
  ])
75
75
  end
76
76
 
@@ -89,32 +89,32 @@ module PulpContainerClient
89
89
  h[k.to_sym] = v
90
90
  }
91
91
 
92
- if attributes.key?(:'name')
93
- self.name = attributes[:'name']
92
+ if attributes.key?(:'pulp_href')
93
+ self.pulp_href = attributes[:'pulp_href']
94
94
  end
95
95
 
96
- if attributes.key?(:'repository_version')
97
- self.repository_version = attributes[:'repository_version']
96
+ if attributes.key?(:'repository')
97
+ self.repository = attributes[:'repository']
98
98
  end
99
99
 
100
- if attributes.key?(:'base_path')
101
- self.base_path = attributes[:'base_path']
100
+ if attributes.key?(:'name')
101
+ self.name = attributes[:'name']
102
102
  end
103
103
 
104
- if attributes.key?(:'pulp_created')
105
- self.pulp_created = attributes[:'pulp_created']
104
+ if attributes.key?(:'content_guard')
105
+ self.content_guard = attributes[:'content_guard']
106
106
  end
107
107
 
108
- if attributes.key?(:'repository')
109
- self.repository = attributes[:'repository']
108
+ if attributes.key?(:'base_path')
109
+ self.base_path = attributes[:'base_path']
110
110
  end
111
111
 
112
- if attributes.key?(:'content_guard')
113
- self.content_guard = attributes[:'content_guard']
112
+ if attributes.key?(:'repository_version')
113
+ self.repository_version = attributes[:'repository_version']
114
114
  end
115
115
 
116
- if attributes.key?(:'pulp_href')
117
- self.pulp_href = attributes[:'pulp_href']
116
+ if attributes.key?(:'pulp_created')
117
+ self.pulp_created = attributes[:'pulp_created']
118
118
  end
119
119
 
120
120
  if attributes.key?(:'registry_path')
@@ -150,13 +150,13 @@ module PulpContainerClient
150
150
  def ==(o)
151
151
  return true if self.equal?(o)
152
152
  self.class == o.class &&
153
+ pulp_href == o.pulp_href &&
154
+ repository == o.repository &&
153
155
  name == o.name &&
154
- repository_version == o.repository_version &&
156
+ content_guard == o.content_guard &&
155
157
  base_path == o.base_path &&
158
+ repository_version == o.repository_version &&
156
159
  pulp_created == o.pulp_created &&
157
- repository == o.repository &&
158
- content_guard == o.content_guard &&
159
- pulp_href == o.pulp_href &&
160
160
  registry_path == o.registry_path
161
161
  end
162
162
 
@@ -169,7 +169,7 @@ module PulpContainerClient
169
169
  # Calculates hash code according to all attributes.
170
170
  # @return [Integer] Hash code
171
171
  def hash
172
- [name, repository_version, base_path, pulp_created, repository, content_guard, pulp_href, registry_path].hash
172
+ [pulp_href, repository, name, content_guard, base_path, repository_version, pulp_created, registry_path].hash
173
173
  end
174
174
 
175
175
  # Builds the object from hash
@@ -13,7 +13,7 @@ OpenAPI Generator version: 4.2.3
13
13
  require 'date'
14
14
 
15
15
  module PulpContainerClient
16
- class InlineResponse2008
16
+ class PaginatedRepositoryVersionResponseList
17
17
  attr_accessor :count
18
18
 
19
19
  attr_accessor :_next
@@ -54,13 +54,13 @@ module PulpContainerClient
54
54
  # @param [Hash] attributes Model attributes in the form of hash
55
55
  def initialize(attributes = {})
56
56
  if (!attributes.is_a?(Hash))
57
- fail ArgumentError, "The input argument (attributes) must be a hash in `PulpContainerClient::InlineResponse2008` initialize method"
57
+ fail ArgumentError, "The input argument (attributes) must be a hash in `PulpContainerClient::PaginatedRepositoryVersionResponseList` initialize method"
58
58
  end
59
59
 
60
60
  # check to see if the attribute exists and convert string to symbol for hash key
61
61
  attributes = attributes.each_with_object({}) { |(k, v), h|
62
62
  if (!self.class.attribute_map.key?(k.to_sym))
63
- fail ArgumentError, "`#{k}` is not a valid attribute in `PulpContainerClient::InlineResponse2008`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect
63
+ fail ArgumentError, "`#{k}` is not a valid attribute in `PulpContainerClient::PaginatedRepositoryVersionResponseList`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect
64
64
  end
65
65
  h[k.to_sym] = v
66
66
  }
@@ -13,7 +13,7 @@ OpenAPI Generator version: 4.2.3
13
13
  require 'date'
14
14
 
15
15
  module PulpContainerClient
16
- class InlineResponse200
16
+ class PaginatedcontainerBlobResponseList
17
17
  attr_accessor :count
18
18
 
19
19
  attr_accessor :_next
@@ -54,13 +54,13 @@ module PulpContainerClient
54
54
  # @param [Hash] attributes Model attributes in the form of hash
55
55
  def initialize(attributes = {})
56
56
  if (!attributes.is_a?(Hash))
57
- fail ArgumentError, "The input argument (attributes) must be a hash in `PulpContainerClient::InlineResponse200` initialize method"
57
+ fail ArgumentError, "The input argument (attributes) must be a hash in `PulpContainerClient::PaginatedcontainerBlobResponseList` initialize method"
58
58
  end
59
59
 
60
60
  # check to see if the attribute exists and convert string to symbol for hash key
61
61
  attributes = attributes.each_with_object({}) { |(k, v), h|
62
62
  if (!self.class.attribute_map.key?(k.to_sym))
63
- fail ArgumentError, "`#{k}` is not a valid attribute in `PulpContainerClient::InlineResponse200`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect
63
+ fail ArgumentError, "`#{k}` is not a valid attribute in `PulpContainerClient::PaginatedcontainerBlobResponseList`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect
64
64
  end
65
65
  h[k.to_sym] = v
66
66
  }
@@ -13,7 +13,7 @@ OpenAPI Generator version: 4.2.3
13
13
  require 'date'
14
14
 
15
15
  module PulpContainerClient
16
- class InlineResponse2004
16
+ class PaginatedcontainerContainerDistributionResponseList
17
17
  attr_accessor :count
18
18
 
19
19
  attr_accessor :_next
@@ -54,13 +54,13 @@ module PulpContainerClient
54
54
  # @param [Hash] attributes Model attributes in the form of hash
55
55
  def initialize(attributes = {})
56
56
  if (!attributes.is_a?(Hash))
57
- fail ArgumentError, "The input argument (attributes) must be a hash in `PulpContainerClient::InlineResponse2004` initialize method"
57
+ fail ArgumentError, "The input argument (attributes) must be a hash in `PulpContainerClient::PaginatedcontainerContainerDistributionResponseList` initialize method"
58
58
  end
59
59
 
60
60
  # check to see if the attribute exists and convert string to symbol for hash key
61
61
  attributes = attributes.each_with_object({}) { |(k, v), h|
62
62
  if (!self.class.attribute_map.key?(k.to_sym))
63
- fail ArgumentError, "`#{k}` is not a valid attribute in `PulpContainerClient::InlineResponse2004`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect
63
+ fail ArgumentError, "`#{k}` is not a valid attribute in `PulpContainerClient::PaginatedcontainerContainerDistributionResponseList`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect
64
64
  end
65
65
  h[k.to_sym] = v
66
66
  }
@@ -13,7 +13,7 @@ OpenAPI Generator version: 4.2.3
13
13
  require 'date'
14
14
 
15
15
  module PulpContainerClient
16
- class InlineResponse2007
16
+ class PaginatedcontainerContainerPushRepositoryResponseList
17
17
  attr_accessor :count
18
18
 
19
19
  attr_accessor :_next
@@ -54,13 +54,13 @@ module PulpContainerClient
54
54
  # @param [Hash] attributes Model attributes in the form of hash
55
55
  def initialize(attributes = {})
56
56
  if (!attributes.is_a?(Hash))
57
- fail ArgumentError, "The input argument (attributes) must be a hash in `PulpContainerClient::InlineResponse2007` initialize method"
57
+ fail ArgumentError, "The input argument (attributes) must be a hash in `PulpContainerClient::PaginatedcontainerContainerPushRepositoryResponseList` initialize method"
58
58
  end
59
59
 
60
60
  # check to see if the attribute exists and convert string to symbol for hash key
61
61
  attributes = attributes.each_with_object({}) { |(k, v), h|
62
62
  if (!self.class.attribute_map.key?(k.to_sym))
63
- fail ArgumentError, "`#{k}` is not a valid attribute in `PulpContainerClient::InlineResponse2007`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect
63
+ fail ArgumentError, "`#{k}` is not a valid attribute in `PulpContainerClient::PaginatedcontainerContainerPushRepositoryResponseList`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect
64
64
  end
65
65
  h[k.to_sym] = v
66
66
  }
@@ -13,7 +13,7 @@ OpenAPI Generator version: 4.2.3
13
13
  require 'date'
14
14
 
15
15
  module PulpContainerClient
16
- class InlineResponse2005
16
+ class PaginatedcontainerContainerRemoteResponseList
17
17
  attr_accessor :count
18
18
 
19
19
  attr_accessor :_next
@@ -54,13 +54,13 @@ module PulpContainerClient
54
54
  # @param [Hash] attributes Model attributes in the form of hash
55
55
  def initialize(attributes = {})
56
56
  if (!attributes.is_a?(Hash))
57
- fail ArgumentError, "The input argument (attributes) must be a hash in `PulpContainerClient::InlineResponse2005` initialize method"
57
+ fail ArgumentError, "The input argument (attributes) must be a hash in `PulpContainerClient::PaginatedcontainerContainerRemoteResponseList` initialize method"
58
58
  end
59
59
 
60
60
  # check to see if the attribute exists and convert string to symbol for hash key
61
61
  attributes = attributes.each_with_object({}) { |(k, v), h|
62
62
  if (!self.class.attribute_map.key?(k.to_sym))
63
- fail ArgumentError, "`#{k}` is not a valid attribute in `PulpContainerClient::InlineResponse2005`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect
63
+ fail ArgumentError, "`#{k}` is not a valid attribute in `PulpContainerClient::PaginatedcontainerContainerRemoteResponseList`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect
64
64
  end
65
65
  h[k.to_sym] = v
66
66
  }
@@ -13,7 +13,7 @@ OpenAPI Generator version: 4.2.3
13
13
  require 'date'
14
14
 
15
15
  module PulpContainerClient
16
- class InlineResponse2006
16
+ class PaginatedcontainerContainerRepositoryResponseList
17
17
  attr_accessor :count
18
18
 
19
19
  attr_accessor :_next
@@ -54,13 +54,13 @@ module PulpContainerClient
54
54
  # @param [Hash] attributes Model attributes in the form of hash
55
55
  def initialize(attributes = {})
56
56
  if (!attributes.is_a?(Hash))
57
- fail ArgumentError, "The input argument (attributes) must be a hash in `PulpContainerClient::InlineResponse2006` initialize method"
57
+ fail ArgumentError, "The input argument (attributes) must be a hash in `PulpContainerClient::PaginatedcontainerContainerRepositoryResponseList` initialize method"
58
58
  end
59
59
 
60
60
  # check to see if the attribute exists and convert string to symbol for hash key
61
61
  attributes = attributes.each_with_object({}) { |(k, v), h|
62
62
  if (!self.class.attribute_map.key?(k.to_sym))
63
- fail ArgumentError, "`#{k}` is not a valid attribute in `PulpContainerClient::InlineResponse2006`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect
63
+ fail ArgumentError, "`#{k}` is not a valid attribute in `PulpContainerClient::PaginatedcontainerContainerRepositoryResponseList`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect
64
64
  end
65
65
  h[k.to_sym] = v
66
66
  }
@@ -13,7 +13,7 @@ OpenAPI Generator version: 4.2.3
13
13
  require 'date'
14
14
 
15
15
  module PulpContainerClient
16
- class InlineResponse2003
16
+ class PaginatedcontainerContentRedirectContentGuardResponseList
17
17
  attr_accessor :count
18
18
 
19
19
  attr_accessor :_next
@@ -54,13 +54,13 @@ module PulpContainerClient
54
54
  # @param [Hash] attributes Model attributes in the form of hash
55
55
  def initialize(attributes = {})
56
56
  if (!attributes.is_a?(Hash))
57
- fail ArgumentError, "The input argument (attributes) must be a hash in `PulpContainerClient::InlineResponse2003` initialize method"
57
+ fail ArgumentError, "The input argument (attributes) must be a hash in `PulpContainerClient::PaginatedcontainerContentRedirectContentGuardResponseList` initialize method"
58
58
  end
59
59
 
60
60
  # check to see if the attribute exists and convert string to symbol for hash key
61
61
  attributes = attributes.each_with_object({}) { |(k, v), h|
62
62
  if (!self.class.attribute_map.key?(k.to_sym))
63
- fail ArgumentError, "`#{k}` is not a valid attribute in `PulpContainerClient::InlineResponse2003`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect
63
+ fail ArgumentError, "`#{k}` is not a valid attribute in `PulpContainerClient::PaginatedcontainerContentRedirectContentGuardResponseList`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect
64
64
  end
65
65
  h[k.to_sym] = v
66
66
  }
@@ -13,7 +13,7 @@ OpenAPI Generator version: 4.2.3
13
13
  require 'date'
14
14
 
15
15
  module PulpContainerClient
16
- class InlineResponse2001
16
+ class PaginatedcontainerManifestResponseList
17
17
  attr_accessor :count
18
18
 
19
19
  attr_accessor :_next
@@ -54,13 +54,13 @@ module PulpContainerClient
54
54
  # @param [Hash] attributes Model attributes in the form of hash
55
55
  def initialize(attributes = {})
56
56
  if (!attributes.is_a?(Hash))
57
- fail ArgumentError, "The input argument (attributes) must be a hash in `PulpContainerClient::InlineResponse2001` initialize method"
57
+ fail ArgumentError, "The input argument (attributes) must be a hash in `PulpContainerClient::PaginatedcontainerManifestResponseList` initialize method"
58
58
  end
59
59
 
60
60
  # check to see if the attribute exists and convert string to symbol for hash key
61
61
  attributes = attributes.each_with_object({}) { |(k, v), h|
62
62
  if (!self.class.attribute_map.key?(k.to_sym))
63
- fail ArgumentError, "`#{k}` is not a valid attribute in `PulpContainerClient::InlineResponse2001`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect
63
+ fail ArgumentError, "`#{k}` is not a valid attribute in `PulpContainerClient::PaginatedcontainerManifestResponseList`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect
64
64
  end
65
65
  h[k.to_sym] = v
66
66
  }
@@ -13,7 +13,7 @@ OpenAPI Generator version: 4.2.3
13
13
  require 'date'
14
14
 
15
15
  module PulpContainerClient
16
- class InlineResponse2002
16
+ class PaginatedcontainerTagResponseList
17
17
  attr_accessor :count
18
18
 
19
19
  attr_accessor :_next
@@ -54,13 +54,13 @@ module PulpContainerClient
54
54
  # @param [Hash] attributes Model attributes in the form of hash
55
55
  def initialize(attributes = {})
56
56
  if (!attributes.is_a?(Hash))
57
- fail ArgumentError, "The input argument (attributes) must be a hash in `PulpContainerClient::InlineResponse2002` initialize method"
57
+ fail ArgumentError, "The input argument (attributes) must be a hash in `PulpContainerClient::PaginatedcontainerTagResponseList` initialize method"
58
58
  end
59
59
 
60
60
  # check to see if the attribute exists and convert string to symbol for hash key
61
61
  attributes = attributes.each_with_object({}) { |(k, v), h|
62
62
  if (!self.class.attribute_map.key?(k.to_sym))
63
- fail ArgumentError, "`#{k}` is not a valid attribute in `PulpContainerClient::InlineResponse2002`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect
63
+ fail ArgumentError, "`#{k}` is not a valid attribute in `PulpContainerClient::PaginatedcontainerTagResponseList`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect
64
64
  end
65
65
  h[k.to_sym] = v
66
66
  }
@@ -15,48 +15,48 @@ require 'date'
15
15
  module PulpContainerClient
16
16
  # A serializer for ContainerDistribution.
17
17
  class PatchedcontainerContainerDistribution
18
+ # The latest RepositoryVersion for this Repository will be served.
19
+ attr_accessor :repository
20
+
18
21
  # A unique name. Ex, `rawhide` and `stable`.
19
22
  attr_accessor :name
20
23
 
21
- # RepositoryVersion to be served
22
- attr_accessor :repository_version
24
+ # An optional content-guard. If none is specified, a default one will be used.
25
+ attr_accessor :content_guard
23
26
 
24
27
  # The base (relative) path component of the published url. Avoid paths that overlap with other distribution base paths (e.g. \"foo\" and \"foo/bar\")
25
28
  attr_accessor :base_path
26
29
 
27
- # The latest RepositoryVersion for this Repository will be served.
28
- attr_accessor :repository
29
-
30
- # An optional content-guard. If none is specified, a default one will be used.
31
- attr_accessor :content_guard
30
+ # RepositoryVersion to be served
31
+ attr_accessor :repository_version
32
32
 
33
33
  # Attribute mapping from ruby-style variable name to JSON key.
34
34
  def self.attribute_map
35
35
  {
36
+ :'repository' => :'repository',
36
37
  :'name' => :'name',
37
- :'repository_version' => :'repository_version',
38
+ :'content_guard' => :'content_guard',
38
39
  :'base_path' => :'base_path',
39
- :'repository' => :'repository',
40
- :'content_guard' => :'content_guard'
40
+ :'repository_version' => :'repository_version'
41
41
  }
42
42
  end
43
43
 
44
44
  # Attribute type mapping.
45
45
  def self.openapi_types
46
46
  {
47
+ :'repository' => :'String',
47
48
  :'name' => :'String',
48
- :'repository_version' => :'String',
49
+ :'content_guard' => :'String',
49
50
  :'base_path' => :'String',
50
- :'repository' => :'String',
51
- :'content_guard' => :'String'
51
+ :'repository_version' => :'String'
52
52
  }
53
53
  end
54
54
 
55
55
  # List of attributes with nullable: true
56
56
  def self.openapi_nullable
57
57
  Set.new([
58
- :'repository_version',
59
58
  :'repository',
59
+ :'repository_version'
60
60
  ])
61
61
  end
62
62
 
@@ -75,24 +75,24 @@ module PulpContainerClient
75
75
  h[k.to_sym] = v
76
76
  }
77
77
 
78
+ if attributes.key?(:'repository')
79
+ self.repository = attributes[:'repository']
80
+ end
81
+
78
82
  if attributes.key?(:'name')
79
83
  self.name = attributes[:'name']
80
84
  end
81
85
 
82
- if attributes.key?(:'repository_version')
83
- self.repository_version = attributes[:'repository_version']
86
+ if attributes.key?(:'content_guard')
87
+ self.content_guard = attributes[:'content_guard']
84
88
  end
85
89
 
86
90
  if attributes.key?(:'base_path')
87
91
  self.base_path = attributes[:'base_path']
88
92
  end
89
93
 
90
- if attributes.key?(:'repository')
91
- self.repository = attributes[:'repository']
92
- end
93
-
94
- if attributes.key?(:'content_guard')
95
- self.content_guard = attributes[:'content_guard']
94
+ if attributes.key?(:'repository_version')
95
+ self.repository_version = attributes[:'repository_version']
96
96
  end
97
97
  end
98
98
 
@@ -114,11 +114,11 @@ module PulpContainerClient
114
114
  def ==(o)
115
115
  return true if self.equal?(o)
116
116
  self.class == o.class &&
117
+ repository == o.repository &&
117
118
  name == o.name &&
118
- repository_version == o.repository_version &&
119
+ content_guard == o.content_guard &&
119
120
  base_path == o.base_path &&
120
- repository == o.repository &&
121
- content_guard == o.content_guard
121
+ repository_version == o.repository_version
122
122
  end
123
123
 
124
124
  # @see the `==` method
@@ -130,7 +130,7 @@ module PulpContainerClient
130
130
  # Calculates hash code according to all attributes.
131
131
  # @return [Integer] Hash code
132
132
  def hash
133
- [name, repository_version, base_path, repository, content_guard].hash
133
+ [repository, name, content_guard, base_path, repository_version].hash
134
134
  end
135
135
 
136
136
  # Builds the object from hash