pulp_deb_client 3.1.2 → 3.2.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +5 -5
- data/docs/ContentGenericContentsApi.md +1 -1
- data/docs/ContentInstallerFileIndicesApi.md +1 -1
- data/docs/ContentInstallerPackagesApi.md +1 -1
- data/docs/ContentPackageIndicesApi.md +1 -1
- data/docs/ContentPackageReleaseComponentsApi.md +1 -1
- data/docs/ContentPackagesApi.md +1 -1
- data/docs/ContentReleaseArchitecturesApi.md +4 -4
- data/docs/ContentReleaseComponentsApi.md +4 -4
- data/docs/ContentReleaseFilesApi.md +1 -1
- data/docs/ContentReleasesApi.md +1 -1
- data/docs/ContentSourceIndicesApi.md +1 -1
- data/docs/ContentSourcePackagesApi.md +1 -1
- data/docs/ContentSourceReleaseComponentsApi.md +1 -1
- data/docs/DebAptDistributionResponse.md +2 -0
- data/docs/DebAptPublicationResponse.md +2 -0
- data/docs/DebAptRemoteResponse.md +2 -2
- data/docs/DebAptRemoteResponseHiddenFields.md +2 -2
- data/docs/DebAptRepositoryResponse.md +2 -0
- data/docs/DebCopyApi.md +1 -1
- data/docs/DebGenericContentResponse.md +2 -0
- data/docs/DebInstallerFileIndexResponse.md +2 -0
- data/docs/DebInstallerPackageResponse.md +2 -0
- data/docs/DebPackageIndexResponse.md +2 -0
- data/docs/DebPackageReleaseComponentResponse.md +2 -0
- data/docs/DebPackageResponse.md +2 -0
- data/docs/DebReleaseArchitectureResponse.md +2 -0
- data/docs/DebReleaseComponentResponse.md +2 -0
- data/docs/DebReleaseFileResponse.md +2 -0
- data/docs/DebReleaseResponse.md +2 -0
- data/docs/DebSourceIndexResponse.md +2 -0
- data/docs/DebSourcePackageReleaseComponentResponse.md +2 -0
- data/docs/DebSourcePackageResponse.md +2 -0
- data/docs/DebVerbatimPublicationResponse.md +2 -0
- data/docs/DistributionsAptApi.md +1 -1
- data/docs/PaginatedRepositoryVersionResponseList.md +2 -2
- data/docs/PaginateddebAptDistributionResponseList.md +2 -2
- data/docs/PaginateddebAptPublicationResponseList.md +2 -2
- data/docs/PaginateddebAptRemoteResponseList.md +2 -2
- data/docs/PaginateddebAptRepositoryResponseList.md +2 -2
- data/docs/PaginateddebGenericContentResponseList.md +2 -2
- data/docs/PaginateddebInstallerFileIndexResponseList.md +2 -2
- data/docs/PaginateddebInstallerPackageResponseList.md +2 -2
- data/docs/PaginateddebPackageIndexResponseList.md +2 -2
- data/docs/PaginateddebPackageReleaseComponentResponseList.md +2 -2
- data/docs/PaginateddebPackageResponseList.md +2 -2
- data/docs/PaginateddebReleaseArchitectureResponseList.md +2 -2
- data/docs/PaginateddebReleaseComponentResponseList.md +2 -2
- data/docs/PaginateddebReleaseFileResponseList.md +2 -2
- data/docs/PaginateddebReleaseResponseList.md +2 -2
- data/docs/PaginateddebSourceIndexResponseList.md +2 -2
- data/docs/PaginateddebSourcePackageReleaseComponentResponseList.md +2 -2
- data/docs/PaginateddebSourcePackageResponseList.md +2 -2
- data/docs/PaginateddebVerbatimPublicationResponseList.md +2 -2
- data/docs/PublicationsAptApi.md +1 -1
- data/docs/PublicationsVerbatimApi.md +1 -1
- data/docs/RemotesAptApi.md +1 -1
- data/docs/RepositoriesAptApi.md +1 -1
- data/docs/RepositoriesAptVersionsApi.md +1 -1
- data/docs/RepositoryVersionResponse.md +2 -0
- data/lib/pulp_deb_client/api/content_release_architectures_api.rb +5 -5
- data/lib/pulp_deb_client/api/content_release_components_api.rb +5 -5
- data/lib/pulp_deb_client/configuration.rb +2 -2
- data/lib/pulp_deb_client/models/deb_apt_distribution_response.rb +11 -1
- data/lib/pulp_deb_client/models/deb_apt_publication_response.rb +11 -1
- data/lib/pulp_deb_client/models/deb_apt_remote.rb +20 -20
- data/lib/pulp_deb_client/models/deb_apt_remote_response.rb +31 -31
- data/lib/pulp_deb_client/models/deb_apt_remote_response_hidden_fields.rb +10 -0
- data/lib/pulp_deb_client/models/deb_apt_repository_response.rb +11 -1
- data/lib/pulp_deb_client/models/deb_generic_content_response.rb +11 -1
- data/lib/pulp_deb_client/models/deb_installer_file_index_response.rb +11 -1
- data/lib/pulp_deb_client/models/deb_installer_package_response.rb +11 -1
- data/lib/pulp_deb_client/models/deb_package_index_response.rb +11 -1
- data/lib/pulp_deb_client/models/deb_package_release_component_response.rb +11 -1
- data/lib/pulp_deb_client/models/deb_package_response.rb +11 -1
- data/lib/pulp_deb_client/models/deb_release_architecture_response.rb +11 -1
- data/lib/pulp_deb_client/models/deb_release_component_response.rb +11 -1
- data/lib/pulp_deb_client/models/deb_release_file_response.rb +11 -1
- data/lib/pulp_deb_client/models/deb_release_response.rb +11 -1
- data/lib/pulp_deb_client/models/deb_source_index_response.rb +11 -1
- data/lib/pulp_deb_client/models/deb_source_package_release_component_response.rb +11 -1
- data/lib/pulp_deb_client/models/deb_source_package_response.rb +11 -1
- data/lib/pulp_deb_client/models/deb_verbatim_publication_response.rb +11 -1
- data/lib/pulp_deb_client/models/paginated_repository_version_response_list.rb +10 -0
- data/lib/pulp_deb_client/models/paginateddeb_apt_distribution_response_list.rb +10 -0
- data/lib/pulp_deb_client/models/paginateddeb_apt_publication_response_list.rb +10 -0
- data/lib/pulp_deb_client/models/paginateddeb_apt_remote_response_list.rb +10 -0
- data/lib/pulp_deb_client/models/paginateddeb_apt_repository_response_list.rb +10 -0
- data/lib/pulp_deb_client/models/paginateddeb_generic_content_response_list.rb +10 -0
- data/lib/pulp_deb_client/models/paginateddeb_installer_file_index_response_list.rb +10 -0
- data/lib/pulp_deb_client/models/paginateddeb_installer_package_response_list.rb +10 -0
- data/lib/pulp_deb_client/models/paginateddeb_package_index_response_list.rb +10 -0
- data/lib/pulp_deb_client/models/paginateddeb_package_release_component_response_list.rb +10 -0
- data/lib/pulp_deb_client/models/paginateddeb_package_response_list.rb +10 -0
- data/lib/pulp_deb_client/models/paginateddeb_release_architecture_response_list.rb +10 -0
- data/lib/pulp_deb_client/models/paginateddeb_release_component_response_list.rb +10 -0
- data/lib/pulp_deb_client/models/paginateddeb_release_file_response_list.rb +10 -0
- data/lib/pulp_deb_client/models/paginateddeb_release_response_list.rb +10 -0
- data/lib/pulp_deb_client/models/paginateddeb_source_index_response_list.rb +10 -0
- data/lib/pulp_deb_client/models/paginateddeb_source_package_release_component_response_list.rb +10 -0
- data/lib/pulp_deb_client/models/paginateddeb_source_package_response_list.rb +10 -0
- data/lib/pulp_deb_client/models/paginateddeb_verbatim_publication_response_list.rb +10 -0
- data/lib/pulp_deb_client/models/patcheddeb_apt_remote.rb +20 -20
- data/lib/pulp_deb_client/models/repository_version_response.rb +11 -1
- data/lib/pulp_deb_client/version.rb +1 -1
- data/spec/api/content_release_architectures_api_spec.rb +2 -2
- data/spec/api/content_release_components_api_spec.rb +2 -2
- data/spec/configuration_spec.rb +3 -3
- data/spec/models/deb_apt_distribution_response_spec.rb +6 -0
- data/spec/models/deb_apt_publication_response_spec.rb +6 -0
- data/spec/models/deb_apt_remote_response_spec.rb +6 -6
- data/spec/models/deb_apt_repository_response_spec.rb +6 -0
- data/spec/models/deb_generic_content_response_spec.rb +6 -0
- data/spec/models/deb_installer_file_index_response_spec.rb +6 -0
- data/spec/models/deb_installer_package_response_spec.rb +6 -0
- data/spec/models/deb_package_index_response_spec.rb +6 -0
- data/spec/models/deb_package_release_component_response_spec.rb +6 -0
- data/spec/models/deb_package_response_spec.rb +6 -0
- data/spec/models/deb_release_architecture_response_spec.rb +6 -0
- data/spec/models/deb_release_component_response_spec.rb +6 -0
- data/spec/models/deb_release_file_response_spec.rb +6 -0
- data/spec/models/deb_release_response_spec.rb +6 -0
- data/spec/models/deb_source_index_response_spec.rb +6 -0
- data/spec/models/deb_source_package_release_component_response_spec.rb +6 -0
- data/spec/models/deb_source_package_response_spec.rb +6 -0
- data/spec/models/deb_verbatim_publication_response_spec.rb +6 -0
- data/spec/models/repository_version_response_spec.rb +6 -0
- metadata +84 -84
@@ -88,12 +88,22 @@ module PulpDebClient
|
|
88
88
|
# @return Array for valid properties with the reasons
|
89
89
|
def list_invalid_properties
|
90
90
|
invalid_properties = Array.new
|
91
|
+
if @count.nil?
|
92
|
+
invalid_properties.push('invalid value for "count", count cannot be nil.')
|
93
|
+
end
|
94
|
+
|
95
|
+
if @results.nil?
|
96
|
+
invalid_properties.push('invalid value for "results", results cannot be nil.')
|
97
|
+
end
|
98
|
+
|
91
99
|
invalid_properties
|
92
100
|
end
|
93
101
|
|
94
102
|
# Check to see if the all the properties in the model are valid
|
95
103
|
# @return true if the model is valid
|
96
104
|
def valid?
|
105
|
+
return false if @count.nil?
|
106
|
+
return false if @results.nil?
|
97
107
|
true
|
98
108
|
end
|
99
109
|
|
@@ -88,12 +88,22 @@ module PulpDebClient
|
|
88
88
|
# @return Array for valid properties with the reasons
|
89
89
|
def list_invalid_properties
|
90
90
|
invalid_properties = Array.new
|
91
|
+
if @count.nil?
|
92
|
+
invalid_properties.push('invalid value for "count", count cannot be nil.')
|
93
|
+
end
|
94
|
+
|
95
|
+
if @results.nil?
|
96
|
+
invalid_properties.push('invalid value for "results", results cannot be nil.')
|
97
|
+
end
|
98
|
+
|
91
99
|
invalid_properties
|
92
100
|
end
|
93
101
|
|
94
102
|
# Check to see if the all the properties in the model are valid
|
95
103
|
# @return true if the model is valid
|
96
104
|
def valid?
|
105
|
+
return false if @count.nil?
|
106
|
+
return false if @results.nil?
|
97
107
|
true
|
98
108
|
end
|
99
109
|
|
@@ -88,12 +88,22 @@ module PulpDebClient
|
|
88
88
|
# @return Array for valid properties with the reasons
|
89
89
|
def list_invalid_properties
|
90
90
|
invalid_properties = Array.new
|
91
|
+
if @count.nil?
|
92
|
+
invalid_properties.push('invalid value for "count", count cannot be nil.')
|
93
|
+
end
|
94
|
+
|
95
|
+
if @results.nil?
|
96
|
+
invalid_properties.push('invalid value for "results", results cannot be nil.')
|
97
|
+
end
|
98
|
+
|
91
99
|
invalid_properties
|
92
100
|
end
|
93
101
|
|
94
102
|
# Check to see if the all the properties in the model are valid
|
95
103
|
# @return true if the model is valid
|
96
104
|
def valid?
|
105
|
+
return false if @count.nil?
|
106
|
+
return false if @results.nil?
|
97
107
|
true
|
98
108
|
end
|
99
109
|
|
@@ -88,12 +88,22 @@ module PulpDebClient
|
|
88
88
|
# @return Array for valid properties with the reasons
|
89
89
|
def list_invalid_properties
|
90
90
|
invalid_properties = Array.new
|
91
|
+
if @count.nil?
|
92
|
+
invalid_properties.push('invalid value for "count", count cannot be nil.')
|
93
|
+
end
|
94
|
+
|
95
|
+
if @results.nil?
|
96
|
+
invalid_properties.push('invalid value for "results", results cannot be nil.')
|
97
|
+
end
|
98
|
+
|
91
99
|
invalid_properties
|
92
100
|
end
|
93
101
|
|
94
102
|
# Check to see if the all the properties in the model are valid
|
95
103
|
# @return true if the model is valid
|
96
104
|
def valid?
|
105
|
+
return false if @count.nil?
|
106
|
+
return false if @results.nil?
|
97
107
|
true
|
98
108
|
end
|
99
109
|
|
data/lib/pulp_deb_client/models/paginateddeb_source_package_release_component_response_list.rb
CHANGED
@@ -88,12 +88,22 @@ module PulpDebClient
|
|
88
88
|
# @return Array for valid properties with the reasons
|
89
89
|
def list_invalid_properties
|
90
90
|
invalid_properties = Array.new
|
91
|
+
if @count.nil?
|
92
|
+
invalid_properties.push('invalid value for "count", count cannot be nil.')
|
93
|
+
end
|
94
|
+
|
95
|
+
if @results.nil?
|
96
|
+
invalid_properties.push('invalid value for "results", results cannot be nil.')
|
97
|
+
end
|
98
|
+
|
91
99
|
invalid_properties
|
92
100
|
end
|
93
101
|
|
94
102
|
# Check to see if the all the properties in the model are valid
|
95
103
|
# @return true if the model is valid
|
96
104
|
def valid?
|
105
|
+
return false if @count.nil?
|
106
|
+
return false if @results.nil?
|
97
107
|
true
|
98
108
|
end
|
99
109
|
|
@@ -88,12 +88,22 @@ module PulpDebClient
|
|
88
88
|
# @return Array for valid properties with the reasons
|
89
89
|
def list_invalid_properties
|
90
90
|
invalid_properties = Array.new
|
91
|
+
if @count.nil?
|
92
|
+
invalid_properties.push('invalid value for "count", count cannot be nil.')
|
93
|
+
end
|
94
|
+
|
95
|
+
if @results.nil?
|
96
|
+
invalid_properties.push('invalid value for "results", results cannot be nil.')
|
97
|
+
end
|
98
|
+
|
91
99
|
invalid_properties
|
92
100
|
end
|
93
101
|
|
94
102
|
# Check to see if the all the properties in the model are valid
|
95
103
|
# @return true if the model is valid
|
96
104
|
def valid?
|
105
|
+
return false if @count.nil?
|
106
|
+
return false if @results.nil?
|
97
107
|
true
|
98
108
|
end
|
99
109
|
|
@@ -88,12 +88,22 @@ module PulpDebClient
|
|
88
88
|
# @return Array for valid properties with the reasons
|
89
89
|
def list_invalid_properties
|
90
90
|
invalid_properties = Array.new
|
91
|
+
if @count.nil?
|
92
|
+
invalid_properties.push('invalid value for "count", count cannot be nil.')
|
93
|
+
end
|
94
|
+
|
95
|
+
if @results.nil?
|
96
|
+
invalid_properties.push('invalid value for "results", results cannot be nil.')
|
97
|
+
end
|
98
|
+
|
91
99
|
invalid_properties
|
92
100
|
end
|
93
101
|
|
94
102
|
# Check to see if the all the properties in the model are valid
|
95
103
|
# @return true if the model is valid
|
96
104
|
def valid?
|
105
|
+
return false if @count.nil?
|
106
|
+
return false if @results.nil?
|
97
107
|
true
|
98
108
|
end
|
99
109
|
|
@@ -379,20 +379,20 @@ module PulpDebClient
|
|
379
379
|
invalid_properties.push('invalid value for "download_concurrency", must be greater than or equal to 1.')
|
380
380
|
end
|
381
381
|
|
382
|
-
if !@total_timeout.nil? && @total_timeout < 0
|
383
|
-
invalid_properties.push('invalid value for "total_timeout", must be greater than or equal to 0.
|
382
|
+
if !@total_timeout.nil? && @total_timeout < 0
|
383
|
+
invalid_properties.push('invalid value for "total_timeout", must be greater than or equal to 0.')
|
384
384
|
end
|
385
385
|
|
386
|
-
if !@connect_timeout.nil? && @connect_timeout < 0
|
387
|
-
invalid_properties.push('invalid value for "connect_timeout", must be greater than or equal to 0.
|
386
|
+
if !@connect_timeout.nil? && @connect_timeout < 0
|
387
|
+
invalid_properties.push('invalid value for "connect_timeout", must be greater than or equal to 0.')
|
388
388
|
end
|
389
389
|
|
390
|
-
if !@sock_connect_timeout.nil? && @sock_connect_timeout < 0
|
391
|
-
invalid_properties.push('invalid value for "sock_connect_timeout", must be greater than or equal to 0.
|
390
|
+
if !@sock_connect_timeout.nil? && @sock_connect_timeout < 0
|
391
|
+
invalid_properties.push('invalid value for "sock_connect_timeout", must be greater than or equal to 0.')
|
392
392
|
end
|
393
393
|
|
394
|
-
if !@sock_read_timeout.nil? && @sock_read_timeout < 0
|
395
|
-
invalid_properties.push('invalid value for "sock_read_timeout", must be greater than or equal to 0.
|
394
|
+
if !@sock_read_timeout.nil? && @sock_read_timeout < 0
|
395
|
+
invalid_properties.push('invalid value for "sock_read_timeout", must be greater than or equal to 0.')
|
396
396
|
end
|
397
397
|
|
398
398
|
if !@distributions.nil? && @distributions.to_s.length < 1
|
@@ -428,10 +428,10 @@ module PulpDebClient
|
|
428
428
|
return false if !@username.nil? && @username.to_s.length < 1
|
429
429
|
return false if !@password.nil? && @password.to_s.length < 1
|
430
430
|
return false if !@download_concurrency.nil? && @download_concurrency < 1
|
431
|
-
return false if !@total_timeout.nil? && @total_timeout < 0
|
432
|
-
return false if !@connect_timeout.nil? && @connect_timeout < 0
|
433
|
-
return false if !@sock_connect_timeout.nil? && @sock_connect_timeout < 0
|
434
|
-
return false if !@sock_read_timeout.nil? && @sock_read_timeout < 0
|
431
|
+
return false if !@total_timeout.nil? && @total_timeout < 0
|
432
|
+
return false if !@connect_timeout.nil? && @connect_timeout < 0
|
433
|
+
return false if !@sock_connect_timeout.nil? && @sock_connect_timeout < 0
|
434
|
+
return false if !@sock_read_timeout.nil? && @sock_read_timeout < 0
|
435
435
|
return false if !@distributions.nil? && @distributions.to_s.length < 1
|
436
436
|
return false if !@components.nil? && @components.to_s.length < 1
|
437
437
|
return false if !@architectures.nil? && @architectures.to_s.length < 1
|
@@ -552,8 +552,8 @@ module PulpDebClient
|
|
552
552
|
# Custom attribute writer method with validation
|
553
553
|
# @param [Object] total_timeout Value to be assigned
|
554
554
|
def total_timeout=(total_timeout)
|
555
|
-
if !total_timeout.nil? && total_timeout < 0
|
556
|
-
fail ArgumentError, 'invalid value for "total_timeout", must be greater than or equal to 0.
|
555
|
+
if !total_timeout.nil? && total_timeout < 0
|
556
|
+
fail ArgumentError, 'invalid value for "total_timeout", must be greater than or equal to 0.'
|
557
557
|
end
|
558
558
|
|
559
559
|
@total_timeout = total_timeout
|
@@ -562,8 +562,8 @@ module PulpDebClient
|
|
562
562
|
# Custom attribute writer method with validation
|
563
563
|
# @param [Object] connect_timeout Value to be assigned
|
564
564
|
def connect_timeout=(connect_timeout)
|
565
|
-
if !connect_timeout.nil? && connect_timeout < 0
|
566
|
-
fail ArgumentError, 'invalid value for "connect_timeout", must be greater than or equal to 0.
|
565
|
+
if !connect_timeout.nil? && connect_timeout < 0
|
566
|
+
fail ArgumentError, 'invalid value for "connect_timeout", must be greater than or equal to 0.'
|
567
567
|
end
|
568
568
|
|
569
569
|
@connect_timeout = connect_timeout
|
@@ -572,8 +572,8 @@ module PulpDebClient
|
|
572
572
|
# Custom attribute writer method with validation
|
573
573
|
# @param [Object] sock_connect_timeout Value to be assigned
|
574
574
|
def sock_connect_timeout=(sock_connect_timeout)
|
575
|
-
if !sock_connect_timeout.nil? && sock_connect_timeout < 0
|
576
|
-
fail ArgumentError, 'invalid value for "sock_connect_timeout", must be greater than or equal to 0.
|
575
|
+
if !sock_connect_timeout.nil? && sock_connect_timeout < 0
|
576
|
+
fail ArgumentError, 'invalid value for "sock_connect_timeout", must be greater than or equal to 0.'
|
577
577
|
end
|
578
578
|
|
579
579
|
@sock_connect_timeout = sock_connect_timeout
|
@@ -582,8 +582,8 @@ module PulpDebClient
|
|
582
582
|
# Custom attribute writer method with validation
|
583
583
|
# @param [Object] sock_read_timeout Value to be assigned
|
584
584
|
def sock_read_timeout=(sock_read_timeout)
|
585
|
-
if !sock_read_timeout.nil? && sock_read_timeout < 0
|
586
|
-
fail ArgumentError, 'invalid value for "sock_read_timeout", must be greater than or equal to 0.
|
585
|
+
if !sock_read_timeout.nil? && sock_read_timeout < 0
|
586
|
+
fail ArgumentError, 'invalid value for "sock_read_timeout", must be greater than or equal to 0.'
|
587
587
|
end
|
588
588
|
|
589
589
|
@sock_read_timeout = sock_read_timeout
|
@@ -20,6 +20,9 @@ module PulpDebClient
|
|
20
20
|
# Timestamp of creation.
|
21
21
|
attr_accessor :pulp_created
|
22
22
|
|
23
|
+
# 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.
|
24
|
+
attr_accessor :pulp_last_updated
|
25
|
+
|
23
26
|
attr_accessor :number
|
24
27
|
|
25
28
|
attr_accessor :repository
|
@@ -35,6 +38,7 @@ module PulpDebClient
|
|
35
38
|
{
|
36
39
|
:'pulp_href' => :'pulp_href',
|
37
40
|
:'pulp_created' => :'pulp_created',
|
41
|
+
:'pulp_last_updated' => :'pulp_last_updated',
|
38
42
|
:'number' => :'number',
|
39
43
|
:'repository' => :'repository',
|
40
44
|
:'base_version' => :'base_version',
|
@@ -47,6 +51,7 @@ module PulpDebClient
|
|
47
51
|
{
|
48
52
|
:'pulp_href' => :'String',
|
49
53
|
:'pulp_created' => :'DateTime',
|
54
|
+
:'pulp_last_updated' => :'DateTime',
|
50
55
|
:'number' => :'Integer',
|
51
56
|
:'repository' => :'String',
|
52
57
|
:'base_version' => :'String',
|
@@ -83,6 +88,10 @@ module PulpDebClient
|
|
83
88
|
self.pulp_created = attributes[:'pulp_created']
|
84
89
|
end
|
85
90
|
|
91
|
+
if attributes.key?(:'pulp_last_updated')
|
92
|
+
self.pulp_last_updated = attributes[:'pulp_last_updated']
|
93
|
+
end
|
94
|
+
|
86
95
|
if attributes.key?(:'number')
|
87
96
|
self.number = attributes[:'number']
|
88
97
|
end
|
@@ -120,6 +129,7 @@ module PulpDebClient
|
|
120
129
|
self.class == o.class &&
|
121
130
|
pulp_href == o.pulp_href &&
|
122
131
|
pulp_created == o.pulp_created &&
|
132
|
+
pulp_last_updated == o.pulp_last_updated &&
|
123
133
|
number == o.number &&
|
124
134
|
repository == o.repository &&
|
125
135
|
base_version == o.base_version &&
|
@@ -135,7 +145,7 @@ module PulpDebClient
|
|
135
145
|
# Calculates hash code according to all attributes.
|
136
146
|
# @return [Integer] Hash code
|
137
147
|
def hash
|
138
|
-
[pulp_href, pulp_created, number, repository, base_version, content_summary].hash
|
148
|
+
[pulp_href, pulp_created, pulp_last_updated, number, repository, base_version, content_summary].hash
|
139
149
|
end
|
140
150
|
|
141
151
|
# Builds the object from hash
|
@@ -34,10 +34,10 @@ describe 'ContentReleaseArchitecturesApi' do
|
|
34
34
|
|
35
35
|
# unit tests for create
|
36
36
|
# Create a release architecture
|
37
|
-
#
|
37
|
+
# Trigger an asynchronous task to create content,optionally create new repository version.
|
38
38
|
# @param deb_release_architecture
|
39
39
|
# @param [Hash] opts the optional parameters
|
40
|
-
# @return [
|
40
|
+
# @return [AsyncOperationResponse]
|
41
41
|
describe 'create test' do
|
42
42
|
it 'should work' do
|
43
43
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
@@ -34,10 +34,10 @@ describe 'ContentReleaseComponentsApi' do
|
|
34
34
|
|
35
35
|
# unit tests for create
|
36
36
|
# Create a release component
|
37
|
-
#
|
37
|
+
# Trigger an asynchronous task to create content,optionally create new repository version.
|
38
38
|
# @param deb_release_component
|
39
39
|
# @param [Hash] opts the optional parameters
|
40
|
-
# @return [
|
40
|
+
# @return [AsyncOperationResponse]
|
41
41
|
describe 'create test' do
|
42
42
|
it 'should work' do
|
43
43
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
data/spec/configuration_spec.rb
CHANGED
@@ -18,7 +18,7 @@ describe PulpDebClient::Configuration do
|
|
18
18
|
before(:each) do
|
19
19
|
# uncomment below to setup host and base_path
|
20
20
|
# require 'URI'
|
21
|
-
# uri = URI.parse("http://
|
21
|
+
# uri = URI.parse("http://localhost:24817")
|
22
22
|
# PulpDebClient.configure do |c|
|
23
23
|
# c.host = uri.host
|
24
24
|
# c.base_path = uri.path
|
@@ -28,14 +28,14 @@ describe PulpDebClient::Configuration do
|
|
28
28
|
describe '#base_url' do
|
29
29
|
it 'should have the default value' do
|
30
30
|
# uncomment below to test default value of the base path
|
31
|
-
# expect(config.base_url).to eq("http://
|
31
|
+
# expect(config.base_url).to eq("http://localhost:24817")
|
32
32
|
end
|
33
33
|
|
34
34
|
it 'should remove trailing slashes' do
|
35
35
|
[nil, '', '/', '//'].each do |base_path|
|
36
36
|
config.base_path = base_path
|
37
37
|
# uncomment below to test trailing slashes
|
38
|
-
# expect(config.base_url).to eq("http://
|
38
|
+
# expect(config.base_url).to eq("http://localhost:24817")
|
39
39
|
end
|
40
40
|
end
|
41
41
|
end
|
@@ -44,6 +44,12 @@ describe 'DebAptDistributionResponse' do
|
|
44
44
|
end
|
45
45
|
end
|
46
46
|
|
47
|
+
describe 'test attribute "pulp_last_updated"' do
|
48
|
+
it 'should work' do
|
49
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
50
|
+
end
|
51
|
+
end
|
52
|
+
|
47
53
|
describe 'test attribute "base_path"' do
|
48
54
|
it 'should work' do
|
49
55
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
@@ -44,6 +44,12 @@ describe 'DebAptPublicationResponse' do
|
|
44
44
|
end
|
45
45
|
end
|
46
46
|
|
47
|
+
describe 'test attribute "pulp_last_updated"' do
|
48
|
+
it 'should work' do
|
49
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
50
|
+
end
|
51
|
+
end
|
52
|
+
|
47
53
|
describe 'test attribute "repository_version"' do
|
48
54
|
it 'should work' do
|
49
55
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
@@ -44,6 +44,12 @@ describe 'DebAptRemoteResponse' do
|
|
44
44
|
end
|
45
45
|
end
|
46
46
|
|
47
|
+
describe 'test attribute "pulp_last_updated"' do
|
48
|
+
it 'should work' do
|
49
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
50
|
+
end
|
51
|
+
end
|
52
|
+
|
47
53
|
describe 'test attribute "name"' do
|
48
54
|
it 'should work' do
|
49
55
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
@@ -86,12 +92,6 @@ describe 'DebAptRemoteResponse' do
|
|
86
92
|
end
|
87
93
|
end
|
88
94
|
|
89
|
-
describe 'test attribute "pulp_last_updated"' do
|
90
|
-
it 'should work' do
|
91
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
92
|
-
end
|
93
|
-
end
|
94
|
-
|
95
95
|
describe 'test attribute "download_concurrency"' do
|
96
96
|
it 'should work' do
|
97
97
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
@@ -44,6 +44,12 @@ describe 'DebAptRepositoryResponse' do
|
|
44
44
|
end
|
45
45
|
end
|
46
46
|
|
47
|
+
describe 'test attribute "pulp_last_updated"' do
|
48
|
+
it 'should work' do
|
49
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
50
|
+
end
|
51
|
+
end
|
52
|
+
|
47
53
|
describe 'test attribute "versions_href"' do
|
48
54
|
it 'should work' do
|
49
55
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
@@ -44,6 +44,12 @@ describe 'DebGenericContentResponse' do
|
|
44
44
|
end
|
45
45
|
end
|
46
46
|
|
47
|
+
describe 'test attribute "pulp_last_updated"' do
|
48
|
+
it 'should work' do
|
49
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
50
|
+
end
|
51
|
+
end
|
52
|
+
|
47
53
|
describe 'test attribute "artifact"' do
|
48
54
|
it 'should work' do
|
49
55
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
@@ -44,6 +44,12 @@ describe 'DebInstallerFileIndexResponse' do
|
|
44
44
|
end
|
45
45
|
end
|
46
46
|
|
47
|
+
describe 'test attribute "pulp_last_updated"' do
|
48
|
+
it 'should work' do
|
49
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
50
|
+
end
|
51
|
+
end
|
52
|
+
|
47
53
|
describe 'test attribute "artifacts"' do
|
48
54
|
it 'should work' do
|
49
55
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
@@ -44,6 +44,12 @@ describe 'DebInstallerPackageResponse' do
|
|
44
44
|
end
|
45
45
|
end
|
46
46
|
|
47
|
+
describe 'test attribute "pulp_last_updated"' do
|
48
|
+
it 'should work' do
|
49
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
50
|
+
end
|
51
|
+
end
|
52
|
+
|
47
53
|
describe 'test attribute "artifact"' do
|
48
54
|
it 'should work' do
|
49
55
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
@@ -44,6 +44,12 @@ describe 'DebPackageIndexResponse' do
|
|
44
44
|
end
|
45
45
|
end
|
46
46
|
|
47
|
+
describe 'test attribute "pulp_last_updated"' do
|
48
|
+
it 'should work' do
|
49
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
50
|
+
end
|
51
|
+
end
|
52
|
+
|
47
53
|
describe 'test attribute "artifacts"' do
|
48
54
|
it 'should work' do
|
49
55
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
@@ -44,6 +44,12 @@ describe 'DebPackageReleaseComponentResponse' do
|
|
44
44
|
end
|
45
45
|
end
|
46
46
|
|
47
|
+
describe 'test attribute "pulp_last_updated"' do
|
48
|
+
it 'should work' do
|
49
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
50
|
+
end
|
51
|
+
end
|
52
|
+
|
47
53
|
describe 'test attribute "package"' do
|
48
54
|
it 'should work' do
|
49
55
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
@@ -44,6 +44,12 @@ describe 'DebPackageResponse' do
|
|
44
44
|
end
|
45
45
|
end
|
46
46
|
|
47
|
+
describe 'test attribute "pulp_last_updated"' do
|
48
|
+
it 'should work' do
|
49
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
50
|
+
end
|
51
|
+
end
|
52
|
+
|
47
53
|
describe 'test attribute "artifact"' do
|
48
54
|
it 'should work' do
|
49
55
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
@@ -44,6 +44,12 @@ describe 'DebReleaseArchitectureResponse' do
|
|
44
44
|
end
|
45
45
|
end
|
46
46
|
|
47
|
+
describe 'test attribute "pulp_last_updated"' do
|
48
|
+
it 'should work' do
|
49
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
50
|
+
end
|
51
|
+
end
|
52
|
+
|
47
53
|
describe 'test attribute "architecture"' do
|
48
54
|
it 'should work' do
|
49
55
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
@@ -44,6 +44,12 @@ describe 'DebReleaseComponentResponse' do
|
|
44
44
|
end
|
45
45
|
end
|
46
46
|
|
47
|
+
describe 'test attribute "pulp_last_updated"' do
|
48
|
+
it 'should work' do
|
49
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
50
|
+
end
|
51
|
+
end
|
52
|
+
|
47
53
|
describe 'test attribute "component"' do
|
48
54
|
it 'should work' do
|
49
55
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
@@ -44,6 +44,12 @@ describe 'DebReleaseFileResponse' do
|
|
44
44
|
end
|
45
45
|
end
|
46
46
|
|
47
|
+
describe 'test attribute "pulp_last_updated"' do
|
48
|
+
it 'should work' do
|
49
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
50
|
+
end
|
51
|
+
end
|
52
|
+
|
47
53
|
describe 'test attribute "artifacts"' do
|
48
54
|
it 'should work' do
|
49
55
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
@@ -44,6 +44,12 @@ describe 'DebReleaseResponse' do
|
|
44
44
|
end
|
45
45
|
end
|
46
46
|
|
47
|
+
describe 'test attribute "pulp_last_updated"' do
|
48
|
+
it 'should work' do
|
49
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
50
|
+
end
|
51
|
+
end
|
52
|
+
|
47
53
|
describe 'test attribute "codename"' do
|
48
54
|
it 'should work' do
|
49
55
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
@@ -44,6 +44,12 @@ describe 'DebSourceIndexResponse' do
|
|
44
44
|
end
|
45
45
|
end
|
46
46
|
|
47
|
+
describe 'test attribute "pulp_last_updated"' do
|
48
|
+
it 'should work' do
|
49
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
50
|
+
end
|
51
|
+
end
|
52
|
+
|
47
53
|
describe 'test attribute "artifacts"' do
|
48
54
|
it 'should work' do
|
49
55
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
@@ -44,6 +44,12 @@ describe 'DebSourcePackageReleaseComponentResponse' do
|
|
44
44
|
end
|
45
45
|
end
|
46
46
|
|
47
|
+
describe 'test attribute "pulp_last_updated"' do
|
48
|
+
it 'should work' do
|
49
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
50
|
+
end
|
51
|
+
end
|
52
|
+
|
47
53
|
describe 'test attribute "source_package"' do
|
48
54
|
it 'should work' do
|
49
55
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
@@ -44,6 +44,12 @@ describe 'DebSourcePackageResponse' do
|
|
44
44
|
end
|
45
45
|
end
|
46
46
|
|
47
|
+
describe 'test attribute "pulp_last_updated"' do
|
48
|
+
it 'should work' do
|
49
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
50
|
+
end
|
51
|
+
end
|
52
|
+
|
47
53
|
describe 'test attribute "artifacts"' do
|
48
54
|
it 'should work' do
|
49
55
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
@@ -44,6 +44,12 @@ describe 'DebVerbatimPublicationResponse' do
|
|
44
44
|
end
|
45
45
|
end
|
46
46
|
|
47
|
+
describe 'test attribute "pulp_last_updated"' do
|
48
|
+
it 'should work' do
|
49
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
50
|
+
end
|
51
|
+
end
|
52
|
+
|
47
53
|
describe 'test attribute "repository_version"' do
|
48
54
|
it 'should work' do
|
49
55
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
@@ -44,6 +44,12 @@ describe 'RepositoryVersionResponse' do
|
|
44
44
|
end
|
45
45
|
end
|
46
46
|
|
47
|
+
describe 'test attribute "pulp_last_updated"' do
|
48
|
+
it 'should work' do
|
49
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
50
|
+
end
|
51
|
+
end
|
52
|
+
|
47
53
|
describe 'test attribute "number"' do
|
48
54
|
it 'should work' do
|
49
55
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|