pulpcore_client 3.39.33 → 3.40.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (128) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +5 -5
  3. data/docs/AccessPoliciesApi.md +1 -1
  4. data/docs/ArtifactDistributionResponse.md +9 -9
  5. data/docs/ArtifactsApi.md +1 -1
  6. data/docs/ContentApi.md +5 -5
  7. data/docs/ContentguardsApi.md +1 -1
  8. data/docs/ContentguardsContentRedirectApi.md +1 -1
  9. data/docs/ContentguardsHeaderApi.md +1 -1
  10. data/docs/ContentguardsRbacApi.md +1 -1
  11. data/docs/DistributionsApi.md +5 -5
  12. data/docs/DistributionsArtifactsApi.md +1 -1
  13. data/docs/DomainsApi.md +1 -1
  14. data/docs/ExportersFilesystemApi.md +1 -1
  15. data/docs/ExportersFilesystemExportsApi.md +1 -1
  16. data/docs/ExportersPulpApi.md +1 -1
  17. data/docs/ExportersPulpExportsApi.md +1 -1
  18. data/docs/GroupsApi.md +1 -1
  19. data/docs/GroupsRolesApi.md +1 -1
  20. data/docs/GroupsUsersApi.md +1 -1
  21. data/docs/ImportersPulpApi.md +1 -1
  22. data/docs/ImportersPulpImportCheckApi.md +1 -1
  23. data/docs/ImportersPulpImportsApi.md +1 -1
  24. data/docs/OrphansApi.md +1 -1
  25. data/docs/OrphansCleanupApi.md +1 -1
  26. data/docs/PaginatedAccessPolicyResponseList.md +2 -2
  27. data/docs/PaginatedArtifactDistributionResponseList.md +2 -2
  28. data/docs/PaginatedArtifactResponseList.md +2 -2
  29. data/docs/PaginatedContentGuardResponseList.md +2 -2
  30. data/docs/PaginatedContentRedirectContentGuardResponseList.md +2 -2
  31. data/docs/PaginatedDistributionResponseList.md +2 -2
  32. data/docs/PaginatedDomainResponseList.md +2 -2
  33. data/docs/PaginatedFilesystemExportResponseList.md +2 -2
  34. data/docs/PaginatedFilesystemExporterResponseList.md +2 -2
  35. data/docs/PaginatedGroupResponseList.md +2 -2
  36. data/docs/PaginatedGroupRoleResponseList.md +2 -2
  37. data/docs/PaginatedGroupUserResponseList.md +2 -2
  38. data/docs/PaginatedHeaderContentGuardResponseList.md +2 -2
  39. data/docs/PaginatedImportResponseList.md +2 -2
  40. data/docs/PaginatedMultipleArtifactContentResponseList.md +2 -2
  41. data/docs/PaginatedPublicationResponseList.md +2 -2
  42. data/docs/PaginatedPulpExportResponseList.md +2 -2
  43. data/docs/PaginatedPulpExporterResponseList.md +2 -2
  44. data/docs/PaginatedPulpImporterResponseList.md +2 -2
  45. data/docs/PaginatedRBACContentGuardResponseList.md +2 -2
  46. data/docs/PaginatedRemoteResponseList.md +2 -2
  47. data/docs/PaginatedRepositoryResponseList.md +2 -2
  48. data/docs/PaginatedRepositoryVersionResponseList.md +2 -2
  49. data/docs/PaginatedRoleResponseList.md +2 -2
  50. data/docs/PaginatedSigningServiceResponseList.md +2 -2
  51. data/docs/PaginatedTaskGroupResponseList.md +2 -2
  52. data/docs/PaginatedTaskResponseList.md +2 -2
  53. data/docs/PaginatedTaskScheduleResponseList.md +2 -2
  54. data/docs/PaginatedUploadResponseList.md +2 -2
  55. data/docs/PaginatedUpstreamPulpResponseList.md +2 -2
  56. data/docs/PaginatedUserResponseList.md +2 -2
  57. data/docs/PaginatedUserRoleResponseList.md +2 -2
  58. data/docs/PaginatedWorkerResponseList.md +2 -2
  59. data/docs/PublicationsApi.md +5 -5
  60. data/docs/RemoteResponseHiddenFields.md +2 -2
  61. data/docs/RemotesApi.md +5 -5
  62. data/docs/RepairApi.md +1 -1
  63. data/docs/RepositoriesApi.md +5 -5
  64. data/docs/RepositoriesReclaimSpaceApi.md +1 -1
  65. data/docs/RepositoryVersionsApi.md +1 -1
  66. data/docs/RolesApi.md +1 -1
  67. data/docs/SigningServicesApi.md +1 -1
  68. data/docs/StatusApi.md +1 -1
  69. data/docs/TaskGroupsApi.md +1 -1
  70. data/docs/TaskSchedulesApi.md +1 -1
  71. data/docs/TasksApi.md +3 -3
  72. data/docs/UploadsApi.md +1 -1
  73. data/docs/UpstreamPulpsApi.md +1 -1
  74. data/docs/UsersApi.md +1 -1
  75. data/docs/UsersRolesApi.md +1 -1
  76. data/docs/WorkersApi.md +1 -1
  77. data/lib/pulpcore_client/api/content_api.rb +6 -6
  78. data/lib/pulpcore_client/api/distributions_api.rb +6 -6
  79. data/lib/pulpcore_client/api/publications_api.rb +12 -4
  80. data/lib/pulpcore_client/api/remotes_api.rb +12 -4
  81. data/lib/pulpcore_client/api/repositories_api.rb +12 -4
  82. data/lib/pulpcore_client/api/tasks_api.rb +3 -3
  83. data/lib/pulpcore_client/configuration.rb +2 -2
  84. data/lib/pulpcore_client/models/artifact_distribution_response.rb +36 -36
  85. data/lib/pulpcore_client/models/paginated_access_policy_response_list.rb +0 -10
  86. data/lib/pulpcore_client/models/paginated_artifact_distribution_response_list.rb +0 -10
  87. data/lib/pulpcore_client/models/paginated_artifact_response_list.rb +0 -10
  88. data/lib/pulpcore_client/models/paginated_content_guard_response_list.rb +0 -10
  89. data/lib/pulpcore_client/models/paginated_content_redirect_content_guard_response_list.rb +0 -10
  90. data/lib/pulpcore_client/models/paginated_distribution_response_list.rb +0 -10
  91. data/lib/pulpcore_client/models/paginated_domain_response_list.rb +0 -10
  92. data/lib/pulpcore_client/models/paginated_filesystem_export_response_list.rb +0 -10
  93. data/lib/pulpcore_client/models/paginated_filesystem_exporter_response_list.rb +0 -10
  94. data/lib/pulpcore_client/models/paginated_group_response_list.rb +0 -10
  95. data/lib/pulpcore_client/models/paginated_group_role_response_list.rb +0 -10
  96. data/lib/pulpcore_client/models/paginated_group_user_response_list.rb +0 -10
  97. data/lib/pulpcore_client/models/paginated_header_content_guard_response_list.rb +0 -10
  98. data/lib/pulpcore_client/models/paginated_import_response_list.rb +0 -10
  99. data/lib/pulpcore_client/models/paginated_multiple_artifact_content_response_list.rb +0 -10
  100. data/lib/pulpcore_client/models/paginated_publication_response_list.rb +0 -10
  101. data/lib/pulpcore_client/models/paginated_pulp_export_response_list.rb +0 -10
  102. data/lib/pulpcore_client/models/paginated_pulp_exporter_response_list.rb +0 -10
  103. data/lib/pulpcore_client/models/paginated_pulp_importer_response_list.rb +0 -10
  104. data/lib/pulpcore_client/models/paginated_rbac_content_guard_response_list.rb +0 -10
  105. data/lib/pulpcore_client/models/paginated_remote_response_list.rb +0 -10
  106. data/lib/pulpcore_client/models/paginated_repository_response_list.rb +0 -10
  107. data/lib/pulpcore_client/models/paginated_repository_version_response_list.rb +0 -10
  108. data/lib/pulpcore_client/models/paginated_role_response_list.rb +0 -10
  109. data/lib/pulpcore_client/models/paginated_signing_service_response_list.rb +0 -10
  110. data/lib/pulpcore_client/models/paginated_task_group_response_list.rb +0 -10
  111. data/lib/pulpcore_client/models/paginated_task_response_list.rb +0 -10
  112. data/lib/pulpcore_client/models/paginated_task_schedule_response_list.rb +0 -10
  113. data/lib/pulpcore_client/models/paginated_upload_response_list.rb +0 -10
  114. data/lib/pulpcore_client/models/paginated_upstream_pulp_response_list.rb +0 -10
  115. data/lib/pulpcore_client/models/paginated_user_response_list.rb +0 -10
  116. data/lib/pulpcore_client/models/paginated_user_role_response_list.rb +0 -10
  117. data/lib/pulpcore_client/models/paginated_worker_response_list.rb +0 -10
  118. data/lib/pulpcore_client/models/remote_response_hidden_fields.rb +0 -10
  119. data/lib/pulpcore_client/version.rb +1 -1
  120. data/spec/api/content_api_spec.rb +2 -2
  121. data/spec/api/distributions_api_spec.rb +2 -2
  122. data/spec/api/publications_api_spec.rb +2 -2
  123. data/spec/api/remotes_api_spec.rb +2 -2
  124. data/spec/api/repositories_api_spec.rb +2 -2
  125. data/spec/api/tasks_api_spec.rb +1 -1
  126. data/spec/configuration_spec.rb +3 -3
  127. data/spec/models/artifact_distribution_response_spec.rb +8 -8
  128. metadata +165 -165
@@ -170,7 +170,7 @@ module PulpcoreClient
170
170
  # @option opts [Array<String>] :name__in Filter results where name is in a comma-separated list of values
171
171
  # @option opts [String] :name__ne Filter results where name not equal to value
172
172
  # @option opts [Integer] :offset The initial index from which to return the results.
173
- # @option opts [Array<String>] :ordering Ordering * &#x60;pulp_id&#x60; - Pulp id * &#x60;-pulp_id&#x60; - Pulp id (descending) * &#x60;pulp_created&#x60; - Pulp created * &#x60;-pulp_created&#x60; - Pulp created (descending) * &#x60;pulp_last_updated&#x60; - Pulp last updated * &#x60;-pulp_last_updated&#x60; - Pulp last updated (descending) * &#x60;state&#x60; - State * &#x60;-state&#x60; - State (descending) * &#x60;name&#x60; - Name * &#x60;-name&#x60; - Name (descending) * &#x60;logging_cid&#x60; - Logging cid * &#x60;-logging_cid&#x60; - Logging cid (descending) * &#x60;started_at&#x60; - Started at * &#x60;-started_at&#x60; - Started at (descending) * &#x60;finished_at&#x60; - Finished at * &#x60;-finished_at&#x60; - Finished at (descending) * &#x60;error&#x60; - Error * &#x60;-error&#x60; - Error (descending) * &#x60;args&#x60; - Args * &#x60;-args&#x60; - Args (descending) * &#x60;kwargs&#x60; - Kwargs * &#x60;-kwargs&#x60; - Kwargs (descending) * &#x60;enc_args&#x60; - Enc args * &#x60;-enc_args&#x60; - Enc args (descending) * &#x60;enc_kwargs&#x60; - Enc kwargs * &#x60;-enc_kwargs&#x60; - Enc kwargs (descending) * &#x60;reserved_resources_record&#x60; - Reserved resources record * &#x60;-reserved_resources_record&#x60; - Reserved resources record (descending) * &#x60;versions&#x60; - Versions * &#x60;-versions&#x60; - Versions (descending) * &#x60;pk&#x60; - Pk * &#x60;-pk&#x60; - Pk (descending)
173
+ # @option opts [Array<String>] :ordering Ordering * &#x60;pulp_id&#x60; - Pulp id * &#x60;-pulp_id&#x60; - Pulp id (descending) * &#x60;pulp_created&#x60; - Pulp created * &#x60;-pulp_created&#x60; - Pulp created (descending) * &#x60;pulp_last_updated&#x60; - Pulp last updated * &#x60;-pulp_last_updated&#x60; - Pulp last updated (descending) * &#x60;state&#x60; - State * &#x60;-state&#x60; - State (descending) * &#x60;name&#x60; - Name * &#x60;-name&#x60; - Name (descending) * &#x60;logging_cid&#x60; - Logging cid * &#x60;-logging_cid&#x60; - Logging cid (descending) * &#x60;started_at&#x60; - Started at * &#x60;-started_at&#x60; - Started at (descending) * &#x60;finished_at&#x60; - Finished at * &#x60;-finished_at&#x60; - Finished at (descending) * &#x60;error&#x60; - Error * &#x60;-error&#x60; - Error (descending) * &#x60;enc_args&#x60; - Enc args * &#x60;-enc_args&#x60; - Enc args (descending) * &#x60;enc_kwargs&#x60; - Enc kwargs * &#x60;-enc_kwargs&#x60; - Enc kwargs (descending) * &#x60;reserved_resources_record&#x60; - Reserved resources record * &#x60;-reserved_resources_record&#x60; - Reserved resources record (descending) * &#x60;versions&#x60; - Versions * &#x60;-versions&#x60; - Versions (descending) * &#x60;pk&#x60; - Pk * &#x60;-pk&#x60; - Pk (descending)
174
174
  # @option opts [String] :parent_task Filter results where parent_task matches value
175
175
  # @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
176
176
  # @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
@@ -222,7 +222,7 @@ module PulpcoreClient
222
222
  # @option opts [Array<String>] :name__in Filter results where name is in a comma-separated list of values
223
223
  # @option opts [String] :name__ne Filter results where name not equal to value
224
224
  # @option opts [Integer] :offset The initial index from which to return the results.
225
- # @option opts [Array<String>] :ordering Ordering * &#x60;pulp_id&#x60; - Pulp id * &#x60;-pulp_id&#x60; - Pulp id (descending) * &#x60;pulp_created&#x60; - Pulp created * &#x60;-pulp_created&#x60; - Pulp created (descending) * &#x60;pulp_last_updated&#x60; - Pulp last updated * &#x60;-pulp_last_updated&#x60; - Pulp last updated (descending) * &#x60;state&#x60; - State * &#x60;-state&#x60; - State (descending) * &#x60;name&#x60; - Name * &#x60;-name&#x60; - Name (descending) * &#x60;logging_cid&#x60; - Logging cid * &#x60;-logging_cid&#x60; - Logging cid (descending) * &#x60;started_at&#x60; - Started at * &#x60;-started_at&#x60; - Started at (descending) * &#x60;finished_at&#x60; - Finished at * &#x60;-finished_at&#x60; - Finished at (descending) * &#x60;error&#x60; - Error * &#x60;-error&#x60; - Error (descending) * &#x60;args&#x60; - Args * &#x60;-args&#x60; - Args (descending) * &#x60;kwargs&#x60; - Kwargs * &#x60;-kwargs&#x60; - Kwargs (descending) * &#x60;enc_args&#x60; - Enc args * &#x60;-enc_args&#x60; - Enc args (descending) * &#x60;enc_kwargs&#x60; - Enc kwargs * &#x60;-enc_kwargs&#x60; - Enc kwargs (descending) * &#x60;reserved_resources_record&#x60; - Reserved resources record * &#x60;-reserved_resources_record&#x60; - Reserved resources record (descending) * &#x60;versions&#x60; - Versions * &#x60;-versions&#x60; - Versions (descending) * &#x60;pk&#x60; - Pk * &#x60;-pk&#x60; - Pk (descending)
225
+ # @option opts [Array<String>] :ordering Ordering * &#x60;pulp_id&#x60; - Pulp id * &#x60;-pulp_id&#x60; - Pulp id (descending) * &#x60;pulp_created&#x60; - Pulp created * &#x60;-pulp_created&#x60; - Pulp created (descending) * &#x60;pulp_last_updated&#x60; - Pulp last updated * &#x60;-pulp_last_updated&#x60; - Pulp last updated (descending) * &#x60;state&#x60; - State * &#x60;-state&#x60; - State (descending) * &#x60;name&#x60; - Name * &#x60;-name&#x60; - Name (descending) * &#x60;logging_cid&#x60; - Logging cid * &#x60;-logging_cid&#x60; - Logging cid (descending) * &#x60;started_at&#x60; - Started at * &#x60;-started_at&#x60; - Started at (descending) * &#x60;finished_at&#x60; - Finished at * &#x60;-finished_at&#x60; - Finished at (descending) * &#x60;error&#x60; - Error * &#x60;-error&#x60; - Error (descending) * &#x60;enc_args&#x60; - Enc args * &#x60;-enc_args&#x60; - Enc args (descending) * &#x60;enc_kwargs&#x60; - Enc kwargs * &#x60;-enc_kwargs&#x60; - Enc kwargs (descending) * &#x60;reserved_resources_record&#x60; - Reserved resources record * &#x60;-reserved_resources_record&#x60; - Reserved resources record (descending) * &#x60;versions&#x60; - Versions * &#x60;-versions&#x60; - Versions (descending) * &#x60;pk&#x60; - Pk * &#x60;-pk&#x60; - Pk (descending)
226
226
  # @option opts [String] :parent_task Filter results where parent_task matches value
227
227
  # @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
228
228
  # @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
@@ -252,7 +252,7 @@ module PulpcoreClient
252
252
  if @api_client.config.debugging
253
253
  @api_client.config.logger.debug 'Calling API: TasksApi.list ...'
254
254
  end
255
- allowable_values = ["-args", "-enc_args", "-enc_kwargs", "-error", "-finished_at", "-kwargs", "-logging_cid", "-name", "-pk", "-pulp_created", "-pulp_id", "-pulp_last_updated", "-reserved_resources_record", "-started_at", "-state", "-versions", "args", "enc_args", "enc_kwargs", "error", "finished_at", "kwargs", "logging_cid", "name", "pk", "pulp_created", "pulp_id", "pulp_last_updated", "reserved_resources_record", "started_at", "state", "versions"]
255
+ allowable_values = ["-enc_args", "-enc_kwargs", "-error", "-finished_at", "-logging_cid", "-name", "-pk", "-pulp_created", "-pulp_id", "-pulp_last_updated", "-reserved_resources_record", "-started_at", "-state", "-versions", "enc_args", "enc_kwargs", "error", "finished_at", "logging_cid", "name", "pk", "pulp_created", "pulp_id", "pulp_last_updated", "reserved_resources_record", "started_at", "state", "versions"]
256
256
  if @api_client.config.client_side_validation && opts[:'ordering'] && !opts[:'ordering'].all? { |item| allowable_values.include?(item) }
257
257
  fail ArgumentError, "invalid value for \"ordering\", must include one of #{allowable_values}"
258
258
  end
@@ -128,7 +128,7 @@ module PulpcoreClient
128
128
 
129
129
  def initialize
130
130
  @scheme = 'http'
131
- @host = 'localhost'
131
+ @host = 'pulp'
132
132
  @base_path = ''
133
133
  @api_key = {}
134
134
  @api_key_prefix = {}
@@ -210,7 +210,7 @@ module PulpcoreClient
210
210
  def server_settings
211
211
  [
212
212
  {
213
- url: "http://localhost:24817/",
213
+ url: "http://pulp/",
214
214
  description: "No description provided",
215
215
  }
216
216
  ]
@@ -15,60 +15,60 @@ require 'date'
15
15
  module PulpcoreClient
16
16
  # A serializer for ArtifactDistribution.
17
17
  class ArtifactDistributionResponse
18
+ # A unique name. Ex, `rawhide` and `stable`.
19
+ attr_accessor :name
20
+
21
+ # The URL for accessing the publication as defined by this distribution.
22
+ attr_accessor :base_url
23
+
18
24
  # Timestamp of creation.
19
25
  attr_accessor :pulp_created
20
26
 
21
27
  attr_accessor :pulp_labels
22
28
 
23
- # An optional content-guard.
24
- attr_accessor :content_guard
25
-
26
- # A unique name. Ex, `rawhide` and `stable`.
27
- attr_accessor :name
29
+ # The base (relative) path component of the published url. Avoid paths that overlap with other distribution base paths (e.g. \"foo\" and \"foo/bar\")
30
+ attr_accessor :base_path
28
31
 
29
32
  attr_accessor :pulp_href
30
33
 
31
34
  # Whether this distribution should be shown in the content app.
32
35
  attr_accessor :hidden
33
36
 
34
- # The URL for accessing the publication as defined by this distribution.
35
- attr_accessor :base_url
36
-
37
- # The base (relative) path component of the published url. Avoid paths that overlap with other distribution base paths (e.g. \"foo\" and \"foo/bar\")
38
- attr_accessor :base_path
37
+ # An optional content-guard.
38
+ attr_accessor :content_guard
39
39
 
40
40
  # Attribute mapping from ruby-style variable name to JSON key.
41
41
  def self.attribute_map
42
42
  {
43
+ :'name' => :'name',
44
+ :'base_url' => :'base_url',
43
45
  :'pulp_created' => :'pulp_created',
44
46
  :'pulp_labels' => :'pulp_labels',
45
- :'content_guard' => :'content_guard',
46
- :'name' => :'name',
47
+ :'base_path' => :'base_path',
47
48
  :'pulp_href' => :'pulp_href',
48
49
  :'hidden' => :'hidden',
49
- :'base_url' => :'base_url',
50
- :'base_path' => :'base_path'
50
+ :'content_guard' => :'content_guard'
51
51
  }
52
52
  end
53
53
 
54
54
  # Attribute type mapping.
55
55
  def self.openapi_types
56
56
  {
57
+ :'name' => :'String',
58
+ :'base_url' => :'String',
57
59
  :'pulp_created' => :'DateTime',
58
60
  :'pulp_labels' => :'Hash<String, String>',
59
- :'content_guard' => :'String',
60
- :'name' => :'String',
61
+ :'base_path' => :'String',
61
62
  :'pulp_href' => :'String',
62
63
  :'hidden' => :'Boolean',
63
- :'base_url' => :'String',
64
- :'base_path' => :'String'
64
+ :'content_guard' => :'String'
65
65
  }
66
66
  end
67
67
 
68
68
  # List of attributes with nullable: true
69
69
  def self.openapi_nullable
70
70
  Set.new([
71
- :'content_guard',
71
+ :'content_guard'
72
72
  ])
73
73
  end
74
74
 
@@ -87,6 +87,14 @@ module PulpcoreClient
87
87
  h[k.to_sym] = v
88
88
  }
89
89
 
90
+ if attributes.key?(:'name')
91
+ self.name = attributes[:'name']
92
+ end
93
+
94
+ if attributes.key?(:'base_url')
95
+ self.base_url = attributes[:'base_url']
96
+ end
97
+
90
98
  if attributes.key?(:'pulp_created')
91
99
  self.pulp_created = attributes[:'pulp_created']
92
100
  end
@@ -97,12 +105,8 @@ module PulpcoreClient
97
105
  end
98
106
  end
99
107
 
100
- if attributes.key?(:'content_guard')
101
- self.content_guard = attributes[:'content_guard']
102
- end
103
-
104
- if attributes.key?(:'name')
105
- self.name = attributes[:'name']
108
+ if attributes.key?(:'base_path')
109
+ self.base_path = attributes[:'base_path']
106
110
  end
107
111
 
108
112
  if attributes.key?(:'pulp_href')
@@ -115,12 +119,8 @@ module PulpcoreClient
115
119
  self.hidden = false
116
120
  end
117
121
 
118
- if attributes.key?(:'base_url')
119
- self.base_url = attributes[:'base_url']
120
- end
121
-
122
- if attributes.key?(:'base_path')
123
- self.base_path = attributes[:'base_path']
122
+ if attributes.key?(:'content_guard')
123
+ self.content_guard = attributes[:'content_guard']
124
124
  end
125
125
  end
126
126
 
@@ -152,14 +152,14 @@ module PulpcoreClient
152
152
  def ==(o)
153
153
  return true if self.equal?(o)
154
154
  self.class == o.class &&
155
+ name == o.name &&
156
+ base_url == o.base_url &&
155
157
  pulp_created == o.pulp_created &&
156
158
  pulp_labels == o.pulp_labels &&
157
- content_guard == o.content_guard &&
158
- name == o.name &&
159
+ base_path == o.base_path &&
159
160
  pulp_href == o.pulp_href &&
160
161
  hidden == o.hidden &&
161
- base_url == o.base_url &&
162
- base_path == o.base_path
162
+ content_guard == o.content_guard
163
163
  end
164
164
 
165
165
  # @see the `==` method
@@ -171,7 +171,7 @@ module PulpcoreClient
171
171
  # Calculates hash code according to all attributes.
172
172
  # @return [Integer] Hash code
173
173
  def hash
174
- [pulp_created, pulp_labels, content_guard, name, pulp_href, hidden, base_url, base_path].hash
174
+ [name, base_url, pulp_created, pulp_labels, base_path, pulp_href, hidden, content_guard].hash
175
175
  end
176
176
 
177
177
  # Builds the object from hash
@@ -88,22 +88,12 @@ module PulpcoreClient
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
-
99
91
  invalid_properties
100
92
  end
101
93
 
102
94
  # Check to see if the all the properties in the model are valid
103
95
  # @return true if the model is valid
104
96
  def valid?
105
- return false if @count.nil?
106
- return false if @results.nil?
107
97
  true
108
98
  end
109
99
 
@@ -88,22 +88,12 @@ module PulpcoreClient
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
-
99
91
  invalid_properties
100
92
  end
101
93
 
102
94
  # Check to see if the all the properties in the model are valid
103
95
  # @return true if the model is valid
104
96
  def valid?
105
- return false if @count.nil?
106
- return false if @results.nil?
107
97
  true
108
98
  end
109
99
 
@@ -88,22 +88,12 @@ module PulpcoreClient
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
-
99
91
  invalid_properties
100
92
  end
101
93
 
102
94
  # Check to see if the all the properties in the model are valid
103
95
  # @return true if the model is valid
104
96
  def valid?
105
- return false if @count.nil?
106
- return false if @results.nil?
107
97
  true
108
98
  end
109
99
 
@@ -88,22 +88,12 @@ module PulpcoreClient
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
-
99
91
  invalid_properties
100
92
  end
101
93
 
102
94
  # Check to see if the all the properties in the model are valid
103
95
  # @return true if the model is valid
104
96
  def valid?
105
- return false if @count.nil?
106
- return false if @results.nil?
107
97
  true
108
98
  end
109
99
 
@@ -88,22 +88,12 @@ module PulpcoreClient
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
-
99
91
  invalid_properties
100
92
  end
101
93
 
102
94
  # Check to see if the all the properties in the model are valid
103
95
  # @return true if the model is valid
104
96
  def valid?
105
- return false if @count.nil?
106
- return false if @results.nil?
107
97
  true
108
98
  end
109
99
 
@@ -88,22 +88,12 @@ module PulpcoreClient
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
-
99
91
  invalid_properties
100
92
  end
101
93
 
102
94
  # Check to see if the all the properties in the model are valid
103
95
  # @return true if the model is valid
104
96
  def valid?
105
- return false if @count.nil?
106
- return false if @results.nil?
107
97
  true
108
98
  end
109
99
 
@@ -88,22 +88,12 @@ module PulpcoreClient
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
-
99
91
  invalid_properties
100
92
  end
101
93
 
102
94
  # Check to see if the all the properties in the model are valid
103
95
  # @return true if the model is valid
104
96
  def valid?
105
- return false if @count.nil?
106
- return false if @results.nil?
107
97
  true
108
98
  end
109
99
 
@@ -88,22 +88,12 @@ module PulpcoreClient
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
-
99
91
  invalid_properties
100
92
  end
101
93
 
102
94
  # Check to see if the all the properties in the model are valid
103
95
  # @return true if the model is valid
104
96
  def valid?
105
- return false if @count.nil?
106
- return false if @results.nil?
107
97
  true
108
98
  end
109
99
 
@@ -88,22 +88,12 @@ module PulpcoreClient
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
-
99
91
  invalid_properties
100
92
  end
101
93
 
102
94
  # Check to see if the all the properties in the model are valid
103
95
  # @return true if the model is valid
104
96
  def valid?
105
- return false if @count.nil?
106
- return false if @results.nil?
107
97
  true
108
98
  end
109
99
 
@@ -88,22 +88,12 @@ module PulpcoreClient
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
-
99
91
  invalid_properties
100
92
  end
101
93
 
102
94
  # Check to see if the all the properties in the model are valid
103
95
  # @return true if the model is valid
104
96
  def valid?
105
- return false if @count.nil?
106
- return false if @results.nil?
107
97
  true
108
98
  end
109
99
 
@@ -88,22 +88,12 @@ module PulpcoreClient
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
-
99
91
  invalid_properties
100
92
  end
101
93
 
102
94
  # Check to see if the all the properties in the model are valid
103
95
  # @return true if the model is valid
104
96
  def valid?
105
- return false if @count.nil?
106
- return false if @results.nil?
107
97
  true
108
98
  end
109
99
 
@@ -88,22 +88,12 @@ module PulpcoreClient
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
-
99
91
  invalid_properties
100
92
  end
101
93
 
102
94
  # Check to see if the all the properties in the model are valid
103
95
  # @return true if the model is valid
104
96
  def valid?
105
- return false if @count.nil?
106
- return false if @results.nil?
107
97
  true
108
98
  end
109
99
 
@@ -88,22 +88,12 @@ module PulpcoreClient
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
-
99
91
  invalid_properties
100
92
  end
101
93
 
102
94
  # Check to see if the all the properties in the model are valid
103
95
  # @return true if the model is valid
104
96
  def valid?
105
- return false if @count.nil?
106
- return false if @results.nil?
107
97
  true
108
98
  end
109
99
 
@@ -88,22 +88,12 @@ module PulpcoreClient
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
-
99
91
  invalid_properties
100
92
  end
101
93
 
102
94
  # Check to see if the all the properties in the model are valid
103
95
  # @return true if the model is valid
104
96
  def valid?
105
- return false if @count.nil?
106
- return false if @results.nil?
107
97
  true
108
98
  end
109
99
 
@@ -88,22 +88,12 @@ module PulpcoreClient
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
-
99
91
  invalid_properties
100
92
  end
101
93
 
102
94
  # Check to see if the all the properties in the model are valid
103
95
  # @return true if the model is valid
104
96
  def valid?
105
- return false if @count.nil?
106
- return false if @results.nil?
107
97
  true
108
98
  end
109
99
 
@@ -88,22 +88,12 @@ module PulpcoreClient
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
-
99
91
  invalid_properties
100
92
  end
101
93
 
102
94
  # Check to see if the all the properties in the model are valid
103
95
  # @return true if the model is valid
104
96
  def valid?
105
- return false if @count.nil?
106
- return false if @results.nil?
107
97
  true
108
98
  end
109
99
 
@@ -88,22 +88,12 @@ module PulpcoreClient
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
-
99
91
  invalid_properties
100
92
  end
101
93
 
102
94
  # Check to see if the all the properties in the model are valid
103
95
  # @return true if the model is valid
104
96
  def valid?
105
- return false if @count.nil?
106
- return false if @results.nil?
107
97
  true
108
98
  end
109
99
 
@@ -88,22 +88,12 @@ module PulpcoreClient
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
-
99
91
  invalid_properties
100
92
  end
101
93
 
102
94
  # Check to see if the all the properties in the model are valid
103
95
  # @return true if the model is valid
104
96
  def valid?
105
- return false if @count.nil?
106
- return false if @results.nil?
107
97
  true
108
98
  end
109
99
 
@@ -88,22 +88,12 @@ module PulpcoreClient
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
-
99
91
  invalid_properties
100
92
  end
101
93
 
102
94
  # Check to see if the all the properties in the model are valid
103
95
  # @return true if the model is valid
104
96
  def valid?
105
- return false if @count.nil?
106
- return false if @results.nil?
107
97
  true
108
98
  end
109
99