pulpcore_client 3.103.4 → 3.104.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/README.md +4 -4
- data/docs/ArtifactDistributionResponse.md +13 -13
- data/docs/ArtifactsApi.md +2 -2
- data/docs/ContentApi.md +6 -6
- data/docs/ContentOpenpgpPublickeyApi.md +6 -6
- data/docs/ContentOpenpgpPublicsubkeyApi.md +6 -6
- data/docs/ContentOpenpgpSignatureApi.md +6 -6
- data/docs/ContentOpenpgpUserattributeApi.md +6 -6
- data/docs/ContentOpenpgpUseridApi.md +6 -6
- data/docs/DistributionsApi.md +4 -4
- data/docs/DistributionsArtifactsApi.md +4 -4
- data/docs/DistributionsOpenpgpApi.md +2 -2
- data/docs/GroupsRolesApi.md +2 -2
- data/docs/PublicationsApi.md +2 -2
- data/docs/Purge.md +1 -1
- data/docs/RepositoriesApi.md +2 -2
- data/docs/RepositoriesOpenpgpKeyringApi.md +2 -2
- data/docs/TasksApi.md +6 -6
- data/docs/UsersRolesApi.md +2 -2
- data/docs/VulnReportApi.md +2 -2
- data/lib/pulpcore_client/api/artifacts_api.rb +2 -2
- data/lib/pulpcore_client/api/content_api.rb +6 -6
- data/lib/pulpcore_client/api/content_openpgp_publickey_api.rb +6 -6
- data/lib/pulpcore_client/api/content_openpgp_publicsubkey_api.rb +6 -6
- data/lib/pulpcore_client/api/content_openpgp_signature_api.rb +6 -6
- data/lib/pulpcore_client/api/content_openpgp_userattribute_api.rb +6 -6
- data/lib/pulpcore_client/api/content_openpgp_userid_api.rb +6 -6
- data/lib/pulpcore_client/api/distributions_api.rb +4 -4
- data/lib/pulpcore_client/api/distributions_artifacts_api.rb +4 -4
- data/lib/pulpcore_client/api/distributions_openpgp_api.rb +2 -2
- data/lib/pulpcore_client/api/groups_roles_api.rb +2 -2
- data/lib/pulpcore_client/api/publications_api.rb +2 -2
- data/lib/pulpcore_client/api/repositories_api.rb +2 -2
- data/lib/pulpcore_client/api/repositories_openpgp_keyring_api.rb +2 -2
- data/lib/pulpcore_client/api/tasks_api.rb +6 -6
- data/lib/pulpcore_client/api/users_roles_api.rb +2 -2
- data/lib/pulpcore_client/api/vuln_report_api.rb +2 -2
- data/lib/pulpcore_client/models/artifact_distribution_response.rb +69 -69
- data/lib/pulpcore_client/models/purge.rb +1 -1
- data/lib/pulpcore_client/version.rb +1 -1
- data/spec/api/artifacts_api_spec.rb +1 -1
- data/spec/api/content_api_spec.rb +3 -3
- data/spec/api/content_openpgp_publickey_api_spec.rb +3 -3
- data/spec/api/content_openpgp_publicsubkey_api_spec.rb +3 -3
- data/spec/api/content_openpgp_signature_api_spec.rb +3 -3
- data/spec/api/content_openpgp_userattribute_api_spec.rb +3 -3
- data/spec/api/content_openpgp_userid_api_spec.rb +3 -3
- data/spec/api/distributions_api_spec.rb +2 -2
- data/spec/api/distributions_artifacts_api_spec.rb +2 -2
- data/spec/api/distributions_openpgp_api_spec.rb +1 -1
- data/spec/api/groups_roles_api_spec.rb +1 -1
- data/spec/api/publications_api_spec.rb +1 -1
- data/spec/api/repositories_api_spec.rb +1 -1
- data/spec/api/repositories_openpgp_keyring_api_spec.rb +1 -1
- data/spec/api/tasks_api_spec.rb +3 -3
- data/spec/api/users_roles_api_spec.rb +1 -1
- data/spec/api/vuln_report_api_spec.rb +1 -1
- data/spec/models/artifact_distribution_response_spec.rb +10 -10
- metadata +2 -2
|
@@ -120,9 +120,9 @@ module PulpcoreClient
|
|
|
120
120
|
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
|
121
121
|
# @option opts [String] :pulp_label_select Filter labels by search string
|
|
122
122
|
# @option opts [String] :q Filter results by using NOT, AND and OR operations on other filters
|
|
123
|
-
# @option opts [String] :repository_version
|
|
124
|
-
# @option opts [String] :repository_version_added
|
|
125
|
-
# @option opts [String] :repository_version_removed
|
|
123
|
+
# @option opts [String] :repository_version
|
|
124
|
+
# @option opts [String] :repository_version_added
|
|
125
|
+
# @option opts [String] :repository_version_removed
|
|
126
126
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
|
127
127
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
|
128
128
|
# @return [PaginatedOpenPGPPublicKeyResponseList]
|
|
@@ -145,9 +145,9 @@ module PulpcoreClient
|
|
|
145
145
|
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
|
146
146
|
# @option opts [String] :pulp_label_select Filter labels by search string
|
|
147
147
|
# @option opts [String] :q Filter results by using NOT, AND and OR operations on other filters
|
|
148
|
-
# @option opts [String] :repository_version
|
|
149
|
-
# @option opts [String] :repository_version_added
|
|
150
|
-
# @option opts [String] :repository_version_removed
|
|
148
|
+
# @option opts [String] :repository_version
|
|
149
|
+
# @option opts [String] :repository_version_added
|
|
150
|
+
# @option opts [String] :repository_version_removed
|
|
151
151
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
|
152
152
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
|
153
153
|
# @return [Array<(PaginatedOpenPGPPublicKeyResponseList, Integer, Hash)>] PaginatedOpenPGPPublicKeyResponseList data, response status code and response headers
|
|
@@ -33,9 +33,9 @@ module PulpcoreClient
|
|
|
33
33
|
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
|
34
34
|
# @option opts [String] :pulp_label_select Filter labels by search string
|
|
35
35
|
# @option opts [String] :q Filter results by using NOT, AND and OR operations on other filters
|
|
36
|
-
# @option opts [String] :repository_version
|
|
37
|
-
# @option opts [String] :repository_version_added
|
|
38
|
-
# @option opts [String] :repository_version_removed
|
|
36
|
+
# @option opts [String] :repository_version
|
|
37
|
+
# @option opts [String] :repository_version_added
|
|
38
|
+
# @option opts [String] :repository_version_removed
|
|
39
39
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
|
40
40
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
|
41
41
|
# @return [PaginatedOpenPGPPublicSubkeyResponseList]
|
|
@@ -58,9 +58,9 @@ module PulpcoreClient
|
|
|
58
58
|
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
|
59
59
|
# @option opts [String] :pulp_label_select Filter labels by search string
|
|
60
60
|
# @option opts [String] :q Filter results by using NOT, AND and OR operations on other filters
|
|
61
|
-
# @option opts [String] :repository_version
|
|
62
|
-
# @option opts [String] :repository_version_added
|
|
63
|
-
# @option opts [String] :repository_version_removed
|
|
61
|
+
# @option opts [String] :repository_version
|
|
62
|
+
# @option opts [String] :repository_version_added
|
|
63
|
+
# @option opts [String] :repository_version_removed
|
|
64
64
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
|
65
65
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
|
66
66
|
# @return [Array<(PaginatedOpenPGPPublicSubkeyResponseList, Integer, Hash)>] PaginatedOpenPGPPublicSubkeyResponseList data, response status code and response headers
|
|
@@ -33,9 +33,9 @@ module PulpcoreClient
|
|
|
33
33
|
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
|
34
34
|
# @option opts [String] :pulp_label_select Filter labels by search string
|
|
35
35
|
# @option opts [String] :q Filter results by using NOT, AND and OR operations on other filters
|
|
36
|
-
# @option opts [String] :repository_version
|
|
37
|
-
# @option opts [String] :repository_version_added
|
|
38
|
-
# @option opts [String] :repository_version_removed
|
|
36
|
+
# @option opts [String] :repository_version
|
|
37
|
+
# @option opts [String] :repository_version_added
|
|
38
|
+
# @option opts [String] :repository_version_removed
|
|
39
39
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
|
40
40
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
|
41
41
|
# @return [PaginatedOpenPGPSignatureResponseList]
|
|
@@ -58,9 +58,9 @@ module PulpcoreClient
|
|
|
58
58
|
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
|
59
59
|
# @option opts [String] :pulp_label_select Filter labels by search string
|
|
60
60
|
# @option opts [String] :q Filter results by using NOT, AND and OR operations on other filters
|
|
61
|
-
# @option opts [String] :repository_version
|
|
62
|
-
# @option opts [String] :repository_version_added
|
|
63
|
-
# @option opts [String] :repository_version_removed
|
|
61
|
+
# @option opts [String] :repository_version
|
|
62
|
+
# @option opts [String] :repository_version_added
|
|
63
|
+
# @option opts [String] :repository_version_removed
|
|
64
64
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
|
65
65
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
|
66
66
|
# @return [Array<(PaginatedOpenPGPSignatureResponseList, Integer, Hash)>] PaginatedOpenPGPSignatureResponseList data, response status code and response headers
|
|
@@ -32,9 +32,9 @@ module PulpcoreClient
|
|
|
32
32
|
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
|
33
33
|
# @option opts [String] :pulp_label_select Filter labels by search string
|
|
34
34
|
# @option opts [String] :q Filter results by using NOT, AND and OR operations on other filters
|
|
35
|
-
# @option opts [String] :repository_version
|
|
36
|
-
# @option opts [String] :repository_version_added
|
|
37
|
-
# @option opts [String] :repository_version_removed
|
|
35
|
+
# @option opts [String] :repository_version
|
|
36
|
+
# @option opts [String] :repository_version_added
|
|
37
|
+
# @option opts [String] :repository_version_removed
|
|
38
38
|
# @option opts [String] :sha256 Filter results where sha256 matches value
|
|
39
39
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
|
40
40
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
|
@@ -57,9 +57,9 @@ module PulpcoreClient
|
|
|
57
57
|
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
|
58
58
|
# @option opts [String] :pulp_label_select Filter labels by search string
|
|
59
59
|
# @option opts [String] :q Filter results by using NOT, AND and OR operations on other filters
|
|
60
|
-
# @option opts [String] :repository_version
|
|
61
|
-
# @option opts [String] :repository_version_added
|
|
62
|
-
# @option opts [String] :repository_version_removed
|
|
60
|
+
# @option opts [String] :repository_version
|
|
61
|
+
# @option opts [String] :repository_version_added
|
|
62
|
+
# @option opts [String] :repository_version_removed
|
|
63
63
|
# @option opts [String] :sha256 Filter results where sha256 matches value
|
|
64
64
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
|
65
65
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
|
@@ -32,9 +32,9 @@ module PulpcoreClient
|
|
|
32
32
|
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
|
33
33
|
# @option opts [String] :pulp_label_select Filter labels by search string
|
|
34
34
|
# @option opts [String] :q Filter results by using NOT, AND and OR operations on other filters
|
|
35
|
-
# @option opts [String] :repository_version
|
|
36
|
-
# @option opts [String] :repository_version_added
|
|
37
|
-
# @option opts [String] :repository_version_removed
|
|
35
|
+
# @option opts [String] :repository_version
|
|
36
|
+
# @option opts [String] :repository_version_added
|
|
37
|
+
# @option opts [String] :repository_version_removed
|
|
38
38
|
# @option opts [String] :user_id Filter results where user_id matches value
|
|
39
39
|
# @option opts [String] :user_id__contains Filter results where user_id contains value
|
|
40
40
|
# @option opts [String] :user_id__icontains Filter results where user_id contains value
|
|
@@ -65,9 +65,9 @@ module PulpcoreClient
|
|
|
65
65
|
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
|
66
66
|
# @option opts [String] :pulp_label_select Filter labels by search string
|
|
67
67
|
# @option opts [String] :q Filter results by using NOT, AND and OR operations on other filters
|
|
68
|
-
# @option opts [String] :repository_version
|
|
69
|
-
# @option opts [String] :repository_version_added
|
|
70
|
-
# @option opts [String] :repository_version_removed
|
|
68
|
+
# @option opts [String] :repository_version
|
|
69
|
+
# @option opts [String] :repository_version_added
|
|
70
|
+
# @option opts [String] :repository_version_removed
|
|
71
71
|
# @option opts [String] :user_id Filter results where user_id matches value
|
|
72
72
|
# @option opts [String] :user_id__contains Filter results where user_id contains value
|
|
73
73
|
# @option opts [String] :user_id__icontains Filter results where user_id contains value
|
|
@@ -47,8 +47,8 @@ module PulpcoreClient
|
|
|
47
47
|
# @option opts [String] :pulp_type Pulp type * `core.artifact` - core.artifact * `core.openpgp` - core.openpgp * `file.file` - file.file
|
|
48
48
|
# @option opts [Array<String>] :pulp_type__in Multiple values may be separated by commas. * `core.artifact` - core.artifact * `core.openpgp` - core.openpgp * `file.file` - file.file
|
|
49
49
|
# @option opts [String] :q Filter results by using NOT, AND and OR operations on other filters
|
|
50
|
-
# @option opts [String] :repository
|
|
51
|
-
# @option opts [Array<String>] :repository__in
|
|
50
|
+
# @option opts [String] :repository
|
|
51
|
+
# @option opts [Array<String>] :repository__in
|
|
52
52
|
# @option opts [String] :with_content Filter distributions based on the content served by them
|
|
53
53
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
|
54
54
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
|
@@ -86,8 +86,8 @@ module PulpcoreClient
|
|
|
86
86
|
# @option opts [String] :pulp_type Pulp type * `core.artifact` - core.artifact * `core.openpgp` - core.openpgp * `file.file` - file.file
|
|
87
87
|
# @option opts [Array<String>] :pulp_type__in Multiple values may be separated by commas. * `core.artifact` - core.artifact * `core.openpgp` - core.openpgp * `file.file` - file.file
|
|
88
88
|
# @option opts [String] :q Filter results by using NOT, AND and OR operations on other filters
|
|
89
|
-
# @option opts [String] :repository
|
|
90
|
-
# @option opts [Array<String>] :repository__in
|
|
89
|
+
# @option opts [String] :repository
|
|
90
|
+
# @option opts [Array<String>] :repository__in
|
|
91
91
|
# @option opts [String] :with_content Filter distributions based on the content served by them
|
|
92
92
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
|
93
93
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
|
@@ -45,8 +45,8 @@ module PulpcoreClient
|
|
|
45
45
|
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
|
46
46
|
# @option opts [String] :pulp_label_select Filter labels by search string
|
|
47
47
|
# @option opts [String] :q Filter results by using NOT, AND and OR operations on other filters
|
|
48
|
-
# @option opts [String] :repository
|
|
49
|
-
# @option opts [Array<String>] :repository__in
|
|
48
|
+
# @option opts [String] :repository
|
|
49
|
+
# @option opts [Array<String>] :repository__in
|
|
50
50
|
# @option opts [String] :with_content Filter distributions based on the content served by them
|
|
51
51
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
|
52
52
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
|
@@ -82,8 +82,8 @@ module PulpcoreClient
|
|
|
82
82
|
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
|
83
83
|
# @option opts [String] :pulp_label_select Filter labels by search string
|
|
84
84
|
# @option opts [String] :q Filter results by using NOT, AND and OR operations on other filters
|
|
85
|
-
# @option opts [String] :repository
|
|
86
|
-
# @option opts [Array<String>] :repository__in
|
|
85
|
+
# @option opts [String] :repository
|
|
86
|
+
# @option opts [Array<String>] :repository__in
|
|
87
87
|
# @option opts [String] :with_content Filter distributions based on the content served by them
|
|
88
88
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
|
89
89
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
|
@@ -168,7 +168,7 @@ module PulpcoreClient
|
|
|
168
168
|
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
|
169
169
|
# @option opts [String] :pulp_label_select Filter labels by search string
|
|
170
170
|
# @option opts [String] :q Filter results by using NOT, AND and OR operations on other filters
|
|
171
|
-
# @option opts [String] :repository_version
|
|
171
|
+
# @option opts [String] :repository_version
|
|
172
172
|
# @option opts [String] :with_content Filter distributions based on the content served by them
|
|
173
173
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
|
174
174
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
|
@@ -190,7 +190,7 @@ module PulpcoreClient
|
|
|
190
190
|
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
|
191
191
|
# @option opts [String] :pulp_label_select Filter labels by search string
|
|
192
192
|
# @option opts [String] :q Filter results by using NOT, AND and OR operations on other filters
|
|
193
|
-
# @option opts [String] :repository_version
|
|
193
|
+
# @option opts [String] :repository_version
|
|
194
194
|
# @option opts [String] :with_content Filter distributions based on the content served by them
|
|
195
195
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
|
196
196
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
|
@@ -166,7 +166,7 @@ module PulpcoreClient
|
|
|
166
166
|
# @param [Hash] opts the optional parameters
|
|
167
167
|
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
168
168
|
# @option opts [String] :content_object content_object
|
|
169
|
-
# @option opts [String] :domain
|
|
169
|
+
# @option opts [String] :domain
|
|
170
170
|
# @option opts [Integer] :limit Number of results to return per page.
|
|
171
171
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
|
172
172
|
# @option opts [Array<String>] :ordering Ordering * `role` - Role * `-role` - Role (descending) * `description` - Description * `-description` - Description (descending) * `pulp_created` - Pulp created * `-pulp_created` - Pulp created (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
|
@@ -193,7 +193,7 @@ module PulpcoreClient
|
|
|
193
193
|
# @param [Hash] opts the optional parameters
|
|
194
194
|
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
195
195
|
# @option opts [String] :content_object content_object
|
|
196
|
-
# @option opts [String] :domain
|
|
196
|
+
# @option opts [String] :domain
|
|
197
197
|
# @option opts [Integer] :limit Number of results to return per page.
|
|
198
198
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
|
199
199
|
# @option opts [Array<String>] :ordering Ordering * `role` - Role * `-role` - Role (descending) * `description` - Description * `-description` - Description (descending) * `pulp_created` - Pulp created * `-pulp_created` - Pulp created (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
|
@@ -43,7 +43,7 @@ module PulpcoreClient
|
|
|
43
43
|
# @option opts [Array<String>] :pulp_type__in Multiple values may be separated by commas. * `file.file` - file.file
|
|
44
44
|
# @option opts [String] :q Filter results by using NOT, AND and OR operations on other filters
|
|
45
45
|
# @option opts [String] :repository Repository referenced by HREF/PRN
|
|
46
|
-
# @option opts [String] :repository_version
|
|
46
|
+
# @option opts [String] :repository_version
|
|
47
47
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
|
48
48
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
|
49
49
|
# @return [PaginatedPublicationResponseList]
|
|
@@ -76,7 +76,7 @@ module PulpcoreClient
|
|
|
76
76
|
# @option opts [Array<String>] :pulp_type__in Multiple values may be separated by commas. * `file.file` - file.file
|
|
77
77
|
# @option opts [String] :q Filter results by using NOT, AND and OR operations on other filters
|
|
78
78
|
# @option opts [String] :repository Repository referenced by HREF/PRN
|
|
79
|
-
# @option opts [String] :repository_version
|
|
79
|
+
# @option opts [String] :repository_version
|
|
80
80
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
|
81
81
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
|
82
82
|
# @return [Array<(PaginatedPublicationResponseList, Integer, Hash)>] PaginatedPublicationResponseList data, response status code and response headers
|
|
@@ -43,7 +43,7 @@ module PulpcoreClient
|
|
|
43
43
|
# @option opts [String] :pulp_type Pulp type * `core.openpgp` - core.openpgp * `file.file` - file.file
|
|
44
44
|
# @option opts [Array<String>] :pulp_type__in Multiple values may be separated by commas. * `core.openpgp` - core.openpgp * `file.file` - file.file
|
|
45
45
|
# @option opts [String] :q Filter results by using NOT, AND and OR operations on other filters
|
|
46
|
-
# @option opts [String] :remote
|
|
46
|
+
# @option opts [String] :remote
|
|
47
47
|
# @option opts [Integer] :retain_repo_versions Filter results where retain_repo_versions matches value
|
|
48
48
|
# @option opts [Integer] :retain_repo_versions__gt Filter results where retain_repo_versions is greater than value
|
|
49
49
|
# @option opts [Integer] :retain_repo_versions__gte Filter results where retain_repo_versions is greater than or equal to value
|
|
@@ -85,7 +85,7 @@ module PulpcoreClient
|
|
|
85
85
|
# @option opts [String] :pulp_type Pulp type * `core.openpgp` - core.openpgp * `file.file` - file.file
|
|
86
86
|
# @option opts [Array<String>] :pulp_type__in Multiple values may be separated by commas. * `core.openpgp` - core.openpgp * `file.file` - file.file
|
|
87
87
|
# @option opts [String] :q Filter results by using NOT, AND and OR operations on other filters
|
|
88
|
-
# @option opts [String] :remote
|
|
88
|
+
# @option opts [String] :remote
|
|
89
89
|
# @option opts [Integer] :retain_repo_versions Filter results where retain_repo_versions matches value
|
|
90
90
|
# @option opts [Integer] :retain_repo_versions__gt Filter results where retain_repo_versions is greater than value
|
|
91
91
|
# @option opts [Integer] :retain_repo_versions__gte Filter results where retain_repo_versions is greater than or equal to value
|
|
@@ -255,7 +255,7 @@ module PulpcoreClient
|
|
|
255
255
|
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
|
256
256
|
# @option opts [String] :pulp_label_select Filter labels by search string
|
|
257
257
|
# @option opts [String] :q Filter results by using NOT, AND and OR operations on other filters
|
|
258
|
-
# @option opts [String] :remote
|
|
258
|
+
# @option opts [String] :remote
|
|
259
259
|
# @option opts [Integer] :retain_repo_versions Filter results where retain_repo_versions matches value
|
|
260
260
|
# @option opts [Integer] :retain_repo_versions__gt Filter results where retain_repo_versions is greater than value
|
|
261
261
|
# @option opts [Integer] :retain_repo_versions__gte Filter results where retain_repo_versions is greater than or equal to value
|
|
@@ -295,7 +295,7 @@ module PulpcoreClient
|
|
|
295
295
|
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
|
296
296
|
# @option opts [String] :pulp_label_select Filter labels by search string
|
|
297
297
|
# @option opts [String] :q Filter results by using NOT, AND and OR operations on other filters
|
|
298
|
-
# @option opts [String] :remote
|
|
298
|
+
# @option opts [String] :remote
|
|
299
299
|
# @option opts [Integer] :retain_repo_versions Filter results where retain_repo_versions matches value
|
|
300
300
|
# @option opts [Integer] :retain_repo_versions__gt Filter results where retain_repo_versions is greater than value
|
|
301
301
|
# @option opts [Integer] :retain_repo_versions__gte Filter results where retain_repo_versions is greater than or equal to value
|
|
@@ -164,7 +164,7 @@ module PulpcoreClient
|
|
|
164
164
|
# A customized named ModelViewSet that knows how to register itself with the Pulp API router. This viewset is discoverable by its name. \"Normal\" Django Models and Master/Detail models are supported by the ``register_with`` method. Attributes: lookup_field (str): The name of the field by which an object should be looked up, in addition to any parent lookups if this ViewSet is nested. Defaults to 'pk' endpoint_name (str): The name of the final path segment that should identify the ViewSet's collection endpoint. nest_prefix (str): Optional prefix under which this ViewSet should be nested. This must correspond to the \"parent_prefix\" of a router with rest_framework_nested.NestedMixin. None indicates this ViewSet should not be nested. parent_lookup_kwargs (dict): Optional mapping of key names that would appear in self.kwargs to django model filter expressions that can be used with the corresponding value from self.kwargs, used only by a nested ViewSet to filter based on the parent object's identity. schema (DefaultSchema): The schema class to use by default in a viewset.
|
|
165
165
|
# @param [Hash] opts the optional parameters
|
|
166
166
|
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
167
|
-
# @option opts [String] :child_tasks
|
|
167
|
+
# @option opts [String] :child_tasks
|
|
168
168
|
# @option opts [String] :created_resources
|
|
169
169
|
# @option opts [String] :exclusive_resources
|
|
170
170
|
# @option opts [Array<String>] :exclusive_resources__in Multiple values may be separated by commas.
|
|
@@ -184,7 +184,7 @@ module PulpcoreClient
|
|
|
184
184
|
# @option opts [String] :name__ne Filter results where name not equal to value
|
|
185
185
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
|
186
186
|
# @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) * `unblocked_at` - Unblocked at * `-unblocked_at` - Unblocked at (descending) * `started_at` - Started at * `-started_at` - Started at (descending) * `finished_at` - Finished at * `-finished_at` - Finished at (descending) * `error` - Error * `-error` - Error (descending) * `enc_args` - Enc args * `-enc_args` - Enc args (descending) * `enc_kwargs` - Enc kwargs * `-enc_kwargs` - Enc kwargs (descending) * `reserved_resources_record` - Reserved resources record * `-reserved_resources_record` - Reserved resources record (descending) * `versions` - Versions * `-versions` - Versions (descending) * `profile_options` - Profile options * `-profile_options` - Profile options (descending) * `immediate` - Immediate * `-immediate` - Immediate (descending) * `deferred` - Deferred * `-deferred` - Deferred (descending) * `result` - Result * `-result` - Result (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
|
187
|
-
# @option opts [String] :parent_task
|
|
187
|
+
# @option opts [String] :parent_task
|
|
188
188
|
# @option opts [Array<String>] :prn__in Multiple values may be separated by commas.
|
|
189
189
|
# @option opts [Time] :pulp_created Filter results where pulp_created matches value
|
|
190
190
|
# @option opts [Time] :pulp_created__gt Filter results where pulp_created is greater than value
|
|
@@ -210,7 +210,7 @@ module PulpcoreClient
|
|
|
210
210
|
# @option opts [String] :state Filter results where state matches value * `waiting` - Waiting * `skipped` - Skipped * `running` - Running * `completed` - Completed * `failed` - Failed * `canceled` - Canceled * `canceling` - Canceling
|
|
211
211
|
# @option opts [Array<String>] :state__in Filter results where state is in a comma-separated list of values
|
|
212
212
|
# @option opts [String] :state__ne Filter results where state not equal to value
|
|
213
|
-
# @option opts [String] :task_group
|
|
213
|
+
# @option opts [String] :task_group
|
|
214
214
|
# @option opts [Time] :unblocked_at Filter results where unblocked_at matches value
|
|
215
215
|
# @option opts [Time] :unblocked_at__gt Filter results where unblocked_at is greater than value
|
|
216
216
|
# @option opts [Time] :unblocked_at__gte Filter results where unblocked_at is greater than or equal to value
|
|
@@ -231,7 +231,7 @@ module PulpcoreClient
|
|
|
231
231
|
# A customized named ModelViewSet that knows how to register itself with the Pulp API router. This viewset is discoverable by its name. \"Normal\" Django Models and Master/Detail models are supported by the ``register_with`` method. Attributes: lookup_field (str): The name of the field by which an object should be looked up, in addition to any parent lookups if this ViewSet is nested. Defaults to 'pk' endpoint_name (str): The name of the final path segment that should identify the ViewSet's collection endpoint. nest_prefix (str): Optional prefix under which this ViewSet should be nested. This must correspond to the \"parent_prefix\" of a router with rest_framework_nested.NestedMixin. None indicates this ViewSet should not be nested. parent_lookup_kwargs (dict): Optional mapping of key names that would appear in self.kwargs to django model filter expressions that can be used with the corresponding value from self.kwargs, used only by a nested ViewSet to filter based on the parent object's identity. schema (DefaultSchema): The schema class to use by default in a viewset.
|
|
232
232
|
# @param [Hash] opts the optional parameters
|
|
233
233
|
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
234
|
-
# @option opts [String] :child_tasks
|
|
234
|
+
# @option opts [String] :child_tasks
|
|
235
235
|
# @option opts [String] :created_resources
|
|
236
236
|
# @option opts [String] :exclusive_resources
|
|
237
237
|
# @option opts [Array<String>] :exclusive_resources__in Multiple values may be separated by commas.
|
|
@@ -251,7 +251,7 @@ module PulpcoreClient
|
|
|
251
251
|
# @option opts [String] :name__ne Filter results where name not equal to value
|
|
252
252
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
|
253
253
|
# @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) * `unblocked_at` - Unblocked at * `-unblocked_at` - Unblocked at (descending) * `started_at` - Started at * `-started_at` - Started at (descending) * `finished_at` - Finished at * `-finished_at` - Finished at (descending) * `error` - Error * `-error` - Error (descending) * `enc_args` - Enc args * `-enc_args` - Enc args (descending) * `enc_kwargs` - Enc kwargs * `-enc_kwargs` - Enc kwargs (descending) * `reserved_resources_record` - Reserved resources record * `-reserved_resources_record` - Reserved resources record (descending) * `versions` - Versions * `-versions` - Versions (descending) * `profile_options` - Profile options * `-profile_options` - Profile options (descending) * `immediate` - Immediate * `-immediate` - Immediate (descending) * `deferred` - Deferred * `-deferred` - Deferred (descending) * `result` - Result * `-result` - Result (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
|
254
|
-
# @option opts [String] :parent_task
|
|
254
|
+
# @option opts [String] :parent_task
|
|
255
255
|
# @option opts [Array<String>] :prn__in Multiple values may be separated by commas.
|
|
256
256
|
# @option opts [Time] :pulp_created Filter results where pulp_created matches value
|
|
257
257
|
# @option opts [Time] :pulp_created__gt Filter results where pulp_created is greater than value
|
|
@@ -277,7 +277,7 @@ module PulpcoreClient
|
|
|
277
277
|
# @option opts [String] :state Filter results where state matches value * `waiting` - Waiting * `skipped` - Skipped * `running` - Running * `completed` - Completed * `failed` - Failed * `canceled` - Canceled * `canceling` - Canceling
|
|
278
278
|
# @option opts [Array<String>] :state__in Filter results where state is in a comma-separated list of values
|
|
279
279
|
# @option opts [String] :state__ne Filter results where state not equal to value
|
|
280
|
-
# @option opts [String] :task_group
|
|
280
|
+
# @option opts [String] :task_group
|
|
281
281
|
# @option opts [Time] :unblocked_at Filter results where unblocked_at matches value
|
|
282
282
|
# @option opts [Time] :unblocked_at__gt Filter results where unblocked_at is greater than value
|
|
283
283
|
# @option opts [Time] :unblocked_at__gte Filter results where unblocked_at is greater than or equal to value
|
|
@@ -166,7 +166,7 @@ module PulpcoreClient
|
|
|
166
166
|
# @param [Hash] opts the optional parameters
|
|
167
167
|
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
168
168
|
# @option opts [String] :content_object content_object
|
|
169
|
-
# @option opts [String] :domain
|
|
169
|
+
# @option opts [String] :domain
|
|
170
170
|
# @option opts [Integer] :limit Number of results to return per page.
|
|
171
171
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
|
172
172
|
# @option opts [Array<String>] :ordering Ordering * `role` - Role * `-role` - Role (descending) * `description` - Description * `-description` - Description (descending) * `pulp_created` - Pulp created * `-pulp_created` - Pulp created (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
|
@@ -193,7 +193,7 @@ module PulpcoreClient
|
|
|
193
193
|
# @param [Hash] opts the optional parameters
|
|
194
194
|
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
195
195
|
# @option opts [String] :content_object content_object
|
|
196
|
-
# @option opts [String] :domain
|
|
196
|
+
# @option opts [String] :domain
|
|
197
197
|
# @option opts [Integer] :limit Number of results to return per page.
|
|
198
198
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
|
199
199
|
# @option opts [Array<String>] :ordering Ordering * `role` - Role * `-role` - Role (descending) * `description` - Description * `-description` - Description (descending) * `pulp_created` - Pulp created * `-pulp_created` - Pulp created (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
|
@@ -94,7 +94,7 @@ module PulpcoreClient
|
|
|
94
94
|
# @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
|
|
95
95
|
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
|
96
96
|
# @option opts [String] :q Filter results by using NOT, AND and OR operations on other filters
|
|
97
|
-
# @option opts [String] :repo_versions
|
|
97
|
+
# @option opts [String] :repo_versions
|
|
98
98
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
|
99
99
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
|
100
100
|
# @return [PaginatedVulnerabilityReportResponseList]
|
|
@@ -114,7 +114,7 @@ module PulpcoreClient
|
|
|
114
114
|
# @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
|
|
115
115
|
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
|
116
116
|
# @option opts [String] :q Filter results by using NOT, AND and OR operations on other filters
|
|
117
|
-
# @option opts [String] :repo_versions
|
|
117
|
+
# @option opts [String] :repo_versions
|
|
118
118
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
|
119
119
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
|
120
120
|
# @return [Array<(PaginatedVulnerabilityReportResponseList, Integer, Hash)>] PaginatedVulnerabilityReportResponseList data, response status code and response headers
|
|
@@ -16,51 +16,51 @@ require 'time'
|
|
|
16
16
|
module PulpcoreClient
|
|
17
17
|
# A serializer for ArtifactDistribution.
|
|
18
18
|
class ArtifactDistributionResponse
|
|
19
|
+
attr_accessor :pulp_labels
|
|
20
|
+
|
|
21
|
+
# 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.
|
|
22
|
+
attr_accessor :pulp_last_updated
|
|
23
|
+
|
|
19
24
|
attr_accessor :pulp_href
|
|
20
25
|
|
|
21
26
|
# Timestamp since when the distributed content served by this distribution has not changed. If equals to `null`, no guarantee is provided about content changes.
|
|
22
27
|
attr_accessor :no_content_change_since
|
|
23
28
|
|
|
24
|
-
#
|
|
25
|
-
attr_accessor :
|
|
29
|
+
# Whether this distribution should be shown in the content app.
|
|
30
|
+
attr_accessor :hidden
|
|
31
|
+
|
|
32
|
+
# The base (relative) path component of the published url. Avoid paths that overlap with other distribution base paths (e.g. \"foo\" and \"foo/bar\")
|
|
33
|
+
attr_accessor :base_path
|
|
34
|
+
|
|
35
|
+
# A unique name. Ex, `rawhide` and `stable`.
|
|
36
|
+
attr_accessor :name
|
|
26
37
|
|
|
27
38
|
# The URL for accessing the publication as defined by this distribution.
|
|
28
39
|
attr_accessor :base_url
|
|
29
40
|
|
|
41
|
+
# Timestamp of creation.
|
|
42
|
+
attr_accessor :pulp_created
|
|
43
|
+
|
|
30
44
|
# An optional content-guard.
|
|
31
45
|
attr_accessor :content_guard
|
|
32
46
|
|
|
33
|
-
attr_accessor :pulp_labels
|
|
34
|
-
|
|
35
|
-
# A unique name. Ex, `rawhide` and `stable`.
|
|
36
|
-
attr_accessor :name
|
|
37
|
-
|
|
38
|
-
# Whether this distribution should be shown in the content app.
|
|
39
|
-
attr_accessor :hidden
|
|
40
|
-
|
|
41
47
|
# The Pulp Resource Name (PRN).
|
|
42
48
|
attr_accessor :prn
|
|
43
49
|
|
|
44
|
-
# Timestamp of the last time this resource was updated. Note: for immutable resources - like content, repository versions, and publication - pulp_created and pulp_last_updated dates will be the same.
|
|
45
|
-
attr_accessor :pulp_last_updated
|
|
46
|
-
|
|
47
|
-
# The base (relative) path component of the published url. Avoid paths that overlap with other distribution base paths (e.g. \"foo\" and \"foo/bar\")
|
|
48
|
-
attr_accessor :base_path
|
|
49
|
-
|
|
50
50
|
# Attribute mapping from ruby-style variable name to JSON key.
|
|
51
51
|
def self.attribute_map
|
|
52
52
|
{
|
|
53
|
+
:'pulp_labels' => :'pulp_labels',
|
|
54
|
+
:'pulp_last_updated' => :'pulp_last_updated',
|
|
53
55
|
:'pulp_href' => :'pulp_href',
|
|
54
56
|
:'no_content_change_since' => :'no_content_change_since',
|
|
55
|
-
:'
|
|
57
|
+
:'hidden' => :'hidden',
|
|
58
|
+
:'base_path' => :'base_path',
|
|
59
|
+
:'name' => :'name',
|
|
56
60
|
:'base_url' => :'base_url',
|
|
61
|
+
:'pulp_created' => :'pulp_created',
|
|
57
62
|
:'content_guard' => :'content_guard',
|
|
58
|
-
:'
|
|
59
|
-
:'name' => :'name',
|
|
60
|
-
:'hidden' => :'hidden',
|
|
61
|
-
:'prn' => :'prn',
|
|
62
|
-
:'pulp_last_updated' => :'pulp_last_updated',
|
|
63
|
-
:'base_path' => :'base_path'
|
|
63
|
+
:'prn' => :'prn'
|
|
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
|
+
:'pulp_labels' => :'Hash<String, String>',
|
|
76
|
+
:'pulp_last_updated' => :'Time',
|
|
75
77
|
:'pulp_href' => :'String',
|
|
76
78
|
:'no_content_change_since' => :'String',
|
|
77
|
-
:'
|
|
79
|
+
:'hidden' => :'Boolean',
|
|
80
|
+
:'base_path' => :'String',
|
|
81
|
+
:'name' => :'String',
|
|
78
82
|
:'base_url' => :'String',
|
|
83
|
+
:'pulp_created' => :'Time',
|
|
79
84
|
:'content_guard' => :'String',
|
|
80
|
-
:'
|
|
81
|
-
:'name' => :'String',
|
|
82
|
-
:'hidden' => :'Boolean',
|
|
83
|
-
:'prn' => :'String',
|
|
84
|
-
:'pulp_last_updated' => :'Time',
|
|
85
|
-
:'base_path' => :'String'
|
|
85
|
+
:'prn' => :'String'
|
|
86
86
|
}
|
|
87
87
|
end
|
|
88
88
|
|
|
@@ -108,30 +108,34 @@ module PulpcoreClient
|
|
|
108
108
|
h[k.to_sym] = v
|
|
109
109
|
}
|
|
110
110
|
|
|
111
|
-
if attributes.key?(:'
|
|
112
|
-
|
|
111
|
+
if attributes.key?(:'pulp_labels')
|
|
112
|
+
if (value = attributes[:'pulp_labels']).is_a?(Hash)
|
|
113
|
+
self.pulp_labels = value
|
|
114
|
+
end
|
|
113
115
|
end
|
|
114
116
|
|
|
115
|
-
if attributes.key?(:'
|
|
116
|
-
self.
|
|
117
|
+
if attributes.key?(:'pulp_last_updated')
|
|
118
|
+
self.pulp_last_updated = attributes[:'pulp_last_updated']
|
|
117
119
|
end
|
|
118
120
|
|
|
119
|
-
if attributes.key?(:'
|
|
120
|
-
self.
|
|
121
|
+
if attributes.key?(:'pulp_href')
|
|
122
|
+
self.pulp_href = attributes[:'pulp_href']
|
|
121
123
|
end
|
|
122
124
|
|
|
123
|
-
if attributes.key?(:'
|
|
124
|
-
self.
|
|
125
|
+
if attributes.key?(:'no_content_change_since')
|
|
126
|
+
self.no_content_change_since = attributes[:'no_content_change_since']
|
|
125
127
|
end
|
|
126
128
|
|
|
127
|
-
if attributes.key?(:'
|
|
128
|
-
self.
|
|
129
|
+
if attributes.key?(:'hidden')
|
|
130
|
+
self.hidden = attributes[:'hidden']
|
|
131
|
+
else
|
|
132
|
+
self.hidden = false
|
|
129
133
|
end
|
|
130
134
|
|
|
131
|
-
if attributes.key?(:'
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
+
if attributes.key?(:'base_path')
|
|
136
|
+
self.base_path = attributes[:'base_path']
|
|
137
|
+
else
|
|
138
|
+
self.base_path = nil
|
|
135
139
|
end
|
|
136
140
|
|
|
137
141
|
if attributes.key?(:'name')
|
|
@@ -140,24 +144,20 @@ module PulpcoreClient
|
|
|
140
144
|
self.name = nil
|
|
141
145
|
end
|
|
142
146
|
|
|
143
|
-
if attributes.key?(:'
|
|
144
|
-
self.
|
|
145
|
-
else
|
|
146
|
-
self.hidden = false
|
|
147
|
+
if attributes.key?(:'base_url')
|
|
148
|
+
self.base_url = attributes[:'base_url']
|
|
147
149
|
end
|
|
148
150
|
|
|
149
|
-
if attributes.key?(:'
|
|
150
|
-
self.
|
|
151
|
+
if attributes.key?(:'pulp_created')
|
|
152
|
+
self.pulp_created = attributes[:'pulp_created']
|
|
151
153
|
end
|
|
152
154
|
|
|
153
|
-
if attributes.key?(:'
|
|
154
|
-
self.
|
|
155
|
+
if attributes.key?(:'content_guard')
|
|
156
|
+
self.content_guard = attributes[:'content_guard']
|
|
155
157
|
end
|
|
156
158
|
|
|
157
|
-
if attributes.key?(:'
|
|
158
|
-
self.
|
|
159
|
-
else
|
|
160
|
-
self.base_path = nil
|
|
159
|
+
if attributes.key?(:'prn')
|
|
160
|
+
self.prn = attributes[:'prn']
|
|
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 @name.nil?
|
|
170
|
-
invalid_properties.push('invalid value for "name", name cannot be nil.')
|
|
171
|
-
end
|
|
172
|
-
|
|
173
169
|
if @base_path.nil?
|
|
174
170
|
invalid_properties.push('invalid value for "base_path", base_path cannot be nil.')
|
|
175
171
|
end
|
|
176
172
|
|
|
173
|
+
if @name.nil?
|
|
174
|
+
invalid_properties.push('invalid value for "name", name 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 @name.nil?
|
|
185
184
|
return false if @base_path.nil?
|
|
185
|
+
return false if @name.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
|
+
pulp_labels == o.pulp_labels &&
|
|
195
|
+
pulp_last_updated == o.pulp_last_updated &&
|
|
194
196
|
pulp_href == o.pulp_href &&
|
|
195
197
|
no_content_change_since == o.no_content_change_since &&
|
|
196
|
-
|
|
198
|
+
hidden == o.hidden &&
|
|
199
|
+
base_path == o.base_path &&
|
|
200
|
+
name == o.name &&
|
|
197
201
|
base_url == o.base_url &&
|
|
202
|
+
pulp_created == o.pulp_created &&
|
|
198
203
|
content_guard == o.content_guard &&
|
|
199
|
-
|
|
200
|
-
name == o.name &&
|
|
201
|
-
hidden == o.hidden &&
|
|
202
|
-
prn == o.prn &&
|
|
203
|
-
pulp_last_updated == o.pulp_last_updated &&
|
|
204
|
-
base_path == o.base_path
|
|
204
|
+
prn == o.prn
|
|
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
|
+
[pulp_labels, pulp_last_updated, pulp_href, no_content_change_since, hidden, base_path, name, base_url, pulp_created, content_guard, prn].hash
|
|
217
217
|
end
|
|
218
218
|
|
|
219
219
|
# Builds the object from hash
|