pulp_ansible_client 0.21.5 → 0.22.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +8 -15
- data/docs/{AnsibleCollection.md → AnsibleAnsibleCollectionDeprecated.md} +4 -2
- data/docs/AnsibleAnsibleCollectionDeprecatedResponse.md +25 -0
- data/docs/AnsibleAnsibleRepositoryResponse.md +2 -0
- data/docs/AnsibleCollectionRemoteResponse.md +2 -2
- data/docs/AnsibleCollectionRemoteResponseHiddenFields.md +2 -2
- data/docs/AnsibleCollectionVersionResponse.md +11 -9
- data/docs/AnsibleCollectionVersionSignatureResponse.md +2 -0
- data/docs/AnsibleCollectionsApi.md +60 -0
- data/docs/AnsibleGitRemote.md +28 -28
- data/docs/AnsibleGitRemoteResponse.md +26 -26
- data/docs/AnsibleRoleRemoteResponse.md +2 -2
- data/docs/AnsibleRoleResponse.md +6 -4
- data/docs/CollectionImportDetailResponse.md +2 -2
- data/docs/CollectionMetadataResponse.md +2 -2
- data/docs/CollectionSummaryResponse.md +2 -2
- data/docs/CollectionVersionDocsResponse.md +1 -1
- data/docs/CollectionVersionResponse.md +2 -2
- data/docs/ContentCollectionDeprecationsApi.md +10 -10
- data/docs/Copy.md +1 -1
- data/docs/PaginatedGalaxyRoleResponseList.md +2 -2
- data/docs/PaginatedGalaxyRoleVersionResponseList.md +2 -2
- data/docs/PaginatedRepositoryVersionResponseList.md +2 -2
- data/docs/PaginatedTagResponseList.md +2 -2
- data/docs/PaginatedansibleAnsibleCollectionDeprecatedResponseList.md +23 -0
- data/docs/PaginatedansibleAnsibleDistributionResponseList.md +2 -2
- data/docs/PaginatedansibleAnsibleNamespaceMetadataResponseList.md +2 -2
- data/docs/PaginatedansibleAnsibleRepositoryResponseList.md +2 -2
- data/docs/PaginatedansibleCollectionRemoteResponseList.md +2 -2
- data/docs/PaginatedansibleCollectionResponseList.md +2 -2
- data/docs/PaginatedansibleCollectionVersionMarkResponseList.md +2 -2
- data/docs/PaginatedansibleCollectionVersionResponseList.md +2 -2
- data/docs/PaginatedansibleCollectionVersionSignatureResponseList.md +2 -2
- data/docs/PaginatedansibleGitRemoteResponseList.md +2 -2
- data/docs/PaginatedansibleRoleRemoteResponseList.md +2 -2
- data/docs/PaginatedansibleRoleResponseList.md +2 -2
- data/docs/PatchedansibleGitRemote.md +28 -28
- data/docs/RepositoryResponse.md +2 -0
- data/docs/RepositoryVersionResponse.md +2 -0
- data/docs/VersionsApi.md +0 -55
- data/lib/pulp_ansible_client/api/ansible_collections_api.rb +68 -0
- data/lib/pulp_ansible_client/api/content_collection_deprecations_api.rb +20 -20
- data/lib/pulp_ansible_client/api/versions_api.rb +0 -69
- data/lib/pulp_ansible_client/models/{ansible_collection.rb → ansible_ansible_collection_deprecated.rb} +15 -5
- data/lib/pulp_ansible_client/models/{galaxy_collection_version_response.rb → ansible_ansible_collection_deprecated_response.rb} +45 -54
- data/lib/pulp_ansible_client/models/ansible_ansible_repository_response.rb +11 -1
- data/lib/pulp_ansible_client/models/ansible_collection_remote_response.rb +11 -11
- data/lib/pulp_ansible_client/models/ansible_collection_remote_response_hidden_fields.rb +10 -0
- data/lib/pulp_ansible_client/models/ansible_collection_version_response.rb +30 -20
- data/lib/pulp_ansible_client/models/ansible_collection_version_signature_response.rb +11 -1
- data/lib/pulp_ansible_client/models/ansible_git_remote.rb +232 -232
- data/lib/pulp_ansible_client/models/ansible_git_remote_response.rb +153 -153
- data/lib/pulp_ansible_client/models/ansible_role_remote_response.rb +11 -11
- data/lib/pulp_ansible_client/models/ansible_role_response.rb +25 -15
- data/lib/pulp_ansible_client/models/collection_import_detail_response.rb +2 -2
- data/lib/pulp_ansible_client/models/collection_metadata_response.rb +2 -2
- data/lib/pulp_ansible_client/models/collection_summary_response.rb +2 -2
- data/lib/pulp_ansible_client/models/collection_version_docs_response.rb +1 -1
- data/lib/pulp_ansible_client/models/collection_version_response.rb +2 -2
- data/lib/pulp_ansible_client/models/copy.rb +1 -1
- data/lib/pulp_ansible_client/models/paginated_galaxy_role_response_list.rb +10 -0
- data/lib/pulp_ansible_client/models/paginated_galaxy_role_version_response_list.rb +10 -0
- data/lib/pulp_ansible_client/models/paginated_repository_version_response_list.rb +10 -0
- data/lib/pulp_ansible_client/models/paginated_tag_response_list.rb +10 -0
- data/lib/pulp_ansible_client/models/{paginated_galaxy_collection_response_list.rb → paginatedansible_ansible_collection_deprecated_response_list.rb} +14 -4
- data/lib/pulp_ansible_client/models/paginatedansible_ansible_distribution_response_list.rb +10 -0
- data/lib/pulp_ansible_client/models/paginatedansible_ansible_namespace_metadata_response_list.rb +10 -0
- data/lib/pulp_ansible_client/models/paginatedansible_ansible_repository_response_list.rb +10 -0
- data/lib/pulp_ansible_client/models/paginatedansible_collection_remote_response_list.rb +10 -0
- data/lib/pulp_ansible_client/models/paginatedansible_collection_response_list.rb +10 -0
- data/lib/pulp_ansible_client/models/paginatedansible_collection_version_mark_response_list.rb +10 -0
- data/lib/pulp_ansible_client/models/paginatedansible_collection_version_response_list.rb +10 -0
- data/lib/pulp_ansible_client/models/paginatedansible_collection_version_signature_response_list.rb +10 -0
- data/lib/pulp_ansible_client/models/paginatedansible_git_remote_response_list.rb +10 -0
- data/lib/pulp_ansible_client/models/paginatedansible_role_remote_response_list.rb +10 -0
- data/lib/pulp_ansible_client/models/paginatedansible_role_response_list.rb +10 -0
- data/lib/pulp_ansible_client/models/patchedansible_git_remote.rb +226 -226
- data/lib/pulp_ansible_client/models/repository_response.rb +11 -1
- data/lib/pulp_ansible_client/models/repository_version_response.rb +11 -1
- data/lib/pulp_ansible_client/version.rb +1 -1
- data/lib/pulp_ansible_client.rb +3 -9
- data/spec/api/ansible_collections_api_spec.rb +14 -0
- data/spec/api/content_collection_deprecations_api_spec.rb +5 -5
- data/spec/api/versions_api_spec.rb +0 -14
- data/spec/models/{galaxy_collection_version_response_spec.rb → ansible_ansible_collection_deprecated_response_spec.rb} +11 -17
- data/spec/models/{ansible_collection_spec.rb → ansible_ansible_collection_deprecated_spec.rb} +12 -6
- data/spec/models/ansible_ansible_repository_response_spec.rb +6 -0
- data/spec/models/ansible_collection_remote_response_spec.rb +6 -6
- data/spec/models/ansible_collection_version_response_spec.rb +8 -2
- data/spec/models/ansible_collection_version_signature_response_spec.rb +6 -0
- data/spec/models/ansible_git_remote_response_spec.rb +17 -17
- data/spec/models/ansible_git_remote_spec.rb +20 -20
- data/spec/models/ansible_role_remote_response_spec.rb +6 -6
- data/spec/models/ansible_role_response_spec.rb +8 -2
- data/spec/models/{paginated_galaxy_collection_version_response_list_spec.rb → paginatedansible_ansible_collection_deprecated_response_list_spec.rb} +6 -6
- data/spec/models/patchedansible_git_remote_spec.rb +20 -20
- data/spec/models/repository_response_spec.rb +6 -0
- data/spec/models/repository_version_response_spec.rb +6 -0
- metadata +135 -159
- data/docs/ApiCollectionsApi.md +0 -112
- data/docs/GalaxyCollection.md +0 -23
- data/docs/GalaxyCollectionResponse.md +0 -31
- data/docs/GalaxyCollectionVersionResponse.md +0 -27
- data/docs/GalaxyDetailApi.md +0 -61
- data/docs/PaginatedGalaxyCollectionResponseList.md +0 -23
- data/docs/PaginatedGalaxyCollectionVersionResponseList.md +0 -23
- data/docs/PulpAnsibleApiV2CollectionsVersionsApi.md +0 -66
- data/lib/pulp_ansible_client/api/api_collections_api.rb +0 -159
- data/lib/pulp_ansible_client/api/galaxy_detail_api.rb +0 -88
- data/lib/pulp_ansible_client/api/pulp_ansible_api_v2_collections_versions_api.rb +0 -104
- data/lib/pulp_ansible_client/models/galaxy_collection.rb +0 -292
- data/lib/pulp_ansible_client/models/galaxy_collection_response.rb +0 -294
- data/lib/pulp_ansible_client/models/paginated_galaxy_collection_version_response_list.rb +0 -237
- data/spec/api/api_collections_api_spec.rb +0 -61
- data/spec/api/galaxy_detail_api_spec.rb +0 -48
- data/spec/api/pulp_ansible_api_v2_collections_versions_api_spec.rb +0 -51
- data/spec/models/galaxy_collection_response_spec.rb +0 -83
- data/spec/models/galaxy_collection_spec.rb +0 -59
- data/spec/models/paginated_galaxy_collection_response_list_spec.rb +0 -59
@@ -15,14 +15,17 @@ require 'date'
|
|
15
15
|
module PulpAnsibleClient
|
16
16
|
# A serializer for Role versions.
|
17
17
|
class AnsibleRoleResponse
|
18
|
-
# Timestamp of
|
19
|
-
attr_accessor :
|
20
|
-
|
21
|
-
attr_accessor :pulp_href
|
18
|
+
# 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.
|
19
|
+
attr_accessor :pulp_last_updated
|
22
20
|
|
23
21
|
# Artifact file representing the physical content
|
24
22
|
attr_accessor :artifact
|
25
23
|
|
24
|
+
attr_accessor :pulp_href
|
25
|
+
|
26
|
+
# Timestamp of creation.
|
27
|
+
attr_accessor :pulp_created
|
28
|
+
|
26
29
|
attr_accessor :version
|
27
30
|
|
28
31
|
attr_accessor :name
|
@@ -32,9 +35,10 @@ module PulpAnsibleClient
|
|
32
35
|
# Attribute mapping from ruby-style variable name to JSON key.
|
33
36
|
def self.attribute_map
|
34
37
|
{
|
35
|
-
:'
|
36
|
-
:'pulp_href' => :'pulp_href',
|
38
|
+
:'pulp_last_updated' => :'pulp_last_updated',
|
37
39
|
:'artifact' => :'artifact',
|
40
|
+
:'pulp_href' => :'pulp_href',
|
41
|
+
:'pulp_created' => :'pulp_created',
|
38
42
|
:'version' => :'version',
|
39
43
|
:'name' => :'name',
|
40
44
|
:'namespace' => :'namespace'
|
@@ -44,9 +48,10 @@ module PulpAnsibleClient
|
|
44
48
|
# Attribute type mapping.
|
45
49
|
def self.openapi_types
|
46
50
|
{
|
47
|
-
:'
|
48
|
-
:'pulp_href' => :'String',
|
51
|
+
:'pulp_last_updated' => :'DateTime',
|
49
52
|
:'artifact' => :'String',
|
53
|
+
:'pulp_href' => :'String',
|
54
|
+
:'pulp_created' => :'DateTime',
|
50
55
|
:'version' => :'String',
|
51
56
|
:'name' => :'String',
|
52
57
|
:'namespace' => :'String'
|
@@ -74,16 +79,20 @@ module PulpAnsibleClient
|
|
74
79
|
h[k.to_sym] = v
|
75
80
|
}
|
76
81
|
|
77
|
-
if attributes.key?(:'
|
78
|
-
self.
|
82
|
+
if attributes.key?(:'pulp_last_updated')
|
83
|
+
self.pulp_last_updated = attributes[:'pulp_last_updated']
|
84
|
+
end
|
85
|
+
|
86
|
+
if attributes.key?(:'artifact')
|
87
|
+
self.artifact = attributes[:'artifact']
|
79
88
|
end
|
80
89
|
|
81
90
|
if attributes.key?(:'pulp_href')
|
82
91
|
self.pulp_href = attributes[:'pulp_href']
|
83
92
|
end
|
84
93
|
|
85
|
-
if attributes.key?(:'
|
86
|
-
self.
|
94
|
+
if attributes.key?(:'pulp_created')
|
95
|
+
self.pulp_created = attributes[:'pulp_created']
|
87
96
|
end
|
88
97
|
|
89
98
|
if attributes.key?(:'version')
|
@@ -137,9 +146,10 @@ module PulpAnsibleClient
|
|
137
146
|
def ==(o)
|
138
147
|
return true if self.equal?(o)
|
139
148
|
self.class == o.class &&
|
140
|
-
|
141
|
-
pulp_href == o.pulp_href &&
|
149
|
+
pulp_last_updated == o.pulp_last_updated &&
|
142
150
|
artifact == o.artifact &&
|
151
|
+
pulp_href == o.pulp_href &&
|
152
|
+
pulp_created == o.pulp_created &&
|
143
153
|
version == o.version &&
|
144
154
|
name == o.name &&
|
145
155
|
namespace == o.namespace
|
@@ -154,7 +164,7 @@ module PulpAnsibleClient
|
|
154
164
|
# Calculates hash code according to all attributes.
|
155
165
|
# @return [Integer] Hash code
|
156
166
|
def hash
|
157
|
-
[
|
167
|
+
[pulp_last_updated, artifact, pulp_href, pulp_created, version, name, namespace].hash
|
158
168
|
end
|
159
169
|
|
160
170
|
# Builds the object from hash
|
@@ -55,8 +55,8 @@ module PulpAnsibleClient
|
|
55
55
|
def self.openapi_types
|
56
56
|
{
|
57
57
|
:'authors' => :'Array<String>',
|
58
|
-
:'contents' => :'
|
59
|
-
:'dependencies' => :'
|
58
|
+
:'contents' => :'AnyType',
|
59
|
+
:'dependencies' => :'AnyType',
|
60
60
|
:'description' => :'String',
|
61
61
|
:'documentation' => :'String',
|
62
62
|
:'homepage' => :'String',
|
@@ -68,8 +68,8 @@ module PulpAnsibleClient
|
|
68
68
|
:'version' => :'String',
|
69
69
|
:'requires_ansible' => :'String',
|
70
70
|
:'pulp_created' => :'DateTime',
|
71
|
-
:'contents' => :'
|
72
|
-
:'dependencies' => :'
|
71
|
+
:'contents' => :'AnyType',
|
72
|
+
:'dependencies' => :'AnyType',
|
73
73
|
:'description' => :'String',
|
74
74
|
:'tags' => :'Array<AnsibleTagResponse>'
|
75
75
|
}
|
@@ -97,8 +97,8 @@ module PulpAnsibleClient
|
|
97
97
|
:'metadata' => :'CollectionMetadataResponse',
|
98
98
|
:'git_url' => :'String',
|
99
99
|
:'git_commit_sha' => :'String',
|
100
|
-
:'manifest' => :'
|
101
|
-
:'files' => :'
|
100
|
+
:'manifest' => :'AnyType',
|
101
|
+
:'files' => :'AnyType'
|
102
102
|
}
|
103
103
|
end
|
104
104
|
|
@@ -88,12 +88,22 @@ module PulpAnsibleClient
|
|
88
88
|
# @return Array for valid properties with the reasons
|
89
89
|
def list_invalid_properties
|
90
90
|
invalid_properties = Array.new
|
91
|
+
if @count.nil?
|
92
|
+
invalid_properties.push('invalid value for "count", count cannot be nil.')
|
93
|
+
end
|
94
|
+
|
95
|
+
if @results.nil?
|
96
|
+
invalid_properties.push('invalid value for "results", results cannot be nil.')
|
97
|
+
end
|
98
|
+
|
91
99
|
invalid_properties
|
92
100
|
end
|
93
101
|
|
94
102
|
# Check to see if the all the properties in the model are valid
|
95
103
|
# @return true if the model is valid
|
96
104
|
def valid?
|
105
|
+
return false if @count.nil?
|
106
|
+
return false if @results.nil?
|
97
107
|
true
|
98
108
|
end
|
99
109
|
|
@@ -88,12 +88,22 @@ module PulpAnsibleClient
|
|
88
88
|
# @return Array for valid properties with the reasons
|
89
89
|
def list_invalid_properties
|
90
90
|
invalid_properties = Array.new
|
91
|
+
if @count.nil?
|
92
|
+
invalid_properties.push('invalid value for "count", count cannot be nil.')
|
93
|
+
end
|
94
|
+
|
95
|
+
if @results.nil?
|
96
|
+
invalid_properties.push('invalid value for "results", results cannot be nil.')
|
97
|
+
end
|
98
|
+
|
91
99
|
invalid_properties
|
92
100
|
end
|
93
101
|
|
94
102
|
# Check to see if the all the properties in the model are valid
|
95
103
|
# @return true if the model is valid
|
96
104
|
def valid?
|
105
|
+
return false if @count.nil?
|
106
|
+
return false if @results.nil?
|
97
107
|
true
|
98
108
|
end
|
99
109
|
|
@@ -88,12 +88,22 @@ module PulpAnsibleClient
|
|
88
88
|
# @return Array for valid properties with the reasons
|
89
89
|
def list_invalid_properties
|
90
90
|
invalid_properties = Array.new
|
91
|
+
if @count.nil?
|
92
|
+
invalid_properties.push('invalid value for "count", count cannot be nil.')
|
93
|
+
end
|
94
|
+
|
95
|
+
if @results.nil?
|
96
|
+
invalid_properties.push('invalid value for "results", results cannot be nil.')
|
97
|
+
end
|
98
|
+
|
91
99
|
invalid_properties
|
92
100
|
end
|
93
101
|
|
94
102
|
# Check to see if the all the properties in the model are valid
|
95
103
|
# @return true if the model is valid
|
96
104
|
def valid?
|
105
|
+
return false if @count.nil?
|
106
|
+
return false if @results.nil?
|
97
107
|
true
|
98
108
|
end
|
99
109
|
|
@@ -88,12 +88,22 @@ module PulpAnsibleClient
|
|
88
88
|
# @return Array for valid properties with the reasons
|
89
89
|
def list_invalid_properties
|
90
90
|
invalid_properties = Array.new
|
91
|
+
if @count.nil?
|
92
|
+
invalid_properties.push('invalid value for "count", count cannot be nil.')
|
93
|
+
end
|
94
|
+
|
95
|
+
if @results.nil?
|
96
|
+
invalid_properties.push('invalid value for "results", results cannot be nil.')
|
97
|
+
end
|
98
|
+
|
91
99
|
invalid_properties
|
92
100
|
end
|
93
101
|
|
94
102
|
# Check to see if the all the properties in the model are valid
|
95
103
|
# @return true if the model is valid
|
96
104
|
def valid?
|
105
|
+
return false if @count.nil?
|
106
|
+
return false if @results.nil?
|
97
107
|
true
|
98
108
|
end
|
99
109
|
|
@@ -13,7 +13,7 @@ OpenAPI Generator version: 4.3.1
|
|
13
13
|
require 'date'
|
14
14
|
|
15
15
|
module PulpAnsibleClient
|
16
|
-
class
|
16
|
+
class PaginatedansibleAnsibleCollectionDeprecatedResponseList
|
17
17
|
attr_accessor :count
|
18
18
|
|
19
19
|
attr_accessor :_next
|
@@ -38,7 +38,7 @@ module PulpAnsibleClient
|
|
38
38
|
:'count' => :'Integer',
|
39
39
|
:'_next' => :'String',
|
40
40
|
:'previous' => :'String',
|
41
|
-
:'results' => :'Array<
|
41
|
+
:'results' => :'Array<AnsibleAnsibleCollectionDeprecatedResponse>'
|
42
42
|
}
|
43
43
|
end
|
44
44
|
|
@@ -54,13 +54,13 @@ module PulpAnsibleClient
|
|
54
54
|
# @param [Hash] attributes Model attributes in the form of hash
|
55
55
|
def initialize(attributes = {})
|
56
56
|
if (!attributes.is_a?(Hash))
|
57
|
-
fail ArgumentError, "The input argument (attributes) must be a hash in `PulpAnsibleClient::
|
57
|
+
fail ArgumentError, "The input argument (attributes) must be a hash in `PulpAnsibleClient::PaginatedansibleAnsibleCollectionDeprecatedResponseList` initialize method"
|
58
58
|
end
|
59
59
|
|
60
60
|
# check to see if the attribute exists and convert string to symbol for hash key
|
61
61
|
attributes = attributes.each_with_object({}) { |(k, v), h|
|
62
62
|
if (!self.class.attribute_map.key?(k.to_sym))
|
63
|
-
fail ArgumentError, "`#{k}` is not a valid attribute in `PulpAnsibleClient::
|
63
|
+
fail ArgumentError, "`#{k}` is not a valid attribute in `PulpAnsibleClient::PaginatedansibleAnsibleCollectionDeprecatedResponseList`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect
|
64
64
|
end
|
65
65
|
h[k.to_sym] = v
|
66
66
|
}
|
@@ -88,12 +88,22 @@ module PulpAnsibleClient
|
|
88
88
|
# @return Array for valid properties with the reasons
|
89
89
|
def list_invalid_properties
|
90
90
|
invalid_properties = Array.new
|
91
|
+
if @count.nil?
|
92
|
+
invalid_properties.push('invalid value for "count", count cannot be nil.')
|
93
|
+
end
|
94
|
+
|
95
|
+
if @results.nil?
|
96
|
+
invalid_properties.push('invalid value for "results", results cannot be nil.')
|
97
|
+
end
|
98
|
+
|
91
99
|
invalid_properties
|
92
100
|
end
|
93
101
|
|
94
102
|
# Check to see if the all the properties in the model are valid
|
95
103
|
# @return true if the model is valid
|
96
104
|
def valid?
|
105
|
+
return false if @count.nil?
|
106
|
+
return false if @results.nil?
|
97
107
|
true
|
98
108
|
end
|
99
109
|
|
@@ -88,12 +88,22 @@ module PulpAnsibleClient
|
|
88
88
|
# @return Array for valid properties with the reasons
|
89
89
|
def list_invalid_properties
|
90
90
|
invalid_properties = Array.new
|
91
|
+
if @count.nil?
|
92
|
+
invalid_properties.push('invalid value for "count", count cannot be nil.')
|
93
|
+
end
|
94
|
+
|
95
|
+
if @results.nil?
|
96
|
+
invalid_properties.push('invalid value for "results", results cannot be nil.')
|
97
|
+
end
|
98
|
+
|
91
99
|
invalid_properties
|
92
100
|
end
|
93
101
|
|
94
102
|
# Check to see if the all the properties in the model are valid
|
95
103
|
# @return true if the model is valid
|
96
104
|
def valid?
|
105
|
+
return false if @count.nil?
|
106
|
+
return false if @results.nil?
|
97
107
|
true
|
98
108
|
end
|
99
109
|
|
data/lib/pulp_ansible_client/models/paginatedansible_ansible_namespace_metadata_response_list.rb
CHANGED
@@ -88,12 +88,22 @@ module PulpAnsibleClient
|
|
88
88
|
# @return Array for valid properties with the reasons
|
89
89
|
def list_invalid_properties
|
90
90
|
invalid_properties = Array.new
|
91
|
+
if @count.nil?
|
92
|
+
invalid_properties.push('invalid value for "count", count cannot be nil.')
|
93
|
+
end
|
94
|
+
|
95
|
+
if @results.nil?
|
96
|
+
invalid_properties.push('invalid value for "results", results cannot be nil.')
|
97
|
+
end
|
98
|
+
|
91
99
|
invalid_properties
|
92
100
|
end
|
93
101
|
|
94
102
|
# Check to see if the all the properties in the model are valid
|
95
103
|
# @return true if the model is valid
|
96
104
|
def valid?
|
105
|
+
return false if @count.nil?
|
106
|
+
return false if @results.nil?
|
97
107
|
true
|
98
108
|
end
|
99
109
|
|
@@ -88,12 +88,22 @@ module PulpAnsibleClient
|
|
88
88
|
# @return Array for valid properties with the reasons
|
89
89
|
def list_invalid_properties
|
90
90
|
invalid_properties = Array.new
|
91
|
+
if @count.nil?
|
92
|
+
invalid_properties.push('invalid value for "count", count cannot be nil.')
|
93
|
+
end
|
94
|
+
|
95
|
+
if @results.nil?
|
96
|
+
invalid_properties.push('invalid value for "results", results cannot be nil.')
|
97
|
+
end
|
98
|
+
|
91
99
|
invalid_properties
|
92
100
|
end
|
93
101
|
|
94
102
|
# Check to see if the all the properties in the model are valid
|
95
103
|
# @return true if the model is valid
|
96
104
|
def valid?
|
105
|
+
return false if @count.nil?
|
106
|
+
return false if @results.nil?
|
97
107
|
true
|
98
108
|
end
|
99
109
|
|
@@ -88,12 +88,22 @@ module PulpAnsibleClient
|
|
88
88
|
# @return Array for valid properties with the reasons
|
89
89
|
def list_invalid_properties
|
90
90
|
invalid_properties = Array.new
|
91
|
+
if @count.nil?
|
92
|
+
invalid_properties.push('invalid value for "count", count cannot be nil.')
|
93
|
+
end
|
94
|
+
|
95
|
+
if @results.nil?
|
96
|
+
invalid_properties.push('invalid value for "results", results cannot be nil.')
|
97
|
+
end
|
98
|
+
|
91
99
|
invalid_properties
|
92
100
|
end
|
93
101
|
|
94
102
|
# Check to see if the all the properties in the model are valid
|
95
103
|
# @return true if the model is valid
|
96
104
|
def valid?
|
105
|
+
return false if @count.nil?
|
106
|
+
return false if @results.nil?
|
97
107
|
true
|
98
108
|
end
|
99
109
|
|
@@ -88,12 +88,22 @@ module PulpAnsibleClient
|
|
88
88
|
# @return Array for valid properties with the reasons
|
89
89
|
def list_invalid_properties
|
90
90
|
invalid_properties = Array.new
|
91
|
+
if @count.nil?
|
92
|
+
invalid_properties.push('invalid value for "count", count cannot be nil.')
|
93
|
+
end
|
94
|
+
|
95
|
+
if @results.nil?
|
96
|
+
invalid_properties.push('invalid value for "results", results cannot be nil.')
|
97
|
+
end
|
98
|
+
|
91
99
|
invalid_properties
|
92
100
|
end
|
93
101
|
|
94
102
|
# Check to see if the all the properties in the model are valid
|
95
103
|
# @return true if the model is valid
|
96
104
|
def valid?
|
105
|
+
return false if @count.nil?
|
106
|
+
return false if @results.nil?
|
97
107
|
true
|
98
108
|
end
|
99
109
|
|
data/lib/pulp_ansible_client/models/paginatedansible_collection_version_mark_response_list.rb
CHANGED
@@ -88,12 +88,22 @@ module PulpAnsibleClient
|
|
88
88
|
# @return Array for valid properties with the reasons
|
89
89
|
def list_invalid_properties
|
90
90
|
invalid_properties = Array.new
|
91
|
+
if @count.nil?
|
92
|
+
invalid_properties.push('invalid value for "count", count cannot be nil.')
|
93
|
+
end
|
94
|
+
|
95
|
+
if @results.nil?
|
96
|
+
invalid_properties.push('invalid value for "results", results cannot be nil.')
|
97
|
+
end
|
98
|
+
|
91
99
|
invalid_properties
|
92
100
|
end
|
93
101
|
|
94
102
|
# Check to see if the all the properties in the model are valid
|
95
103
|
# @return true if the model is valid
|
96
104
|
def valid?
|
105
|
+
return false if @count.nil?
|
106
|
+
return false if @results.nil?
|
97
107
|
true
|
98
108
|
end
|
99
109
|
|
@@ -88,12 +88,22 @@ module PulpAnsibleClient
|
|
88
88
|
# @return Array for valid properties with the reasons
|
89
89
|
def list_invalid_properties
|
90
90
|
invalid_properties = Array.new
|
91
|
+
if @count.nil?
|
92
|
+
invalid_properties.push('invalid value for "count", count cannot be nil.')
|
93
|
+
end
|
94
|
+
|
95
|
+
if @results.nil?
|
96
|
+
invalid_properties.push('invalid value for "results", results cannot be nil.')
|
97
|
+
end
|
98
|
+
|
91
99
|
invalid_properties
|
92
100
|
end
|
93
101
|
|
94
102
|
# Check to see if the all the properties in the model are valid
|
95
103
|
# @return true if the model is valid
|
96
104
|
def valid?
|
105
|
+
return false if @count.nil?
|
106
|
+
return false if @results.nil?
|
97
107
|
true
|
98
108
|
end
|
99
109
|
|
data/lib/pulp_ansible_client/models/paginatedansible_collection_version_signature_response_list.rb
CHANGED
@@ -88,12 +88,22 @@ module PulpAnsibleClient
|
|
88
88
|
# @return Array for valid properties with the reasons
|
89
89
|
def list_invalid_properties
|
90
90
|
invalid_properties = Array.new
|
91
|
+
if @count.nil?
|
92
|
+
invalid_properties.push('invalid value for "count", count cannot be nil.')
|
93
|
+
end
|
94
|
+
|
95
|
+
if @results.nil?
|
96
|
+
invalid_properties.push('invalid value for "results", results cannot be nil.')
|
97
|
+
end
|
98
|
+
|
91
99
|
invalid_properties
|
92
100
|
end
|
93
101
|
|
94
102
|
# Check to see if the all the properties in the model are valid
|
95
103
|
# @return true if the model is valid
|
96
104
|
def valid?
|
105
|
+
return false if @count.nil?
|
106
|
+
return false if @results.nil?
|
97
107
|
true
|
98
108
|
end
|
99
109
|
|
@@ -88,12 +88,22 @@ module PulpAnsibleClient
|
|
88
88
|
# @return Array for valid properties with the reasons
|
89
89
|
def list_invalid_properties
|
90
90
|
invalid_properties = Array.new
|
91
|
+
if @count.nil?
|
92
|
+
invalid_properties.push('invalid value for "count", count cannot be nil.')
|
93
|
+
end
|
94
|
+
|
95
|
+
if @results.nil?
|
96
|
+
invalid_properties.push('invalid value for "results", results cannot be nil.')
|
97
|
+
end
|
98
|
+
|
91
99
|
invalid_properties
|
92
100
|
end
|
93
101
|
|
94
102
|
# Check to see if the all the properties in the model are valid
|
95
103
|
# @return true if the model is valid
|
96
104
|
def valid?
|
105
|
+
return false if @count.nil?
|
106
|
+
return false if @results.nil?
|
97
107
|
true
|
98
108
|
end
|
99
109
|
|
@@ -88,12 +88,22 @@ module PulpAnsibleClient
|
|
88
88
|
# @return Array for valid properties with the reasons
|
89
89
|
def list_invalid_properties
|
90
90
|
invalid_properties = Array.new
|
91
|
+
if @count.nil?
|
92
|
+
invalid_properties.push('invalid value for "count", count cannot be nil.')
|
93
|
+
end
|
94
|
+
|
95
|
+
if @results.nil?
|
96
|
+
invalid_properties.push('invalid value for "results", results cannot be nil.')
|
97
|
+
end
|
98
|
+
|
91
99
|
invalid_properties
|
92
100
|
end
|
93
101
|
|
94
102
|
# Check to see if the all the properties in the model are valid
|
95
103
|
# @return true if the model is valid
|
96
104
|
def valid?
|
105
|
+
return false if @count.nil?
|
106
|
+
return false if @results.nil?
|
97
107
|
true
|
98
108
|
end
|
99
109
|
|
@@ -88,12 +88,22 @@ module PulpAnsibleClient
|
|
88
88
|
# @return Array for valid properties with the reasons
|
89
89
|
def list_invalid_properties
|
90
90
|
invalid_properties = Array.new
|
91
|
+
if @count.nil?
|
92
|
+
invalid_properties.push('invalid value for "count", count cannot be nil.')
|
93
|
+
end
|
94
|
+
|
95
|
+
if @results.nil?
|
96
|
+
invalid_properties.push('invalid value for "results", results cannot be nil.')
|
97
|
+
end
|
98
|
+
|
91
99
|
invalid_properties
|
92
100
|
end
|
93
101
|
|
94
102
|
# Check to see if the all the properties in the model are valid
|
95
103
|
# @return true if the model is valid
|
96
104
|
def valid?
|
105
|
+
return false if @count.nil?
|
106
|
+
return false if @results.nil?
|
97
107
|
true
|
98
108
|
end
|
99
109
|
|