pulp_container_client 2.0.1 → 2.0.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (29) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +4 -4
  3. data/docs/ContainerContainerDistribution.md +5 -5
  4. data/docs/ContainerContainerDistributionResponse.md +8 -8
  5. data/docs/DistributionsContainerApi.md +6 -54
  6. data/docs/PatchedcontainerContainerDistribution.md +5 -5
  7. data/docs/RemotesContainerApi.md +6 -66
  8. data/docs/RepositoriesContainerApi.md +6 -30
  9. data/docs/RepositoriesContainerPushApi.md +2 -10
  10. data/docs/RepositoriesContainerVersionsApi.md +4 -68
  11. data/lib/pulp_container_client/api/distributions_container_api.rb +0 -63
  12. data/lib/pulp_container_client/api/remotes_container_api.rb +0 -81
  13. data/lib/pulp_container_client/api/repositories_container_api.rb +0 -27
  14. data/lib/pulp_container_client/api/repositories_container_push_api.rb +0 -9
  15. data/lib/pulp_container_client/api/repositories_container_versions_api.rb +0 -90
  16. data/lib/pulp_container_client/models/container_container_distribution.rb +19 -19
  17. data/lib/pulp_container_client/models/container_container_distribution_response.rb +31 -31
  18. data/lib/pulp_container_client/models/patchedcontainer_container_distribution.rb +19 -19
  19. data/lib/pulp_container_client/models/repository_sync_url.rb +1 -0
  20. data/lib/pulp_container_client/version.rb +1 -1
  21. data/spec/api/distributions_container_api_spec.rb +0 -21
  22. data/spec/api/remotes_container_api_spec.rb +0 -27
  23. data/spec/api/repositories_container_api_spec.rb +0 -9
  24. data/spec/api/repositories_container_push_api_spec.rb +0 -3
  25. data/spec/api/repositories_container_versions_api_spec.rb +0 -30
  26. data/spec/models/container_container_distribution_response_spec.rb +6 -6
  27. data/spec/models/container_container_distribution_spec.rb +3 -3
  28. data/spec/models/patchedcontainer_container_distribution_spec.rb +3 -3
  29. metadata +2 -2
@@ -87,9 +87,6 @@ module PulpContainerClient
87
87
  # Trigger an asynchronous delete task
88
88
  # @param container_container_push_repository_href [String]
89
89
  # @param [Hash] opts the optional parameters
90
- # @option opts [String] :name name
91
- # @option opts [String] :name__in name__in
92
- # @option opts [String] :ordering Which field to use when ordering the results.
93
90
  # @return [AsyncOperationResponse]
94
91
  def delete(container_container_push_repository_href, opts = {})
95
92
  data, _status_code, _headers = delete_with_http_info(container_container_push_repository_href, opts)
@@ -100,9 +97,6 @@ module PulpContainerClient
100
97
  # Trigger an asynchronous delete task
101
98
  # @param container_container_push_repository_href [String]
102
99
  # @param [Hash] opts the optional parameters
103
- # @option opts [String] :name name
104
- # @option opts [String] :name__in name__in
105
- # @option opts [String] :ordering Which field to use when ordering the results.
106
100
  # @return [Array<(AsyncOperationResponse, Integer, Hash)>] AsyncOperationResponse data, response status code and response headers
107
101
  def delete_with_http_info(container_container_push_repository_href, opts = {})
108
102
  if @api_client.config.debugging
@@ -117,9 +111,6 @@ module PulpContainerClient
117
111
 
118
112
  # query parameters
119
113
  query_params = opts[:query_params] || {}
120
- query_params[:'name'] = opts[:'name'] if !opts[:'name'].nil?
121
- query_params[:'name__in'] = opts[:'name__in'] if !opts[:'name__in'].nil?
122
- query_params[:'ordering'] = opts[:'ordering'] if !opts[:'ordering'].nil?
123
114
 
124
115
  # header parameters
125
116
  header_params = opts[:header_params] || {}
@@ -23,21 +23,6 @@ module PulpContainerClient
23
23
  # Trigger an asynchronous task to delete a repositroy version.
24
24
  # @param container_container_push_repository_version_href [String]
25
25
  # @param [Hash] opts the optional parameters
26
- # @option opts [String] :content content
27
- # @option opts [String] :content__in content__in
28
- # @option opts [String] :number number
29
- # @option opts [String] :number__gt number__gt
30
- # @option opts [String] :number__gte number__gte
31
- # @option opts [String] :number__lt number__lt
32
- # @option opts [String] :number__lte number__lte
33
- # @option opts [String] :number__range number__range
34
- # @option opts [String] :ordering Which field to use when ordering the results.
35
- # @option opts [String] :pulp_created pulp_created
36
- # @option opts [String] :pulp_created__gt pulp_created__gt
37
- # @option opts [String] :pulp_created__gte pulp_created__gte
38
- # @option opts [String] :pulp_created__lt pulp_created__lt
39
- # @option opts [String] :pulp_created__lte pulp_created__lte
40
- # @option opts [String] :pulp_created__range pulp_created__range
41
26
  # @return [AsyncOperationResponse]
42
27
  def delete(container_container_push_repository_version_href, opts = {})
43
28
  data, _status_code, _headers = delete_with_http_info(container_container_push_repository_version_href, opts)
@@ -48,21 +33,6 @@ module PulpContainerClient
48
33
  # Trigger an asynchronous task to delete a repositroy version.
49
34
  # @param container_container_push_repository_version_href [String]
50
35
  # @param [Hash] opts the optional parameters
51
- # @option opts [String] :content content
52
- # @option opts [String] :content__in content__in
53
- # @option opts [String] :number number
54
- # @option opts [String] :number__gt number__gt
55
- # @option opts [String] :number__gte number__gte
56
- # @option opts [String] :number__lt number__lt
57
- # @option opts [String] :number__lte number__lte
58
- # @option opts [String] :number__range number__range
59
- # @option opts [String] :ordering Which field to use when ordering the results.
60
- # @option opts [String] :pulp_created pulp_created
61
- # @option opts [String] :pulp_created__gt pulp_created__gt
62
- # @option opts [String] :pulp_created__gte pulp_created__gte
63
- # @option opts [String] :pulp_created__lt pulp_created__lt
64
- # @option opts [String] :pulp_created__lte pulp_created__lte
65
- # @option opts [String] :pulp_created__range pulp_created__range
66
36
  # @return [Array<(AsyncOperationResponse, Integer, Hash)>] AsyncOperationResponse data, response status code and response headers
67
37
  def delete_with_http_info(container_container_push_repository_version_href, opts = {})
68
38
  if @api_client.config.debugging
@@ -77,21 +47,6 @@ module PulpContainerClient
77
47
 
78
48
  # query parameters
79
49
  query_params = opts[:query_params] || {}
80
- query_params[:'content'] = opts[:'content'] if !opts[:'content'].nil?
81
- query_params[:'content__in'] = opts[:'content__in'] if !opts[:'content__in'].nil?
82
- query_params[:'number'] = opts[:'number'] if !opts[:'number'].nil?
83
- query_params[:'number__gt'] = opts[:'number__gt'] if !opts[:'number__gt'].nil?
84
- query_params[:'number__gte'] = opts[:'number__gte'] if !opts[:'number__gte'].nil?
85
- query_params[:'number__lt'] = opts[:'number__lt'] if !opts[:'number__lt'].nil?
86
- query_params[:'number__lte'] = opts[:'number__lte'] if !opts[:'number__lte'].nil?
87
- query_params[:'number__range'] = opts[:'number__range'] if !opts[:'number__range'].nil?
88
- query_params[:'ordering'] = opts[:'ordering'] if !opts[:'ordering'].nil?
89
- query_params[:'pulp_created'] = opts[:'pulp_created'] if !opts[:'pulp_created'].nil?
90
- query_params[:'pulp_created__gt'] = opts[:'pulp_created__gt'] if !opts[:'pulp_created__gt'].nil?
91
- query_params[:'pulp_created__gte'] = opts[:'pulp_created__gte'] if !opts[:'pulp_created__gte'].nil?
92
- query_params[:'pulp_created__lt'] = opts[:'pulp_created__lt'] if !opts[:'pulp_created__lt'].nil?
93
- query_params[:'pulp_created__lte'] = opts[:'pulp_created__lte'] if !opts[:'pulp_created__lte'].nil?
94
- query_params[:'pulp_created__range'] = opts[:'pulp_created__range'] if !opts[:'pulp_created__range'].nil?
95
50
 
96
51
  # header parameters
97
52
  header_params = opts[:header_params] || {}
@@ -130,21 +85,6 @@ module PulpContainerClient
130
85
  # Trigger an asynchronous task to delete a repositroy version.
131
86
  # @param container_container_repository_version_href [String]
132
87
  # @param [Hash] opts the optional parameters
133
- # @option opts [String] :content content
134
- # @option opts [String] :content__in content__in
135
- # @option opts [String] :number number
136
- # @option opts [String] :number__gt number__gt
137
- # @option opts [String] :number__gte number__gte
138
- # @option opts [String] :number__lt number__lt
139
- # @option opts [String] :number__lte number__lte
140
- # @option opts [String] :number__range number__range
141
- # @option opts [String] :ordering Which field to use when ordering the results.
142
- # @option opts [String] :pulp_created pulp_created
143
- # @option opts [String] :pulp_created__gt pulp_created__gt
144
- # @option opts [String] :pulp_created__gte pulp_created__gte
145
- # @option opts [String] :pulp_created__lt pulp_created__lt
146
- # @option opts [String] :pulp_created__lte pulp_created__lte
147
- # @option opts [String] :pulp_created__range pulp_created__range
148
88
  # @return [AsyncOperationResponse]
149
89
  def delete_0(container_container_repository_version_href, opts = {})
150
90
  data, _status_code, _headers = delete_0_with_http_info(container_container_repository_version_href, opts)
@@ -155,21 +95,6 @@ module PulpContainerClient
155
95
  # Trigger an asynchronous task to delete a repositroy version.
156
96
  # @param container_container_repository_version_href [String]
157
97
  # @param [Hash] opts the optional parameters
158
- # @option opts [String] :content content
159
- # @option opts [String] :content__in content__in
160
- # @option opts [String] :number number
161
- # @option opts [String] :number__gt number__gt
162
- # @option opts [String] :number__gte number__gte
163
- # @option opts [String] :number__lt number__lt
164
- # @option opts [String] :number__lte number__lte
165
- # @option opts [String] :number__range number__range
166
- # @option opts [String] :ordering Which field to use when ordering the results.
167
- # @option opts [String] :pulp_created pulp_created
168
- # @option opts [String] :pulp_created__gt pulp_created__gt
169
- # @option opts [String] :pulp_created__gte pulp_created__gte
170
- # @option opts [String] :pulp_created__lt pulp_created__lt
171
- # @option opts [String] :pulp_created__lte pulp_created__lte
172
- # @option opts [String] :pulp_created__range pulp_created__range
173
98
  # @return [Array<(AsyncOperationResponse, Integer, Hash)>] AsyncOperationResponse data, response status code and response headers
174
99
  def delete_0_with_http_info(container_container_repository_version_href, opts = {})
175
100
  if @api_client.config.debugging
@@ -184,21 +109,6 @@ module PulpContainerClient
184
109
 
185
110
  # query parameters
186
111
  query_params = opts[:query_params] || {}
187
- query_params[:'content'] = opts[:'content'] if !opts[:'content'].nil?
188
- query_params[:'content__in'] = opts[:'content__in'] if !opts[:'content__in'].nil?
189
- query_params[:'number'] = opts[:'number'] if !opts[:'number'].nil?
190
- query_params[:'number__gt'] = opts[:'number__gt'] if !opts[:'number__gt'].nil?
191
- query_params[:'number__gte'] = opts[:'number__gte'] if !opts[:'number__gte'].nil?
192
- query_params[:'number__lt'] = opts[:'number__lt'] if !opts[:'number__lt'].nil?
193
- query_params[:'number__lte'] = opts[:'number__lte'] if !opts[:'number__lte'].nil?
194
- query_params[:'number__range'] = opts[:'number__range'] if !opts[:'number__range'].nil?
195
- query_params[:'ordering'] = opts[:'ordering'] if !opts[:'ordering'].nil?
196
- query_params[:'pulp_created'] = opts[:'pulp_created'] if !opts[:'pulp_created'].nil?
197
- query_params[:'pulp_created__gt'] = opts[:'pulp_created__gt'] if !opts[:'pulp_created__gt'].nil?
198
- query_params[:'pulp_created__gte'] = opts[:'pulp_created__gte'] if !opts[:'pulp_created__gte'].nil?
199
- query_params[:'pulp_created__lt'] = opts[:'pulp_created__lt'] if !opts[:'pulp_created__lt'].nil?
200
- query_params[:'pulp_created__lte'] = opts[:'pulp_created__lte'] if !opts[:'pulp_created__lte'].nil?
201
- query_params[:'pulp_created__range'] = opts[:'pulp_created__range'] if !opts[:'pulp_created__range'].nil?
202
112
 
203
113
  # header parameters
204
114
  header_params = opts[:header_params] || {}
@@ -15,40 +15,40 @@ require 'date'
15
15
  module PulpContainerClient
16
16
  # A serializer for ContainerDistribution.
17
17
  class ContainerContainerDistribution
18
+ # An optional content-guard. If none is specified, a default one will be used.
19
+ attr_accessor :content_guard
20
+
18
21
  # The latest RepositoryVersion for this Repository will be served.
19
22
  attr_accessor :repository
20
23
 
21
- # RepositoryVersion to be served
22
- attr_accessor :repository_version
23
-
24
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
25
  attr_accessor :base_path
26
26
 
27
27
  # A unique name. Ex, `rawhide` and `stable`.
28
28
  attr_accessor :name
29
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
+ :'content_guard' => :'content_guard',
36
37
  :'repository' => :'repository',
37
- :'repository_version' => :'repository_version',
38
38
  :'base_path' => :'base_path',
39
39
  :'name' => :'name',
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
+ :'content_guard' => :'String',
47
48
  :'repository' => :'String',
48
- :'repository_version' => :'String',
49
49
  :'base_path' => :'String',
50
50
  :'name' => :'String',
51
- :'content_guard' => :'String'
51
+ :'repository_version' => :'String'
52
52
  }
53
53
  end
54
54
 
@@ -56,7 +56,7 @@ module PulpContainerClient
56
56
  def self.openapi_nullable
57
57
  Set.new([
58
58
  :'repository',
59
- :'repository_version',
59
+ :'repository_version'
60
60
  ])
61
61
  end
62
62
 
@@ -75,12 +75,12 @@ module PulpContainerClient
75
75
  h[k.to_sym] = v
76
76
  }
77
77
 
78
- if attributes.key?(:'repository')
79
- self.repository = attributes[:'repository']
78
+ if attributes.key?(:'content_guard')
79
+ self.content_guard = attributes[:'content_guard']
80
80
  end
81
81
 
82
- if attributes.key?(:'repository_version')
83
- self.repository_version = attributes[:'repository_version']
82
+ if attributes.key?(:'repository')
83
+ self.repository = attributes[:'repository']
84
84
  end
85
85
 
86
86
  if attributes.key?(:'base_path')
@@ -91,8 +91,8 @@ module PulpContainerClient
91
91
  self.name = attributes[:'name']
92
92
  end
93
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
 
@@ -124,11 +124,11 @@ module PulpContainerClient
124
124
  def ==(o)
125
125
  return true if self.equal?(o)
126
126
  self.class == o.class &&
127
+ content_guard == o.content_guard &&
127
128
  repository == o.repository &&
128
- repository_version == o.repository_version &&
129
129
  base_path == o.base_path &&
130
130
  name == o.name &&
131
- content_guard == o.content_guard
131
+ repository_version == o.repository_version
132
132
  end
133
133
 
134
134
  # @see the `==` method
@@ -140,7 +140,7 @@ module PulpContainerClient
140
140
  # Calculates hash code according to all attributes.
141
141
  # @return [Integer] Hash code
142
142
  def hash
143
- [repository, repository_version, base_path, name, content_guard].hash
143
+ [content_guard, repository, base_path, name, repository_version].hash
144
144
  end
145
145
 
146
146
  # Builds the object from hash
@@ -15,25 +15,25 @@ require 'date'
15
15
  module PulpContainerClient
16
16
  # A serializer for ContainerDistribution.
17
17
  class ContainerContainerDistributionResponse
18
- attr_accessor :pulp_href
19
-
20
- # Timestamp of creation.
21
- attr_accessor :pulp_created
18
+ # An optional content-guard. If none is specified, a default one will be used.
19
+ attr_accessor :content_guard
22
20
 
23
21
  # The latest RepositoryVersion for this Repository will be served.
24
22
  attr_accessor :repository
25
23
 
26
- # RepositoryVersion to be served
27
- attr_accessor :repository_version
24
+ # Timestamp of creation.
25
+ attr_accessor :pulp_created
28
26
 
29
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\")
30
28
  attr_accessor :base_path
31
29
 
30
+ attr_accessor :pulp_href
31
+
32
32
  # A unique name. Ex, `rawhide` and `stable`.
33
33
  attr_accessor :name
34
34
 
35
- # An optional content-guard. If none is specified, a default one will be used.
36
- attr_accessor :content_guard
35
+ # RepositoryVersion to be served
36
+ attr_accessor :repository_version
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
- :'pulp_href' => :'pulp_href',
45
- :'pulp_created' => :'pulp_created',
44
+ :'content_guard' => :'content_guard',
46
45
  :'repository' => :'repository',
47
- :'repository_version' => :'repository_version',
46
+ :'pulp_created' => :'pulp_created',
48
47
  :'base_path' => :'base_path',
48
+ :'pulp_href' => :'pulp_href',
49
49
  :'name' => :'name',
50
- :'content_guard' => :'content_guard',
50
+ :'repository_version' => :'repository_version',
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
- :'pulp_created' => :'DateTime',
58
+ :'content_guard' => :'String',
60
59
  :'repository' => :'String',
61
- :'repository_version' => :'String',
60
+ :'pulp_created' => :'DateTime',
62
61
  :'base_path' => :'String',
62
+ :'pulp_href' => :'String',
63
63
  :'name' => :'String',
64
- :'content_guard' => :'String',
64
+ :'repository_version' => :'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?(:'pulp_href')
93
- self.pulp_href = attributes[:'pulp_href']
94
- end
95
-
96
- if attributes.key?(:'pulp_created')
97
- self.pulp_created = attributes[:'pulp_created']
92
+ if attributes.key?(:'content_guard')
93
+ self.content_guard = attributes[:'content_guard']
98
94
  end
99
95
 
100
96
  if attributes.key?(:'repository')
101
97
  self.repository = attributes[:'repository']
102
98
  end
103
99
 
104
- if attributes.key?(:'repository_version')
105
- self.repository_version = attributes[:'repository_version']
100
+ if attributes.key?(:'pulp_created')
101
+ self.pulp_created = attributes[:'pulp_created']
106
102
  end
107
103
 
108
104
  if attributes.key?(:'base_path')
109
105
  self.base_path = attributes[:'base_path']
110
106
  end
111
107
 
108
+ if attributes.key?(:'pulp_href')
109
+ self.pulp_href = attributes[:'pulp_href']
110
+ end
111
+
112
112
  if attributes.key?(:'name')
113
113
  self.name = attributes[:'name']
114
114
  end
115
115
 
116
- if attributes.key?(:'content_guard')
117
- self.content_guard = attributes[:'content_guard']
116
+ if attributes.key?(:'repository_version')
117
+ self.repository_version = attributes[:'repository_version']
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
- pulp_created == o.pulp_created &&
153
+ content_guard == o.content_guard &&
155
154
  repository == o.repository &&
156
- repository_version == o.repository_version &&
155
+ pulp_created == o.pulp_created &&
157
156
  base_path == o.base_path &&
157
+ pulp_href == o.pulp_href &&
158
158
  name == o.name &&
159
- content_guard == o.content_guard &&
159
+ repository_version == o.repository_version &&
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
- [pulp_href, pulp_created, repository, repository_version, base_path, name, content_guard, registry_path].hash
172
+ [content_guard, repository, pulp_created, base_path, pulp_href, name, repository_version, registry_path].hash
173
173
  end
174
174
 
175
175
  # Builds the object from hash
@@ -15,40 +15,40 @@ require 'date'
15
15
  module PulpContainerClient
16
16
  # A serializer for ContainerDistribution.
17
17
  class PatchedcontainerContainerDistribution
18
+ # An optional content-guard. If none is specified, a default one will be used.
19
+ attr_accessor :content_guard
20
+
18
21
  # The latest RepositoryVersion for this Repository will be served.
19
22
  attr_accessor :repository
20
23
 
21
- # RepositoryVersion to be served
22
- attr_accessor :repository_version
23
-
24
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
25
  attr_accessor :base_path
26
26
 
27
27
  # A unique name. Ex, `rawhide` and `stable`.
28
28
  attr_accessor :name
29
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
+ :'content_guard' => :'content_guard',
36
37
  :'repository' => :'repository',
37
- :'repository_version' => :'repository_version',
38
38
  :'base_path' => :'base_path',
39
39
  :'name' => :'name',
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
+ :'content_guard' => :'String',
47
48
  :'repository' => :'String',
48
- :'repository_version' => :'String',
49
49
  :'base_path' => :'String',
50
50
  :'name' => :'String',
51
- :'content_guard' => :'String'
51
+ :'repository_version' => :'String'
52
52
  }
53
53
  end
54
54
 
@@ -56,7 +56,7 @@ module PulpContainerClient
56
56
  def self.openapi_nullable
57
57
  Set.new([
58
58
  :'repository',
59
- :'repository_version',
59
+ :'repository_version'
60
60
  ])
61
61
  end
62
62
 
@@ -75,12 +75,12 @@ module PulpContainerClient
75
75
  h[k.to_sym] = v
76
76
  }
77
77
 
78
- if attributes.key?(:'repository')
79
- self.repository = attributes[:'repository']
78
+ if attributes.key?(:'content_guard')
79
+ self.content_guard = attributes[:'content_guard']
80
80
  end
81
81
 
82
- if attributes.key?(:'repository_version')
83
- self.repository_version = attributes[:'repository_version']
82
+ if attributes.key?(:'repository')
83
+ self.repository = attributes[:'repository']
84
84
  end
85
85
 
86
86
  if attributes.key?(:'base_path')
@@ -91,8 +91,8 @@ module PulpContainerClient
91
91
  self.name = attributes[:'name']
92
92
  end
93
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
+ content_guard == o.content_guard &&
117
118
  repository == o.repository &&
118
- repository_version == o.repository_version &&
119
119
  base_path == o.base_path &&
120
120
  name == o.name &&
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
- [repository, repository_version, base_path, name, content_guard].hash
133
+ [content_guard, repository, base_path, name, repository_version].hash
134
134
  end
135
135
 
136
136
  # Builds the object from hash