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.
Files changed (120) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +8 -15
  3. data/docs/{AnsibleCollection.md → AnsibleAnsibleCollectionDeprecated.md} +4 -2
  4. data/docs/AnsibleAnsibleCollectionDeprecatedResponse.md +25 -0
  5. data/docs/AnsibleAnsibleRepositoryResponse.md +2 -0
  6. data/docs/AnsibleCollectionRemoteResponse.md +2 -2
  7. data/docs/AnsibleCollectionRemoteResponseHiddenFields.md +2 -2
  8. data/docs/AnsibleCollectionVersionResponse.md +11 -9
  9. data/docs/AnsibleCollectionVersionSignatureResponse.md +2 -0
  10. data/docs/AnsibleCollectionsApi.md +60 -0
  11. data/docs/AnsibleGitRemote.md +28 -28
  12. data/docs/AnsibleGitRemoteResponse.md +26 -26
  13. data/docs/AnsibleRoleRemoteResponse.md +2 -2
  14. data/docs/AnsibleRoleResponse.md +6 -4
  15. data/docs/CollectionImportDetailResponse.md +2 -2
  16. data/docs/CollectionMetadataResponse.md +2 -2
  17. data/docs/CollectionSummaryResponse.md +2 -2
  18. data/docs/CollectionVersionDocsResponse.md +1 -1
  19. data/docs/CollectionVersionResponse.md +2 -2
  20. data/docs/ContentCollectionDeprecationsApi.md +10 -10
  21. data/docs/Copy.md +1 -1
  22. data/docs/PaginatedGalaxyRoleResponseList.md +2 -2
  23. data/docs/PaginatedGalaxyRoleVersionResponseList.md +2 -2
  24. data/docs/PaginatedRepositoryVersionResponseList.md +2 -2
  25. data/docs/PaginatedTagResponseList.md +2 -2
  26. data/docs/PaginatedansibleAnsibleCollectionDeprecatedResponseList.md +23 -0
  27. data/docs/PaginatedansibleAnsibleDistributionResponseList.md +2 -2
  28. data/docs/PaginatedansibleAnsibleNamespaceMetadataResponseList.md +2 -2
  29. data/docs/PaginatedansibleAnsibleRepositoryResponseList.md +2 -2
  30. data/docs/PaginatedansibleCollectionRemoteResponseList.md +2 -2
  31. data/docs/PaginatedansibleCollectionResponseList.md +2 -2
  32. data/docs/PaginatedansibleCollectionVersionMarkResponseList.md +2 -2
  33. data/docs/PaginatedansibleCollectionVersionResponseList.md +2 -2
  34. data/docs/PaginatedansibleCollectionVersionSignatureResponseList.md +2 -2
  35. data/docs/PaginatedansibleGitRemoteResponseList.md +2 -2
  36. data/docs/PaginatedansibleRoleRemoteResponseList.md +2 -2
  37. data/docs/PaginatedansibleRoleResponseList.md +2 -2
  38. data/docs/PatchedansibleGitRemote.md +28 -28
  39. data/docs/RepositoryResponse.md +2 -0
  40. data/docs/RepositoryVersionResponse.md +2 -0
  41. data/docs/VersionsApi.md +0 -55
  42. data/lib/pulp_ansible_client/api/ansible_collections_api.rb +68 -0
  43. data/lib/pulp_ansible_client/api/content_collection_deprecations_api.rb +20 -20
  44. data/lib/pulp_ansible_client/api/versions_api.rb +0 -69
  45. data/lib/pulp_ansible_client/models/{ansible_collection.rb → ansible_ansible_collection_deprecated.rb} +15 -5
  46. data/lib/pulp_ansible_client/models/{galaxy_collection_version_response.rb → ansible_ansible_collection_deprecated_response.rb} +45 -54
  47. data/lib/pulp_ansible_client/models/ansible_ansible_repository_response.rb +11 -1
  48. data/lib/pulp_ansible_client/models/ansible_collection_remote_response.rb +11 -11
  49. data/lib/pulp_ansible_client/models/ansible_collection_remote_response_hidden_fields.rb +10 -0
  50. data/lib/pulp_ansible_client/models/ansible_collection_version_response.rb +30 -20
  51. data/lib/pulp_ansible_client/models/ansible_collection_version_signature_response.rb +11 -1
  52. data/lib/pulp_ansible_client/models/ansible_git_remote.rb +232 -232
  53. data/lib/pulp_ansible_client/models/ansible_git_remote_response.rb +153 -153
  54. data/lib/pulp_ansible_client/models/ansible_role_remote_response.rb +11 -11
  55. data/lib/pulp_ansible_client/models/ansible_role_response.rb +25 -15
  56. data/lib/pulp_ansible_client/models/collection_import_detail_response.rb +2 -2
  57. data/lib/pulp_ansible_client/models/collection_metadata_response.rb +2 -2
  58. data/lib/pulp_ansible_client/models/collection_summary_response.rb +2 -2
  59. data/lib/pulp_ansible_client/models/collection_version_docs_response.rb +1 -1
  60. data/lib/pulp_ansible_client/models/collection_version_response.rb +2 -2
  61. data/lib/pulp_ansible_client/models/copy.rb +1 -1
  62. data/lib/pulp_ansible_client/models/paginated_galaxy_role_response_list.rb +10 -0
  63. data/lib/pulp_ansible_client/models/paginated_galaxy_role_version_response_list.rb +10 -0
  64. data/lib/pulp_ansible_client/models/paginated_repository_version_response_list.rb +10 -0
  65. data/lib/pulp_ansible_client/models/paginated_tag_response_list.rb +10 -0
  66. data/lib/pulp_ansible_client/models/{paginated_galaxy_collection_response_list.rb → paginatedansible_ansible_collection_deprecated_response_list.rb} +14 -4
  67. data/lib/pulp_ansible_client/models/paginatedansible_ansible_distribution_response_list.rb +10 -0
  68. data/lib/pulp_ansible_client/models/paginatedansible_ansible_namespace_metadata_response_list.rb +10 -0
  69. data/lib/pulp_ansible_client/models/paginatedansible_ansible_repository_response_list.rb +10 -0
  70. data/lib/pulp_ansible_client/models/paginatedansible_collection_remote_response_list.rb +10 -0
  71. data/lib/pulp_ansible_client/models/paginatedansible_collection_response_list.rb +10 -0
  72. data/lib/pulp_ansible_client/models/paginatedansible_collection_version_mark_response_list.rb +10 -0
  73. data/lib/pulp_ansible_client/models/paginatedansible_collection_version_response_list.rb +10 -0
  74. data/lib/pulp_ansible_client/models/paginatedansible_collection_version_signature_response_list.rb +10 -0
  75. data/lib/pulp_ansible_client/models/paginatedansible_git_remote_response_list.rb +10 -0
  76. data/lib/pulp_ansible_client/models/paginatedansible_role_remote_response_list.rb +10 -0
  77. data/lib/pulp_ansible_client/models/paginatedansible_role_response_list.rb +10 -0
  78. data/lib/pulp_ansible_client/models/patchedansible_git_remote.rb +226 -226
  79. data/lib/pulp_ansible_client/models/repository_response.rb +11 -1
  80. data/lib/pulp_ansible_client/models/repository_version_response.rb +11 -1
  81. data/lib/pulp_ansible_client/version.rb +1 -1
  82. data/lib/pulp_ansible_client.rb +3 -9
  83. data/spec/api/ansible_collections_api_spec.rb +14 -0
  84. data/spec/api/content_collection_deprecations_api_spec.rb +5 -5
  85. data/spec/api/versions_api_spec.rb +0 -14
  86. data/spec/models/{galaxy_collection_version_response_spec.rb → ansible_ansible_collection_deprecated_response_spec.rb} +11 -17
  87. data/spec/models/{ansible_collection_spec.rb → ansible_ansible_collection_deprecated_spec.rb} +12 -6
  88. data/spec/models/ansible_ansible_repository_response_spec.rb +6 -0
  89. data/spec/models/ansible_collection_remote_response_spec.rb +6 -6
  90. data/spec/models/ansible_collection_version_response_spec.rb +8 -2
  91. data/spec/models/ansible_collection_version_signature_response_spec.rb +6 -0
  92. data/spec/models/ansible_git_remote_response_spec.rb +17 -17
  93. data/spec/models/ansible_git_remote_spec.rb +20 -20
  94. data/spec/models/ansible_role_remote_response_spec.rb +6 -6
  95. data/spec/models/ansible_role_response_spec.rb +8 -2
  96. data/spec/models/{paginated_galaxy_collection_version_response_list_spec.rb → paginatedansible_ansible_collection_deprecated_response_list_spec.rb} +6 -6
  97. data/spec/models/patchedansible_git_remote_spec.rb +20 -20
  98. data/spec/models/repository_response_spec.rb +6 -0
  99. data/spec/models/repository_version_response_spec.rb +6 -0
  100. metadata +135 -159
  101. data/docs/ApiCollectionsApi.md +0 -112
  102. data/docs/GalaxyCollection.md +0 -23
  103. data/docs/GalaxyCollectionResponse.md +0 -31
  104. data/docs/GalaxyCollectionVersionResponse.md +0 -27
  105. data/docs/GalaxyDetailApi.md +0 -61
  106. data/docs/PaginatedGalaxyCollectionResponseList.md +0 -23
  107. data/docs/PaginatedGalaxyCollectionVersionResponseList.md +0 -23
  108. data/docs/PulpAnsibleApiV2CollectionsVersionsApi.md +0 -66
  109. data/lib/pulp_ansible_client/api/api_collections_api.rb +0 -159
  110. data/lib/pulp_ansible_client/api/galaxy_detail_api.rb +0 -88
  111. data/lib/pulp_ansible_client/api/pulp_ansible_api_v2_collections_versions_api.rb +0 -104
  112. data/lib/pulp_ansible_client/models/galaxy_collection.rb +0 -292
  113. data/lib/pulp_ansible_client/models/galaxy_collection_response.rb +0 -294
  114. data/lib/pulp_ansible_client/models/paginated_galaxy_collection_version_response_list.rb +0 -237
  115. data/spec/api/api_collections_api_spec.rb +0 -61
  116. data/spec/api/galaxy_detail_api_spec.rb +0 -48
  117. data/spec/api/pulp_ansible_api_v2_collections_versions_api_spec.rb +0 -51
  118. data/spec/models/galaxy_collection_response_spec.rb +0 -83
  119. data/spec/models/galaxy_collection_spec.rb +0 -59
  120. 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 creation.
19
- attr_accessor :pulp_created
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
- :'pulp_created' => :'pulp_created',
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
- :'pulp_created' => :'DateTime',
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?(:'pulp_created')
78
- self.pulp_created = attributes[:'pulp_created']
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?(:'artifact')
86
- self.artifact = attributes[:'artifact']
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
- pulp_created == o.pulp_created &&
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
- [pulp_created, pulp_href, artifact, version, name, namespace].hash
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
@@ -54,8 +54,8 @@ module PulpAnsibleClient
54
54
  :'updated_at' => :'DateTime',
55
55
  :'started_at' => :'DateTime',
56
56
  :'finished_at' => :'DateTime',
57
- :'error' => :'Object',
58
- :'messages' => :'Object'
57
+ :'error' => :'AnyType',
58
+ :'messages' => :'AnyType'
59
59
  }
60
60
  end
61
61
 
@@ -55,8 +55,8 @@ module PulpAnsibleClient
55
55
  def self.openapi_types
56
56
  {
57
57
  :'authors' => :'Array<String>',
58
- :'contents' => :'Object',
59
- :'dependencies' => :'Object',
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' => :'Object',
72
- :'dependencies' => :'Object',
71
+ :'contents' => :'AnyType',
72
+ :'dependencies' => :'AnyType',
73
73
  :'description' => :'String',
74
74
  :'tags' => :'Array<AnsibleTagResponse>'
75
75
  }
@@ -27,7 +27,7 @@ module PulpAnsibleClient
27
27
  # Attribute type mapping.
28
28
  def self.openapi_types
29
29
  {
30
- :'docs_blob' => :'Object'
30
+ :'docs_blob' => :'AnyType'
31
31
  }
32
32
  end
33
33
 
@@ -97,8 +97,8 @@ module PulpAnsibleClient
97
97
  :'metadata' => :'CollectionMetadataResponse',
98
98
  :'git_url' => :'String',
99
99
  :'git_commit_sha' => :'String',
100
- :'manifest' => :'Object',
101
- :'files' => :'Object'
100
+ :'manifest' => :'AnyType',
101
+ :'files' => :'AnyType'
102
102
  }
103
103
  end
104
104
 
@@ -28,7 +28,7 @@ module PulpAnsibleClient
28
28
  # Attribute type mapping.
29
29
  def self.openapi_types
30
30
  {
31
- :'config' => :'Object'
31
+ :'config' => :'AnyType'
32
32
  }
33
33
  end
34
34
 
@@ -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 PaginatedGalaxyCollectionResponseList
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<GalaxyCollectionResponse>'
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::PaginatedGalaxyCollectionResponseList` initialize method"
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::PaginatedGalaxyCollectionResponseList`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect
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
 
@@ -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
 
@@ -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
 
@@ -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