pulp_file_client 0.1.0b1 → 0.1.0b2

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 (51) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +6 -6
  3. data/docs/ContentFilesApi.md +12 -6
  4. data/docs/DistributionsFileApi.md +12 -6
  5. data/docs/FileContent.md +4 -4
  6. data/docs/InlineResponse200.md +3 -3
  7. data/docs/InlineResponse2001.md +3 -3
  8. data/docs/InlineResponse2002.md +3 -3
  9. data/docs/InlineResponse2003.md +3 -3
  10. data/docs/PublicationsFileApi.md +12 -6
  11. data/docs/RemotesFileApi.md +12 -6
  12. data/git_push.sh +10 -7
  13. data/lib/pulp_file_client/api/content_files_api.rb +15 -9
  14. data/lib/pulp_file_client/api/distributions_file_api.rb +18 -12
  15. data/lib/pulp_file_client/api/publications_file_api.rb +16 -10
  16. data/lib/pulp_file_client/api/remotes_file_api.rb +19 -13
  17. data/lib/pulp_file_client/api_client.rb +77 -62
  18. data/lib/pulp_file_client/api_error.rb +1 -1
  19. data/lib/pulp_file_client/configuration.rb +13 -21
  20. data/lib/pulp_file_client/models/async_operation_response.rb +1 -1
  21. data/lib/pulp_file_client/models/file_content.rb +19 -19
  22. data/lib/pulp_file_client/models/file_distribution.rb +1 -1
  23. data/lib/pulp_file_client/models/file_publication.rb +1 -1
  24. data/lib/pulp_file_client/models/file_remote.rb +1 -1
  25. data/lib/pulp_file_client/models/inline_response200.rb +11 -11
  26. data/lib/pulp_file_client/models/inline_response2001.rb +11 -11
  27. data/lib/pulp_file_client/models/inline_response2002.rb +11 -11
  28. data/lib/pulp_file_client/models/inline_response2003.rb +11 -11
  29. data/lib/pulp_file_client/models/repository_sync_url.rb +1 -1
  30. data/lib/pulp_file_client/version.rb +2 -2
  31. data/lib/pulp_file_client.rb +1 -1
  32. data/pulp_file_client.gemspec +3 -9
  33. data/spec/api/content_files_api_spec.rb +5 -3
  34. data/spec/api/distributions_file_api_spec.rb +5 -3
  35. data/spec/api/publications_file_api_spec.rb +5 -3
  36. data/spec/api/remotes_file_api_spec.rb +5 -3
  37. data/spec/api_client_spec.rb +1 -39
  38. data/spec/configuration_spec.rb +1 -1
  39. data/spec/models/async_operation_response_spec.rb +1 -1
  40. data/spec/models/file_content_spec.rb +3 -3
  41. data/spec/models/file_distribution_spec.rb +1 -1
  42. data/spec/models/file_publication_spec.rb +1 -1
  43. data/spec/models/file_remote_spec.rb +1 -1
  44. data/spec/models/inline_response2001_spec.rb +4 -4
  45. data/spec/models/inline_response2002_spec.rb +4 -4
  46. data/spec/models/inline_response2003_spec.rb +4 -4
  47. data/spec/models/inline_response200_spec.rb +4 -4
  48. data/spec/models/repository_sync_url_spec.rb +1 -1
  49. data/spec/spec_helper.rb +1 -1
  50. metadata +6 -133
  51. data/Gemfile.lock +0 -79
@@ -6,7 +6,7 @@
6
6
  The version of the OpenAPI document: v3
7
7
 
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 4.0.0
9
+ OpenAPI Generator version: 4.1.3-SNAPSHOT
10
10
 
11
11
  =end
12
12
 
@@ -14,20 +14,20 @@ require 'date'
14
14
 
15
15
  module PulpFileClient
16
16
  class InlineResponse200
17
+ attr_accessor :count
18
+
17
19
  attr_accessor :_next
18
20
 
19
21
  attr_accessor :previous
20
22
 
21
- attr_accessor :count
22
-
23
23
  attr_accessor :results
24
24
 
25
25
  # Attribute mapping from ruby-style variable name to JSON key.
26
26
  def self.attribute_map
27
27
  {
28
+ :'count' => :'count',
28
29
  :'_next' => :'next',
29
30
  :'previous' => :'previous',
30
- :'count' => :'count',
31
31
  :'results' => :'results'
32
32
  }
33
33
  end
@@ -35,9 +35,9 @@ module PulpFileClient
35
35
  # Attribute type mapping.
36
36
  def self.openapi_types
37
37
  {
38
+ :'count' => :'Integer',
38
39
  :'_next' => :'String',
39
40
  :'previous' => :'String',
40
- :'count' => :'Integer',
41
41
  :'results' => :'Array<FileContent>'
42
42
  }
43
43
  end
@@ -57,6 +57,10 @@ module PulpFileClient
57
57
  h[k.to_sym] = v
58
58
  }
59
59
 
60
+ if attributes.key?(:'count')
61
+ self.count = attributes[:'count']
62
+ end
63
+
60
64
  if attributes.key?(:'_next')
61
65
  self._next = attributes[:'_next']
62
66
  end
@@ -65,10 +69,6 @@ module PulpFileClient
65
69
  self.previous = attributes[:'previous']
66
70
  end
67
71
 
68
- if attributes.key?(:'count')
69
- self.count = attributes[:'count']
70
- end
71
-
72
72
  if attributes.key?(:'results')
73
73
  if (value = attributes[:'results']).is_a?(Array)
74
74
  self.results = value
@@ -104,9 +104,9 @@ module PulpFileClient
104
104
  def ==(o)
105
105
  return true if self.equal?(o)
106
106
  self.class == o.class &&
107
+ count == o.count &&
107
108
  _next == o._next &&
108
109
  previous == o.previous &&
109
- count == o.count &&
110
110
  results == o.results
111
111
  end
112
112
 
@@ -119,7 +119,7 @@ module PulpFileClient
119
119
  # Calculates hash code according to all attributes.
120
120
  # @return [Integer] Hash code
121
121
  def hash
122
- [_next, previous, count, results].hash
122
+ [count, _next, previous, results].hash
123
123
  end
124
124
 
125
125
  # Builds the object from hash
@@ -6,7 +6,7 @@
6
6
  The version of the OpenAPI document: v3
7
7
 
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 4.0.0
9
+ OpenAPI Generator version: 4.1.3-SNAPSHOT
10
10
 
11
11
  =end
12
12
 
@@ -14,20 +14,20 @@ require 'date'
14
14
 
15
15
  module PulpFileClient
16
16
  class InlineResponse2001
17
+ attr_accessor :count
18
+
17
19
  attr_accessor :_next
18
20
 
19
21
  attr_accessor :previous
20
22
 
21
- attr_accessor :count
22
-
23
23
  attr_accessor :results
24
24
 
25
25
  # Attribute mapping from ruby-style variable name to JSON key.
26
26
  def self.attribute_map
27
27
  {
28
+ :'count' => :'count',
28
29
  :'_next' => :'next',
29
30
  :'previous' => :'previous',
30
- :'count' => :'count',
31
31
  :'results' => :'results'
32
32
  }
33
33
  end
@@ -35,9 +35,9 @@ module PulpFileClient
35
35
  # Attribute type mapping.
36
36
  def self.openapi_types
37
37
  {
38
+ :'count' => :'Integer',
38
39
  :'_next' => :'String',
39
40
  :'previous' => :'String',
40
- :'count' => :'Integer',
41
41
  :'results' => :'Array<FileDistribution>'
42
42
  }
43
43
  end
@@ -57,6 +57,10 @@ module PulpFileClient
57
57
  h[k.to_sym] = v
58
58
  }
59
59
 
60
+ if attributes.key?(:'count')
61
+ self.count = attributes[:'count']
62
+ end
63
+
60
64
  if attributes.key?(:'_next')
61
65
  self._next = attributes[:'_next']
62
66
  end
@@ -65,10 +69,6 @@ module PulpFileClient
65
69
  self.previous = attributes[:'previous']
66
70
  end
67
71
 
68
- if attributes.key?(:'count')
69
- self.count = attributes[:'count']
70
- end
71
-
72
72
  if attributes.key?(:'results')
73
73
  if (value = attributes[:'results']).is_a?(Array)
74
74
  self.results = value
@@ -104,9 +104,9 @@ module PulpFileClient
104
104
  def ==(o)
105
105
  return true if self.equal?(o)
106
106
  self.class == o.class &&
107
+ count == o.count &&
107
108
  _next == o._next &&
108
109
  previous == o.previous &&
109
- count == o.count &&
110
110
  results == o.results
111
111
  end
112
112
 
@@ -119,7 +119,7 @@ module PulpFileClient
119
119
  # Calculates hash code according to all attributes.
120
120
  # @return [Integer] Hash code
121
121
  def hash
122
- [_next, previous, count, results].hash
122
+ [count, _next, previous, results].hash
123
123
  end
124
124
 
125
125
  # Builds the object from hash
@@ -6,7 +6,7 @@
6
6
  The version of the OpenAPI document: v3
7
7
 
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 4.0.0
9
+ OpenAPI Generator version: 4.1.3-SNAPSHOT
10
10
 
11
11
  =end
12
12
 
@@ -14,20 +14,20 @@ require 'date'
14
14
 
15
15
  module PulpFileClient
16
16
  class InlineResponse2002
17
+ attr_accessor :count
18
+
17
19
  attr_accessor :_next
18
20
 
19
21
  attr_accessor :previous
20
22
 
21
- attr_accessor :count
22
-
23
23
  attr_accessor :results
24
24
 
25
25
  # Attribute mapping from ruby-style variable name to JSON key.
26
26
  def self.attribute_map
27
27
  {
28
+ :'count' => :'count',
28
29
  :'_next' => :'next',
29
30
  :'previous' => :'previous',
30
- :'count' => :'count',
31
31
  :'results' => :'results'
32
32
  }
33
33
  end
@@ -35,9 +35,9 @@ module PulpFileClient
35
35
  # Attribute type mapping.
36
36
  def self.openapi_types
37
37
  {
38
+ :'count' => :'Integer',
38
39
  :'_next' => :'String',
39
40
  :'previous' => :'String',
40
- :'count' => :'Integer',
41
41
  :'results' => :'Array<FilePublication>'
42
42
  }
43
43
  end
@@ -57,6 +57,10 @@ module PulpFileClient
57
57
  h[k.to_sym] = v
58
58
  }
59
59
 
60
+ if attributes.key?(:'count')
61
+ self.count = attributes[:'count']
62
+ end
63
+
60
64
  if attributes.key?(:'_next')
61
65
  self._next = attributes[:'_next']
62
66
  end
@@ -65,10 +69,6 @@ module PulpFileClient
65
69
  self.previous = attributes[:'previous']
66
70
  end
67
71
 
68
- if attributes.key?(:'count')
69
- self.count = attributes[:'count']
70
- end
71
-
72
72
  if attributes.key?(:'results')
73
73
  if (value = attributes[:'results']).is_a?(Array)
74
74
  self.results = value
@@ -104,9 +104,9 @@ module PulpFileClient
104
104
  def ==(o)
105
105
  return true if self.equal?(o)
106
106
  self.class == o.class &&
107
+ count == o.count &&
107
108
  _next == o._next &&
108
109
  previous == o.previous &&
109
- count == o.count &&
110
110
  results == o.results
111
111
  end
112
112
 
@@ -119,7 +119,7 @@ module PulpFileClient
119
119
  # Calculates hash code according to all attributes.
120
120
  # @return [Integer] Hash code
121
121
  def hash
122
- [_next, previous, count, results].hash
122
+ [count, _next, previous, results].hash
123
123
  end
124
124
 
125
125
  # Builds the object from hash
@@ -6,7 +6,7 @@
6
6
  The version of the OpenAPI document: v3
7
7
 
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 4.0.0
9
+ OpenAPI Generator version: 4.1.3-SNAPSHOT
10
10
 
11
11
  =end
12
12
 
@@ -14,20 +14,20 @@ require 'date'
14
14
 
15
15
  module PulpFileClient
16
16
  class InlineResponse2003
17
+ attr_accessor :count
18
+
17
19
  attr_accessor :_next
18
20
 
19
21
  attr_accessor :previous
20
22
 
21
- attr_accessor :count
22
-
23
23
  attr_accessor :results
24
24
 
25
25
  # Attribute mapping from ruby-style variable name to JSON key.
26
26
  def self.attribute_map
27
27
  {
28
+ :'count' => :'count',
28
29
  :'_next' => :'next',
29
30
  :'previous' => :'previous',
30
- :'count' => :'count',
31
31
  :'results' => :'results'
32
32
  }
33
33
  end
@@ -35,9 +35,9 @@ module PulpFileClient
35
35
  # Attribute type mapping.
36
36
  def self.openapi_types
37
37
  {
38
+ :'count' => :'Integer',
38
39
  :'_next' => :'String',
39
40
  :'previous' => :'String',
40
- :'count' => :'Integer',
41
41
  :'results' => :'Array<FileRemote>'
42
42
  }
43
43
  end
@@ -57,6 +57,10 @@ module PulpFileClient
57
57
  h[k.to_sym] = v
58
58
  }
59
59
 
60
+ if attributes.key?(:'count')
61
+ self.count = attributes[:'count']
62
+ end
63
+
60
64
  if attributes.key?(:'_next')
61
65
  self._next = attributes[:'_next']
62
66
  end
@@ -65,10 +69,6 @@ module PulpFileClient
65
69
  self.previous = attributes[:'previous']
66
70
  end
67
71
 
68
- if attributes.key?(:'count')
69
- self.count = attributes[:'count']
70
- end
71
-
72
72
  if attributes.key?(:'results')
73
73
  if (value = attributes[:'results']).is_a?(Array)
74
74
  self.results = value
@@ -104,9 +104,9 @@ module PulpFileClient
104
104
  def ==(o)
105
105
  return true if self.equal?(o)
106
106
  self.class == o.class &&
107
+ count == o.count &&
107
108
  _next == o._next &&
108
109
  previous == o.previous &&
109
- count == o.count &&
110
110
  results == o.results
111
111
  end
112
112
 
@@ -119,7 +119,7 @@ module PulpFileClient
119
119
  # Calculates hash code according to all attributes.
120
120
  # @return [Integer] Hash code
121
121
  def hash
122
- [_next, previous, count, results].hash
122
+ [count, _next, previous, results].hash
123
123
  end
124
124
 
125
125
  # Builds the object from hash
@@ -6,7 +6,7 @@
6
6
  The version of the OpenAPI document: v3
7
7
 
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 4.0.0
9
+ OpenAPI Generator version: 4.1.3-SNAPSHOT
10
10
 
11
11
  =end
12
12
 
@@ -6,10 +6,10 @@
6
6
  The version of the OpenAPI document: v3
7
7
 
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 4.0.0
9
+ OpenAPI Generator version: 4.1.3-SNAPSHOT
10
10
 
11
11
  =end
12
12
 
13
13
  module PulpFileClient
14
- VERSION = '0.1.0b1'
14
+ VERSION = '0.1.0b2'
15
15
  end
@@ -6,7 +6,7 @@
6
6
  The version of the OpenAPI document: v3
7
7
 
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 4.0.0
9
+ OpenAPI Generator version: 4.1.3-SNAPSHOT
10
10
 
11
11
  =end
12
12
 
@@ -8,7 +8,7 @@
8
8
  The version of the OpenAPI document: v3
9
9
 
10
10
  Generated by: https://openapi-generator.tech
11
- OpenAPI Generator version: 4.0.0
11
+ OpenAPI Generator version: 4.1.3-SNAPSHOT
12
12
 
13
13
  =end
14
14
 
@@ -24,19 +24,13 @@ Gem::Specification.new do |s|
24
24
  s.homepage = "https://openapi-generator.tech"
25
25
  s.summary = "Pulp 3 API Ruby Gem"
26
26
  s.description = "No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)"
27
- s.license = 'GPLv2'
27
+ s.license = 'GPL-2.0'
28
28
  s.required_ruby_version = ">= 1.9"
29
29
 
30
- s.add_runtime_dependency 'typhoeus', '~> 1.0', '>= 1.0.1'
30
+ s.add_runtime_dependency 'faraday', '>= 0.14.0'
31
31
  s.add_runtime_dependency 'json', '~> 2.1', '>= 2.1.0'
32
32
 
33
33
  s.add_development_dependency 'rspec', '~> 3.6', '>= 3.6.0'
34
- s.add_development_dependency 'vcr', '~> 3.0', '>= 3.0.1'
35
- s.add_development_dependency 'webmock', '~> 1.24', '>= 1.24.3'
36
- s.add_development_dependency 'autotest', '~> 4.4', '>= 4.4.6'
37
- s.add_development_dependency 'autotest-rails-pure', '~> 4.1', '>= 4.1.2'
38
- s.add_development_dependency 'autotest-growl', '~> 0.2', '>= 0.2.16'
39
- s.add_development_dependency 'autotest-fsevent', '~> 0.2', '>= 0.2.12'
40
34
 
41
35
  s.files = `find *`.split("\n").uniq.sort.select { |f| !f.empty? }
42
36
  s.test_files = `find spec/*`.split("\n")
@@ -6,7 +6,7 @@
6
6
  The version of the OpenAPI document: v3
7
7
 
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 4.0.0
9
+ OpenAPI Generator version: 4.1.3-SNAPSHOT
10
10
 
11
11
  =end
12
12
 
@@ -53,8 +53,9 @@ describe 'ContentFilesApi' do
53
53
  # @option opts [String] :repository_version Repository Version referenced by HREF
54
54
  # @option opts [String] :repository_version_added Repository Version referenced by HREF
55
55
  # @option opts [String] :repository_version_removed Repository Version referenced by HREF
56
- # @option opts [Integer] :page A page number within the paginated result set.
57
- # @option opts [Integer] :page_size Number of results to return per page.
56
+ # @option opts [Integer] :limit Number of results to return per page.
57
+ # @option opts [Integer] :offset The initial index from which to return the results.
58
+ # @option opts [String] :fields A list of fields to include in the response.
58
59
  # @return [InlineResponse200]
59
60
  describe 'list test' do
60
61
  it 'should work' do
@@ -67,6 +68,7 @@ describe 'ContentFilesApi' do
67
68
  # &lt;!-- User-facing documentation, rendered as html--&gt; FileContent represents a single file and its metadata, which can be added and removed from repositories.
68
69
  # @param file_content_href URI of File Content. e.g.: /pulp/api/v3/content/file/files/1/
69
70
  # @param [Hash] opts the optional parameters
71
+ # @option opts [String] :fields A list of fields to include in the response.
70
72
  # @return [FileContent]
71
73
  describe 'read test' do
72
74
  it 'should work' do
@@ -6,7 +6,7 @@
6
6
  The version of the OpenAPI document: v3
7
7
 
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 4.0.0
9
+ OpenAPI Generator version: 4.1.3-SNAPSHOT
10
10
 
11
11
  =end
12
12
 
@@ -66,8 +66,9 @@ describe 'DistributionsFileApi' do
66
66
  # @option opts [String] :base_path__contains Filter results where base_path contains value
67
67
  # @option opts [String] :base_path__icontains Filter results where base_path contains value
68
68
  # @option opts [String] :base_path__in Filter results where base_path is in a comma-separated list of values
69
- # @option opts [Integer] :page A page number within the paginated result set.
70
- # @option opts [Integer] :page_size Number of results to return per page.
69
+ # @option opts [Integer] :limit Number of results to return per page.
70
+ # @option opts [Integer] :offset The initial index from which to return the results.
71
+ # @option opts [String] :fields A list of fields to include in the response.
71
72
  # @return [InlineResponse2001]
72
73
  describe 'list test' do
73
74
  it 'should work' do
@@ -93,6 +94,7 @@ describe 'DistributionsFileApi' do
93
94
  # &lt;!-- User-facing documentation, rendered as html--&gt; FileDistributions host &lt;a href&#x3D;\&quot;#operation/publications_file_file_list\&quot;&gt;File Publications&lt;/a&gt; which makes the metadata and the referenced &lt;a href&#x3D;\&quot;#operation/content_file_files_list\&quot;&gt;File Content&lt;/a&gt; available to HTTP clients. Additionally, a FileDistribution with an associated FilePublication can be the target url of a &lt;a href&#x3D;\&quot;#operation/remotes_file_file_list\&quot;&gt;File Remote&lt;/a&gt; , allowing another instance of Pulp to sync the content.
94
95
  # @param file_distribution_href URI of File Distribution. e.g.: /pulp/api/v3/distributions/file/file/1/
95
96
  # @param [Hash] opts the optional parameters
97
+ # @option opts [String] :fields A list of fields to include in the response.
96
98
  # @return [FileDistribution]
97
99
  describe 'read test' do
98
100
  it 'should work' do
@@ -6,7 +6,7 @@
6
6
  The version of the OpenAPI document: v3
7
7
 
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 4.0.0
9
+ OpenAPI Generator version: 4.1.3-SNAPSHOT
10
10
 
11
11
  =end
12
12
 
@@ -61,8 +61,9 @@ describe 'PublicationsFileApi' do
61
61
  # &lt;!-- User-facing documentation, rendered as html--&gt; A FilePublication contains metadata about all the &lt;a href&#x3D;\&quot;#operation/content_file_files_list\&quot;&gt;File Content&lt;/a&gt; in a particular &lt;a href&#x3D;\&quot;https://docs.pulpproject.org/en/3.0/nightly/restapi.html#operation/repositories_versions_list\&quot;&gt;Repository Version.&lt;/a&gt; Once a FilePublication has been created, it can be hosted using the &lt;a href&#x3D;\&quot;#operation/distributions_file_file_list\&quot;&gt;File Distribution API.&lt;/a&gt;
62
62
  # @param [Hash] opts the optional parameters
63
63
  # @option opts [String] :ordering Which field to use when ordering the results.
64
- # @option opts [Integer] :page A page number within the paginated result set.
65
- # @option opts [Integer] :page_size Number of results to return per page.
64
+ # @option opts [Integer] :limit Number of results to return per page.
65
+ # @option opts [Integer] :offset The initial index from which to return the results.
66
+ # @option opts [String] :fields A list of fields to include in the response.
66
67
  # @return [InlineResponse2002]
67
68
  describe 'list test' do
68
69
  it 'should work' do
@@ -75,6 +76,7 @@ describe 'PublicationsFileApi' do
75
76
  # &lt;!-- User-facing documentation, rendered as html--&gt; A FilePublication contains metadata about all the &lt;a href&#x3D;\&quot;#operation/content_file_files_list\&quot;&gt;File Content&lt;/a&gt; in a particular &lt;a href&#x3D;\&quot;https://docs.pulpproject.org/en/3.0/nightly/restapi.html#operation/repositories_versions_list\&quot;&gt;Repository Version.&lt;/a&gt; Once a FilePublication has been created, it can be hosted using the &lt;a href&#x3D;\&quot;#operation/distributions_file_file_list\&quot;&gt;File Distribution API.&lt;/a&gt;
76
77
  # @param file_publication_href URI of File Publication. e.g.: /pulp/api/v3/publications/file/file/1/
77
78
  # @param [Hash] opts the optional parameters
79
+ # @option opts [String] :fields A list of fields to include in the response.
78
80
  # @return [FilePublication]
79
81
  describe 'read test' do
80
82
  it 'should work' do
@@ -6,7 +6,7 @@
6
6
  The version of the OpenAPI document: v3
7
7
 
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 4.0.0
9
+ OpenAPI Generator version: 4.1.3-SNAPSHOT
10
10
 
11
11
  =end
12
12
 
@@ -68,8 +68,9 @@ describe 'RemotesFileApi' do
68
68
  # @option opts [String] :_last_updated__gte Filter results where _last_updated is greater than or equal to value
69
69
  # @option opts [String] :_last_updated__range Filter results where _last_updated is between two comma separated values
70
70
  # @option opts [String] :_last_updated ISO 8601 formatted dates are supported
71
- # @option opts [Integer] :page A page number within the paginated result set.
72
- # @option opts [Integer] :page_size Number of results to return per page.
71
+ # @option opts [Integer] :limit Number of results to return per page.
72
+ # @option opts [Integer] :offset The initial index from which to return the results.
73
+ # @option opts [String] :fields A list of fields to include in the response.
73
74
  # @return [InlineResponse2003]
74
75
  describe 'list test' do
75
76
  it 'should work' do
@@ -95,6 +96,7 @@ describe 'RemotesFileApi' do
95
96
  # &lt;!-- User-facing documentation, rendered as html--&gt; FileRemote represents an external source of &lt;a href&#x3D;\&quot;#operation/content_file_files_list\&quot;&gt;File Content&lt;/a&gt;. The target url of a FileRemote must contain a file manifest, which contains the metadata for all files at the source.
96
97
  # @param file_remote_href URI of File Remote. e.g.: /pulp/api/v3/remotes/file/file/1/
97
98
  # @param [Hash] opts the optional parameters
99
+ # @option opts [String] :fields A list of fields to include in the response.
98
100
  # @return [FileRemote]
99
101
  describe 'read test' do
100
102
  it 'should work' do
@@ -6,7 +6,7 @@
6
6
  The version of the OpenAPI document: v3
7
7
 
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 4.0.0
9
+ OpenAPI Generator version: 4.1.3-SNAPSHOT
10
10
 
11
11
  =end
12
12
 
@@ -51,44 +51,6 @@ describe PulpFileClient::ApiClient do
51
51
  end
52
52
  end
53
53
 
54
- describe 'params_encoding in #build_request' do
55
- let(:config) { PulpFileClient::Configuration.new }
56
- let(:api_client) { PulpFileClient::ApiClient.new(config) }
57
-
58
- it 'defaults to nil' do
59
- expect(PulpFileClient::Configuration.default.params_encoding).to eq(nil)
60
- expect(config.params_encoding).to eq(nil)
61
-
62
- request = api_client.build_request(:get, '/test')
63
- expect(request.options[:params_encoding]).to eq(nil)
64
- end
65
-
66
- it 'can be customized' do
67
- config.params_encoding = :multi
68
- request = api_client.build_request(:get, '/test')
69
- expect(request.options[:params_encoding]).to eq(:multi)
70
- end
71
- end
72
-
73
- describe 'timeout in #build_request' do
74
- let(:config) { PulpFileClient::Configuration.new }
75
- let(:api_client) { PulpFileClient::ApiClient.new(config) }
76
-
77
- it 'defaults to 0' do
78
- expect(PulpFileClient::Configuration.default.timeout).to eq(0)
79
- expect(config.timeout).to eq(0)
80
-
81
- request = api_client.build_request(:get, '/test')
82
- expect(request.options[:timeout]).to eq(0)
83
- end
84
-
85
- it 'can be customized' do
86
- config.timeout = 100
87
- request = api_client.build_request(:get, '/test')
88
- expect(request.options[:timeout]).to eq(100)
89
- end
90
- end
91
-
92
54
  describe '#deserialize' do
93
55
  it "handles Array<Integer>" do
94
56
  api_client = PulpFileClient::ApiClient.new
@@ -6,7 +6,7 @@
6
6
  The version of the OpenAPI document: v3
7
7
 
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 4.0.0
9
+ OpenAPI Generator version: 4.1.3-SNAPSHOT
10
10
 
11
11
  =end
12
12
 
@@ -6,7 +6,7 @@
6
6
  The version of the OpenAPI document: v3
7
7
 
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 4.0.0
9
+ OpenAPI Generator version: 4.1.3-SNAPSHOT
10
10
 
11
11
  =end
12
12
 
@@ -6,7 +6,7 @@
6
6
  The version of the OpenAPI document: v3
7
7
 
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 4.0.0
9
+ OpenAPI Generator version: 4.1.3-SNAPSHOT
10
10
 
11
11
  =end
12
12
 
@@ -38,7 +38,7 @@ describe 'FileContent' do
38
38
  end
39
39
  end
40
40
 
41
- describe 'test attribute "_href"' do
41
+ describe 'test attribute "_type"' do
42
42
  it 'should work' do
43
43
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
44
44
  end
@@ -50,7 +50,7 @@ describe 'FileContent' do
50
50
  end
51
51
  end
52
52
 
53
- describe 'test attribute "_type"' do
53
+ describe 'test attribute "_href"' do
54
54
  it 'should work' do
55
55
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
56
56
  end
@@ -6,7 +6,7 @@
6
6
  The version of the OpenAPI document: v3
7
7
 
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 4.0.0
9
+ OpenAPI Generator version: 4.1.3-SNAPSHOT
10
10
 
11
11
  =end
12
12
 
@@ -6,7 +6,7 @@
6
6
  The version of the OpenAPI document: v3
7
7
 
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 4.0.0
9
+ OpenAPI Generator version: 4.1.3-SNAPSHOT
10
10
 
11
11
  =end
12
12
 
@@ -6,7 +6,7 @@
6
6
  The version of the OpenAPI document: v3
7
7
 
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 4.0.0
9
+ OpenAPI Generator version: 4.1.3-SNAPSHOT
10
10
 
11
11
  =end
12
12