pulp_python_client 3.12.5 → 3.13.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (169) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +17 -16
  3. data/docs/AsyncOperationResponse.md +8 -7
  4. data/docs/ContentPackagesApi.md +170 -120
  5. data/docs/ContentSummaryResponse.md +12 -11
  6. data/docs/DistributionsPypiApi.md +385 -182
  7. data/docs/ExcludePlatformsEnum.md +4 -5
  8. data/docs/MyPermissionsResponse.md +8 -7
  9. data/docs/NestedRole.md +12 -11
  10. data/docs/NestedRoleResponse.md +12 -11
  11. data/docs/ObjectRolesResponse.md +8 -7
  12. data/docs/PackageMetadataResponse.md +14 -13
  13. data/docs/PackageTypesEnum.md +4 -5
  14. data/docs/PackageUploadTaskResponse.md +12 -11
  15. data/docs/PaginatedRepositoryVersionResponseList.md +14 -13
  16. data/docs/PaginatedpythonPythonDistributionResponseList.md +14 -13
  17. data/docs/PaginatedpythonPythonPackageContentResponseList.md +14 -13
  18. data/docs/PaginatedpythonPythonPublicationResponseList.md +14 -13
  19. data/docs/PaginatedpythonPythonRemoteResponseList.md +14 -13
  20. data/docs/PaginatedpythonPythonRepositoryResponseList.md +14 -13
  21. data/docs/PatchedpythonPythonDistribution.md +24 -23
  22. data/docs/PatchedpythonPythonRemote.md +60 -59
  23. data/docs/PatchedpythonPythonRepository.md +18 -17
  24. data/docs/PolicyEnum.md +4 -5
  25. data/docs/PublicationsPypiApi.md +267 -130
  26. data/docs/PypiApi.md +33 -17
  27. data/docs/PypiLegacyApi.md +34 -18
  28. data/docs/PypiMetadataApi.md +34 -18
  29. data/docs/PypiSimpleApi.md +95 -45
  30. data/docs/PythonPythonDistribution.md +24 -23
  31. data/docs/PythonPythonDistributionResponse.md +36 -35
  32. data/docs/PythonPythonPackageContentResponse.md +70 -69
  33. data/docs/PythonPythonPublication.md +10 -9
  34. data/docs/PythonPythonPublicationResponse.md +20 -19
  35. data/docs/PythonPythonRemote.md +60 -59
  36. data/docs/PythonPythonRemoteResponse.md +60 -59
  37. data/docs/PythonPythonRemoteResponseHiddenFieldsInner.md +20 -0
  38. data/docs/PythonPythonRepository.md +18 -17
  39. data/docs/PythonPythonRepositoryResponse.md +30 -29
  40. data/docs/RemotesPythonApi.md +420 -198
  41. data/docs/Repair.md +8 -7
  42. data/docs/RepositoriesPythonApi.md +444 -207
  43. data/docs/RepositoriesPythonVersionsApi.md +152 -82
  44. data/docs/RepositoryAddRemoveContent.md +12 -11
  45. data/docs/RepositorySyncURL.md +10 -9
  46. data/docs/RepositoryVersionResponse.md +22 -21
  47. data/docs/SetLabel.md +10 -9
  48. data/docs/SetLabelResponse.md +10 -9
  49. data/docs/SummaryResponse.md +12 -11
  50. data/docs/UnsetLabel.md +8 -7
  51. data/docs/UnsetLabelResponse.md +10 -9
  52. data/lib/pulp_python_client/api/content_packages_api.rb +21 -15
  53. data/lib/pulp_python_client/api/distributions_pypi_api.rb +89 -56
  54. data/lib/pulp_python_client/api/publications_pypi_api.rb +67 -47
  55. data/lib/pulp_python_client/api/pypi_api.rb +6 -5
  56. data/lib/pulp_python_client/api/pypi_legacy_api.rb +11 -7
  57. data/lib/pulp_python_client/api/pypi_metadata_api.rb +6 -5
  58. data/lib/pulp_python_client/api/pypi_simple_api.rb +19 -13
  59. data/lib/pulp_python_client/api/remotes_python_api.rb +113 -73
  60. data/lib/pulp_python_client/api/repositories_python_api.rb +107 -66
  61. data/lib/pulp_python_client/api/repositories_python_versions_api.rb +40 -30
  62. data/lib/pulp_python_client/api_client.rb +137 -102
  63. data/lib/pulp_python_client/api_error.rb +2 -1
  64. data/lib/pulp_python_client/configuration.rb +162 -21
  65. data/lib/pulp_python_client/models/async_operation_response.rb +32 -22
  66. data/lib/pulp_python_client/models/content_summary_response.rb +36 -22
  67. data/lib/pulp_python_client/models/exclude_platforms_enum.rb +8 -4
  68. data/lib/pulp_python_client/models/my_permissions_response.rb +32 -22
  69. data/lib/pulp_python_client/models/nested_role.rb +32 -22
  70. data/lib/pulp_python_client/models/nested_role_response.rb +32 -22
  71. data/lib/pulp_python_client/models/object_roles_response.rb +32 -22
  72. data/lib/pulp_python_client/models/package_metadata_response.rb +41 -37
  73. data/lib/pulp_python_client/models/package_types_enum.rb +8 -4
  74. data/lib/pulp_python_client/models/package_upload_task_response.rb +37 -23
  75. data/lib/pulp_python_client/models/paginated_repository_version_response_list.rb +34 -22
  76. data/lib/pulp_python_client/models/paginatedpython_python_distribution_response_list.rb +34 -22
  77. data/lib/pulp_python_client/models/paginatedpython_python_package_content_response_list.rb +34 -22
  78. data/lib/pulp_python_client/models/paginatedpython_python_publication_response_list.rb +34 -22
  79. data/lib/pulp_python_client/models/paginatedpython_python_remote_response_list.rb +34 -22
  80. data/lib/pulp_python_client/models/paginatedpython_python_repository_response_list.rb +34 -22
  81. data/lib/pulp_python_client/models/patchedpython_python_distribution.rb +40 -24
  82. data/lib/pulp_python_client/models/patchedpython_python_remote.rb +82 -44
  83. data/lib/pulp_python_client/models/patchedpython_python_repository.rb +35 -23
  84. data/lib/pulp_python_client/models/policy_enum.rb +8 -4
  85. data/lib/pulp_python_client/models/python_python_distribution.rb +34 -22
  86. data/lib/pulp_python_client/models/python_python_distribution_response.rb +36 -24
  87. data/lib/pulp_python_client/models/python_python_package_content_response.rb +38 -24
  88. data/lib/pulp_python_client/models/python_python_publication.rb +30 -22
  89. data/lib/pulp_python_client/models/python_python_publication_response.rb +32 -24
  90. data/lib/pulp_python_client/models/python_python_remote.rb +76 -42
  91. data/lib/pulp_python_client/models/python_python_remote_response.rb +79 -45
  92. data/lib/pulp_python_client/models/{python_python_remote_response_hidden_fields.rb → python_python_remote_response_hidden_fields_inner.rb} +37 -25
  93. data/lib/pulp_python_client/models/python_python_repository.rb +32 -22
  94. data/lib/pulp_python_client/models/python_python_repository_response.rb +34 -24
  95. data/lib/pulp_python_client/models/repair.rb +30 -22
  96. data/lib/pulp_python_client/models/repository_add_remove_content.rb +30 -22
  97. data/lib/pulp_python_client/models/repository_sync_url.rb +30 -22
  98. data/lib/pulp_python_client/models/repository_version_response.rb +32 -24
  99. data/lib/pulp_python_client/models/set_label.rb +34 -22
  100. data/lib/pulp_python_client/models/set_label_response.rb +34 -22
  101. data/lib/pulp_python_client/models/summary_response.rb +36 -22
  102. data/lib/pulp_python_client/models/unset_label.rb +32 -22
  103. data/lib/pulp_python_client/models/unset_label_response.rb +32 -22
  104. data/lib/pulp_python_client/version.rb +2 -2
  105. data/lib/pulp_python_client.rb +2 -5
  106. data/pulp_python_client.gemspec +9 -6
  107. data/spec/api/content_packages_api_spec.rb +4 -4
  108. data/spec/api/distributions_pypi_api_spec.rb +13 -13
  109. data/spec/api/publications_pypi_api_spec.rb +16 -15
  110. data/spec/api/pypi_api_spec.rb +2 -2
  111. data/spec/api/pypi_legacy_api_spec.rb +2 -2
  112. data/spec/api/pypi_metadata_api_spec.rb +2 -2
  113. data/spec/api/pypi_simple_api_spec.rb +4 -4
  114. data/spec/api/remotes_python_api_spec.rb +21 -20
  115. data/spec/api/repositories_python_api_spec.rb +15 -15
  116. data/spec/api/repositories_python_versions_api_spec.rb +12 -11
  117. data/spec/models/async_operation_response_spec.rb +7 -12
  118. data/spec/models/content_summary_response_spec.rb +9 -14
  119. data/spec/models/exclude_platforms_enum_spec.rb +6 -11
  120. data/spec/models/my_permissions_response_spec.rb +7 -12
  121. data/spec/models/nested_role_response_spec.rb +9 -14
  122. data/spec/models/nested_role_spec.rb +9 -14
  123. data/spec/models/object_roles_response_spec.rb +7 -12
  124. data/spec/models/package_metadata_response_spec.rb +10 -15
  125. data/spec/models/package_types_enum_spec.rb +6 -11
  126. data/spec/models/package_upload_task_response_spec.rb +9 -14
  127. data/spec/models/paginated_repository_version_response_list_spec.rb +10 -15
  128. data/spec/models/paginatedpython_python_distribution_response_list_spec.rb +10 -15
  129. data/spec/models/paginatedpython_python_package_content_response_list_spec.rb +10 -15
  130. data/spec/models/paginatedpython_python_publication_response_list_spec.rb +10 -15
  131. data/spec/models/paginatedpython_python_remote_response_list_spec.rb +10 -15
  132. data/spec/models/paginatedpython_python_repository_response_list_spec.rb +10 -15
  133. data/spec/models/patchedpython_python_distribution_spec.rb +15 -20
  134. data/spec/models/patchedpython_python_remote_spec.rb +33 -38
  135. data/spec/models/patchedpython_python_repository_spec.rb +12 -17
  136. data/spec/models/policy_enum_spec.rb +6 -11
  137. data/spec/models/python_python_distribution_response_spec.rb +21 -26
  138. data/spec/models/python_python_distribution_spec.rb +15 -20
  139. data/spec/models/python_python_package_content_response_spec.rb +38 -43
  140. data/spec/models/python_python_publication_response_spec.rb +13 -18
  141. data/spec/models/python_python_publication_spec.rb +8 -13
  142. data/spec/models/{python_python_remote_response_hidden_fields_spec.rb → python_python_remote_response_hidden_fields_inner_spec.rb} +11 -16
  143. data/spec/models/python_python_remote_response_spec.rb +33 -38
  144. data/spec/models/python_python_remote_spec.rb +33 -38
  145. data/spec/models/python_python_repository_response_spec.rb +18 -23
  146. data/spec/models/python_python_repository_spec.rb +12 -17
  147. data/spec/models/repair_spec.rb +7 -12
  148. data/spec/models/repository_add_remove_content_spec.rb +9 -14
  149. data/spec/models/repository_sync_url_spec.rb +8 -13
  150. data/spec/models/repository_version_response_spec.rb +14 -19
  151. data/spec/models/set_label_response_spec.rb +8 -13
  152. data/spec/models/set_label_spec.rb +8 -13
  153. data/spec/models/summary_response_spec.rb +9 -14
  154. data/spec/models/unset_label_response_spec.rb +8 -13
  155. data/spec/models/unset_label_spec.rb +7 -12
  156. data/spec/spec_helper.rb +1 -1
  157. metadata +81 -69
  158. data/docs/PackageUpload.md +0 -21
  159. data/docs/PythonBanderRemote.md +0 -21
  160. data/docs/PythonPythonPackageContent.md +0 -71
  161. data/docs/PythonPythonRemoteResponseHiddenFields.md +0 -19
  162. data/lib/pulp_python_client/models/package_upload.rb +0 -283
  163. data/lib/pulp_python_client/models/python_bander_remote.rb +0 -257
  164. data/lib/pulp_python_client/models/python_python_package_content.rb +0 -534
  165. data/spec/api_client_spec.rb +0 -188
  166. data/spec/configuration_spec.rb +0 -42
  167. data/spec/models/package_upload_spec.rb +0 -53
  168. data/spec/models/python_bander_remote_spec.rb +0 -53
  169. data/spec/models/python_python_package_content_spec.rb +0 -203
@@ -2,37 +2,36 @@
2
2
 
3
3
  All URIs are relative to *http://localhost:24817*
4
4
 
5
- Method | HTTP request | Description
6
- ------------- | ------------- | -------------
7
- [**add_role**](RepositoriesPythonApi.md#add_role) | **POST** {python_python_repository_href}add_role/ | Add a role
8
- [**create**](RepositoriesPythonApi.md#create) | **POST** /pulp/api/v3/repositories/python/python/ | Create a python repository
9
- [**delete**](RepositoriesPythonApi.md#delete) | **DELETE** {python_python_repository_href} | Delete a python repository
10
- [**list**](RepositoriesPythonApi.md#list) | **GET** /pulp/api/v3/repositories/python/python/ | List python repositorys
11
- [**list_roles**](RepositoriesPythonApi.md#list_roles) | **GET** {python_python_repository_href}list_roles/ | List roles
12
- [**modify**](RepositoriesPythonApi.md#modify) | **POST** {python_python_repository_href}modify/ | Modify Repository Content
13
- [**my_permissions**](RepositoriesPythonApi.md#my_permissions) | **GET** {python_python_repository_href}my_permissions/ | List user permissions
14
- [**partial_update**](RepositoriesPythonApi.md#partial_update) | **PATCH** {python_python_repository_href} | Update a python repository
15
- [**read**](RepositoriesPythonApi.md#read) | **GET** {python_python_repository_href} | Inspect a python repository
16
- [**remove_role**](RepositoriesPythonApi.md#remove_role) | **POST** {python_python_repository_href}remove_role/ | Remove a role
17
- [**set_label**](RepositoriesPythonApi.md#set_label) | **POST** {python_python_repository_href}set_label/ | Set a label
18
- [**sync**](RepositoriesPythonApi.md#sync) | **POST** {python_python_repository_href}sync/ | Sync from remote
19
- [**unset_label**](RepositoriesPythonApi.md#unset_label) | **POST** {python_python_repository_href}unset_label/ | Unset a label
20
- [**update**](RepositoriesPythonApi.md#update) | **PUT** {python_python_repository_href} | Update a python repository
21
-
5
+ | Method | HTTP request | Description |
6
+ | ------ | ------------ | ----------- |
7
+ | [**add_role**](RepositoriesPythonApi.md#add_role) | **POST** {python_python_repository_href}add_role/ | Add a role |
8
+ | [**create**](RepositoriesPythonApi.md#create) | **POST** /pulp/api/v3/repositories/python/python/ | Create a python repository |
9
+ | [**delete**](RepositoriesPythonApi.md#delete) | **DELETE** {python_python_repository_href} | Delete a python repository |
10
+ | [**list**](RepositoriesPythonApi.md#list) | **GET** /pulp/api/v3/repositories/python/python/ | List python repositorys |
11
+ | [**list_roles**](RepositoriesPythonApi.md#list_roles) | **GET** {python_python_repository_href}list_roles/ | List roles |
12
+ | [**modify**](RepositoriesPythonApi.md#modify) | **POST** {python_python_repository_href}modify/ | Modify Repository Content |
13
+ | [**my_permissions**](RepositoriesPythonApi.md#my_permissions) | **GET** {python_python_repository_href}my_permissions/ | List user permissions |
14
+ | [**partial_update**](RepositoriesPythonApi.md#partial_update) | **PATCH** {python_python_repository_href} | Update a python repository |
15
+ | [**read**](RepositoriesPythonApi.md#read) | **GET** {python_python_repository_href} | Inspect a python repository |
16
+ | [**remove_role**](RepositoriesPythonApi.md#remove_role) | **POST** {python_python_repository_href}remove_role/ | Remove a role |
17
+ | [**set_label**](RepositoriesPythonApi.md#set_label) | **POST** {python_python_repository_href}set_label/ | Set a label |
18
+ | [**sync**](RepositoriesPythonApi.md#sync) | **POST** {python_python_repository_href}sync/ | Sync from remote |
19
+ | [**unset_label**](RepositoriesPythonApi.md#unset_label) | **POST** {python_python_repository_href}unset_label/ | Unset a label |
20
+ | [**update**](RepositoriesPythonApi.md#update) | **PUT** {python_python_repository_href} | Update a python repository |
22
21
 
23
22
 
24
23
  ## add_role
25
24
 
26
- > NestedRoleResponse add_role(python_python_repository_href, nested_role)
25
+ > <NestedRoleResponse> add_role(python_python_repository_href, nested_role)
27
26
 
28
27
  Add a role
29
28
 
30
29
  Add a role for this object to users/groups.
31
30
 
32
- ### Example
31
+ ### Examples
33
32
 
34
33
  ```ruby
35
- # load the gem
34
+ require 'time'
36
35
  require 'pulp_python_client'
37
36
  # setup authorization
38
37
  PulpPythonClient.configure do |config|
@@ -43,24 +42,41 @@ end
43
42
 
44
43
  api_instance = PulpPythonClient::RepositoriesPythonApi.new
45
44
  python_python_repository_href = 'python_python_repository_href_example' # String |
46
- nested_role = PulpPythonClient::NestedRole.new # NestedRole |
45
+ nested_role = PulpPythonClient::NestedRole.new({role: 'role_example'}) # NestedRole |
47
46
 
48
47
  begin
49
- #Add a role
48
+ # Add a role
50
49
  result = api_instance.add_role(python_python_repository_href, nested_role)
51
50
  p result
52
51
  rescue PulpPythonClient::ApiError => e
53
- puts "Exception when calling RepositoriesPythonApi->add_role: #{e}"
52
+ puts "Error when calling RepositoriesPythonApi->add_role: #{e}"
54
53
  end
55
54
  ```
56
55
 
57
- ### Parameters
56
+ #### Using the add_role_with_http_info variant
57
+
58
+ This returns an Array which contains the response data, status code and headers.
59
+
60
+ > <Array(<NestedRoleResponse>, Integer, Hash)> add_role_with_http_info(python_python_repository_href, nested_role)
61
+
62
+ ```ruby
63
+ begin
64
+ # Add a role
65
+ data, status_code, headers = api_instance.add_role_with_http_info(python_python_repository_href, nested_role)
66
+ p status_code # => 2xx
67
+ p headers # => { ... }
68
+ p data # => <NestedRoleResponse>
69
+ rescue PulpPythonClient::ApiError => e
70
+ puts "Error when calling RepositoriesPythonApi->add_role_with_http_info: #{e}"
71
+ end
72
+ ```
58
73
 
74
+ ### Parameters
59
75
 
60
- Name | Type | Description | Notes
61
- ------------- | ------------- | ------------- | -------------
62
- **python_python_repository_href** | **String**| |
63
- **nested_role** | [**NestedRole**](NestedRole.md)| |
76
+ | Name | Type | Description | Notes |
77
+ | ---- | ---- | ----------- | ----- |
78
+ | **python_python_repository_href** | **String** | | |
79
+ | **nested_role** | [**NestedRole**](NestedRole.md) | | |
64
80
 
65
81
  ### Return type
66
82
 
@@ -78,16 +94,16 @@ Name | Type | Description | Notes
78
94
 
79
95
  ## create
80
96
 
81
- > PythonPythonRepositoryResponse create(python_python_repository)
97
+ > <PythonPythonRepositoryResponse> create(python_python_repository)
82
98
 
83
99
  Create a python repository
84
100
 
85
101
  PythonRepository represents a single Python repository, to which content can be synced, added, or removed.
86
102
 
87
- ### Example
103
+ ### Examples
88
104
 
89
105
  ```ruby
90
- # load the gem
106
+ require 'time'
91
107
  require 'pulp_python_client'
92
108
  # setup authorization
93
109
  PulpPythonClient.configure do |config|
@@ -97,23 +113,40 @@ PulpPythonClient.configure do |config|
97
113
  end
98
114
 
99
115
  api_instance = PulpPythonClient::RepositoriesPythonApi.new
100
- python_python_repository = PulpPythonClient::PythonPythonRepository.new # PythonPythonRepository |
116
+ python_python_repository = PulpPythonClient::PythonPythonRepository.new({name: 'name_example'}) # PythonPythonRepository |
101
117
 
102
118
  begin
103
- #Create a python repository
119
+ # Create a python repository
104
120
  result = api_instance.create(python_python_repository)
105
121
  p result
106
122
  rescue PulpPythonClient::ApiError => e
107
- puts "Exception when calling RepositoriesPythonApi->create: #{e}"
123
+ puts "Error when calling RepositoriesPythonApi->create: #{e}"
108
124
  end
109
125
  ```
110
126
 
111
- ### Parameters
127
+ #### Using the create_with_http_info variant
128
+
129
+ This returns an Array which contains the response data, status code and headers.
130
+
131
+ > <Array(<PythonPythonRepositoryResponse>, Integer, Hash)> create_with_http_info(python_python_repository)
132
+
133
+ ```ruby
134
+ begin
135
+ # Create a python repository
136
+ data, status_code, headers = api_instance.create_with_http_info(python_python_repository)
137
+ p status_code # => 2xx
138
+ p headers # => { ... }
139
+ p data # => <PythonPythonRepositoryResponse>
140
+ rescue PulpPythonClient::ApiError => e
141
+ puts "Error when calling RepositoriesPythonApi->create_with_http_info: #{e}"
142
+ end
143
+ ```
112
144
 
145
+ ### Parameters
113
146
 
114
- Name | Type | Description | Notes
115
- ------------- | ------------- | ------------- | -------------
116
- **python_python_repository** | [**PythonPythonRepository**](PythonPythonRepository.md)| |
147
+ | Name | Type | Description | Notes |
148
+ | ---- | ---- | ----------- | ----- |
149
+ | **python_python_repository** | [**PythonPythonRepository**](PythonPythonRepository.md) | | |
117
150
 
118
151
  ### Return type
119
152
 
@@ -131,16 +164,16 @@ Name | Type | Description | Notes
131
164
 
132
165
  ## delete
133
166
 
134
- > AsyncOperationResponse delete(python_python_repository_href)
167
+ > <AsyncOperationResponse> delete(python_python_repository_href)
135
168
 
136
169
  Delete a python repository
137
170
 
138
171
  Trigger an asynchronous delete task
139
172
 
140
- ### Example
173
+ ### Examples
141
174
 
142
175
  ```ruby
143
- # load the gem
176
+ require 'time'
144
177
  require 'pulp_python_client'
145
178
  # setup authorization
146
179
  PulpPythonClient.configure do |config|
@@ -153,20 +186,37 @@ api_instance = PulpPythonClient::RepositoriesPythonApi.new
153
186
  python_python_repository_href = 'python_python_repository_href_example' # String |
154
187
 
155
188
  begin
156
- #Delete a python repository
189
+ # Delete a python repository
157
190
  result = api_instance.delete(python_python_repository_href)
158
191
  p result
159
192
  rescue PulpPythonClient::ApiError => e
160
- puts "Exception when calling RepositoriesPythonApi->delete: #{e}"
193
+ puts "Error when calling RepositoriesPythonApi->delete: #{e}"
161
194
  end
162
195
  ```
163
196
 
164
- ### Parameters
197
+ #### Using the delete_with_http_info variant
198
+
199
+ This returns an Array which contains the response data, status code and headers.
200
+
201
+ > <Array(<AsyncOperationResponse>, Integer, Hash)> delete_with_http_info(python_python_repository_href)
202
+
203
+ ```ruby
204
+ begin
205
+ # Delete a python repository
206
+ data, status_code, headers = api_instance.delete_with_http_info(python_python_repository_href)
207
+ p status_code # => 2xx
208
+ p headers # => { ... }
209
+ p data # => <AsyncOperationResponse>
210
+ rescue PulpPythonClient::ApiError => e
211
+ puts "Error when calling RepositoriesPythonApi->delete_with_http_info: #{e}"
212
+ end
213
+ ```
165
214
 
215
+ ### Parameters
166
216
 
167
- Name | Type | Description | Notes
168
- ------------- | ------------- | ------------- | -------------
169
- **python_python_repository_href** | **String**| |
217
+ | Name | Type | Description | Notes |
218
+ | ---- | ---- | ----------- | ----- |
219
+ | **python_python_repository_href** | **String** | | |
170
220
 
171
221
  ### Return type
172
222
 
@@ -184,16 +234,16 @@ Name | Type | Description | Notes
184
234
 
185
235
  ## list
186
236
 
187
- > PaginatedpythonPythonRepositoryResponseList list(opts)
237
+ > <PaginatedpythonPythonRepositoryResponseList> list(opts)
188
238
 
189
239
  List python repositorys
190
240
 
191
241
  PythonRepository represents a single Python repository, to which content can be synced, added, or removed.
192
242
 
193
- ### Example
243
+ ### Examples
194
244
 
195
245
  ```ruby
196
- # load the gem
246
+ require 'time'
197
247
  require 'pulp_python_client'
198
248
  # setup authorization
199
249
  PulpPythonClient.configure do |config|
@@ -210,19 +260,19 @@ opts = {
210
260
  name__contains: 'name__contains_example', # String | Filter results where name contains value
211
261
  name__icontains: 'name__icontains_example', # String | Filter results where name contains value
212
262
  name__iexact: 'name__iexact_example', # String | Filter results where name matches value
213
- name__in: ['name__in_example'], # Array<String> | Filter results where name is in a comma-separated list of values
263
+ name__in: ['inner_example'], # Array<String> | Filter results where name is in a comma-separated list of values
214
264
  name__iregex: 'name__iregex_example', # String | Filter results where name matches regex value
215
265
  name__istartswith: 'name__istartswith_example', # String | Filter results where name starts with value
216
266
  name__regex: 'name__regex_example', # String | Filter results where name matches regex value
217
267
  name__startswith: 'name__startswith_example', # String | Filter results where name starts with value
218
268
  offset: 56, # Integer | The initial index from which to return the results.
219
- ordering: ['ordering_example'], # Array<String> | Ordering * `pulp_id` - Pulp id * `-pulp_id` - Pulp id (descending) * `pulp_created` - Pulp created * `-pulp_created` - Pulp created (descending) * `pulp_last_updated` - Pulp last updated * `-pulp_last_updated` - Pulp last updated (descending) * `pulp_type` - Pulp type * `-pulp_type` - Pulp type (descending) * `name` - Name * `-name` - Name (descending) * `pulp_labels` - Pulp labels * `-pulp_labels` - Pulp labels (descending) * `description` - Description * `-description` - Description (descending) * `next_version` - Next version * `-next_version` - Next version (descending) * `retain_repo_versions` - Retain repo versions * `-retain_repo_versions` - Retain repo versions (descending) * `user_hidden` - User hidden * `-user_hidden` - User hidden (descending) * `pk` - Pk * `-pk` - Pk (descending)
220
- prn__in: ['prn__in_example'], # Array<String> | Multiple values may be separated by commas.
221
- pulp_href__in: ['pulp_href__in_example'], # Array<String> | Multiple values may be separated by commas.
222
- pulp_id__in: ['pulp_id__in_example'], # Array<String> | Multiple values may be separated by commas.
269
+ ordering: ['-description'], # Array<String> | Ordering * `pulp_id` - Pulp id * `-pulp_id` - Pulp id (descending) * `pulp_created` - Pulp created * `-pulp_created` - Pulp created (descending) * `pulp_last_updated` - Pulp last updated * `-pulp_last_updated` - Pulp last updated (descending) * `pulp_type` - Pulp type * `-pulp_type` - Pulp type (descending) * `name` - Name * `-name` - Name (descending) * `pulp_labels` - Pulp labels * `-pulp_labels` - Pulp labels (descending) * `description` - Description * `-description` - Description (descending) * `next_version` - Next version * `-next_version` - Next version (descending) * `retain_repo_versions` - Retain repo versions * `-retain_repo_versions` - Retain repo versions (descending) * `user_hidden` - User hidden * `-user_hidden` - User hidden (descending) * `pk` - Pk * `-pk` - Pk (descending)
270
+ prn__in: ['inner_example'], # Array<String> | Multiple values may be separated by commas.
271
+ pulp_href__in: ['inner_example'], # Array<String> | Multiple values may be separated by commas.
272
+ pulp_id__in: ['inner_example'], # Array<String> | Multiple values may be separated by commas.
223
273
  pulp_label_select: 'pulp_label_select_example', # String | Filter labels by search string
224
274
  q: 'q_example', # String | Filter results by using NOT, AND and OR operations on other filters
225
- remote: 'remote_example', # String | Foreign Key referenced by HREF
275
+ remote: '38400000-8cf0-11bd-b23e-10b96e4ef00d', # String | Foreign Key referenced by HREF
226
276
  retain_repo_versions: 56, # Integer | Filter results where retain_repo_versions matches value
227
277
  retain_repo_versions__gt: 56, # Integer | Filter results where retain_repo_versions is greater than value
228
278
  retain_repo_versions__gte: 56, # Integer | Filter results where retain_repo_versions is greater than or equal to value
@@ -230,56 +280,73 @@ opts = {
230
280
  retain_repo_versions__lt: 56, # Integer | Filter results where retain_repo_versions is less than value
231
281
  retain_repo_versions__lte: 56, # Integer | Filter results where retain_repo_versions is less than or equal to value
232
282
  retain_repo_versions__ne: 56, # Integer | Filter results where retain_repo_versions not equal to value
233
- retain_repo_versions__range: [56], # Array<Integer> | Filter results where retain_repo_versions is between two comma separated values
283
+ retain_repo_versions__range: [37], # Array<Integer> | Filter results where retain_repo_versions is between two comma separated values
234
284
  with_content: 'with_content_example', # String | Content Unit referenced by HREF/PRN
235
- fields: ['fields_example'], # Array<String> | A list of fields to include in the response.
236
- exclude_fields: ['exclude_fields_example'] # Array<String> | A list of fields to exclude from the response.
285
+ fields: ['inner_example'], # Array<String> | A list of fields to include in the response.
286
+ exclude_fields: ['inner_example'] # Array<String> | A list of fields to exclude from the response.
237
287
  }
238
288
 
239
289
  begin
240
- #List python repositorys
290
+ # List python repositorys
241
291
  result = api_instance.list(opts)
242
292
  p result
243
293
  rescue PulpPythonClient::ApiError => e
244
- puts "Exception when calling RepositoriesPythonApi->list: #{e}"
294
+ puts "Error when calling RepositoriesPythonApi->list: #{e}"
245
295
  end
246
296
  ```
247
297
 
248
- ### Parameters
298
+ #### Using the list_with_http_info variant
249
299
 
300
+ This returns an Array which contains the response data, status code and headers.
250
301
 
251
- Name | Type | Description | Notes
252
- ------------- | ------------- | ------------- | -------------
253
- **latest_with_content** | **String**| Content Unit referenced by HREF/PRN | [optional]
254
- **limit** | **Integer**| Number of results to return per page. | [optional]
255
- **name** | **String**| Filter results where name matches value | [optional]
256
- **name__contains** | **String**| Filter results where name contains value | [optional]
257
- **name__icontains** | **String**| Filter results where name contains value | [optional]
258
- **name__iexact** | **String**| Filter results where name matches value | [optional]
259
- **name__in** | [**Array&lt;String&gt;**](String.md)| Filter results where name is in a comma-separated list of values | [optional]
260
- **name__iregex** | **String**| Filter results where name matches regex value | [optional]
261
- **name__istartswith** | **String**| Filter results where name starts with value | [optional]
262
- **name__regex** | **String**| Filter results where name matches regex value | [optional]
263
- **name__startswith** | **String**| Filter results where name starts with value | [optional]
264
- **offset** | **Integer**| The initial index from which to return the results. | [optional]
265
- **ordering** | [**Array&lt;String&gt;**](String.md)| 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;pulp_type&#x60; - Pulp type * &#x60;-pulp_type&#x60; - Pulp type (descending) * &#x60;name&#x60; - Name * &#x60;-name&#x60; - Name (descending) * &#x60;pulp_labels&#x60; - Pulp labels * &#x60;-pulp_labels&#x60; - Pulp labels (descending) * &#x60;description&#x60; - Description * &#x60;-description&#x60; - Description (descending) * &#x60;next_version&#x60; - Next version * &#x60;-next_version&#x60; - Next version (descending) * &#x60;retain_repo_versions&#x60; - Retain repo versions * &#x60;-retain_repo_versions&#x60; - Retain repo versions (descending) * &#x60;user_hidden&#x60; - User hidden * &#x60;-user_hidden&#x60; - User hidden (descending) * &#x60;pk&#x60; - Pk * &#x60;-pk&#x60; - Pk (descending) | [optional]
266
- **prn__in** | [**Array&lt;String&gt;**](String.md)| Multiple values may be separated by commas. | [optional]
267
- **pulp_href__in** | [**Array&lt;String&gt;**](String.md)| Multiple values may be separated by commas. | [optional]
268
- **pulp_id__in** | [**Array&lt;String&gt;**](String.md)| Multiple values may be separated by commas. | [optional]
269
- **pulp_label_select** | **String**| Filter labels by search string | [optional]
270
- **q** | **String**| Filter results by using NOT, AND and OR operations on other filters | [optional]
271
- **remote** | [**String**](.md)| Foreign Key referenced by HREF | [optional]
272
- **retain_repo_versions** | **Integer**| Filter results where retain_repo_versions matches value | [optional]
273
- **retain_repo_versions__gt** | **Integer**| Filter results where retain_repo_versions is greater than value | [optional]
274
- **retain_repo_versions__gte** | **Integer**| Filter results where retain_repo_versions is greater than or equal to value | [optional]
275
- **retain_repo_versions__isnull** | **Boolean**| Filter results where retain_repo_versions has a null value | [optional]
276
- **retain_repo_versions__lt** | **Integer**| Filter results where retain_repo_versions is less than value | [optional]
277
- **retain_repo_versions__lte** | **Integer**| Filter results where retain_repo_versions is less than or equal to value | [optional]
278
- **retain_repo_versions__ne** | **Integer**| Filter results where retain_repo_versions not equal to value | [optional]
279
- **retain_repo_versions__range** | [**Array&lt;Integer&gt;**](Integer.md)| Filter results where retain_repo_versions is between two comma separated values | [optional]
280
- **with_content** | **String**| Content Unit referenced by HREF/PRN | [optional]
281
- **fields** | [**Array&lt;String&gt;**](String.md)| A list of fields to include in the response. | [optional]
282
- **exclude_fields** | [**Array&lt;String&gt;**](String.md)| A list of fields to exclude from the response. | [optional]
302
+ > <Array(<PaginatedpythonPythonRepositoryResponseList>, Integer, Hash)> list_with_http_info(opts)
303
+
304
+ ```ruby
305
+ begin
306
+ # List python repositorys
307
+ data, status_code, headers = api_instance.list_with_http_info(opts)
308
+ p status_code # => 2xx
309
+ p headers # => { ... }
310
+ p data # => <PaginatedpythonPythonRepositoryResponseList>
311
+ rescue PulpPythonClient::ApiError => e
312
+ puts "Error when calling RepositoriesPythonApi->list_with_http_info: #{e}"
313
+ end
314
+ ```
315
+
316
+ ### Parameters
317
+
318
+ | Name | Type | Description | Notes |
319
+ | ---- | ---- | ----------- | ----- |
320
+ | **latest_with_content** | **String** | Content Unit referenced by HREF/PRN | [optional] |
321
+ | **limit** | **Integer** | Number of results to return per page. | [optional] |
322
+ | **name** | **String** | Filter results where name matches value | [optional] |
323
+ | **name__contains** | **String** | Filter results where name contains value | [optional] |
324
+ | **name__icontains** | **String** | Filter results where name contains value | [optional] |
325
+ | **name__iexact** | **String** | Filter results where name matches value | [optional] |
326
+ | **name__in** | [**Array&lt;String&gt;**](String.md) | Filter results where name is in a comma-separated list of values | [optional] |
327
+ | **name__iregex** | **String** | Filter results where name matches regex value | [optional] |
328
+ | **name__istartswith** | **String** | Filter results where name starts with value | [optional] |
329
+ | **name__regex** | **String** | Filter results where name matches regex value | [optional] |
330
+ | **name__startswith** | **String** | Filter results where name starts with value | [optional] |
331
+ | **offset** | **Integer** | The initial index from which to return the results. | [optional] |
332
+ | **ordering** | [**Array&lt;String&gt;**](String.md) | 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;pulp_type&#x60; - Pulp type * &#x60;-pulp_type&#x60; - Pulp type (descending) * &#x60;name&#x60; - Name * &#x60;-name&#x60; - Name (descending) * &#x60;pulp_labels&#x60; - Pulp labels * &#x60;-pulp_labels&#x60; - Pulp labels (descending) * &#x60;description&#x60; - Description * &#x60;-description&#x60; - Description (descending) * &#x60;next_version&#x60; - Next version * &#x60;-next_version&#x60; - Next version (descending) * &#x60;retain_repo_versions&#x60; - Retain repo versions * &#x60;-retain_repo_versions&#x60; - Retain repo versions (descending) * &#x60;user_hidden&#x60; - User hidden * &#x60;-user_hidden&#x60; - User hidden (descending) * &#x60;pk&#x60; - Pk * &#x60;-pk&#x60; - Pk (descending) | [optional] |
333
+ | **prn__in** | [**Array&lt;String&gt;**](String.md) | Multiple values may be separated by commas. | [optional] |
334
+ | **pulp_href__in** | [**Array&lt;String&gt;**](String.md) | Multiple values may be separated by commas. | [optional] |
335
+ | **pulp_id__in** | [**Array&lt;String&gt;**](String.md) | Multiple values may be separated by commas. | [optional] |
336
+ | **pulp_label_select** | **String** | Filter labels by search string | [optional] |
337
+ | **q** | **String** | Filter results by using NOT, AND and OR operations on other filters | [optional] |
338
+ | **remote** | **String** | Foreign Key referenced by HREF | [optional] |
339
+ | **retain_repo_versions** | **Integer** | Filter results where retain_repo_versions matches value | [optional] |
340
+ | **retain_repo_versions__gt** | **Integer** | Filter results where retain_repo_versions is greater than value | [optional] |
341
+ | **retain_repo_versions__gte** | **Integer** | Filter results where retain_repo_versions is greater than or equal to value | [optional] |
342
+ | **retain_repo_versions__isnull** | **Boolean** | Filter results where retain_repo_versions has a null value | [optional] |
343
+ | **retain_repo_versions__lt** | **Integer** | Filter results where retain_repo_versions is less than value | [optional] |
344
+ | **retain_repo_versions__lte** | **Integer** | Filter results where retain_repo_versions is less than or equal to value | [optional] |
345
+ | **retain_repo_versions__ne** | **Integer** | Filter results where retain_repo_versions not equal to value | [optional] |
346
+ | **retain_repo_versions__range** | [**Array&lt;Integer&gt;**](Integer.md) | Filter results where retain_repo_versions is between two comma separated values | [optional] |
347
+ | **with_content** | **String** | Content Unit referenced by HREF/PRN | [optional] |
348
+ | **fields** | [**Array&lt;String&gt;**](String.md) | A list of fields to include in the response. | [optional] |
349
+ | **exclude_fields** | [**Array&lt;String&gt;**](String.md) | A list of fields to exclude from the response. | [optional] |
283
350
 
284
351
  ### Return type
285
352
 
@@ -297,16 +364,16 @@ Name | Type | Description | Notes
297
364
 
298
365
  ## list_roles
299
366
 
300
- > ObjectRolesResponse list_roles(python_python_repository_href, opts)
367
+ > <ObjectRolesResponse> list_roles(python_python_repository_href, opts)
301
368
 
302
369
  List roles
303
370
 
304
371
  List roles assigned to this object.
305
372
 
306
- ### Example
373
+ ### Examples
307
374
 
308
375
  ```ruby
309
- # load the gem
376
+ require 'time'
310
377
  require 'pulp_python_client'
311
378
  # setup authorization
312
379
  PulpPythonClient.configure do |config|
@@ -318,27 +385,44 @@ end
318
385
  api_instance = PulpPythonClient::RepositoriesPythonApi.new
319
386
  python_python_repository_href = 'python_python_repository_href_example' # String |
320
387
  opts = {
321
- fields: ['fields_example'], # Array<String> | A list of fields to include in the response.
322
- exclude_fields: ['exclude_fields_example'] # Array<String> | A list of fields to exclude from the response.
388
+ fields: ['inner_example'], # Array<String> | A list of fields to include in the response.
389
+ exclude_fields: ['inner_example'] # Array<String> | A list of fields to exclude from the response.
323
390
  }
324
391
 
325
392
  begin
326
- #List roles
393
+ # List roles
327
394
  result = api_instance.list_roles(python_python_repository_href, opts)
328
395
  p result
329
396
  rescue PulpPythonClient::ApiError => e
330
- puts "Exception when calling RepositoriesPythonApi->list_roles: #{e}"
397
+ puts "Error when calling RepositoriesPythonApi->list_roles: #{e}"
331
398
  end
332
399
  ```
333
400
 
334
- ### Parameters
401
+ #### Using the list_roles_with_http_info variant
402
+
403
+ This returns an Array which contains the response data, status code and headers.
404
+
405
+ > <Array(<ObjectRolesResponse>, Integer, Hash)> list_roles_with_http_info(python_python_repository_href, opts)
406
+
407
+ ```ruby
408
+ begin
409
+ # List roles
410
+ data, status_code, headers = api_instance.list_roles_with_http_info(python_python_repository_href, opts)
411
+ p status_code # => 2xx
412
+ p headers # => { ... }
413
+ p data # => <ObjectRolesResponse>
414
+ rescue PulpPythonClient::ApiError => e
415
+ puts "Error when calling RepositoriesPythonApi->list_roles_with_http_info: #{e}"
416
+ end
417
+ ```
335
418
 
419
+ ### Parameters
336
420
 
337
- Name | Type | Description | Notes
338
- ------------- | ------------- | ------------- | -------------
339
- **python_python_repository_href** | **String**| |
340
- **fields** | [**Array&lt;String&gt;**](String.md)| A list of fields to include in the response. | [optional]
341
- **exclude_fields** | [**Array&lt;String&gt;**](String.md)| A list of fields to exclude from the response. | [optional]
421
+ | Name | Type | Description | Notes |
422
+ | ---- | ---- | ----------- | ----- |
423
+ | **python_python_repository_href** | **String** | | |
424
+ | **fields** | [**Array&lt;String&gt;**](String.md) | A list of fields to include in the response. | [optional] |
425
+ | **exclude_fields** | [**Array&lt;String&gt;**](String.md) | A list of fields to exclude from the response. | [optional] |
342
426
 
343
427
  ### Return type
344
428
 
@@ -356,16 +440,16 @@ Name | Type | Description | Notes
356
440
 
357
441
  ## modify
358
442
 
359
- > AsyncOperationResponse modify(python_python_repository_href, repository_add_remove_content)
443
+ > <AsyncOperationResponse> modify(python_python_repository_href, repository_add_remove_content)
360
444
 
361
445
  Modify Repository Content
362
446
 
363
447
  Trigger an asynchronous task to create a new repository version.
364
448
 
365
- ### Example
449
+ ### Examples
366
450
 
367
451
  ```ruby
368
- # load the gem
452
+ require 'time'
369
453
  require 'pulp_python_client'
370
454
  # setup authorization
371
455
  PulpPythonClient.configure do |config|
@@ -379,21 +463,38 @@ python_python_repository_href = 'python_python_repository_href_example' # String
379
463
  repository_add_remove_content = PulpPythonClient::RepositoryAddRemoveContent.new # RepositoryAddRemoveContent |
380
464
 
381
465
  begin
382
- #Modify Repository Content
466
+ # Modify Repository Content
383
467
  result = api_instance.modify(python_python_repository_href, repository_add_remove_content)
384
468
  p result
385
469
  rescue PulpPythonClient::ApiError => e
386
- puts "Exception when calling RepositoriesPythonApi->modify: #{e}"
470
+ puts "Error when calling RepositoriesPythonApi->modify: #{e}"
387
471
  end
388
472
  ```
389
473
 
390
- ### Parameters
474
+ #### Using the modify_with_http_info variant
391
475
 
476
+ This returns an Array which contains the response data, status code and headers.
392
477
 
393
- Name | Type | Description | Notes
394
- ------------- | ------------- | ------------- | -------------
395
- **python_python_repository_href** | **String**| |
396
- **repository_add_remove_content** | [**RepositoryAddRemoveContent**](RepositoryAddRemoveContent.md)| |
478
+ > <Array(<AsyncOperationResponse>, Integer, Hash)> modify_with_http_info(python_python_repository_href, repository_add_remove_content)
479
+
480
+ ```ruby
481
+ begin
482
+ # Modify Repository Content
483
+ data, status_code, headers = api_instance.modify_with_http_info(python_python_repository_href, repository_add_remove_content)
484
+ p status_code # => 2xx
485
+ p headers # => { ... }
486
+ p data # => <AsyncOperationResponse>
487
+ rescue PulpPythonClient::ApiError => e
488
+ puts "Error when calling RepositoriesPythonApi->modify_with_http_info: #{e}"
489
+ end
490
+ ```
491
+
492
+ ### Parameters
493
+
494
+ | Name | Type | Description | Notes |
495
+ | ---- | ---- | ----------- | ----- |
496
+ | **python_python_repository_href** | **String** | | |
497
+ | **repository_add_remove_content** | [**RepositoryAddRemoveContent**](RepositoryAddRemoveContent.md) | | |
397
498
 
398
499
  ### Return type
399
500
 
@@ -411,16 +512,16 @@ Name | Type | Description | Notes
411
512
 
412
513
  ## my_permissions
413
514
 
414
- > MyPermissionsResponse my_permissions(python_python_repository_href, opts)
515
+ > <MyPermissionsResponse> my_permissions(python_python_repository_href, opts)
415
516
 
416
517
  List user permissions
417
518
 
418
519
  List permissions available to the current user on this object.
419
520
 
420
- ### Example
521
+ ### Examples
421
522
 
422
523
  ```ruby
423
- # load the gem
524
+ require 'time'
424
525
  require 'pulp_python_client'
425
526
  # setup authorization
426
527
  PulpPythonClient.configure do |config|
@@ -432,27 +533,44 @@ end
432
533
  api_instance = PulpPythonClient::RepositoriesPythonApi.new
433
534
  python_python_repository_href = 'python_python_repository_href_example' # String |
434
535
  opts = {
435
- fields: ['fields_example'], # Array<String> | A list of fields to include in the response.
436
- exclude_fields: ['exclude_fields_example'] # Array<String> | A list of fields to exclude from the response.
536
+ fields: ['inner_example'], # Array<String> | A list of fields to include in the response.
537
+ exclude_fields: ['inner_example'] # Array<String> | A list of fields to exclude from the response.
437
538
  }
438
539
 
439
540
  begin
440
- #List user permissions
541
+ # List user permissions
441
542
  result = api_instance.my_permissions(python_python_repository_href, opts)
442
543
  p result
443
544
  rescue PulpPythonClient::ApiError => e
444
- puts "Exception when calling RepositoriesPythonApi->my_permissions: #{e}"
545
+ puts "Error when calling RepositoriesPythonApi->my_permissions: #{e}"
445
546
  end
446
547
  ```
447
548
 
448
- ### Parameters
549
+ #### Using the my_permissions_with_http_info variant
550
+
551
+ This returns an Array which contains the response data, status code and headers.
449
552
 
553
+ > <Array(<MyPermissionsResponse>, Integer, Hash)> my_permissions_with_http_info(python_python_repository_href, opts)
554
+
555
+ ```ruby
556
+ begin
557
+ # List user permissions
558
+ data, status_code, headers = api_instance.my_permissions_with_http_info(python_python_repository_href, opts)
559
+ p status_code # => 2xx
560
+ p headers # => { ... }
561
+ p data # => <MyPermissionsResponse>
562
+ rescue PulpPythonClient::ApiError => e
563
+ puts "Error when calling RepositoriesPythonApi->my_permissions_with_http_info: #{e}"
564
+ end
565
+ ```
566
+
567
+ ### Parameters
450
568
 
451
- Name | Type | Description | Notes
452
- ------------- | ------------- | ------------- | -------------
453
- **python_python_repository_href** | **String**| |
454
- **fields** | [**Array&lt;String&gt;**](String.md)| A list of fields to include in the response. | [optional]
455
- **exclude_fields** | [**Array&lt;String&gt;**](String.md)| A list of fields to exclude from the response. | [optional]
569
+ | Name | Type | Description | Notes |
570
+ | ---- | ---- | ----------- | ----- |
571
+ | **python_python_repository_href** | **String** | | |
572
+ | **fields** | [**Array&lt;String&gt;**](String.md) | A list of fields to include in the response. | [optional] |
573
+ | **exclude_fields** | [**Array&lt;String&gt;**](String.md) | A list of fields to exclude from the response. | [optional] |
456
574
 
457
575
  ### Return type
458
576
 
@@ -470,16 +588,16 @@ Name | Type | Description | Notes
470
588
 
471
589
  ## partial_update
472
590
 
473
- > AsyncOperationResponse partial_update(python_python_repository_href, patchedpython_python_repository)
591
+ > <AsyncOperationResponse> partial_update(python_python_repository_href, patchedpython_python_repository)
474
592
 
475
593
  Update a python repository
476
594
 
477
595
  Trigger an asynchronous partial update task
478
596
 
479
- ### Example
597
+ ### Examples
480
598
 
481
599
  ```ruby
482
- # load the gem
600
+ require 'time'
483
601
  require 'pulp_python_client'
484
602
  # setup authorization
485
603
  PulpPythonClient.configure do |config|
@@ -493,21 +611,38 @@ python_python_repository_href = 'python_python_repository_href_example' # String
493
611
  patchedpython_python_repository = PulpPythonClient::PatchedpythonPythonRepository.new # PatchedpythonPythonRepository |
494
612
 
495
613
  begin
496
- #Update a python repository
614
+ # Update a python repository
497
615
  result = api_instance.partial_update(python_python_repository_href, patchedpython_python_repository)
498
616
  p result
499
617
  rescue PulpPythonClient::ApiError => e
500
- puts "Exception when calling RepositoriesPythonApi->partial_update: #{e}"
618
+ puts "Error when calling RepositoriesPythonApi->partial_update: #{e}"
501
619
  end
502
620
  ```
503
621
 
504
- ### Parameters
622
+ #### Using the partial_update_with_http_info variant
623
+
624
+ This returns an Array which contains the response data, status code and headers.
625
+
626
+ > <Array(<AsyncOperationResponse>, Integer, Hash)> partial_update_with_http_info(python_python_repository_href, patchedpython_python_repository)
627
+
628
+ ```ruby
629
+ begin
630
+ # Update a python repository
631
+ data, status_code, headers = api_instance.partial_update_with_http_info(python_python_repository_href, patchedpython_python_repository)
632
+ p status_code # => 2xx
633
+ p headers # => { ... }
634
+ p data # => <AsyncOperationResponse>
635
+ rescue PulpPythonClient::ApiError => e
636
+ puts "Error when calling RepositoriesPythonApi->partial_update_with_http_info: #{e}"
637
+ end
638
+ ```
505
639
 
640
+ ### Parameters
506
641
 
507
- Name | Type | Description | Notes
508
- ------------- | ------------- | ------------- | -------------
509
- **python_python_repository_href** | **String**| |
510
- **patchedpython_python_repository** | [**PatchedpythonPythonRepository**](PatchedpythonPythonRepository.md)| |
642
+ | Name | Type | Description | Notes |
643
+ | ---- | ---- | ----------- | ----- |
644
+ | **python_python_repository_href** | **String** | | |
645
+ | **patchedpython_python_repository** | [**PatchedpythonPythonRepository**](PatchedpythonPythonRepository.md) | | |
511
646
 
512
647
  ### Return type
513
648
 
@@ -525,16 +660,16 @@ Name | Type | Description | Notes
525
660
 
526
661
  ## read
527
662
 
528
- > PythonPythonRepositoryResponse read(python_python_repository_href, opts)
663
+ > <PythonPythonRepositoryResponse> read(python_python_repository_href, opts)
529
664
 
530
665
  Inspect a python repository
531
666
 
532
667
  PythonRepository represents a single Python repository, to which content can be synced, added, or removed.
533
668
 
534
- ### Example
669
+ ### Examples
535
670
 
536
671
  ```ruby
537
- # load the gem
672
+ require 'time'
538
673
  require 'pulp_python_client'
539
674
  # setup authorization
540
675
  PulpPythonClient.configure do |config|
@@ -546,27 +681,44 @@ end
546
681
  api_instance = PulpPythonClient::RepositoriesPythonApi.new
547
682
  python_python_repository_href = 'python_python_repository_href_example' # String |
548
683
  opts = {
549
- fields: ['fields_example'], # Array<String> | A list of fields to include in the response.
550
- exclude_fields: ['exclude_fields_example'] # Array<String> | A list of fields to exclude from the response.
684
+ fields: ['inner_example'], # Array<String> | A list of fields to include in the response.
685
+ exclude_fields: ['inner_example'] # Array<String> | A list of fields to exclude from the response.
551
686
  }
552
687
 
553
688
  begin
554
- #Inspect a python repository
689
+ # Inspect a python repository
555
690
  result = api_instance.read(python_python_repository_href, opts)
556
691
  p result
557
692
  rescue PulpPythonClient::ApiError => e
558
- puts "Exception when calling RepositoriesPythonApi->read: #{e}"
693
+ puts "Error when calling RepositoriesPythonApi->read: #{e}"
559
694
  end
560
695
  ```
561
696
 
562
- ### Parameters
697
+ #### Using the read_with_http_info variant
563
698
 
699
+ This returns an Array which contains the response data, status code and headers.
564
700
 
565
- Name | Type | Description | Notes
566
- ------------- | ------------- | ------------- | -------------
567
- **python_python_repository_href** | **String**| |
568
- **fields** | [**Array&lt;String&gt;**](String.md)| A list of fields to include in the response. | [optional]
569
- **exclude_fields** | [**Array&lt;String&gt;**](String.md)| A list of fields to exclude from the response. | [optional]
701
+ > <Array(<PythonPythonRepositoryResponse>, Integer, Hash)> read_with_http_info(python_python_repository_href, opts)
702
+
703
+ ```ruby
704
+ begin
705
+ # Inspect a python repository
706
+ data, status_code, headers = api_instance.read_with_http_info(python_python_repository_href, opts)
707
+ p status_code # => 2xx
708
+ p headers # => { ... }
709
+ p data # => <PythonPythonRepositoryResponse>
710
+ rescue PulpPythonClient::ApiError => e
711
+ puts "Error when calling RepositoriesPythonApi->read_with_http_info: #{e}"
712
+ end
713
+ ```
714
+
715
+ ### Parameters
716
+
717
+ | Name | Type | Description | Notes |
718
+ | ---- | ---- | ----------- | ----- |
719
+ | **python_python_repository_href** | **String** | | |
720
+ | **fields** | [**Array&lt;String&gt;**](String.md) | A list of fields to include in the response. | [optional] |
721
+ | **exclude_fields** | [**Array&lt;String&gt;**](String.md) | A list of fields to exclude from the response. | [optional] |
570
722
 
571
723
  ### Return type
572
724
 
@@ -584,16 +736,16 @@ Name | Type | Description | Notes
584
736
 
585
737
  ## remove_role
586
738
 
587
- > NestedRoleResponse remove_role(python_python_repository_href, nested_role)
739
+ > <NestedRoleResponse> remove_role(python_python_repository_href, nested_role)
588
740
 
589
741
  Remove a role
590
742
 
591
743
  Remove a role for this object from users/groups.
592
744
 
593
- ### Example
745
+ ### Examples
594
746
 
595
747
  ```ruby
596
- # load the gem
748
+ require 'time'
597
749
  require 'pulp_python_client'
598
750
  # setup authorization
599
751
  PulpPythonClient.configure do |config|
@@ -604,24 +756,41 @@ end
604
756
 
605
757
  api_instance = PulpPythonClient::RepositoriesPythonApi.new
606
758
  python_python_repository_href = 'python_python_repository_href_example' # String |
607
- nested_role = PulpPythonClient::NestedRole.new # NestedRole |
759
+ nested_role = PulpPythonClient::NestedRole.new({role: 'role_example'}) # NestedRole |
608
760
 
609
761
  begin
610
- #Remove a role
762
+ # Remove a role
611
763
  result = api_instance.remove_role(python_python_repository_href, nested_role)
612
764
  p result
613
765
  rescue PulpPythonClient::ApiError => e
614
- puts "Exception when calling RepositoriesPythonApi->remove_role: #{e}"
766
+ puts "Error when calling RepositoriesPythonApi->remove_role: #{e}"
615
767
  end
616
768
  ```
617
769
 
618
- ### Parameters
770
+ #### Using the remove_role_with_http_info variant
619
771
 
772
+ This returns an Array which contains the response data, status code and headers.
620
773
 
621
- Name | Type | Description | Notes
622
- ------------- | ------------- | ------------- | -------------
623
- **python_python_repository_href** | **String**| |
624
- **nested_role** | [**NestedRole**](NestedRole.md)| |
774
+ > <Array(<NestedRoleResponse>, Integer, Hash)> remove_role_with_http_info(python_python_repository_href, nested_role)
775
+
776
+ ```ruby
777
+ begin
778
+ # Remove a role
779
+ data, status_code, headers = api_instance.remove_role_with_http_info(python_python_repository_href, nested_role)
780
+ p status_code # => 2xx
781
+ p headers # => { ... }
782
+ p data # => <NestedRoleResponse>
783
+ rescue PulpPythonClient::ApiError => e
784
+ puts "Error when calling RepositoriesPythonApi->remove_role_with_http_info: #{e}"
785
+ end
786
+ ```
787
+
788
+ ### Parameters
789
+
790
+ | Name | Type | Description | Notes |
791
+ | ---- | ---- | ----------- | ----- |
792
+ | **python_python_repository_href** | **String** | | |
793
+ | **nested_role** | [**NestedRole**](NestedRole.md) | | |
625
794
 
626
795
  ### Return type
627
796
 
@@ -639,16 +808,16 @@ Name | Type | Description | Notes
639
808
 
640
809
  ## set_label
641
810
 
642
- > SetLabelResponse set_label(python_python_repository_href, set_label)
811
+ > <SetLabelResponse> set_label(python_python_repository_href, set_label)
643
812
 
644
813
  Set a label
645
814
 
646
815
  Set a single pulp_label on the object to a specific value or null.
647
816
 
648
- ### Example
817
+ ### Examples
649
818
 
650
819
  ```ruby
651
- # load the gem
820
+ require 'time'
652
821
  require 'pulp_python_client'
653
822
  # setup authorization
654
823
  PulpPythonClient.configure do |config|
@@ -659,24 +828,41 @@ end
659
828
 
660
829
  api_instance = PulpPythonClient::RepositoriesPythonApi.new
661
830
  python_python_repository_href = 'python_python_repository_href_example' # String |
662
- set_label = PulpPythonClient::SetLabel.new # SetLabel |
831
+ set_label = PulpPythonClient::SetLabel.new({key: 'key_example', value: 'value_example'}) # SetLabel |
663
832
 
664
833
  begin
665
- #Set a label
834
+ # Set a label
666
835
  result = api_instance.set_label(python_python_repository_href, set_label)
667
836
  p result
668
837
  rescue PulpPythonClient::ApiError => e
669
- puts "Exception when calling RepositoriesPythonApi->set_label: #{e}"
838
+ puts "Error when calling RepositoriesPythonApi->set_label: #{e}"
670
839
  end
671
840
  ```
672
841
 
673
- ### Parameters
842
+ #### Using the set_label_with_http_info variant
843
+
844
+ This returns an Array which contains the response data, status code and headers.
845
+
846
+ > <Array(<SetLabelResponse>, Integer, Hash)> set_label_with_http_info(python_python_repository_href, set_label)
847
+
848
+ ```ruby
849
+ begin
850
+ # Set a label
851
+ data, status_code, headers = api_instance.set_label_with_http_info(python_python_repository_href, set_label)
852
+ p status_code # => 2xx
853
+ p headers # => { ... }
854
+ p data # => <SetLabelResponse>
855
+ rescue PulpPythonClient::ApiError => e
856
+ puts "Error when calling RepositoriesPythonApi->set_label_with_http_info: #{e}"
857
+ end
858
+ ```
674
859
 
860
+ ### Parameters
675
861
 
676
- Name | Type | Description | Notes
677
- ------------- | ------------- | ------------- | -------------
678
- **python_python_repository_href** | **String**| |
679
- **set_label** | [**SetLabel**](SetLabel.md)| |
862
+ | Name | Type | Description | Notes |
863
+ | ---- | ---- | ----------- | ----- |
864
+ | **python_python_repository_href** | **String** | | |
865
+ | **set_label** | [**SetLabel**](SetLabel.md) | | |
680
866
 
681
867
  ### Return type
682
868
 
@@ -694,16 +880,16 @@ Name | Type | Description | Notes
694
880
 
695
881
  ## sync
696
882
 
697
- > AsyncOperationResponse sync(python_python_repository_href, repository_sync_url)
883
+ > <AsyncOperationResponse> sync(python_python_repository_href, repository_sync_url)
698
884
 
699
885
  Sync from remote
700
886
 
701
887
  Trigger an asynchronous task to sync python content. The sync task will retrieve Python content from the specified `Remote` and update the specified `Respository`, creating a new `RepositoryVersion`.
702
888
 
703
- ### Example
889
+ ### Examples
704
890
 
705
891
  ```ruby
706
- # load the gem
892
+ require 'time'
707
893
  require 'pulp_python_client'
708
894
  # setup authorization
709
895
  PulpPythonClient.configure do |config|
@@ -717,21 +903,38 @@ python_python_repository_href = 'python_python_repository_href_example' # String
717
903
  repository_sync_url = PulpPythonClient::RepositorySyncURL.new # RepositorySyncURL |
718
904
 
719
905
  begin
720
- #Sync from remote
906
+ # Sync from remote
721
907
  result = api_instance.sync(python_python_repository_href, repository_sync_url)
722
908
  p result
723
909
  rescue PulpPythonClient::ApiError => e
724
- puts "Exception when calling RepositoriesPythonApi->sync: #{e}"
910
+ puts "Error when calling RepositoriesPythonApi->sync: #{e}"
725
911
  end
726
912
  ```
727
913
 
728
- ### Parameters
914
+ #### Using the sync_with_http_info variant
915
+
916
+ This returns an Array which contains the response data, status code and headers.
917
+
918
+ > <Array(<AsyncOperationResponse>, Integer, Hash)> sync_with_http_info(python_python_repository_href, repository_sync_url)
919
+
920
+ ```ruby
921
+ begin
922
+ # Sync from remote
923
+ data, status_code, headers = api_instance.sync_with_http_info(python_python_repository_href, repository_sync_url)
924
+ p status_code # => 2xx
925
+ p headers # => { ... }
926
+ p data # => <AsyncOperationResponse>
927
+ rescue PulpPythonClient::ApiError => e
928
+ puts "Error when calling RepositoriesPythonApi->sync_with_http_info: #{e}"
929
+ end
930
+ ```
729
931
 
932
+ ### Parameters
730
933
 
731
- Name | Type | Description | Notes
732
- ------------- | ------------- | ------------- | -------------
733
- **python_python_repository_href** | **String**| |
734
- **repository_sync_url** | [**RepositorySyncURL**](RepositorySyncURL.md)| |
934
+ | Name | Type | Description | Notes |
935
+ | ---- | ---- | ----------- | ----- |
936
+ | **python_python_repository_href** | **String** | | |
937
+ | **repository_sync_url** | [**RepositorySyncURL**](RepositorySyncURL.md) | | |
735
938
 
736
939
  ### Return type
737
940
 
@@ -749,16 +952,16 @@ Name | Type | Description | Notes
749
952
 
750
953
  ## unset_label
751
954
 
752
- > UnsetLabelResponse unset_label(python_python_repository_href, unset_label)
955
+ > <UnsetLabelResponse> unset_label(python_python_repository_href, unset_label)
753
956
 
754
957
  Unset a label
755
958
 
756
959
  Unset a single pulp_label on the object.
757
960
 
758
- ### Example
961
+ ### Examples
759
962
 
760
963
  ```ruby
761
- # load the gem
964
+ require 'time'
762
965
  require 'pulp_python_client'
763
966
  # setup authorization
764
967
  PulpPythonClient.configure do |config|
@@ -769,24 +972,41 @@ end
769
972
 
770
973
  api_instance = PulpPythonClient::RepositoriesPythonApi.new
771
974
  python_python_repository_href = 'python_python_repository_href_example' # String |
772
- unset_label = PulpPythonClient::UnsetLabel.new # UnsetLabel |
975
+ unset_label = PulpPythonClient::UnsetLabel.new({key: 'key_example'}) # UnsetLabel |
773
976
 
774
977
  begin
775
- #Unset a label
978
+ # Unset a label
776
979
  result = api_instance.unset_label(python_python_repository_href, unset_label)
777
980
  p result
778
981
  rescue PulpPythonClient::ApiError => e
779
- puts "Exception when calling RepositoriesPythonApi->unset_label: #{e}"
982
+ puts "Error when calling RepositoriesPythonApi->unset_label: #{e}"
780
983
  end
781
984
  ```
782
985
 
783
- ### Parameters
986
+ #### Using the unset_label_with_http_info variant
784
987
 
988
+ This returns an Array which contains the response data, status code and headers.
785
989
 
786
- Name | Type | Description | Notes
787
- ------------- | ------------- | ------------- | -------------
788
- **python_python_repository_href** | **String**| |
789
- **unset_label** | [**UnsetLabel**](UnsetLabel.md)| |
990
+ > <Array(<UnsetLabelResponse>, Integer, Hash)> unset_label_with_http_info(python_python_repository_href, unset_label)
991
+
992
+ ```ruby
993
+ begin
994
+ # Unset a label
995
+ data, status_code, headers = api_instance.unset_label_with_http_info(python_python_repository_href, unset_label)
996
+ p status_code # => 2xx
997
+ p headers # => { ... }
998
+ p data # => <UnsetLabelResponse>
999
+ rescue PulpPythonClient::ApiError => e
1000
+ puts "Error when calling RepositoriesPythonApi->unset_label_with_http_info: #{e}"
1001
+ end
1002
+ ```
1003
+
1004
+ ### Parameters
1005
+
1006
+ | Name | Type | Description | Notes |
1007
+ | ---- | ---- | ----------- | ----- |
1008
+ | **python_python_repository_href** | **String** | | |
1009
+ | **unset_label** | [**UnsetLabel**](UnsetLabel.md) | | |
790
1010
 
791
1011
  ### Return type
792
1012
 
@@ -804,16 +1024,16 @@ Name | Type | Description | Notes
804
1024
 
805
1025
  ## update
806
1026
 
807
- > AsyncOperationResponse update(python_python_repository_href, python_python_repository)
1027
+ > <AsyncOperationResponse> update(python_python_repository_href, python_python_repository)
808
1028
 
809
1029
  Update a python repository
810
1030
 
811
1031
  Trigger an asynchronous update task
812
1032
 
813
- ### Example
1033
+ ### Examples
814
1034
 
815
1035
  ```ruby
816
- # load the gem
1036
+ require 'time'
817
1037
  require 'pulp_python_client'
818
1038
  # setup authorization
819
1039
  PulpPythonClient.configure do |config|
@@ -824,24 +1044,41 @@ end
824
1044
 
825
1045
  api_instance = PulpPythonClient::RepositoriesPythonApi.new
826
1046
  python_python_repository_href = 'python_python_repository_href_example' # String |
827
- python_python_repository = PulpPythonClient::PythonPythonRepository.new # PythonPythonRepository |
1047
+ python_python_repository = PulpPythonClient::PythonPythonRepository.new({name: 'name_example'}) # PythonPythonRepository |
828
1048
 
829
1049
  begin
830
- #Update a python repository
1050
+ # Update a python repository
831
1051
  result = api_instance.update(python_python_repository_href, python_python_repository)
832
1052
  p result
833
1053
  rescue PulpPythonClient::ApiError => e
834
- puts "Exception when calling RepositoriesPythonApi->update: #{e}"
1054
+ puts "Error when calling RepositoriesPythonApi->update: #{e}"
835
1055
  end
836
1056
  ```
837
1057
 
838
- ### Parameters
1058
+ #### Using the update_with_http_info variant
1059
+
1060
+ This returns an Array which contains the response data, status code and headers.
839
1061
 
1062
+ > <Array(<AsyncOperationResponse>, Integer, Hash)> update_with_http_info(python_python_repository_href, python_python_repository)
1063
+
1064
+ ```ruby
1065
+ begin
1066
+ # Update a python repository
1067
+ data, status_code, headers = api_instance.update_with_http_info(python_python_repository_href, python_python_repository)
1068
+ p status_code # => 2xx
1069
+ p headers # => { ... }
1070
+ p data # => <AsyncOperationResponse>
1071
+ rescue PulpPythonClient::ApiError => e
1072
+ puts "Error when calling RepositoriesPythonApi->update_with_http_info: #{e}"
1073
+ end
1074
+ ```
1075
+
1076
+ ### Parameters
840
1077
 
841
- Name | Type | Description | Notes
842
- ------------- | ------------- | ------------- | -------------
843
- **python_python_repository_href** | **String**| |
844
- **python_python_repository** | [**PythonPythonRepository**](PythonPythonRepository.md)| |
1078
+ | Name | Type | Description | Notes |
1079
+ | ---- | ---- | ----------- | ----- |
1080
+ | **python_python_repository_href** | **String** | | |
1081
+ | **python_python_repository** | [**PythonPythonRepository**](PythonPythonRepository.md) | | |
845
1082
 
846
1083
  ### Return type
847
1084