pulp_container_client 2.7.0 → 2.8.2

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 (45) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +5 -5
  3. data/docs/ContainerContainerDistribution.md +3 -3
  4. data/docs/ContainerContainerDistributionResponse.md +6 -6
  5. data/docs/ContainerContainerPushRepository.md +5 -5
  6. data/docs/ContainerContainerPushRepositoryResponse.md +7 -7
  7. data/docs/ContainerContainerRepository.md +3 -3
  8. data/docs/ContainerContainerRepositoryResponse.md +3 -3
  9. data/docs/ContentBlobsApi.md +1 -1
  10. data/docs/ContentManifestsApi.md +1 -1
  11. data/docs/ContentTagsApi.md +1 -1
  12. data/docs/ContentguardsContentRedirectApi.md +1 -1
  13. data/docs/DistributionsContainerApi.md +1 -1
  14. data/docs/PatchedcontainerContainerDistribution.md +3 -3
  15. data/docs/PatchedcontainerContainerPushRepository.md +5 -5
  16. data/docs/PatchedcontainerContainerRepository.md +3 -3
  17. data/docs/PulpContainerNamespacesApi.md +1 -1
  18. data/docs/RemotesContainerApi.md +1 -1
  19. data/docs/RepositoriesContainerApi.md +1 -1
  20. data/docs/RepositoriesContainerPushApi.md +1 -1
  21. data/docs/RepositoriesContainerPushVersionsApi.md +1 -1
  22. data/docs/RepositoriesContainerVersionsApi.md +1 -1
  23. data/docs/TokenApi.md +1 -1
  24. data/lib/pulp_container_client/configuration.rb +2 -2
  25. data/lib/pulp_container_client/models/container_container_distribution.rb +16 -16
  26. data/lib/pulp_container_client/models/container_container_distribution_response.rb +26 -26
  27. data/lib/pulp_container_client/models/container_container_push_repository.rb +26 -26
  28. data/lib/pulp_container_client/models/container_container_push_repository_response.rb +36 -36
  29. data/lib/pulp_container_client/models/container_container_repository.rb +17 -16
  30. data/lib/pulp_container_client/models/container_container_repository_response.rb +17 -16
  31. data/lib/pulp_container_client/models/patchedcontainer_container_distribution.rb +11 -11
  32. data/lib/pulp_container_client/models/patchedcontainer_container_push_repository.rb +26 -26
  33. data/lib/pulp_container_client/models/patchedcontainer_container_repository.rb +17 -16
  34. data/lib/pulp_container_client/version.rb +1 -1
  35. data/spec/configuration_spec.rb +3 -3
  36. data/spec/models/container_container_distribution_response_spec.rb +3 -3
  37. data/spec/models/container_container_distribution_spec.rb +4 -4
  38. data/spec/models/container_container_push_repository_response_spec.rb +6 -6
  39. data/spec/models/container_container_push_repository_spec.rb +3 -3
  40. data/spec/models/container_container_repository_response_spec.rb +1 -1
  41. data/spec/models/container_container_repository_spec.rb +1 -1
  42. data/spec/models/patchedcontainer_container_distribution_spec.rb +4 -4
  43. data/spec/models/patchedcontainer_container_push_repository_spec.rb +3 -3
  44. data/spec/models/patchedcontainer_container_repository_spec.rb +1 -1
  45. metadata +45 -45
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 987ba97925657bc05a127c9412c28b4c6ffaf9923cb597ba8474c0f755197b50
4
- data.tar.gz: 60db3b68846091515fed42920fdb9b03aebe320033023ed350937b9120761968
3
+ metadata.gz: e8083a9fa6b114b52ac6a2b820943d6c93849b2336755b65e7058a7863d6fbd7
4
+ data.tar.gz: a2a5204637e875ecda2a48ed21306252686352518fe816a4ace2c18f63e72a46
5
5
  SHA512:
6
- metadata.gz: 585a488e69032dc1acac0127c4e5c2c595d75e3e715c2c20c21c50b86e63a61477b5764874b8fedea74cf24b6abadb4a5e0f45d8e08e30a83acc616c442101bc
7
- data.tar.gz: 6d5ff8697ebdfad68f15dd881a395231e9adb085d9021b731e97db8f5405905707541db73deb82c3d6548dfacd308060a756f2da07162708a2b894f81b0bf9ef
6
+ metadata.gz: 2db81c75028264839f96c0c802429c2c27a80031c57ed5ac89fdf4179e0c51b50053a47017fc46394d904eab5445deee09b99bfff6887c4dffb3bba43380e0c1
7
+ data.tar.gz: fb22061ee646890a82851d2c6fec0d061acdd7845c5295b692ce0fe30a729cb3f6dda37511d18485513d7342f27a9180b6a975ba42d65412578f5868ef918767
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.7.0
10
+ - Package version: 2.8.2
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.7.0.gem
27
+ gem install ./pulp_container_client-2.8.2.gem
28
28
  ```
29
29
 
30
- (for development, run `gem install --dev ./pulp_container_client-2.7.0.gem` to install the development dependencies)
30
+ (for development, run `gem install --dev ./pulp_container_client-2.8.2.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.7.0'
36
+ gem 'pulp_container_client', '~> 2.8.2'
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 *http://pulp*
94
+ All URIs are relative to *https://pulp*
95
95
 
96
96
  Class | Method | HTTP request | Description
97
97
  ------------ | ------------- | ------------- | -------------
@@ -4,10 +4,10 @@
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\") |
7
8
  **name** | **String** | A unique name. Ex, `rawhide` and `stable`. |
8
9
  **repository** | **String** | The latest RepositoryVersion for this Repository will be served. | [optional]
9
10
  **content_guard** | **String** | An optional content-guard. If none is specified, a default one will be used. | [optional]
10
- **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\") |
11
11
  **pulp_labels** | [**Object**](.md) | | [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]
@@ -18,10 +18,10 @@ Name | Type | Description | Notes
18
18
  ```ruby
19
19
  require 'PulpContainerClient'
20
20
 
21
- instance = PulpContainerClient::ContainerContainerDistribution.new(name: null,
21
+ instance = PulpContainerClient::ContainerContainerDistribution.new(base_path: null,
22
+ name: null,
22
23
  repository: null,
23
24
  content_guard: null,
24
- base_path: null,
25
25
  pulp_labels: null,
26
26
  repository_version: null,
27
27
  private: null,
@@ -4,12 +4,12 @@
4
4
 
5
5
  Name | Type | Description | Notes
6
6
  ------------ | ------------- | ------------- | -------------
7
- **pulp_created** | **DateTime** | Timestamp of creation. | [optional] [readonly]
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
8
  **name** | **String** | A unique name. Ex, `rawhide` and `stable`. |
9
- **pulp_href** | **String** | | [optional] [readonly]
9
+ **pulp_created** | **DateTime** | Timestamp of creation. | [optional] [readonly]
10
10
  **repository** | **String** | The latest RepositoryVersion for this Repository will be served. | [optional]
11
11
  **content_guard** | **String** | An optional content-guard. If none is specified, a default one will be used. | [optional]
12
- **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
+ **pulp_href** | **String** | | [optional] [readonly]
13
13
  **pulp_labels** | [**Object**](.md) | | [optional]
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]
@@ -22,12 +22,12 @@ Name | Type | Description | Notes
22
22
  ```ruby
23
23
  require 'PulpContainerClient'
24
24
 
25
- instance = PulpContainerClient::ContainerContainerDistributionResponse.new(pulp_created: null,
25
+ instance = PulpContainerClient::ContainerContainerDistributionResponse.new(base_path: null,
26
26
  name: null,
27
- pulp_href: null,
27
+ pulp_created: null,
28
28
  repository: null,
29
29
  content_guard: null,
30
- base_path: null,
30
+ pulp_href: null,
31
31
  pulp_labels: null,
32
32
  repository_version: null,
33
33
  registry_path: null,
@@ -4,9 +4,9 @@
4
4
 
5
5
  Name | Type | Description | Notes
6
6
  ------------ | ------------- | ------------- | -------------
7
- **name** | **String** | A unique name for this repository. |
8
7
  **description** | **String** | An optional description. | [optional]
9
- **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
+ **name** | **String** | A unique name for this repository. |
9
+ **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]
10
10
  **pulp_labels** | [**Object**](.md) | | [optional]
11
11
 
12
12
  ## Code Sample
@@ -14,9 +14,9 @@ Name | Type | Description | Notes
14
14
  ```ruby
15
15
  require 'PulpContainerClient'
16
16
 
17
- instance = PulpContainerClient::ContainerContainerPushRepository.new(name: null,
18
- description: null,
19
- retained_versions: null,
17
+ instance = PulpContainerClient::ContainerContainerPushRepository.new(description: null,
18
+ name: null,
19
+ retain_repo_versions: null,
20
20
  pulp_labels: null)
21
21
  ```
22
22
 
@@ -4,12 +4,12 @@
4
4
 
5
5
  Name | Type | Description | Notes
6
6
  ------------ | ------------- | ------------- | -------------
7
- **pulp_created** | **DateTime** | Timestamp of creation. | [optional] [readonly]
8
- **name** | **String** | A unique name for this repository. |
9
7
  **versions_href** | **String** | | [optional] [readonly]
10
8
  **description** | **String** | An optional description. | [optional]
11
9
  **latest_version_href** | **String** | | [optional] [readonly]
12
- **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]
10
+ **name** | **String** | A unique name for this repository. |
11
+ **pulp_created** | **DateTime** | Timestamp of creation. | [optional] [readonly]
12
+ **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]
13
13
  **pulp_href** | **String** | | [optional] [readonly]
14
14
  **pulp_labels** | [**Object**](.md) | | [optional]
15
15
 
@@ -18,12 +18,12 @@ Name | Type | Description | Notes
18
18
  ```ruby
19
19
  require 'PulpContainerClient'
20
20
 
21
- instance = PulpContainerClient::ContainerContainerPushRepositoryResponse.new(pulp_created: null,
22
- name: null,
23
- versions_href: null,
21
+ instance = PulpContainerClient::ContainerContainerPushRepositoryResponse.new(versions_href: null,
24
22
  description: null,
25
23
  latest_version_href: null,
26
- retained_versions: null,
24
+ name: null,
25
+ pulp_created: null,
26
+ retain_repo_versions: null,
27
27
  pulp_href: null,
28
28
  pulp_labels: null)
29
29
  ```
@@ -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
- **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]
11
- **remote** | **String** | | [optional]
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
- retained_versions: null,
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
- **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]
15
- **remote** | **String** | | [optional]
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
- retained_versions: null,
29
+ retain_repo_versions: null,
30
30
  remote: null)
31
31
  ```
32
32
 
@@ -1,6 +1,6 @@
1
1
  # PulpContainerClient::ContentBlobsApi
2
2
 
3
- All URIs are relative to *http://pulp*
3
+ All URIs are relative to *https://pulp*
4
4
 
5
5
  Method | HTTP request | Description
6
6
  ------------- | ------------- | -------------
@@ -1,6 +1,6 @@
1
1
  # PulpContainerClient::ContentManifestsApi
2
2
 
3
- All URIs are relative to *http://pulp*
3
+ All URIs are relative to *https://pulp*
4
4
 
5
5
  Method | HTTP request | Description
6
6
  ------------- | ------------- | -------------
@@ -1,6 +1,6 @@
1
1
  # PulpContainerClient::ContentTagsApi
2
2
 
3
- All URIs are relative to *http://pulp*
3
+ All URIs are relative to *https://pulp*
4
4
 
5
5
  Method | HTTP request | Description
6
6
  ------------- | ------------- | -------------
@@ -1,6 +1,6 @@
1
1
  # PulpContainerClient::ContentguardsContentRedirectApi
2
2
 
3
- All URIs are relative to *http://pulp*
3
+ All URIs are relative to *https://pulp*
4
4
 
5
5
  Method | HTTP request | Description
6
6
  ------------- | ------------- | -------------
@@ -1,6 +1,6 @@
1
1
  # PulpContainerClient::DistributionsContainerApi
2
2
 
3
- All URIs are relative to *http://pulp*
3
+ All URIs are relative to *https://pulp*
4
4
 
5
5
  Method | HTTP request | Description
6
6
  ------------- | ------------- | -------------
@@ -4,10 +4,10 @@
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]
7
8
  **name** | **String** | A unique name. Ex, `rawhide` and `stable`. | [optional]
8
9
  **repository** | **String** | The latest RepositoryVersion for this Repository will be served. | [optional]
9
10
  **content_guard** | **String** | An optional content-guard. If none is specified, a default one will be used. | [optional]
10
- **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]
11
11
  **pulp_labels** | [**Object**](.md) | | [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]
@@ -18,10 +18,10 @@ Name | Type | Description | Notes
18
18
  ```ruby
19
19
  require 'PulpContainerClient'
20
20
 
21
- instance = PulpContainerClient::PatchedcontainerContainerDistribution.new(name: null,
21
+ instance = PulpContainerClient::PatchedcontainerContainerDistribution.new(base_path: null,
22
+ name: null,
22
23
  repository: null,
23
24
  content_guard: null,
24
- base_path: null,
25
25
  pulp_labels: null,
26
26
  repository_version: null,
27
27
  private: null,
@@ -4,9 +4,9 @@
4
4
 
5
5
  Name | Type | Description | Notes
6
6
  ------------ | ------------- | ------------- | -------------
7
- **name** | **String** | A unique name for this repository. | [optional]
8
7
  **description** | **String** | An optional description. | [optional]
9
- **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
+ **name** | **String** | A unique name for this repository. | [optional]
9
+ **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]
10
10
  **pulp_labels** | [**Object**](.md) | | [optional]
11
11
 
12
12
  ## Code Sample
@@ -14,9 +14,9 @@ Name | Type | Description | Notes
14
14
  ```ruby
15
15
  require 'PulpContainerClient'
16
16
 
17
- instance = PulpContainerClient::PatchedcontainerContainerPushRepository.new(name: null,
18
- description: null,
19
- retained_versions: null,
17
+ instance = PulpContainerClient::PatchedcontainerContainerPushRepository.new(description: null,
18
+ name: null,
19
+ retain_repo_versions: null,
20
20
  pulp_labels: null)
21
21
  ```
22
22
 
@@ -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
- **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]
11
- **remote** | **String** | | [optional]
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
- retained_versions: null,
21
+ retain_repo_versions: null,
22
22
  remote: null)
23
23
  ```
24
24
 
@@ -1,6 +1,6 @@
1
1
  # PulpContainerClient::PulpContainerNamespacesApi
2
2
 
3
- All URIs are relative to *http://pulp*
3
+ All URIs are relative to *https://pulp*
4
4
 
5
5
  Method | HTTP request | Description
6
6
  ------------- | ------------- | -------------
@@ -1,6 +1,6 @@
1
1
  # PulpContainerClient::RemotesContainerApi
2
2
 
3
- All URIs are relative to *http://pulp*
3
+ All URIs are relative to *https://pulp*
4
4
 
5
5
  Method | HTTP request | Description
6
6
  ------------- | ------------- | -------------
@@ -1,6 +1,6 @@
1
1
  # PulpContainerClient::RepositoriesContainerApi
2
2
 
3
- All URIs are relative to *http://pulp*
3
+ All URIs are relative to *https://pulp*
4
4
 
5
5
  Method | HTTP request | Description
6
6
  ------------- | ------------- | -------------
@@ -1,6 +1,6 @@
1
1
  # PulpContainerClient::RepositoriesContainerPushApi
2
2
 
3
- All URIs are relative to *http://pulp*
3
+ All URIs are relative to *https://pulp*
4
4
 
5
5
  Method | HTTP request | Description
6
6
  ------------- | ------------- | -------------
@@ -1,6 +1,6 @@
1
1
  # PulpContainerClient::RepositoriesContainerPushVersionsApi
2
2
 
3
- All URIs are relative to *http://pulp*
3
+ All URIs are relative to *https://pulp*
4
4
 
5
5
  Method | HTTP request | Description
6
6
  ------------- | ------------- | -------------
@@ -1,6 +1,6 @@
1
1
  # PulpContainerClient::RepositoriesContainerVersionsApi
2
2
 
3
- All URIs are relative to *http://pulp*
3
+ All URIs are relative to *https://pulp*
4
4
 
5
5
  Method | HTTP request | Description
6
6
  ------------- | ------------- | -------------
data/docs/TokenApi.md CHANGED
@@ -1,6 +1,6 @@
1
1
  # PulpContainerClient::TokenApi
2
2
 
3
- All URIs are relative to *http://pulp*
3
+ All URIs are relative to *https://pulp*
4
4
 
5
5
  Method | HTTP request | Description
6
6
  ------------- | ------------- | -------------
@@ -127,7 +127,7 @@ module PulpContainerClient
127
127
  attr_accessor :force_ending_format
128
128
 
129
129
  def initialize
130
- @scheme = 'http'
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: "http://pulp/",
212
+ url: "https://pulp/",
213
213
  description: "No description provided",
214
214
  }
215
215
  ]
@@ -15,6 +15,9 @@ require 'date'
15
15
  module PulpContainerClient
16
16
  # A serializer for ContainerDistribution.
17
17
  class ContainerContainerDistribution
18
+ # The base (relative) path component of the published url. Avoid paths that overlap with other distribution base paths (e.g. \"foo\" and \"foo/bar\")
19
+ attr_accessor :base_path
20
+
18
21
  # A unique name. Ex, `rawhide` and `stable`.
19
22
  attr_accessor :name
20
23
 
@@ -24,9 +27,6 @@ module PulpContainerClient
24
27
  # An optional content-guard. If none is specified, a default one will be used.
25
28
  attr_accessor :content_guard
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\")
28
- attr_accessor :base_path
29
-
30
30
  attr_accessor :pulp_labels
31
31
 
32
32
  # RepositoryVersion to be served
@@ -41,10 +41,10 @@ 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',
44
45
  :'name' => :'name',
45
46
  :'repository' => :'repository',
46
47
  :'content_guard' => :'content_guard',
47
- :'base_path' => :'base_path',
48
48
  :'pulp_labels' => :'pulp_labels',
49
49
  :'repository_version' => :'repository_version',
50
50
  :'private' => :'private',
@@ -55,10 +55,10 @@ module PulpContainerClient
55
55
  # Attribute type mapping.
56
56
  def self.openapi_types
57
57
  {
58
+ :'base_path' => :'String',
58
59
  :'name' => :'String',
59
60
  :'repository' => :'String',
60
61
  :'content_guard' => :'String',
61
- :'base_path' => :'String',
62
62
  :'pulp_labels' => :'Object',
63
63
  :'repository_version' => :'String',
64
64
  :'private' => :'Boolean',
@@ -90,6 +90,10 @@ module PulpContainerClient
90
90
  h[k.to_sym] = v
91
91
  }
92
92
 
93
+ if attributes.key?(:'base_path')
94
+ self.base_path = attributes[:'base_path']
95
+ end
96
+
93
97
  if attributes.key?(:'name')
94
98
  self.name = attributes[:'name']
95
99
  end
@@ -102,10 +106,6 @@ module PulpContainerClient
102
106
  self.content_guard = attributes[:'content_guard']
103
107
  end
104
108
 
105
- if attributes.key?(:'base_path')
106
- self.base_path = attributes[:'base_path']
107
- end
108
-
109
109
  if attributes.key?(:'pulp_labels')
110
110
  self.pulp_labels = attributes[:'pulp_labels']
111
111
  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 @name.nil?
131
- invalid_properties.push('invalid value for "name", name cannot be nil.')
132
- end
133
-
134
130
  if @base_path.nil?
135
131
  invalid_properties.push('invalid value for "base_path", base_path cannot be nil.')
136
132
  end
137
133
 
134
+ if @name.nil?
135
+ invalid_properties.push('invalid value for "name", name 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 @name.nil?
145
144
  return false if @base_path.nil?
145
+ return false if @name.nil?
146
146
  true
147
147
  end
148
148
 
@@ -151,10 +151,10 @@ 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 &&
154
155
  name == o.name &&
155
156
  repository == o.repository &&
156
157
  content_guard == o.content_guard &&
157
- base_path == o.base_path &&
158
158
  pulp_labels == o.pulp_labels &&
159
159
  repository_version == o.repository_version &&
160
160
  private == o.private &&
@@ -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
- [name, repository, content_guard, base_path, pulp_labels, repository_version, private, description].hash
173
+ [base_path, name, repository, content_guard, pulp_labels, repository_version, private, description].hash
174
174
  end
175
175
 
176
176
  # Builds the object from hash