pulp_maven_client 0.3.0 → 0.3.1

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 (96) hide show
  1. checksums.yaml +4 -4
  2. data/Gemfile +1 -1
  3. data/README.md +4 -4
  4. data/build/lib/pulpcore/client/pulp_maven/__init__.py +1 -1
  5. data/build/lib/pulpcore/client/pulp_maven/api_client.py +1 -1
  6. data/build/lib/pulpcore/client/pulp_maven/configuration.py +1 -1
  7. data/build/lib/pulpcore/client/pulp_maven/models/maven_maven_repository.py +31 -1
  8. data/build/lib/pulpcore/client/pulp_maven/models/maven_maven_repository_response.py +31 -1
  9. data/build/lib/pulpcore/client/pulp_maven/models/patchedmaven_maven_repository.py +31 -1
  10. data/build/lib/pulpcore/client/pulp_maven/models/repository_version_response.py +27 -1
  11. data/dist/pulp_maven-client-0.3.1.tar.gz +0 -0
  12. data/dist/{pulp_maven_client-0.3.0-py3-none-any.whl → pulp_maven_client-0.3.1-py3-none-any.whl} +0 -0
  13. data/docs/MavenMavenRepository.md +2 -0
  14. data/docs/MavenMavenRepositoryResponse.md +2 -0
  15. data/docs/PatchedmavenMavenRepository.md +2 -0
  16. data/docs/RepositoryVersionResponse.md +2 -0
  17. data/lib/pulp_maven_client.rb +1 -1
  18. data/lib/pulp_maven_client/api/content_artifact_api.rb +1 -1
  19. data/lib/pulp_maven_client/api/distributions_maven_api.rb +1 -1
  20. data/lib/pulp_maven_client/api/remotes_maven_api.rb +1 -1
  21. data/lib/pulp_maven_client/api/repositories_maven_api.rb +1 -1
  22. data/lib/pulp_maven_client/api/repositories_maven_versions_api.rb +1 -1
  23. data/lib/pulp_maven_client/api_client.rb +12 -8
  24. data/lib/pulp_maven_client/api_error.rb +1 -1
  25. data/lib/pulp_maven_client/configuration.rb +8 -1
  26. data/lib/pulp_maven_client/models/async_operation_response.rb +1 -1
  27. data/lib/pulp_maven_client/models/content_summary.rb +1 -1
  28. data/lib/pulp_maven_client/models/content_summary_response.rb +1 -1
  29. data/lib/pulp_maven_client/models/maven_maven_artifact.rb +1 -1
  30. data/lib/pulp_maven_client/models/maven_maven_artifact_response.rb +1 -1
  31. data/lib/pulp_maven_client/models/maven_maven_distribution.rb +1 -1
  32. data/lib/pulp_maven_client/models/maven_maven_distribution_response.rb +1 -1
  33. data/lib/pulp_maven_client/models/maven_maven_remote.rb +1 -1
  34. data/lib/pulp_maven_client/models/maven_maven_remote_response.rb +1 -1
  35. data/lib/pulp_maven_client/models/maven_maven_repository.rb +28 -2
  36. data/lib/pulp_maven_client/models/maven_maven_repository_response.rb +28 -2
  37. data/lib/pulp_maven_client/models/paginated_repository_version_response_list.rb +1 -1
  38. data/lib/pulp_maven_client/models/paginatedmaven_maven_artifact_response_list.rb +1 -1
  39. data/lib/pulp_maven_client/models/paginatedmaven_maven_distribution_response_list.rb +1 -1
  40. data/lib/pulp_maven_client/models/paginatedmaven_maven_remote_response_list.rb +1 -1
  41. data/lib/pulp_maven_client/models/paginatedmaven_maven_repository_response_list.rb +1 -1
  42. data/lib/pulp_maven_client/models/patchedmaven_maven_distribution.rb +1 -1
  43. data/lib/pulp_maven_client/models/patchedmaven_maven_remote.rb +1 -1
  44. data/lib/pulp_maven_client/models/patchedmaven_maven_repository.rb +28 -2
  45. data/lib/pulp_maven_client/models/policy_enum.rb +1 -1
  46. data/lib/pulp_maven_client/models/repository_version.rb +1 -1
  47. data/lib/pulp_maven_client/models/repository_version_response.rb +11 -2
  48. data/lib/pulp_maven_client/version.rb +2 -2
  49. data/pulp_maven_client.egg-info/PKG-INFO +1 -1
  50. data/pulp_maven_client.gemspec +1 -1
  51. data/pulpcore/client/pulp_maven/__init__.py +1 -1
  52. data/pulpcore/client/pulp_maven/api_client.py +1 -1
  53. data/pulpcore/client/pulp_maven/configuration.py +1 -1
  54. data/pulpcore/client/pulp_maven/models/maven_maven_repository.py +31 -1
  55. data/pulpcore/client/pulp_maven/models/maven_maven_repository_response.py +31 -1
  56. data/pulpcore/client/pulp_maven/models/patchedmaven_maven_repository.py +31 -1
  57. data/pulpcore/client/pulp_maven/models/repository_version_response.py +27 -1
  58. data/setup.py +1 -1
  59. data/spec/api/content_artifact_api_spec.rb +1 -1
  60. data/spec/api/distributions_maven_api_spec.rb +1 -1
  61. data/spec/api/remotes_maven_api_spec.rb +1 -1
  62. data/spec/api/repositories_maven_api_spec.rb +1 -1
  63. data/spec/api/repositories_maven_versions_api_spec.rb +1 -1
  64. data/spec/api_client_spec.rb +2 -2
  65. data/spec/configuration_spec.rb +1 -1
  66. data/spec/models/async_operation_response_spec.rb +1 -1
  67. data/spec/models/content_summary_response_spec.rb +1 -1
  68. data/spec/models/content_summary_spec.rb +1 -1
  69. data/spec/models/maven_maven_artifact_response_spec.rb +1 -1
  70. data/spec/models/maven_maven_artifact_spec.rb +1 -1
  71. data/spec/models/maven_maven_distribution_response_spec.rb +1 -1
  72. data/spec/models/maven_maven_distribution_spec.rb +1 -1
  73. data/spec/models/maven_maven_remote_response_spec.rb +1 -1
  74. data/spec/models/maven_maven_remote_spec.rb +1 -1
  75. data/spec/models/maven_maven_repository_response_spec.rb +7 -1
  76. data/spec/models/maven_maven_repository_spec.rb +7 -1
  77. data/spec/models/paginated_repository_version_response_list_spec.rb +1 -1
  78. data/spec/models/paginatedmaven_maven_artifact_response_list_spec.rb +1 -1
  79. data/spec/models/paginatedmaven_maven_distribution_response_list_spec.rb +1 -1
  80. data/spec/models/paginatedmaven_maven_remote_response_list_spec.rb +1 -1
  81. data/spec/models/paginatedmaven_maven_repository_response_list_spec.rb +1 -1
  82. data/spec/models/patchedmaven_maven_distribution_spec.rb +1 -1
  83. data/spec/models/patchedmaven_maven_remote_spec.rb +1 -1
  84. data/spec/models/patchedmaven_maven_repository_spec.rb +7 -1
  85. data/spec/models/policy_enum_spec.rb +1 -1
  86. data/spec/models/repository_version_response_spec.rb +7 -1
  87. data/spec/models/repository_version_spec.rb +1 -1
  88. data/spec/spec_helper.rb +1 -1
  89. data/test/test_maven_maven_repository.py +1 -0
  90. data/test/test_maven_maven_repository_response.py +1 -0
  91. data/test/test_paginated_repository_version_response_list.py +1 -0
  92. data/test/test_paginatedmaven_maven_repository_response_list.py +1 -0
  93. data/test/test_patchedmaven_maven_repository.py +1 -0
  94. data/test/test_repository_version_response.py +1 -0
  95. metadata +22 -22
  96. data/dist/pulp_maven-client-0.3.0.tar.gz +0 -0
@@ -37,6 +37,7 @@ class RepositoryVersionResponse(object):
37
37
  'pulp_href': 'str',
38
38
  'pulp_created': 'datetime',
39
39
  'number': 'int',
40
+ 'repository': 'str',
40
41
  'base_version': 'str',
41
42
  'content_summary': 'ContentSummaryResponse'
42
43
  }
@@ -45,11 +46,12 @@ class RepositoryVersionResponse(object):
45
46
  'pulp_href': 'pulp_href',
46
47
  'pulp_created': 'pulp_created',
47
48
  'number': 'number',
49
+ 'repository': 'repository',
48
50
  'base_version': 'base_version',
49
51
  'content_summary': 'content_summary'
50
52
  }
51
53
 
52
- def __init__(self, pulp_href=None, pulp_created=None, number=None, base_version=None, content_summary=None, local_vars_configuration=None): # noqa: E501
54
+ def __init__(self, pulp_href=None, pulp_created=None, number=None, repository=None, base_version=None, content_summary=None, local_vars_configuration=None): # noqa: E501
53
55
  """RepositoryVersionResponse - a model defined in OpenAPI""" # noqa: E501
54
56
  if local_vars_configuration is None:
55
57
  local_vars_configuration = Configuration()
@@ -58,6 +60,7 @@ class RepositoryVersionResponse(object):
58
60
  self._pulp_href = None
59
61
  self._pulp_created = None
60
62
  self._number = None
63
+ self._repository = None
61
64
  self._base_version = None
62
65
  self._content_summary = None
63
66
  self.discriminator = None
@@ -68,6 +71,8 @@ class RepositoryVersionResponse(object):
68
71
  self.pulp_created = pulp_created
69
72
  if number is not None:
70
73
  self.number = number
74
+ if repository is not None:
75
+ self.repository = repository
71
76
  if base_version is not None:
72
77
  self.base_version = base_version
73
78
  if content_summary is not None:
@@ -138,6 +143,27 @@ class RepositoryVersionResponse(object):
138
143
 
139
144
  self._number = number
140
145
 
146
+ @property
147
+ def repository(self):
148
+ """Gets the repository of this RepositoryVersionResponse. # noqa: E501
149
+
150
+
151
+ :return: The repository of this RepositoryVersionResponse. # noqa: E501
152
+ :rtype: str
153
+ """
154
+ return self._repository
155
+
156
+ @repository.setter
157
+ def repository(self, repository):
158
+ """Sets the repository of this RepositoryVersionResponse.
159
+
160
+
161
+ :param repository: The repository of this RepositoryVersionResponse. # noqa: E501
162
+ :type: str
163
+ """
164
+
165
+ self._repository = repository
166
+
141
167
  @property
142
168
  def base_version(self):
143
169
  """Gets the base_version of this RepositoryVersionResponse. # noqa: E501
data/setup.py CHANGED
@@ -14,7 +14,7 @@
14
14
  from setuptools import setup, find_packages # noqa: H301
15
15
 
16
16
  NAME = "pulp_maven-client"
17
- VERSION = "0.3.0"
17
+ VERSION = "0.3.1"
18
18
  # To install the library, run the following
19
19
  #
20
20
  # python setup.py install
@@ -6,7 +6,7 @@
6
6
  The version of the OpenAPI document: v3
7
7
  Contact: pulp-list@redhat.com
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 4.2.3
9
+ OpenAPI Generator version: 4.3.1
10
10
 
11
11
  =end
12
12
 
@@ -6,7 +6,7 @@
6
6
  The version of the OpenAPI document: v3
7
7
  Contact: pulp-list@redhat.com
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 4.2.3
9
+ OpenAPI Generator version: 4.3.1
10
10
 
11
11
  =end
12
12
 
@@ -6,7 +6,7 @@
6
6
  The version of the OpenAPI document: v3
7
7
  Contact: pulp-list@redhat.com
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 4.2.3
9
+ OpenAPI Generator version: 4.3.1
10
10
 
11
11
  =end
12
12
 
@@ -6,7 +6,7 @@
6
6
  The version of the OpenAPI document: v3
7
7
  Contact: pulp-list@redhat.com
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 4.2.3
9
+ OpenAPI Generator version: 4.3.1
10
10
 
11
11
  =end
12
12
 
@@ -6,7 +6,7 @@
6
6
  The version of the OpenAPI document: v3
7
7
  Contact: pulp-list@redhat.com
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 4.2.3
9
+ OpenAPI Generator version: 4.3.1
10
10
 
11
11
  =end
12
12
 
@@ -6,7 +6,7 @@
6
6
  The version of the OpenAPI document: v3
7
7
  Contact: pulp-list@redhat.com
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 4.2.3
9
+ OpenAPI Generator version: 4.3.1
10
10
 
11
11
  =end
12
12
 
@@ -118,7 +118,7 @@ describe PulpMavenClient::ApiClient do
118
118
  end
119
119
 
120
120
  it 'fails for invalid collection format' do
121
- expect{api_client.build_collection_param(param, :INVALID)}.to raise_error(RuntimeError, 'unknown collection format: :INVALID')
121
+ expect { api_client.build_collection_param(param, :INVALID) }.to raise_error(RuntimeError, 'unknown collection format: :INVALID')
122
122
  end
123
123
  end
124
124
 
@@ -6,7 +6,7 @@
6
6
  The version of the OpenAPI document: v3
7
7
  Contact: pulp-list@redhat.com
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 4.2.3
9
+ OpenAPI Generator version: 4.3.1
10
10
 
11
11
  =end
12
12
 
@@ -6,7 +6,7 @@
6
6
  The version of the OpenAPI document: v3
7
7
  Contact: pulp-list@redhat.com
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 4.2.3
9
+ OpenAPI Generator version: 4.3.1
10
10
 
11
11
  =end
12
12
 
@@ -6,7 +6,7 @@
6
6
  The version of the OpenAPI document: v3
7
7
  Contact: pulp-list@redhat.com
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 4.2.3
9
+ OpenAPI Generator version: 4.3.1
10
10
 
11
11
  =end
12
12
 
@@ -6,7 +6,7 @@
6
6
  The version of the OpenAPI document: v3
7
7
  Contact: pulp-list@redhat.com
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 4.2.3
9
+ OpenAPI Generator version: 4.3.1
10
10
 
11
11
  =end
12
12
 
@@ -6,7 +6,7 @@
6
6
  The version of the OpenAPI document: v3
7
7
  Contact: pulp-list@redhat.com
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 4.2.3
9
+ OpenAPI Generator version: 4.3.1
10
10
 
11
11
  =end
12
12
 
@@ -6,7 +6,7 @@
6
6
  The version of the OpenAPI document: v3
7
7
  Contact: pulp-list@redhat.com
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 4.2.3
9
+ OpenAPI Generator version: 4.3.1
10
10
 
11
11
  =end
12
12
 
@@ -6,7 +6,7 @@
6
6
  The version of the OpenAPI document: v3
7
7
  Contact: pulp-list@redhat.com
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 4.2.3
9
+ OpenAPI Generator version: 4.3.1
10
10
 
11
11
  =end
12
12
 
@@ -6,7 +6,7 @@
6
6
  The version of the OpenAPI document: v3
7
7
  Contact: pulp-list@redhat.com
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 4.2.3
9
+ OpenAPI Generator version: 4.3.1
10
10
 
11
11
  =end
12
12
 
@@ -6,7 +6,7 @@
6
6
  The version of the OpenAPI document: v3
7
7
  Contact: pulp-list@redhat.com
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 4.2.3
9
+ OpenAPI Generator version: 4.3.1
10
10
 
11
11
  =end
12
12
 
@@ -6,7 +6,7 @@
6
6
  The version of the OpenAPI document: v3
7
7
  Contact: pulp-list@redhat.com
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 4.2.3
9
+ OpenAPI Generator version: 4.3.1
10
10
 
11
11
  =end
12
12
 
@@ -6,7 +6,7 @@
6
6
  The version of the OpenAPI document: v3
7
7
  Contact: pulp-list@redhat.com
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 4.2.3
9
+ OpenAPI Generator version: 4.3.1
10
10
 
11
11
  =end
12
12
 
@@ -74,6 +74,12 @@ describe 'MavenMavenRepositoryResponse' do
74
74
  end
75
75
  end
76
76
 
77
+ describe 'test attribute "retained_versions"' do
78
+ it 'should work' do
79
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
80
+ end
81
+ end
82
+
77
83
  describe 'test attribute "remote"' do
78
84
  it 'should work' do
79
85
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
@@ -6,7 +6,7 @@
6
6
  The version of the OpenAPI document: v3
7
7
  Contact: pulp-list@redhat.com
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 4.2.3
9
+ OpenAPI Generator version: 4.3.1
10
10
 
11
11
  =end
12
12
 
@@ -50,6 +50,12 @@ describe 'MavenMavenRepository' do
50
50
  end
51
51
  end
52
52
 
53
+ describe 'test attribute "retained_versions"' do
54
+ it 'should work' do
55
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
56
+ end
57
+ end
58
+
53
59
  describe 'test attribute "remote"' do
54
60
  it 'should work' do
55
61
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
@@ -6,7 +6,7 @@
6
6
  The version of the OpenAPI document: v3
7
7
  Contact: pulp-list@redhat.com
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 4.2.3
9
+ OpenAPI Generator version: 4.3.1
10
10
 
11
11
  =end
12
12
 
@@ -6,7 +6,7 @@
6
6
  The version of the OpenAPI document: v3
7
7
  Contact: pulp-list@redhat.com
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 4.2.3
9
+ OpenAPI Generator version: 4.3.1
10
10
 
11
11
  =end
12
12
 
@@ -6,7 +6,7 @@
6
6
  The version of the OpenAPI document: v3
7
7
  Contact: pulp-list@redhat.com
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 4.2.3
9
+ OpenAPI Generator version: 4.3.1
10
10
 
11
11
  =end
12
12
 
@@ -6,7 +6,7 @@
6
6
  The version of the OpenAPI document: v3
7
7
  Contact: pulp-list@redhat.com
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 4.2.3
9
+ OpenAPI Generator version: 4.3.1
10
10
 
11
11
  =end
12
12
 
@@ -6,7 +6,7 @@
6
6
  The version of the OpenAPI document: v3
7
7
  Contact: pulp-list@redhat.com
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 4.2.3
9
+ OpenAPI Generator version: 4.3.1
10
10
 
11
11
  =end
12
12
 
@@ -6,7 +6,7 @@
6
6
  The version of the OpenAPI document: v3
7
7
  Contact: pulp-list@redhat.com
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 4.2.3
9
+ OpenAPI Generator version: 4.3.1
10
10
 
11
11
  =end
12
12
 
@@ -6,7 +6,7 @@
6
6
  The version of the OpenAPI document: v3
7
7
  Contact: pulp-list@redhat.com
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 4.2.3
9
+ OpenAPI Generator version: 4.3.1
10
10
 
11
11
  =end
12
12
 
@@ -6,7 +6,7 @@
6
6
  The version of the OpenAPI document: v3
7
7
  Contact: pulp-list@redhat.com
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 4.2.3
9
+ OpenAPI Generator version: 4.3.1
10
10
 
11
11
  =end
12
12
 
@@ -50,6 +50,12 @@ describe 'PatchedmavenMavenRepository' do
50
50
  end
51
51
  end
52
52
 
53
+ describe 'test attribute "retained_versions"' do
54
+ it 'should work' do
55
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
56
+ end
57
+ end
58
+
53
59
  describe 'test attribute "remote"' do
54
60
  it 'should work' do
55
61
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
@@ -6,7 +6,7 @@
6
6
  The version of the OpenAPI document: v3
7
7
  Contact: pulp-list@redhat.com
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 4.2.3
9
+ OpenAPI Generator version: 4.3.1
10
10
 
11
11
  =end
12
12
 
@@ -6,7 +6,7 @@
6
6
  The version of the OpenAPI document: v3
7
7
  Contact: pulp-list@redhat.com
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 4.2.3
9
+ OpenAPI Generator version: 4.3.1
10
10
 
11
11
  =end
12
12
 
@@ -50,6 +50,12 @@ describe 'RepositoryVersionResponse' do
50
50
  end
51
51
  end
52
52
 
53
+ describe 'test attribute "repository"' do
54
+ it 'should work' do
55
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
56
+ end
57
+ end
58
+
53
59
  describe 'test attribute "base_version"' do
54
60
  it 'should work' do
55
61
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
@@ -6,7 +6,7 @@
6
6
  The version of the OpenAPI document: v3
7
7
  Contact: pulp-list@redhat.com
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 4.2.3
9
+ OpenAPI Generator version: 4.3.1
10
10
 
11
11
  =end
12
12
 
data/spec/spec_helper.rb CHANGED
@@ -6,7 +6,7 @@
6
6
  The version of the OpenAPI document: v3
7
7
  Contact: pulp-list@redhat.com
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 4.2.3
9
+ OpenAPI Generator version: 4.3.1
10
10
 
11
11
  =end
12
12
 
@@ -40,6 +40,7 @@ class TestMavenMavenRepository(unittest.TestCase):
40
40
  pulp_labels = None,
41
41
  name = '0',
42
42
  description = '0',
43
+ retained_versions = 1,
43
44
  remote = '0'
44
45
  )
45
46
  else :