pulp_file_client 1.11.2 → 1.11.3

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 (48) 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 +20 -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 +19 -19
  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 +29 -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 +27 -27
  26. data/lib/pulp_file_client/api/repositories_file_versions_api.rb +17 -17
  27. data/lib/pulp_file_client/models/file_file_distribution.rb +4 -2
  28. data/lib/pulp_file_client/models/file_file_distribution_response.rb +4 -2
  29. data/lib/pulp_file_client/models/file_file_remote.rb +4 -2
  30. data/lib/pulp_file_client/models/file_file_remote_response.rb +21 -7
  31. data/lib/pulp_file_client/models/file_file_remote_response_hidden_fields.rb +215 -0
  32. data/lib/pulp_file_client/models/file_file_repository.rb +4 -2
  33. data/lib/pulp_file_client/models/file_file_repository_response.rb +4 -2
  34. data/lib/pulp_file_client/models/patchedfile_file_distribution.rb +4 -2
  35. data/lib/pulp_file_client/models/patchedfile_file_remote.rb +4 -2
  36. data/lib/pulp_file_client/models/patchedfile_file_repository.rb +4 -2
  37. data/lib/pulp_file_client/version.rb +1 -1
  38. data/lib/pulp_file_client.rb +1 -0
  39. data/spec/api/acs_file_api_spec.rb +9 -9
  40. data/spec/api/content_files_api_spec.rb +4 -4
  41. data/spec/api/distributions_file_api_spec.rb +10 -10
  42. data/spec/api/publications_file_api_spec.rb +9 -9
  43. data/spec/api/remotes_file_api_spec.rb +10 -10
  44. data/spec/api/repositories_file_api_spec.rb +9 -9
  45. data/spec/api/repositories_file_versions_api_spec.rb +6 -6
  46. data/spec/models/file_file_remote_response_hidden_fields_spec.rb +47 -0
  47. data/spec/models/file_file_remote_response_spec.rb +6 -0
  48. metadata +37 -33
@@ -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.2'
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'
@@ -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
@@ -86,8 +86,8 @@ describe 'DistributionsFileApi' do
86
86
  # @option opts [Array<String>] :ordering Ordering
87
87
  # @option opts [String] :pulp_label_select Filter labels by search string
88
88
  # @option opts [String] :with_content Filter distributions based on the content served by them
89
- # @option opts [String] :fields A list of fields to include in the response.
90
- # @option opts [String] :exclude_fields A list of fields to exclude from the response.
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.
91
91
  # @return [PaginatedfileFileDistributionResponseList]
92
92
  describe 'list test' do
93
93
  it 'should work' do
@@ -99,8 +99,8 @@ describe 'DistributionsFileApi' do
99
99
  # List roles assigned to this object.
100
100
  # @param file_file_distribution_href
101
101
  # @param [Hash] opts the optional parameters
102
- # @option opts [String] :fields A list of fields to include in the response.
103
- # @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.
104
104
  # @return [ObjectRolesResponse]
105
105
  describe 'list_roles test' do
106
106
  it 'should work' do
@@ -112,8 +112,8 @@ describe 'DistributionsFileApi' do
112
112
  # List permissions available to the current user on this object.
113
113
  # @param file_file_distribution_href
114
114
  # @param [Hash] opts the optional parameters
115
- # @option opts [String] :fields A list of fields to include in the response.
116
- # @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.
117
117
  # @return [MyPermissionsResponse]
118
118
  describe 'my_permissions test' do
119
119
  it 'should work' do
@@ -139,8 +139,8 @@ describe 'DistributionsFileApi' do
139
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.
140
140
  # @param file_file_distribution_href
141
141
  # @param [Hash] opts the optional parameters
142
- # @option opts [String] :fields A list of fields to include in the response.
143
- # @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.
144
144
  # @return [FileFileDistributionResponse]
145
145
  describe 'read test' do
146
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
@@ -82,8 +82,8 @@ describe 'RepositoriesFileApi' do
82
82
  # @option opts [Array<String>] :ordering Ordering
83
83
  # @option opts [String] :pulp_label_select Filter labels by search string
84
84
  # @option opts [String] :remote Foreign Key referenced by HREF
85
- # @option opts [String] :fields A list of fields to include in the response.
86
- # @option opts [String] :exclude_fields A list of fields to exclude from the response.
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.
87
87
  # @return [PaginatedfileFileRepositoryResponseList]
88
88
  describe 'list test' do
89
89
  it 'should work' do
@@ -95,8 +95,8 @@ describe 'RepositoriesFileApi' do
95
95
  # List roles assigned to this object.
96
96
  # @param file_file_repository_href
97
97
  # @param [Hash] opts the optional parameters
98
- # @option opts [String] :fields A list of fields to include in the response.
99
- # @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.
100
100
  # @return [ObjectRolesResponse]
101
101
  describe 'list_roles test' do
102
102
  it 'should work' do
@@ -121,8 +121,8 @@ describe 'RepositoriesFileApi' do
121
121
  # List permissions available to the current user on this object.
122
122
  # @param file_file_repository_href
123
123
  # @param [Hash] opts the optional parameters
124
- # @option opts [String] :fields A list of fields to include in the response.
125
- # @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.
126
126
  # @return [MyPermissionsResponse]
127
127
  describe 'my_permissions test' do
128
128
  it 'should work' do
@@ -148,8 +148,8 @@ describe 'RepositoriesFileApi' do
148
148
  # FileRepository represents a single file repository, to which content can be synced, added, or removed.
149
149
  # @param file_file_repository_href
150
150
  # @param [Hash] opts the optional parameters
151
- # @option opts [String] :fields A list of fields to include in the response.
152
- # @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.
153
153
  # @return [FileFileRepositoryResponse]
154
154
  describe 'read test' do
155
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
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: pulp_file_client
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.11.2
4
+ version: 1.11.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - OpenAPI-Generator
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-10-18 00:00:00.000000000 Z
11
+ date: 2023-01-27 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: faraday
@@ -95,6 +95,7 @@ files:
95
95
  - docs/FileFilePublicationResponse.md
96
96
  - docs/FileFileRemote.md
97
97
  - docs/FileFileRemoteResponse.md
98
+ - docs/FileFileRemoteResponseHiddenFields.md
98
99
  - docs/FileFileRepository.md
99
100
  - docs/FileFileRepositoryResponse.md
100
101
  - docs/MyPermissionsResponse.md
@@ -145,6 +146,7 @@ files:
145
146
  - lib/pulp_file_client/models/file_file_publication_response.rb
146
147
  - lib/pulp_file_client/models/file_file_remote.rb
147
148
  - lib/pulp_file_client/models/file_file_remote_response.rb
149
+ - lib/pulp_file_client/models/file_file_remote_response_hidden_fields.rb
148
150
  - lib/pulp_file_client/models/file_file_repository.rb
149
151
  - lib/pulp_file_client/models/file_file_repository_response.rb
150
152
  - lib/pulp_file_client/models/my_permissions_response.rb
@@ -189,6 +191,7 @@ files:
189
191
  - spec/models/file_file_distribution_spec.rb
190
192
  - spec/models/file_file_publication_response_spec.rb
191
193
  - spec/models/file_file_publication_spec.rb
194
+ - spec/models/file_file_remote_response_hidden_fields_spec.rb
192
195
  - spec/models/file_file_remote_response_spec.rb
193
196
  - spec/models/file_file_remote_spec.rb
194
197
  - spec/models/file_file_repository_response_spec.rb
@@ -239,48 +242,49 @@ signing_key:
239
242
  specification_version: 4
240
243
  summary: Pulp 3 API Ruby Gem
241
244
  test_files:
242
- - spec/api/distributions_file_api_spec.rb
243
- - spec/api/acs_file_api_spec.rb
244
- - spec/api/repositories_file_versions_api_spec.rb
245
- - spec/api/content_files_api_spec.rb
246
- - spec/api/repositories_file_api_spec.rb
247
245
  - spec/api/publications_file_api_spec.rb
246
+ - spec/api/repositories_file_versions_api_spec.rb
247
+ - spec/api/distributions_file_api_spec.rb
248
248
  - spec/api/remotes_file_api_spec.rb
249
+ - spec/api/repositories_file_api_spec.rb
250
+ - spec/api/content_files_api_spec.rb
251
+ - spec/api/acs_file_api_spec.rb
249
252
  - spec/api_client_spec.rb
250
253
  - spec/configuration_spec.rb
251
- - spec/models/paginatedfile_file_distribution_response_list_spec.rb
252
- - spec/models/repository_version_response_spec.rb
253
- - spec/models/file_file_repository_response_spec.rb
254
- - spec/models/paginatedfile_file_content_response_list_spec.rb
255
- - spec/models/file_file_distribution_response_spec.rb
256
- - spec/models/object_roles_response_spec.rb
257
254
  - spec/models/nested_role_response_spec.rb
255
+ - spec/models/paginated_repository_version_response_list_spec.rb
256
+ - spec/models/paginatedfile_file_remote_response_list_spec.rb
258
257
  - spec/models/file_file_content_response_spec.rb
259
- - spec/models/patchedfile_file_alternate_content_source_spec.rb
260
- - spec/models/file_file_remote_response_spec.rb
261
- - spec/models/my_permissions_response_spec.rb
262
258
  - spec/models/file_file_content_spec.rb
259
+ - spec/models/patchedfile_file_repository_spec.rb
260
+ - spec/models/file_file_remote_spec.rb
261
+ - spec/models/paginatedfile_file_repository_response_list_spec.rb
262
+ - spec/models/file_file_repository_response_spec.rb
263
263
  - spec/models/paginatedfile_file_alternate_content_source_response_list_spec.rb
264
+ - spec/models/repair_spec.rb
265
+ - spec/models/paginatedfile_file_publication_response_list_spec.rb
266
+ - spec/models/patchedfile_file_alternate_content_source_spec.rb
267
+ - spec/models/paginatedfile_file_content_response_list_spec.rb
268
+ - spec/models/repository_sync_url_spec.rb
269
+ - spec/models/file_file_alternate_content_source_spec.rb
270
+ - spec/models/repository_add_remove_content_spec.rb
271
+ - spec/models/file_file_remote_response_spec.rb
272
+ - spec/models/repository_version_response_spec.rb
273
+ - spec/models/patchedfile_file_remote_spec.rb
274
+ - spec/models/paginatedfile_file_distribution_response_list_spec.rb
264
275
  - spec/models/async_operation_response_spec.rb
265
- - spec/models/file_file_publication_spec.rb
266
276
  - spec/models/content_summary_response_spec.rb
267
- - spec/models/file_file_repository_spec.rb
268
- - spec/models/file_file_distribution_spec.rb
269
- - spec/models/file_file_remote_spec.rb
270
- - spec/models/paginatedfile_file_publication_response_list_spec.rb
277
+ - spec/models/my_permissions_response_spec.rb
278
+ - spec/models/patchedfile_file_distribution_spec.rb
271
279
  - spec/models/policy_enum_spec.rb
272
- - spec/models/repair_spec.rb
273
- - spec/models/paginated_repository_version_response_list_spec.rb
274
- - spec/models/repository_sync_url_spec.rb
275
- - spec/models/paginatedfile_file_repository_response_list_spec.rb
280
+ - spec/models/task_group_operation_response_spec.rb
281
+ - spec/models/file_file_publication_response_spec.rb
282
+ - spec/models/object_roles_response_spec.rb
276
283
  - spec/models/nested_role_spec.rb
277
- - spec/models/paginatedfile_file_remote_response_list_spec.rb
284
+ - spec/models/file_file_distribution_spec.rb
285
+ - spec/models/file_file_remote_response_hidden_fields_spec.rb
278
286
  - spec/models/file_file_alternate_content_source_response_spec.rb
279
- - spec/models/patchedfile_file_repository_spec.rb
280
- - spec/models/file_file_publication_response_spec.rb
281
- - spec/models/patchedfile_file_distribution_spec.rb
282
- - spec/models/patchedfile_file_remote_spec.rb
283
- - spec/models/repository_add_remove_content_spec.rb
284
- - spec/models/file_file_alternate_content_source_spec.rb
285
- - spec/models/task_group_operation_response_spec.rb
287
+ - spec/models/file_file_publication_spec.rb
288
+ - spec/models/file_file_repository_spec.rb
289
+ - spec/models/file_file_distribution_response_spec.rb
286
290
  - spec/spec_helper.rb