pulp_rpm_client 3.4.2 → 3.5.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (40) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +5 -7
  3. data/docs/ContentAdvisoriesApi.md +2 -6
  4. data/docs/ContentModulemdDefaultsApi.md +2 -2
  5. data/docs/ContentModulemdsApi.md +2 -2
  6. data/docs/ContentPackagesApi.md +2 -2
  7. data/docs/RpmPackageCategory.md +1 -3
  8. data/docs/RpmPackageEnvironment.md +1 -5
  9. data/docs/RpmPackageGroup.md +1 -3
  10. data/docs/RpmRepoMetadataFile.md +2 -0
  11. data/docs/RpmRpmRemote.md +3 -1
  12. data/docs/RpmRpmRepository.md +3 -1
  13. data/docs/RpmUpdateCollection.md +2 -0
  14. data/docs/RpmUpdateRecord.md +0 -2
  15. data/lib/pulp_rpm_client/api/content_advisories_api.rb +3 -17
  16. data/lib/pulp_rpm_client/api/content_modulemd_defaults_api.rb +3 -3
  17. data/lib/pulp_rpm_client/api/content_modulemds_api.rb +3 -3
  18. data/lib/pulp_rpm_client/api/content_packages_api.rb +3 -3
  19. data/lib/pulp_rpm_client/models/rpm_package_category.rb +4 -16
  20. data/lib/pulp_rpm_client/models/rpm_package_environment.rb +4 -28
  21. data/lib/pulp_rpm_client/models/rpm_package_group.rb +4 -16
  22. data/lib/pulp_rpm_client/models/rpm_repo_metadata_file.rb +35 -1
  23. data/lib/pulp_rpm_client/models/rpm_rpm_remote.rb +30 -4
  24. data/lib/pulp_rpm_client/models/rpm_rpm_repository.rb +30 -5
  25. data/lib/pulp_rpm_client/models/rpm_update_collection.rb +16 -1
  26. data/lib/pulp_rpm_client/models/rpm_update_record.rb +1 -11
  27. data/lib/pulp_rpm_client/version.rb +1 -1
  28. data/spec/api/content_advisories_api_spec.rb +0 -2
  29. data/spec/api/content_modulemd_defaults_api_spec.rb +1 -1
  30. data/spec/api/content_modulemds_api_spec.rb +1 -1
  31. data/spec/api/content_packages_api_spec.rb +1 -1
  32. data/spec/models/rpm_package_category_spec.rb +0 -6
  33. data/spec/models/rpm_package_environment_spec.rb +0 -12
  34. data/spec/models/rpm_package_group_spec.rb +0 -6
  35. data/spec/models/rpm_repo_metadata_file_spec.rb +6 -0
  36. data/spec/models/rpm_rpm_remote_spec.rb +6 -0
  37. data/spec/models/rpm_rpm_repository_spec.rb +6 -0
  38. data/spec/models/rpm_update_collection_spec.rb +6 -0
  39. data/spec/models/rpm_update_record_spec.rb +0 -6
  40. metadata +45 -45
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: ccfb80a0ba491805fa19934719f1bce7bbcbd3a52c0a768d742b664516de8d3b
4
- data.tar.gz: 2d8f5990f2e6cf5dc4c2964d528c1947ac9ded59226afa0774532ab48bd35826
3
+ metadata.gz: '09806f11dacbf48ac67725c388523c1a00fcedc693cc23822093397c1e2fa86c'
4
+ data.tar.gz: ce09ed825a42786043c1d031023edcdfad2c0617ec073bab44f6f391d1ab7a4c
5
5
  SHA512:
6
- metadata.gz: 9e25ee73398d102f32b45fc4dd1c76a109660610e8c7e214525d8401db62919cfc4a036f7ef94f91667a2b187685ab2b7db4f9e9f73a363bb12a07ca099de12c
7
- data.tar.gz: 8702c4f20065be561f4d092a412f98658c05c04f8883f29147ea79b210811e9fe2cb1f18a582f555b29fa1b3b07ebc76a6dcdc247245237239aec0b2a2dd7c4e
6
+ metadata.gz: 724f853f1b8a86de7110990f418c2c9fd6634f9f7db314744f31134a9c97e76dfe066989b337b29230e0fb1b0be127abe45342947cc47f280748cbb4810a3b09
7
+ data.tar.gz: dea540c68d4e549ddd0d3897c48219810afe9cbec1261223afb89adcd224722aff13dea8c63e3c4923f534eb40f177608d1f99f30326ded4c325fa723f15ece8
data/README.md CHANGED
@@ -7,7 +7,7 @@ No description provided (generated by Openapi Generator https://github.com/opena
7
7
  This SDK is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project:
8
8
 
9
9
  - API version: v3
10
- - Package version: 3.4.2
10
+ - Package version: 3.5.0
11
11
  - Build package: org.openapitools.codegen.languages.RubyClientCodegen
12
12
 
13
13
  ## Installation
@@ -23,16 +23,16 @@ gem build pulp_rpm_client.gemspec
23
23
  Then either install the gem locally:
24
24
 
25
25
  ```shell
26
- gem install ./pulp_rpm_client-3.4.2.gem
26
+ gem install ./pulp_rpm_client-3.5.0.gem
27
27
  ```
28
28
 
29
- (for development, run `gem install --dev ./pulp_rpm_client-3.4.2.gem` to install the development dependencies)
29
+ (for development, run `gem install --dev ./pulp_rpm_client-3.5.0.gem` to install the development dependencies)
30
30
 
31
31
  or publish the gem to a gem hosting service, e.g. [RubyGems](https://rubygems.org/).
32
32
 
33
33
  Finally add this to the Gemfile:
34
34
 
35
- gem 'pulp_rpm_client', '~> 3.4.2'
35
+ gem 'pulp_rpm_client', '~> 3.5.0'
36
36
 
37
37
  ### Install from Git
38
38
 
@@ -64,16 +64,14 @@ PulpRpmClient.configure do |config|
64
64
  end
65
65
 
66
66
  api_instance = PulpRpmClient::ContentAdvisoriesApi.new
67
- relative_path = 'relative_path_example' # String | Path where the artifact is located relative to distributions base_path
68
67
  opts = {
69
- artifact: 'artifact_example', # String | Artifact file representing the physical content
70
68
  file: File.new('/path/to/file'), # File | An uploaded file that may be turned into the artifact of the content unit.
71
69
  repository: 'repository_example' # String | A URI of a repository the new content unit should be associated with.
72
70
  }
73
71
 
74
72
  begin
75
73
  #Create an update record
76
- result = api_instance.create(relative_path, opts)
74
+ result = api_instance.create(opts)
77
75
  p result
78
76
  rescue PulpRpmClient::ApiError => e
79
77
  puts "Exception when calling ContentAdvisoriesApi->create: #{e}"
@@ -12,7 +12,7 @@ Method | HTTP request | Description
12
12
 
13
13
  ## create
14
14
 
15
- > AsyncOperationResponse create(relative_path, opts)
15
+ > AsyncOperationResponse create(opts)
16
16
 
17
17
  Create an update record
18
18
 
@@ -31,16 +31,14 @@ PulpRpmClient.configure do |config|
31
31
  end
32
32
 
33
33
  api_instance = PulpRpmClient::ContentAdvisoriesApi.new
34
- relative_path = 'relative_path_example' # String | Path where the artifact is located relative to distributions base_path
35
34
  opts = {
36
- artifact: 'artifact_example', # String | Artifact file representing the physical content
37
35
  file: File.new('/path/to/file'), # File | An uploaded file that may be turned into the artifact of the content unit.
38
36
  repository: 'repository_example' # String | A URI of a repository the new content unit should be associated with.
39
37
  }
40
38
 
41
39
  begin
42
40
  #Create an update record
43
- result = api_instance.create(relative_path, opts)
41
+ result = api_instance.create(opts)
44
42
  p result
45
43
  rescue PulpRpmClient::ApiError => e
46
44
  puts "Exception when calling ContentAdvisoriesApi->create: #{e}"
@@ -52,8 +50,6 @@ end
52
50
 
53
51
  Name | Type | Description | Notes
54
52
  ------------- | ------------- | ------------- | -------------
55
- **relative_path** | **String**| Path where the artifact is located relative to distributions base_path |
56
- **artifact** | **String**| Artifact file representing the physical content | [optional]
57
53
  **file** | **File**| An uploaded file that may be turned into the artifact of the content unit. | [optional]
58
54
  **repository** | **String**| A URI of a repository the new content unit should be associated with. | [optional]
59
55
 
@@ -104,10 +104,10 @@ opts = {
104
104
  module__in: 'module__in_example', # String | Filter results where module is in a comma-separated list of values
105
105
  stream: 'stream_example', # String | Filter results where stream matches value
106
106
  stream__in: 'stream__in_example', # String | Filter results where stream is in a comma-separated list of values
107
- sha256: 'sha256_example', # String |
108
107
  repository_version: 'repository_version_example', # String | Repository Version referenced by HREF
109
108
  repository_version_added: 'repository_version_added_example', # String | Repository Version referenced by HREF
110
109
  repository_version_removed: 'repository_version_removed_example', # String | Repository Version referenced by HREF
110
+ sha256: 'sha256_example', # String |
111
111
  limit: 56, # Integer | Number of results to return per page.
112
112
  offset: 56, # Integer | The initial index from which to return the results.
113
113
  fields: 'fields_example', # String | A list of fields to include in the response.
@@ -133,10 +133,10 @@ Name | Type | Description | Notes
133
133
  **module__in** | **String**| Filter results where module is in a comma-separated list of values | [optional]
134
134
  **stream** | **String**| Filter results where stream matches value | [optional]
135
135
  **stream__in** | **String**| Filter results where stream is in a comma-separated list of values | [optional]
136
- **sha256** | **String**| | [optional]
137
136
  **repository_version** | **String**| Repository Version referenced by HREF | [optional]
138
137
  **repository_version_added** | **String**| Repository Version referenced by HREF | [optional]
139
138
  **repository_version_removed** | **String**| Repository Version referenced by HREF | [optional]
139
+ **sha256** | **String**| | [optional]
140
140
  **limit** | **Integer**| Number of results to return per page. | [optional]
141
141
  **offset** | **Integer**| The initial index from which to return the results. | [optional]
142
142
  **fields** | **String**| A list of fields to include in the response. | [optional]
@@ -114,10 +114,10 @@ opts = {
114
114
  name__in: 'name__in_example', # String | Filter results where name is in a comma-separated list of values
115
115
  stream: 'stream_example', # String | Filter results where stream matches value
116
116
  stream__in: 'stream__in_example', # String | Filter results where stream is in a comma-separated list of values
117
- sha256: 'sha256_example', # String |
118
117
  repository_version: 'repository_version_example', # String | Repository Version referenced by HREF
119
118
  repository_version_added: 'repository_version_added_example', # String | Repository Version referenced by HREF
120
119
  repository_version_removed: 'repository_version_removed_example', # String | Repository Version referenced by HREF
120
+ sha256: 'sha256_example', # String |
121
121
  limit: 56, # Integer | Number of results to return per page.
122
122
  offset: 56, # Integer | The initial index from which to return the results.
123
123
  fields: 'fields_example', # String | A list of fields to include in the response.
@@ -143,10 +143,10 @@ Name | Type | Description | Notes
143
143
  **name__in** | **String**| Filter results where name is in a comma-separated list of values | [optional]
144
144
  **stream** | **String**| Filter results where stream matches value | [optional]
145
145
  **stream__in** | **String**| Filter results where stream is in a comma-separated list of values | [optional]
146
- **sha256** | **String**| | [optional]
147
146
  **repository_version** | **String**| Repository Version referenced by HREF | [optional]
148
147
  **repository_version_added** | **String**| Repository Version referenced by HREF | [optional]
149
148
  **repository_version_removed** | **String**| Repository Version referenced by HREF | [optional]
149
+ **sha256** | **String**| | [optional]
150
150
  **limit** | **Integer**| Number of results to return per page. | [optional]
151
151
  **offset** | **Integer**| The initial index from which to return the results. | [optional]
152
152
  **fields** | **String**| A list of fields to include in the response. | [optional]
@@ -114,10 +114,10 @@ opts = {
114
114
  checksum_type: 'checksum_type_example', # String | Filter results where checksum_type matches value
115
115
  checksum_type__in: 'checksum_type__in_example', # String | Filter results where checksum_type is in a comma-separated list of values
116
116
  checksum_type__ne: 'checksum_type__ne_example', # String | Filter results where checksum_type not equal to value
117
- sha256: 'sha256_example', # String |
118
117
  repository_version: 'repository_version_example', # String | Repository Version referenced by HREF
119
118
  repository_version_added: 'repository_version_added_example', # String | Repository Version referenced by HREF
120
119
  repository_version_removed: 'repository_version_removed_example', # String | Repository Version referenced by HREF
120
+ sha256: 'sha256_example', # String |
121
121
  limit: 56, # Integer | Number of results to return per page.
122
122
  offset: 56, # Integer | The initial index from which to return the results.
123
123
  fields: 'fields_example', # String | A list of fields to include in the response.
@@ -159,10 +159,10 @@ Name | Type | Description | Notes
159
159
  **checksum_type** | **String**| Filter results where checksum_type matches value | [optional]
160
160
  **checksum_type__in** | **String**| Filter results where checksum_type is in a comma-separated list of values | [optional]
161
161
  **checksum_type__ne** | **String**| Filter results where checksum_type not equal to value | [optional]
162
- **sha256** | **String**| | [optional]
163
162
  **repository_version** | **String**| Repository Version referenced by HREF | [optional]
164
163
  **repository_version_added** | **String**| Repository Version referenced by HREF | [optional]
165
164
  **repository_version_removed** | **String**| Repository Version referenced by HREF | [optional]
165
+ **sha256** | **String**| | [optional]
166
166
  **limit** | **Integer**| Number of results to return per page. | [optional]
167
167
  **offset** | **Integer**| The initial index from which to return the results. | [optional]
168
168
  **fields** | **String**| A list of fields to include in the response. | [optional]
@@ -14,7 +14,6 @@ Name | Type | Description | Notes
14
14
  **desc_by_lang** | [**Object**](.md) | Category description by language. |
15
15
  **name_by_lang** | [**Object**](.md) | Category name by language. |
16
16
  **digest** | **String** | Category digest. |
17
- **packagegroups** | **Array<String>** | PackageGroups related to this category. | [optional]
18
17
 
19
18
  ## Code Sample
20
19
 
@@ -30,8 +29,7 @@ instance = PulpRpmClient::RpmPackageCategory.new(pulp_href: null,
30
29
  group_ids: null,
31
30
  desc_by_lang: null,
32
31
  name_by_lang: null,
33
- digest: null,
34
- packagegroups: null)
32
+ digest: null)
35
33
  ```
36
34
 
37
35
 
@@ -15,8 +15,6 @@ Name | Type | Description | Notes
15
15
  **desc_by_lang** | [**Object**](.md) | Environment description by language. |
16
16
  **name_by_lang** | [**Object**](.md) | Environment name by language. |
17
17
  **digest** | **String** | Environment digest. |
18
- **packagegroups** | **Array<String>** | Groups related to this Environment. | [optional]
19
- **optionalgroups** | **Array<String>** | Groups optionally related to this Environment. | [optional]
20
18
 
21
19
  ## Code Sample
22
20
 
@@ -33,9 +31,7 @@ instance = PulpRpmClient::RpmPackageEnvironment.new(pulp_href: null,
33
31
  option_ids: null,
34
32
  desc_by_lang: null,
35
33
  name_by_lang: null,
36
- digest: null,
37
- packagegroups: null,
38
- optionalgroups: null)
34
+ digest: null)
39
35
  ```
40
36
 
41
37
 
@@ -17,7 +17,6 @@ Name | Type | Description | Notes
17
17
  **desc_by_lang** | [**Object**](.md) | PackageGroup description by language. |
18
18
  **name_by_lang** | [**Object**](.md) | PackageGroup name by language. |
19
19
  **digest** | **String** | PackageGroup digest. |
20
- **related_packages** | **Array<String>** | Packages related to this PackageGroup. | [optional]
21
20
 
22
21
  ## Code Sample
23
22
 
@@ -36,8 +35,7 @@ instance = PulpRpmClient::RpmPackageGroup.new(pulp_href: null,
36
35
  biarch_only: null,
37
36
  desc_by_lang: null,
38
37
  name_by_lang: null,
39
- digest: null,
40
- related_packages: null)
38
+ digest: null)
41
39
  ```
42
40
 
43
41
 
@@ -7,6 +7,7 @@ Name | Type | Description | Notes
7
7
  **pulp_href** | **String** | | [optional] [readonly]
8
8
  **pulp_created** | **DateTime** | Timestamp of creation. | [optional] [readonly]
9
9
  **artifact** | **String** | Artifact file representing the physical content | [optional]
10
+ **relative_path** | **String** | Relative path of the file. |
10
11
  **data_type** | **String** | Metadata type. |
11
12
  **checksum_type** | **String** | Checksum type for the file. |
12
13
  **checksum** | **String** | Checksum for the file. |
@@ -20,6 +21,7 @@ require 'PulpRpmClient'
20
21
  instance = PulpRpmClient::RpmRepoMetadataFile.new(pulp_href: null,
21
22
  pulp_created: null,
22
23
  artifact: null,
24
+ relative_path: null,
23
25
  data_type: null,
24
26
  checksum_type: null,
25
27
  checksum: null,
data/docs/RpmRpmRemote.md CHANGED
@@ -18,6 +18,7 @@ Name | Type | Description | Notes
18
18
  **pulp_last_updated** | **DateTime** | Timestamp of the most recent update of the remote. | [optional] [readonly]
19
19
  **download_concurrency** | **Integer** | Total number of simultaneous connections. | [optional]
20
20
  **policy** | **String** | The policy to use when downloading content. The possible values include: 'immediate', 'on_demand', and 'streamed'. 'immediate' is the default. | [optional] [default to 'immediate']
21
+ **sles_auth_token** | **String** | Authentication token for SLES repositories. | [optional]
21
22
 
22
23
  ## Code Sample
23
24
 
@@ -37,7 +38,8 @@ instance = PulpRpmClient::RpmRpmRemote.new(pulp_href: null,
37
38
  password: null,
38
39
  pulp_last_updated: null,
39
40
  download_concurrency: null,
40
- policy: null)
41
+ policy: null,
42
+ sles_auth_token: null)
41
43
  ```
42
44
 
43
45
 
@@ -11,6 +11,7 @@ Name | Type | Description | Notes
11
11
  **name** | **String** | A unique name for this repository. |
12
12
  **description** | **String** | An optional description. | [optional]
13
13
  **metadata_signing_service** | **String** | A reference to an associated signing service. | [optional]
14
+ **retain_package_versions** | **Integer** | The number of versions of each package to keep in the repository; older versions will be purged. The default is '0', which will disable this feature and keep all versions of each package. | [optional]
14
15
 
15
16
  ## Code Sample
16
17
 
@@ -23,7 +24,8 @@ instance = PulpRpmClient::RpmRpmRepository.new(pulp_href: null,
23
24
  latest_version_href: null,
24
25
  name: null,
25
26
  description: null,
26
- metadata_signing_service: null)
27
+ metadata_signing_service: null,
28
+ retain_package_versions: null)
27
29
  ```
28
30
 
29
31
 
@@ -6,6 +6,7 @@ Name | Type | Description | Notes
6
6
  ------------ | ------------- | ------------- | -------------
7
7
  **name** | **String** | Collection name. |
8
8
  **shortname** | **String** | Collection short name. |
9
+ **_module** | [**Object**](.md) | Collection modular NSVCA. |
9
10
  **packages** | **Array<Hash<String, String>>** | List of packages | [optional] [readonly]
10
11
 
11
12
  ## Code Sample
@@ -15,6 +16,7 @@ require 'PulpRpmClient'
15
16
 
16
17
  instance = PulpRpmClient::RpmUpdateCollection.new(name: null,
17
18
  shortname: null,
19
+ _module: null,
18
20
  packages: null)
19
21
  ```
20
22
 
@@ -6,7 +6,6 @@ Name | Type | Description | Notes
6
6
  ------------ | ------------- | ------------- | -------------
7
7
  **pulp_href** | **String** | | [optional] [readonly]
8
8
  **pulp_created** | **DateTime** | Timestamp of creation. | [optional] [readonly]
9
- **artifact** | **String** | Artifact file representing the physical content | [optional]
10
9
  **id** | **String** | Update id (short update name, e.g. RHEA-2013:1777) | [optional] [readonly]
11
10
  **updated_date** | **String** | Date when the update was updated (e.g. '2013-12-02 00:00:00') | [optional] [readonly]
12
11
  **description** | **String** | Update description | [optional] [readonly]
@@ -33,7 +32,6 @@ require 'PulpRpmClient'
33
32
 
34
33
  instance = PulpRpmClient::RpmUpdateRecord.new(pulp_href: null,
35
34
  pulp_created: null,
36
- artifact: null,
37
35
  id: null,
38
36
  updated_date: null,
39
37
  description: null,
@@ -21,37 +21,25 @@ module PulpRpmClient
21
21
  end
22
22
  # Create an update record
23
23
  # Trigger an asynchronous task to create content,optionally create new repository version.
24
- # @param relative_path [String] Path where the artifact is located relative to distributions base_path
25
24
  # @param [Hash] opts the optional parameters
26
- # @option opts [String] :artifact Artifact file representing the physical content
27
25
  # @option opts [File] :file An uploaded file that may be turned into the artifact of the content unit.
28
26
  # @option opts [String] :repository A URI of a repository the new content unit should be associated with.
29
27
  # @return [AsyncOperationResponse]
30
- def create(relative_path, opts = {})
31
- data, _status_code, _headers = create_with_http_info(relative_path, opts)
28
+ def create(opts = {})
29
+ data, _status_code, _headers = create_with_http_info(opts)
32
30
  data
33
31
  end
34
32
 
35
33
  # Create an update record
36
34
  # Trigger an asynchronous task to create content,optionally create new repository version.
37
- # @param relative_path [String] Path where the artifact is located relative to distributions base_path
38
35
  # @param [Hash] opts the optional parameters
39
- # @option opts [String] :artifact Artifact file representing the physical content
40
36
  # @option opts [File] :file An uploaded file that may be turned into the artifact of the content unit.
41
37
  # @option opts [String] :repository A URI of a repository the new content unit should be associated with.
42
38
  # @return [Array<(AsyncOperationResponse, Integer, Hash)>] AsyncOperationResponse data, response status code and response headers
43
- def create_with_http_info(relative_path, opts = {})
39
+ def create_with_http_info(opts = {})
44
40
  if @api_client.config.debugging
45
41
  @api_client.config.logger.debug 'Calling API: ContentAdvisoriesApi.create ...'
46
42
  end
47
- # verify the required parameter 'relative_path' is set
48
- if @api_client.config.client_side_validation && relative_path.nil?
49
- fail ArgumentError, "Missing the required parameter 'relative_path' when calling ContentAdvisoriesApi.create"
50
- end
51
- if @api_client.config.client_side_validation && relative_path.to_s.length < 1
52
- fail ArgumentError, 'invalid value for "relative_path" when calling ContentAdvisoriesApi.create, the character length must be great than or equal to 1.'
53
- end
54
-
55
43
  # resource path
56
44
  local_var_path = '/pulp/api/v3/content/rpm/advisories/'
57
45
 
@@ -67,8 +55,6 @@ module PulpRpmClient
67
55
 
68
56
  # form parameters
69
57
  form_params = opts[:form_params] || {}
70
- form_params['relative_path'] = relative_path
71
- form_params['artifact'] = opts[:'artifact'] if !opts[:'artifact'].nil?
72
58
  form_params['file'] = opts[:'file'] if !opts[:'file'].nil?
73
59
  form_params['repository'] = opts[:'repository'] if !opts[:'repository'].nil?
74
60
 
@@ -134,10 +134,10 @@ module PulpRpmClient
134
134
  # @option opts [String] :module__in Filter results where module is in a comma-separated list of values
135
135
  # @option opts [String] :stream Filter results where stream matches value
136
136
  # @option opts [String] :stream__in Filter results where stream is in a comma-separated list of values
137
- # @option opts [String] :sha256
138
137
  # @option opts [String] :repository_version Repository Version referenced by HREF
139
138
  # @option opts [String] :repository_version_added Repository Version referenced by HREF
140
139
  # @option opts [String] :repository_version_removed Repository Version referenced by HREF
140
+ # @option opts [String] :sha256
141
141
  # @option opts [Integer] :limit Number of results to return per page.
142
142
  # @option opts [Integer] :offset The initial index from which to return the results.
143
143
  # @option opts [String] :fields A list of fields to include in the response.
@@ -156,10 +156,10 @@ module PulpRpmClient
156
156
  # @option opts [String] :module__in Filter results where module is in a comma-separated list of values
157
157
  # @option opts [String] :stream Filter results where stream matches value
158
158
  # @option opts [String] :stream__in Filter results where stream is in a comma-separated list of values
159
- # @option opts [String] :sha256
160
159
  # @option opts [String] :repository_version Repository Version referenced by HREF
161
160
  # @option opts [String] :repository_version_added Repository Version referenced by HREF
162
161
  # @option opts [String] :repository_version_removed Repository Version referenced by HREF
162
+ # @option opts [String] :sha256
163
163
  # @option opts [Integer] :limit Number of results to return per page.
164
164
  # @option opts [Integer] :offset The initial index from which to return the results.
165
165
  # @option opts [String] :fields A list of fields to include in the response.
@@ -179,10 +179,10 @@ module PulpRpmClient
179
179
  query_params[:'module__in'] = opts[:'module__in'] if !opts[:'module__in'].nil?
180
180
  query_params[:'stream'] = opts[:'stream'] if !opts[:'stream'].nil?
181
181
  query_params[:'stream__in'] = opts[:'stream__in'] if !opts[:'stream__in'].nil?
182
- query_params[:'sha256'] = opts[:'sha256'] if !opts[:'sha256'].nil?
183
182
  query_params[:'repository_version'] = opts[:'repository_version'] if !opts[:'repository_version'].nil?
184
183
  query_params[:'repository_version_added'] = opts[:'repository_version_added'] if !opts[:'repository_version_added'].nil?
185
184
  query_params[:'repository_version_removed'] = opts[:'repository_version_removed'] if !opts[:'repository_version_removed'].nil?
185
+ query_params[:'sha256'] = opts[:'sha256'] if !opts[:'sha256'].nil?
186
186
  query_params[:'limit'] = opts[:'limit'] if !opts[:'limit'].nil?
187
187
  query_params[:'offset'] = opts[:'offset'] if !opts[:'offset'].nil?
188
188
  query_params[:'fields'] = opts[:'fields'] if !opts[:'fields'].nil?
@@ -177,10 +177,10 @@ module PulpRpmClient
177
177
  # @option opts [String] :name__in Filter results where name is in a comma-separated list of values
178
178
  # @option opts [String] :stream Filter results where stream matches value
179
179
  # @option opts [String] :stream__in Filter results where stream is in a comma-separated list of values
180
- # @option opts [String] :sha256
181
180
  # @option opts [String] :repository_version Repository Version referenced by HREF
182
181
  # @option opts [String] :repository_version_added Repository Version referenced by HREF
183
182
  # @option opts [String] :repository_version_removed Repository Version referenced by HREF
183
+ # @option opts [String] :sha256
184
184
  # @option opts [Integer] :limit Number of results to return per page.
185
185
  # @option opts [Integer] :offset The initial index from which to return the results.
186
186
  # @option opts [String] :fields A list of fields to include in the response.
@@ -199,10 +199,10 @@ module PulpRpmClient
199
199
  # @option opts [String] :name__in Filter results where name is in a comma-separated list of values
200
200
  # @option opts [String] :stream Filter results where stream matches value
201
201
  # @option opts [String] :stream__in Filter results where stream is in a comma-separated list of values
202
- # @option opts [String] :sha256
203
202
  # @option opts [String] :repository_version Repository Version referenced by HREF
204
203
  # @option opts [String] :repository_version_added Repository Version referenced by HREF
205
204
  # @option opts [String] :repository_version_removed Repository Version referenced by HREF
205
+ # @option opts [String] :sha256
206
206
  # @option opts [Integer] :limit Number of results to return per page.
207
207
  # @option opts [Integer] :offset The initial index from which to return the results.
208
208
  # @option opts [String] :fields A list of fields to include in the response.
@@ -222,10 +222,10 @@ module PulpRpmClient
222
222
  query_params[:'name__in'] = opts[:'name__in'] if !opts[:'name__in'].nil?
223
223
  query_params[:'stream'] = opts[:'stream'] if !opts[:'stream'].nil?
224
224
  query_params[:'stream__in'] = opts[:'stream__in'] if !opts[:'stream__in'].nil?
225
- query_params[:'sha256'] = opts[:'sha256'] if !opts[:'sha256'].nil?
226
225
  query_params[:'repository_version'] = opts[:'repository_version'] if !opts[:'repository_version'].nil?
227
226
  query_params[:'repository_version_added'] = opts[:'repository_version_added'] if !opts[:'repository_version_added'].nil?
228
227
  query_params[:'repository_version_removed'] = opts[:'repository_version_removed'] if !opts[:'repository_version_removed'].nil?
228
+ query_params[:'sha256'] = opts[:'sha256'] if !opts[:'sha256'].nil?
229
229
  query_params[:'limit'] = opts[:'limit'] if !opts[:'limit'].nil?
230
230
  query_params[:'offset'] = opts[:'offset'] if !opts[:'offset'].nil?
231
231
  query_params[:'fields'] = opts[:'fields'] if !opts[:'fields'].nil?
@@ -121,10 +121,10 @@ module PulpRpmClient
121
121
  # @option opts [String] :checksum_type Filter results where checksum_type matches value
122
122
  # @option opts [String] :checksum_type__in Filter results where checksum_type is in a comma-separated list of values
123
123
  # @option opts [String] :checksum_type__ne Filter results where checksum_type not equal to value
124
- # @option opts [String] :sha256
125
124
  # @option opts [String] :repository_version Repository Version referenced by HREF
126
125
  # @option opts [String] :repository_version_added Repository Version referenced by HREF
127
126
  # @option opts [String] :repository_version_removed Repository Version referenced by HREF
127
+ # @option opts [String] :sha256
128
128
  # @option opts [Integer] :limit Number of results to return per page.
129
129
  # @option opts [Integer] :offset The initial index from which to return the results.
130
130
  # @option opts [String] :fields A list of fields to include in the response.
@@ -159,10 +159,10 @@ module PulpRpmClient
159
159
  # @option opts [String] :checksum_type Filter results where checksum_type matches value
160
160
  # @option opts [String] :checksum_type__in Filter results where checksum_type is in a comma-separated list of values
161
161
  # @option opts [String] :checksum_type__ne Filter results where checksum_type not equal to value
162
- # @option opts [String] :sha256
163
162
  # @option opts [String] :repository_version Repository Version referenced by HREF
164
163
  # @option opts [String] :repository_version_added Repository Version referenced by HREF
165
164
  # @option opts [String] :repository_version_removed Repository Version referenced by HREF
165
+ # @option opts [String] :sha256
166
166
  # @option opts [Integer] :limit Number of results to return per page.
167
167
  # @option opts [Integer] :offset The initial index from which to return the results.
168
168
  # @option opts [String] :fields A list of fields to include in the response.
@@ -198,10 +198,10 @@ module PulpRpmClient
198
198
  query_params[:'checksum_type'] = opts[:'checksum_type'] if !opts[:'checksum_type'].nil?
199
199
  query_params[:'checksum_type__in'] = opts[:'checksum_type__in'] if !opts[:'checksum_type__in'].nil?
200
200
  query_params[:'checksum_type__ne'] = opts[:'checksum_type__ne'] if !opts[:'checksum_type__ne'].nil?
201
- query_params[:'sha256'] = opts[:'sha256'] if !opts[:'sha256'].nil?
202
201
  query_params[:'repository_version'] = opts[:'repository_version'] if !opts[:'repository_version'].nil?
203
202
  query_params[:'repository_version_added'] = opts[:'repository_version_added'] if !opts[:'repository_version_added'].nil?
204
203
  query_params[:'repository_version_removed'] = opts[:'repository_version_removed'] if !opts[:'repository_version_removed'].nil?
204
+ query_params[:'sha256'] = opts[:'sha256'] if !opts[:'sha256'].nil?
205
205
  query_params[:'limit'] = opts[:'limit'] if !opts[:'limit'].nil?
206
206
  query_params[:'offset'] = opts[:'offset'] if !opts[:'offset'].nil?
207
207
  query_params[:'fields'] = opts[:'fields'] if !opts[:'fields'].nil?
@@ -43,9 +43,6 @@ module PulpRpmClient
43
43
  # Category digest.
44
44
  attr_accessor :digest
45
45
 
46
- # PackageGroups related to this category.
47
- attr_accessor :packagegroups
48
-
49
46
  # Attribute mapping from ruby-style variable name to JSON key.
50
47
  def self.attribute_map
51
48
  {
@@ -58,8 +55,7 @@ module PulpRpmClient
58
55
  :'group_ids' => :'group_ids',
59
56
  :'desc_by_lang' => :'desc_by_lang',
60
57
  :'name_by_lang' => :'name_by_lang',
61
- :'digest' => :'digest',
62
- :'packagegroups' => :'packagegroups'
58
+ :'digest' => :'digest'
63
59
  }
64
60
  end
65
61
 
@@ -75,8 +71,7 @@ module PulpRpmClient
75
71
  :'group_ids' => :'Object',
76
72
  :'desc_by_lang' => :'Object',
77
73
  :'name_by_lang' => :'Object',
78
- :'digest' => :'String',
79
- :'packagegroups' => :'Array<String>'
74
+ :'digest' => :'String'
80
75
  }
81
76
  end
82
77
 
@@ -140,12 +135,6 @@ module PulpRpmClient
140
135
  if attributes.key?(:'digest')
141
136
  self.digest = attributes[:'digest']
142
137
  end
143
-
144
- if attributes.key?(:'packagegroups')
145
- if (value = attributes[:'packagegroups']).is_a?(Array)
146
- self.packagegroups = value
147
- end
148
- end
149
138
  end
150
139
 
151
140
  # Show invalid properties with the reasons. Usually used together with valid?
@@ -253,8 +242,7 @@ module PulpRpmClient
253
242
  group_ids == o.group_ids &&
254
243
  desc_by_lang == o.desc_by_lang &&
255
244
  name_by_lang == o.name_by_lang &&
256
- digest == o.digest &&
257
- packagegroups == o.packagegroups
245
+ digest == o.digest
258
246
  end
259
247
 
260
248
  # @see the `==` method
@@ -266,7 +254,7 @@ module PulpRpmClient
266
254
  # Calculates hash code according to all attributes.
267
255
  # @return [Integer] Hash code
268
256
  def hash
269
- [pulp_href, pulp_created, id, name, description, display_order, group_ids, desc_by_lang, name_by_lang, digest, packagegroups].hash
257
+ [pulp_href, pulp_created, id, name, description, display_order, group_ids, desc_by_lang, name_by_lang, digest].hash
270
258
  end
271
259
 
272
260
  # Builds the object from hash
@@ -46,12 +46,6 @@ module PulpRpmClient
46
46
  # Environment digest.
47
47
  attr_accessor :digest
48
48
 
49
- # Groups related to this Environment.
50
- attr_accessor :packagegroups
51
-
52
- # Groups optionally related to this Environment.
53
- attr_accessor :optionalgroups
54
-
55
49
  # Attribute mapping from ruby-style variable name to JSON key.
56
50
  def self.attribute_map
57
51
  {
@@ -65,9 +59,7 @@ module PulpRpmClient
65
59
  :'option_ids' => :'option_ids',
66
60
  :'desc_by_lang' => :'desc_by_lang',
67
61
  :'name_by_lang' => :'name_by_lang',
68
- :'digest' => :'digest',
69
- :'packagegroups' => :'packagegroups',
70
- :'optionalgroups' => :'optionalgroups'
62
+ :'digest' => :'digest'
71
63
  }
72
64
  end
73
65
 
@@ -84,9 +76,7 @@ module PulpRpmClient
84
76
  :'option_ids' => :'Object',
85
77
  :'desc_by_lang' => :'Object',
86
78
  :'name_by_lang' => :'Object',
87
- :'digest' => :'String',
88
- :'packagegroups' => :'Array<String>',
89
- :'optionalgroups' => :'Array<String>'
79
+ :'digest' => :'String'
90
80
  }
91
81
  end
92
82
 
@@ -154,18 +144,6 @@ module PulpRpmClient
154
144
  if attributes.key?(:'digest')
155
145
  self.digest = attributes[:'digest']
156
146
  end
157
-
158
- if attributes.key?(:'packagegroups')
159
- if (value = attributes[:'packagegroups']).is_a?(Array)
160
- self.packagegroups = value
161
- end
162
- end
163
-
164
- if attributes.key?(:'optionalgroups')
165
- if (value = attributes[:'optionalgroups']).is_a?(Array)
166
- self.optionalgroups = value
167
- end
168
- end
169
147
  end
170
148
 
171
149
  # Show invalid properties with the reasons. Usually used together with valid?
@@ -279,9 +257,7 @@ module PulpRpmClient
279
257
  option_ids == o.option_ids &&
280
258
  desc_by_lang == o.desc_by_lang &&
281
259
  name_by_lang == o.name_by_lang &&
282
- digest == o.digest &&
283
- packagegroups == o.packagegroups &&
284
- optionalgroups == o.optionalgroups
260
+ digest == o.digest
285
261
  end
286
262
 
287
263
  # @see the `==` method
@@ -293,7 +269,7 @@ module PulpRpmClient
293
269
  # Calculates hash code according to all attributes.
294
270
  # @return [Integer] Hash code
295
271
  def hash
296
- [pulp_href, pulp_created, id, name, description, display_order, group_ids, option_ids, desc_by_lang, name_by_lang, digest, packagegroups, optionalgroups].hash
272
+ [pulp_href, pulp_created, id, name, description, display_order, group_ids, option_ids, desc_by_lang, name_by_lang, digest].hash
297
273
  end
298
274
 
299
275
  # Builds the object from hash