pulpcore_client 3.73.40 → 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.
@@ -16,33 +16,33 @@ require 'time'
16
16
  module PulpcoreClient
17
17
  # A serializer for ArtifactDistribution.
18
18
  class ArtifactDistributionResponse
19
- attr_accessor :pulp_labels
19
+ # The Pulp Resource Name (PRN).
20
+ attr_accessor :prn
20
21
 
21
- # The URL for accessing the publication as defined by this distribution.
22
- attr_accessor :base_url
22
+ # A unique name. Ex, `rawhide` and `stable`.
23
+ attr_accessor :name
23
24
 
24
- # Timestamp since when the distributed content served by this distribution has not changed. If equals to `null`, no guarantee is provided about content changes.
25
- attr_accessor :no_content_change_since
25
+ attr_accessor :pulp_href
26
26
 
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
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
29
29
 
30
- # The Pulp Resource Name (PRN).
31
- attr_accessor :prn
30
+ attr_accessor :pulp_labels
32
31
 
33
32
  # Timestamp of creation.
34
33
  attr_accessor :pulp_created
35
34
 
36
- attr_accessor :pulp_href
35
+ # The URL for accessing the publication as defined by this distribution.
36
+ attr_accessor :base_url
37
37
 
38
- # 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.
39
- attr_accessor :pulp_last_updated
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
40
 
41
41
  # Whether this distribution should be shown in the content app.
42
42
  attr_accessor :hidden
43
43
 
44
- # A unique name. Ex, `rawhide` and `stable`.
45
- attr_accessor :name
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
46
 
47
47
  # An optional content-guard.
48
48
  attr_accessor :content_guard
@@ -50,16 +50,16 @@ module PulpcoreClient
50
50
  # Attribute mapping from ruby-style variable name to JSON key.
51
51
  def self.attribute_map
52
52
  {
53
- :'pulp_labels' => :'pulp_labels',
54
- :'base_url' => :'base_url',
55
- :'no_content_change_since' => :'no_content_change_since',
56
- :'base_path' => :'base_path',
57
53
  :'prn' => :'prn',
58
- :'pulp_created' => :'pulp_created',
54
+ :'name' => :'name',
59
55
  :'pulp_href' => :'pulp_href',
60
56
  :'pulp_last_updated' => :'pulp_last_updated',
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
61
  :'hidden' => :'hidden',
62
- :'name' => :'name',
62
+ :'base_path' => :'base_path',
63
63
  :'content_guard' => :'content_guard'
64
64
  }
65
65
  end
@@ -72,16 +72,16 @@ module PulpcoreClient
72
72
  # Attribute type mapping.
73
73
  def self.openapi_types
74
74
  {
75
- :'pulp_labels' => :'Hash<String, String>',
76
- :'base_url' => :'String',
77
- :'no_content_change_since' => :'String',
78
- :'base_path' => :'String',
79
75
  :'prn' => :'String',
80
- :'pulp_created' => :'Time',
76
+ :'name' => :'String',
81
77
  :'pulp_href' => :'String',
82
78
  :'pulp_last_updated' => :'Time',
79
+ :'pulp_labels' => :'Hash<String, String>',
80
+ :'pulp_created' => :'Time',
81
+ :'base_url' => :'String',
82
+ :'no_content_change_since' => :'String',
83
83
  :'hidden' => :'Boolean',
84
- :'name' => :'String',
84
+ :'base_path' => :'String',
85
85
  :'content_guard' => :'String'
86
86
  }
87
87
  end
@@ -108,40 +108,40 @@ module PulpcoreClient
108
108
  h[k.to_sym] = v
109
109
  }
110
110
 
111
- if attributes.key?(:'pulp_labels')
112
- if (value = attributes[:'pulp_labels']).is_a?(Hash)
113
- self.pulp_labels = value
114
- end
111
+ if attributes.key?(:'prn')
112
+ self.prn = attributes[:'prn']
115
113
  end
116
114
 
117
- if attributes.key?(:'base_url')
118
- self.base_url = attributes[:'base_url']
115
+ if attributes.key?(:'name')
116
+ self.name = attributes[:'name']
117
+ else
118
+ self.name = nil
119
119
  end
120
120
 
121
- if attributes.key?(:'no_content_change_since')
122
- self.no_content_change_since = attributes[:'no_content_change_since']
121
+ if attributes.key?(:'pulp_href')
122
+ self.pulp_href = attributes[:'pulp_href']
123
123
  end
124
124
 
125
- if attributes.key?(:'base_path')
126
- self.base_path = attributes[:'base_path']
127
- else
128
- self.base_path = nil
125
+ if attributes.key?(:'pulp_last_updated')
126
+ self.pulp_last_updated = attributes[:'pulp_last_updated']
129
127
  end
130
128
 
131
- if attributes.key?(:'prn')
132
- self.prn = attributes[:'prn']
129
+ if attributes.key?(:'pulp_labels')
130
+ if (value = attributes[:'pulp_labels']).is_a?(Hash)
131
+ self.pulp_labels = value
132
+ end
133
133
  end
134
134
 
135
135
  if attributes.key?(:'pulp_created')
136
136
  self.pulp_created = attributes[:'pulp_created']
137
137
  end
138
138
 
139
- if attributes.key?(:'pulp_href')
140
- self.pulp_href = attributes[:'pulp_href']
139
+ if attributes.key?(:'base_url')
140
+ self.base_url = attributes[:'base_url']
141
141
  end
142
142
 
143
- if attributes.key?(:'pulp_last_updated')
144
- self.pulp_last_updated = attributes[:'pulp_last_updated']
143
+ if attributes.key?(:'no_content_change_since')
144
+ self.no_content_change_since = attributes[:'no_content_change_since']
145
145
  end
146
146
 
147
147
  if attributes.key?(:'hidden')
@@ -150,10 +150,10 @@ module PulpcoreClient
150
150
  self.hidden = false
151
151
  end
152
152
 
153
- if attributes.key?(:'name')
154
- self.name = attributes[:'name']
153
+ if attributes.key?(:'base_path')
154
+ self.base_path = attributes[:'base_path']
155
155
  else
156
- self.name = nil
156
+ self.base_path = nil
157
157
  end
158
158
 
159
159
  if attributes.key?(:'content_guard')
@@ -166,14 +166,14 @@ module PulpcoreClient
166
166
  def list_invalid_properties
167
167
  warn '[DEPRECATED] the `list_invalid_properties` method is obsolete'
168
168
  invalid_properties = Array.new
169
- if @base_path.nil?
170
- invalid_properties.push('invalid value for "base_path", base_path cannot be nil.')
171
- end
172
-
173
169
  if @name.nil?
174
170
  invalid_properties.push('invalid value for "name", name cannot be nil.')
175
171
  end
176
172
 
173
+ if @base_path.nil?
174
+ invalid_properties.push('invalid value for "base_path", base_path cannot be nil.')
175
+ end
176
+
177
177
  invalid_properties
178
178
  end
179
179
 
@@ -181,8 +181,8 @@ module PulpcoreClient
181
181
  # @return true if the model is valid
182
182
  def valid?
183
183
  warn '[DEPRECATED] the `valid?` method is obsolete'
184
- return false if @base_path.nil?
185
184
  return false if @name.nil?
185
+ return false if @base_path.nil?
186
186
  true
187
187
  end
188
188
 
@@ -191,16 +191,16 @@ module PulpcoreClient
191
191
  def ==(o)
192
192
  return true if self.equal?(o)
193
193
  self.class == o.class &&
194
- pulp_labels == o.pulp_labels &&
195
- base_url == o.base_url &&
196
- no_content_change_since == o.no_content_change_since &&
197
- base_path == o.base_path &&
198
194
  prn == o.prn &&
199
- pulp_created == o.pulp_created &&
195
+ name == o.name &&
200
196
  pulp_href == o.pulp_href &&
201
197
  pulp_last_updated == o.pulp_last_updated &&
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
202
  hidden == o.hidden &&
203
- name == o.name &&
203
+ base_path == o.base_path &&
204
204
  content_guard == o.content_guard
205
205
  end
206
206
 
@@ -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
- [pulp_labels, base_url, no_content_change_since, base_path, prn, pulp_created, pulp_href, pulp_last_updated, hidden, name, content_guard].hash
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 [deprecated] * `storages.backends.s3.S3Storage` - Use Amazon S3 as storage * `storages.backends.azure_storage.AzureStorage` - Use Azure Blob 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 [deprecated] * `storages.backends.s3.S3Storage` - Use Amazon S3 as storage * `storages.backends.azure_storage.AzureStorage` - Use Azure Blob 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 [deprecated] * `storages.backends.s3.S3Storage` - Use Amazon S3 as storage * `storages.backends.azure_storage.AzureStorage` - Use Azure Blob 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 [deprecated] * `storages.backends.s3.S3Storage` - Use Amazon S3 as storage * `storages.backends.azure_storage.AzureStorage` - Use Azure Blob 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, STORAGES_BACKENDS_S3_S3_STORAGE, STORAGES_BACKENDS_AZURE_STORAGE_AZURE_STORAGE].freeze
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
@@ -11,5 +11,5 @@ Generator version: 7.10.0
11
11
  =end
12
12
 
13
13
  module PulpcoreClient
14
- VERSION = '3.73.40'
14
+ VERSION = '3.74.0'
15
15
  end
@@ -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 * &#x60;pulp_id&#x60; - Pulp id * &#x60;-pulp_id&#x60; - Pulp id (descending) * &#x60;pulp_created&#x60; - Pulp created * &#x60;-pulp_created&#x60; - Pulp created (descending) * &#x60;pulp_last_updated&#x60; - Pulp last updated * &#x60;-pulp_last_updated&#x60; - Pulp last updated (descending) * &#x60;pulp_type&#x60; - Pulp type * &#x60;-pulp_type&#x60; - Pulp type (descending) * &#x60;name&#x60; - Name * &#x60;-name&#x60; - Name (descending) * &#x60;pulp_labels&#x60; - Pulp labels * &#x60;-pulp_labels&#x60; - Pulp labels (descending) * &#x60;base_path&#x60; - Base path * &#x60;-base_path&#x60; - Base path (descending) * &#x60;hidden&#x60; - Hidden * &#x60;-hidden&#x60; - Hidden (descending) * &#x60;pk&#x60; - Pk * &#x60;-pk&#x60; - Pk (descending)
55
+ # @option opts [Array<String>] :ordering Ordering * &#x60;pulp_id&#x60; - Pulp id * &#x60;-pulp_id&#x60; - Pulp id (descending) * &#x60;pulp_created&#x60; - Pulp created * &#x60;-pulp_created&#x60; - Pulp created (descending) * &#x60;pulp_last_updated&#x60; - Pulp last updated * &#x60;-pulp_last_updated&#x60; - Pulp last updated (descending) * &#x60;pulp_type&#x60; - Pulp type * &#x60;-pulp_type&#x60; - Pulp type (descending) * &#x60;name&#x60; - Name * &#x60;-name&#x60; - Name (descending) * &#x60;pulp_labels&#x60; - Pulp labels * &#x60;-pulp_labels&#x60; - Pulp labels (descending) * &#x60;base_path&#x60; - Base path * &#x60;-base_path&#x60; - Base path (descending) * &#x60;hidden&#x60; - Hidden * &#x60;-hidden&#x60; - Hidden (descending) * &#x60;checkpoint&#x60; - Checkpoint * &#x60;-checkpoint&#x60; - Checkpoint (descending) * &#x60;pk&#x60; - Pk * &#x60;-pk&#x60; - 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 * &#x60;pulp_id&#x60; - Pulp id * &#x60;-pulp_id&#x60; - Pulp id (descending) * &#x60;pulp_created&#x60; - Pulp created * &#x60;-pulp_created&#x60; - Pulp created (descending) * &#x60;pulp_last_updated&#x60; - Pulp last updated * &#x60;-pulp_last_updated&#x60; - Pulp last updated (descending) * &#x60;pulp_type&#x60; - Pulp type * &#x60;-pulp_type&#x60; - Pulp type (descending) * &#x60;name&#x60; - Name * &#x60;-name&#x60; - Name (descending) * &#x60;pulp_labels&#x60; - Pulp labels * &#x60;-pulp_labels&#x60; - Pulp labels (descending) * &#x60;base_path&#x60; - Base path * &#x60;-base_path&#x60; - Base path (descending) * &#x60;hidden&#x60; - Hidden * &#x60;-hidden&#x60; - Hidden (descending) * &#x60;pk&#x60; - Pk * &#x60;-pk&#x60; - Pk (descending)
55
+ # @option opts [Array<String>] :ordering Ordering * &#x60;pulp_id&#x60; - Pulp id * &#x60;-pulp_id&#x60; - Pulp id (descending) * &#x60;pulp_created&#x60; - Pulp created * &#x60;-pulp_created&#x60; - Pulp created (descending) * &#x60;pulp_last_updated&#x60; - Pulp last updated * &#x60;-pulp_last_updated&#x60; - Pulp last updated (descending) * &#x60;pulp_type&#x60; - Pulp type * &#x60;-pulp_type&#x60; - Pulp type (descending) * &#x60;name&#x60; - Name * &#x60;-name&#x60; - Name (descending) * &#x60;pulp_labels&#x60; - Pulp labels * &#x60;-pulp_labels&#x60; - Pulp labels (descending) * &#x60;base_path&#x60; - Base path * &#x60;-base_path&#x60; - Base path (descending) * &#x60;hidden&#x60; - Hidden * &#x60;-hidden&#x60; - Hidden (descending) * &#x60;checkpoint&#x60; - Checkpoint * &#x60;-checkpoint&#x60; - Checkpoint (descending) * &#x60;pk&#x60; - Pk * &#x60;-pk&#x60; - 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 * &#x60;pulp_id&#x60; - Pulp id * &#x60;-pulp_id&#x60; - Pulp id (descending) * &#x60;pulp_created&#x60; - Pulp created * &#x60;-pulp_created&#x60; - Pulp created (descending) * &#x60;pulp_last_updated&#x60; - Pulp last updated * &#x60;-pulp_last_updated&#x60; - Pulp last updated (descending) * &#x60;pulp_type&#x60; - Pulp type * &#x60;-pulp_type&#x60; - Pulp type (descending) * &#x60;name&#x60; - Name * &#x60;-name&#x60; - Name (descending) * &#x60;pulp_labels&#x60; - Pulp labels * &#x60;-pulp_labels&#x60; - Pulp labels (descending) * &#x60;base_path&#x60; - Base path * &#x60;-base_path&#x60; - Base path (descending) * &#x60;hidden&#x60; - Hidden * &#x60;-hidden&#x60; - Hidden (descending) * &#x60;pk&#x60; - Pk * &#x60;-pk&#x60; - Pk (descending)
65
+ # @option opts [Array<String>] :ordering Ordering * &#x60;pulp_id&#x60; - Pulp id * &#x60;-pulp_id&#x60; - Pulp id (descending) * &#x60;pulp_created&#x60; - Pulp created * &#x60;-pulp_created&#x60; - Pulp created (descending) * &#x60;pulp_last_updated&#x60; - Pulp last updated * &#x60;-pulp_last_updated&#x60; - Pulp last updated (descending) * &#x60;pulp_type&#x60; - Pulp type * &#x60;-pulp_type&#x60; - Pulp type (descending) * &#x60;name&#x60; - Name * &#x60;-name&#x60; - Name (descending) * &#x60;pulp_labels&#x60; - Pulp labels * &#x60;-pulp_labels&#x60; - Pulp labels (descending) * &#x60;base_path&#x60; - Base path * &#x60;-base_path&#x60; - Base path (descending) * &#x60;hidden&#x60; - Hidden * &#x60;-hidden&#x60; - Hidden (descending) * &#x60;checkpoint&#x60; - Checkpoint * &#x60;-checkpoint&#x60; - Checkpoint (descending) * &#x60;pk&#x60; - Pk * &#x60;-pk&#x60; - 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 * &#x60;pulp_id&#x60; - Pulp id * &#x60;-pulp_id&#x60; - Pulp id (descending) * &#x60;pulp_created&#x60; - Pulp created * &#x60;-pulp_created&#x60; - Pulp created (descending) * &#x60;pulp_last_updated&#x60; - Pulp last updated * &#x60;-pulp_last_updated&#x60; - Pulp last updated (descending) * &#x60;pulp_type&#x60; - Pulp type * &#x60;-pulp_type&#x60; - Pulp type (descending) * &#x60;complete&#x60; - Complete * &#x60;-complete&#x60; - Complete (descending) * &#x60;pass_through&#x60; - Pass through * &#x60;-pass_through&#x60; - Pass through (descending) * &#x60;pk&#x60; - Pk * &#x60;-pk&#x60; - Pk (descending)
44
+ # @option opts [Array<String>] :ordering Ordering * &#x60;pulp_id&#x60; - Pulp id * &#x60;-pulp_id&#x60; - Pulp id (descending) * &#x60;pulp_created&#x60; - Pulp created * &#x60;-pulp_created&#x60; - Pulp created (descending) * &#x60;pulp_last_updated&#x60; - Pulp last updated * &#x60;-pulp_last_updated&#x60; - Pulp last updated (descending) * &#x60;pulp_type&#x60; - Pulp type * &#x60;-pulp_type&#x60; - Pulp type (descending) * &#x60;complete&#x60; - Complete * &#x60;-complete&#x60; - Complete (descending) * &#x60;pass_through&#x60; - Pass through * &#x60;-pass_through&#x60; - Pass through (descending) * &#x60;checkpoint&#x60; - Checkpoint * &#x60;-checkpoint&#x60; - Checkpoint (descending) * &#x60;pk&#x60; - Pk * &#x60;-pk&#x60; - 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,31 +27,31 @@ describe PulpcoreClient::ArtifactDistributionResponse do
27
27
  end
28
28
  end
29
29
 
30
- describe 'test attribute "pulp_labels"' do
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 "base_url"' do
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 "no_content_change_since"' do
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 "base_path"' do
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 "prn"' do
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
@@ -63,13 +63,13 @@ describe PulpcoreClient::ArtifactDistributionResponse do
63
63
  end
64
64
  end
65
65
 
66
- describe 'test attribute "pulp_href"' do
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 "pulp_last_updated"' do
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
@@ -81,7 +81,7 @@ describe PulpcoreClient::ArtifactDistributionResponse do
81
81
  end
82
82
  end
83
83
 
84
- describe 'test attribute "name"' do
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