pulpcore_client 3.28.39 → 3.29.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 +5 -5
- data/docs/AccessPoliciesApi.md +1 -1
- data/docs/ArtifactDistributionResponse.md +8 -8
- data/docs/ArtifactsApi.md +1 -1
- data/docs/ContentApi.md +3 -3
- data/docs/ContentguardsApi.md +3 -3
- data/docs/ContentguardsContentRedirectApi.md +1 -1
- data/docs/ContentguardsRbacApi.md +1 -1
- data/docs/DistributionsApi.md +4 -4
- data/docs/DistributionsArtifactsApi.md +2 -2
- data/docs/DomainsApi.md +1 -1
- data/docs/ExportersFilesystemApi.md +1 -1
- data/docs/ExportersFilesystemExportsApi.md +1 -1
- data/docs/ExportersPulpApi.md +1 -1
- data/docs/ExportersPulpExportsApi.md +1 -1
- data/docs/GroupsApi.md +1 -1
- data/docs/GroupsRolesApi.md +2 -2
- data/docs/GroupsUsersApi.md +1 -1
- data/docs/ImportersPulpApi.md +1 -1
- data/docs/ImportersPulpImportCheckApi.md +1 -1
- data/docs/ImportersPulpImportsApi.md +1 -1
- data/docs/OrphansApi.md +1 -1
- data/docs/OrphansCleanupApi.md +1 -1
- data/docs/PaginatedAccessPolicyResponseList.md +2 -2
- data/docs/PaginatedArtifactDistributionResponseList.md +2 -2
- data/docs/PaginatedArtifactResponseList.md +2 -2
- data/docs/PaginatedContentGuardResponseList.md +2 -2
- data/docs/PaginatedContentRedirectContentGuardResponseList.md +2 -2
- data/docs/PaginatedDistributionResponseList.md +2 -2
- data/docs/PaginatedDomainResponseList.md +2 -2
- data/docs/PaginatedFilesystemExportResponseList.md +2 -2
- data/docs/PaginatedFilesystemExporterResponseList.md +2 -2
- data/docs/PaginatedGroupResponseList.md +2 -2
- data/docs/PaginatedGroupRoleResponseList.md +2 -2
- data/docs/PaginatedGroupUserResponseList.md +2 -2
- data/docs/PaginatedImportResponseList.md +2 -2
- data/docs/PaginatedMultipleArtifactContentResponseList.md +2 -2
- data/docs/PaginatedPublicationResponseList.md +2 -2
- data/docs/PaginatedPulpExportResponseList.md +2 -2
- data/docs/PaginatedPulpExporterResponseList.md +2 -2
- data/docs/PaginatedPulpImporterResponseList.md +2 -2
- data/docs/PaginatedRBACContentGuardResponseList.md +2 -2
- data/docs/PaginatedRemoteResponseList.md +2 -2
- data/docs/PaginatedRepositoryResponseList.md +2 -2
- data/docs/PaginatedRepositoryVersionResponseList.md +2 -2
- data/docs/PaginatedRoleResponseList.md +2 -2
- data/docs/PaginatedSigningServiceResponseList.md +2 -2
- data/docs/PaginatedTaskGroupResponseList.md +2 -2
- data/docs/PaginatedTaskResponseList.md +2 -2
- data/docs/PaginatedTaskScheduleResponseList.md +2 -2
- data/docs/PaginatedUploadResponseList.md +2 -2
- data/docs/PaginatedUpstreamPulpResponseList.md +2 -2
- data/docs/PaginatedUserResponseList.md +2 -2
- data/docs/PaginatedUserRoleResponseList.md +2 -2
- data/docs/PaginatedWorkerResponseList.md +2 -2
- data/docs/PublicationsApi.md +3 -3
- data/docs/RemoteResponseHiddenFields.md +2 -2
- data/docs/RemotesApi.md +3 -3
- data/docs/RepairApi.md +1 -1
- data/docs/RepositoriesApi.md +4 -4
- data/docs/RepositoriesReclaimSpaceApi.md +1 -1
- data/docs/RepositoryVersionsApi.md +1 -1
- data/docs/RolesApi.md +1 -1
- data/docs/SigningServicesApi.md +1 -1
- data/docs/StatusApi.md +1 -1
- data/docs/TaskGroupsApi.md +1 -1
- data/docs/TaskSchedulesApi.md +1 -1
- data/docs/TasksApi.md +7 -7
- data/docs/UploadsApi.md +1 -1
- data/docs/UpstreamPulpsApi.md +3 -3
- data/docs/UsersApi.md +1 -1
- data/docs/UsersRolesApi.md +2 -2
- data/docs/WorkersApi.md +1 -1
- data/lib/pulpcore_client/api/content_api.rb +3 -3
- data/lib/pulpcore_client/api/contentguards_api.rb +3 -3
- data/lib/pulpcore_client/api/distributions_api.rb +3 -3
- data/lib/pulpcore_client/api/publications_api.rb +6 -2
- data/lib/pulpcore_client/api/remotes_api.rb +6 -2
- data/lib/pulpcore_client/api/repositories_api.rb +6 -2
- data/lib/pulpcore_client/api/tasks_api.rb +3 -3
- data/lib/pulpcore_client/api/upstream_pulps_api.rb +3 -3
- data/lib/pulpcore_client/configuration.rb +3 -3
- data/lib/pulpcore_client/models/artifact_distribution_response.rb +37 -37
- data/lib/pulpcore_client/models/paginated_access_policy_response_list.rb +0 -10
- data/lib/pulpcore_client/models/paginated_artifact_distribution_response_list.rb +0 -10
- data/lib/pulpcore_client/models/paginated_artifact_response_list.rb +0 -10
- data/lib/pulpcore_client/models/paginated_content_guard_response_list.rb +0 -10
- data/lib/pulpcore_client/models/paginated_content_redirect_content_guard_response_list.rb +0 -10
- data/lib/pulpcore_client/models/paginated_distribution_response_list.rb +0 -10
- data/lib/pulpcore_client/models/paginated_domain_response_list.rb +0 -10
- data/lib/pulpcore_client/models/paginated_filesystem_export_response_list.rb +0 -10
- data/lib/pulpcore_client/models/paginated_filesystem_exporter_response_list.rb +0 -10
- data/lib/pulpcore_client/models/paginated_group_response_list.rb +0 -10
- data/lib/pulpcore_client/models/paginated_group_role_response_list.rb +0 -10
- data/lib/pulpcore_client/models/paginated_group_user_response_list.rb +0 -10
- data/lib/pulpcore_client/models/paginated_import_response_list.rb +0 -10
- data/lib/pulpcore_client/models/paginated_multiple_artifact_content_response_list.rb +0 -10
- data/lib/pulpcore_client/models/paginated_publication_response_list.rb +0 -10
- data/lib/pulpcore_client/models/paginated_pulp_export_response_list.rb +0 -10
- data/lib/pulpcore_client/models/paginated_pulp_exporter_response_list.rb +0 -10
- data/lib/pulpcore_client/models/paginated_pulp_importer_response_list.rb +0 -10
- data/lib/pulpcore_client/models/paginated_rbac_content_guard_response_list.rb +0 -10
- data/lib/pulpcore_client/models/paginated_remote_response_list.rb +0 -10
- data/lib/pulpcore_client/models/paginated_repository_response_list.rb +0 -10
- data/lib/pulpcore_client/models/paginated_repository_version_response_list.rb +0 -10
- data/lib/pulpcore_client/models/paginated_role_response_list.rb +0 -10
- data/lib/pulpcore_client/models/paginated_signing_service_response_list.rb +0 -10
- data/lib/pulpcore_client/models/paginated_task_group_response_list.rb +0 -10
- data/lib/pulpcore_client/models/paginated_task_response_list.rb +0 -10
- data/lib/pulpcore_client/models/paginated_task_schedule_response_list.rb +0 -10
- data/lib/pulpcore_client/models/paginated_upload_response_list.rb +0 -10
- data/lib/pulpcore_client/models/paginated_upstream_pulp_response_list.rb +0 -10
- data/lib/pulpcore_client/models/paginated_user_response_list.rb +0 -10
- data/lib/pulpcore_client/models/paginated_user_role_response_list.rb +0 -10
- data/lib/pulpcore_client/models/paginated_worker_response_list.rb +0 -10
- data/lib/pulpcore_client/models/remote_response_hidden_fields.rb +0 -10
- data/lib/pulpcore_client/version.rb +1 -1
- data/spec/api/content_api_spec.rb +1 -1
- data/spec/api/contentguards_api_spec.rb +1 -1
- data/spec/api/distributions_api_spec.rb +1 -1
- data/spec/api/publications_api_spec.rb +1 -1
- data/spec/api/remotes_api_spec.rb +1 -1
- data/spec/api/repositories_api_spec.rb +1 -1
- data/spec/api/tasks_api_spec.rb +1 -1
- data/spec/api/upstream_pulps_api_spec.rb +1 -1
- data/spec/configuration_spec.rb +3 -3
- data/spec/models/artifact_distribution_response_spec.rb +6 -6
- metadata +160 -160
@@ -88,22 +88,12 @@ module PulpcoreClient
|
|
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
|
-
|
99
91
|
invalid_properties
|
100
92
|
end
|
101
93
|
|
102
94
|
# Check to see if the all the properties in the model are valid
|
103
95
|
# @return true if the model is valid
|
104
96
|
def valid?
|
105
|
-
return false if @count.nil?
|
106
|
-
return false if @results.nil?
|
107
97
|
true
|
108
98
|
end
|
109
99
|
|
@@ -88,22 +88,12 @@ module PulpcoreClient
|
|
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
|
-
|
99
91
|
invalid_properties
|
100
92
|
end
|
101
93
|
|
102
94
|
# Check to see if the all the properties in the model are valid
|
103
95
|
# @return true if the model is valid
|
104
96
|
def valid?
|
105
|
-
return false if @count.nil?
|
106
|
-
return false if @results.nil?
|
107
97
|
true
|
108
98
|
end
|
109
99
|
|
@@ -88,22 +88,12 @@ module PulpcoreClient
|
|
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
|
-
|
99
91
|
invalid_properties
|
100
92
|
end
|
101
93
|
|
102
94
|
# Check to see if the all the properties in the model are valid
|
103
95
|
# @return true if the model is valid
|
104
96
|
def valid?
|
105
|
-
return false if @count.nil?
|
106
|
-
return false if @results.nil?
|
107
97
|
true
|
108
98
|
end
|
109
99
|
|
@@ -88,22 +88,12 @@ module PulpcoreClient
|
|
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
|
-
|
99
91
|
invalid_properties
|
100
92
|
end
|
101
93
|
|
102
94
|
# Check to see if the all the properties in the model are valid
|
103
95
|
# @return true if the model is valid
|
104
96
|
def valid?
|
105
|
-
return false if @count.nil?
|
106
|
-
return false if @results.nil?
|
107
97
|
true
|
108
98
|
end
|
109
99
|
|
@@ -88,22 +88,12 @@ module PulpcoreClient
|
|
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
|
-
|
99
91
|
invalid_properties
|
100
92
|
end
|
101
93
|
|
102
94
|
# Check to see if the all the properties in the model are valid
|
103
95
|
# @return true if the model is valid
|
104
96
|
def valid?
|
105
|
-
return false if @count.nil?
|
106
|
-
return false if @results.nil?
|
107
97
|
true
|
108
98
|
end
|
109
99
|
|
@@ -88,22 +88,12 @@ module PulpcoreClient
|
|
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
|
-
|
99
91
|
invalid_properties
|
100
92
|
end
|
101
93
|
|
102
94
|
# Check to see if the all the properties in the model are valid
|
103
95
|
# @return true if the model is valid
|
104
96
|
def valid?
|
105
|
-
return false if @count.nil?
|
106
|
-
return false if @results.nil?
|
107
97
|
true
|
108
98
|
end
|
109
99
|
|
@@ -88,22 +88,12 @@ module PulpcoreClient
|
|
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
|
-
|
99
91
|
invalid_properties
|
100
92
|
end
|
101
93
|
|
102
94
|
# Check to see if the all the properties in the model are valid
|
103
95
|
# @return true if the model is valid
|
104
96
|
def valid?
|
105
|
-
return false if @count.nil?
|
106
|
-
return false if @results.nil?
|
107
97
|
true
|
108
98
|
end
|
109
99
|
|
@@ -88,22 +88,12 @@ module PulpcoreClient
|
|
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
|
-
|
99
91
|
invalid_properties
|
100
92
|
end
|
101
93
|
|
102
94
|
# Check to see if the all the properties in the model are valid
|
103
95
|
# @return true if the model is valid
|
104
96
|
def valid?
|
105
|
-
return false if @count.nil?
|
106
|
-
return false if @results.nil?
|
107
97
|
true
|
108
98
|
end
|
109
99
|
|
@@ -88,22 +88,12 @@ module PulpcoreClient
|
|
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
|
-
|
99
91
|
invalid_properties
|
100
92
|
end
|
101
93
|
|
102
94
|
# Check to see if the all the properties in the model are valid
|
103
95
|
# @return true if the model is valid
|
104
96
|
def valid?
|
105
|
-
return false if @count.nil?
|
106
|
-
return false if @results.nil?
|
107
97
|
true
|
108
98
|
end
|
109
99
|
|
@@ -88,22 +88,12 @@ module PulpcoreClient
|
|
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
|
-
|
99
91
|
invalid_properties
|
100
92
|
end
|
101
93
|
|
102
94
|
# Check to see if the all the properties in the model are valid
|
103
95
|
# @return true if the model is valid
|
104
96
|
def valid?
|
105
|
-
return false if @count.nil?
|
106
|
-
return false if @results.nil?
|
107
97
|
true
|
108
98
|
end
|
109
99
|
|
@@ -88,22 +88,12 @@ module PulpcoreClient
|
|
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
|
-
|
99
91
|
invalid_properties
|
100
92
|
end
|
101
93
|
|
102
94
|
# Check to see if the all the properties in the model are valid
|
103
95
|
# @return true if the model is valid
|
104
96
|
def valid?
|
105
|
-
return false if @count.nil?
|
106
|
-
return false if @results.nil?
|
107
97
|
true
|
108
98
|
end
|
109
99
|
|
@@ -88,22 +88,12 @@ module PulpcoreClient
|
|
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
|
-
|
99
91
|
invalid_properties
|
100
92
|
end
|
101
93
|
|
102
94
|
# Check to see if the all the properties in the model are valid
|
103
95
|
# @return true if the model is valid
|
104
96
|
def valid?
|
105
|
-
return false if @count.nil?
|
106
|
-
return false if @results.nil?
|
107
97
|
true
|
108
98
|
end
|
109
99
|
|
@@ -88,22 +88,12 @@ module PulpcoreClient
|
|
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
|
-
|
99
91
|
invalid_properties
|
100
92
|
end
|
101
93
|
|
102
94
|
# Check to see if the all the properties in the model are valid
|
103
95
|
# @return true if the model is valid
|
104
96
|
def valid?
|
105
|
-
return false if @count.nil?
|
106
|
-
return false if @results.nil?
|
107
97
|
true
|
108
98
|
end
|
109
99
|
|
@@ -88,22 +88,12 @@ module PulpcoreClient
|
|
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
|
-
|
99
91
|
invalid_properties
|
100
92
|
end
|
101
93
|
|
102
94
|
# Check to see if the all the properties in the model are valid
|
103
95
|
# @return true if the model is valid
|
104
96
|
def valid?
|
105
|
-
return false if @count.nil?
|
106
|
-
return false if @results.nil?
|
107
97
|
true
|
108
98
|
end
|
109
99
|
|
@@ -88,22 +88,12 @@ module PulpcoreClient
|
|
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
|
-
|
99
91
|
invalid_properties
|
100
92
|
end
|
101
93
|
|
102
94
|
# Check to see if the all the properties in the model are valid
|
103
95
|
# @return true if the model is valid
|
104
96
|
def valid?
|
105
|
-
return false if @count.nil?
|
106
|
-
return false if @results.nil?
|
107
97
|
true
|
108
98
|
end
|
109
99
|
|
@@ -88,22 +88,12 @@ module PulpcoreClient
|
|
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
|
-
|
99
91
|
invalid_properties
|
100
92
|
end
|
101
93
|
|
102
94
|
# Check to see if the all the properties in the model are valid
|
103
95
|
# @return true if the model is valid
|
104
96
|
def valid?
|
105
|
-
return false if @count.nil?
|
106
|
-
return false if @results.nil?
|
107
97
|
true
|
108
98
|
end
|
109
99
|
|
@@ -88,22 +88,12 @@ module PulpcoreClient
|
|
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
|
-
|
99
91
|
invalid_properties
|
100
92
|
end
|
101
93
|
|
102
94
|
# Check to see if the all the properties in the model are valid
|
103
95
|
# @return true if the model is valid
|
104
96
|
def valid?
|
105
|
-
return false if @count.nil?
|
106
|
-
return false if @results.nil?
|
107
97
|
true
|
108
98
|
end
|
109
99
|
|
@@ -68,22 +68,12 @@ module PulpcoreClient
|
|
68
68
|
# @return Array for valid properties with the reasons
|
69
69
|
def list_invalid_properties
|
70
70
|
invalid_properties = Array.new
|
71
|
-
if @name.nil?
|
72
|
-
invalid_properties.push('invalid value for "name", name cannot be nil.')
|
73
|
-
end
|
74
|
-
|
75
|
-
if @is_set.nil?
|
76
|
-
invalid_properties.push('invalid value for "is_set", is_set cannot be nil.')
|
77
|
-
end
|
78
|
-
|
79
71
|
invalid_properties
|
80
72
|
end
|
81
73
|
|
82
74
|
# Check to see if the all the properties in the model are valid
|
83
75
|
# @return true if the model is valid
|
84
76
|
def valid?
|
85
|
-
return false if @name.nil?
|
86
|
-
return false if @is_set.nil?
|
87
77
|
true
|
88
78
|
end
|
89
79
|
|
@@ -41,7 +41,7 @@ describe 'ContentApi' do
|
|
41
41
|
# @option opts [Array<String>] :ordering Ordering * `pk` - Pk * `-pk` - Pk (descending)
|
42
42
|
# @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
|
43
43
|
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
44
|
-
# @option opts [Array<String>] :pulp_type__in Pulp type is in * `core.publishedmetadata` - core.publishedmetadata
|
44
|
+
# @option opts [Array<String>] :pulp_type__in Pulp type is in * `core.publishedmetadata` - core.publishedmetadata * `file.file` - file.file
|
45
45
|
# @option opts [String] :repository_version Repository Version referenced by HREF
|
46
46
|
# @option opts [String] :repository_version_added Repository Version referenced by HREF
|
47
47
|
# @option opts [String] :repository_version_removed Repository Version referenced by HREF
|
@@ -46,7 +46,7 @@ describe 'ContentguardsApi' do
|
|
46
46
|
# @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) * `description` - Description * `-description` - Description (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
47
47
|
# @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
|
48
48
|
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
49
|
-
# @option opts [Array<String>] :pulp_type__in Pulp type is in * `core.rbac` - core.rbac * `core.content_redirect` - core.content_redirect
|
49
|
+
# @option opts [Array<String>] :pulp_type__in Pulp type is in * `core.rbac` - core.rbac * `core.content_redirect` - core.content_redirect * `certguard.rhsm` - certguard.rhsm * `certguard.x509` - certguard.x509
|
50
50
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
51
51
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
52
52
|
# @return [PaginatedContentGuardResponseList]
|
@@ -51,7 +51,7 @@ describe 'DistributionsApi' do
|
|
51
51
|
# @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
|
52
52
|
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
53
53
|
# @option opts [String] :pulp_label_select Filter labels by search string
|
54
|
-
# @option opts [Array<String>] :pulp_type__in Pulp type is in * `core.artifact` - core.artifact
|
54
|
+
# @option opts [Array<String>] :pulp_type__in Pulp type is in * `core.artifact` - core.artifact * `file.file` - file.file
|
55
55
|
# @option opts [String] :repository Filter results where repository matches value
|
56
56
|
# @option opts [Array<String>] :repository__in Filter results where repository is in a comma-separated list of values
|
57
57
|
# @option opts [String] :with_content Filter distributions based on the content served by them
|
@@ -49,7 +49,7 @@ describe 'PublicationsApi' do
|
|
49
49
|
# @option opts [Array<DateTime>] :pulp_created__range Filter results where pulp_created is between two comma separated values
|
50
50
|
# @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
|
51
51
|
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
52
|
-
# @option opts [Array<String>] :pulp_type__in Pulp type is in
|
52
|
+
# @option opts [Array<String>] :pulp_type__in Pulp type is in * `file.file` - file.file
|
53
53
|
# @option opts [String] :repository Repository referenced by HREF
|
54
54
|
# @option opts [String] :repository_version Repository Version referenced by HREF
|
55
55
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
@@ -53,7 +53,7 @@ describe 'RemotesApi' do
|
|
53
53
|
# @option opts [DateTime] :pulp_last_updated__lt Filter results where pulp_last_updated is less than value
|
54
54
|
# @option opts [DateTime] :pulp_last_updated__lte Filter results where pulp_last_updated is less than or equal to value
|
55
55
|
# @option opts [Array<DateTime>] :pulp_last_updated__range Filter results where pulp_last_updated is between two comma separated values
|
56
|
-
# @option opts [Array<String>] :pulp_type__in Pulp type is in
|
56
|
+
# @option opts [Array<String>] :pulp_type__in Pulp type is in * `file.file` - file.file
|
57
57
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
58
58
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
59
59
|
# @return [PaginatedRemoteResponseList]
|
@@ -48,7 +48,7 @@ describe 'RepositoriesApi' do
|
|
48
48
|
# @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
|
49
49
|
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
50
50
|
# @option opts [String] :pulp_label_select Filter labels by search string
|
51
|
-
# @option opts [Array<String>] :pulp_type__in Pulp type is in
|
51
|
+
# @option opts [Array<String>] :pulp_type__in Pulp type is in * `file.file` - file.file
|
52
52
|
# @option opts [String] :remote Foreign Key referenced by HREF
|
53
53
|
# @option opts [Integer] :retain_repo_versions Filter results where retain_repo_versions matches value
|
54
54
|
# @option opts [Integer] :retain_repo_versions__gt Filter results where retain_repo_versions is greater than value
|
data/spec/api/tasks_api_spec.rb
CHANGED
@@ -77,7 +77,7 @@ describe 'TasksApi' do
|
|
77
77
|
# @option opts [String] :name__contains Filter results where name contains value
|
78
78
|
# @option opts [Array<String>] :name__in Filter results where name is in a comma-separated list of values
|
79
79
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
80
|
-
# @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) * `state` - State * `-state` - State (descending) * `name` - Name * `-name` - Name (descending) * `logging_cid` - Logging cid * `-logging_cid` - Logging cid (descending) * `started_at` - Started at * `-started_at` - Started at (descending) * `finished_at` - Finished at * `-finished_at` - Finished at (descending) * `error` - Error * `-error` - Error (descending) * `args` - Args * `-args` - Args (descending) * `kwargs` - Kwargs * `-kwargs` - Kwargs (descending) * `reserved_resources_record` - Reserved resources record * `-reserved_resources_record` - Reserved resources record (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
80
|
+
# @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) * `state` - State * `-state` - State (descending) * `name` - Name * `-name` - Name (descending) * `logging_cid` - Logging cid * `-logging_cid` - Logging cid (descending) * `started_at` - Started at * `-started_at` - Started at (descending) * `finished_at` - Finished at * `-finished_at` - Finished at (descending) * `error` - Error * `-error` - Error (descending) * `args` - Args * `-args` - Args (descending) * `kwargs` - Kwargs * `-kwargs` - Kwargs (descending) * `reserved_resources_record` - Reserved resources record * `-reserved_resources_record` - Reserved resources record (descending) * `versions` - Versions * `-versions` - Versions (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
81
81
|
# @option opts [String] :parent_task Filter results where parent_task matches value
|
82
82
|
# @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
|
83
83
|
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
@@ -103,7 +103,7 @@ describe 'UpstreamPulpsApi' do
|
|
103
103
|
# Trigger an asynchronous repository replication task group. This API is provided as a tech preview.
|
104
104
|
# @param upstream_pulp_href
|
105
105
|
# @param [Hash] opts the optional parameters
|
106
|
-
# @return [
|
106
|
+
# @return [AsyncOperationResponse]
|
107
107
|
describe 'replicate test' do
|
108
108
|
it 'should work' do
|
109
109
|
# 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 PulpcoreClient::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("
|
21
|
+
# uri = URI.parse("https://pulp")
|
22
22
|
# PulpcoreClient.configure do |c|
|
23
23
|
# c.host = uri.host
|
24
24
|
# c.base_path = uri.path
|
@@ -28,14 +28,14 @@ describe PulpcoreClient::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("
|
31
|
+
# expect(config.base_url).to eq("https://pulp")
|
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("
|
38
|
+
# expect(config.base_url).to eq("https://pulp")
|
39
39
|
end
|
40
40
|
end
|
41
41
|
end
|
@@ -38,13 +38,13 @@ describe 'ArtifactDistributionResponse' do
|
|
38
38
|
end
|
39
39
|
end
|
40
40
|
|
41
|
-
describe 'test attribute "
|
41
|
+
describe 'test attribute "pulp_labels"' 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 "
|
47
|
+
describe 'test attribute "name"' 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
|
@@ -56,25 +56,25 @@ describe 'ArtifactDistributionResponse' do
|
|
56
56
|
end
|
57
57
|
end
|
58
58
|
|
59
|
-
describe 'test attribute "
|
59
|
+
describe 'test attribute "pulp_created"' 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 "
|
65
|
+
describe 'test attribute "hidden"' 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 "
|
71
|
+
describe 'test attribute "base_url"' 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 "
|
77
|
+
describe 'test attribute "content_guard"' 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
|