pulp_file_client 1.11.1 → 1.11.3

Sign up to get free protection for your applications and to get access to all the features.
Files changed (50) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +5 -4
  3. data/docs/AcsFileApi.md +18 -18
  4. data/docs/ContentFilesApi.md +8 -8
  5. data/docs/DistributionsFileApi.md +22 -20
  6. data/docs/FileFileDistribution.md +1 -1
  7. data/docs/FileFileDistributionResponse.md +1 -1
  8. data/docs/FileFileRemote.md +1 -1
  9. data/docs/FileFileRemoteResponse.md +4 -2
  10. data/docs/FileFileRemoteResponseHiddenFields.md +19 -0
  11. data/docs/FileFileRepository.md +1 -1
  12. data/docs/FileFileRepositoryResponse.md +1 -1
  13. data/docs/PatchedfileFileDistribution.md +1 -1
  14. data/docs/PatchedfileFileRemote.md +1 -1
  15. data/docs/PatchedfileFileRepository.md +1 -1
  16. data/docs/PublicationsFileApi.md +18 -18
  17. data/docs/RemotesFileApi.md +20 -20
  18. data/docs/RepositoriesFileApi.md +20 -18
  19. data/docs/RepositoriesFileVersionsApi.md +12 -12
  20. data/lib/pulp_file_client/api/acs_file_api.rb +27 -27
  21. data/lib/pulp_file_client/api/content_files_api.rb +13 -13
  22. data/lib/pulp_file_client/api/distributions_file_api.rb +32 -29
  23. data/lib/pulp_file_client/api/publications_file_api.rb +27 -27
  24. data/lib/pulp_file_client/api/remotes_file_api.rb +29 -29
  25. data/lib/pulp_file_client/api/repositories_file_api.rb +30 -27
  26. data/lib/pulp_file_client/api/repositories_file_versions_api.rb +17 -17
  27. data/lib/pulp_file_client/api_client.rb +1 -1
  28. data/lib/pulp_file_client/models/file_file_distribution.rb +4 -2
  29. data/lib/pulp_file_client/models/file_file_distribution_response.rb +4 -2
  30. data/lib/pulp_file_client/models/file_file_remote.rb +4 -2
  31. data/lib/pulp_file_client/models/file_file_remote_response.rb +21 -7
  32. data/lib/pulp_file_client/models/file_file_remote_response_hidden_fields.rb +215 -0
  33. data/lib/pulp_file_client/models/file_file_repository.rb +4 -2
  34. data/lib/pulp_file_client/models/file_file_repository_response.rb +4 -2
  35. data/lib/pulp_file_client/models/patchedfile_file_distribution.rb +4 -2
  36. data/lib/pulp_file_client/models/patchedfile_file_remote.rb +4 -2
  37. data/lib/pulp_file_client/models/patchedfile_file_repository.rb +4 -2
  38. data/lib/pulp_file_client/version.rb +1 -1
  39. data/lib/pulp_file_client.rb +1 -0
  40. data/pulp_file_client.gemspec +1 -1
  41. data/spec/api/acs_file_api_spec.rb +9 -9
  42. data/spec/api/content_files_api_spec.rb +4 -4
  43. data/spec/api/distributions_file_api_spec.rb +11 -10
  44. data/spec/api/publications_file_api_spec.rb +9 -9
  45. data/spec/api/remotes_file_api_spec.rb +10 -10
  46. data/spec/api/repositories_file_api_spec.rb +10 -9
  47. data/spec/api/repositories_file_versions_api_spec.rb +6 -6
  48. data/spec/models/file_file_remote_response_hidden_fields_spec.rb +47 -0
  49. data/spec/models/file_file_remote_response_spec.rb +6 -0
  50. metadata +39 -35
@@ -51,7 +51,7 @@ module PulpFileClient
51
51
  # Attribute type mapping.
52
52
  def self.openapi_types
53
53
  {
54
- :'pulp_labels' => :'Object',
54
+ :'pulp_labels' => :'Hash<String, String>',
55
55
  :'name' => :'String',
56
56
  :'description' => :'String',
57
57
  :'retain_repo_versions' => :'Integer',
@@ -86,7 +86,9 @@ module PulpFileClient
86
86
  }
87
87
 
88
88
  if attributes.key?(:'pulp_labels')
89
- self.pulp_labels = attributes[:'pulp_labels']
89
+ if (value = attributes[:'pulp_labels']).is_a?(Hash)
90
+ self.pulp_labels = value
91
+ end
90
92
  end
91
93
 
92
94
  if attributes.key?(:'name')
@@ -67,7 +67,7 @@ module PulpFileClient
67
67
  :'pulp_href' => :'String',
68
68
  :'pulp_created' => :'DateTime',
69
69
  :'versions_href' => :'String',
70
- :'pulp_labels' => :'Object',
70
+ :'pulp_labels' => :'Hash<String, String>',
71
71
  :'latest_version_href' => :'String',
72
72
  :'name' => :'String',
73
73
  :'description' => :'String',
@@ -115,7 +115,9 @@ module PulpFileClient
115
115
  end
116
116
 
117
117
  if attributes.key?(:'pulp_labels')
118
- self.pulp_labels = attributes[:'pulp_labels']
118
+ if (value = attributes[:'pulp_labels']).is_a?(Hash)
119
+ self.pulp_labels = value
120
+ end
119
121
  end
120
122
 
121
123
  if attributes.key?(:'latest_version_href')
@@ -49,7 +49,7 @@ module PulpFileClient
49
49
  {
50
50
  :'base_path' => :'String',
51
51
  :'content_guard' => :'String',
52
- :'pulp_labels' => :'Object',
52
+ :'pulp_labels' => :'Hash<String, String>',
53
53
  :'name' => :'String',
54
54
  :'repository' => :'String',
55
55
  :'publication' => :'String'
@@ -89,7 +89,9 @@ module PulpFileClient
89
89
  end
90
90
 
91
91
  if attributes.key?(:'pulp_labels')
92
- self.pulp_labels = attributes[:'pulp_labels']
92
+ if (value = attributes[:'pulp_labels']).is_a?(Hash)
93
+ self.pulp_labels = value
94
+ end
93
95
  end
94
96
 
95
97
  if attributes.key?(:'name')
@@ -118,7 +118,7 @@ module PulpFileClient
118
118
  :'proxy_password' => :'String',
119
119
  :'username' => :'String',
120
120
  :'password' => :'String',
121
- :'pulp_labels' => :'Object',
121
+ :'pulp_labels' => :'Hash<String, String>',
122
122
  :'download_concurrency' => :'Integer',
123
123
  :'max_retries' => :'Integer',
124
124
  :'policy' => :'PolicyEnum',
@@ -212,7 +212,9 @@ module PulpFileClient
212
212
  end
213
213
 
214
214
  if attributes.key?(:'pulp_labels')
215
- self.pulp_labels = attributes[:'pulp_labels']
215
+ if (value = attributes[:'pulp_labels']).is_a?(Hash)
216
+ self.pulp_labels = value
217
+ end
216
218
  end
217
219
 
218
220
  if attributes.key?(:'download_concurrency')
@@ -51,7 +51,7 @@ module PulpFileClient
51
51
  # Attribute type mapping.
52
52
  def self.openapi_types
53
53
  {
54
- :'pulp_labels' => :'Object',
54
+ :'pulp_labels' => :'Hash<String, String>',
55
55
  :'name' => :'String',
56
56
  :'description' => :'String',
57
57
  :'retain_repo_versions' => :'Integer',
@@ -86,7 +86,9 @@ module PulpFileClient
86
86
  }
87
87
 
88
88
  if attributes.key?(:'pulp_labels')
89
- self.pulp_labels = attributes[:'pulp_labels']
89
+ if (value = attributes[:'pulp_labels']).is_a?(Hash)
90
+ self.pulp_labels = value
91
+ end
90
92
  end
91
93
 
92
94
  if attributes.key?(:'name')
@@ -11,5 +11,5 @@ OpenAPI Generator version: 4.3.1
11
11
  =end
12
12
 
13
13
  module PulpFileClient
14
- VERSION = '1.11.1'
14
+ VERSION = '1.11.3'
15
15
  end
@@ -29,6 +29,7 @@ require 'pulp_file_client/models/file_file_publication'
29
29
  require 'pulp_file_client/models/file_file_publication_response'
30
30
  require 'pulp_file_client/models/file_file_remote'
31
31
  require 'pulp_file_client/models/file_file_remote_response'
32
+ require 'pulp_file_client/models/file_file_remote_response_hidden_fields'
32
33
  require 'pulp_file_client/models/file_file_repository'
33
34
  require 'pulp_file_client/models/file_file_repository_response'
34
35
  require 'pulp_file_client/models/my_permissions_response'
@@ -27,7 +27,7 @@ Gem::Specification.new do |s|
27
27
  s.license = 'GPLv2+'
28
28
  s.required_ruby_version = ">= 1.9"
29
29
 
30
- s.add_runtime_dependency 'faraday', '>= 0.17', '< 1.9.0'
30
+ s.add_runtime_dependency 'faraday', '>= 1.0.1', '< 2.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'
@@ -73,15 +73,15 @@ describe 'AcsFileApi' do
73
73
  # Alternate Content Source ViewSet for File ACS support is provided as a tech preview in pulp_file.
74
74
  # @param [Hash] opts the optional parameters
75
75
  # @option opts [Integer] :limit Number of results to return per page.
76
- # @option opts [String] :name
76
+ # @option opts [String] :name Filter results where name matches value
77
77
  # @option opts [String] :name__contains Filter results where name contains value
78
78
  # @option opts [String] :name__icontains Filter results where name contains value
79
79
  # @option opts [Array<String>] :name__in Filter results where name is in a comma-separated list of values
80
80
  # @option opts [String] :name__startswith Filter results where name starts with value
81
81
  # @option opts [Integer] :offset The initial index from which to return the results.
82
82
  # @option opts [Array<String>] :ordering Ordering
83
- # @option opts [String] :fields A list of fields to include in the response.
84
- # @option opts [String] :exclude_fields A list of fields to exclude from the response.
83
+ # @option opts [Array<String>] :fields A list of fields to include in the response.
84
+ # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
85
85
  # @return [PaginatedfileFileAlternateContentSourceResponseList]
86
86
  describe 'list test' do
87
87
  it 'should work' do
@@ -93,8 +93,8 @@ describe 'AcsFileApi' do
93
93
  # List roles assigned to this object.
94
94
  # @param file_file_alternate_content_source_href
95
95
  # @param [Hash] opts the optional parameters
96
- # @option opts [String] :fields A list of fields to include in the response.
97
- # @option opts [String] :exclude_fields A list of fields to exclude from the response.
96
+ # @option opts [Array<String>] :fields A list of fields to include in the response.
97
+ # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
98
98
  # @return [ObjectRolesResponse]
99
99
  describe 'list_roles test' do
100
100
  it 'should work' do
@@ -106,8 +106,8 @@ describe 'AcsFileApi' do
106
106
  # List permissions available to the current user on this object.
107
107
  # @param file_file_alternate_content_source_href
108
108
  # @param [Hash] opts the optional parameters
109
- # @option opts [String] :fields A list of fields to include in the response.
110
- # @option opts [String] :exclude_fields A list of fields to exclude from the response.
109
+ # @option opts [Array<String>] :fields A list of fields to include in the response.
110
+ # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
111
111
  # @return [MyPermissionsResponse]
112
112
  describe 'my_permissions test' do
113
113
  it 'should work' do
@@ -133,8 +133,8 @@ describe 'AcsFileApi' do
133
133
  # Alternate Content Source ViewSet for File ACS support is provided as a tech preview in pulp_file.
134
134
  # @param file_file_alternate_content_source_href
135
135
  # @param [Hash] opts the optional parameters
136
- # @option opts [String] :fields A list of fields to include in the response.
137
- # @option opts [String] :exclude_fields A list of fields to exclude from the response.
136
+ # @option opts [Array<String>] :fields A list of fields to include in the response.
137
+ # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
138
138
  # @return [FileFileAlternateContentSourceResponse]
139
139
  describe 'read test' do
140
140
  it 'should work' do
@@ -60,8 +60,8 @@ describe 'ContentFilesApi' do
60
60
  # @option opts [String] :repository_version_added Repository Version referenced by HREF
61
61
  # @option opts [String] :repository_version_removed Repository Version referenced by HREF
62
62
  # @option opts [String] :sha256
63
- # @option opts [String] :fields A list of fields to include in the response.
64
- # @option opts [String] :exclude_fields A list of fields to exclude from the response.
63
+ # @option opts [Array<String>] :fields A list of fields to include in the response.
64
+ # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
65
65
  # @return [PaginatedfileFileContentResponseList]
66
66
  describe 'list test' do
67
67
  it 'should work' do
@@ -74,8 +74,8 @@ describe 'ContentFilesApi' do
74
74
  # FileContent represents a single file and its metadata, which can be added and removed from repositories.
75
75
  # @param file_file_content_href
76
76
  # @param [Hash] opts the optional parameters
77
- # @option opts [String] :fields A list of fields to include in the response.
78
- # @option opts [String] :exclude_fields A list of fields to exclude from the response.
77
+ # @option opts [Array<String>] :fields A list of fields to include in the response.
78
+ # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
79
79
  # @return [FileFileContentResponse]
80
80
  describe 'read test' do
81
81
  it 'should work' do
@@ -72,12 +72,12 @@ describe 'DistributionsFileApi' do
72
72
  # List file distributions
73
73
  # FileDistributions host File Publications which makes the metadata and the referenced File Content available to HTTP clients. Additionally, a FileDistribution with an associated FilePublication can be the target url of a File Remote , allowing another instance of Pulp to sync the content.
74
74
  # @param [Hash] opts the optional parameters
75
- # @option opts [String] :base_path
75
+ # @option opts [String] :base_path Filter results where base_path matches value
76
76
  # @option opts [String] :base_path__contains Filter results where base_path contains value
77
77
  # @option opts [String] :base_path__icontains Filter results where base_path contains value
78
78
  # @option opts [Array<String>] :base_path__in Filter results where base_path is in a comma-separated list of values
79
79
  # @option opts [Integer] :limit Number of results to return per page.
80
- # @option opts [String] :name
80
+ # @option opts [String] :name Filter results where name matches value
81
81
  # @option opts [String] :name__contains Filter results where name contains value
82
82
  # @option opts [String] :name__icontains Filter results where name contains value
83
83
  # @option opts [Array<String>] :name__in Filter results where name is in a comma-separated list of values
@@ -85,8 +85,9 @@ describe 'DistributionsFileApi' do
85
85
  # @option opts [Integer] :offset The initial index from which to return the results.
86
86
  # @option opts [Array<String>] :ordering Ordering
87
87
  # @option opts [String] :pulp_label_select Filter labels by search string
88
- # @option opts [String] :fields A list of fields to include in the response.
89
- # @option opts [String] :exclude_fields A list of fields to exclude from the response.
88
+ # @option opts [String] :with_content Filter distributions based on the content served by them
89
+ # @option opts [Array<String>] :fields A list of fields to include in the response.
90
+ # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
90
91
  # @return [PaginatedfileFileDistributionResponseList]
91
92
  describe 'list test' do
92
93
  it 'should work' do
@@ -98,8 +99,8 @@ describe 'DistributionsFileApi' do
98
99
  # List roles assigned to this object.
99
100
  # @param file_file_distribution_href
100
101
  # @param [Hash] opts the optional parameters
101
- # @option opts [String] :fields A list of fields to include in the response.
102
- # @option opts [String] :exclude_fields A list of fields to exclude from the response.
102
+ # @option opts [Array<String>] :fields A list of fields to include in the response.
103
+ # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
103
104
  # @return [ObjectRolesResponse]
104
105
  describe 'list_roles test' do
105
106
  it 'should work' do
@@ -111,8 +112,8 @@ describe 'DistributionsFileApi' do
111
112
  # List permissions available to the current user on this object.
112
113
  # @param file_file_distribution_href
113
114
  # @param [Hash] opts the optional parameters
114
- # @option opts [String] :fields A list of fields to include in the response.
115
- # @option opts [String] :exclude_fields A list of fields to exclude from the response.
115
+ # @option opts [Array<String>] :fields A list of fields to include in the response.
116
+ # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
116
117
  # @return [MyPermissionsResponse]
117
118
  describe 'my_permissions test' do
118
119
  it 'should work' do
@@ -138,8 +139,8 @@ describe 'DistributionsFileApi' do
138
139
  # FileDistributions host File Publications which makes the metadata and the referenced File Content available to HTTP clients. Additionally, a FileDistribution with an associated FilePublication can be the target url of a File Remote , allowing another instance of Pulp to sync the content.
139
140
  # @param file_file_distribution_href
140
141
  # @param [Hash] opts the optional parameters
141
- # @option opts [String] :fields A list of fields to include in the response.
142
- # @option opts [String] :exclude_fields A list of fields to exclude from the response.
142
+ # @option opts [Array<String>] :fields A list of fields to include in the response.
143
+ # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
143
144
  # @return [FileFileDistributionResponse]
144
145
  describe 'read test' do
145
146
  it 'should work' do
@@ -77,7 +77,7 @@ describe 'PublicationsFileApi' do
77
77
  # @option opts [Integer] :limit Number of results to return per page.
78
78
  # @option opts [Integer] :offset The initial index from which to return the results.
79
79
  # @option opts [Array<String>] :ordering Ordering
80
- # @option opts [DateTime] :pulp_created ISO 8601 formatted dates are supported
80
+ # @option opts [DateTime] :pulp_created Filter results where pulp_created matches value
81
81
  # @option opts [DateTime] :pulp_created__gt Filter results where pulp_created is greater than value
82
82
  # @option opts [DateTime] :pulp_created__gte Filter results where pulp_created is greater than or equal to value
83
83
  # @option opts [DateTime] :pulp_created__lt Filter results where pulp_created is less than value
@@ -85,8 +85,8 @@ describe 'PublicationsFileApi' do
85
85
  # @option opts [Array<DateTime>] :pulp_created__range Filter results where pulp_created is between two comma separated values
86
86
  # @option opts [String] :repository Repository referenced by HREF
87
87
  # @option opts [String] :repository_version Repository Version referenced by HREF
88
- # @option opts [String] :fields A list of fields to include in the response.
89
- # @option opts [String] :exclude_fields A list of fields to exclude from the response.
88
+ # @option opts [Array<String>] :fields A list of fields to include in the response.
89
+ # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
90
90
  # @return [PaginatedfileFilePublicationResponseList]
91
91
  describe 'list test' do
92
92
  it 'should work' do
@@ -98,8 +98,8 @@ describe 'PublicationsFileApi' do
98
98
  # List roles assigned to this object.
99
99
  # @param file_file_publication_href
100
100
  # @param [Hash] opts the optional parameters
101
- # @option opts [String] :fields A list of fields to include in the response.
102
- # @option opts [String] :exclude_fields A list of fields to exclude from the response.
101
+ # @option opts [Array<String>] :fields A list of fields to include in the response.
102
+ # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
103
103
  # @return [ObjectRolesResponse]
104
104
  describe 'list_roles test' do
105
105
  it 'should work' do
@@ -111,8 +111,8 @@ describe 'PublicationsFileApi' do
111
111
  # List permissions available to the current user on this object.
112
112
  # @param file_file_publication_href
113
113
  # @param [Hash] opts the optional parameters
114
- # @option opts [String] :fields A list of fields to include in the response.
115
- # @option opts [String] :exclude_fields A list of fields to exclude from the response.
114
+ # @option opts [Array<String>] :fields A list of fields to include in the response.
115
+ # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
116
116
  # @return [MyPermissionsResponse]
117
117
  describe 'my_permissions test' do
118
118
  it 'should work' do
@@ -125,8 +125,8 @@ describe 'PublicationsFileApi' do
125
125
  # A FilePublication contains metadata about all the File Content in a particular File Repository Version. Once a FilePublication has been created, it can be hosted using the File Distribution API.
126
126
  # @param file_file_publication_href
127
127
  # @param [Hash] opts the optional parameters
128
- # @option opts [String] :fields A list of fields to include in the response.
129
- # @option opts [String] :exclude_fields A list of fields to exclude from the response.
128
+ # @option opts [Array<String>] :fields A list of fields to include in the response.
129
+ # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
130
130
  # @return [FileFilePublicationResponse]
131
131
  describe 'read test' do
132
132
  it 'should work' do
@@ -73,7 +73,7 @@ describe 'RemotesFileApi' do
73
73
  # FileRemote represents an external source of File Content. The target url of a FileRemote must contain a file manifest, which contains the metadata for all files at the source.
74
74
  # @param [Hash] opts the optional parameters
75
75
  # @option opts [Integer] :limit Number of results to return per page.
76
- # @option opts [String] :name
76
+ # @option opts [String] :name Filter results where name matches value
77
77
  # @option opts [String] :name__contains Filter results where name contains value
78
78
  # @option opts [String] :name__icontains Filter results where name contains value
79
79
  # @option opts [Array<String>] :name__in Filter results where name is in a comma-separated list of values
@@ -81,14 +81,14 @@ describe 'RemotesFileApi' do
81
81
  # @option opts [Integer] :offset The initial index from which to return the results.
82
82
  # @option opts [Array<String>] :ordering Ordering
83
83
  # @option opts [String] :pulp_label_select Filter labels by search string
84
- # @option opts [DateTime] :pulp_last_updated ISO 8601 formatted dates are supported
84
+ # @option opts [DateTime] :pulp_last_updated Filter results where pulp_last_updated matches value
85
85
  # @option opts [DateTime] :pulp_last_updated__gt Filter results where pulp_last_updated is greater than value
86
86
  # @option opts [DateTime] :pulp_last_updated__gte Filter results where pulp_last_updated is greater than or equal to value
87
87
  # @option opts [DateTime] :pulp_last_updated__lt Filter results where pulp_last_updated is less than value
88
88
  # @option opts [DateTime] :pulp_last_updated__lte Filter results where pulp_last_updated is less than or equal to value
89
89
  # @option opts [Array<DateTime>] :pulp_last_updated__range Filter results where pulp_last_updated is between two comma separated values
90
- # @option opts [String] :fields A list of fields to include in the response.
91
- # @option opts [String] :exclude_fields A list of fields to exclude from the response.
90
+ # @option opts [Array<String>] :fields A list of fields to include in the response.
91
+ # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
92
92
  # @return [PaginatedfileFileRemoteResponseList]
93
93
  describe 'list test' do
94
94
  it 'should work' do
@@ -100,8 +100,8 @@ describe 'RemotesFileApi' do
100
100
  # List roles assigned to this object.
101
101
  # @param file_file_remote_href
102
102
  # @param [Hash] opts the optional parameters
103
- # @option opts [String] :fields A list of fields to include in the response.
104
- # @option opts [String] :exclude_fields A list of fields to exclude from the response.
103
+ # @option opts [Array<String>] :fields A list of fields to include in the response.
104
+ # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
105
105
  # @return [ObjectRolesResponse]
106
106
  describe 'list_roles test' do
107
107
  it 'should work' do
@@ -113,8 +113,8 @@ describe 'RemotesFileApi' do
113
113
  # List permissions available to the current user on this object.
114
114
  # @param file_file_remote_href
115
115
  # @param [Hash] opts the optional parameters
116
- # @option opts [String] :fields A list of fields to include in the response.
117
- # @option opts [String] :exclude_fields A list of fields to exclude from the response.
116
+ # @option opts [Array<String>] :fields A list of fields to include in the response.
117
+ # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
118
118
  # @return [MyPermissionsResponse]
119
119
  describe 'my_permissions test' do
120
120
  it 'should work' do
@@ -140,8 +140,8 @@ describe 'RemotesFileApi' do
140
140
  # FileRemote represents an external source of File Content. The target url of a FileRemote must contain a file manifest, which contains the metadata for all files at the source.
141
141
  # @param file_file_remote_href
142
142
  # @param [Hash] opts the optional parameters
143
- # @option opts [String] :fields A list of fields to include in the response.
144
- # @option opts [String] :exclude_fields A list of fields to exclude from the response.
143
+ # @option opts [Array<String>] :fields A list of fields to include in the response.
144
+ # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
145
145
  # @return [FileFileRemoteResponse]
146
146
  describe 'read test' do
147
147
  it 'should work' do
@@ -73,7 +73,7 @@ describe 'RepositoriesFileApi' do
73
73
  # FileRepository represents a single file repository, to which content can be synced, added, or removed.
74
74
  # @param [Hash] opts the optional parameters
75
75
  # @option opts [Integer] :limit Number of results to return per page.
76
- # @option opts [String] :name
76
+ # @option opts [String] :name Filter results where name matches value
77
77
  # @option opts [String] :name__contains Filter results where name contains value
78
78
  # @option opts [String] :name__icontains Filter results where name contains value
79
79
  # @option opts [Array<String>] :name__in Filter results where name is in a comma-separated list of values
@@ -81,8 +81,9 @@ describe 'RepositoriesFileApi' do
81
81
  # @option opts [Integer] :offset The initial index from which to return the results.
82
82
  # @option opts [Array<String>] :ordering Ordering
83
83
  # @option opts [String] :pulp_label_select Filter labels by search string
84
- # @option opts [String] :fields A list of fields to include in the response.
85
- # @option opts [String] :exclude_fields A list of fields to exclude from the response.
84
+ # @option opts [String] :remote Foreign Key referenced by HREF
85
+ # @option opts [Array<String>] :fields A list of fields to include in the response.
86
+ # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
86
87
  # @return [PaginatedfileFileRepositoryResponseList]
87
88
  describe 'list test' do
88
89
  it 'should work' do
@@ -94,8 +95,8 @@ describe 'RepositoriesFileApi' do
94
95
  # List roles assigned to this object.
95
96
  # @param file_file_repository_href
96
97
  # @param [Hash] opts the optional parameters
97
- # @option opts [String] :fields A list of fields to include in the response.
98
- # @option opts [String] :exclude_fields A list of fields to exclude from the response.
98
+ # @option opts [Array<String>] :fields A list of fields to include in the response.
99
+ # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
99
100
  # @return [ObjectRolesResponse]
100
101
  describe 'list_roles test' do
101
102
  it 'should work' do
@@ -120,8 +121,8 @@ describe 'RepositoriesFileApi' do
120
121
  # List permissions available to the current user on this object.
121
122
  # @param file_file_repository_href
122
123
  # @param [Hash] opts the optional parameters
123
- # @option opts [String] :fields A list of fields to include in the response.
124
- # @option opts [String] :exclude_fields A list of fields to exclude from the response.
124
+ # @option opts [Array<String>] :fields A list of fields to include in the response.
125
+ # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
125
126
  # @return [MyPermissionsResponse]
126
127
  describe 'my_permissions test' do
127
128
  it 'should work' do
@@ -147,8 +148,8 @@ describe 'RepositoriesFileApi' do
147
148
  # FileRepository represents a single file repository, to which content can be synced, added, or removed.
148
149
  # @param file_file_repository_href
149
150
  # @param [Hash] opts the optional parameters
150
- # @option opts [String] :fields A list of fields to include in the response.
151
- # @option opts [String] :exclude_fields A list of fields to exclude from the response.
151
+ # @option opts [Array<String>] :fields A list of fields to include in the response.
152
+ # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
152
153
  # @return [FileFileRepositoryResponse]
153
154
  describe 'read test' do
154
155
  it 'should work' do
@@ -52,7 +52,7 @@ describe 'RepositoriesFileVersionsApi' do
52
52
  # @option opts [String] :content Content Unit referenced by HREF
53
53
  # @option opts [String] :content__in Content Unit referenced by HREF
54
54
  # @option opts [Integer] :limit Number of results to return per page.
55
- # @option opts [Integer] :number
55
+ # @option opts [Integer] :number Filter results where number matches value
56
56
  # @option opts [Integer] :number__gt Filter results where number is greater than value
57
57
  # @option opts [Integer] :number__gte Filter results where number is greater than or equal to value
58
58
  # @option opts [Integer] :number__lt Filter results where number is less than value
@@ -60,14 +60,14 @@ describe 'RepositoriesFileVersionsApi' do
60
60
  # @option opts [Array<Integer>] :number__range Filter results where number is between two comma separated values
61
61
  # @option opts [Integer] :offset The initial index from which to return the results.
62
62
  # @option opts [Array<String>] :ordering Ordering
63
- # @option opts [DateTime] :pulp_created ISO 8601 formatted dates are supported
63
+ # @option opts [DateTime] :pulp_created Filter results where pulp_created matches value
64
64
  # @option opts [DateTime] :pulp_created__gt Filter results where pulp_created is greater than value
65
65
  # @option opts [DateTime] :pulp_created__gte Filter results where pulp_created is greater than or equal to value
66
66
  # @option opts [DateTime] :pulp_created__lt Filter results where pulp_created is less than value
67
67
  # @option opts [DateTime] :pulp_created__lte Filter results where pulp_created is less than or equal to value
68
68
  # @option opts [Array<DateTime>] :pulp_created__range Filter results where pulp_created is between two comma separated values
69
- # @option opts [String] :fields A list of fields to include in the response.
70
- # @option opts [String] :exclude_fields A list of fields to exclude from the response.
69
+ # @option opts [Array<String>] :fields A list of fields to include in the response.
70
+ # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
71
71
  # @return [PaginatedRepositoryVersionResponseList]
72
72
  describe 'list test' do
73
73
  it 'should work' do
@@ -80,8 +80,8 @@ describe 'RepositoriesFileVersionsApi' do
80
80
  # FileRepositoryVersion represents a single file repository version.
81
81
  # @param file_file_repository_version_href
82
82
  # @param [Hash] opts the optional parameters
83
- # @option opts [String] :fields A list of fields to include in the response.
84
- # @option opts [String] :exclude_fields A list of fields to exclude from the response.
83
+ # @option opts [Array<String>] :fields A list of fields to include in the response.
84
+ # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
85
85
  # @return [RepositoryVersionResponse]
86
86
  describe 'read test' do
87
87
  it 'should work' do
@@ -0,0 +1,47 @@
1
+ =begin
2
+ #Pulp 3 API
3
+
4
+ #Fetch, Upload, Organize, and Distribute Software Packages
5
+
6
+ The version of the OpenAPI document: v3
7
+ Contact: pulp-list@redhat.com
8
+ Generated by: https://openapi-generator.tech
9
+ OpenAPI Generator version: 4.3.1
10
+
11
+ =end
12
+
13
+ require 'spec_helper'
14
+ require 'json'
15
+ require 'date'
16
+
17
+ # Unit tests for PulpFileClient::FileFileRemoteResponseHiddenFields
18
+ # Automatically generated by openapi-generator (https://openapi-generator.tech)
19
+ # Please update as you see appropriate
20
+ describe 'FileFileRemoteResponseHiddenFields' do
21
+ before do
22
+ # run before each test
23
+ @instance = PulpFileClient::FileFileRemoteResponseHiddenFields.new
24
+ end
25
+
26
+ after do
27
+ # run after each test
28
+ end
29
+
30
+ describe 'test an instance of FileFileRemoteResponseHiddenFields' do
31
+ it 'should create an instance of FileFileRemoteResponseHiddenFields' do
32
+ expect(@instance).to be_instance_of(PulpFileClient::FileFileRemoteResponseHiddenFields)
33
+ end
34
+ end
35
+ describe 'test attribute "name"' do
36
+ it 'should work' do
37
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
38
+ end
39
+ end
40
+
41
+ describe 'test attribute "is_set"' do
42
+ it 'should work' do
43
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
44
+ end
45
+ end
46
+
47
+ end
@@ -146,4 +146,10 @@ describe 'FileFileRemoteResponse' do
146
146
  end
147
147
  end
148
148
 
149
+ describe 'test attribute "hidden_fields"' do
150
+ it 'should work' do
151
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
152
+ end
153
+ end
154
+
149
155
  end