pulp_ansible_client 0.21.6 → 0.22.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (126) 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/AnsibleCollectionVersion.md +4 -4
  9. data/docs/AnsibleCollectionVersionResponse.md +10 -8
  10. data/docs/AnsibleCollectionVersionSignatureResponse.md +2 -0
  11. data/docs/AnsibleCollectionsApi.md +60 -0
  12. data/docs/AnsibleGitRemote.md +26 -26
  13. data/docs/AnsibleGitRemoteResponse.md +26 -26
  14. data/docs/AnsibleRoleRemoteResponse.md +2 -2
  15. data/docs/AnsibleRoleResponse.md +4 -2
  16. data/docs/CollectionImportDetailResponse.md +2 -2
  17. data/docs/CollectionMetadataResponse.md +2 -2
  18. data/docs/CollectionSummaryResponse.md +2 -2
  19. data/docs/CollectionVersionDocsResponse.md +1 -1
  20. data/docs/CollectionVersionResponse.md +2 -2
  21. data/docs/ContentCollectionDeprecationsApi.md +10 -10
  22. data/docs/ContentCollectionVersionsApi.md +4 -4
  23. data/docs/Copy.md +1 -1
  24. data/docs/PaginatedGalaxyRoleResponseList.md +2 -2
  25. data/docs/PaginatedGalaxyRoleVersionResponseList.md +2 -2
  26. data/docs/PaginatedRepositoryVersionResponseList.md +2 -2
  27. data/docs/PaginatedTagResponseList.md +2 -2
  28. data/docs/PaginatedansibleAnsibleCollectionDeprecatedResponseList.md +23 -0
  29. data/docs/PaginatedansibleAnsibleDistributionResponseList.md +2 -2
  30. data/docs/PaginatedansibleAnsibleNamespaceMetadataResponseList.md +2 -2
  31. data/docs/PaginatedansibleAnsibleRepositoryResponseList.md +2 -2
  32. data/docs/PaginatedansibleCollectionRemoteResponseList.md +2 -2
  33. data/docs/PaginatedansibleCollectionResponseList.md +2 -2
  34. data/docs/PaginatedansibleCollectionVersionMarkResponseList.md +2 -2
  35. data/docs/PaginatedansibleCollectionVersionResponseList.md +2 -2
  36. data/docs/PaginatedansibleCollectionVersionSignatureResponseList.md +2 -2
  37. data/docs/PaginatedansibleGitRemoteResponseList.md +2 -2
  38. data/docs/PaginatedansibleRoleRemoteResponseList.md +2 -2
  39. data/docs/PaginatedansibleRoleResponseList.md +2 -2
  40. data/docs/PatchedansibleGitRemote.md +26 -26
  41. data/docs/RepositoryResponse.md +2 -0
  42. data/docs/RepositoryVersionResponse.md +2 -0
  43. data/docs/VersionsApi.md +0 -55
  44. data/lib/pulp_ansible_client/api/ansible_collections_api.rb +68 -0
  45. data/lib/pulp_ansible_client/api/content_collection_deprecations_api.rb +20 -20
  46. data/lib/pulp_ansible_client/api/content_collection_versions_api.rb +6 -6
  47. data/lib/pulp_ansible_client/api/versions_api.rb +0 -69
  48. data/lib/pulp_ansible_client/models/{ansible_collection.rb → ansible_ansible_collection_deprecated.rb} +15 -5
  49. data/lib/pulp_ansible_client/models/{galaxy_collection_version_response.rb → ansible_ansible_collection_deprecated_response.rb} +45 -54
  50. data/lib/pulp_ansible_client/models/ansible_ansible_repository_response.rb +11 -1
  51. data/lib/pulp_ansible_client/models/ansible_collection_remote_response.rb +11 -11
  52. data/lib/pulp_ansible_client/models/ansible_collection_remote_response_hidden_fields.rb +10 -0
  53. data/lib/pulp_ansible_client/models/ansible_collection_version.rb +18 -18
  54. data/lib/pulp_ansible_client/models/ansible_collection_version_response.rb +25 -15
  55. data/lib/pulp_ansible_client/models/ansible_collection_version_signature_response.rb +11 -1
  56. data/lib/pulp_ansible_client/models/ansible_git_remote.rb +233 -233
  57. data/lib/pulp_ansible_client/models/ansible_git_remote_response.rb +141 -141
  58. data/lib/pulp_ansible_client/models/ansible_role_remote_response.rb +11 -11
  59. data/lib/pulp_ansible_client/models/ansible_role_response.rb +18 -8
  60. data/lib/pulp_ansible_client/models/collection_import_detail_response.rb +2 -2
  61. data/lib/pulp_ansible_client/models/collection_metadata_response.rb +2 -2
  62. data/lib/pulp_ansible_client/models/collection_summary_response.rb +2 -2
  63. data/lib/pulp_ansible_client/models/collection_version_docs_response.rb +1 -1
  64. data/lib/pulp_ansible_client/models/collection_version_response.rb +2 -2
  65. data/lib/pulp_ansible_client/models/copy.rb +1 -1
  66. data/lib/pulp_ansible_client/models/paginated_galaxy_role_response_list.rb +10 -0
  67. data/lib/pulp_ansible_client/models/paginated_galaxy_role_version_response_list.rb +10 -0
  68. data/lib/pulp_ansible_client/models/paginated_repository_version_response_list.rb +10 -0
  69. data/lib/pulp_ansible_client/models/paginated_tag_response_list.rb +10 -0
  70. data/lib/pulp_ansible_client/models/{paginated_galaxy_collection_response_list.rb → paginatedansible_ansible_collection_deprecated_response_list.rb} +14 -4
  71. data/lib/pulp_ansible_client/models/paginatedansible_ansible_distribution_response_list.rb +10 -0
  72. data/lib/pulp_ansible_client/models/paginatedansible_ansible_namespace_metadata_response_list.rb +10 -0
  73. data/lib/pulp_ansible_client/models/paginatedansible_ansible_repository_response_list.rb +10 -0
  74. data/lib/pulp_ansible_client/models/paginatedansible_collection_remote_response_list.rb +10 -0
  75. data/lib/pulp_ansible_client/models/paginatedansible_collection_response_list.rb +10 -0
  76. data/lib/pulp_ansible_client/models/paginatedansible_collection_version_mark_response_list.rb +10 -0
  77. data/lib/pulp_ansible_client/models/paginatedansible_collection_version_response_list.rb +10 -0
  78. data/lib/pulp_ansible_client/models/paginatedansible_collection_version_signature_response_list.rb +10 -0
  79. data/lib/pulp_ansible_client/models/paginatedansible_git_remote_response_list.rb +10 -0
  80. data/lib/pulp_ansible_client/models/paginatedansible_role_remote_response_list.rb +10 -0
  81. data/lib/pulp_ansible_client/models/paginatedansible_role_response_list.rb +10 -0
  82. data/lib/pulp_ansible_client/models/patchedansible_git_remote.rb +222 -222
  83. data/lib/pulp_ansible_client/models/repository_response.rb +11 -1
  84. data/lib/pulp_ansible_client/models/repository_version_response.rb +11 -1
  85. data/lib/pulp_ansible_client/version.rb +1 -1
  86. data/lib/pulp_ansible_client.rb +3 -9
  87. data/spec/api/ansible_collections_api_spec.rb +14 -0
  88. data/spec/api/content_collection_deprecations_api_spec.rb +5 -5
  89. data/spec/api/content_collection_versions_api_spec.rb +2 -2
  90. data/spec/api/versions_api_spec.rb +0 -14
  91. data/spec/models/{galaxy_collection_version_response_spec.rb → ansible_ansible_collection_deprecated_response_spec.rb} +11 -17
  92. data/spec/models/{ansible_collection_spec.rb → ansible_ansible_collection_deprecated_spec.rb} +12 -6
  93. data/spec/models/ansible_ansible_repository_response_spec.rb +6 -0
  94. data/spec/models/ansible_collection_remote_response_spec.rb +6 -6
  95. data/spec/models/ansible_collection_version_response_spec.rb +8 -2
  96. data/spec/models/ansible_collection_version_signature_response_spec.rb +6 -0
  97. data/spec/models/ansible_collection_version_spec.rb +3 -3
  98. data/spec/models/ansible_git_remote_response_spec.rb +19 -19
  99. data/spec/models/ansible_git_remote_spec.rb +18 -18
  100. data/spec/models/ansible_role_remote_response_spec.rb +6 -6
  101. data/spec/models/ansible_role_response_spec.rb +7 -1
  102. data/spec/models/{paginated_galaxy_collection_version_response_list_spec.rb → paginatedansible_ansible_collection_deprecated_response_list_spec.rb} +6 -6
  103. data/spec/models/patchedansible_git_remote_spec.rb +18 -18
  104. data/spec/models/repository_response_spec.rb +6 -0
  105. data/spec/models/repository_version_response_spec.rb +6 -0
  106. metadata +140 -164
  107. data/docs/ApiCollectionsApi.md +0 -112
  108. data/docs/GalaxyCollection.md +0 -23
  109. data/docs/GalaxyCollectionResponse.md +0 -31
  110. data/docs/GalaxyCollectionVersionResponse.md +0 -27
  111. data/docs/GalaxyDetailApi.md +0 -61
  112. data/docs/PaginatedGalaxyCollectionResponseList.md +0 -23
  113. data/docs/PaginatedGalaxyCollectionVersionResponseList.md +0 -23
  114. data/docs/PulpAnsibleApiV2CollectionsVersionsApi.md +0 -66
  115. data/lib/pulp_ansible_client/api/api_collections_api.rb +0 -159
  116. data/lib/pulp_ansible_client/api/galaxy_detail_api.rb +0 -88
  117. data/lib/pulp_ansible_client/api/pulp_ansible_api_v2_collections_versions_api.rb +0 -104
  118. data/lib/pulp_ansible_client/models/galaxy_collection.rb +0 -292
  119. data/lib/pulp_ansible_client/models/galaxy_collection_response.rb +0 -294
  120. data/lib/pulp_ansible_client/models/paginated_galaxy_collection_version_response_list.rb +0 -237
  121. data/spec/api/api_collections_api_spec.rb +0 -61
  122. data/spec/api/galaxy_detail_api_spec.rb +0 -48
  123. data/spec/api/pulp_ansible_api_v2_collections_versions_api_spec.rb +0 -51
  124. data/spec/models/galaxy_collection_response_spec.rb +0 -83
  125. data/spec/models/galaxy_collection_spec.rb +0 -59
  126. data/spec/models/paginated_galaxy_collection_response_list_spec.rb +0 -59
@@ -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