pulp_python_client 3.0.0b10 → 3.0.0b11

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (113) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +46 -33
  3. data/docs/ContentPackagesApi.md +52 -52
  4. data/docs/ContentSummary.md +3 -3
  5. data/docs/ContentSummaryResponse.md +21 -0
  6. data/docs/DistributionsPypiApi.md +108 -60
  7. data/docs/InlineResponse200.md +3 -3
  8. data/docs/InlineResponse2001.md +3 -3
  9. data/docs/InlineResponse2002.md +3 -3
  10. data/docs/InlineResponse2003.md +3 -3
  11. data/docs/InlineResponse2004.md +3 -3
  12. data/docs/InlineResponse2005.md +3 -3
  13. data/docs/PatchedpythonPythonDistribution.md +23 -0
  14. data/docs/PatchedpythonPythonRemote.md +43 -0
  15. data/docs/PatchedpythonPythonRepository.md +21 -0
  16. data/docs/PolicyEnum.md +16 -0
  17. data/docs/PublicationsPypiApi.md +40 -40
  18. data/docs/PythonBanderRemote.md +19 -0
  19. data/docs/PythonPythonDistribution.md +1 -7
  20. data/docs/PythonPythonDistributionResponse.md +29 -0
  21. data/docs/PythonPythonPackageContent.md +7 -15
  22. data/docs/PythonPythonPackageContentResponse.md +69 -0
  23. data/docs/PythonPythonPublication.md +2 -8
  24. data/docs/PythonPythonPublicationResponse.md +25 -0
  25. data/docs/PythonPythonRemote.md +4 -10
  26. data/docs/PythonPythonRemoteResponse.md +49 -0
  27. data/docs/PythonPythonRepository.md +4 -10
  28. data/docs/PythonPythonRepositoryResponse.md +29 -0
  29. data/docs/RemotesPythonApi.md +129 -69
  30. data/docs/RepositoriesPythonApi.md +97 -73
  31. data/docs/RepositoriesPythonVersionsApi.md +94 -62
  32. data/docs/RepositoryAddRemoveContent.md +2 -2
  33. data/docs/RepositorySyncURL.md +1 -1
  34. data/docs/RepositoryVersion.md +1 -9
  35. data/docs/RepositoryVersionResponse.md +25 -0
  36. data/lib/pulp_python_client.rb +14 -2
  37. data/lib/pulp_python_client/api/content_packages_api.rb +70 -70
  38. data/lib/pulp_python_client/api/distributions_pypi_api.rb +153 -90
  39. data/lib/pulp_python_client/api/publications_pypi_api.rb +59 -59
  40. data/lib/pulp_python_client/api/remotes_python_api.rb +185 -108
  41. data/lib/pulp_python_client/api/repositories_python_api.rb +145 -118
  42. data/lib/pulp_python_client/api/repositories_python_versions_api.rb +137 -92
  43. data/lib/pulp_python_client/api_client.rb +2 -2
  44. data/lib/pulp_python_client/api_error.rb +2 -2
  45. data/lib/pulp_python_client/configuration.rb +3 -3
  46. data/lib/pulp_python_client/models/async_operation_response.rb +3 -2
  47. data/lib/pulp_python_client/models/content_summary.rb +9 -15
  48. data/lib/pulp_python_client/models/content_summary_response.rb +240 -0
  49. data/lib/pulp_python_client/models/inline_response200.rb +3 -13
  50. data/lib/pulp_python_client/models/inline_response2001.rb +3 -13
  51. data/lib/pulp_python_client/models/inline_response2002.rb +3 -13
  52. data/lib/pulp_python_client/models/inline_response2003.rb +3 -13
  53. data/lib/pulp_python_client/models/inline_response2004.rb +3 -13
  54. data/lib/pulp_python_client/models/inline_response2005.rb +3 -13
  55. data/lib/pulp_python_client/models/patchedpython_python_distribution.rb +240 -0
  56. data/lib/pulp_python_client/models/patchedpython_python_remote.rb +359 -0
  57. data/lib/pulp_python_client/models/patchedpython_python_repository.rb +229 -0
  58. data/lib/pulp_python_client/models/policy_enum.rb +37 -0
  59. data/lib/pulp_python_client/models/python_bander_remote.rb +228 -0
  60. data/lib/pulp_python_client/models/python_python_distribution.rb +4 -85
  61. data/lib/pulp_python_client/models/python_python_distribution_response.rb +279 -0
  62. data/lib/pulp_python_client/models/python_python_package_content.rb +28 -136
  63. data/lib/pulp_python_client/models/python_python_package_content_response.rb +467 -0
  64. data/lib/pulp_python_client/models/python_python_publication.rb +7 -37
  65. data/lib/pulp_python_client/models/python_python_publication_response.rb +248 -0
  66. data/lib/pulp_python_client/models/python_python_remote.rb +7 -199
  67. data/lib/pulp_python_client/models/python_python_remote_response.rb +398 -0
  68. data/lib/pulp_python_client/models/python_python_repository.rb +18 -78
  69. data/lib/pulp_python_client/models/python_python_repository_response.rb +271 -0
  70. data/lib/pulp_python_client/models/repository_add_remove_content.rb +5 -4
  71. data/lib/pulp_python_client/models/repository_sync_url.rb +3 -8
  72. data/lib/pulp_python_client/models/repository_version.rb +7 -43
  73. data/lib/pulp_python_client/models/repository_version_response.rb +246 -0
  74. data/lib/pulp_python_client/version.rb +3 -3
  75. data/pulp_python_client.gemspec +4 -4
  76. data/spec/api/content_packages_api_spec.rb +24 -24
  77. data/spec/api/distributions_pypi_api_spec.rb +39 -18
  78. data/spec/api/publications_pypi_api_spec.rb +14 -14
  79. data/spec/api/remotes_python_api_spec.rb +49 -22
  80. data/spec/api/repositories_python_api_spec.rb +28 -19
  81. data/spec/api/repositories_python_versions_api_spec.rb +38 -23
  82. data/spec/api_client_spec.rb +2 -2
  83. data/spec/configuration_spec.rb +2 -2
  84. data/spec/models/async_operation_response_spec.rb +2 -2
  85. data/spec/models/content_summary_response_spec.rb +53 -0
  86. data/spec/models/content_summary_spec.rb +2 -2
  87. data/spec/models/inline_response2001_spec.rb +2 -2
  88. data/spec/models/inline_response2002_spec.rb +2 -2
  89. data/spec/models/inline_response2003_spec.rb +2 -2
  90. data/spec/models/inline_response2004_spec.rb +2 -2
  91. data/spec/models/inline_response2005_spec.rb +2 -2
  92. data/spec/models/inline_response200_spec.rb +2 -2
  93. data/spec/models/patchedpython_python_distribution_spec.rb +59 -0
  94. data/spec/models/patchedpython_python_remote_spec.rb +119 -0
  95. data/spec/models/patchedpython_python_repository_spec.rb +53 -0
  96. data/spec/models/policy_enum_spec.rb +35 -0
  97. data/spec/models/python_bander_remote_spec.rb +47 -0
  98. data/spec/models/python_python_distribution_response_spec.rb +77 -0
  99. data/spec/models/python_python_distribution_spec.rb +2 -20
  100. data/spec/models/python_python_package_content_response_spec.rb +197 -0
  101. data/spec/models/python_python_package_content_spec.rb +5 -29
  102. data/spec/models/python_python_publication_response_spec.rb +65 -0
  103. data/spec/models/python_python_publication_spec.rb +2 -20
  104. data/spec/models/python_python_remote_response_spec.rb +137 -0
  105. data/spec/models/python_python_remote_spec.rb +2 -24
  106. data/spec/models/python_python_repository_response_spec.rb +77 -0
  107. data/spec/models/python_python_repository_spec.rb +5 -23
  108. data/spec/models/repository_add_remove_content_spec.rb +2 -2
  109. data/spec/models/repository_sync_url_spec.rb +2 -2
  110. data/spec/models/repository_version_response_spec.rb +65 -0
  111. data/spec/models/repository_version_spec.rb +2 -26
  112. data/spec/spec_helper.rb +2 -2
  113. metadata +52 -4
@@ -0,0 +1,19 @@
1
+ # PulpPythonClient::PythonBanderRemote
2
+
3
+ ## Properties
4
+
5
+ Name | Type | Description | Notes
6
+ ------------ | ------------- | ------------- | -------------
7
+ **config** | **File** | A Bandersnatch config that may be used to construct a Python Remote. |
8
+ **name** | **String** | A unique name for this remote |
9
+
10
+ ## Code Sample
11
+
12
+ ```ruby
13
+ require 'PulpPythonClient'
14
+
15
+ instance = PulpPythonClient::PythonBanderRemote.new(config: null,
16
+ name: null)
17
+ ```
18
+
19
+
@@ -4,10 +4,7 @@
4
4
 
5
5
  Name | Type | Description | Notes
6
6
  ------------ | ------------- | ------------- | -------------
7
- **pulp_href** | **String** | | [optional] [readonly]
8
- **pulp_created** | **DateTime** | Timestamp of creation. | [optional] [readonly]
9
7
  **base_path** | **String** | The base (relative) path component of the published url. Avoid paths that overlap with other distribution base paths (e.g. \"foo\" and \"foo/bar\") |
10
- **base_url** | **String** | The URL for accessing the publication as defined by this distribution. | [optional] [readonly]
11
8
  **content_guard** | **String** | An optional content-guard. | [optional]
12
9
  **name** | **String** | A unique name. Ex, `rawhide` and `stable`. |
13
10
  **publication** | **String** | Publication to be served | [optional]
@@ -17,10 +14,7 @@ Name | Type | Description | Notes
17
14
  ```ruby
18
15
  require 'PulpPythonClient'
19
16
 
20
- instance = PulpPythonClient::PythonPythonDistribution.new(pulp_href: null,
21
- pulp_created: null,
22
- base_path: null,
23
- base_url: null,
17
+ instance = PulpPythonClient::PythonPythonDistribution.new(base_path: null,
24
18
  content_guard: null,
25
19
  name: null,
26
20
  publication: null)
@@ -0,0 +1,29 @@
1
+ # PulpPythonClient::PythonPythonDistributionResponse
2
+
3
+ ## Properties
4
+
5
+ Name | Type | Description | Notes
6
+ ------------ | ------------- | ------------- | -------------
7
+ **pulp_href** | **String** | | [optional] [readonly]
8
+ **pulp_created** | **DateTime** | Timestamp of creation. | [optional] [readonly]
9
+ **base_path** | **String** | The base (relative) path component of the published url. Avoid paths that overlap with other distribution base paths (e.g. \"foo\" and \"foo/bar\") |
10
+ **base_url** | **String** | The URL for accessing the publication as defined by this distribution. | [optional] [readonly]
11
+ **content_guard** | **String** | An optional content-guard. | [optional]
12
+ **name** | **String** | A unique name. Ex, `rawhide` and `stable`. |
13
+ **publication** | **String** | Publication to be served | [optional]
14
+
15
+ ## Code Sample
16
+
17
+ ```ruby
18
+ require 'PulpPythonClient'
19
+
20
+ instance = PulpPythonClient::PythonPythonDistributionResponse.new(pulp_href: null,
21
+ pulp_created: null,
22
+ base_path: null,
23
+ base_url: null,
24
+ content_guard: null,
25
+ name: null,
26
+ publication: null)
27
+ ```
28
+
29
+
@@ -4,14 +4,10 @@
4
4
 
5
5
  Name | Type | Description | Notes
6
6
  ------------ | ------------- | ------------- | -------------
7
- **pulp_href** | **String** | | [optional] [readonly]
8
- **pulp_created** | **DateTime** | Timestamp of creation. | [optional] [readonly]
9
7
  **artifact** | **String** | Artifact file representing the physical content | [optional]
10
- **filename** | **String** | The name of the distribution package, usually of the format: {distribution}-{version}(-{build tag})?-{python tag}-{abi tag}-{platform tag}.{packagetype} | [optional] [readonly]
11
- **packagetype** | **String** | The type of the distribution package (e.g. sdist, bdist_wheel, bdist_egg, etc) | [optional] [readonly]
12
- **name** | **String** | The name of the python project. | [optional] [readonly]
13
- **version** | **String** | The packages version number. | [optional] [readonly]
14
- **metadata_version** | **String** | Version of the file format | [optional] [readonly]
8
+ **relative_path** | **String** | Path where the artifact is located relative to distributions base_path |
9
+ **file** | **File** | An uploaded file that may be turned into the artifact of the content unit. | [optional]
10
+ **repository** | **String** | A URI of a repository the new content unit should be associated with. | [optional]
15
11
  **summary** | **String** | A one-line summary of what the package does. | [optional]
16
12
  **description** | **String** | A longer description of the package that can run to several paragraphs. | [optional]
17
13
  **keywords** | **String** | Additional keywords to be used to assist searching for the package in a larger catalog. | [optional]
@@ -37,14 +33,10 @@ Name | Type | Description | Notes
37
33
  ```ruby
38
34
  require 'PulpPythonClient'
39
35
 
40
- instance = PulpPythonClient::PythonPythonPackageContent.new(pulp_href: null,
41
- pulp_created: null,
42
- artifact: null,
43
- filename: null,
44
- packagetype: null,
45
- name: null,
46
- version: null,
47
- metadata_version: null,
36
+ instance = PulpPythonClient::PythonPythonPackageContent.new(artifact: null,
37
+ relative_path: null,
38
+ file: null,
39
+ repository: null,
48
40
  summary: null,
49
41
  description: null,
50
42
  keywords: null,
@@ -0,0 +1,69 @@
1
+ # PulpPythonClient::PythonPythonPackageContentResponse
2
+
3
+ ## Properties
4
+
5
+ Name | Type | Description | Notes
6
+ ------------ | ------------- | ------------- | -------------
7
+ **pulp_href** | **String** | | [optional] [readonly]
8
+ **pulp_created** | **DateTime** | Timestamp of creation. | [optional] [readonly]
9
+ **artifact** | **String** | Artifact file representing the physical content | [optional]
10
+ **filename** | **String** | The name of the distribution package, usually of the format: {distribution}-{version}(-{build tag})?-{python tag}-{abi tag}-{platform tag}.{packagetype} | [optional] [readonly]
11
+ **packagetype** | **String** | The type of the distribution package (e.g. sdist, bdist_wheel, bdist_egg, etc) | [optional] [readonly]
12
+ **name** | **String** | The name of the python project. | [optional] [readonly]
13
+ **version** | **String** | The packages version number. | [optional] [readonly]
14
+ **metadata_version** | **String** | Version of the file format | [optional] [readonly]
15
+ **summary** | **String** | A one-line summary of what the package does. | [optional]
16
+ **description** | **String** | A longer description of the package that can run to several paragraphs. | [optional]
17
+ **keywords** | **String** | Additional keywords to be used to assist searching for the package in a larger catalog. | [optional]
18
+ **home_page** | **String** | The URL for the package's home page. | [optional]
19
+ **download_url** | **String** | Legacy field denoting the URL from which this package can be downloaded. | [optional]
20
+ **author** | **String** | Text containing the author's name. Contact information can also be added, separated with newlines. | [optional]
21
+ **author_email** | **String** | The author's e-mail address. | [optional]
22
+ **maintainer** | **String** | The maintainer's name at a minimum; additional contact information may be provided. | [optional]
23
+ **maintainer_email** | **String** | The maintainer's e-mail address. | [optional]
24
+ **license** | **String** | Text indicating the license covering the distribution | [optional]
25
+ **requires_python** | **String** | The Python version(s) that the distribution is guaranteed to be compatible with. | [optional]
26
+ **project_url** | **String** | A browsable URL for the project and a label for it, separated by a comma. | [optional]
27
+ **platform** | **String** | A comma-separated list of platform specifications, summarizing the operating systems supported by the package. | [optional]
28
+ **supported_platform** | **String** | Field to specify the OS and CPU for which the binary package was compiled. | [optional]
29
+ **requires_dist** | [**Object**](.md) | A JSON list containing names of some other distutils project required by this distribution. | [optional]
30
+ **provides_dist** | [**Object**](.md) | A JSON list containing names of a Distutils project which is contained within this distribution. | [optional]
31
+ **obsoletes_dist** | [**Object**](.md) | A JSON list containing names of a distutils project's distribution which this distribution renders obsolete, meaning that the two projects should not be installed at the same time. | [optional]
32
+ **requires_external** | [**Object**](.md) | A JSON list containing some dependency in the system that the distribution is to be used. | [optional]
33
+ **classifiers** | [**Object**](.md) | A JSON list containing classification values for a Python package. | [optional]
34
+
35
+ ## Code Sample
36
+
37
+ ```ruby
38
+ require 'PulpPythonClient'
39
+
40
+ instance = PulpPythonClient::PythonPythonPackageContentResponse.new(pulp_href: null,
41
+ pulp_created: null,
42
+ artifact: null,
43
+ filename: null,
44
+ packagetype: null,
45
+ name: null,
46
+ version: null,
47
+ metadata_version: null,
48
+ summary: null,
49
+ description: null,
50
+ keywords: null,
51
+ home_page: null,
52
+ download_url: null,
53
+ author: null,
54
+ author_email: null,
55
+ maintainer: null,
56
+ maintainer_email: null,
57
+ license: null,
58
+ requires_python: null,
59
+ project_url: null,
60
+ platform: null,
61
+ supported_platform: null,
62
+ requires_dist: null,
63
+ provides_dist: null,
64
+ obsoletes_dist: null,
65
+ requires_external: null,
66
+ classifiers: null)
67
+ ```
68
+
69
+
@@ -4,22 +4,16 @@
4
4
 
5
5
  Name | Type | Description | Notes
6
6
  ------------ | ------------- | ------------- | -------------
7
- **pulp_href** | **String** | | [optional] [readonly]
8
- **pulp_created** | **DateTime** | Timestamp of creation. | [optional] [readonly]
9
7
  **repository_version** | **String** | | [optional]
10
8
  **repository** | **String** | A URI of the repository to be published. | [optional]
11
- **distributions** | **Array<String>** | This publication is currently being hosted as configured by these distributions. | [optional] [readonly]
12
9
 
13
10
  ## Code Sample
14
11
 
15
12
  ```ruby
16
13
  require 'PulpPythonClient'
17
14
 
18
- instance = PulpPythonClient::PythonPythonPublication.new(pulp_href: null,
19
- pulp_created: null,
20
- repository_version: null,
21
- repository: null,
22
- distributions: null)
15
+ instance = PulpPythonClient::PythonPythonPublication.new(repository_version: null,
16
+ repository: null)
23
17
  ```
24
18
 
25
19
 
@@ -0,0 +1,25 @@
1
+ # PulpPythonClient::PythonPythonPublicationResponse
2
+
3
+ ## Properties
4
+
5
+ Name | Type | Description | Notes
6
+ ------------ | ------------- | ------------- | -------------
7
+ **pulp_href** | **String** | | [optional] [readonly]
8
+ **pulp_created** | **DateTime** | Timestamp of creation. | [optional] [readonly]
9
+ **repository_version** | **String** | | [optional]
10
+ **repository** | **String** | A URI of the repository to be published. | [optional]
11
+ **distributions** | **Array<String>** | This publication is currently being hosted as configured by these distributions. | [optional] [readonly]
12
+
13
+ ## Code Sample
14
+
15
+ ```ruby
16
+ require 'PulpPythonClient'
17
+
18
+ instance = PulpPythonClient::PythonPythonPublicationResponse.new(pulp_href: null,
19
+ pulp_created: null,
20
+ repository_version: null,
21
+ repository: null,
22
+ distributions: null)
23
+ ```
24
+
25
+
@@ -4,20 +4,17 @@
4
4
 
5
5
  Name | Type | Description | Notes
6
6
  ------------ | ------------- | ------------- | -------------
7
- **pulp_href** | **String** | | [optional] [readonly]
8
- **pulp_created** | **DateTime** | Timestamp of creation. | [optional] [readonly]
9
7
  **name** | **String** | A unique name for this remote. |
10
8
  **url** | **String** | The URL of an external content source. |
11
- **ca_cert** | **String** | A string containing the PEM encoded CA certificate used to validate the server certificate presented by the remote server. All new line characters must be escaped. | [optional]
12
- **client_cert** | **String** | A string containing the PEM encoded client certificate used for authentication. All new line characters must be escaped. | [optional]
9
+ **ca_cert** | **String** | A PEM encoded CA certificate used to validate the server certificate presented by the remote server. | [optional]
10
+ **client_cert** | **String** | A PEM encoded client certificate used for authentication. | [optional]
13
11
  **client_key** | **String** | A PEM encoded private key used for authentication. | [optional]
14
12
  **tls_validation** | **Boolean** | If True, TLS peer validation must be performed. | [optional]
15
13
  **proxy_url** | **String** | The proxy URL. Format: scheme://user:password@host:port | [optional]
16
14
  **username** | **String** | The username to be used for authentication when syncing. | [optional]
17
15
  **password** | **String** | The password to be used for authentication when syncing. | [optional]
18
- **pulp_last_updated** | **DateTime** | Timestamp of the most recent update of the remote. | [optional] [readonly]
19
16
  **download_concurrency** | **Integer** | Total number of simultaneous connections. | [optional]
20
- **policy** | **String** | The policy to use when downloading content. The possible values include: 'immediate', 'on_demand', and 'cache_only'. 'immediate' is the default. | [optional] [default to 'immediate']
17
+ **policy** | [**PolicyEnum**](PolicyEnum.md) | The policy to use when downloading content. The possible values include: 'immediate', 'on_demand', and 'cache_only'. 'immediate' is the default. | [optional]
21
18
  **includes** | [**Object**](.md) | A JSON list containing project specifiers for Python packages to include. | [optional]
22
19
  **excludes** | [**Object**](.md) | A JSON list containing project specifiers for Python packages to exclude. | [optional]
23
20
  **prereleases** | **Boolean** | Whether or not to include pre-release packages in the sync. | [optional]
@@ -27,9 +24,7 @@ Name | Type | Description | Notes
27
24
  ```ruby
28
25
  require 'PulpPythonClient'
29
26
 
30
- instance = PulpPythonClient::PythonPythonRemote.new(pulp_href: null,
31
- pulp_created: null,
32
- name: null,
27
+ instance = PulpPythonClient::PythonPythonRemote.new(name: null,
33
28
  url: null,
34
29
  ca_cert: null,
35
30
  client_cert: null,
@@ -38,7 +33,6 @@ instance = PulpPythonClient::PythonPythonRemote.new(pulp_href: null,
38
33
  proxy_url: null,
39
34
  username: null,
40
35
  password: null,
41
- pulp_last_updated: null,
42
36
  download_concurrency: null,
43
37
  policy: null,
44
38
  includes: null,
@@ -0,0 +1,49 @@
1
+ # PulpPythonClient::PythonPythonRemoteResponse
2
+
3
+ ## Properties
4
+
5
+ Name | Type | Description | Notes
6
+ ------------ | ------------- | ------------- | -------------
7
+ **pulp_href** | **String** | | [optional] [readonly]
8
+ **pulp_created** | **DateTime** | Timestamp of creation. | [optional] [readonly]
9
+ **name** | **String** | A unique name for this remote. |
10
+ **url** | **String** | The URL of an external content source. |
11
+ **ca_cert** | **String** | A PEM encoded CA certificate used to validate the server certificate presented by the remote server. | [optional]
12
+ **client_cert** | **String** | A PEM encoded client certificate used for authentication. | [optional]
13
+ **client_key** | **String** | A PEM encoded private key used for authentication. | [optional]
14
+ **tls_validation** | **Boolean** | If True, TLS peer validation must be performed. | [optional]
15
+ **proxy_url** | **String** | The proxy URL. Format: scheme://user:password@host:port | [optional]
16
+ **username** | **String** | The username to be used for authentication when syncing. | [optional]
17
+ **password** | **String** | The password to be used for authentication when syncing. | [optional]
18
+ **pulp_last_updated** | **DateTime** | Timestamp of the most recent update of the remote. | [optional] [readonly]
19
+ **download_concurrency** | **Integer** | Total number of simultaneous connections. | [optional]
20
+ **policy** | [**PolicyEnum**](PolicyEnum.md) | The policy to use when downloading content. The possible values include: 'immediate', 'on_demand', and 'cache_only'. 'immediate' is the default. | [optional]
21
+ **includes** | [**Object**](.md) | A JSON list containing project specifiers for Python packages to include. | [optional]
22
+ **excludes** | [**Object**](.md) | A JSON list containing project specifiers for Python packages to exclude. | [optional]
23
+ **prereleases** | **Boolean** | Whether or not to include pre-release packages in the sync. | [optional]
24
+
25
+ ## Code Sample
26
+
27
+ ```ruby
28
+ require 'PulpPythonClient'
29
+
30
+ instance = PulpPythonClient::PythonPythonRemoteResponse.new(pulp_href: null,
31
+ pulp_created: null,
32
+ name: null,
33
+ url: null,
34
+ ca_cert: null,
35
+ client_cert: null,
36
+ client_key: null,
37
+ tls_validation: null,
38
+ proxy_url: null,
39
+ username: null,
40
+ password: null,
41
+ pulp_last_updated: null,
42
+ download_concurrency: null,
43
+ policy: null,
44
+ includes: null,
45
+ excludes: null,
46
+ prereleases: null)
47
+ ```
48
+
49
+
@@ -4,24 +4,18 @@
4
4
 
5
5
  Name | Type | Description | Notes
6
6
  ------------ | ------------- | ------------- | -------------
7
- **pulp_href** | **String** | | [optional] [readonly]
8
- **pulp_created** | **DateTime** | Timestamp of creation. | [optional] [readonly]
9
- **versions_href** | **String** | | [optional] [readonly]
10
- **latest_version_href** | **String** | | [optional] [readonly]
11
7
  **name** | **String** | A unique name for this repository. |
12
8
  **description** | **String** | An optional description. | [optional]
9
+ **remote** | **String** | | [optional]
13
10
 
14
11
  ## Code Sample
15
12
 
16
13
  ```ruby
17
14
  require 'PulpPythonClient'
18
15
 
19
- instance = PulpPythonClient::PythonPythonRepository.new(pulp_href: null,
20
- pulp_created: null,
21
- versions_href: null,
22
- latest_version_href: null,
23
- name: null,
24
- description: null)
16
+ instance = PulpPythonClient::PythonPythonRepository.new(name: null,
17
+ description: null,
18
+ remote: null)
25
19
  ```
26
20
 
27
21
 
@@ -0,0 +1,29 @@
1
+ # PulpPythonClient::PythonPythonRepositoryResponse
2
+
3
+ ## Properties
4
+
5
+ Name | Type | Description | Notes
6
+ ------------ | ------------- | ------------- | -------------
7
+ **pulp_href** | **String** | | [optional] [readonly]
8
+ **pulp_created** | **DateTime** | Timestamp of creation. | [optional] [readonly]
9
+ **versions_href** | **String** | | [optional] [readonly]
10
+ **latest_version_href** | **String** | | [optional] [readonly]
11
+ **name** | **String** | A unique name for this repository. |
12
+ **description** | **String** | An optional description. | [optional]
13
+ **remote** | **String** | | [optional]
14
+
15
+ ## Code Sample
16
+
17
+ ```ruby
18
+ require 'PulpPythonClient'
19
+
20
+ instance = PulpPythonClient::PythonPythonRepositoryResponse.new(pulp_href: null,
21
+ pulp_created: null,
22
+ versions_href: null,
23
+ latest_version_href: null,
24
+ name: null,
25
+ description: null,
26
+ remote: null)
27
+ ```
28
+
29
+
@@ -5,18 +5,18 @@ All URIs are relative to *http://pulp*
5
5
  Method | HTTP request | Description
6
6
  ------------- | ------------- | -------------
7
7
  [**create**](RemotesPythonApi.md#create) | **POST** /pulp/api/v3/remotes/python/python/ | Create a python remote
8
- [**delete**](RemotesPythonApi.md#delete) | **DELETE** {python_remote_href} | Delete a python remote
8
+ [**delete**](RemotesPythonApi.md#delete) | **DELETE** {python_python_remote_href} | Delete a python remote
9
9
  [**from_bandersnatch**](RemotesPythonApi.md#from_bandersnatch) | **POST** /pulp/api/v3/remotes/python/python/from_bandersnatch/ | Create from Bandersnatch
10
10
  [**list**](RemotesPythonApi.md#list) | **GET** /pulp/api/v3/remotes/python/python/ | List python remotes
11
- [**partial_update**](RemotesPythonApi.md#partial_update) | **PATCH** {python_remote_href} | Partially update a python remote
12
- [**read**](RemotesPythonApi.md#read) | **GET** {python_remote_href} | Inspect a python remote
13
- [**update**](RemotesPythonApi.md#update) | **PUT** {python_remote_href} | Update a python remote
11
+ [**partial_update**](RemotesPythonApi.md#partial_update) | **PATCH** {python_python_remote_href} | Update a python remote
12
+ [**read**](RemotesPythonApi.md#read) | **GET** {python_python_remote_href} | Inspect a python remote
13
+ [**update**](RemotesPythonApi.md#update) | **PUT** {python_python_remote_href} | Update a python remote
14
14
 
15
15
 
16
16
 
17
17
  ## create
18
18
 
19
- > PythonPythonRemote create(data)
19
+ > PythonPythonRemoteResponse create(python_python_remote)
20
20
 
21
21
  Create a python remote
22
22
 
@@ -29,17 +29,17 @@ Create a python remote
29
29
  require 'pulp_python_client'
30
30
  # setup authorization
31
31
  PulpPythonClient.configure do |config|
32
- # Configure HTTP basic authorization: Basic
32
+ # Configure HTTP basic authorization: basicAuth
33
33
  config.username = 'YOUR USERNAME'
34
34
  config.password = 'YOUR PASSWORD'
35
35
  end
36
36
 
37
37
  api_instance = PulpPythonClient::RemotesPythonApi.new
38
- data = PulpPythonClient::PythonPythonRemote.new # PythonPythonRemote |
38
+ python_python_remote = PulpPythonClient::PythonPythonRemote.new # PythonPythonRemote |
39
39
 
40
40
  begin
41
41
  #Create a python remote
42
- result = api_instance.create(data)
42
+ result = api_instance.create(python_python_remote)
43
43
  p result
44
44
  rescue PulpPythonClient::ApiError => e
45
45
  puts "Exception when calling RemotesPythonApi->create: #{e}"
@@ -51,25 +51,25 @@ end
51
51
 
52
52
  Name | Type | Description | Notes
53
53
  ------------- | ------------- | ------------- | -------------
54
- **data** | [**PythonPythonRemote**](PythonPythonRemote.md)| |
54
+ **python_python_remote** | [**PythonPythonRemote**](PythonPythonRemote.md)| |
55
55
 
56
56
  ### Return type
57
57
 
58
- [**PythonPythonRemote**](PythonPythonRemote.md)
58
+ [**PythonPythonRemoteResponse**](PythonPythonRemoteResponse.md)
59
59
 
60
60
  ### Authorization
61
61
 
62
- [Basic](../README.md#Basic)
62
+ [basicAuth](../README.md#basicAuth)
63
63
 
64
64
  ### HTTP request headers
65
65
 
66
- - **Content-Type**: application/json
66
+ - **Content-Type**: application/json, application/x-www-form-urlencoded, multipart/form-data
67
67
  - **Accept**: application/json
68
68
 
69
69
 
70
70
  ## delete
71
71
 
72
- > AsyncOperationResponse delete(python_remote_href)
72
+ > AsyncOperationResponse delete(python_python_remote_href, opts)
73
73
 
74
74
  Delete a python remote
75
75
 
@@ -82,17 +82,28 @@ Trigger an asynchronous delete task
82
82
  require 'pulp_python_client'
83
83
  # setup authorization
84
84
  PulpPythonClient.configure do |config|
85
- # Configure HTTP basic authorization: Basic
85
+ # Configure HTTP basic authorization: basicAuth
86
86
  config.username = 'YOUR USERNAME'
87
87
  config.password = 'YOUR PASSWORD'
88
88
  end
89
89
 
90
90
  api_instance = PulpPythonClient::RemotesPythonApi.new
91
- python_remote_href = 'python_remote_href_example' # String | URI of Python Remote. e.g.: /pulp/api/v3/remotes/python/python/1/
91
+ python_python_remote_href = 'python_python_remote_href_example' # String |
92
+ opts = {
93
+ name: 'name_example', # String | name
94
+ name__in: 'name__in_example', # String | name__in
95
+ ordering: 'ordering_example', # String | Which field to use when ordering the results.
96
+ pulp_last_updated: 'pulp_last_updated_example', # String | pulp_last_updated
97
+ pulp_last_updated__gt: 'pulp_last_updated__gt_example', # String | pulp_last_updated__gt
98
+ pulp_last_updated__gte: 'pulp_last_updated__gte_example', # String | pulp_last_updated__gte
99
+ pulp_last_updated__lt: 'pulp_last_updated__lt_example', # String | pulp_last_updated__lt
100
+ pulp_last_updated__lte: 'pulp_last_updated__lte_example', # String | pulp_last_updated__lte
101
+ pulp_last_updated__range: 'pulp_last_updated__range_example' # String | pulp_last_updated__range
102
+ }
92
103
 
93
104
  begin
94
105
  #Delete a python remote
95
- result = api_instance.delete(python_remote_href)
106
+ result = api_instance.delete(python_python_remote_href, opts)
96
107
  p result
97
108
  rescue PulpPythonClient::ApiError => e
98
109
  puts "Exception when calling RemotesPythonApi->delete: #{e}"
@@ -104,7 +115,16 @@ end
104
115
 
105
116
  Name | Type | Description | Notes
106
117
  ------------- | ------------- | ------------- | -------------
107
- **python_remote_href** | **String**| URI of Python Remote. e.g.: /pulp/api/v3/remotes/python/python/1/ |
118
+ **python_python_remote_href** | **String**| |
119
+ **name** | **String**| name | [optional]
120
+ **name__in** | **String**| name__in | [optional]
121
+ **ordering** | **String**| Which field to use when ordering the results. | [optional]
122
+ **pulp_last_updated** | **String**| pulp_last_updated | [optional]
123
+ **pulp_last_updated__gt** | **String**| pulp_last_updated__gt | [optional]
124
+ **pulp_last_updated__gte** | **String**| pulp_last_updated__gte | [optional]
125
+ **pulp_last_updated__lt** | **String**| pulp_last_updated__lt | [optional]
126
+ **pulp_last_updated__lte** | **String**| pulp_last_updated__lte | [optional]
127
+ **pulp_last_updated__range** | **String**| pulp_last_updated__range | [optional]
108
128
 
109
129
  ### Return type
110
130
 
@@ -112,7 +132,7 @@ Name | Type | Description | Notes
112
132
 
113
133
  ### Authorization
114
134
 
115
- [Basic](../README.md#Basic)
135
+ [basicAuth](../README.md#basicAuth)
116
136
 
117
137
  ### HTTP request headers
118
138
 
@@ -122,7 +142,7 @@ Name | Type | Description | Notes
122
142
 
123
143
  ## from_bandersnatch
124
144
 
125
- > PythonPythonRemote from_bandersnatch(config, name)
145
+ > PythonPythonRemoteResponse from_bandersnatch(config, name)
126
146
 
127
147
  Create from Bandersnatch
128
148
 
@@ -135,7 +155,7 @@ Create a remote from a Bandersnatch config
135
155
  require 'pulp_python_client'
136
156
  # setup authorization
137
157
  PulpPythonClient.configure do |config|
138
- # Configure HTTP basic authorization: Basic
158
+ # Configure HTTP basic authorization: basicAuth
139
159
  config.username = 'YOUR USERNAME'
140
160
  config.password = 'YOUR PASSWORD'
141
161
  end
@@ -163,11 +183,11 @@ Name | Type | Description | Notes
163
183
 
164
184
  ### Return type
165
185
 
166
- [**PythonPythonRemote**](PythonPythonRemote.md)
186
+ [**PythonPythonRemoteResponse**](PythonPythonRemoteResponse.md)
167
187
 
168
188
  ### Authorization
169
189
 
170
- [Basic](../README.md#Basic)
190
+ [basicAuth](../README.md#basicAuth)
171
191
 
172
192
  ### HTTP request headers
173
193
 
@@ -190,24 +210,24 @@ List python remotes
190
210
  require 'pulp_python_client'
191
211
  # setup authorization
192
212
  PulpPythonClient.configure do |config|
193
- # Configure HTTP basic authorization: Basic
213
+ # Configure HTTP basic authorization: basicAuth
194
214
  config.username = 'YOUR USERNAME'
195
215
  config.password = 'YOUR PASSWORD'
196
216
  end
197
217
 
198
218
  api_instance = PulpPythonClient::RemotesPythonApi.new
199
219
  opts = {
200
- ordering: 'ordering_example', # String | Which field to use when ordering the results.
201
- name: 'name_example', # String |
202
- name__in: 'name__in_example', # String | Filter results where name is in a comma-separated list of values
203
- pulp_last_updated__lt: 'pulp_last_updated__lt_example', # String | Filter results where pulp_last_updated is less than value
204
- pulp_last_updated__lte: 'pulp_last_updated__lte_example', # String | Filter results where pulp_last_updated is less than or equal to value
205
- pulp_last_updated__gt: 'pulp_last_updated__gt_example', # String | Filter results where pulp_last_updated is greater than value
206
- pulp_last_updated__gte: 'pulp_last_updated__gte_example', # String | Filter results where pulp_last_updated is greater than or equal to value
207
- pulp_last_updated__range: 'pulp_last_updated__range_example', # String | Filter results where pulp_last_updated is between two comma separated values
208
- pulp_last_updated: 'pulp_last_updated_example', # String | ISO 8601 formatted dates are supported
209
220
  limit: 56, # Integer | Number of results to return per page.
221
+ name: 'name_example', # String | name
222
+ name__in: 'name__in_example', # String | name__in
210
223
  offset: 56, # Integer | The initial index from which to return the results.
224
+ ordering: 'ordering_example', # String | Which field to use when ordering the results.
225
+ pulp_last_updated: 'pulp_last_updated_example', # String | pulp_last_updated
226
+ pulp_last_updated__gt: 'pulp_last_updated__gt_example', # String | pulp_last_updated__gt
227
+ pulp_last_updated__gte: 'pulp_last_updated__gte_example', # String | pulp_last_updated__gte
228
+ pulp_last_updated__lt: 'pulp_last_updated__lt_example', # String | pulp_last_updated__lt
229
+ pulp_last_updated__lte: 'pulp_last_updated__lte_example', # String | pulp_last_updated__lte
230
+ pulp_last_updated__range: 'pulp_last_updated__range_example', # String | pulp_last_updated__range
211
231
  fields: 'fields_example', # String | A list of fields to include in the response.
212
232
  exclude_fields: 'exclude_fields_example' # String | A list of fields to exclude from the response.
213
233
  }
@@ -226,17 +246,17 @@ end
226
246
 
227
247
  Name | Type | Description | Notes
228
248
  ------------- | ------------- | ------------- | -------------
229
- **ordering** | **String**| Which field to use when ordering the results. | [optional]
230
- **name** | **String**| | [optional]
231
- **name__in** | **String**| Filter results where name is in a comma-separated list of values | [optional]
232
- **pulp_last_updated__lt** | **String**| Filter results where pulp_last_updated is less than value | [optional]
233
- **pulp_last_updated__lte** | **String**| Filter results where pulp_last_updated is less than or equal to value | [optional]
234
- **pulp_last_updated__gt** | **String**| Filter results where pulp_last_updated is greater than value | [optional]
235
- **pulp_last_updated__gte** | **String**| Filter results where pulp_last_updated is greater than or equal to value | [optional]
236
- **pulp_last_updated__range** | **String**| Filter results where pulp_last_updated is between two comma separated values | [optional]
237
- **pulp_last_updated** | **String**| ISO 8601 formatted dates are supported | [optional]
238
249
  **limit** | **Integer**| Number of results to return per page. | [optional]
250
+ **name** | **String**| name | [optional]
251
+ **name__in** | **String**| name__in | [optional]
239
252
  **offset** | **Integer**| The initial index from which to return the results. | [optional]
253
+ **ordering** | **String**| Which field to use when ordering the results. | [optional]
254
+ **pulp_last_updated** | **String**| pulp_last_updated | [optional]
255
+ **pulp_last_updated__gt** | **String**| pulp_last_updated__gt | [optional]
256
+ **pulp_last_updated__gte** | **String**| pulp_last_updated__gte | [optional]
257
+ **pulp_last_updated__lt** | **String**| pulp_last_updated__lt | [optional]
258
+ **pulp_last_updated__lte** | **String**| pulp_last_updated__lte | [optional]
259
+ **pulp_last_updated__range** | **String**| pulp_last_updated__range | [optional]
240
260
  **fields** | **String**| A list of fields to include in the response. | [optional]
241
261
  **exclude_fields** | **String**| A list of fields to exclude from the response. | [optional]
242
262
 
@@ -246,7 +266,7 @@ Name | Type | Description | Notes
246
266
 
247
267
  ### Authorization
248
268
 
249
- [Basic](../README.md#Basic)
269
+ [basicAuth](../README.md#basicAuth)
250
270
 
251
271
  ### HTTP request headers
252
272
 
@@ -256,9 +276,9 @@ Name | Type | Description | Notes
256
276
 
257
277
  ## partial_update
258
278
 
259
- > AsyncOperationResponse partial_update(python_remote_href, data)
279
+ > AsyncOperationResponse partial_update(python_python_remote_href, patchedpython_python_remote, opts)
260
280
 
261
- Partially update a python remote
281
+ Update a python remote
262
282
 
263
283
  Trigger an asynchronous partial update task
264
284
 
@@ -269,18 +289,29 @@ Trigger an asynchronous partial update task
269
289
  require 'pulp_python_client'
270
290
  # setup authorization
271
291
  PulpPythonClient.configure do |config|
272
- # Configure HTTP basic authorization: Basic
292
+ # Configure HTTP basic authorization: basicAuth
273
293
  config.username = 'YOUR USERNAME'
274
294
  config.password = 'YOUR PASSWORD'
275
295
  end
276
296
 
277
297
  api_instance = PulpPythonClient::RemotesPythonApi.new
278
- python_remote_href = 'python_remote_href_example' # String | URI of Python Remote. e.g.: /pulp/api/v3/remotes/python/python/1/
279
- data = PulpPythonClient::PythonPythonRemote.new # PythonPythonRemote |
298
+ python_python_remote_href = 'python_python_remote_href_example' # String |
299
+ patchedpython_python_remote = PulpPythonClient::PatchedpythonPythonRemote.new # PatchedpythonPythonRemote |
300
+ opts = {
301
+ name: 'name_example', # String | name
302
+ name__in: 'name__in_example', # String | name__in
303
+ ordering: 'ordering_example', # String | Which field to use when ordering the results.
304
+ pulp_last_updated: 'pulp_last_updated_example', # String | pulp_last_updated
305
+ pulp_last_updated__gt: 'pulp_last_updated__gt_example', # String | pulp_last_updated__gt
306
+ pulp_last_updated__gte: 'pulp_last_updated__gte_example', # String | pulp_last_updated__gte
307
+ pulp_last_updated__lt: 'pulp_last_updated__lt_example', # String | pulp_last_updated__lt
308
+ pulp_last_updated__lte: 'pulp_last_updated__lte_example', # String | pulp_last_updated__lte
309
+ pulp_last_updated__range: 'pulp_last_updated__range_example' # String | pulp_last_updated__range
310
+ }
280
311
 
281
312
  begin
282
- #Partially update a python remote
283
- result = api_instance.partial_update(python_remote_href, data)
313
+ #Update a python remote
314
+ result = api_instance.partial_update(python_python_remote_href, patchedpython_python_remote, opts)
284
315
  p result
285
316
  rescue PulpPythonClient::ApiError => e
286
317
  puts "Exception when calling RemotesPythonApi->partial_update: #{e}"
@@ -292,8 +323,17 @@ end
292
323
 
293
324
  Name | Type | Description | Notes
294
325
  ------------- | ------------- | ------------- | -------------
295
- **python_remote_href** | **String**| URI of Python Remote. e.g.: /pulp/api/v3/remotes/python/python/1/ |
296
- **data** | [**PythonPythonRemote**](PythonPythonRemote.md)| |
326
+ **python_python_remote_href** | **String**| |
327
+ **patchedpython_python_remote** | [**PatchedpythonPythonRemote**](PatchedpythonPythonRemote.md)| |
328
+ **name** | **String**| name | [optional]
329
+ **name__in** | **String**| name__in | [optional]
330
+ **ordering** | **String**| Which field to use when ordering the results. | [optional]
331
+ **pulp_last_updated** | **String**| pulp_last_updated | [optional]
332
+ **pulp_last_updated__gt** | **String**| pulp_last_updated__gt | [optional]
333
+ **pulp_last_updated__gte** | **String**| pulp_last_updated__gte | [optional]
334
+ **pulp_last_updated__lt** | **String**| pulp_last_updated__lt | [optional]
335
+ **pulp_last_updated__lte** | **String**| pulp_last_updated__lte | [optional]
336
+ **pulp_last_updated__range** | **String**| pulp_last_updated__range | [optional]
297
337
 
298
338
  ### Return type
299
339
 
@@ -301,17 +341,17 @@ Name | Type | Description | Notes
301
341
 
302
342
  ### Authorization
303
343
 
304
- [Basic](../README.md#Basic)
344
+ [basicAuth](../README.md#basicAuth)
305
345
 
306
346
  ### HTTP request headers
307
347
 
308
- - **Content-Type**: application/json
348
+ - **Content-Type**: application/json, application/x-www-form-urlencoded, multipart/form-data
309
349
  - **Accept**: application/json
310
350
 
311
351
 
312
352
  ## read
313
353
 
314
- > PythonPythonRemote read(python_remote_href, opts)
354
+ > PythonPythonRemoteResponse read(python_python_remote_href, opts)
315
355
 
316
356
  Inspect a python remote
317
357
 
@@ -324,13 +364,13 @@ Inspect a python remote
324
364
  require 'pulp_python_client'
325
365
  # setup authorization
326
366
  PulpPythonClient.configure do |config|
327
- # Configure HTTP basic authorization: Basic
367
+ # Configure HTTP basic authorization: basicAuth
328
368
  config.username = 'YOUR USERNAME'
329
369
  config.password = 'YOUR PASSWORD'
330
370
  end
331
371
 
332
372
  api_instance = PulpPythonClient::RemotesPythonApi.new
333
- python_remote_href = 'python_remote_href_example' # String | URI of Python Remote. e.g.: /pulp/api/v3/remotes/python/python/1/
373
+ python_python_remote_href = 'python_python_remote_href_example' # String |
334
374
  opts = {
335
375
  fields: 'fields_example', # String | A list of fields to include in the response.
336
376
  exclude_fields: 'exclude_fields_example' # String | A list of fields to exclude from the response.
@@ -338,7 +378,7 @@ opts = {
338
378
 
339
379
  begin
340
380
  #Inspect a python remote
341
- result = api_instance.read(python_remote_href, opts)
381
+ result = api_instance.read(python_python_remote_href, opts)
342
382
  p result
343
383
  rescue PulpPythonClient::ApiError => e
344
384
  puts "Exception when calling RemotesPythonApi->read: #{e}"
@@ -350,17 +390,17 @@ end
350
390
 
351
391
  Name | Type | Description | Notes
352
392
  ------------- | ------------- | ------------- | -------------
353
- **python_remote_href** | **String**| URI of Python Remote. e.g.: /pulp/api/v3/remotes/python/python/1/ |
393
+ **python_python_remote_href** | **String**| |
354
394
  **fields** | **String**| A list of fields to include in the response. | [optional]
355
395
  **exclude_fields** | **String**| A list of fields to exclude from the response. | [optional]
356
396
 
357
397
  ### Return type
358
398
 
359
- [**PythonPythonRemote**](PythonPythonRemote.md)
399
+ [**PythonPythonRemoteResponse**](PythonPythonRemoteResponse.md)
360
400
 
361
401
  ### Authorization
362
402
 
363
- [Basic](../README.md#Basic)
403
+ [basicAuth](../README.md#basicAuth)
364
404
 
365
405
  ### HTTP request headers
366
406
 
@@ -370,7 +410,7 @@ Name | Type | Description | Notes
370
410
 
371
411
  ## update
372
412
 
373
- > AsyncOperationResponse update(python_remote_href, data)
413
+ > AsyncOperationResponse update(python_python_remote_href, python_python_remote, opts)
374
414
 
375
415
  Update a python remote
376
416
 
@@ -383,18 +423,29 @@ Trigger an asynchronous update task
383
423
  require 'pulp_python_client'
384
424
  # setup authorization
385
425
  PulpPythonClient.configure do |config|
386
- # Configure HTTP basic authorization: Basic
426
+ # Configure HTTP basic authorization: basicAuth
387
427
  config.username = 'YOUR USERNAME'
388
428
  config.password = 'YOUR PASSWORD'
389
429
  end
390
430
 
391
431
  api_instance = PulpPythonClient::RemotesPythonApi.new
392
- python_remote_href = 'python_remote_href_example' # String | URI of Python Remote. e.g.: /pulp/api/v3/remotes/python/python/1/
393
- data = PulpPythonClient::PythonPythonRemote.new # PythonPythonRemote |
432
+ python_python_remote_href = 'python_python_remote_href_example' # String |
433
+ python_python_remote = PulpPythonClient::PythonPythonRemote.new # PythonPythonRemote |
434
+ opts = {
435
+ name: 'name_example', # String | name
436
+ name__in: 'name__in_example', # String | name__in
437
+ ordering: 'ordering_example', # String | Which field to use when ordering the results.
438
+ pulp_last_updated: 'pulp_last_updated_example', # String | pulp_last_updated
439
+ pulp_last_updated__gt: 'pulp_last_updated__gt_example', # String | pulp_last_updated__gt
440
+ pulp_last_updated__gte: 'pulp_last_updated__gte_example', # String | pulp_last_updated__gte
441
+ pulp_last_updated__lt: 'pulp_last_updated__lt_example', # String | pulp_last_updated__lt
442
+ pulp_last_updated__lte: 'pulp_last_updated__lte_example', # String | pulp_last_updated__lte
443
+ pulp_last_updated__range: 'pulp_last_updated__range_example' # String | pulp_last_updated__range
444
+ }
394
445
 
395
446
  begin
396
447
  #Update a python remote
397
- result = api_instance.update(python_remote_href, data)
448
+ result = api_instance.update(python_python_remote_href, python_python_remote, opts)
398
449
  p result
399
450
  rescue PulpPythonClient::ApiError => e
400
451
  puts "Exception when calling RemotesPythonApi->update: #{e}"
@@ -406,8 +457,17 @@ end
406
457
 
407
458
  Name | Type | Description | Notes
408
459
  ------------- | ------------- | ------------- | -------------
409
- **python_remote_href** | **String**| URI of Python Remote. e.g.: /pulp/api/v3/remotes/python/python/1/ |
410
- **data** | [**PythonPythonRemote**](PythonPythonRemote.md)| |
460
+ **python_python_remote_href** | **String**| |
461
+ **python_python_remote** | [**PythonPythonRemote**](PythonPythonRemote.md)| |
462
+ **name** | **String**| name | [optional]
463
+ **name__in** | **String**| name__in | [optional]
464
+ **ordering** | **String**| Which field to use when ordering the results. | [optional]
465
+ **pulp_last_updated** | **String**| pulp_last_updated | [optional]
466
+ **pulp_last_updated__gt** | **String**| pulp_last_updated__gt | [optional]
467
+ **pulp_last_updated__gte** | **String**| pulp_last_updated__gte | [optional]
468
+ **pulp_last_updated__lt** | **String**| pulp_last_updated__lt | [optional]
469
+ **pulp_last_updated__lte** | **String**| pulp_last_updated__lte | [optional]
470
+ **pulp_last_updated__range** | **String**| pulp_last_updated__range | [optional]
411
471
 
412
472
  ### Return type
413
473
 
@@ -415,10 +475,10 @@ Name | Type | Description | Notes
415
475
 
416
476
  ### Authorization
417
477
 
418
- [Basic](../README.md#Basic)
478
+ [basicAuth](../README.md#basicAuth)
419
479
 
420
480
  ### HTTP request headers
421
481
 
422
- - **Content-Type**: application/json
482
+ - **Content-Type**: application/json, application/x-www-form-urlencoded, multipart/form-data
423
483
  - **Accept**: application/json
424
484