pulp_container_client 2.7.1 → 2.8.3
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.
- checksums.yaml +4 -4
- data/README.md +5 -5
- data/docs/ContainerContainerDistribution.md +4 -4
- data/docs/ContainerContainerDistributionResponse.md +6 -6
- data/docs/ContainerContainerPushRepository.md +2 -2
- data/docs/ContainerContainerPushRepositoryResponse.md +5 -5
- data/docs/ContainerContainerRepository.md +3 -3
- data/docs/ContainerContainerRepositoryResponse.md +3 -3
- data/docs/ContentBlobsApi.md +1 -1
- data/docs/ContentManifestsApi.md +1 -1
- data/docs/ContentTagsApi.md +1 -1
- data/docs/ContentguardsContentRedirectApi.md +1 -1
- data/docs/DistributionsContainerApi.md +1 -1
- data/docs/PatchedcontainerContainerDistribution.md +4 -4
- data/docs/PatchedcontainerContainerPushRepository.md +2 -2
- data/docs/PatchedcontainerContainerRepository.md +3 -3
- data/docs/PulpContainerNamespacesApi.md +1 -1
- data/docs/RemotesContainerApi.md +1 -1
- data/docs/RepositoriesContainerApi.md +1 -1
- data/docs/RepositoriesContainerPushApi.md +1 -1
- data/docs/RepositoriesContainerPushVersionsApi.md +1 -1
- data/docs/RepositoriesContainerVersionsApi.md +1 -1
- data/docs/TokenApi.md +1 -1
- data/lib/pulp_container_client/configuration.rb +2 -2
- data/lib/pulp_container_client/models/container_container_distribution.rb +23 -23
- data/lib/pulp_container_client/models/container_container_distribution_response.rb +32 -32
- data/lib/pulp_container_client/models/container_container_push_repository.rb +16 -16
- data/lib/pulp_container_client/models/container_container_push_repository_response.rb +29 -29
- data/lib/pulp_container_client/models/container_container_repository.rb +17 -16
- data/lib/pulp_container_client/models/container_container_repository_response.rb +17 -16
- data/lib/pulp_container_client/models/patchedcontainer_container_distribution.rb +18 -18
- data/lib/pulp_container_client/models/patchedcontainer_container_push_repository.rb +16 -16
- data/lib/pulp_container_client/models/patchedcontainer_container_repository.rb +17 -16
- data/lib/pulp_container_client/version.rb +1 -1
- data/spec/configuration_spec.rb +3 -3
- data/spec/models/container_container_distribution_response_spec.rb +6 -6
- data/spec/models/container_container_distribution_spec.rb +4 -4
- data/spec/models/container_container_push_repository_response_spec.rb +4 -4
- data/spec/models/container_container_push_repository_spec.rb +1 -1
- data/spec/models/container_container_repository_response_spec.rb +1 -1
- data/spec/models/container_container_repository_spec.rb +1 -1
- data/spec/models/patchedcontainer_container_distribution_spec.rb +4 -4
- data/spec/models/patchedcontainer_container_push_repository_spec.rb +1 -1
- data/spec/models/patchedcontainer_container_repository_spec.rb +1 -1
- metadata +42 -42
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: db54b88afaca76951b2b5aabe67b480150e3e4a673b755236f2310bfe7b70ad5
|
4
|
+
data.tar.gz: 9086bac5c54adc3f923b2b70e5028e931cbff175ad2f59a1f3203c0746c14b09
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 57dd8569ab6289409a60473b57d40211b5f3d6e56a77dfde1e313e01ba9474ce03adf0d85534b6b0d0b9ce0a57f85ee5272b8b88023823d8e54d12385ea1d9c6
|
7
|
+
data.tar.gz: 2b40ba0ab0c44b8d61332be0e247d142caa246086ae5fabe828d2bfa2ab43418f5ea73654e6ffbae9361ff51bd0f0cc54aeda10519fe1b2f56f5f4da71ce863e
|
data/README.md
CHANGED
@@ -7,7 +7,7 @@ Fetch, Upload, Organize, and Distribute Software Packages
|
|
7
7
|
This SDK is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project:
|
8
8
|
|
9
9
|
- API version: v3
|
10
|
-
- Package version: 2.
|
10
|
+
- Package version: 2.8.3
|
11
11
|
- Build package: org.openapitools.codegen.languages.RubyClientCodegen
|
12
12
|
For more information, please visit [https://pulpproject.org](https://pulpproject.org)
|
13
13
|
|
@@ -24,16 +24,16 @@ gem build pulp_container_client.gemspec
|
|
24
24
|
Then either install the gem locally:
|
25
25
|
|
26
26
|
```shell
|
27
|
-
gem install ./pulp_container_client-2.
|
27
|
+
gem install ./pulp_container_client-2.8.3.gem
|
28
28
|
```
|
29
29
|
|
30
|
-
(for development, run `gem install --dev ./pulp_container_client-2.
|
30
|
+
(for development, run `gem install --dev ./pulp_container_client-2.8.3.gem` to install the development dependencies)
|
31
31
|
|
32
32
|
or publish the gem to a gem hosting service, e.g. [RubyGems](https://rubygems.org/).
|
33
33
|
|
34
34
|
Finally add this to the Gemfile:
|
35
35
|
|
36
|
-
gem 'pulp_container_client', '~> 2.
|
36
|
+
gem 'pulp_container_client', '~> 2.8.3'
|
37
37
|
|
38
38
|
### Install from Git
|
39
39
|
|
@@ -91,7 +91,7 @@ end
|
|
91
91
|
|
92
92
|
## Documentation for API Endpoints
|
93
93
|
|
94
|
-
All URIs are relative to *
|
94
|
+
All URIs are relative to *https://pulp*
|
95
95
|
|
96
96
|
Class | Method | HTTP request | Description
|
97
97
|
------------ | ------------- | ------------- | -------------
|
@@ -4,11 +4,11 @@
|
|
4
4
|
|
5
5
|
Name | Type | Description | Notes
|
6
6
|
------------ | ------------- | ------------- | -------------
|
7
|
-
**base_path** | **String** | The base (relative) path component of the published url. Avoid paths that overlap with other distribution base paths (e.g. \"foo\" and \"foo/bar\") |
|
8
|
-
**repository** | **String** | The latest RepositoryVersion for this Repository will be served. | [optional]
|
9
7
|
**content_guard** | **String** | An optional content-guard. If none is specified, a default one will be used. | [optional]
|
8
|
+
**repository** | **String** | The latest RepositoryVersion for this Repository will be served. | [optional]
|
10
9
|
**name** | **String** | A unique name. Ex, `rawhide` and `stable`. |
|
11
10
|
**pulp_labels** | [**Object**](.md) | | [optional]
|
11
|
+
**base_path** | **String** | The base (relative) path component of the published url. Avoid paths that overlap with other distribution base paths (e.g. \"foo\" and \"foo/bar\") |
|
12
12
|
**repository_version** | **String** | RepositoryVersion to be served | [optional]
|
13
13
|
**private** | **Boolean** | Restrict pull access to explicitly authorized users. Defaults to unrestricted pull access. | [optional]
|
14
14
|
**description** | **String** | An optional description. | [optional]
|
@@ -18,11 +18,11 @@ Name | Type | Description | Notes
|
|
18
18
|
```ruby
|
19
19
|
require 'PulpContainerClient'
|
20
20
|
|
21
|
-
instance = PulpContainerClient::ContainerContainerDistribution.new(
|
21
|
+
instance = PulpContainerClient::ContainerContainerDistribution.new(content_guard: null,
|
22
22
|
repository: null,
|
23
|
-
content_guard: null,
|
24
23
|
name: null,
|
25
24
|
pulp_labels: null,
|
25
|
+
base_path: null,
|
26
26
|
repository_version: null,
|
27
27
|
private: null,
|
28
28
|
description: null)
|
@@ -4,13 +4,13 @@
|
|
4
4
|
|
5
5
|
Name | Type | Description | Notes
|
6
6
|
------------ | ------------- | ------------- | -------------
|
7
|
-
**base_path** | **String** | The base (relative) path component of the published url. Avoid paths that overlap with other distribution base paths (e.g. \"foo\" and \"foo/bar\") |
|
8
|
-
**pulp_created** | **DateTime** | Timestamp of creation. | [optional] [readonly]
|
9
|
-
**repository** | **String** | The latest RepositoryVersion for this Repository will be served. | [optional]
|
10
7
|
**content_guard** | **String** | An optional content-guard. If none is specified, a default one will be used. | [optional]
|
8
|
+
**pulp_created** | **DateTime** | Timestamp of creation. | [optional] [readonly]
|
11
9
|
**pulp_href** | **String** | | [optional] [readonly]
|
10
|
+
**repository** | **String** | The latest RepositoryVersion for this Repository will be served. | [optional]
|
12
11
|
**name** | **String** | A unique name. Ex, `rawhide` and `stable`. |
|
13
12
|
**pulp_labels** | [**Object**](.md) | | [optional]
|
13
|
+
**base_path** | **String** | The base (relative) path component of the published url. Avoid paths that overlap with other distribution base paths (e.g. \"foo\" and \"foo/bar\") |
|
14
14
|
**repository_version** | **String** | RepositoryVersion to be served | [optional]
|
15
15
|
**registry_path** | **String** | The Registry hostame/name/ to use with docker pull command defined by this distribution. | [optional] [readonly]
|
16
16
|
**namespace** | **String** | Namespace this distribution belongs to. | [optional] [readonly]
|
@@ -22,13 +22,13 @@ Name | Type | Description | Notes
|
|
22
22
|
```ruby
|
23
23
|
require 'PulpContainerClient'
|
24
24
|
|
25
|
-
instance = PulpContainerClient::ContainerContainerDistributionResponse.new(
|
25
|
+
instance = PulpContainerClient::ContainerContainerDistributionResponse.new(content_guard: null,
|
26
26
|
pulp_created: null,
|
27
|
-
repository: null,
|
28
|
-
content_guard: null,
|
29
27
|
pulp_href: null,
|
28
|
+
repository: null,
|
30
29
|
name: null,
|
31
30
|
pulp_labels: null,
|
31
|
+
base_path: null,
|
32
32
|
repository_version: null,
|
33
33
|
registry_path: null,
|
34
34
|
namespace: null,
|
@@ -4,7 +4,7 @@
|
|
4
4
|
|
5
5
|
Name | Type | Description | Notes
|
6
6
|
------------ | ------------- | ------------- | -------------
|
7
|
-
**
|
7
|
+
**retain_repo_versions** | **Integer** | Retain X versions of the repository. Default is null which retains all versions. This is provided as a tech preview in Pulp 3 and may change in the future. | [optional]
|
8
8
|
**name** | **String** | A unique name for this repository. |
|
9
9
|
**pulp_labels** | [**Object**](.md) | | [optional]
|
10
10
|
**description** | **String** | An optional description. | [optional]
|
@@ -14,7 +14,7 @@ Name | Type | Description | Notes
|
|
14
14
|
```ruby
|
15
15
|
require 'PulpContainerClient'
|
16
16
|
|
17
|
-
instance = PulpContainerClient::ContainerContainerPushRepository.new(
|
17
|
+
instance = PulpContainerClient::ContainerContainerPushRepository.new(retain_repo_versions: null,
|
18
18
|
name: null,
|
19
19
|
pulp_labels: null,
|
20
20
|
description: null)
|
@@ -4,10 +4,10 @@
|
|
4
4
|
|
5
5
|
Name | Type | Description | Notes
|
6
6
|
------------ | ------------- | ------------- | -------------
|
7
|
-
**retained_versions** | **Integer** | Retain X versions of the repository. Default is null which retains all versions. This is provided as a tech preview in Pulp 3 and may change in the future. | [optional]
|
8
|
-
**pulp_created** | **DateTime** | Timestamp of creation. | [optional] [readonly]
|
9
7
|
**versions_href** | **String** | | [optional] [readonly]
|
10
8
|
**latest_version_href** | **String** | | [optional] [readonly]
|
9
|
+
**pulp_created** | **DateTime** | Timestamp of creation. | [optional] [readonly]
|
10
|
+
**retain_repo_versions** | **Integer** | Retain X versions of the repository. Default is null which retains all versions. This is provided as a tech preview in Pulp 3 and may change in the future. | [optional]
|
11
11
|
**pulp_href** | **String** | | [optional] [readonly]
|
12
12
|
**name** | **String** | A unique name for this repository. |
|
13
13
|
**pulp_labels** | [**Object**](.md) | | [optional]
|
@@ -18,10 +18,10 @@ Name | Type | Description | Notes
|
|
18
18
|
```ruby
|
19
19
|
require 'PulpContainerClient'
|
20
20
|
|
21
|
-
instance = PulpContainerClient::ContainerContainerPushRepositoryResponse.new(
|
22
|
-
pulp_created: null,
|
23
|
-
versions_href: null,
|
21
|
+
instance = PulpContainerClient::ContainerContainerPushRepositoryResponse.new(versions_href: null,
|
24
22
|
latest_version_href: null,
|
23
|
+
pulp_created: null,
|
24
|
+
retain_repo_versions: null,
|
25
25
|
pulp_href: null,
|
26
26
|
name: null,
|
27
27
|
pulp_labels: null,
|
@@ -7,8 +7,8 @@ Name | Type | Description | Notes
|
|
7
7
|
**pulp_labels** | [**Object**](.md) | | [optional]
|
8
8
|
**name** | **String** | A unique name for this repository. |
|
9
9
|
**description** | **String** | An optional description. | [optional]
|
10
|
-
**
|
11
|
-
**remote** | **String** |
|
10
|
+
**retain_repo_versions** | **Integer** | Retain X versions of the repository. Default is null which retains all versions. This is provided as a tech preview in Pulp 3 and may change in the future. | [optional]
|
11
|
+
**remote** | **String** | An optional remote to use by default when syncing. | [optional]
|
12
12
|
|
13
13
|
## Code Sample
|
14
14
|
|
@@ -18,7 +18,7 @@ require 'PulpContainerClient'
|
|
18
18
|
instance = PulpContainerClient::ContainerContainerRepository.new(pulp_labels: null,
|
19
19
|
name: null,
|
20
20
|
description: null,
|
21
|
-
|
21
|
+
retain_repo_versions: null,
|
22
22
|
remote: null)
|
23
23
|
```
|
24
24
|
|
@@ -11,8 +11,8 @@ Name | Type | Description | Notes
|
|
11
11
|
**latest_version_href** | **String** | | [optional] [readonly]
|
12
12
|
**name** | **String** | A unique name for this repository. |
|
13
13
|
**description** | **String** | An optional description. | [optional]
|
14
|
-
**
|
15
|
-
**remote** | **String** |
|
14
|
+
**retain_repo_versions** | **Integer** | Retain X versions of the repository. Default is null which retains all versions. This is provided as a tech preview in Pulp 3 and may change in the future. | [optional]
|
15
|
+
**remote** | **String** | An optional remote to use by default when syncing. | [optional]
|
16
16
|
|
17
17
|
## Code Sample
|
18
18
|
|
@@ -26,7 +26,7 @@ instance = PulpContainerClient::ContainerContainerRepositoryResponse.new(pulp_hr
|
|
26
26
|
latest_version_href: null,
|
27
27
|
name: null,
|
28
28
|
description: null,
|
29
|
-
|
29
|
+
retain_repo_versions: null,
|
30
30
|
remote: null)
|
31
31
|
```
|
32
32
|
|
data/docs/ContentBlobsApi.md
CHANGED
data/docs/ContentManifestsApi.md
CHANGED
data/docs/ContentTagsApi.md
CHANGED
@@ -4,11 +4,11 @@
|
|
4
4
|
|
5
5
|
Name | Type | Description | Notes
|
6
6
|
------------ | ------------- | ------------- | -------------
|
7
|
-
**base_path** | **String** | The base (relative) path component of the published url. Avoid paths that overlap with other distribution base paths (e.g. \"foo\" and \"foo/bar\") | [optional]
|
8
|
-
**repository** | **String** | The latest RepositoryVersion for this Repository will be served. | [optional]
|
9
7
|
**content_guard** | **String** | An optional content-guard. If none is specified, a default one will be used. | [optional]
|
8
|
+
**repository** | **String** | The latest RepositoryVersion for this Repository will be served. | [optional]
|
10
9
|
**name** | **String** | A unique name. Ex, `rawhide` and `stable`. | [optional]
|
11
10
|
**pulp_labels** | [**Object**](.md) | | [optional]
|
11
|
+
**base_path** | **String** | The base (relative) path component of the published url. Avoid paths that overlap with other distribution base paths (e.g. \"foo\" and \"foo/bar\") | [optional]
|
12
12
|
**repository_version** | **String** | RepositoryVersion to be served | [optional]
|
13
13
|
**private** | **Boolean** | Restrict pull access to explicitly authorized users. Defaults to unrestricted pull access. | [optional]
|
14
14
|
**description** | **String** | An optional description. | [optional]
|
@@ -18,11 +18,11 @@ Name | Type | Description | Notes
|
|
18
18
|
```ruby
|
19
19
|
require 'PulpContainerClient'
|
20
20
|
|
21
|
-
instance = PulpContainerClient::PatchedcontainerContainerDistribution.new(
|
21
|
+
instance = PulpContainerClient::PatchedcontainerContainerDistribution.new(content_guard: null,
|
22
22
|
repository: null,
|
23
|
-
content_guard: null,
|
24
23
|
name: null,
|
25
24
|
pulp_labels: null,
|
25
|
+
base_path: null,
|
26
26
|
repository_version: null,
|
27
27
|
private: null,
|
28
28
|
description: null)
|
@@ -4,7 +4,7 @@
|
|
4
4
|
|
5
5
|
Name | Type | Description | Notes
|
6
6
|
------------ | ------------- | ------------- | -------------
|
7
|
-
**
|
7
|
+
**retain_repo_versions** | **Integer** | Retain X versions of the repository. Default is null which retains all versions. This is provided as a tech preview in Pulp 3 and may change in the future. | [optional]
|
8
8
|
**name** | **String** | A unique name for this repository. | [optional]
|
9
9
|
**pulp_labels** | [**Object**](.md) | | [optional]
|
10
10
|
**description** | **String** | An optional description. | [optional]
|
@@ -14,7 +14,7 @@ Name | Type | Description | Notes
|
|
14
14
|
```ruby
|
15
15
|
require 'PulpContainerClient'
|
16
16
|
|
17
|
-
instance = PulpContainerClient::PatchedcontainerContainerPushRepository.new(
|
17
|
+
instance = PulpContainerClient::PatchedcontainerContainerPushRepository.new(retain_repo_versions: null,
|
18
18
|
name: null,
|
19
19
|
pulp_labels: null,
|
20
20
|
description: null)
|
@@ -7,8 +7,8 @@ Name | Type | Description | Notes
|
|
7
7
|
**pulp_labels** | [**Object**](.md) | | [optional]
|
8
8
|
**name** | **String** | A unique name for this repository. | [optional]
|
9
9
|
**description** | **String** | An optional description. | [optional]
|
10
|
-
**
|
11
|
-
**remote** | **String** |
|
10
|
+
**retain_repo_versions** | **Integer** | Retain X versions of the repository. Default is null which retains all versions. This is provided as a tech preview in Pulp 3 and may change in the future. | [optional]
|
11
|
+
**remote** | **String** | An optional remote to use by default when syncing. | [optional]
|
12
12
|
|
13
13
|
## Code Sample
|
14
14
|
|
@@ -18,7 +18,7 @@ require 'PulpContainerClient'
|
|
18
18
|
instance = PulpContainerClient::PatchedcontainerContainerRepository.new(pulp_labels: null,
|
19
19
|
name: null,
|
20
20
|
description: null,
|
21
|
-
|
21
|
+
retain_repo_versions: null,
|
22
22
|
remote: null)
|
23
23
|
```
|
24
24
|
|
data/docs/RemotesContainerApi.md
CHANGED
data/docs/TokenApi.md
CHANGED
@@ -127,7 +127,7 @@ module PulpContainerClient
|
|
127
127
|
attr_accessor :force_ending_format
|
128
128
|
|
129
129
|
def initialize
|
130
|
-
@scheme = '
|
130
|
+
@scheme = 'https'
|
131
131
|
@host = 'pulp'
|
132
132
|
@base_path = ''
|
133
133
|
@api_key = {}
|
@@ -209,7 +209,7 @@ module PulpContainerClient
|
|
209
209
|
def server_settings
|
210
210
|
[
|
211
211
|
{
|
212
|
-
url: "
|
212
|
+
url: "https://pulp/",
|
213
213
|
description: "No description provided",
|
214
214
|
}
|
215
215
|
]
|
@@ -15,20 +15,20 @@ require 'date'
|
|
15
15
|
module PulpContainerClient
|
16
16
|
# A serializer for ContainerDistribution.
|
17
17
|
class ContainerContainerDistribution
|
18
|
-
#
|
19
|
-
attr_accessor :
|
18
|
+
# An optional content-guard. If none is specified, a default one will be used.
|
19
|
+
attr_accessor :content_guard
|
20
20
|
|
21
21
|
# The latest RepositoryVersion for this Repository will be served.
|
22
22
|
attr_accessor :repository
|
23
23
|
|
24
|
-
# An optional content-guard. If none is specified, a default one will be used.
|
25
|
-
attr_accessor :content_guard
|
26
|
-
|
27
24
|
# A unique name. Ex, `rawhide` and `stable`.
|
28
25
|
attr_accessor :name
|
29
26
|
|
30
27
|
attr_accessor :pulp_labels
|
31
28
|
|
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\")
|
30
|
+
attr_accessor :base_path
|
31
|
+
|
32
32
|
# RepositoryVersion to be served
|
33
33
|
attr_accessor :repository_version
|
34
34
|
|
@@ -41,11 +41,11 @@ module PulpContainerClient
|
|
41
41
|
# Attribute mapping from ruby-style variable name to JSON key.
|
42
42
|
def self.attribute_map
|
43
43
|
{
|
44
|
-
:'base_path' => :'base_path',
|
45
|
-
:'repository' => :'repository',
|
46
44
|
:'content_guard' => :'content_guard',
|
45
|
+
:'repository' => :'repository',
|
47
46
|
:'name' => :'name',
|
48
47
|
:'pulp_labels' => :'pulp_labels',
|
48
|
+
:'base_path' => :'base_path',
|
49
49
|
:'repository_version' => :'repository_version',
|
50
50
|
:'private' => :'private',
|
51
51
|
:'description' => :'description'
|
@@ -55,11 +55,11 @@ module PulpContainerClient
|
|
55
55
|
# Attribute type mapping.
|
56
56
|
def self.openapi_types
|
57
57
|
{
|
58
|
-
:'base_path' => :'String',
|
59
|
-
:'repository' => :'String',
|
60
58
|
:'content_guard' => :'String',
|
59
|
+
:'repository' => :'String',
|
61
60
|
:'name' => :'String',
|
62
61
|
:'pulp_labels' => :'Object',
|
62
|
+
:'base_path' => :'String',
|
63
63
|
:'repository_version' => :'String',
|
64
64
|
:'private' => :'Boolean',
|
65
65
|
:'description' => :'String'
|
@@ -90,18 +90,14 @@ module PulpContainerClient
|
|
90
90
|
h[k.to_sym] = v
|
91
91
|
}
|
92
92
|
|
93
|
-
if attributes.key?(:'
|
94
|
-
self.
|
93
|
+
if attributes.key?(:'content_guard')
|
94
|
+
self.content_guard = attributes[:'content_guard']
|
95
95
|
end
|
96
96
|
|
97
97
|
if attributes.key?(:'repository')
|
98
98
|
self.repository = attributes[:'repository']
|
99
99
|
end
|
100
100
|
|
101
|
-
if attributes.key?(:'content_guard')
|
102
|
-
self.content_guard = attributes[:'content_guard']
|
103
|
-
end
|
104
|
-
|
105
101
|
if attributes.key?(:'name')
|
106
102
|
self.name = attributes[:'name']
|
107
103
|
end
|
@@ -110,6 +106,10 @@ module PulpContainerClient
|
|
110
106
|
self.pulp_labels = attributes[:'pulp_labels']
|
111
107
|
end
|
112
108
|
|
109
|
+
if attributes.key?(:'base_path')
|
110
|
+
self.base_path = attributes[:'base_path']
|
111
|
+
end
|
112
|
+
|
113
113
|
if attributes.key?(:'repository_version')
|
114
114
|
self.repository_version = attributes[:'repository_version']
|
115
115
|
end
|
@@ -127,22 +127,22 @@ module PulpContainerClient
|
|
127
127
|
# @return Array for valid properties with the reasons
|
128
128
|
def list_invalid_properties
|
129
129
|
invalid_properties = Array.new
|
130
|
-
if @base_path.nil?
|
131
|
-
invalid_properties.push('invalid value for "base_path", base_path cannot be nil.')
|
132
|
-
end
|
133
|
-
|
134
130
|
if @name.nil?
|
135
131
|
invalid_properties.push('invalid value for "name", name cannot be nil.')
|
136
132
|
end
|
137
133
|
|
134
|
+
if @base_path.nil?
|
135
|
+
invalid_properties.push('invalid value for "base_path", base_path cannot be nil.')
|
136
|
+
end
|
137
|
+
|
138
138
|
invalid_properties
|
139
139
|
end
|
140
140
|
|
141
141
|
# Check to see if the all the properties in the model are valid
|
142
142
|
# @return true if the model is valid
|
143
143
|
def valid?
|
144
|
-
return false if @base_path.nil?
|
145
144
|
return false if @name.nil?
|
145
|
+
return false if @base_path.nil?
|
146
146
|
true
|
147
147
|
end
|
148
148
|
|
@@ -151,11 +151,11 @@ module PulpContainerClient
|
|
151
151
|
def ==(o)
|
152
152
|
return true if self.equal?(o)
|
153
153
|
self.class == o.class &&
|
154
|
-
base_path == o.base_path &&
|
155
|
-
repository == o.repository &&
|
156
154
|
content_guard == o.content_guard &&
|
155
|
+
repository == o.repository &&
|
157
156
|
name == o.name &&
|
158
157
|
pulp_labels == o.pulp_labels &&
|
158
|
+
base_path == o.base_path &&
|
159
159
|
repository_version == o.repository_version &&
|
160
160
|
private == o.private &&
|
161
161
|
description == o.description
|
@@ -170,7 +170,7 @@ module PulpContainerClient
|
|
170
170
|
# Calculates hash code according to all attributes.
|
171
171
|
# @return [Integer] Hash code
|
172
172
|
def hash
|
173
|
-
[
|
173
|
+
[content_guard, repository, name, pulp_labels, base_path, repository_version, private, description].hash
|
174
174
|
end
|
175
175
|
|
176
176
|
# Builds the object from hash
|