pulpcore_client 3.73.28 → 3.74.0
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 +4 -4
- data/docs/ArtifactDistributionResponse.md +13 -13
- data/docs/DistributionsApi.md +4 -2
- data/docs/DistributionsArtifactsApi.md +4 -2
- data/docs/DistributionsOpenpgpApi.md +2 -2
- data/docs/Domain.md +1 -1
- data/docs/DomainBackendMigrator.md +1 -1
- data/docs/DomainResponse.md +1 -1
- data/docs/PatchedDomain.md +1 -1
- data/docs/PublicationsApi.md +4 -2
- data/lib/pulpcore_client/api/distributions_api.rb +6 -3
- data/lib/pulpcore_client/api/distributions_artifacts_api.rb +6 -3
- data/lib/pulpcore_client/api/distributions_openpgp_api.rb +3 -3
- data/lib/pulpcore_client/api/publications_api.rb +6 -3
- data/lib/pulpcore_client/models/artifact_distribution_response.rb +62 -62
- data/lib/pulpcore_client/models/domain.rb +1 -1
- data/lib/pulpcore_client/models/domain_backend_migrator.rb +1 -1
- data/lib/pulpcore_client/models/domain_response.rb +1 -1
- data/lib/pulpcore_client/models/orphans_cleanup.rb +24 -0
- data/lib/pulpcore_client/models/patched_domain.rb +1 -1
- data/lib/pulpcore_client/models/storage_class_enum.rb +1 -2
- data/lib/pulpcore_client/version.rb +1 -1
- data/pulpcore_client.gemspec +1 -0
- data/spec/api/distributions_api_spec.rb +2 -1
- data/spec/api/distributions_artifacts_api_spec.rb +2 -1
- data/spec/api/distributions_openpgp_api_spec.rb +1 -1
- data/spec/api/publications_api_spec.rb +2 -1
- data/spec/models/artifact_distribution_response_spec.rb +11 -11
- metadata +210 -190
|
@@ -16,51 +16,51 @@ require 'time'
|
|
|
16
16
|
module PulpcoreClient
|
|
17
17
|
# A serializer for ArtifactDistribution.
|
|
18
18
|
class ArtifactDistributionResponse
|
|
19
|
-
# Whether this distribution should be shown in the content app.
|
|
20
|
-
attr_accessor :hidden
|
|
21
|
-
|
|
22
19
|
# The Pulp Resource Name (PRN).
|
|
23
20
|
attr_accessor :prn
|
|
24
21
|
|
|
25
|
-
# An optional content-guard.
|
|
26
|
-
attr_accessor :content_guard
|
|
27
|
-
|
|
28
22
|
# A unique name. Ex, `rawhide` and `stable`.
|
|
29
23
|
attr_accessor :name
|
|
30
24
|
|
|
31
|
-
|
|
32
|
-
attr_accessor :base_path
|
|
25
|
+
attr_accessor :pulp_href
|
|
33
26
|
|
|
34
|
-
# Timestamp
|
|
35
|
-
attr_accessor :
|
|
27
|
+
# 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.
|
|
28
|
+
attr_accessor :pulp_last_updated
|
|
36
29
|
|
|
37
30
|
attr_accessor :pulp_labels
|
|
38
31
|
|
|
39
|
-
attr_accessor :pulp_href
|
|
40
|
-
|
|
41
32
|
# Timestamp of creation.
|
|
42
33
|
attr_accessor :pulp_created
|
|
43
34
|
|
|
44
|
-
# 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.
|
|
45
|
-
attr_accessor :pulp_last_updated
|
|
46
|
-
|
|
47
35
|
# The URL for accessing the publication as defined by this distribution.
|
|
48
36
|
attr_accessor :base_url
|
|
49
37
|
|
|
38
|
+
# Timestamp since when the distributed content served by this distribution has not changed. If equals to `null`, no guarantee is provided about content changes.
|
|
39
|
+
attr_accessor :no_content_change_since
|
|
40
|
+
|
|
41
|
+
# Whether this distribution should be shown in the content app.
|
|
42
|
+
attr_accessor :hidden
|
|
43
|
+
|
|
44
|
+
# The base (relative) path component of the published url. Avoid paths that overlap with other distribution base paths (e.g. \"foo\" and \"foo/bar\")
|
|
45
|
+
attr_accessor :base_path
|
|
46
|
+
|
|
47
|
+
# An optional content-guard.
|
|
48
|
+
attr_accessor :content_guard
|
|
49
|
+
|
|
50
50
|
# Attribute mapping from ruby-style variable name to JSON key.
|
|
51
51
|
def self.attribute_map
|
|
52
52
|
{
|
|
53
|
-
:'hidden' => :'hidden',
|
|
54
53
|
:'prn' => :'prn',
|
|
55
|
-
:'content_guard' => :'content_guard',
|
|
56
54
|
:'name' => :'name',
|
|
57
|
-
:'base_path' => :'base_path',
|
|
58
|
-
:'no_content_change_since' => :'no_content_change_since',
|
|
59
|
-
:'pulp_labels' => :'pulp_labels',
|
|
60
55
|
:'pulp_href' => :'pulp_href',
|
|
61
|
-
:'pulp_created' => :'pulp_created',
|
|
62
56
|
:'pulp_last_updated' => :'pulp_last_updated',
|
|
63
|
-
:'
|
|
57
|
+
:'pulp_labels' => :'pulp_labels',
|
|
58
|
+
:'pulp_created' => :'pulp_created',
|
|
59
|
+
:'base_url' => :'base_url',
|
|
60
|
+
:'no_content_change_since' => :'no_content_change_since',
|
|
61
|
+
:'hidden' => :'hidden',
|
|
62
|
+
:'base_path' => :'base_path',
|
|
63
|
+
:'content_guard' => :'content_guard'
|
|
64
64
|
}
|
|
65
65
|
end
|
|
66
66
|
|
|
@@ -72,24 +72,24 @@ module PulpcoreClient
|
|
|
72
72
|
# Attribute type mapping.
|
|
73
73
|
def self.openapi_types
|
|
74
74
|
{
|
|
75
|
-
:'hidden' => :'Boolean',
|
|
76
75
|
:'prn' => :'String',
|
|
77
|
-
:'content_guard' => :'String',
|
|
78
76
|
:'name' => :'String',
|
|
79
|
-
:'base_path' => :'String',
|
|
80
|
-
:'no_content_change_since' => :'String',
|
|
81
|
-
:'pulp_labels' => :'Hash<String, String>',
|
|
82
77
|
:'pulp_href' => :'String',
|
|
83
|
-
:'pulp_created' => :'Time',
|
|
84
78
|
:'pulp_last_updated' => :'Time',
|
|
85
|
-
:'
|
|
79
|
+
:'pulp_labels' => :'Hash<String, String>',
|
|
80
|
+
:'pulp_created' => :'Time',
|
|
81
|
+
:'base_url' => :'String',
|
|
82
|
+
:'no_content_change_since' => :'String',
|
|
83
|
+
:'hidden' => :'Boolean',
|
|
84
|
+
:'base_path' => :'String',
|
|
85
|
+
:'content_guard' => :'String'
|
|
86
86
|
}
|
|
87
87
|
end
|
|
88
88
|
|
|
89
89
|
# List of attributes with nullable: true
|
|
90
90
|
def self.openapi_nullable
|
|
91
91
|
Set.new([
|
|
92
|
-
:'content_guard'
|
|
92
|
+
:'content_guard'
|
|
93
93
|
])
|
|
94
94
|
end
|
|
95
95
|
|
|
@@ -108,34 +108,22 @@ module PulpcoreClient
|
|
|
108
108
|
h[k.to_sym] = v
|
|
109
109
|
}
|
|
110
110
|
|
|
111
|
-
if attributes.key?(:'hidden')
|
|
112
|
-
self.hidden = attributes[:'hidden']
|
|
113
|
-
else
|
|
114
|
-
self.hidden = false
|
|
115
|
-
end
|
|
116
|
-
|
|
117
111
|
if attributes.key?(:'prn')
|
|
118
112
|
self.prn = attributes[:'prn']
|
|
119
113
|
end
|
|
120
114
|
|
|
121
|
-
if attributes.key?(:'content_guard')
|
|
122
|
-
self.content_guard = attributes[:'content_guard']
|
|
123
|
-
end
|
|
124
|
-
|
|
125
115
|
if attributes.key?(:'name')
|
|
126
116
|
self.name = attributes[:'name']
|
|
127
117
|
else
|
|
128
118
|
self.name = nil
|
|
129
119
|
end
|
|
130
120
|
|
|
131
|
-
if attributes.key?(:'
|
|
132
|
-
self.
|
|
133
|
-
else
|
|
134
|
-
self.base_path = nil
|
|
121
|
+
if attributes.key?(:'pulp_href')
|
|
122
|
+
self.pulp_href = attributes[:'pulp_href']
|
|
135
123
|
end
|
|
136
124
|
|
|
137
|
-
if attributes.key?(:'
|
|
138
|
-
self.
|
|
125
|
+
if attributes.key?(:'pulp_last_updated')
|
|
126
|
+
self.pulp_last_updated = attributes[:'pulp_last_updated']
|
|
139
127
|
end
|
|
140
128
|
|
|
141
129
|
if attributes.key?(:'pulp_labels')
|
|
@@ -144,21 +132,33 @@ module PulpcoreClient
|
|
|
144
132
|
end
|
|
145
133
|
end
|
|
146
134
|
|
|
147
|
-
if attributes.key?(:'pulp_href')
|
|
148
|
-
self.pulp_href = attributes[:'pulp_href']
|
|
149
|
-
end
|
|
150
|
-
|
|
151
135
|
if attributes.key?(:'pulp_created')
|
|
152
136
|
self.pulp_created = attributes[:'pulp_created']
|
|
153
137
|
end
|
|
154
138
|
|
|
155
|
-
if attributes.key?(:'pulp_last_updated')
|
|
156
|
-
self.pulp_last_updated = attributes[:'pulp_last_updated']
|
|
157
|
-
end
|
|
158
|
-
|
|
159
139
|
if attributes.key?(:'base_url')
|
|
160
140
|
self.base_url = attributes[:'base_url']
|
|
161
141
|
end
|
|
142
|
+
|
|
143
|
+
if attributes.key?(:'no_content_change_since')
|
|
144
|
+
self.no_content_change_since = attributes[:'no_content_change_since']
|
|
145
|
+
end
|
|
146
|
+
|
|
147
|
+
if attributes.key?(:'hidden')
|
|
148
|
+
self.hidden = attributes[:'hidden']
|
|
149
|
+
else
|
|
150
|
+
self.hidden = false
|
|
151
|
+
end
|
|
152
|
+
|
|
153
|
+
if attributes.key?(:'base_path')
|
|
154
|
+
self.base_path = attributes[:'base_path']
|
|
155
|
+
else
|
|
156
|
+
self.base_path = nil
|
|
157
|
+
end
|
|
158
|
+
|
|
159
|
+
if attributes.key?(:'content_guard')
|
|
160
|
+
self.content_guard = attributes[:'content_guard']
|
|
161
|
+
end
|
|
162
162
|
end
|
|
163
163
|
|
|
164
164
|
# Show invalid properties with the reasons. Usually used together with valid?
|
|
@@ -191,17 +191,17 @@ module PulpcoreClient
|
|
|
191
191
|
def ==(o)
|
|
192
192
|
return true if self.equal?(o)
|
|
193
193
|
self.class == o.class &&
|
|
194
|
-
hidden == o.hidden &&
|
|
195
194
|
prn == o.prn &&
|
|
196
|
-
content_guard == o.content_guard &&
|
|
197
195
|
name == o.name &&
|
|
198
|
-
base_path == o.base_path &&
|
|
199
|
-
no_content_change_since == o.no_content_change_since &&
|
|
200
|
-
pulp_labels == o.pulp_labels &&
|
|
201
196
|
pulp_href == o.pulp_href &&
|
|
202
|
-
pulp_created == o.pulp_created &&
|
|
203
197
|
pulp_last_updated == o.pulp_last_updated &&
|
|
204
|
-
|
|
198
|
+
pulp_labels == o.pulp_labels &&
|
|
199
|
+
pulp_created == o.pulp_created &&
|
|
200
|
+
base_url == o.base_url &&
|
|
201
|
+
no_content_change_since == o.no_content_change_since &&
|
|
202
|
+
hidden == o.hidden &&
|
|
203
|
+
base_path == o.base_path &&
|
|
204
|
+
content_guard == o.content_guard
|
|
205
205
|
end
|
|
206
206
|
|
|
207
207
|
# @see the `==` method
|
|
@@ -213,7 +213,7 @@ module PulpcoreClient
|
|
|
213
213
|
# Calculates hash code according to all attributes.
|
|
214
214
|
# @return [Integer] Hash code
|
|
215
215
|
def hash
|
|
216
|
-
[
|
|
216
|
+
[prn, name, pulp_href, pulp_last_updated, pulp_labels, pulp_created, base_url, no_content_change_since, hidden, base_path, content_guard].hash
|
|
217
217
|
end
|
|
218
218
|
|
|
219
219
|
# Builds the object from hash
|
|
@@ -24,7 +24,7 @@ module PulpcoreClient
|
|
|
24
24
|
|
|
25
25
|
attr_accessor :pulp_labels
|
|
26
26
|
|
|
27
|
-
# Backend storage class for domain. * `pulpcore.app.models.storage.FileSystem` - Use local filesystem as storage * `storages.backends.s3boto3.S3Boto3Storage` - Use Amazon S3 as storage
|
|
27
|
+
# Backend storage class for domain. * `pulpcore.app.models.storage.FileSystem` - Use local filesystem as storage * `storages.backends.s3boto3.S3Boto3Storage` - Use Amazon S3 as storage * `storages.backends.azure_storage.AzureStorage` - Use Azure Blob as storage
|
|
28
28
|
attr_accessor :storage_class
|
|
29
29
|
|
|
30
30
|
# Settings for storage class.
|
|
@@ -16,7 +16,7 @@ require 'time'
|
|
|
16
16
|
module PulpcoreClient
|
|
17
17
|
# Special serializer for performing a storage backend migration on a Domain.
|
|
18
18
|
class DomainBackendMigrator
|
|
19
|
-
# The new backend storage class to migrate to. * `pulpcore.app.models.storage.FileSystem` - Use local filesystem as storage * `storages.backends.s3boto3.S3Boto3Storage` - Use Amazon S3 as storage
|
|
19
|
+
# The new backend storage class to migrate to. * `pulpcore.app.models.storage.FileSystem` - Use local filesystem as storage * `storages.backends.s3boto3.S3Boto3Storage` - Use Amazon S3 as storage * `storages.backends.azure_storage.AzureStorage` - Use Azure Blob as storage
|
|
20
20
|
attr_accessor :storage_class
|
|
21
21
|
|
|
22
22
|
# The settings for the new storage class to migrate to.
|
|
@@ -35,7 +35,7 @@ module PulpcoreClient
|
|
|
35
35
|
|
|
36
36
|
attr_accessor :pulp_labels
|
|
37
37
|
|
|
38
|
-
# Backend storage class for domain. * `pulpcore.app.models.storage.FileSystem` - Use local filesystem as storage * `storages.backends.s3boto3.S3Boto3Storage` - Use Amazon S3 as storage
|
|
38
|
+
# Backend storage class for domain. * `pulpcore.app.models.storage.FileSystem` - Use local filesystem as storage * `storages.backends.s3boto3.S3Boto3Storage` - Use Amazon S3 as storage * `storages.backends.azure_storage.AzureStorage` - Use Azure Blob as storage
|
|
39
39
|
attr_accessor :storage_class
|
|
40
40
|
|
|
41
41
|
# Settings for storage class.
|
|
@@ -80,6 +80,14 @@ module PulpcoreClient
|
|
|
80
80
|
def list_invalid_properties
|
|
81
81
|
warn '[DEPRECATED] the `list_invalid_properties` method is obsolete'
|
|
82
82
|
invalid_properties = Array.new
|
|
83
|
+
if !@orphan_protection_time.nil? && @orphan_protection_time > 4294967295
|
|
84
|
+
invalid_properties.push('invalid value for "orphan_protection_time", must be smaller than or equal to 4294967295.')
|
|
85
|
+
end
|
|
86
|
+
|
|
87
|
+
if !@orphan_protection_time.nil? && @orphan_protection_time < 0
|
|
88
|
+
invalid_properties.push('invalid value for "orphan_protection_time", must be greater than or equal to 0.')
|
|
89
|
+
end
|
|
90
|
+
|
|
83
91
|
invalid_properties
|
|
84
92
|
end
|
|
85
93
|
|
|
@@ -87,9 +95,25 @@ module PulpcoreClient
|
|
|
87
95
|
# @return true if the model is valid
|
|
88
96
|
def valid?
|
|
89
97
|
warn '[DEPRECATED] the `valid?` method is obsolete'
|
|
98
|
+
return false if !@orphan_protection_time.nil? && @orphan_protection_time > 4294967295
|
|
99
|
+
return false if !@orphan_protection_time.nil? && @orphan_protection_time < 0
|
|
90
100
|
true
|
|
91
101
|
end
|
|
92
102
|
|
|
103
|
+
# Custom attribute writer method with validation
|
|
104
|
+
# @param [Object] orphan_protection_time Value to be assigned
|
|
105
|
+
def orphan_protection_time=(orphan_protection_time)
|
|
106
|
+
if !orphan_protection_time.nil? && orphan_protection_time > 4294967295
|
|
107
|
+
fail ArgumentError, 'invalid value for "orphan_protection_time", must be smaller than or equal to 4294967295.'
|
|
108
|
+
end
|
|
109
|
+
|
|
110
|
+
if !orphan_protection_time.nil? && orphan_protection_time < 0
|
|
111
|
+
fail ArgumentError, 'invalid value for "orphan_protection_time", must be greater than or equal to 0.'
|
|
112
|
+
end
|
|
113
|
+
|
|
114
|
+
@orphan_protection_time = orphan_protection_time
|
|
115
|
+
end
|
|
116
|
+
|
|
93
117
|
# Checks equality by comparing each attribute.
|
|
94
118
|
# @param [Object] Object to be compared
|
|
95
119
|
def ==(o)
|
|
@@ -24,7 +24,7 @@ module PulpcoreClient
|
|
|
24
24
|
|
|
25
25
|
attr_accessor :pulp_labels
|
|
26
26
|
|
|
27
|
-
# Backend storage class for domain. * `pulpcore.app.models.storage.FileSystem` - Use local filesystem as storage * `storages.backends.s3boto3.S3Boto3Storage` - Use Amazon S3 as storage
|
|
27
|
+
# Backend storage class for domain. * `pulpcore.app.models.storage.FileSystem` - Use local filesystem as storage * `storages.backends.s3boto3.S3Boto3Storage` - Use Amazon S3 as storage * `storages.backends.azure_storage.AzureStorage` - Use Azure Blob as storage
|
|
28
28
|
attr_accessor :storage_class
|
|
29
29
|
|
|
30
30
|
# Settings for storage class.
|
|
@@ -17,11 +17,10 @@ module PulpcoreClient
|
|
|
17
17
|
class StorageClassEnum
|
|
18
18
|
PULPCORE_APP_MODELS_STORAGE_FILE_SYSTEM = "pulpcore.app.models.storage.FileSystem".freeze
|
|
19
19
|
STORAGES_BACKENDS_S3BOTO3_S3_BOTO3_STORAGE = "storages.backends.s3boto3.S3Boto3Storage".freeze
|
|
20
|
-
STORAGES_BACKENDS_S3_S3_STORAGE = "storages.backends.s3.S3Storage".freeze
|
|
21
20
|
STORAGES_BACKENDS_AZURE_STORAGE_AZURE_STORAGE = "storages.backends.azure_storage.AzureStorage".freeze
|
|
22
21
|
|
|
23
22
|
def self.all_vars
|
|
24
|
-
@all_vars ||= [PULPCORE_APP_MODELS_STORAGE_FILE_SYSTEM, STORAGES_BACKENDS_S3BOTO3_S3_BOTO3_STORAGE,
|
|
23
|
+
@all_vars ||= [PULPCORE_APP_MODELS_STORAGE_FILE_SYSTEM, STORAGES_BACKENDS_S3BOTO3_S3_BOTO3_STORAGE, STORAGES_BACKENDS_AZURE_STORAGE_AZURE_STORAGE].freeze
|
|
25
24
|
end
|
|
26
25
|
|
|
27
26
|
# Builds the enum from string
|
data/pulpcore_client.gemspec
CHANGED
|
@@ -28,6 +28,7 @@ Gem::Specification.new do |s|
|
|
|
28
28
|
s.required_ruby_version = ">= 2.7"
|
|
29
29
|
s.metadata = {}
|
|
30
30
|
|
|
31
|
+
s.add_runtime_dependency 'faraday-net_http', '>= 2.0', '< 3.1'
|
|
31
32
|
s.add_runtime_dependency 'faraday', '>= 1.0.1', '< 2.9'
|
|
32
33
|
s.add_runtime_dependency 'faraday-multipart'
|
|
33
34
|
s.add_runtime_dependency 'marcel'
|
|
@@ -40,6 +40,7 @@ describe 'DistributionsApi' do
|
|
|
40
40
|
# @option opts [String] :base_path__contains Filter results where base_path contains value
|
|
41
41
|
# @option opts [String] :base_path__icontains Filter results where base_path contains value
|
|
42
42
|
# @option opts [Array<String>] :base_path__in Filter results where base_path is in a comma-separated list of values
|
|
43
|
+
# @option opts [Boolean] :checkpoint Filter results where checkpoint matches value
|
|
43
44
|
# @option opts [Integer] :limit Number of results to return per page.
|
|
44
45
|
# @option opts [String] :name Filter results where name matches value
|
|
45
46
|
# @option opts [String] :name__contains Filter results where name contains value
|
|
@@ -51,7 +52,7 @@ describe 'DistributionsApi' do
|
|
|
51
52
|
# @option opts [String] :name__regex Filter results where name matches regex value
|
|
52
53
|
# @option opts [String] :name__startswith Filter results where name starts with value
|
|
53
54
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
|
54
|
-
# @option opts [Array<String>] :ordering Ordering * `pulp_id` - Pulp id * `-pulp_id` - Pulp id (descending) * `pulp_created` - Pulp created * `-pulp_created` - Pulp created (descending) * `pulp_last_updated` - Pulp last updated * `-pulp_last_updated` - Pulp last updated (descending) * `pulp_type` - Pulp type * `-pulp_type` - Pulp type (descending) * `name` - Name * `-name` - Name (descending) * `pulp_labels` - Pulp labels * `-pulp_labels` - Pulp labels (descending) * `base_path` - Base path * `-base_path` - Base path (descending) * `hidden` - Hidden * `-hidden` - Hidden (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
|
55
|
+
# @option opts [Array<String>] :ordering Ordering * `pulp_id` - Pulp id * `-pulp_id` - Pulp id (descending) * `pulp_created` - Pulp created * `-pulp_created` - Pulp created (descending) * `pulp_last_updated` - Pulp last updated * `-pulp_last_updated` - Pulp last updated (descending) * `pulp_type` - Pulp type * `-pulp_type` - Pulp type (descending) * `name` - Name * `-name` - Name (descending) * `pulp_labels` - Pulp labels * `-pulp_labels` - Pulp labels (descending) * `base_path` - Base path * `-base_path` - Base path (descending) * `hidden` - Hidden * `-hidden` - Hidden (descending) * `checkpoint` - Checkpoint * `-checkpoint` - Checkpoint (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
|
55
56
|
# @option opts [Array<String>] :prn__in Multiple values may be separated by commas.
|
|
56
57
|
# @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
|
|
57
58
|
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
|
@@ -40,6 +40,7 @@ describe 'DistributionsArtifactsApi' do
|
|
|
40
40
|
# @option opts [String] :base_path__contains Filter results where base_path contains value
|
|
41
41
|
# @option opts [String] :base_path__icontains Filter results where base_path contains value
|
|
42
42
|
# @option opts [Array<String>] :base_path__in Filter results where base_path is in a comma-separated list of values
|
|
43
|
+
# @option opts [Boolean] :checkpoint Filter results where checkpoint matches value
|
|
43
44
|
# @option opts [Integer] :limit Number of results to return per page.
|
|
44
45
|
# @option opts [String] :name Filter results where name matches value
|
|
45
46
|
# @option opts [String] :name__contains Filter results where name contains value
|
|
@@ -51,7 +52,7 @@ describe 'DistributionsArtifactsApi' do
|
|
|
51
52
|
# @option opts [String] :name__regex Filter results where name matches regex value
|
|
52
53
|
# @option opts [String] :name__startswith Filter results where name starts with value
|
|
53
54
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
|
54
|
-
# @option opts [Array<String>] :ordering Ordering * `pulp_id` - Pulp id * `-pulp_id` - Pulp id (descending) * `pulp_created` - Pulp created * `-pulp_created` - Pulp created (descending) * `pulp_last_updated` - Pulp last updated * `-pulp_last_updated` - Pulp last updated (descending) * `pulp_type` - Pulp type * `-pulp_type` - Pulp type (descending) * `name` - Name * `-name` - Name (descending) * `pulp_labels` - Pulp labels * `-pulp_labels` - Pulp labels (descending) * `base_path` - Base path * `-base_path` - Base path (descending) * `hidden` - Hidden * `-hidden` - Hidden (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
|
55
|
+
# @option opts [Array<String>] :ordering Ordering * `pulp_id` - Pulp id * `-pulp_id` - Pulp id (descending) * `pulp_created` - Pulp created * `-pulp_created` - Pulp created (descending) * `pulp_last_updated` - Pulp last updated * `-pulp_last_updated` - Pulp last updated (descending) * `pulp_type` - Pulp type * `-pulp_type` - Pulp type (descending) * `name` - Name * `-name` - Name (descending) * `pulp_labels` - Pulp labels * `-pulp_labels` - Pulp labels (descending) * `base_path` - Base path * `-base_path` - Base path (descending) * `hidden` - Hidden * `-hidden` - Hidden (descending) * `checkpoint` - Checkpoint * `-checkpoint` - Checkpoint (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
|
55
56
|
# @option opts [Array<String>] :prn__in Multiple values may be separated by commas.
|
|
56
57
|
# @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
|
|
57
58
|
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
|
@@ -62,7 +62,7 @@ describe 'DistributionsOpenpgpApi' do
|
|
|
62
62
|
# @param [Hash] opts the optional parameters
|
|
63
63
|
# @option opts [Integer] :limit Number of results to return per page.
|
|
64
64
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
|
65
|
-
# @option opts [Array<String>] :ordering Ordering * `pulp_id` - Pulp id * `-pulp_id` - Pulp id (descending) * `pulp_created` - Pulp created * `-pulp_created` - Pulp created (descending) * `pulp_last_updated` - Pulp last updated * `-pulp_last_updated` - Pulp last updated (descending) * `pulp_type` - Pulp type * `-pulp_type` - Pulp type (descending) * `name` - Name * `-name` - Name (descending) * `pulp_labels` - Pulp labels * `-pulp_labels` - Pulp labels (descending) * `base_path` - Base path * `-base_path` - Base path (descending) * `hidden` - Hidden * `-hidden` - Hidden (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
|
65
|
+
# @option opts [Array<String>] :ordering Ordering * `pulp_id` - Pulp id * `-pulp_id` - Pulp id (descending) * `pulp_created` - Pulp created * `-pulp_created` - Pulp created (descending) * `pulp_last_updated` - Pulp last updated * `-pulp_last_updated` - Pulp last updated (descending) * `pulp_type` - Pulp type * `-pulp_type` - Pulp type (descending) * `name` - Name * `-name` - Name (descending) * `pulp_labels` - Pulp labels * `-pulp_labels` - Pulp labels (descending) * `base_path` - Base path * `-base_path` - Base path (descending) * `hidden` - Hidden * `-hidden` - Hidden (descending) * `checkpoint` - Checkpoint * `-checkpoint` - Checkpoint (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
|
66
66
|
# @option opts [Array<String>] :prn__in Multiple values may be separated by commas.
|
|
67
67
|
# @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
|
|
68
68
|
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
|
@@ -36,11 +36,12 @@ describe 'PublicationsApi' do
|
|
|
36
36
|
# List publications
|
|
37
37
|
# A base class for any publication viewset.
|
|
38
38
|
# @param [Hash] opts the optional parameters
|
|
39
|
+
# @option opts [Boolean] :checkpoint Filter results where checkpoint matches value
|
|
39
40
|
# @option opts [String] :content Content Unit referenced by HREF/PRN
|
|
40
41
|
# @option opts [Array<String>] :content__in Multiple values may be separated by commas.
|
|
41
42
|
# @option opts [Integer] :limit Number of results to return per page.
|
|
42
43
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
|
43
|
-
# @option opts [Array<String>] :ordering Ordering * `pulp_id` - Pulp id * `-pulp_id` - Pulp id (descending) * `pulp_created` - Pulp created * `-pulp_created` - Pulp created (descending) * `pulp_last_updated` - Pulp last updated * `-pulp_last_updated` - Pulp last updated (descending) * `pulp_type` - Pulp type * `-pulp_type` - Pulp type (descending) * `complete` - Complete * `-complete` - Complete (descending) * `pass_through` - Pass through * `-pass_through` - Pass through (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
|
44
|
+
# @option opts [Array<String>] :ordering Ordering * `pulp_id` - Pulp id * `-pulp_id` - Pulp id (descending) * `pulp_created` - Pulp created * `-pulp_created` - Pulp created (descending) * `pulp_last_updated` - Pulp last updated * `-pulp_last_updated` - Pulp last updated (descending) * `pulp_type` - Pulp type * `-pulp_type` - Pulp type (descending) * `complete` - Complete * `-complete` - Complete (descending) * `pass_through` - Pass through * `-pass_through` - Pass through (descending) * `checkpoint` - Checkpoint * `-checkpoint` - Checkpoint (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
|
44
45
|
# @option opts [Array<String>] :prn__in Multiple values may be separated by commas.
|
|
45
46
|
# @option opts [Time] :pulp_created Filter results where pulp_created matches value
|
|
46
47
|
# @option opts [Time] :pulp_created__gt Filter results where pulp_created is greater than value
|
|
@@ -27,67 +27,67 @@ describe PulpcoreClient::ArtifactDistributionResponse do
|
|
|
27
27
|
end
|
|
28
28
|
end
|
|
29
29
|
|
|
30
|
-
describe 'test attribute "
|
|
30
|
+
describe 'test attribute "prn"' do
|
|
31
31
|
it 'should work' do
|
|
32
32
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
33
33
|
end
|
|
34
34
|
end
|
|
35
35
|
|
|
36
|
-
describe 'test attribute "
|
|
36
|
+
describe 'test attribute "name"' do
|
|
37
37
|
it 'should work' do
|
|
38
38
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
39
39
|
end
|
|
40
40
|
end
|
|
41
41
|
|
|
42
|
-
describe 'test attribute "
|
|
42
|
+
describe 'test attribute "pulp_href"' do
|
|
43
43
|
it 'should work' do
|
|
44
44
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
45
45
|
end
|
|
46
46
|
end
|
|
47
47
|
|
|
48
|
-
describe 'test attribute "
|
|
48
|
+
describe 'test attribute "pulp_last_updated"' do
|
|
49
49
|
it 'should work' do
|
|
50
50
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
51
51
|
end
|
|
52
52
|
end
|
|
53
53
|
|
|
54
|
-
describe 'test attribute "
|
|
54
|
+
describe 'test attribute "pulp_labels"' do
|
|
55
55
|
it 'should work' do
|
|
56
56
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
57
57
|
end
|
|
58
58
|
end
|
|
59
59
|
|
|
60
|
-
describe 'test attribute "
|
|
60
|
+
describe 'test attribute "pulp_created"' do
|
|
61
61
|
it 'should work' do
|
|
62
62
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
63
63
|
end
|
|
64
64
|
end
|
|
65
65
|
|
|
66
|
-
describe 'test attribute "
|
|
66
|
+
describe 'test attribute "base_url"' do
|
|
67
67
|
it 'should work' do
|
|
68
68
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
69
69
|
end
|
|
70
70
|
end
|
|
71
71
|
|
|
72
|
-
describe 'test attribute "
|
|
72
|
+
describe 'test attribute "no_content_change_since"' do
|
|
73
73
|
it 'should work' do
|
|
74
74
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
75
75
|
end
|
|
76
76
|
end
|
|
77
77
|
|
|
78
|
-
describe 'test attribute "
|
|
78
|
+
describe 'test attribute "hidden"' do
|
|
79
79
|
it 'should work' do
|
|
80
80
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
81
81
|
end
|
|
82
82
|
end
|
|
83
83
|
|
|
84
|
-
describe 'test attribute "
|
|
84
|
+
describe 'test attribute "base_path"' do
|
|
85
85
|
it 'should work' do
|
|
86
86
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
87
87
|
end
|
|
88
88
|
end
|
|
89
89
|
|
|
90
|
-
describe 'test attribute "
|
|
90
|
+
describe 'test attribute "content_guard"' do
|
|
91
91
|
it 'should work' do
|
|
92
92
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
93
93
|
end
|