pulp_python_client 3.0.0b9 → 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 (114) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +49 -42
  3. data/docs/ContentPackagesApi.md +54 -56
  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/{PythonPythonDistributionRead.md → PythonPythonDistributionResponse.md} +2 -2
  21. data/docs/PythonPythonPackageContent.md +61 -0
  22. data/docs/{PythonPythonPackageContentRead.md → PythonPythonPackageContentResponse.md} +3 -3
  23. data/docs/PythonPythonPublication.md +2 -8
  24. data/docs/{PythonPythonPublicationRead.md → PythonPythonPublicationResponse.md} +2 -2
  25. data/docs/PythonPythonRemote.md +6 -12
  26. data/docs/{PythonPythonRemoteRead.md → PythonPythonRemoteResponse.md} +7 -7
  27. data/docs/PythonPythonRepository.md +4 -10
  28. data/docs/{PythonPythonRepositoryRead.md → PythonPythonRepositoryResponse.md} +5 -3
  29. data/docs/RemotesPythonApi.md +181 -65
  30. data/docs/RepositoriesPythonApi.md +97 -73
  31. data/docs/RepositoriesPythonVersionsApi.md +94 -60
  32. data/docs/RepositoryAddRemoveContent.md +2 -2
  33. data/docs/RepositorySyncURL.md +1 -1
  34. data/docs/RepositoryVersion.md +1 -9
  35. data/docs/{RepositoryVersionRead.md → RepositoryVersionResponse.md} +3 -3
  36. data/lib/pulp_python_client.rb +15 -9
  37. data/lib/pulp_python_client/api/content_packages_api.rb +73 -84
  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 +253 -100
  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 -89
  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/{project_specifier.rb → python_bander_remote.rb} +26 -40
  60. data/lib/pulp_python_client/models/python_python_distribution.rb +4 -85
  61. data/lib/pulp_python_client/models/{python_python_distribution_read.rb → python_python_distribution_response.rb} +6 -58
  62. data/lib/pulp_python_client/models/python_python_package_content.rb +433 -0
  63. data/lib/pulp_python_client/models/{python_python_package_content_read.rb → python_python_package_content_response.rb} +6 -89
  64. data/lib/pulp_python_client/models/python_python_publication.rb +7 -37
  65. data/lib/pulp_python_client/models/{python_python_publication_read.rb → python_python_publication_response.rb} +6 -5
  66. data/lib/pulp_python_client/models/python_python_remote.rb +13 -209
  67. data/lib/pulp_python_client/models/{python_python_remote_read.rb → python_python_remote_response.rb} +15 -182
  68. data/lib/pulp_python_client/models/python_python_repository.rb +18 -78
  69. data/lib/pulp_python_client/models/{python_python_repository_read.rb → python_python_repository_response.rb} +21 -44
  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_read.rb → repository_version_response.rb} +8 -6
  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 -25
  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 +61 -21
  80. data/spec/api/repositories_python_api_spec.rb +28 -19
  81. data/spec/api/repositories_python_versions_api_spec.rb +38 -22
  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/{project_specifier_spec.rb → python_bander_remote_spec.rb} +10 -10
  98. data/spec/models/{python_python_distribution_read_spec.rb → python_python_distribution_response_spec.rb} +8 -8
  99. data/spec/models/python_python_distribution_spec.rb +2 -20
  100. data/spec/models/{python_python_package_content_read_spec.rb → python_python_package_content_response_spec.rb} +8 -8
  101. data/spec/models/python_python_package_content_spec.rb +173 -0
  102. data/spec/models/{python_python_publication_read_spec.rb → python_python_publication_response_spec.rb} +8 -8
  103. data/spec/models/python_python_publication_spec.rb +2 -20
  104. data/spec/models/{python_python_remote_read_spec.rb → python_python_remote_response_spec.rb} +8 -12
  105. data/spec/models/python_python_remote_spec.rb +2 -24
  106. data/spec/models/{python_python_repository_read_spec.rb → python_python_repository_response_spec.rb} +14 -8
  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_read_spec.rb → repository_version_response_spec.rb} +8 -8
  111. data/spec/models/repository_version_spec.rb +2 -26
  112. data/spec/spec_helper.rb +2 -2
  113. metadata +70 -46
  114. data/docs/ProjectSpecifier.md +0 -19
@@ -1,10 +1,10 @@
1
1
  =begin
2
2
  #Pulp 3 API
3
3
 
4
- #No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
4
+ #Fetch, Upload, Organize, and Distribute Software Packages
5
5
 
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
9
  OpenAPI Generator version: 4.2.3
10
10
 
@@ -13,7 +13,8 @@ OpenAPI Generator version: 4.2.3
13
13
  require 'date'
14
14
 
15
15
  module PulpPythonClient
16
- class PythonPythonRepositoryRead
16
+ # Serializer for Python Repositories.
17
+ class PythonPythonRepositoryResponse
17
18
  attr_accessor :pulp_href
18
19
 
19
20
  # Timestamp of creation.
@@ -29,6 +30,8 @@ module PulpPythonClient
29
30
  # An optional description.
30
31
  attr_accessor :description
31
32
 
33
+ attr_accessor :remote
34
+
32
35
  # Attribute mapping from ruby-style variable name to JSON key.
33
36
  def self.attribute_map
34
37
  {
@@ -37,7 +40,8 @@ module PulpPythonClient
37
40
  :'versions_href' => :'versions_href',
38
41
  :'latest_version_href' => :'latest_version_href',
39
42
  :'name' => :'name',
40
- :'description' => :'description'
43
+ :'description' => :'description',
44
+ :'remote' => :'remote'
41
45
  }
42
46
  end
43
47
 
@@ -49,14 +53,16 @@ module PulpPythonClient
49
53
  :'versions_href' => :'String',
50
54
  :'latest_version_href' => :'String',
51
55
  :'name' => :'String',
52
- :'description' => :'String'
56
+ :'description' => :'String',
57
+ :'remote' => :'String'
53
58
  }
54
59
  end
55
60
 
56
61
  # List of attributes with nullable: true
57
62
  def self.openapi_nullable
58
63
  Set.new([
59
- :'description'
64
+ :'description',
65
+ :'remote'
60
66
  ])
61
67
  end
62
68
 
@@ -64,13 +70,13 @@ module PulpPythonClient
64
70
  # @param [Hash] attributes Model attributes in the form of hash
65
71
  def initialize(attributes = {})
66
72
  if (!attributes.is_a?(Hash))
67
- fail ArgumentError, "The input argument (attributes) must be a hash in `PulpPythonClient::PythonPythonRepositoryRead` initialize method"
73
+ fail ArgumentError, "The input argument (attributes) must be a hash in `PulpPythonClient::PythonPythonRepositoryResponse` initialize method"
68
74
  end
69
75
 
70
76
  # check to see if the attribute exists and convert string to symbol for hash key
71
77
  attributes = attributes.each_with_object({}) { |(k, v), h|
72
78
  if (!self.class.attribute_map.key?(k.to_sym))
73
- fail ArgumentError, "`#{k}` is not a valid attribute in `PulpPythonClient::PythonPythonRepositoryRead`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect
79
+ fail ArgumentError, "`#{k}` is not a valid attribute in `PulpPythonClient::PythonPythonRepositoryResponse`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect
74
80
  end
75
81
  h[k.to_sym] = v
76
82
  }
@@ -98,6 +104,10 @@ module PulpPythonClient
98
104
  if attributes.key?(:'description')
99
105
  self.description = attributes[:'description']
100
106
  end
107
+
108
+ if attributes.key?(:'remote')
109
+ self.remote = attributes[:'remote']
110
+ end
101
111
  end
102
112
 
103
113
  # Show invalid properties with the reasons. Usually used together with valid?
@@ -108,14 +118,6 @@ module PulpPythonClient
108
118
  invalid_properties.push('invalid value for "name", name cannot be nil.')
109
119
  end
110
120
 
111
- if @name.to_s.length < 1
112
- invalid_properties.push('invalid value for "name", the character length must be great than or equal to 1.')
113
- end
114
-
115
- if !@description.nil? && @description.to_s.length < 1
116
- invalid_properties.push('invalid value for "description", the character length must be great than or equal to 1.')
117
- end
118
-
119
121
  invalid_properties
120
122
  end
121
123
 
@@ -123,35 +125,9 @@ module PulpPythonClient
123
125
  # @return true if the model is valid
124
126
  def valid?
125
127
  return false if @name.nil?
126
- return false if @name.to_s.length < 1
127
- return false if !@description.nil? && @description.to_s.length < 1
128
128
  true
129
129
  end
130
130
 
131
- # Custom attribute writer method with validation
132
- # @param [Object] name Value to be assigned
133
- def name=(name)
134
- if name.nil?
135
- fail ArgumentError, 'name cannot be nil'
136
- end
137
-
138
- if name.to_s.length < 1
139
- fail ArgumentError, 'invalid value for "name", the character length must be great than or equal to 1.'
140
- end
141
-
142
- @name = name
143
- end
144
-
145
- # Custom attribute writer method with validation
146
- # @param [Object] description Value to be assigned
147
- def description=(description)
148
- if !description.nil? && description.to_s.length < 1
149
- fail ArgumentError, 'invalid value for "description", the character length must be great than or equal to 1.'
150
- end
151
-
152
- @description = description
153
- end
154
-
155
131
  # Checks equality by comparing each attribute.
156
132
  # @param [Object] Object to be compared
157
133
  def ==(o)
@@ -162,7 +138,8 @@ module PulpPythonClient
162
138
  versions_href == o.versions_href &&
163
139
  latest_version_href == o.latest_version_href &&
164
140
  name == o.name &&
165
- description == o.description
141
+ description == o.description &&
142
+ remote == o.remote
166
143
  end
167
144
 
168
145
  # @see the `==` method
@@ -174,7 +151,7 @@ module PulpPythonClient
174
151
  # Calculates hash code according to all attributes.
175
152
  # @return [Integer] Hash code
176
153
  def hash
177
- [pulp_href, pulp_created, versions_href, latest_version_href, name, description].hash
154
+ [pulp_href, pulp_created, versions_href, latest_version_href, name, description, remote].hash
178
155
  end
179
156
 
180
157
  # Builds the object from hash
@@ -1,10 +1,10 @@
1
1
  =begin
2
2
  #Pulp 3 API
3
3
 
4
- #No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
4
+ #Fetch, Upload, Organize, and Distribute Software Packages
5
5
 
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
9
  OpenAPI Generator version: 4.2.3
10
10
 
@@ -13,6 +13,7 @@ OpenAPI Generator version: 4.2.3
13
13
  require 'date'
14
14
 
15
15
  module PulpPythonClient
16
+ # Base serializer for use with :class:`pulpcore.app.models.Model` This ensures that all Serializers provide values for the 'pulp_href` field. The class provides a default for the ``ref_name`` attribute in the ModelSerializers's ``Meta`` class. This ensures that the OpenAPI definitions of plugins are namespaced properly.
16
17
  class RepositoryAddRemoveContent
17
18
  # A list of content units to add to a new repository version. This content is added after remove_content_units are removed.
18
19
  attr_accessor :add_content_units
@@ -35,8 +36,8 @@ module PulpPythonClient
35
36
  # Attribute type mapping.
36
37
  def self.openapi_types
37
38
  {
38
- :'add_content_units' => :'Array<String>',
39
- :'remove_content_units' => :'Array<String>',
39
+ :'add_content_units' => :'Array<Object>',
40
+ :'remove_content_units' => :'Array<Object>',
40
41
  :'base_version' => :'String'
41
42
  }
42
43
  end
@@ -1,10 +1,10 @@
1
1
  =begin
2
2
  #Pulp 3 API
3
3
 
4
- #No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
4
+ #Fetch, Upload, Organize, and Distribute Software Packages
5
5
 
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
9
  OpenAPI Generator version: 4.2.3
10
10
 
@@ -14,7 +14,7 @@ require 'date'
14
14
 
15
15
  module PulpPythonClient
16
16
  class RepositorySyncURL
17
- # A URI of the repository to be synchronized.
17
+ # A remote to sync from. This will override a remote set on repository.
18
18
  attr_accessor :remote
19
19
 
20
20
  # If ``True``, synchronization will remove all content that is not present in the remote repository. If ``False``, sync will be additive only.
@@ -72,17 +72,12 @@ module PulpPythonClient
72
72
  # @return Array for valid properties with the reasons
73
73
  def list_invalid_properties
74
74
  invalid_properties = Array.new
75
- if @remote.nil?
76
- invalid_properties.push('invalid value for "remote", remote cannot be nil.')
77
- end
78
-
79
75
  invalid_properties
80
76
  end
81
77
 
82
78
  # Check to see if the all the properties in the model are valid
83
79
  # @return true if the model is valid
84
80
  def valid?
85
- return false if @remote.nil?
86
81
  true
87
82
  end
88
83
 
@@ -1,10 +1,10 @@
1
1
  =begin
2
2
  #Pulp 3 API
3
3
 
4
- #No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
4
+ #Fetch, Upload, Organize, and Distribute Software Packages
5
5
 
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
9
  OpenAPI Generator version: 4.2.3
10
10
 
@@ -13,38 +13,22 @@ OpenAPI Generator version: 4.2.3
13
13
  require 'date'
14
14
 
15
15
  module PulpPythonClient
16
+ # Base serializer for use with :class:`pulpcore.app.models.Model` This ensures that all Serializers provide values for the 'pulp_href` field. The class provides a default for the ``ref_name`` attribute in the ModelSerializers's ``Meta`` class. This ensures that the OpenAPI definitions of plugins are namespaced properly.
16
17
  class RepositoryVersion
17
- attr_accessor :pulp_href
18
-
19
- # Timestamp of creation.
20
- attr_accessor :pulp_created
21
-
22
- attr_accessor :number
23
-
24
18
  # A repository version whose content was used as the initial set of content for this repository version
25
19
  attr_accessor :base_version
26
20
 
27
- attr_accessor :content_summary
28
-
29
21
  # Attribute mapping from ruby-style variable name to JSON key.
30
22
  def self.attribute_map
31
23
  {
32
- :'pulp_href' => :'pulp_href',
33
- :'pulp_created' => :'pulp_created',
34
- :'number' => :'number',
35
- :'base_version' => :'base_version',
36
- :'content_summary' => :'content_summary'
24
+ :'base_version' => :'base_version'
37
25
  }
38
26
  end
39
27
 
40
28
  # Attribute type mapping.
41
29
  def self.openapi_types
42
30
  {
43
- :'pulp_href' => :'String',
44
- :'pulp_created' => :'DateTime',
45
- :'number' => :'Integer',
46
- :'base_version' => :'String',
47
- :'content_summary' => :'ContentSummary'
31
+ :'base_version' => :'String'
48
32
  }
49
33
  end
50
34
 
@@ -69,25 +53,9 @@ module PulpPythonClient
69
53
  h[k.to_sym] = v
70
54
  }
71
55
 
72
- if attributes.key?(:'pulp_href')
73
- self.pulp_href = attributes[:'pulp_href']
74
- end
75
-
76
- if attributes.key?(:'pulp_created')
77
- self.pulp_created = attributes[:'pulp_created']
78
- end
79
-
80
- if attributes.key?(:'number')
81
- self.number = attributes[:'number']
82
- end
83
-
84
56
  if attributes.key?(:'base_version')
85
57
  self.base_version = attributes[:'base_version']
86
58
  end
87
-
88
- if attributes.key?(:'content_summary')
89
- self.content_summary = attributes[:'content_summary']
90
- end
91
59
  end
92
60
 
93
61
  # Show invalid properties with the reasons. Usually used together with valid?
@@ -108,11 +76,7 @@ module PulpPythonClient
108
76
  def ==(o)
109
77
  return true if self.equal?(o)
110
78
  self.class == o.class &&
111
- pulp_href == o.pulp_href &&
112
- pulp_created == o.pulp_created &&
113
- number == o.number &&
114
- base_version == o.base_version &&
115
- content_summary == o.content_summary
79
+ base_version == o.base_version
116
80
  end
117
81
 
118
82
  # @see the `==` method
@@ -124,7 +88,7 @@ module PulpPythonClient
124
88
  # Calculates hash code according to all attributes.
125
89
  # @return [Integer] Hash code
126
90
  def hash
127
- [pulp_href, pulp_created, number, base_version, content_summary].hash
91
+ [base_version].hash
128
92
  end
129
93
 
130
94
  # Builds the object from hash
@@ -1,10 +1,10 @@
1
1
  =begin
2
2
  #Pulp 3 API
3
3
 
4
- #No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
4
+ #Fetch, Upload, Organize, and Distribute Software Packages
5
5
 
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
9
  OpenAPI Generator version: 4.2.3
10
10
 
@@ -13,7 +13,8 @@ OpenAPI Generator version: 4.2.3
13
13
  require 'date'
14
14
 
15
15
  module PulpPythonClient
16
- class RepositoryVersionRead
16
+ # Base serializer for use with :class:`pulpcore.app.models.Model` This ensures that all Serializers provide values for the 'pulp_href` field. The class provides a default for the ``ref_name`` attribute in the ModelSerializers's ``Meta`` class. This ensures that the OpenAPI definitions of plugins are namespaced properly.
17
+ class RepositoryVersionResponse
17
18
  attr_accessor :pulp_href
18
19
 
19
20
  # Timestamp of creation.
@@ -24,6 +25,7 @@ module PulpPythonClient
24
25
  # A repository version whose content was used as the initial set of content for this repository version
25
26
  attr_accessor :base_version
26
27
 
28
+ # Various count summaries of the content in the version and the HREF to view them.
27
29
  attr_accessor :content_summary
28
30
 
29
31
  # Attribute mapping from ruby-style variable name to JSON key.
@@ -44,7 +46,7 @@ module PulpPythonClient
44
46
  :'pulp_created' => :'DateTime',
45
47
  :'number' => :'Integer',
46
48
  :'base_version' => :'String',
47
- :'content_summary' => :'ContentSummary'
49
+ :'content_summary' => :'ContentSummaryResponse'
48
50
  }
49
51
  end
50
52
 
@@ -58,13 +60,13 @@ module PulpPythonClient
58
60
  # @param [Hash] attributes Model attributes in the form of hash
59
61
  def initialize(attributes = {})
60
62
  if (!attributes.is_a?(Hash))
61
- fail ArgumentError, "The input argument (attributes) must be a hash in `PulpPythonClient::RepositoryVersionRead` initialize method"
63
+ fail ArgumentError, "The input argument (attributes) must be a hash in `PulpPythonClient::RepositoryVersionResponse` initialize method"
62
64
  end
63
65
 
64
66
  # check to see if the attribute exists and convert string to symbol for hash key
65
67
  attributes = attributes.each_with_object({}) { |(k, v), h|
66
68
  if (!self.class.attribute_map.key?(k.to_sym))
67
- fail ArgumentError, "`#{k}` is not a valid attribute in `PulpPythonClient::RepositoryVersionRead`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect
69
+ fail ArgumentError, "`#{k}` is not a valid attribute in `PulpPythonClient::RepositoryVersionResponse`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect
68
70
  end
69
71
  h[k.to_sym] = v
70
72
  }
@@ -1,15 +1,15 @@
1
1
  =begin
2
2
  #Pulp 3 API
3
3
 
4
- #No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
4
+ #Fetch, Upload, Organize, and Distribute Software Packages
5
5
 
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
9
  OpenAPI Generator version: 4.2.3
10
10
 
11
11
  =end
12
12
 
13
13
  module PulpPythonClient
14
- VERSION = '3.0.0b9'
14
+ VERSION = '3.0.0b11'
15
15
  end
@@ -3,10 +3,10 @@
3
3
  =begin
4
4
  #Pulp 3 API
5
5
 
6
- #No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
6
+ #Fetch, Upload, Organize, and Distribute Software Packages
7
7
 
8
8
  The version of the OpenAPI document: v3
9
-
9
+ Contact: pulp-list@redhat.com
10
10
  Generated by: https://openapi-generator.tech
11
11
  OpenAPI Generator version: 4.2.3
12
12
 
@@ -20,10 +20,10 @@ Gem::Specification.new do |s|
20
20
  s.version = PulpPythonClient::VERSION
21
21
  s.platform = Gem::Platform::RUBY
22
22
  s.authors = ["OpenAPI-Generator"]
23
- s.email = [""]
23
+ s.email = ["pulp-list@redhat.com"]
24
24
  s.homepage = "https://openapi-generator.tech"
25
25
  s.summary = "Pulp 3 API Ruby Gem"
26
- s.description = "No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)"
26
+ s.description = "Fetch, Upload, Organize, and Distribute Software Packages"
27
27
  s.license = 'GPL-2.0+'
28
28
  s.required_ruby_version = ">= 1.9"
29
29
 
@@ -1,10 +1,10 @@
1
1
  =begin
2
2
  #Pulp 3 API
3
3
 
4
- #No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
4
+ #Fetch, Upload, Organize, and Distribute Software Packages
5
5
 
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
9
  OpenAPI Generator version: 4.2.3
10
10
 
@@ -36,7 +36,6 @@ describe 'ContentPackagesApi' do
36
36
  # Create a python package content
37
37
  # Trigger an asynchronous task to create content,optionally create new repository version.
38
38
  # @param relative_path Path where the artifact is located relative to distributions base_path
39
- # @param filename The name of the distribution package, usually of the format: {distribution}-{version}(-{build tag})?-{python tag}-{abi tag}-{platform tag}.{packagetype}
40
39
  # @param [Hash] opts the optional parameters
41
40
  # @option opts [String] :artifact Artifact file representing the physical content
42
41
  # @option opts [File] :file An uploaded file that may be turned into the artifact of the content unit.
@@ -55,11 +54,11 @@ describe 'ContentPackagesApi' do
55
54
  # @option opts [String] :project_url A browsable URL for the project and a label for it, separated by a comma.
56
55
  # @option opts [String] :platform A comma-separated list of platform specifications, summarizing the operating systems supported by the package.
57
56
  # @option opts [String] :supported_platform Field to specify the OS and CPU for which the binary package was compiled.
58
- # @option opts [String] :requires_dist A JSON list containing names of some other distutils project required by this distribution.
59
- # @option opts [String] :provides_dist A JSON list containing names of a Distutils project which is contained within this distribution.
60
- # @option opts [String] :obsoletes_dist A JSON list containing names of a distutils project&#39;s distribution which this distribution renders obsolete, meaning that the two projects should not be installed at the same time.
61
- # @option opts [String] :requires_external A JSON list containing some dependency in the system that the distribution is to be used.
62
- # @option opts [String] :classifiers A JSON list containing classification values for a Python package.
57
+ # @option opts [Object] :requires_dist A JSON list containing names of some other distutils project required by this distribution.
58
+ # @option opts [Object] :provides_dist A JSON list containing names of a Distutils project which is contained within this distribution.
59
+ # @option opts [Object] :obsoletes_dist A JSON list containing names of a distutils project&#39;s distribution which this distribution renders obsolete, meaning that the two projects should not be installed at the same time.
60
+ # @option opts [Object] :requires_external A JSON list containing some dependency in the system that the distribution is to be used.
61
+ # @option opts [Object] :classifiers A JSON list containing classification values for a Python package.
63
62
  # @return [AsyncOperationResponse]
64
63
  describe 'create test' do
65
64
  it 'should work' do
@@ -71,23 +70,23 @@ describe 'ContentPackagesApi' do
71
70
  # List python package contents
72
71
  # PythonPackageContent represents each individually installable Python package. In the Python ecosystem, this is called a Python Distribution, sometimes (ambiguously) refered to as a package. In Pulp Python, we refer to it as PythonPackageContent. Each PythonPackageContent corresponds to a single filename, for example &#x60;pulpcore-3.0.0rc1-py3-none-any.whl&#x60; or &#x60;pulpcore-3.0.0rc1.tar.gz&#x60;.
73
72
  # @param [Hash] opts the optional parameters
74
- # @option opts [String] :ordering Which field to use when ordering the results.
75
- # @option opts [String] :name Filter results where name matches value
76
- # @option opts [String] :name__in Filter results where name is in a comma-separated list of values
77
- # @option opts [String] :author Filter results where author matches value
78
- # @option opts [String] :author__in Filter results where author is in a comma-separated list of values
79
- # @option opts [String] :packagetype Filter results where packagetype matches value
80
- # @option opts [String] :packagetype__in Filter results where packagetype is in a comma-separated list of values
81
- # @option opts [String] :filename Filter results where filename matches value
82
- # @option opts [String] :filename__in Filter results where filename is in a comma-separated list of values
83
- # @option opts [String] :filename__contains Filter results where filename contains value
84
- # @option opts [String] :keywords__in Filter results where keywords is in a comma-separated list of values
85
- # @option opts [String] :keywords__contains Filter results where keywords contains value
86
- # @option opts [String] :repository_version Repository Version referenced by HREF
87
- # @option opts [String] :repository_version_added Repository Version referenced by HREF
88
- # @option opts [String] :repository_version_removed Repository Version referenced by HREF
73
+ # @option opts [String] :author author
74
+ # @option opts [String] :author__in author__in
75
+ # @option opts [String] :filename filename
76
+ # @option opts [String] :filename__contains filename__contains
77
+ # @option opts [String] :filename__in filename__in
78
+ # @option opts [String] :keywords__contains keywords__contains
79
+ # @option opts [String] :keywords__in keywords__in
89
80
  # @option opts [Integer] :limit Number of results to return per page.
81
+ # @option opts [String] :name name
82
+ # @option opts [String] :name__in name__in
90
83
  # @option opts [Integer] :offset The initial index from which to return the results.
84
+ # @option opts [String] :ordering Which field to use when ordering the results.
85
+ # @option opts [String] :packagetype packagetype
86
+ # @option opts [String] :packagetype__in packagetype__in
87
+ # @option opts [String] :repository_version repository_version
88
+ # @option opts [String] :repository_version_added repository_version_added
89
+ # @option opts [String] :repository_version_removed repository_version_removed
91
90
  # @option opts [String] :fields A list of fields to include in the response.
92
91
  # @option opts [String] :exclude_fields A list of fields to exclude from the response.
93
92
  # @return [InlineResponse200]
@@ -100,11 +99,11 @@ describe 'ContentPackagesApi' do
100
99
  # unit tests for read
101
100
  # Inspect a python package content
102
101
  # PythonPackageContent represents each individually installable Python package. In the Python ecosystem, this is called a Python Distribution, sometimes (ambiguously) refered to as a package. In Pulp Python, we refer to it as PythonPackageContent. Each PythonPackageContent corresponds to a single filename, for example &#x60;pulpcore-3.0.0rc1-py3-none-any.whl&#x60; or &#x60;pulpcore-3.0.0rc1.tar.gz&#x60;.
103
- # @param python_package_content_href URI of Python Package Content. e.g.: /pulp/api/v3/content/python/packages/1/
102
+ # @param python_python_package_content_href
104
103
  # @param [Hash] opts the optional parameters
105
104
  # @option opts [String] :fields A list of fields to include in the response.
106
105
  # @option opts [String] :exclude_fields A list of fields to exclude from the response.
107
- # @return [PythonPythonPackageContentRead]
106
+ # @return [PythonPythonPackageContentResponse]
108
107
  describe 'read test' do
109
108
  it 'should work' do
110
109
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers