pulpcore_client 3.63.51 → 3.63.52

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 5b71a266658068454e209adc0b11e5a21d8bcf25a7723c1900478c2f56df4586
4
- data.tar.gz: 1f2515a021fee25708246af79dbf1b9869dfd48053a307739d900e4ce96d9799
3
+ metadata.gz: 4e4731b2d06b10abda772a3f5aba64b07ae7b50a2ac978898dc8c3f976e2fbae
4
+ data.tar.gz: 95586f428986dd1d8c517c0deec7b0de72a7212161ba8bed3105acd9c5be53f4
5
5
  SHA512:
6
- metadata.gz: de04a328b42ba95e3116990bc72950a42fcdb2386052ba6babb1f7d4b1f779948f5858f2d40dd213de4aa295327c64abeb699039b2f506cf71581d2bcdf73382
7
- data.tar.gz: 6fcd630812fa697385c0e2b91561b2fdfe60e20afc0ff1d1bfdabf7128c7344389c881d1f46d1b4dcb84454b0296442008678c3f3fff4b0ebb02c3e5ad76f958
6
+ metadata.gz: ecdbae39fccf15e8c536a9dee3cdad45e27c2953e12499f9a06255cb71ae0e73a8a07a55d5da7dd88d0d46016390ed26299b04d7163e511ff46487033aa37b1f
7
+ data.tar.gz: aa5135e0ed1574f67b8eb98befe516c9adf62ec3c9dda28c90c8a5baeef9c6a9d062d905d28d0636d9a7f4d67a07cbe02bdccac4650331fb8c894740da368d46
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: 3.63.51
10
+ - Package version: 3.63.52
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 pulpcore_client.gemspec
24
24
  Then either install the gem locally:
25
25
 
26
26
  ```shell
27
- gem install ./pulpcore_client-3.63.51.gem
27
+ gem install ./pulpcore_client-3.63.52.gem
28
28
  ```
29
29
 
30
- (for development, run `gem install --dev ./pulpcore_client-3.63.51.gem` to install the development dependencies)
30
+ (for development, run `gem install --dev ./pulpcore_client-3.63.52.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 'pulpcore_client', '~> 3.63.51'
36
+ gem 'pulpcore_client', '~> 3.63.52'
37
37
 
38
38
  ### Install from Git
39
39
 
@@ -4,34 +4,34 @@
4
4
 
5
5
  Name | Type | Description | Notes
6
6
  ------------ | ------------- | ------------- | -------------
7
- **pulp_last_updated** | **DateTime** | Timestamp of the last time this resource was updated. Note: for immutable resources - like content, repository versions, and publication - pulp_created and pulp_last_updated dates will be the same. | [optional] [readonly]
8
- **pulp_href** | **String** | | [optional] [readonly]
9
7
  **prn** | **String** | The Pulp Resource Name (PRN). | [optional] [readonly]
10
- **base_url** | **String** | The URL for accessing the publication as defined by this distribution. | [optional] [readonly]
8
+ **hidden** | **Boolean** | Whether this distribution should be shown in the content app. | [optional] [default to false]
9
+ **pulp_created** | **DateTime** | Timestamp of creation. | [optional] [readonly]
11
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
+ **base_url** | **String** | The URL for accessing the publication as defined by this distribution. | [optional] [readonly]
12
+ **pulp_last_updated** | **DateTime** | Timestamp of the last time this resource was updated. Note: for immutable resources - like content, repository versions, and publication - pulp_created and pulp_last_updated dates will be the same. | [optional] [readonly]
12
13
  **pulp_labels** | **Hash<String, String>** | | [optional]
14
+ **pulp_href** | **String** | | [optional] [readonly]
13
15
  **no_content_change_since** | **String** | Timestamp since when the distributed content served by this distribution has not changed. If equals to `null`, no guarantee is provided about content changes. | [optional] [readonly]
14
- **name** | **String** | A unique name. Ex, `rawhide` and `stable`. |
15
- **pulp_created** | **DateTime** | Timestamp of creation. | [optional] [readonly]
16
- **hidden** | **Boolean** | Whether this distribution should be shown in the content app. | [optional] [default to false]
17
16
  **content_guard** | **String** | An optional content-guard. | [optional]
17
+ **name** | **String** | A unique name. Ex, `rawhide` and `stable`. |
18
18
 
19
19
  ## Code Sample
20
20
 
21
21
  ```ruby
22
22
  require 'PulpcoreClient'
23
23
 
24
- instance = PulpcoreClient::ArtifactDistributionResponse.new(pulp_last_updated: null,
25
- pulp_href: null,
26
- prn: null,
27
- base_url: null,
24
+ instance = PulpcoreClient::ArtifactDistributionResponse.new(prn: null,
25
+ hidden: null,
26
+ pulp_created: null,
28
27
  base_path: null,
28
+ base_url: null,
29
+ pulp_last_updated: null,
29
30
  pulp_labels: null,
31
+ pulp_href: null,
30
32
  no_content_change_since: null,
31
- name: null,
32
- pulp_created: null,
33
- hidden: null,
34
- content_guard: null)
33
+ content_guard: null,
34
+ name: null)
35
35
  ```
36
36
 
37
37
 
@@ -8,7 +8,7 @@ Name | Type | Description | Notes
8
8
  **description** | **String** | An optional description. | [optional]
9
9
  **header_name** | **String** | The header name the guard will check on. |
10
10
  **header_value** | **String** | The value that will authorize the request. |
11
- **jq_filter** | **String** | A JQ syntax compatible filter. If jq_filter is not set, then the value willonly be Base64 decoded and checked as an explicit string match. | [optional]
11
+ **jq_filter** | **String** | A simple dotted path (e.g. .a.b.c) used to extract the value from the Base64 decoded JSON header. If jq_filter is not set, the header value is only Base64 decoded and checked as an explicit string match. | [optional]
12
12
 
13
13
  ## Code Sample
14
14
 
@@ -12,7 +12,7 @@ Name | Type | Description | Notes
12
12
  **description** | **String** | An optional description. | [optional]
13
13
  **header_name** | **String** | The header name the guard will check on. |
14
14
  **header_value** | **String** | The value that will authorize the request. |
15
- **jq_filter** | **String** | A JQ syntax compatible filter. If jq_filter is not set, then the value willonly be Base64 decoded and checked as an explicit string match. | [optional]
15
+ **jq_filter** | **String** | A simple dotted path (e.g. .a.b.c) used to extract the value from the Base64 decoded JSON header. If jq_filter is not set, the header value is only Base64 decoded and checked as an explicit string match. | [optional]
16
16
 
17
17
  ## Code Sample
18
18
 
@@ -8,7 +8,7 @@ Name | Type | Description | Notes
8
8
  **description** | **String** | An optional description. | [optional]
9
9
  **header_name** | **String** | The header name the guard will check on. | [optional]
10
10
  **header_value** | **String** | The value that will authorize the request. | [optional]
11
- **jq_filter** | **String** | A JQ syntax compatible filter. If jq_filter is not set, then the value willonly be Base64 decoded and checked as an explicit string match. | [optional]
11
+ **jq_filter** | **String** | A simple dotted path (e.g. .a.b.c) used to extract the value from the Base64 decoded JSON header. If jq_filter is not set, the header value is only Base64 decoded and checked as an explicit string match. | [optional]
12
12
 
13
13
  ## Code Sample
14
14
 
@@ -15,75 +15,75 @@ require 'date'
15
15
  module PulpcoreClient
16
16
  # A serializer for ArtifactDistribution.
17
17
  class ArtifactDistributionResponse
18
- # Timestamp of the last time this resource was updated. Note: for immutable resources - like content, repository versions, and publication - pulp_created and pulp_last_updated dates will be the same.
19
- attr_accessor :pulp_last_updated
20
-
21
- attr_accessor :pulp_href
22
-
23
18
  # The Pulp Resource Name (PRN).
24
19
  attr_accessor :prn
25
20
 
26
- # The URL for accessing the publication as defined by this distribution.
27
- attr_accessor :base_url
21
+ # Whether this distribution should be shown in the content app.
22
+ attr_accessor :hidden
23
+
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
 
32
- attr_accessor :pulp_labels
30
+ # The URL for accessing the publication as defined by this distribution.
31
+ attr_accessor :base_url
33
32
 
34
- # Timestamp since when the distributed content served by this distribution has not changed. If equals to `null`, no guarantee is provided about content changes.
35
- attr_accessor :no_content_change_since
33
+ # Timestamp of the last time this resource was updated. Note: for immutable resources - like content, repository versions, and publication - pulp_created and pulp_last_updated dates will be the same.
34
+ attr_accessor :pulp_last_updated
36
35
 
37
- # A unique name. Ex, `rawhide` and `stable`.
38
- attr_accessor :name
36
+ attr_accessor :pulp_labels
39
37
 
40
- # Timestamp of creation.
41
- attr_accessor :pulp_created
38
+ attr_accessor :pulp_href
42
39
 
43
- # Whether this distribution should be shown in the content app.
44
- attr_accessor :hidden
40
+ # Timestamp since when the distributed content served by this distribution has not changed. If equals to `null`, no guarantee is provided about content changes.
41
+ attr_accessor :no_content_change_since
45
42
 
46
43
  # An optional content-guard.
47
44
  attr_accessor :content_guard
48
45
 
46
+ # A unique name. Ex, `rawhide` and `stable`.
47
+ attr_accessor :name
48
+
49
49
  # Attribute mapping from ruby-style variable name to JSON key.
50
50
  def self.attribute_map
51
51
  {
52
- :'pulp_last_updated' => :'pulp_last_updated',
53
- :'pulp_href' => :'pulp_href',
54
52
  :'prn' => :'prn',
55
- :'base_url' => :'base_url',
53
+ :'hidden' => :'hidden',
54
+ :'pulp_created' => :'pulp_created',
56
55
  :'base_path' => :'base_path',
56
+ :'base_url' => :'base_url',
57
+ :'pulp_last_updated' => :'pulp_last_updated',
57
58
  :'pulp_labels' => :'pulp_labels',
59
+ :'pulp_href' => :'pulp_href',
58
60
  :'no_content_change_since' => :'no_content_change_since',
59
- :'name' => :'name',
60
- :'pulp_created' => :'pulp_created',
61
- :'hidden' => :'hidden',
62
- :'content_guard' => :'content_guard'
61
+ :'content_guard' => :'content_guard',
62
+ :'name' => :'name'
63
63
  }
64
64
  end
65
65
 
66
66
  # Attribute type mapping.
67
67
  def self.openapi_types
68
68
  {
69
- :'pulp_last_updated' => :'DateTime',
70
- :'pulp_href' => :'String',
71
69
  :'prn' => :'String',
72
- :'base_url' => :'String',
70
+ :'hidden' => :'Boolean',
71
+ :'pulp_created' => :'DateTime',
73
72
  :'base_path' => :'String',
73
+ :'base_url' => :'String',
74
+ :'pulp_last_updated' => :'DateTime',
74
75
  :'pulp_labels' => :'Hash<String, String>',
76
+ :'pulp_href' => :'String',
75
77
  :'no_content_change_since' => :'String',
76
- :'name' => :'String',
77
- :'pulp_created' => :'DateTime',
78
- :'hidden' => :'Boolean',
79
- :'content_guard' => :'String'
78
+ :'content_guard' => :'String',
79
+ :'name' => :'String'
80
80
  }
81
81
  end
82
82
 
83
83
  # List of attributes with nullable: true
84
84
  def self.openapi_nullable
85
85
  Set.new([
86
- :'content_guard'
86
+ :'content_guard',
87
87
  ])
88
88
  end
89
89
 
@@ -102,24 +102,30 @@ module PulpcoreClient
102
102
  h[k.to_sym] = v
103
103
  }
104
104
 
105
- if attributes.key?(:'pulp_last_updated')
106
- self.pulp_last_updated = attributes[:'pulp_last_updated']
105
+ if attributes.key?(:'prn')
106
+ self.prn = attributes[:'prn']
107
107
  end
108
108
 
109
- if attributes.key?(:'pulp_href')
110
- self.pulp_href = attributes[:'pulp_href']
109
+ if attributes.key?(:'hidden')
110
+ self.hidden = attributes[:'hidden']
111
+ else
112
+ self.hidden = false
111
113
  end
112
114
 
113
- if attributes.key?(:'prn')
114
- self.prn = attributes[:'prn']
115
+ if attributes.key?(:'pulp_created')
116
+ self.pulp_created = attributes[:'pulp_created']
117
+ end
118
+
119
+ if attributes.key?(:'base_path')
120
+ self.base_path = attributes[:'base_path']
115
121
  end
116
122
 
117
123
  if attributes.key?(:'base_url')
118
124
  self.base_url = attributes[:'base_url']
119
125
  end
120
126
 
121
- if attributes.key?(:'base_path')
122
- self.base_path = attributes[:'base_path']
127
+ if attributes.key?(:'pulp_last_updated')
128
+ self.pulp_last_updated = attributes[:'pulp_last_updated']
123
129
  end
124
130
 
125
131
  if attributes.key?(:'pulp_labels')
@@ -128,27 +134,21 @@ module PulpcoreClient
128
134
  end
129
135
  end
130
136
 
131
- if attributes.key?(:'no_content_change_since')
132
- self.no_content_change_since = attributes[:'no_content_change_since']
133
- end
134
-
135
- if attributes.key?(:'name')
136
- self.name = attributes[:'name']
137
- end
138
-
139
- if attributes.key?(:'pulp_created')
140
- self.pulp_created = attributes[:'pulp_created']
137
+ if attributes.key?(:'pulp_href')
138
+ self.pulp_href = attributes[:'pulp_href']
141
139
  end
142
140
 
143
- if attributes.key?(:'hidden')
144
- self.hidden = attributes[:'hidden']
145
- else
146
- self.hidden = false
141
+ if attributes.key?(:'no_content_change_since')
142
+ self.no_content_change_since = attributes[:'no_content_change_since']
147
143
  end
148
144
 
149
145
  if attributes.key?(:'content_guard')
150
146
  self.content_guard = attributes[:'content_guard']
151
147
  end
148
+
149
+ if attributes.key?(:'name')
150
+ self.name = attributes[:'name']
151
+ end
152
152
  end
153
153
 
154
154
  # Show invalid properties with the reasons. Usually used together with valid?
@@ -179,17 +179,17 @@ module PulpcoreClient
179
179
  def ==(o)
180
180
  return true if self.equal?(o)
181
181
  self.class == o.class &&
182
- pulp_last_updated == o.pulp_last_updated &&
183
- pulp_href == o.pulp_href &&
184
182
  prn == o.prn &&
185
- base_url == o.base_url &&
183
+ hidden == o.hidden &&
184
+ pulp_created == o.pulp_created &&
186
185
  base_path == o.base_path &&
186
+ base_url == o.base_url &&
187
+ pulp_last_updated == o.pulp_last_updated &&
187
188
  pulp_labels == o.pulp_labels &&
189
+ pulp_href == o.pulp_href &&
188
190
  no_content_change_since == o.no_content_change_since &&
189
- name == o.name &&
190
- pulp_created == o.pulp_created &&
191
- hidden == o.hidden &&
192
- content_guard == o.content_guard
191
+ content_guard == o.content_guard &&
192
+ name == o.name
193
193
  end
194
194
 
195
195
  # @see the `==` method
@@ -201,7 +201,7 @@ module PulpcoreClient
201
201
  # Calculates hash code according to all attributes.
202
202
  # @return [Integer] Hash code
203
203
  def hash
204
- [pulp_last_updated, pulp_href, prn, base_url, base_path, pulp_labels, no_content_change_since, name, pulp_created, hidden, content_guard].hash
204
+ [prn, hidden, pulp_created, base_path, base_url, pulp_last_updated, pulp_labels, pulp_href, no_content_change_since, content_guard, name].hash
205
205
  end
206
206
 
207
207
  # Builds the object from hash
@@ -27,7 +27,7 @@ module PulpcoreClient
27
27
  # The value that will authorize the request.
28
28
  attr_accessor :header_value
29
29
 
30
- # A JQ syntax compatible filter. If jq_filter is not set, then the value willonly be Base64 decoded and checked as an explicit string match.
30
+ # A simple dotted path (e.g. .a.b.c) used to extract the value from the Base64 decoded JSON header. If jq_filter is not set, the header value is only Base64 decoded and checked as an explicit string match.
31
31
  attr_accessor :jq_filter
32
32
 
33
33
  # Attribute mapping from ruby-style variable name to JSON key.
@@ -38,7 +38,7 @@ module PulpcoreClient
38
38
  # The value that will authorize the request.
39
39
  attr_accessor :header_value
40
40
 
41
- # A JQ syntax compatible filter. If jq_filter is not set, then the value willonly be Base64 decoded and checked as an explicit string match.
41
+ # A simple dotted path (e.g. .a.b.c) used to extract the value from the Base64 decoded JSON header. If jq_filter is not set, the header value is only Base64 decoded and checked as an explicit string match.
42
42
  attr_accessor :jq_filter
43
43
 
44
44
  # Attribute mapping from ruby-style variable name to JSON key.
@@ -27,7 +27,7 @@ module PulpcoreClient
27
27
  # The value that will authorize the request.
28
28
  attr_accessor :header_value
29
29
 
30
- # A JQ syntax compatible filter. If jq_filter is not set, then the value willonly be Base64 decoded and checked as an explicit string match.
30
+ # A simple dotted path (e.g. .a.b.c) used to extract the value from the Base64 decoded JSON header. If jq_filter is not set, the header value is only Base64 decoded and checked as an explicit string match.
31
31
  attr_accessor :jq_filter
32
32
 
33
33
  # Attribute mapping from ruby-style variable name to JSON key.
@@ -11,5 +11,5 @@ OpenAPI Generator version: 4.3.1
11
11
  =end
12
12
 
13
13
  module PulpcoreClient
14
- VERSION = '3.63.51'
14
+ VERSION = '3.63.52'
15
15
  end
@@ -32,67 +32,67 @@ describe 'ArtifactDistributionResponse' do
32
32
  expect(@instance).to be_instance_of(PulpcoreClient::ArtifactDistributionResponse)
33
33
  end
34
34
  end
35
- describe 'test attribute "pulp_last_updated"' do
35
+ describe 'test attribute "prn"' do
36
36
  it 'should work' do
37
37
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
38
38
  end
39
39
  end
40
40
 
41
- describe 'test attribute "pulp_href"' do
41
+ describe 'test attribute "hidden"' do
42
42
  it 'should work' do
43
43
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
44
44
  end
45
45
  end
46
46
 
47
- describe 'test attribute "prn"' do
47
+ describe 'test attribute "pulp_created"' do
48
48
  it 'should work' do
49
49
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
50
50
  end
51
51
  end
52
52
 
53
- describe 'test attribute "base_url"' do
53
+ describe 'test attribute "base_path"' do
54
54
  it 'should work' do
55
55
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
56
56
  end
57
57
  end
58
58
 
59
- describe 'test attribute "base_path"' do
59
+ describe 'test attribute "base_url"' do
60
60
  it 'should work' do
61
61
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
62
62
  end
63
63
  end
64
64
 
65
- describe 'test attribute "pulp_labels"' do
65
+ describe 'test attribute "pulp_last_updated"' do
66
66
  it 'should work' do
67
67
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
68
68
  end
69
69
  end
70
70
 
71
- describe 'test attribute "no_content_change_since"' do
71
+ describe 'test attribute "pulp_labels"' do
72
72
  it 'should work' do
73
73
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
74
74
  end
75
75
  end
76
76
 
77
- describe 'test attribute "name"' do
77
+ describe 'test attribute "pulp_href"' do
78
78
  it 'should work' do
79
79
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
80
80
  end
81
81
  end
82
82
 
83
- describe 'test attribute "pulp_created"' do
83
+ describe 'test attribute "no_content_change_since"' do
84
84
  it 'should work' do
85
85
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
86
86
  end
87
87
  end
88
88
 
89
- describe 'test attribute "hidden"' do
89
+ describe 'test attribute "content_guard"' do
90
90
  it 'should work' do
91
91
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
92
92
  end
93
93
  end
94
94
 
95
- describe 'test attribute "content_guard"' do
95
+ describe 'test attribute "name"' do
96
96
  it 'should work' do
97
97
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
98
98
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: pulpcore_client
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.63.51
4
+ version: 3.63.52
5
5
  platform: ruby
6
6
  authors:
7
7
  - OpenAPI-Generator