pulpcore_client 3.72.0 → 3.73.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 +8 -5
- data/docs/ArtifactDistributionResponse.md +14 -14
- data/docs/ContentApi.md +2 -0
- data/docs/ContentOpenpgpPublickeyApi.md +152 -2
- data/docs/ContentOpenpgpPublicsubkeyApi.md +4 -2
- data/docs/ContentOpenpgpSignatureApi.md +4 -2
- data/docs/ContentOpenpgpUserattributeApi.md +4 -2
- data/docs/ContentOpenpgpUseridApi.md +4 -2
- data/docs/FilesystemExportResponse.md +1 -1
- data/docs/GenericRemoteResponse.md +2 -2
- data/docs/GenericRemoteResponsePolicyEnum.md +15 -0
- data/docs/GroupRoleResponse.md +1 -1
- data/docs/MultipleArtifactContentResponse.md +2 -0
- data/docs/NestedOpenPGPPublicSubkeyResponse.md +1 -1
- data/docs/NestedOpenPGPUserAttributeResponse.md +1 -1
- data/docs/NestedOpenPGPUserIDResponse.md +1 -1
- data/docs/OpenPGPPublicKeyResponse.md +5 -3
- data/docs/OpenPGPPublicSubkeyResponse.md +3 -1
- data/docs/OpenPGPSignatureResponse.md +2 -0
- data/docs/OpenPGPUserAttributeResponse.md +3 -1
- data/docs/OpenPGPUserIDResponse.md +3 -1
- data/docs/PatchedUpstreamPulp.md +3 -1
- data/docs/{PolicyEnum.md → Policy357Enum.md} +2 -2
- data/docs/PulpExportResponse.md +1 -1
- data/docs/Purge.md +1 -1
- data/docs/RBACContentGuardResponse.md +2 -2
- data/docs/TaskGroupResponse.md +2 -2
- data/docs/TaskResponse.md +4 -4
- data/docs/UploadDetailResponse.md +1 -1
- data/docs/UpstreamPulp.md +3 -1
- data/docs/UpstreamPulpResponse.md +4 -2
- data/docs/UpstreamPulpsApi.md +2 -2
- data/docs/UserResponse.md +2 -2
- data/docs/UserRoleResponse.md +1 -1
- data/lib/pulpcore_client/api/content_api.rb +3 -0
- data/lib/pulpcore_client/api/content_openpgp_publickey_api.rb +157 -3
- data/lib/pulpcore_client/api/content_openpgp_publicsubkey_api.rb +6 -3
- data/lib/pulpcore_client/api/content_openpgp_signature_api.rb +6 -3
- data/lib/pulpcore_client/api/content_openpgp_userattribute_api.rb +6 -3
- data/lib/pulpcore_client/api/content_openpgp_userid_api.rb +6 -3
- data/lib/pulpcore_client/api/upstream_pulps_api.rb +3 -3
- data/lib/pulpcore_client/models/artifact_distribution_response.rb +70 -70
- data/lib/pulpcore_client/models/generic_remote_response.rb +16 -1
- data/lib/pulpcore_client/models/{policy_enum.rb → generic_remote_response_policy_enum.rb} +3 -3
- data/lib/pulpcore_client/models/multiple_artifact_content_response.rb +13 -1
- data/lib/pulpcore_client/models/nested_open_pgp_signature.rb +9 -0
- data/lib/pulpcore_client/models/nested_open_pgp_signature_response.rb +15 -0
- data/lib/pulpcore_client/models/open_pgp_keyring.rb +15 -0
- data/lib/pulpcore_client/models/open_pgp_keyring_response.rb +15 -0
- data/lib/pulpcore_client/models/open_pgp_public_key_response.rb +13 -1
- data/lib/pulpcore_client/models/open_pgp_public_subkey_response.rb +13 -1
- data/lib/pulpcore_client/models/open_pgp_signature_response.rb +28 -1
- data/lib/pulpcore_client/models/open_pgp_user_attribute_response.rb +13 -1
- data/lib/pulpcore_client/models/open_pgp_user_id_response.rb +13 -1
- data/lib/pulpcore_client/models/paginated_access_policy_response_list.rb +2 -0
- data/lib/pulpcore_client/models/paginated_artifact_distribution_response_list.rb +2 -0
- data/lib/pulpcore_client/models/paginated_artifact_response_list.rb +2 -0
- data/lib/pulpcore_client/models/paginated_composite_content_guard_response_list.rb +2 -0
- data/lib/pulpcore_client/models/paginated_content_guard_response_list.rb +2 -0
- data/lib/pulpcore_client/models/paginated_content_redirect_content_guard_response_list.rb +2 -0
- data/lib/pulpcore_client/models/paginated_distribution_response_list.rb +2 -0
- data/lib/pulpcore_client/models/paginated_domain_response_list.rb +2 -0
- data/lib/pulpcore_client/models/paginated_filesystem_export_response_list.rb +2 -0
- data/lib/pulpcore_client/models/paginated_filesystem_exporter_response_list.rb +2 -0
- data/lib/pulpcore_client/models/paginated_generic_remote_response_list.rb +2 -0
- data/lib/pulpcore_client/models/paginated_group_response_list.rb +2 -0
- data/lib/pulpcore_client/models/paginated_group_role_response_list.rb +2 -0
- data/lib/pulpcore_client/models/paginated_group_user_response_list.rb +2 -0
- data/lib/pulpcore_client/models/paginated_header_content_guard_response_list.rb +2 -0
- data/lib/pulpcore_client/models/paginated_import_response_list.rb +2 -0
- data/lib/pulpcore_client/models/paginated_multiple_artifact_content_response_list.rb +2 -0
- data/lib/pulpcore_client/models/paginated_open_pgp_distribution_response_list.rb +2 -0
- data/lib/pulpcore_client/models/paginated_open_pgp_keyring_response_list.rb +2 -0
- data/lib/pulpcore_client/models/paginated_open_pgp_public_key_response_list.rb +2 -0
- data/lib/pulpcore_client/models/paginated_open_pgp_public_subkey_response_list.rb +2 -0
- data/lib/pulpcore_client/models/paginated_open_pgp_signature_response_list.rb +2 -0
- data/lib/pulpcore_client/models/paginated_open_pgp_user_attribute_response_list.rb +2 -0
- data/lib/pulpcore_client/models/paginated_open_pgp_user_id_response_list.rb +2 -0
- data/lib/pulpcore_client/models/paginated_publication_response_list.rb +2 -0
- data/lib/pulpcore_client/models/paginated_pulp_export_response_list.rb +2 -0
- data/lib/pulpcore_client/models/paginated_pulp_exporter_response_list.rb +2 -0
- data/lib/pulpcore_client/models/paginated_pulp_importer_response_list.rb +2 -0
- data/lib/pulpcore_client/models/paginated_rbac_content_guard_response_list.rb +2 -0
- data/lib/pulpcore_client/models/paginated_repository_response_list.rb +2 -0
- data/lib/pulpcore_client/models/paginated_repository_version_response_list.rb +2 -0
- data/lib/pulpcore_client/models/paginated_role_response_list.rb +2 -0
- data/lib/pulpcore_client/models/paginated_signing_service_response_list.rb +2 -0
- data/lib/pulpcore_client/models/paginated_task_group_response_list.rb +2 -0
- data/lib/pulpcore_client/models/paginated_task_response_list.rb +2 -0
- data/lib/pulpcore_client/models/paginated_task_schedule_response_list.rb +2 -0
- data/lib/pulpcore_client/models/paginated_upload_response_list.rb +2 -0
- data/lib/pulpcore_client/models/paginated_upstream_pulp_response_list.rb +2 -0
- data/lib/pulpcore_client/models/paginated_user_response_list.rb +2 -0
- data/lib/pulpcore_client/models/paginated_user_role_response_list.rb +2 -0
- data/lib/pulpcore_client/models/paginated_worker_response_list.rb +2 -0
- data/lib/pulpcore_client/models/patched_open_pgp_keyring.rb +15 -0
- data/lib/pulpcore_client/models/patched_upstream_pulp.rb +37 -5
- data/lib/pulpcore_client/models/policy357_enum.rb +41 -0
- data/lib/pulpcore_client/models/purge.rb +0 -2
- data/lib/pulpcore_client/models/repository_response.rb +15 -0
- data/lib/pulpcore_client/models/storage_response.rb +45 -0
- data/lib/pulpcore_client/models/upstream_pulp.rb +37 -5
- data/lib/pulpcore_client/models/upstream_pulp_response.rb +36 -4
- data/lib/pulpcore_client/version.rb +1 -1
- data/lib/pulpcore_client.rb +2 -1
- data/spec/api/content_api_spec.rb +1 -0
- data/spec/api/content_openpgp_publickey_api_spec.rb +29 -1
- data/spec/api/content_openpgp_publicsubkey_api_spec.rb +2 -1
- data/spec/api/content_openpgp_signature_api_spec.rb +2 -1
- data/spec/api/content_openpgp_userattribute_api_spec.rb +2 -1
- data/spec/api/content_openpgp_userid_api_spec.rb +2 -1
- data/spec/api/upstream_pulps_api_spec.rb +1 -1
- data/spec/models/artifact_distribution_response_spec.rb +10 -10
- data/spec/models/generic_remote_response_policy_enum_spec.rb +30 -0
- data/spec/models/multiple_artifact_content_response_spec.rb +6 -0
- data/spec/models/open_pgp_public_key_response_spec.rb +6 -0
- data/spec/models/open_pgp_public_subkey_response_spec.rb +6 -0
- data/spec/models/open_pgp_signature_response_spec.rb +6 -0
- data/spec/models/open_pgp_user_attribute_response_spec.rb +6 -0
- data/spec/models/open_pgp_user_id_response_spec.rb +6 -0
- data/spec/models/patched_upstream_pulp_spec.rb +6 -0
- data/spec/models/{policy_enum_spec.rb → policy357_enum_spec.rb} +6 -6
- data/spec/models/upstream_pulp_response_spec.rb +6 -0
- data/spec/models/upstream_pulp_spec.rb +6 -0
- metadata +194 -190
@@ -25,11 +25,12 @@ module PulpcoreClient
|
|
25
25
|
# @option opts [String] :issuer Filter results where issuer matches value
|
26
26
|
# @option opts [Integer] :limit Number of results to return per page.
|
27
27
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
28
|
-
# @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) * `upstream_id` - Upstream id * `-upstream_id` - Upstream id (descending) * `timestamp_of_interest` - Timestamp of interest * `-timestamp_of_interest` - Timestamp of interest (descending) * `raw_data` - Raw data * `-raw_data` - Raw data (descending) * `sha256` - Sha256 * `-sha256` - Sha256 (descending) * `signature_type` - Signature type * `-signature_type` - Signature type (descending) * `created` - Created * `-created` - Created (descending) * `expiration_time` - Expiration time * `-expiration_time` - Expiration time (descending) * `key_expiration_time` - Key expiration time * `-key_expiration_time` - Key expiration time (descending) * `issuer` - Issuer * `-issuer` - Issuer (descending) * `signers_user_id` - Signers user id * `-signers_user_id` - Signers user id (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
28
|
+
# @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) * `upstream_id` - Upstream id * `-upstream_id` - Upstream id (descending) * `pulp_labels` - Pulp labels * `-pulp_labels` - Pulp labels (descending) * `timestamp_of_interest` - Timestamp of interest * `-timestamp_of_interest` - Timestamp of interest (descending) * `raw_data` - Raw data * `-raw_data` - Raw data (descending) * `sha256` - Sha256 * `-sha256` - Sha256 (descending) * `signature_type` - Signature type * `-signature_type` - Signature type (descending) * `created` - Created * `-created` - Created (descending) * `expiration_time` - Expiration time * `-expiration_time` - Expiration time (descending) * `key_expiration_time` - Key expiration time * `-key_expiration_time` - Key expiration time (descending) * `issuer` - Issuer * `-issuer` - Issuer (descending) * `signers_user_id` - Signers user id * `-signers_user_id` - Signers user id (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
29
29
|
# @option opts [Float] :orphaned_for Minutes Content has been orphaned for. -1 uses ORPHAN_PROTECTION_TIME.
|
30
30
|
# @option opts [Array<String>] :prn__in Multiple values may be separated by commas.
|
31
31
|
# @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
|
32
32
|
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
33
|
+
# @option opts [String] :pulp_label_select Filter labels by search string
|
33
34
|
# @option opts [String] :q Filter results by using NOT, AND and OR operations on other filters
|
34
35
|
# @option opts [String] :repository_version Repository Version referenced by HREF/PRN
|
35
36
|
# @option opts [String] :repository_version_added Repository Version referenced by HREF/PRN
|
@@ -48,11 +49,12 @@ module PulpcoreClient
|
|
48
49
|
# @option opts [String] :issuer Filter results where issuer matches value
|
49
50
|
# @option opts [Integer] :limit Number of results to return per page.
|
50
51
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
51
|
-
# @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) * `upstream_id` - Upstream id * `-upstream_id` - Upstream id (descending) * `timestamp_of_interest` - Timestamp of interest * `-timestamp_of_interest` - Timestamp of interest (descending) * `raw_data` - Raw data * `-raw_data` - Raw data (descending) * `sha256` - Sha256 * `-sha256` - Sha256 (descending) * `signature_type` - Signature type * `-signature_type` - Signature type (descending) * `created` - Created * `-created` - Created (descending) * `expiration_time` - Expiration time * `-expiration_time` - Expiration time (descending) * `key_expiration_time` - Key expiration time * `-key_expiration_time` - Key expiration time (descending) * `issuer` - Issuer * `-issuer` - Issuer (descending) * `signers_user_id` - Signers user id * `-signers_user_id` - Signers user id (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
52
|
+
# @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) * `upstream_id` - Upstream id * `-upstream_id` - Upstream id (descending) * `pulp_labels` - Pulp labels * `-pulp_labels` - Pulp labels (descending) * `timestamp_of_interest` - Timestamp of interest * `-timestamp_of_interest` - Timestamp of interest (descending) * `raw_data` - Raw data * `-raw_data` - Raw data (descending) * `sha256` - Sha256 * `-sha256` - Sha256 (descending) * `signature_type` - Signature type * `-signature_type` - Signature type (descending) * `created` - Created * `-created` - Created (descending) * `expiration_time` - Expiration time * `-expiration_time` - Expiration time (descending) * `key_expiration_time` - Key expiration time * `-key_expiration_time` - Key expiration time (descending) * `issuer` - Issuer * `-issuer` - Issuer (descending) * `signers_user_id` - Signers user id * `-signers_user_id` - Signers user id (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
52
53
|
# @option opts [Float] :orphaned_for Minutes Content has been orphaned for. -1 uses ORPHAN_PROTECTION_TIME.
|
53
54
|
# @option opts [Array<String>] :prn__in Multiple values may be separated by commas.
|
54
55
|
# @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
|
55
56
|
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
57
|
+
# @option opts [String] :pulp_label_select Filter labels by search string
|
56
58
|
# @option opts [String] :q Filter results by using NOT, AND and OR operations on other filters
|
57
59
|
# @option opts [String] :repository_version Repository Version referenced by HREF/PRN
|
58
60
|
# @option opts [String] :repository_version_added Repository Version referenced by HREF/PRN
|
@@ -64,7 +66,7 @@ module PulpcoreClient
|
|
64
66
|
if @api_client.config.debugging
|
65
67
|
@api_client.config.logger.debug 'Calling API: ContentOpenpgpSignatureApi.list ...'
|
66
68
|
end
|
67
|
-
allowable_values = ["-created", "-expiration_time", "-issuer", "-key_expiration_time", "-pk", "-pulp_created", "-pulp_id", "-pulp_last_updated", "-pulp_type", "-raw_data", "-sha256", "-signature_type", "-signers_user_id", "-timestamp_of_interest", "-upstream_id", "created", "expiration_time", "issuer", "key_expiration_time", "pk", "pulp_created", "pulp_id", "pulp_last_updated", "pulp_type", "raw_data", "sha256", "signature_type", "signers_user_id", "timestamp_of_interest", "upstream_id"]
|
69
|
+
allowable_values = ["-created", "-expiration_time", "-issuer", "-key_expiration_time", "-pk", "-pulp_created", "-pulp_id", "-pulp_labels", "-pulp_last_updated", "-pulp_type", "-raw_data", "-sha256", "-signature_type", "-signers_user_id", "-timestamp_of_interest", "-upstream_id", "created", "expiration_time", "issuer", "key_expiration_time", "pk", "pulp_created", "pulp_id", "pulp_labels", "pulp_last_updated", "pulp_type", "raw_data", "sha256", "signature_type", "signers_user_id", "timestamp_of_interest", "upstream_id"]
|
68
70
|
if @api_client.config.client_side_validation && opts[:'ordering'] && !opts[:'ordering'].all? { |item| allowable_values.include?(item) }
|
69
71
|
fail ArgumentError, "invalid value for \"ordering\", must include one of #{allowable_values}"
|
70
72
|
end
|
@@ -81,6 +83,7 @@ module PulpcoreClient
|
|
81
83
|
query_params[:'prn__in'] = @api_client.build_collection_param(opts[:'prn__in'], :csv) if !opts[:'prn__in'].nil?
|
82
84
|
query_params[:'pulp_href__in'] = @api_client.build_collection_param(opts[:'pulp_href__in'], :csv) if !opts[:'pulp_href__in'].nil?
|
83
85
|
query_params[:'pulp_id__in'] = @api_client.build_collection_param(opts[:'pulp_id__in'], :csv) if !opts[:'pulp_id__in'].nil?
|
86
|
+
query_params[:'pulp_label_select'] = opts[:'pulp_label_select'] if !opts[:'pulp_label_select'].nil?
|
84
87
|
query_params[:'q'] = opts[:'q'] if !opts[:'q'].nil?
|
85
88
|
query_params[:'repository_version'] = opts[:'repository_version'] if !opts[:'repository_version'].nil?
|
86
89
|
query_params[:'repository_version_added'] = opts[:'repository_version_added'] if !opts[:'repository_version_added'].nil?
|
@@ -24,11 +24,12 @@ module PulpcoreClient
|
|
24
24
|
# @param [Hash] opts the optional parameters
|
25
25
|
# @option opts [Integer] :limit Number of results to return per page.
|
26
26
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
27
|
-
# @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) * `upstream_id` - Upstream id * `-upstream_id` - Upstream id (descending) * `timestamp_of_interest` - Timestamp of interest * `-timestamp_of_interest` - Timestamp of interest (descending) * `raw_data` - Raw data * `-raw_data` - Raw data (descending) * `sha256` - Sha256 * `-sha256` - Sha256 (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
27
|
+
# @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) * `upstream_id` - Upstream id * `-upstream_id` - Upstream id (descending) * `pulp_labels` - Pulp labels * `-pulp_labels` - Pulp labels (descending) * `timestamp_of_interest` - Timestamp of interest * `-timestamp_of_interest` - Timestamp of interest (descending) * `raw_data` - Raw data * `-raw_data` - Raw data (descending) * `sha256` - Sha256 * `-sha256` - Sha256 (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
28
28
|
# @option opts [Float] :orphaned_for Minutes Content has been orphaned for. -1 uses ORPHAN_PROTECTION_TIME.
|
29
29
|
# @option opts [Array<String>] :prn__in Multiple values may be separated by commas.
|
30
30
|
# @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
|
31
31
|
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
32
|
+
# @option opts [String] :pulp_label_select Filter labels by search string
|
32
33
|
# @option opts [String] :q Filter results by using NOT, AND and OR operations on other filters
|
33
34
|
# @option opts [String] :repository_version Repository Version referenced by HREF/PRN
|
34
35
|
# @option opts [String] :repository_version_added Repository Version referenced by HREF/PRN
|
@@ -47,11 +48,12 @@ module PulpcoreClient
|
|
47
48
|
# @param [Hash] opts the optional parameters
|
48
49
|
# @option opts [Integer] :limit Number of results to return per page.
|
49
50
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
50
|
-
# @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) * `upstream_id` - Upstream id * `-upstream_id` - Upstream id (descending) * `timestamp_of_interest` - Timestamp of interest * `-timestamp_of_interest` - Timestamp of interest (descending) * `raw_data` - Raw data * `-raw_data` - Raw data (descending) * `sha256` - Sha256 * `-sha256` - Sha256 (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
51
|
+
# @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) * `upstream_id` - Upstream id * `-upstream_id` - Upstream id (descending) * `pulp_labels` - Pulp labels * `-pulp_labels` - Pulp labels (descending) * `timestamp_of_interest` - Timestamp of interest * `-timestamp_of_interest` - Timestamp of interest (descending) * `raw_data` - Raw data * `-raw_data` - Raw data (descending) * `sha256` - Sha256 * `-sha256` - Sha256 (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
51
52
|
# @option opts [Float] :orphaned_for Minutes Content has been orphaned for. -1 uses ORPHAN_PROTECTION_TIME.
|
52
53
|
# @option opts [Array<String>] :prn__in Multiple values may be separated by commas.
|
53
54
|
# @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
|
54
55
|
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
56
|
+
# @option opts [String] :pulp_label_select Filter labels by search string
|
55
57
|
# @option opts [String] :q Filter results by using NOT, AND and OR operations on other filters
|
56
58
|
# @option opts [String] :repository_version Repository Version referenced by HREF/PRN
|
57
59
|
# @option opts [String] :repository_version_added Repository Version referenced by HREF/PRN
|
@@ -64,7 +66,7 @@ module PulpcoreClient
|
|
64
66
|
if @api_client.config.debugging
|
65
67
|
@api_client.config.logger.debug 'Calling API: ContentOpenpgpUserattributeApi.list ...'
|
66
68
|
end
|
67
|
-
allowable_values = ["-pk", "-pulp_created", "-pulp_id", "-pulp_last_updated", "-pulp_type", "-raw_data", "-sha256", "-timestamp_of_interest", "-upstream_id", "pk", "pulp_created", "pulp_id", "pulp_last_updated", "pulp_type", "raw_data", "sha256", "timestamp_of_interest", "upstream_id"]
|
69
|
+
allowable_values = ["-pk", "-pulp_created", "-pulp_id", "-pulp_labels", "-pulp_last_updated", "-pulp_type", "-raw_data", "-sha256", "-timestamp_of_interest", "-upstream_id", "pk", "pulp_created", "pulp_id", "pulp_labels", "pulp_last_updated", "pulp_type", "raw_data", "sha256", "timestamp_of_interest", "upstream_id"]
|
68
70
|
if @api_client.config.client_side_validation && opts[:'ordering'] && !opts[:'ordering'].all? { |item| allowable_values.include?(item) }
|
69
71
|
fail ArgumentError, "invalid value for \"ordering\", must include one of #{allowable_values}"
|
70
72
|
end
|
@@ -80,6 +82,7 @@ module PulpcoreClient
|
|
80
82
|
query_params[:'prn__in'] = @api_client.build_collection_param(opts[:'prn__in'], :csv) if !opts[:'prn__in'].nil?
|
81
83
|
query_params[:'pulp_href__in'] = @api_client.build_collection_param(opts[:'pulp_href__in'], :csv) if !opts[:'pulp_href__in'].nil?
|
82
84
|
query_params[:'pulp_id__in'] = @api_client.build_collection_param(opts[:'pulp_id__in'], :csv) if !opts[:'pulp_id__in'].nil?
|
85
|
+
query_params[:'pulp_label_select'] = opts[:'pulp_label_select'] if !opts[:'pulp_label_select'].nil?
|
83
86
|
query_params[:'q'] = opts[:'q'] if !opts[:'q'].nil?
|
84
87
|
query_params[:'repository_version'] = opts[:'repository_version'] if !opts[:'repository_version'].nil?
|
85
88
|
query_params[:'repository_version_added'] = opts[:'repository_version_added'] if !opts[:'repository_version_added'].nil?
|
@@ -24,11 +24,12 @@ module PulpcoreClient
|
|
24
24
|
# @param [Hash] opts the optional parameters
|
25
25
|
# @option opts [Integer] :limit Number of results to return per page.
|
26
26
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
27
|
-
# @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) * `upstream_id` - Upstream id * `-upstream_id` - Upstream id (descending) * `timestamp_of_interest` - Timestamp of interest * `-timestamp_of_interest` - Timestamp of interest (descending) * `raw_data` - Raw data * `-raw_data` - Raw data (descending) * `user_id` - User id * `-user_id` - User id (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
27
|
+
# @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) * `upstream_id` - Upstream id * `-upstream_id` - Upstream id (descending) * `pulp_labels` - Pulp labels * `-pulp_labels` - Pulp labels (descending) * `timestamp_of_interest` - Timestamp of interest * `-timestamp_of_interest` - Timestamp of interest (descending) * `raw_data` - Raw data * `-raw_data` - Raw data (descending) * `user_id` - User id * `-user_id` - User id (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
28
28
|
# @option opts [Float] :orphaned_for Minutes Content has been orphaned for. -1 uses ORPHAN_PROTECTION_TIME.
|
29
29
|
# @option opts [Array<String>] :prn__in Multiple values may be separated by commas.
|
30
30
|
# @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
|
31
31
|
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
32
|
+
# @option opts [String] :pulp_label_select Filter labels by search string
|
32
33
|
# @option opts [String] :q Filter results by using NOT, AND and OR operations on other filters
|
33
34
|
# @option opts [String] :repository_version Repository Version referenced by HREF/PRN
|
34
35
|
# @option opts [String] :repository_version_added Repository Version referenced by HREF/PRN
|
@@ -55,11 +56,12 @@ module PulpcoreClient
|
|
55
56
|
# @param [Hash] opts the optional parameters
|
56
57
|
# @option opts [Integer] :limit Number of results to return per page.
|
57
58
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
58
|
-
# @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) * `upstream_id` - Upstream id * `-upstream_id` - Upstream id (descending) * `timestamp_of_interest` - Timestamp of interest * `-timestamp_of_interest` - Timestamp of interest (descending) * `raw_data` - Raw data * `-raw_data` - Raw data (descending) * `user_id` - User id * `-user_id` - User id (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
59
|
+
# @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) * `upstream_id` - Upstream id * `-upstream_id` - Upstream id (descending) * `pulp_labels` - Pulp labels * `-pulp_labels` - Pulp labels (descending) * `timestamp_of_interest` - Timestamp of interest * `-timestamp_of_interest` - Timestamp of interest (descending) * `raw_data` - Raw data * `-raw_data` - Raw data (descending) * `user_id` - User id * `-user_id` - User id (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
59
60
|
# @option opts [Float] :orphaned_for Minutes Content has been orphaned for. -1 uses ORPHAN_PROTECTION_TIME.
|
60
61
|
# @option opts [Array<String>] :prn__in Multiple values may be separated by commas.
|
61
62
|
# @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
|
62
63
|
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
64
|
+
# @option opts [String] :pulp_label_select Filter labels by search string
|
63
65
|
# @option opts [String] :q Filter results by using NOT, AND and OR operations on other filters
|
64
66
|
# @option opts [String] :repository_version Repository Version referenced by HREF/PRN
|
65
67
|
# @option opts [String] :repository_version_added Repository Version referenced by HREF/PRN
|
@@ -80,7 +82,7 @@ module PulpcoreClient
|
|
80
82
|
if @api_client.config.debugging
|
81
83
|
@api_client.config.logger.debug 'Calling API: ContentOpenpgpUseridApi.list ...'
|
82
84
|
end
|
83
|
-
allowable_values = ["-pk", "-pulp_created", "-pulp_id", "-pulp_last_updated", "-pulp_type", "-raw_data", "-timestamp_of_interest", "-upstream_id", "-user_id", "pk", "pulp_created", "pulp_id", "pulp_last_updated", "pulp_type", "raw_data", "timestamp_of_interest", "upstream_id", "user_id"]
|
85
|
+
allowable_values = ["-pk", "-pulp_created", "-pulp_id", "-pulp_labels", "-pulp_last_updated", "-pulp_type", "-raw_data", "-timestamp_of_interest", "-upstream_id", "-user_id", "pk", "pulp_created", "pulp_id", "pulp_labels", "pulp_last_updated", "pulp_type", "raw_data", "timestamp_of_interest", "upstream_id", "user_id"]
|
84
86
|
if @api_client.config.client_side_validation && opts[:'ordering'] && !opts[:'ordering'].all? { |item| allowable_values.include?(item) }
|
85
87
|
fail ArgumentError, "invalid value for \"ordering\", must include one of #{allowable_values}"
|
86
88
|
end
|
@@ -96,6 +98,7 @@ module PulpcoreClient
|
|
96
98
|
query_params[:'prn__in'] = @api_client.build_collection_param(opts[:'prn__in'], :csv) if !opts[:'prn__in'].nil?
|
97
99
|
query_params[:'pulp_href__in'] = @api_client.build_collection_param(opts[:'pulp_href__in'], :csv) if !opts[:'pulp_href__in'].nil?
|
98
100
|
query_params[:'pulp_id__in'] = @api_client.build_collection_param(opts[:'pulp_id__in'], :csv) if !opts[:'pulp_id__in'].nil?
|
101
|
+
query_params[:'pulp_label_select'] = opts[:'pulp_label_select'] if !opts[:'pulp_label_select'].nil?
|
99
102
|
query_params[:'q'] = opts[:'q'] if !opts[:'q'].nil?
|
100
103
|
query_params[:'repository_version'] = opts[:'repository_version'] if !opts[:'repository_version'].nil?
|
101
104
|
query_params[:'repository_version_added'] = opts[:'repository_version_added'] if !opts[:'repository_version_added'].nil?
|
@@ -252,7 +252,7 @@ module PulpcoreClient
|
|
252
252
|
# @option opts [String] :name__regex Filter results where name matches regex value
|
253
253
|
# @option opts [String] :name__startswith Filter results where name starts with value
|
254
254
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
255
|
-
# @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) * `name` - Name * `-name` - Name (descending) * `base_url` - Base url * `-base_url` - Base url (descending) * `api_root` - Api root * `-api_root` - Api root (descending) * `domain` - Domain * `-domain` - Domain (descending) * `ca_cert` - Ca cert * `-ca_cert` - Ca cert (descending) * `client_cert` - Client cert * `-client_cert` - Client cert (descending) * `client_key` - Client key * `-client_key` - Client key (descending) * `tls_validation` - Tls validation * `-tls_validation` - Tls validation (descending) * `username` - Username * `-username` - Username (descending) * `password` - Password * `-password` - Password (descending) * `q_select` - Q select * `-q_select` - Q select (descending) * `last_replication` - Last replication * `-last_replication` - Last replication (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
255
|
+
# @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) * `name` - Name * `-name` - Name (descending) * `base_url` - Base url * `-base_url` - Base url (descending) * `api_root` - Api root * `-api_root` - Api root (descending) * `domain` - Domain * `-domain` - Domain (descending) * `ca_cert` - Ca cert * `-ca_cert` - Ca cert (descending) * `client_cert` - Client cert * `-client_cert` - Client cert (descending) * `client_key` - Client key * `-client_key` - Client key (descending) * `tls_validation` - Tls validation * `-tls_validation` - Tls validation (descending) * `username` - Username * `-username` - Username (descending) * `password` - Password * `-password` - Password (descending) * `q_select` - Q select * `-q_select` - Q select (descending) * `policy` - Policy * `-policy` - Policy (descending) * `last_replication` - Last replication * `-last_replication` - Last replication (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
256
256
|
# @option opts [Array<String>] :prn__in Multiple values may be separated by commas.
|
257
257
|
# @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
|
258
258
|
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
@@ -295,7 +295,7 @@ module PulpcoreClient
|
|
295
295
|
# @option opts [String] :name__regex Filter results where name matches regex value
|
296
296
|
# @option opts [String] :name__startswith Filter results where name starts with value
|
297
297
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
298
|
-
# @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) * `name` - Name * `-name` - Name (descending) * `base_url` - Base url * `-base_url` - Base url (descending) * `api_root` - Api root * `-api_root` - Api root (descending) * `domain` - Domain * `-domain` - Domain (descending) * `ca_cert` - Ca cert * `-ca_cert` - Ca cert (descending) * `client_cert` - Client cert * `-client_cert` - Client cert (descending) * `client_key` - Client key * `-client_key` - Client key (descending) * `tls_validation` - Tls validation * `-tls_validation` - Tls validation (descending) * `username` - Username * `-username` - Username (descending) * `password` - Password * `-password` - Password (descending) * `q_select` - Q select * `-q_select` - Q select (descending) * `last_replication` - Last replication * `-last_replication` - Last replication (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
298
|
+
# @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) * `name` - Name * `-name` - Name (descending) * `base_url` - Base url * `-base_url` - Base url (descending) * `api_root` - Api root * `-api_root` - Api root (descending) * `domain` - Domain * `-domain` - Domain (descending) * `ca_cert` - Ca cert * `-ca_cert` - Ca cert (descending) * `client_cert` - Client cert * `-client_cert` - Client cert (descending) * `client_key` - Client key * `-client_key` - Client key (descending) * `tls_validation` - Tls validation * `-tls_validation` - Tls validation (descending) * `username` - Username * `-username` - Username (descending) * `password` - Password * `-password` - Password (descending) * `q_select` - Q select * `-q_select` - Q select (descending) * `policy` - Policy * `-policy` - Policy (descending) * `last_replication` - Last replication * `-last_replication` - Last replication (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
299
299
|
# @option opts [Array<String>] :prn__in Multiple values may be separated by commas.
|
300
300
|
# @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
|
301
301
|
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
@@ -307,7 +307,7 @@ module PulpcoreClient
|
|
307
307
|
if @api_client.config.debugging
|
308
308
|
@api_client.config.logger.debug 'Calling API: UpstreamPulpsApi.list ...'
|
309
309
|
end
|
310
|
-
allowable_values = ["-api_root", "-base_url", "-ca_cert", "-client_cert", "-client_key", "-domain", "-last_replication", "-name", "-password", "-pk", "-pulp_created", "-pulp_id", "-pulp_last_updated", "-q_select", "-tls_validation", "-username", "api_root", "base_url", "ca_cert", "client_cert", "client_key", "domain", "last_replication", "name", "password", "pk", "pulp_created", "pulp_id", "pulp_last_updated", "q_select", "tls_validation", "username"]
|
310
|
+
allowable_values = ["-api_root", "-base_url", "-ca_cert", "-client_cert", "-client_key", "-domain", "-last_replication", "-name", "-password", "-pk", "-policy", "-pulp_created", "-pulp_id", "-pulp_last_updated", "-q_select", "-tls_validation", "-username", "api_root", "base_url", "ca_cert", "client_cert", "client_key", "domain", "last_replication", "name", "password", "pk", "policy", "pulp_created", "pulp_id", "pulp_last_updated", "q_select", "tls_validation", "username"]
|
311
311
|
if @api_client.config.client_side_validation && opts[:'ordering'] && !opts[:'ordering'].all? { |item| allowable_values.include?(item) }
|
312
312
|
fail ArgumentError, "invalid value for \"ordering\", must include one of #{allowable_values}"
|
313
313
|
end
|
@@ -16,51 +16,51 @@ require 'time'
|
|
16
16
|
module PulpcoreClient
|
17
17
|
# A serializer for ArtifactDistribution.
|
18
18
|
class ArtifactDistributionResponse
|
19
|
-
#
|
20
|
-
attr_accessor :
|
19
|
+
# Whether this distribution should be shown in the content app.
|
20
|
+
attr_accessor :hidden
|
21
|
+
|
22
|
+
# A unique name. Ex, `rawhide` and `stable`.
|
23
|
+
attr_accessor :name
|
21
24
|
|
22
25
|
# Timestamp since when the distributed content served by this distribution has not changed. If equals to `null`, no guarantee is provided about content changes.
|
23
26
|
attr_accessor :no_content_change_since
|
24
27
|
|
25
|
-
|
26
|
-
attr_accessor :base_path
|
27
|
-
|
28
|
-
attr_accessor :pulp_labels
|
29
|
-
|
30
|
-
# Whether this distribution should be shown in the content app.
|
31
|
-
attr_accessor :hidden
|
32
|
-
|
33
|
-
# Timestamp of the last time this resource was updated. Note: for immutable resources - like content, repository versions, and publication - pulp_created and pulp_last_updated dates will be the same.
|
34
|
-
attr_accessor :pulp_last_updated
|
28
|
+
attr_accessor :pulp_href
|
35
29
|
|
36
30
|
# The URL for accessing the publication as defined by this distribution.
|
37
31
|
attr_accessor :base_url
|
38
32
|
|
39
|
-
# A unique name. Ex, `rawhide` and `stable`.
|
40
|
-
attr_accessor :name
|
41
|
-
|
42
33
|
# The Pulp Resource Name (PRN).
|
43
34
|
attr_accessor :prn
|
44
35
|
|
36
|
+
# An optional content-guard.
|
37
|
+
attr_accessor :content_guard
|
38
|
+
|
39
|
+
# The base (relative) path component of the published url. Avoid paths that overlap with other distribution base paths (e.g. \"foo\" and \"foo/bar\")
|
40
|
+
attr_accessor :base_path
|
41
|
+
|
42
|
+
attr_accessor :pulp_labels
|
43
|
+
|
45
44
|
# Timestamp of creation.
|
46
45
|
attr_accessor :pulp_created
|
47
46
|
|
48
|
-
|
47
|
+
# 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.
|
48
|
+
attr_accessor :pulp_last_updated
|
49
49
|
|
50
50
|
# Attribute mapping from ruby-style variable name to JSON key.
|
51
51
|
def self.attribute_map
|
52
52
|
{
|
53
|
-
:'content_guard' => :'content_guard',
|
54
|
-
:'no_content_change_since' => :'no_content_change_since',
|
55
|
-
:'base_path' => :'base_path',
|
56
|
-
:'pulp_labels' => :'pulp_labels',
|
57
53
|
:'hidden' => :'hidden',
|
58
|
-
:'pulp_last_updated' => :'pulp_last_updated',
|
59
|
-
:'base_url' => :'base_url',
|
60
54
|
:'name' => :'name',
|
55
|
+
:'no_content_change_since' => :'no_content_change_since',
|
56
|
+
:'pulp_href' => :'pulp_href',
|
57
|
+
:'base_url' => :'base_url',
|
61
58
|
:'prn' => :'prn',
|
59
|
+
:'content_guard' => :'content_guard',
|
60
|
+
:'base_path' => :'base_path',
|
61
|
+
:'pulp_labels' => :'pulp_labels',
|
62
62
|
:'pulp_created' => :'pulp_created',
|
63
|
-
:'
|
63
|
+
:'pulp_last_updated' => :'pulp_last_updated'
|
64
64
|
}
|
65
65
|
end
|
66
66
|
|
@@ -72,17 +72,17 @@ module PulpcoreClient
|
|
72
72
|
# Attribute type mapping.
|
73
73
|
def self.openapi_types
|
74
74
|
{
|
75
|
-
:'content_guard' => :'String',
|
76
|
-
:'no_content_change_since' => :'String',
|
77
|
-
:'base_path' => :'String',
|
78
|
-
:'pulp_labels' => :'Hash<String, String>',
|
79
75
|
:'hidden' => :'Boolean',
|
80
|
-
:'pulp_last_updated' => :'Time',
|
81
|
-
:'base_url' => :'String',
|
82
76
|
:'name' => :'String',
|
77
|
+
:'no_content_change_since' => :'String',
|
78
|
+
:'pulp_href' => :'String',
|
79
|
+
:'base_url' => :'String',
|
83
80
|
:'prn' => :'String',
|
81
|
+
:'content_guard' => :'String',
|
82
|
+
:'base_path' => :'String',
|
83
|
+
:'pulp_labels' => :'Hash<String, String>',
|
84
84
|
:'pulp_created' => :'Time',
|
85
|
-
:'
|
85
|
+
:'pulp_last_updated' => :'Time'
|
86
86
|
}
|
87
87
|
end
|
88
88
|
|
@@ -108,56 +108,56 @@ module PulpcoreClient
|
|
108
108
|
h[k.to_sym] = v
|
109
109
|
}
|
110
110
|
|
111
|
-
if attributes.key?(:'
|
112
|
-
self.
|
111
|
+
if attributes.key?(:'hidden')
|
112
|
+
self.hidden = attributes[:'hidden']
|
113
|
+
else
|
114
|
+
self.hidden = false
|
113
115
|
end
|
114
116
|
|
115
|
-
if attributes.key?(:'
|
116
|
-
self.
|
117
|
+
if attributes.key?(:'name')
|
118
|
+
self.name = attributes[:'name']
|
119
|
+
else
|
120
|
+
self.name = nil
|
117
121
|
end
|
118
122
|
|
119
|
-
if attributes.key?(:'
|
120
|
-
self.
|
121
|
-
else
|
122
|
-
self.base_path = nil
|
123
|
+
if attributes.key?(:'no_content_change_since')
|
124
|
+
self.no_content_change_since = attributes[:'no_content_change_since']
|
123
125
|
end
|
124
126
|
|
125
|
-
if attributes.key?(:'
|
126
|
-
|
127
|
-
self.pulp_labels = value
|
128
|
-
end
|
127
|
+
if attributes.key?(:'pulp_href')
|
128
|
+
self.pulp_href = attributes[:'pulp_href']
|
129
129
|
end
|
130
130
|
|
131
|
-
if attributes.key?(:'
|
132
|
-
self.
|
133
|
-
else
|
134
|
-
self.hidden = false
|
131
|
+
if attributes.key?(:'base_url')
|
132
|
+
self.base_url = attributes[:'base_url']
|
135
133
|
end
|
136
134
|
|
137
|
-
if attributes.key?(:'
|
138
|
-
self.
|
135
|
+
if attributes.key?(:'prn')
|
136
|
+
self.prn = attributes[:'prn']
|
139
137
|
end
|
140
138
|
|
141
|
-
if attributes.key?(:'
|
142
|
-
self.
|
139
|
+
if attributes.key?(:'content_guard')
|
140
|
+
self.content_guard = attributes[:'content_guard']
|
143
141
|
end
|
144
142
|
|
145
|
-
if attributes.key?(:'
|
146
|
-
self.
|
143
|
+
if attributes.key?(:'base_path')
|
144
|
+
self.base_path = attributes[:'base_path']
|
147
145
|
else
|
148
|
-
self.
|
146
|
+
self.base_path = nil
|
149
147
|
end
|
150
148
|
|
151
|
-
if attributes.key?(:'
|
152
|
-
|
149
|
+
if attributes.key?(:'pulp_labels')
|
150
|
+
if (value = attributes[:'pulp_labels']).is_a?(Hash)
|
151
|
+
self.pulp_labels = value
|
152
|
+
end
|
153
153
|
end
|
154
154
|
|
155
155
|
if attributes.key?(:'pulp_created')
|
156
156
|
self.pulp_created = attributes[:'pulp_created']
|
157
157
|
end
|
158
158
|
|
159
|
-
if attributes.key?(:'
|
160
|
-
self.
|
159
|
+
if attributes.key?(:'pulp_last_updated')
|
160
|
+
self.pulp_last_updated = attributes[:'pulp_last_updated']
|
161
161
|
end
|
162
162
|
end
|
163
163
|
|
@@ -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,17 +191,17 @@ module PulpcoreClient
|
|
191
191
|
def ==(o)
|
192
192
|
return true if self.equal?(o)
|
193
193
|
self.class == o.class &&
|
194
|
-
content_guard == o.content_guard &&
|
195
|
-
no_content_change_since == o.no_content_change_since &&
|
196
|
-
base_path == o.base_path &&
|
197
|
-
pulp_labels == o.pulp_labels &&
|
198
194
|
hidden == o.hidden &&
|
199
|
-
pulp_last_updated == o.pulp_last_updated &&
|
200
|
-
base_url == o.base_url &&
|
201
195
|
name == o.name &&
|
196
|
+
no_content_change_since == o.no_content_change_since &&
|
197
|
+
pulp_href == o.pulp_href &&
|
198
|
+
base_url == o.base_url &&
|
202
199
|
prn == o.prn &&
|
200
|
+
content_guard == o.content_guard &&
|
201
|
+
base_path == o.base_path &&
|
202
|
+
pulp_labels == o.pulp_labels &&
|
203
203
|
pulp_created == o.pulp_created &&
|
204
|
-
|
204
|
+
pulp_last_updated == o.pulp_last_updated
|
205
205
|
end
|
206
206
|
|
207
207
|
# @see the `==` method
|
@@ -213,7 +213,7 @@ module PulpcoreClient
|
|
213
213
|
# Calculates hash code according to all attributes.
|
214
214
|
# @return [Integer] Hash code
|
215
215
|
def hash
|
216
|
-
[
|
216
|
+
[hidden, name, no_content_change_since, pulp_href, base_url, prn, content_guard, base_path, pulp_labels, pulp_created, pulp_last_updated].hash
|
217
217
|
end
|
218
218
|
|
219
219
|
# Builds the object from hash
|
@@ -147,7 +147,7 @@ module PulpcoreClient
|
|
147
147
|
:'pulp_labels' => :'Hash<String, String>',
|
148
148
|
:'download_concurrency' => :'Integer',
|
149
149
|
:'max_retries' => :'Integer',
|
150
|
-
:'policy' => :'
|
150
|
+
:'policy' => :'GenericRemoteResponsePolicyEnum',
|
151
151
|
:'total_timeout' => :'Float',
|
152
152
|
:'connect_timeout' => :'Float',
|
153
153
|
:'sock_connect_timeout' => :'Float',
|
@@ -297,6 +297,10 @@ module PulpcoreClient
|
|
297
297
|
invalid_properties.push('invalid value for "url", url cannot be nil.')
|
298
298
|
end
|
299
299
|
|
300
|
+
if !@download_concurrency.nil? && @download_concurrency < 1
|
301
|
+
invalid_properties.push('invalid value for "download_concurrency", must be greater than or equal to 1.')
|
302
|
+
end
|
303
|
+
|
300
304
|
if !@total_timeout.nil? && @total_timeout < 0.0
|
301
305
|
invalid_properties.push('invalid value for "total_timeout", must be greater than or equal to 0.0.')
|
302
306
|
end
|
@@ -322,6 +326,7 @@ module PulpcoreClient
|
|
322
326
|
warn '[DEPRECATED] the `valid?` method is obsolete'
|
323
327
|
return false if @name.nil?
|
324
328
|
return false if @url.nil?
|
329
|
+
return false if !@download_concurrency.nil? && @download_concurrency < 1
|
325
330
|
return false if !@total_timeout.nil? && @total_timeout < 0.0
|
326
331
|
return false if !@connect_timeout.nil? && @connect_timeout < 0.0
|
327
332
|
return false if !@sock_connect_timeout.nil? && @sock_connect_timeout < 0.0
|
@@ -329,6 +334,16 @@ module PulpcoreClient
|
|
329
334
|
true
|
330
335
|
end
|
331
336
|
|
337
|
+
# Custom attribute writer method with validation
|
338
|
+
# @param [Object] download_concurrency Value to be assigned
|
339
|
+
def download_concurrency=(download_concurrency)
|
340
|
+
if !download_concurrency.nil? && download_concurrency < 1
|
341
|
+
fail ArgumentError, 'invalid value for "download_concurrency", must be greater than or equal to 1.'
|
342
|
+
end
|
343
|
+
|
344
|
+
@download_concurrency = download_concurrency
|
345
|
+
end
|
346
|
+
|
332
347
|
# Custom attribute writer method with validation
|
333
348
|
# @param [Object] total_timeout Value to be assigned
|
334
349
|
def total_timeout=(total_timeout)
|
@@ -14,7 +14,7 @@ require 'date'
|
|
14
14
|
require 'time'
|
15
15
|
|
16
16
|
module PulpcoreClient
|
17
|
-
class
|
17
|
+
class GenericRemoteResponsePolicyEnum
|
18
18
|
IMMEDIATE = "immediate".freeze
|
19
19
|
ON_DEMAND = "on_demand".freeze
|
20
20
|
STREAMED = "streamed".freeze
|
@@ -34,8 +34,8 @@ module PulpcoreClient
|
|
34
34
|
# @param [String] The enum value in the form of the string
|
35
35
|
# @return [String] The enum value
|
36
36
|
def build_from_hash(value)
|
37
|
-
return value if
|
38
|
-
raise "Invalid ENUM value #{value} for class #
|
37
|
+
return value if GenericRemoteResponsePolicyEnum.all_vars.include?(value)
|
38
|
+
raise "Invalid ENUM value #{value} for class #GenericRemoteResponsePolicyEnum"
|
39
39
|
end
|
40
40
|
end
|
41
41
|
end
|
@@ -27,6 +27,9 @@ module PulpcoreClient
|
|
27
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
28
|
attr_accessor :pulp_last_updated
|
29
29
|
|
30
|
+
# A dictionary of arbitrary key/value pairs used to describe a specific Content instance.
|
31
|
+
attr_accessor :pulp_labels
|
32
|
+
|
30
33
|
# A dict mapping relative paths inside the Content to the correspondingArtifact URLs. E.g.: {'relative/path': '/artifacts/1/'
|
31
34
|
attr_accessor :artifacts
|
32
35
|
|
@@ -37,6 +40,7 @@ module PulpcoreClient
|
|
37
40
|
:'prn' => :'prn',
|
38
41
|
:'pulp_created' => :'pulp_created',
|
39
42
|
:'pulp_last_updated' => :'pulp_last_updated',
|
43
|
+
:'pulp_labels' => :'pulp_labels',
|
40
44
|
:'artifacts' => :'artifacts'
|
41
45
|
}
|
42
46
|
end
|
@@ -53,6 +57,7 @@ module PulpcoreClient
|
|
53
57
|
:'prn' => :'String',
|
54
58
|
:'pulp_created' => :'Time',
|
55
59
|
:'pulp_last_updated' => :'Time',
|
60
|
+
:'pulp_labels' => :'Hash<String, String>',
|
56
61
|
:'artifacts' => :'Object'
|
57
62
|
}
|
58
63
|
end
|
@@ -94,6 +99,12 @@ module PulpcoreClient
|
|
94
99
|
self.pulp_last_updated = attributes[:'pulp_last_updated']
|
95
100
|
end
|
96
101
|
|
102
|
+
if attributes.key?(:'pulp_labels')
|
103
|
+
if (value = attributes[:'pulp_labels']).is_a?(Hash)
|
104
|
+
self.pulp_labels = value
|
105
|
+
end
|
106
|
+
end
|
107
|
+
|
97
108
|
if attributes.key?(:'artifacts')
|
98
109
|
self.artifacts = attributes[:'artifacts']
|
99
110
|
else
|
@@ -130,6 +141,7 @@ module PulpcoreClient
|
|
130
141
|
prn == o.prn &&
|
131
142
|
pulp_created == o.pulp_created &&
|
132
143
|
pulp_last_updated == o.pulp_last_updated &&
|
144
|
+
pulp_labels == o.pulp_labels &&
|
133
145
|
artifacts == o.artifacts
|
134
146
|
end
|
135
147
|
|
@@ -142,7 +154,7 @@ module PulpcoreClient
|
|
142
154
|
# Calculates hash code according to all attributes.
|
143
155
|
# @return [Integer] Hash code
|
144
156
|
def hash
|
145
|
-
[pulp_href, prn, pulp_created, pulp_last_updated, artifacts].hash
|
157
|
+
[pulp_href, prn, pulp_created, pulp_last_updated, pulp_labels, artifacts].hash
|
146
158
|
end
|
147
159
|
|
148
160
|
# Builds the object from hash
|
@@ -116,6 +116,10 @@ module PulpcoreClient
|
|
116
116
|
def list_invalid_properties
|
117
117
|
warn '[DEPRECATED] the `list_invalid_properties` method is obsolete'
|
118
118
|
invalid_properties = Array.new
|
119
|
+
if !@issuer.nil? && @issuer.to_s.length > 16
|
120
|
+
invalid_properties.push('invalid value for "issuer", the character length must be smaller than or equal to 16.')
|
121
|
+
end
|
122
|
+
|
119
123
|
if !@issuer.nil? && @issuer.to_s.length < 1
|
120
124
|
invalid_properties.push('invalid value for "issuer", the character length must be great than or equal to 1.')
|
121
125
|
end
|
@@ -139,6 +143,7 @@ module PulpcoreClient
|
|
139
143
|
# @return true if the model is valid
|
140
144
|
def valid?
|
141
145
|
warn '[DEPRECATED] the `valid?` method is obsolete'
|
146
|
+
return false if !@issuer.nil? && @issuer.to_s.length > 16
|
142
147
|
return false if !@issuer.nil? && @issuer.to_s.length < 1
|
143
148
|
return false if @created.nil?
|
144
149
|
return false if !@signers_user_id.nil? && @signers_user_id.to_s.length < 1
|
@@ -149,6 +154,10 @@ module PulpcoreClient
|
|
149
154
|
# Custom attribute writer method with validation
|
150
155
|
# @param [Object] issuer Value to be assigned
|
151
156
|
def issuer=(issuer)
|
157
|
+
if !issuer.nil? && issuer.to_s.length > 16
|
158
|
+
fail ArgumentError, 'invalid value for "issuer", the character length must be smaller than or equal to 16.'
|
159
|
+
end
|
160
|
+
|
152
161
|
if !issuer.nil? && issuer.to_s.length < 1
|
153
162
|
fail ArgumentError, 'invalid value for "issuer", the character length must be great than or equal to 1.'
|
154
163
|
end
|