pulp_container_client 2.1.0 → 2.1.3

Sign up to get free protection for your applications and to get access to all the features.
Files changed (117) hide show
  1. checksums.yaml +4 -4
  2. data/Gemfile +1 -1
  3. data/README.md +4 -4
  4. data/docs/ContainerContainerDistribution.md +6 -6
  5. data/docs/ContainerContainerDistributionResponse.md +8 -8
  6. data/docs/ManifestCopy.md +1 -1
  7. data/docs/PatchedcontainerContainerDistribution.md +6 -6
  8. data/docs/RecursiveManage.md +1 -1
  9. data/docs/TagCopy.md +1 -1
  10. data/lib/pulp_container_client/api/content_blobs_api.rb +1 -1
  11. data/lib/pulp_container_client/api/content_manifests_api.rb +1 -1
  12. data/lib/pulp_container_client/api/content_tags_api.rb +1 -1
  13. data/lib/pulp_container_client/api/contentguards_content_redirect_api.rb +1 -1
  14. data/lib/pulp_container_client/api/distributions_container_api.rb +1 -1
  15. data/lib/pulp_container_client/api/remotes_container_api.rb +1 -1
  16. data/lib/pulp_container_client/api/repositories_container_api.rb +1 -1
  17. data/lib/pulp_container_client/api/repositories_container_push_api.rb +1 -1
  18. data/lib/pulp_container_client/api/repositories_container_versions_api.rb +1 -1
  19. data/lib/pulp_container_client/api/token_api.rb +1 -1
  20. data/lib/pulp_container_client/api_client.rb +13 -12
  21. data/lib/pulp_container_client/api_error.rb +1 -1
  22. data/lib/pulp_container_client/configuration.rb +9 -1
  23. data/lib/pulp_container_client/models/async_operation_response.rb +1 -1
  24. data/lib/pulp_container_client/models/container_blob_response.rb +1 -1
  25. data/lib/pulp_container_client/models/container_container_distribution.rb +31 -31
  26. data/lib/pulp_container_client/models/container_container_distribution_response.rb +41 -41
  27. data/lib/pulp_container_client/models/container_container_push_repository.rb +1 -1
  28. data/lib/pulp_container_client/models/container_container_push_repository_response.rb +1 -1
  29. data/lib/pulp_container_client/models/container_container_remote.rb +1 -1
  30. data/lib/pulp_container_client/models/container_container_remote_response.rb +1 -1
  31. data/lib/pulp_container_client/models/container_container_repository.rb +1 -1
  32. data/lib/pulp_container_client/models/container_container_repository_response.rb +1 -1
  33. data/lib/pulp_container_client/models/container_content_redirect_content_guard.rb +1 -1
  34. data/lib/pulp_container_client/models/container_content_redirect_content_guard_response.rb +1 -1
  35. data/lib/pulp_container_client/models/container_manifest_response.rb +1 -1
  36. data/lib/pulp_container_client/models/container_tag_response.rb +1 -1
  37. data/lib/pulp_container_client/models/content_summary.rb +1 -1
  38. data/lib/pulp_container_client/models/content_summary_response.rb +1 -1
  39. data/lib/pulp_container_client/models/inline_response200.rb +1 -1
  40. data/lib/pulp_container_client/models/inline_response2001.rb +1 -1
  41. data/lib/pulp_container_client/models/inline_response2002.rb +1 -1
  42. data/lib/pulp_container_client/models/inline_response2003.rb +1 -1
  43. data/lib/pulp_container_client/models/inline_response2004.rb +1 -1
  44. data/lib/pulp_container_client/models/inline_response2005.rb +1 -1
  45. data/lib/pulp_container_client/models/inline_response2006.rb +1 -1
  46. data/lib/pulp_container_client/models/inline_response2007.rb +1 -1
  47. data/lib/pulp_container_client/models/inline_response2008.rb +1 -1
  48. data/lib/pulp_container_client/models/manifest_copy.rb +2 -2
  49. data/lib/pulp_container_client/models/oci_build_image.rb +1 -1
  50. data/lib/pulp_container_client/models/patchedcontainer_container_distribution.rb +26 -26
  51. data/lib/pulp_container_client/models/patchedcontainer_container_remote.rb +1 -1
  52. data/lib/pulp_container_client/models/patchedcontainer_container_repository.rb +1 -1
  53. data/lib/pulp_container_client/models/patchedcontainer_content_redirect_content_guard.rb +1 -1
  54. data/lib/pulp_container_client/models/policy_enum.rb +1 -1
  55. data/lib/pulp_container_client/models/recursive_manage.rb +2 -2
  56. data/lib/pulp_container_client/models/repository_sync_url.rb +1 -1
  57. data/lib/pulp_container_client/models/repository_version.rb +1 -1
  58. data/lib/pulp_container_client/models/repository_version_response.rb +1 -1
  59. data/lib/pulp_container_client/models/tag_copy.rb +2 -2
  60. data/lib/pulp_container_client/models/tag_image.rb +1 -1
  61. data/lib/pulp_container_client/models/un_tag_image.rb +1 -1
  62. data/lib/pulp_container_client/version.rb +2 -2
  63. data/lib/pulp_container_client.rb +1 -1
  64. data/pulp_container_client.gemspec +2 -2
  65. data/spec/api/content_blobs_api_spec.rb +1 -1
  66. data/spec/api/content_manifests_api_spec.rb +1 -1
  67. data/spec/api/content_tags_api_spec.rb +1 -1
  68. data/spec/api/contentguards_content_redirect_api_spec.rb +1 -1
  69. data/spec/api/distributions_container_api_spec.rb +1 -1
  70. data/spec/api/remotes_container_api_spec.rb +1 -1
  71. data/spec/api/repositories_container_api_spec.rb +1 -1
  72. data/spec/api/repositories_container_push_api_spec.rb +1 -1
  73. data/spec/api/repositories_container_versions_api_spec.rb +1 -1
  74. data/spec/api/token_api_spec.rb +1 -1
  75. data/spec/api_client_spec.rb +2 -2
  76. data/spec/configuration_spec.rb +1 -1
  77. data/spec/models/async_operation_response_spec.rb +1 -1
  78. data/spec/models/container_blob_response_spec.rb +1 -1
  79. data/spec/models/container_container_distribution_response_spec.rb +7 -7
  80. data/spec/models/container_container_distribution_spec.rb +5 -5
  81. data/spec/models/container_container_push_repository_response_spec.rb +1 -1
  82. data/spec/models/container_container_push_repository_spec.rb +1 -1
  83. data/spec/models/container_container_remote_response_spec.rb +1 -1
  84. data/spec/models/container_container_remote_spec.rb +1 -1
  85. data/spec/models/container_container_repository_response_spec.rb +1 -1
  86. data/spec/models/container_container_repository_spec.rb +1 -1
  87. data/spec/models/container_content_redirect_content_guard_response_spec.rb +1 -1
  88. data/spec/models/container_content_redirect_content_guard_spec.rb +1 -1
  89. data/spec/models/container_manifest_response_spec.rb +1 -1
  90. data/spec/models/container_tag_response_spec.rb +1 -1
  91. data/spec/models/content_summary_response_spec.rb +1 -1
  92. data/spec/models/content_summary_spec.rb +1 -1
  93. data/spec/models/inline_response2001_spec.rb +1 -1
  94. data/spec/models/inline_response2002_spec.rb +1 -1
  95. data/spec/models/inline_response2003_spec.rb +1 -1
  96. data/spec/models/inline_response2004_spec.rb +1 -1
  97. data/spec/models/inline_response2005_spec.rb +1 -1
  98. data/spec/models/inline_response2006_spec.rb +1 -1
  99. data/spec/models/inline_response2007_spec.rb +1 -1
  100. data/spec/models/inline_response2008_spec.rb +1 -1
  101. data/spec/models/inline_response200_spec.rb +1 -1
  102. data/spec/models/manifest_copy_spec.rb +1 -1
  103. data/spec/models/oci_build_image_spec.rb +1 -1
  104. data/spec/models/patchedcontainer_container_distribution_spec.rb +5 -5
  105. data/spec/models/patchedcontainer_container_remote_spec.rb +1 -1
  106. data/spec/models/patchedcontainer_container_repository_spec.rb +1 -1
  107. data/spec/models/patchedcontainer_content_redirect_content_guard_spec.rb +1 -1
  108. data/spec/models/policy_enum_spec.rb +1 -1
  109. data/spec/models/recursive_manage_spec.rb +1 -1
  110. data/spec/models/repository_sync_url_spec.rb +1 -1
  111. data/spec/models/repository_version_response_spec.rb +1 -1
  112. data/spec/models/repository_version_spec.rb +1 -1
  113. data/spec/models/tag_copy_spec.rb +1 -1
  114. data/spec/models/tag_image_spec.rb +1 -1
  115. data/spec/models/un_tag_image_spec.rb +1 -1
  116. data/spec/spec_helper.rb +1 -1
  117. metadata +47 -41
@@ -6,7 +6,7 @@
6
6
  The version of the OpenAPI document: v3
7
7
  Contact: pulp-list@redhat.com
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 4.2.3
9
+ OpenAPI Generator version: 4.3.1
10
10
 
11
11
  =end
12
12
 
@@ -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
18
+ # An optional content-guard. If none is specified, a default one will be used.
19
+ attr_accessor :content_guard
20
20
 
21
21
  # RepositoryVersion to be served
22
22
  attr_accessor :repository_version
23
23
 
24
- # 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
- attr_accessor :base_path
24
+ # The latest RepositoryVersion for this Repository will be served.
25
+ attr_accessor :repository
26
+
27
+ attr_accessor :pulp_href
26
28
 
27
29
  # Timestamp of creation.
28
30
  attr_accessor :pulp_created
29
31
 
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
32
+ # The base (relative) path component of the published url. Avoid paths that overlap with other distribution base paths (e.g. \"foo\" and \"foo/bar\")
33
+ attr_accessor :base_path
35
34
 
36
- attr_accessor :pulp_href
35
+ # A unique name. Ex, `rawhide` and `stable`.
36
+ attr_accessor :name
37
37
 
38
38
  # The Registry hostame/name/ to use with docker pull command defined by this distribution.
39
39
  attr_accessor :registry_path
@@ -41,13 +41,13 @@ module PulpContainerClient
41
41
  # Attribute mapping from ruby-style variable name to JSON key.
42
42
  def self.attribute_map
43
43
  {
44
- :'name' => :'name',
44
+ :'content_guard' => :'content_guard',
45
45
  :'repository_version' => :'repository_version',
46
- :'base_path' => :'base_path',
47
- :'pulp_created' => :'pulp_created',
48
46
  :'repository' => :'repository',
49
- :'content_guard' => :'content_guard',
50
47
  :'pulp_href' => :'pulp_href',
48
+ :'pulp_created' => :'pulp_created',
49
+ :'base_path' => :'base_path',
50
+ :'name' => :'name',
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
- :'name' => :'String',
58
+ :'content_guard' => :'String',
59
59
  :'repository_version' => :'String',
60
- :'base_path' => :'String',
61
- :'pulp_created' => :'DateTime',
62
60
  :'repository' => :'String',
63
- :'content_guard' => :'String',
64
61
  :'pulp_href' => :'String',
62
+ :'pulp_created' => :'DateTime',
63
+ :'base_path' => :'String',
64
+ :'name' => :'String',
65
65
  :'registry_path' => :'String'
66
66
  }
67
67
  end
@@ -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?(:'content_guard')
93
+ self.content_guard = attributes[:'content_guard']
94
94
  end
95
95
 
96
96
  if attributes.key?(:'repository_version')
97
97
  self.repository_version = attributes[:'repository_version']
98
98
  end
99
99
 
100
- if attributes.key?(:'base_path')
101
- self.base_path = attributes[:'base_path']
100
+ if attributes.key?(:'repository')
101
+ self.repository = attributes[:'repository']
102
102
  end
103
103
 
104
- if attributes.key?(:'pulp_created')
105
- self.pulp_created = attributes[:'pulp_created']
104
+ if attributes.key?(:'pulp_href')
105
+ self.pulp_href = attributes[:'pulp_href']
106
106
  end
107
107
 
108
- if attributes.key?(:'repository')
109
- self.repository = attributes[:'repository']
108
+ if attributes.key?(:'pulp_created')
109
+ self.pulp_created = attributes[:'pulp_created']
110
110
  end
111
111
 
112
- if attributes.key?(:'content_guard')
113
- self.content_guard = attributes[:'content_guard']
112
+ if attributes.key?(:'base_path')
113
+ self.base_path = attributes[:'base_path']
114
114
  end
115
115
 
116
- if attributes.key?(:'pulp_href')
117
- self.pulp_href = attributes[:'pulp_href']
116
+ if attributes.key?(:'name')
117
+ self.name = attributes[:'name']
118
118
  end
119
119
 
120
120
  if attributes.key?(:'registry_path')
@@ -126,22 +126,22 @@ module PulpContainerClient
126
126
  # @return Array for valid properties with the reasons
127
127
  def list_invalid_properties
128
128
  invalid_properties = Array.new
129
- if @name.nil?
130
- invalid_properties.push('invalid value for "name", name cannot be nil.')
131
- end
132
-
133
129
  if @base_path.nil?
134
130
  invalid_properties.push('invalid value for "base_path", base_path cannot be nil.')
135
131
  end
136
132
 
133
+ if @name.nil?
134
+ invalid_properties.push('invalid value for "name", name cannot be nil.')
135
+ end
136
+
137
137
  invalid_properties
138
138
  end
139
139
 
140
140
  # Check to see if the all the properties in the model are valid
141
141
  # @return true if the model is valid
142
142
  def valid?
143
- return false if @name.nil?
144
143
  return false if @base_path.nil?
144
+ return false if @name.nil?
145
145
  true
146
146
  end
147
147
 
@@ -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
- name == o.name &&
153
+ content_guard == o.content_guard &&
154
154
  repository_version == o.repository_version &&
155
- base_path == o.base_path &&
156
- pulp_created == o.pulp_created &&
157
155
  repository == o.repository &&
158
- content_guard == o.content_guard &&
159
156
  pulp_href == o.pulp_href &&
157
+ pulp_created == o.pulp_created &&
158
+ base_path == o.base_path &&
159
+ name == o.name &&
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
+ [content_guard, repository_version, repository, pulp_href, pulp_created, base_path, name, registry_path].hash
173
173
  end
174
174
 
175
175
  # Builds the object from hash
@@ -6,7 +6,7 @@
6
6
  The version of the OpenAPI document: v3
7
7
  Contact: pulp-list@redhat.com
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 4.2.3
9
+ OpenAPI Generator version: 4.3.1
10
10
 
11
11
  =end
12
12
 
@@ -6,7 +6,7 @@
6
6
  The version of the OpenAPI document: v3
7
7
  Contact: pulp-list@redhat.com
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 4.2.3
9
+ OpenAPI Generator version: 4.3.1
10
10
 
11
11
  =end
12
12
 
@@ -6,7 +6,7 @@
6
6
  The version of the OpenAPI document: v3
7
7
  Contact: pulp-list@redhat.com
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 4.2.3
9
+ OpenAPI Generator version: 4.3.1
10
10
 
11
11
  =end
12
12
 
@@ -6,7 +6,7 @@
6
6
  The version of the OpenAPI document: v3
7
7
  Contact: pulp-list@redhat.com
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 4.2.3
9
+ OpenAPI Generator version: 4.3.1
10
10
 
11
11
  =end
12
12
 
@@ -6,7 +6,7 @@
6
6
  The version of the OpenAPI document: v3
7
7
  Contact: pulp-list@redhat.com
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 4.2.3
9
+ OpenAPI Generator version: 4.3.1
10
10
 
11
11
  =end
12
12
 
@@ -6,7 +6,7 @@
6
6
  The version of the OpenAPI document: v3
7
7
  Contact: pulp-list@redhat.com
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 4.2.3
9
+ OpenAPI Generator version: 4.3.1
10
10
 
11
11
  =end
12
12
 
@@ -6,7 +6,7 @@
6
6
  The version of the OpenAPI document: v3
7
7
  Contact: pulp-list@redhat.com
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 4.2.3
9
+ OpenAPI Generator version: 4.3.1
10
10
 
11
11
  =end
12
12
 
@@ -6,7 +6,7 @@
6
6
  The version of the OpenAPI document: v3
7
7
  Contact: pulp-list@redhat.com
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 4.2.3
9
+ OpenAPI Generator version: 4.3.1
10
10
 
11
11
  =end
12
12
 
@@ -6,7 +6,7 @@
6
6
  The version of the OpenAPI document: v3
7
7
  Contact: pulp-list@redhat.com
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 4.2.3
9
+ OpenAPI Generator version: 4.3.1
10
10
 
11
11
  =end
12
12
 
@@ -6,7 +6,7 @@
6
6
  The version of the OpenAPI document: v3
7
7
  Contact: pulp-list@redhat.com
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 4.2.3
9
+ OpenAPI Generator version: 4.3.1
10
10
 
11
11
  =end
12
12
 
@@ -6,7 +6,7 @@
6
6
  The version of the OpenAPI document: v3
7
7
  Contact: pulp-list@redhat.com
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 4.2.3
9
+ OpenAPI Generator version: 4.3.1
10
10
 
11
11
  =end
12
12
 
@@ -6,7 +6,7 @@
6
6
  The version of the OpenAPI document: v3
7
7
  Contact: pulp-list@redhat.com
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 4.2.3
9
+ OpenAPI Generator version: 4.3.1
10
10
 
11
11
  =end
12
12
 
@@ -6,7 +6,7 @@
6
6
  The version of the OpenAPI document: v3
7
7
  Contact: pulp-list@redhat.com
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 4.2.3
9
+ OpenAPI Generator version: 4.3.1
10
10
 
11
11
  =end
12
12
 
@@ -6,7 +6,7 @@
6
6
  The version of the OpenAPI document: v3
7
7
  Contact: pulp-list@redhat.com
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 4.2.3
9
+ OpenAPI Generator version: 4.3.1
10
10
 
11
11
  =end
12
12
 
@@ -6,7 +6,7 @@
6
6
  The version of the OpenAPI document: v3
7
7
  Contact: pulp-list@redhat.com
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 4.2.3
9
+ OpenAPI Generator version: 4.3.1
10
10
 
11
11
  =end
12
12
 
@@ -6,7 +6,7 @@
6
6
  The version of the OpenAPI document: v3
7
7
  Contact: pulp-list@redhat.com
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 4.2.3
9
+ OpenAPI Generator version: 4.3.1
10
10
 
11
11
  =end
12
12
 
@@ -6,7 +6,7 @@
6
6
  The version of the OpenAPI document: v3
7
7
  Contact: pulp-list@redhat.com
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 4.2.3
9
+ OpenAPI Generator version: 4.3.1
10
10
 
11
11
  =end
12
12
 
@@ -6,7 +6,7 @@
6
6
  The version of the OpenAPI document: v3
7
7
  Contact: pulp-list@redhat.com
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 4.2.3
9
+ OpenAPI Generator version: 4.3.1
10
10
 
11
11
  =end
12
12
 
@@ -6,7 +6,7 @@
6
6
  The version of the OpenAPI document: v3
7
7
  Contact: pulp-list@redhat.com
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 4.2.3
9
+ OpenAPI Generator version: 4.3.1
10
10
 
11
11
  =end
12
12
 
@@ -6,7 +6,7 @@
6
6
  The version of the OpenAPI document: v3
7
7
  Contact: pulp-list@redhat.com
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 4.2.3
9
+ OpenAPI Generator version: 4.3.1
10
10
 
11
11
  =end
12
12
 
@@ -6,7 +6,7 @@
6
6
  The version of the OpenAPI document: v3
7
7
  Contact: pulp-list@redhat.com
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 4.2.3
9
+ OpenAPI Generator version: 4.3.1
10
10
 
11
11
  =end
12
12
 
@@ -6,7 +6,7 @@
6
6
  The version of the OpenAPI document: v3
7
7
  Contact: pulp-list@redhat.com
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 4.2.3
9
+ OpenAPI Generator version: 4.3.1
10
10
 
11
11
  =end
12
12
 
@@ -64,7 +64,7 @@ module PulpContainerClient
64
64
  {
65
65
  :'source_repository' => :'String',
66
66
  :'source_repository_version' => :'String',
67
- :'digests' => :'Array<Object>',
67
+ :'digests' => :'Array<AnyType>',
68
68
  :'media_types' => :'Array<String>'
69
69
  }
70
70
  end
@@ -6,7 +6,7 @@
6
6
  The version of the OpenAPI document: v3
7
7
  Contact: pulp-list@redhat.com
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 4.2.3
9
+ OpenAPI Generator version: 4.3.1
10
10
 
11
11
  =end
12
12
 
@@ -6,7 +6,7 @@
6
6
  The version of the OpenAPI document: v3
7
7
  Contact: pulp-list@redhat.com
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 4.2.3
9
+ OpenAPI Generator version: 4.3.1
10
10
 
11
11
  =end
12
12
 
@@ -15,40 +15,40 @@ require 'date'
15
15
  module PulpContainerClient
16
16
  # A serializer for ContainerDistribution.
17
17
  class PatchedcontainerContainerDistribution
18
- # A unique name. Ex, `rawhide` and `stable`.
19
- attr_accessor :name
18
+ # An optional content-guard. If none is specified, a default one will be used.
19
+ attr_accessor :content_guard
20
20
 
21
21
  # RepositoryVersion to be served
22
22
  attr_accessor :repository_version
23
23
 
24
- # 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
- attr_accessor :base_path
26
-
27
24
  # The latest RepositoryVersion for this Repository will be served.
28
25
  attr_accessor :repository
29
26
 
30
- # An optional content-guard. If none is specified, a default one will be used.
31
- attr_accessor :content_guard
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\")
28
+ attr_accessor :base_path
29
+
30
+ # A unique name. Ex, `rawhide` and `stable`.
31
+ attr_accessor :name
32
32
 
33
33
  # Attribute mapping from ruby-style variable name to JSON key.
34
34
  def self.attribute_map
35
35
  {
36
- :'name' => :'name',
36
+ :'content_guard' => :'content_guard',
37
37
  :'repository_version' => :'repository_version',
38
- :'base_path' => :'base_path',
39
38
  :'repository' => :'repository',
40
- :'content_guard' => :'content_guard'
39
+ :'base_path' => :'base_path',
40
+ :'name' => :'name'
41
41
  }
42
42
  end
43
43
 
44
44
  # Attribute type mapping.
45
45
  def self.openapi_types
46
46
  {
47
- :'name' => :'String',
47
+ :'content_guard' => :'String',
48
48
  :'repository_version' => :'String',
49
- :'base_path' => :'String',
50
49
  :'repository' => :'String',
51
- :'content_guard' => :'String'
50
+ :'base_path' => :'String',
51
+ :'name' => :'String'
52
52
  }
53
53
  end
54
54
 
@@ -75,24 +75,24 @@ module PulpContainerClient
75
75
  h[k.to_sym] = v
76
76
  }
77
77
 
78
- if attributes.key?(:'name')
79
- self.name = attributes[:'name']
78
+ if attributes.key?(:'content_guard')
79
+ self.content_guard = attributes[:'content_guard']
80
80
  end
81
81
 
82
82
  if attributes.key?(:'repository_version')
83
83
  self.repository_version = attributes[:'repository_version']
84
84
  end
85
85
 
86
- if attributes.key?(:'base_path')
87
- self.base_path = attributes[:'base_path']
88
- end
89
-
90
86
  if attributes.key?(:'repository')
91
87
  self.repository = attributes[:'repository']
92
88
  end
93
89
 
94
- if attributes.key?(:'content_guard')
95
- self.content_guard = attributes[:'content_guard']
90
+ if attributes.key?(:'base_path')
91
+ self.base_path = attributes[:'base_path']
92
+ end
93
+
94
+ if attributes.key?(:'name')
95
+ self.name = attributes[:'name']
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
- name == o.name &&
117
+ content_guard == o.content_guard &&
118
118
  repository_version == o.repository_version &&
119
- base_path == o.base_path &&
120
119
  repository == o.repository &&
121
- content_guard == o.content_guard
120
+ base_path == o.base_path &&
121
+ name == o.name
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
+ [content_guard, repository_version, repository, base_path, name].hash
134
134
  end
135
135
 
136
136
  # Builds the object from hash
@@ -6,7 +6,7 @@
6
6
  The version of the OpenAPI document: v3
7
7
  Contact: pulp-list@redhat.com
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 4.2.3
9
+ OpenAPI Generator version: 4.3.1
10
10
 
11
11
  =end
12
12
 
@@ -6,7 +6,7 @@
6
6
  The version of the OpenAPI document: v3
7
7
  Contact: pulp-list@redhat.com
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 4.2.3
9
+ OpenAPI Generator version: 4.3.1
10
10
 
11
11
  =end
12
12
 
@@ -6,7 +6,7 @@
6
6
  The version of the OpenAPI document: v3
7
7
  Contact: pulp-list@redhat.com
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 4.2.3
9
+ OpenAPI Generator version: 4.3.1
10
10
 
11
11
  =end
12
12
 
@@ -6,7 +6,7 @@
6
6
  The version of the OpenAPI document: v3
7
7
  Contact: pulp-list@redhat.com
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 4.2.3
9
+ OpenAPI Generator version: 4.3.1
10
10
 
11
11
  =end
12
12
 
@@ -6,7 +6,7 @@
6
6
  The version of the OpenAPI document: v3
7
7
  Contact: pulp-list@redhat.com
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 4.2.3
9
+ OpenAPI Generator version: 4.3.1
10
10
 
11
11
  =end
12
12
 
@@ -28,7 +28,7 @@ module PulpContainerClient
28
28
  # Attribute type mapping.
29
29
  def self.openapi_types
30
30
  {
31
- :'content_units' => :'Array<Object>'
31
+ :'content_units' => :'Array<AnyType>'
32
32
  }
33
33
  end
34
34
 
@@ -6,7 +6,7 @@
6
6
  The version of the OpenAPI document: v3
7
7
  Contact: pulp-list@redhat.com
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 4.2.3
9
+ OpenAPI Generator version: 4.3.1
10
10
 
11
11
  =end
12
12
 
@@ -6,7 +6,7 @@
6
6
  The version of the OpenAPI document: v3
7
7
  Contact: pulp-list@redhat.com
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 4.2.3
9
+ OpenAPI Generator version: 4.3.1
10
10
 
11
11
  =end
12
12
 
@@ -6,7 +6,7 @@
6
6
  The version of the OpenAPI document: v3
7
7
  Contact: pulp-list@redhat.com
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 4.2.3
9
+ OpenAPI Generator version: 4.3.1
10
10
 
11
11
  =end
12
12
 
@@ -6,7 +6,7 @@
6
6
  The version of the OpenAPI document: v3
7
7
  Contact: pulp-list@redhat.com
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 4.2.3
9
+ OpenAPI Generator version: 4.3.1
10
10
 
11
11
  =end
12
12
 
@@ -38,7 +38,7 @@ module PulpContainerClient
38
38
  {
39
39
  :'source_repository' => :'String',
40
40
  :'source_repository_version' => :'String',
41
- :'names' => :'Array<Object>'
41
+ :'names' => :'Array<AnyType>'
42
42
  }
43
43
  end
44
44
 
@@ -6,7 +6,7 @@
6
6
  The version of the OpenAPI document: v3
7
7
  Contact: pulp-list@redhat.com
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 4.2.3
9
+ OpenAPI Generator version: 4.3.1
10
10
 
11
11
  =end
12
12