pulp_file_client 3.69.2 → 3.70.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (154) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +10 -7
  3. data/docs/AcsFileApi.md +343 -157
  4. data/docs/AsyncOperationResponse.md +8 -7
  5. data/docs/ContentFilesApi.md +114 -64
  6. data/docs/ContentSummaryResponse.md +12 -11
  7. data/docs/DistributionsFileApi.md +385 -182
  8. data/docs/FileFileAlternateContentSource.md +14 -13
  9. data/docs/FileFileAlternateContentSourceResponse.md +22 -21
  10. data/docs/FileFileContentResponse.md +30 -29
  11. data/docs/FileFileDistribution.md +20 -19
  12. data/docs/FileFileDistributionResponse.md +32 -31
  13. data/docs/FileFilePublication.md +12 -11
  14. data/docs/FileFilePublicationResponse.md +22 -21
  15. data/docs/FileFileRemote.md +48 -47
  16. data/docs/FileFileRemoteResponse.md +48 -47
  17. data/docs/FileFileRemoteResponseHiddenFieldsInner.md +20 -0
  18. data/docs/FileFileRepository.md +20 -19
  19. data/docs/FileFileRepositoryResponse.md +32 -31
  20. data/docs/MyPermissionsResponse.md +8 -7
  21. data/docs/NestedRole.md +12 -11
  22. data/docs/NestedRoleResponse.md +12 -11
  23. data/docs/ObjectRolesResponse.md +8 -7
  24. data/docs/PaginatedRepositoryVersionResponseList.md +14 -13
  25. data/docs/PaginatedfileFileAlternateContentSourceResponseList.md +14 -13
  26. data/docs/PaginatedfileFileContentResponseList.md +14 -13
  27. data/docs/PaginatedfileFileDistributionResponseList.md +14 -13
  28. data/docs/PaginatedfileFilePublicationResponseList.md +14 -13
  29. data/docs/PaginatedfileFileRemoteResponseList.md +14 -13
  30. data/docs/PaginatedfileFileRepositoryResponseList.md +14 -13
  31. data/docs/PatchedfileFileAlternateContentSource.md +14 -13
  32. data/docs/PatchedfileFileDistribution.md +20 -19
  33. data/docs/PatchedfileFileRemote.md +48 -47
  34. data/docs/PatchedfileFileRepository.md +20 -19
  35. data/docs/PolicyEnum.md +4 -5
  36. data/docs/PublicationsFileApi.md +267 -130
  37. data/docs/RemotesFileApi.md +389 -184
  38. data/docs/Repair.md +8 -7
  39. data/docs/RepositoriesFileApi.md +444 -207
  40. data/docs/RepositoriesFileVersionsApi.md +152 -82
  41. data/docs/RepositoryAddRemoveContent.md +12 -11
  42. data/docs/RepositorySyncURL.md +10 -9
  43. data/docs/RepositoryVersionResponse.md +22 -21
  44. data/docs/SetLabel.md +10 -9
  45. data/docs/SetLabelResponse.md +10 -9
  46. data/docs/TaskGroupOperationResponse.md +8 -7
  47. data/docs/UnsetLabel.md +8 -7
  48. data/docs/UnsetLabelResponse.md +10 -9
  49. data/lib/pulp_file_client/api/acs_file_api.rb +76 -50
  50. data/lib/pulp_file_client/api/content_files_api.rb +20 -14
  51. data/lib/pulp_file_client/api/distributions_file_api.rb +89 -56
  52. data/lib/pulp_file_client/api/publications_file_api.rb +67 -47
  53. data/lib/pulp_file_client/api/remotes_file_api.rb +104 -68
  54. data/lib/pulp_file_client/api/repositories_file_api.rb +107 -66
  55. data/lib/pulp_file_client/api/repositories_file_versions_api.rb +40 -30
  56. data/lib/pulp_file_client/api_client.rb +137 -102
  57. data/lib/pulp_file_client/api_error.rb +2 -1
  58. data/lib/pulp_file_client/configuration.rb +162 -21
  59. data/lib/pulp_file_client/models/async_operation_response.rb +32 -22
  60. data/lib/pulp_file_client/models/content_summary_response.rb +36 -22
  61. data/lib/pulp_file_client/models/file_file_alternate_content_source.rb +35 -23
  62. data/lib/pulp_file_client/models/file_file_alternate_content_source_response.rb +37 -25
  63. data/lib/pulp_file_client/models/file_file_content_response.rb +34 -24
  64. data/lib/pulp_file_client/models/file_file_distribution.rb +34 -22
  65. data/lib/pulp_file_client/models/file_file_distribution_response.rb +36 -24
  66. data/lib/pulp_file_client/models/file_file_publication.rb +30 -22
  67. data/lib/pulp_file_client/models/file_file_publication_response.rb +32 -24
  68. data/lib/pulp_file_client/models/file_file_remote.rb +56 -22
  69. data/lib/pulp_file_client/models/file_file_remote_response.rb +59 -25
  70. data/lib/pulp_file_client/models/{file_file_remote_response_hidden_fields.rb → file_file_remote_response_hidden_fields_inner.rb} +37 -25
  71. data/lib/pulp_file_client/models/file_file_repository.rb +32 -22
  72. data/lib/pulp_file_client/models/file_file_repository_response.rb +34 -24
  73. data/lib/pulp_file_client/models/my_permissions_response.rb +32 -22
  74. data/lib/pulp_file_client/models/nested_role.rb +32 -22
  75. data/lib/pulp_file_client/models/nested_role_response.rb +32 -22
  76. data/lib/pulp_file_client/models/object_roles_response.rb +32 -22
  77. data/lib/pulp_file_client/models/paginated_repository_version_response_list.rb +34 -22
  78. data/lib/pulp_file_client/models/paginatedfile_file_alternate_content_source_response_list.rb +34 -22
  79. data/lib/pulp_file_client/models/paginatedfile_file_content_response_list.rb +34 -22
  80. data/lib/pulp_file_client/models/paginatedfile_file_distribution_response_list.rb +34 -22
  81. data/lib/pulp_file_client/models/paginatedfile_file_publication_response_list.rb +34 -22
  82. data/lib/pulp_file_client/models/paginatedfile_file_remote_response_list.rb +34 -22
  83. data/lib/pulp_file_client/models/paginatedfile_file_repository_response_list.rb +34 -22
  84. data/lib/pulp_file_client/models/patchedfile_file_alternate_content_source.rb +36 -24
  85. data/lib/pulp_file_client/models/patchedfile_file_distribution.rb +40 -24
  86. data/lib/pulp_file_client/models/patchedfile_file_remote.rb +62 -24
  87. data/lib/pulp_file_client/models/patchedfile_file_repository.rb +35 -23
  88. data/lib/pulp_file_client/models/policy_enum.rb +8 -4
  89. data/lib/pulp_file_client/models/repair.rb +30 -22
  90. data/lib/pulp_file_client/models/repository_add_remove_content.rb +30 -22
  91. data/lib/pulp_file_client/models/repository_sync_url.rb +30 -22
  92. data/lib/pulp_file_client/models/repository_version_response.rb +32 -24
  93. data/lib/pulp_file_client/models/set_label.rb +34 -22
  94. data/lib/pulp_file_client/models/set_label_response.rb +34 -22
  95. data/lib/pulp_file_client/models/task_group_operation_response.rb +32 -22
  96. data/lib/pulp_file_client/models/unset_label.rb +32 -22
  97. data/lib/pulp_file_client/models/unset_label_response.rb +32 -22
  98. data/lib/pulp_file_client/version.rb +2 -2
  99. data/lib/pulp_file_client.rb +2 -3
  100. data/pulp_file_client.gemspec +9 -6
  101. data/spec/api/acs_file_api_spec.rb +12 -12
  102. data/spec/api/content_files_api_spec.rb +4 -4
  103. data/spec/api/distributions_file_api_spec.rb +13 -13
  104. data/spec/api/publications_file_api_spec.rb +16 -15
  105. data/spec/api/remotes_file_api_spec.rb +20 -19
  106. data/spec/api/repositories_file_api_spec.rb +15 -15
  107. data/spec/api/repositories_file_versions_api_spec.rb +12 -11
  108. data/spec/models/async_operation_response_spec.rb +7 -12
  109. data/spec/models/content_summary_response_spec.rb +9 -14
  110. data/spec/models/file_file_alternate_content_source_response_spec.rb +14 -19
  111. data/spec/models/file_file_alternate_content_source_spec.rb +10 -15
  112. data/spec/models/file_file_content_response_spec.rb +18 -23
  113. data/spec/models/file_file_distribution_response_spec.rb +19 -24
  114. data/spec/models/file_file_distribution_spec.rb +13 -18
  115. data/spec/models/file_file_publication_response_spec.rb +14 -19
  116. data/spec/models/file_file_publication_spec.rb +9 -14
  117. data/spec/models/{file_file_remote_response_hidden_fields_spec.rb → file_file_remote_response_hidden_fields_inner_spec.rb} +11 -16
  118. data/spec/models/file_file_remote_response_spec.rb +27 -32
  119. data/spec/models/file_file_remote_spec.rb +27 -32
  120. data/spec/models/file_file_repository_response_spec.rb +19 -24
  121. data/spec/models/file_file_repository_spec.rb +13 -18
  122. data/spec/models/my_permissions_response_spec.rb +7 -12
  123. data/spec/models/nested_role_response_spec.rb +9 -14
  124. data/spec/models/nested_role_spec.rb +9 -14
  125. data/spec/models/object_roles_response_spec.rb +7 -12
  126. data/spec/models/paginated_repository_version_response_list_spec.rb +10 -15
  127. data/spec/models/paginatedfile_file_alternate_content_source_response_list_spec.rb +10 -15
  128. data/spec/models/paginatedfile_file_content_response_list_spec.rb +10 -15
  129. data/spec/models/paginatedfile_file_distribution_response_list_spec.rb +10 -15
  130. data/spec/models/paginatedfile_file_publication_response_list_spec.rb +10 -15
  131. data/spec/models/paginatedfile_file_remote_response_list_spec.rb +10 -15
  132. data/spec/models/paginatedfile_file_repository_response_list_spec.rb +10 -15
  133. data/spec/models/patchedfile_file_alternate_content_source_spec.rb +10 -15
  134. data/spec/models/patchedfile_file_distribution_spec.rb +13 -18
  135. data/spec/models/patchedfile_file_remote_spec.rb +27 -32
  136. data/spec/models/patchedfile_file_repository_spec.rb +13 -18
  137. data/spec/models/policy_enum_spec.rb +6 -11
  138. data/spec/models/repair_spec.rb +7 -12
  139. data/spec/models/repository_add_remove_content_spec.rb +9 -14
  140. data/spec/models/repository_sync_url_spec.rb +8 -13
  141. data/spec/models/repository_version_response_spec.rb +14 -19
  142. data/spec/models/set_label_response_spec.rb +8 -13
  143. data/spec/models/set_label_spec.rb +8 -13
  144. data/spec/models/task_group_operation_response_spec.rb +7 -12
  145. data/spec/models/unset_label_response_spec.rb +8 -13
  146. data/spec/models/unset_label_spec.rb +7 -12
  147. data/spec/spec_helper.rb +1 -1
  148. metadata +45 -25
  149. data/docs/FileFileContent.md +0 -27
  150. data/docs/FileFileRemoteResponseHiddenFields.md +0 -19
  151. data/lib/pulp_file_client/models/file_file_content.rb +0 -297
  152. data/spec/api_client_spec.rb +0 -188
  153. data/spec/configuration_spec.rb +0 -42
  154. data/spec/models/file_file_content_spec.rb +0 -71
@@ -2,27 +2,26 @@
2
2
 
3
3
  All URIs are relative to *http://localhost:24817*
4
4
 
5
- Method | HTTP request | Description
6
- ------------- | ------------- | -------------
7
- [**delete**](RepositoriesFileVersionsApi.md#delete) | **DELETE** {file_file_repository_version_href} | Delete a repository version
8
- [**list**](RepositoriesFileVersionsApi.md#list) | **GET** {file_file_repository_href}versions/ | List repository versions
9
- [**read**](RepositoriesFileVersionsApi.md#read) | **GET** {file_file_repository_version_href} | Inspect a repository version
10
- [**repair**](RepositoriesFileVersionsApi.md#repair) | **POST** {file_file_repository_version_href}repair/ |
11
-
5
+ | Method | HTTP request | Description |
6
+ | ------ | ------------ | ----------- |
7
+ | [**delete**](RepositoriesFileVersionsApi.md#delete) | **DELETE** {file_file_repository_version_href} | Delete a repository version |
8
+ | [**list**](RepositoriesFileVersionsApi.md#list) | **GET** {file_file_repository_href}versions/ | List repository versions |
9
+ | [**read**](RepositoriesFileVersionsApi.md#read) | **GET** {file_file_repository_version_href} | Inspect a repository version |
10
+ | [**repair**](RepositoriesFileVersionsApi.md#repair) | **POST** {file_file_repository_version_href}repair/ | |
12
11
 
13
12
 
14
13
  ## delete
15
14
 
16
- > AsyncOperationResponse delete(file_file_repository_version_href)
15
+ > <AsyncOperationResponse> delete(file_file_repository_version_href)
17
16
 
18
17
  Delete a repository version
19
18
 
20
19
  Trigger an asynchronous task to delete a repository version.
21
20
 
22
- ### Example
21
+ ### Examples
23
22
 
24
23
  ```ruby
25
- # load the gem
24
+ require 'time'
26
25
  require 'pulp_file_client'
27
26
  # setup authorization
28
27
  PulpFileClient.configure do |config|
@@ -35,20 +34,37 @@ api_instance = PulpFileClient::RepositoriesFileVersionsApi.new
35
34
  file_file_repository_version_href = 'file_file_repository_version_href_example' # String |
36
35
 
37
36
  begin
38
- #Delete a repository version
37
+ # Delete a repository version
39
38
  result = api_instance.delete(file_file_repository_version_href)
40
39
  p result
41
40
  rescue PulpFileClient::ApiError => e
42
- puts "Exception when calling RepositoriesFileVersionsApi->delete: #{e}"
41
+ puts "Error when calling RepositoriesFileVersionsApi->delete: #{e}"
43
42
  end
44
43
  ```
45
44
 
46
- ### Parameters
45
+ #### Using the delete_with_http_info variant
46
+
47
+ This returns an Array which contains the response data, status code and headers.
47
48
 
49
+ > <Array(<AsyncOperationResponse>, Integer, Hash)> delete_with_http_info(file_file_repository_version_href)
50
+
51
+ ```ruby
52
+ begin
53
+ # Delete a repository version
54
+ data, status_code, headers = api_instance.delete_with_http_info(file_file_repository_version_href)
55
+ p status_code # => 2xx
56
+ p headers # => { ... }
57
+ p data # => <AsyncOperationResponse>
58
+ rescue PulpFileClient::ApiError => e
59
+ puts "Error when calling RepositoriesFileVersionsApi->delete_with_http_info: #{e}"
60
+ end
61
+ ```
62
+
63
+ ### Parameters
48
64
 
49
- Name | Type | Description | Notes
50
- ------------- | ------------- | ------------- | -------------
51
- **file_file_repository_version_href** | **String**| |
65
+ | Name | Type | Description | Notes |
66
+ | ---- | ---- | ----------- | ----- |
67
+ | **file_file_repository_version_href** | **String** | | |
52
68
 
53
69
  ### Return type
54
70
 
@@ -66,16 +82,16 @@ Name | Type | Description | Notes
66
82
 
67
83
  ## list
68
84
 
69
- > PaginatedRepositoryVersionResponseList list(file_file_repository_href, opts)
85
+ > <PaginatedRepositoryVersionResponseList> list(file_file_repository_href, opts)
70
86
 
71
87
  List repository versions
72
88
 
73
89
  FileRepositoryVersion represents a single file repository version.
74
90
 
75
- ### Example
91
+ ### Examples
76
92
 
77
93
  ```ruby
78
- # load the gem
94
+ require 'time'
79
95
  require 'pulp_file_client'
80
96
  # setup authorization
81
97
  PulpFileClient.configure do |config|
@@ -88,66 +104,85 @@ api_instance = PulpFileClient::RepositoriesFileVersionsApi.new
88
104
  file_file_repository_href = 'file_file_repository_href_example' # String |
89
105
  opts = {
90
106
  content: 'content_example', # String | Content Unit referenced by HREF/PRN
91
- content__in: ['content__in_example'], # Array<String> | Multiple values may be separated by commas.
107
+ content__in: ['inner_example'], # Array<String> | Multiple values may be separated by commas.
92
108
  limit: 56, # Integer | Number of results to return per page.
93
109
  number: 56, # Integer | Filter results where number matches value
94
110
  number__gt: 56, # Integer | Filter results where number is greater than value
95
111
  number__gte: 56, # Integer | Filter results where number is greater than or equal to value
96
112
  number__lt: 56, # Integer | Filter results where number is less than value
97
113
  number__lte: 56, # Integer | Filter results where number is less than or equal to value
98
- number__range: [56], # Array<Integer> | Filter results where number is between two comma separated values
114
+ number__range: [37], # Array<Integer> | Filter results where number is between two comma separated values
99
115
  offset: 56, # Integer | The initial index from which to return the results.
100
- ordering: ['ordering_example'], # Array<String> | Ordering * `pulp_id` - Pulp id * `-pulp_id` - Pulp id (descending) * `pulp_created` - Pulp created * `-pulp_created` - Pulp created (descending) * `pulp_last_updated` - Pulp last updated * `-pulp_last_updated` - Pulp last updated (descending) * `number` - Number * `-number` - Number (descending) * `complete` - Complete * `-complete` - Complete (descending) * `info` - Info * `-info` - Info (descending) * `pk` - Pk * `-pk` - Pk (descending)
101
- prn__in: ['prn__in_example'], # Array<String> | Multiple values may be separated by commas.
102
- pulp_created: DateTime.parse('2013-10-20T19:20:30+01:00'), # DateTime | Filter results where pulp_created matches value
103
- pulp_created__gt: DateTime.parse('2013-10-20T19:20:30+01:00'), # DateTime | Filter results where pulp_created is greater than value
104
- pulp_created__gte: DateTime.parse('2013-10-20T19:20:30+01:00'), # DateTime | Filter results where pulp_created is greater than or equal to value
105
- pulp_created__lt: DateTime.parse('2013-10-20T19:20:30+01:00'), # DateTime | Filter results where pulp_created is less than value
106
- pulp_created__lte: DateTime.parse('2013-10-20T19:20:30+01:00'), # DateTime | Filter results where pulp_created is less than or equal to value
107
- pulp_created__range: [DateTime.parse('2013-10-20T19:20:30+01:00')], # Array<DateTime> | Filter results where pulp_created is between two comma separated values
108
- pulp_href__in: ['pulp_href__in_example'], # Array<String> | Multiple values may be separated by commas.
116
+ ordering: ['-complete'], # Array<String> | Ordering * `pulp_id` - Pulp id * `-pulp_id` - Pulp id (descending) * `pulp_created` - Pulp created * `-pulp_created` - Pulp created (descending) * `pulp_last_updated` - Pulp last updated * `-pulp_last_updated` - Pulp last updated (descending) * `number` - Number * `-number` - Number (descending) * `complete` - Complete * `-complete` - Complete (descending) * `info` - Info * `-info` - Info (descending) * `pk` - Pk * `-pk` - Pk (descending)
117
+ prn__in: ['inner_example'], # Array<String> | Multiple values may be separated by commas.
118
+ pulp_created: Time.parse('2013-10-20T19:20:30+01:00'), # Time | Filter results where pulp_created matches value
119
+ pulp_created__gt: Time.parse('2013-10-20T19:20:30+01:00'), # Time | Filter results where pulp_created is greater than value
120
+ pulp_created__gte: Time.parse('2013-10-20T19:20:30+01:00'), # Time | Filter results where pulp_created is greater than or equal to value
121
+ pulp_created__isnull: true, # Boolean | Filter results where pulp_created has a null value
122
+ pulp_created__lt: Time.parse('2013-10-20T19:20:30+01:00'), # Time | Filter results where pulp_created is less than value
123
+ pulp_created__lte: Time.parse('2013-10-20T19:20:30+01:00'), # Time | Filter results where pulp_created is less than or equal to value
124
+ pulp_created__range: [Time.now], # Array<Time> | Filter results where pulp_created is between two comma separated values
125
+ pulp_href__in: ['inner_example'], # Array<String> | Multiple values may be separated by commas.
109
126
  q: 'q_example', # String | Filter results by using NOT, AND and OR operations on other filters
110
- fields: ['fields_example'], # Array<String> | A list of fields to include in the response.
111
- exclude_fields: ['exclude_fields_example'] # Array<String> | A list of fields to exclude from the response.
127
+ fields: ['inner_example'], # Array<String> | A list of fields to include in the response.
128
+ exclude_fields: ['inner_example'] # Array<String> | A list of fields to exclude from the response.
112
129
  }
113
130
 
114
131
  begin
115
- #List repository versions
132
+ # List repository versions
116
133
  result = api_instance.list(file_file_repository_href, opts)
117
134
  p result
118
135
  rescue PulpFileClient::ApiError => e
119
- puts "Exception when calling RepositoriesFileVersionsApi->list: #{e}"
136
+ puts "Error when calling RepositoriesFileVersionsApi->list: #{e}"
120
137
  end
121
138
  ```
122
139
 
123
- ### Parameters
140
+ #### Using the list_with_http_info variant
141
+
142
+ This returns an Array which contains the response data, status code and headers.
143
+
144
+ > <Array(<PaginatedRepositoryVersionResponseList>, Integer, Hash)> list_with_http_info(file_file_repository_href, opts)
145
+
146
+ ```ruby
147
+ begin
148
+ # List repository versions
149
+ data, status_code, headers = api_instance.list_with_http_info(file_file_repository_href, opts)
150
+ p status_code # => 2xx
151
+ p headers # => { ... }
152
+ p data # => <PaginatedRepositoryVersionResponseList>
153
+ rescue PulpFileClient::ApiError => e
154
+ puts "Error when calling RepositoriesFileVersionsApi->list_with_http_info: #{e}"
155
+ end
156
+ ```
124
157
 
158
+ ### Parameters
125
159
 
126
- Name | Type | Description | Notes
127
- ------------- | ------------- | ------------- | -------------
128
- **file_file_repository_href** | **String**| |
129
- **content** | **String**| Content Unit referenced by HREF/PRN | [optional]
130
- **content__in** | [**Array&lt;String&gt;**](String.md)| Multiple values may be separated by commas. | [optional]
131
- **limit** | **Integer**| Number of results to return per page. | [optional]
132
- **number** | **Integer**| Filter results where number matches value | [optional]
133
- **number__gt** | **Integer**| Filter results where number is greater than value | [optional]
134
- **number__gte** | **Integer**| Filter results where number is greater than or equal to value | [optional]
135
- **number__lt** | **Integer**| Filter results where number is less than value | [optional]
136
- **number__lte** | **Integer**| Filter results where number is less than or equal to value | [optional]
137
- **number__range** | [**Array&lt;Integer&gt;**](Integer.md)| Filter results where number is between two comma separated values | [optional]
138
- **offset** | **Integer**| The initial index from which to return the results. | [optional]
139
- **ordering** | [**Array&lt;String&gt;**](String.md)| Ordering * &#x60;pulp_id&#x60; - Pulp id * &#x60;-pulp_id&#x60; - Pulp id (descending) * &#x60;pulp_created&#x60; - Pulp created * &#x60;-pulp_created&#x60; - Pulp created (descending) * &#x60;pulp_last_updated&#x60; - Pulp last updated * &#x60;-pulp_last_updated&#x60; - Pulp last updated (descending) * &#x60;number&#x60; - Number * &#x60;-number&#x60; - Number (descending) * &#x60;complete&#x60; - Complete * &#x60;-complete&#x60; - Complete (descending) * &#x60;info&#x60; - Info * &#x60;-info&#x60; - Info (descending) * &#x60;pk&#x60; - Pk * &#x60;-pk&#x60; - Pk (descending) | [optional]
140
- **prn__in** | [**Array&lt;String&gt;**](String.md)| Multiple values may be separated by commas. | [optional]
141
- **pulp_created** | **DateTime**| Filter results where pulp_created matches value | [optional]
142
- **pulp_created__gt** | **DateTime**| Filter results where pulp_created is greater than value | [optional]
143
- **pulp_created__gte** | **DateTime**| Filter results where pulp_created is greater than or equal to value | [optional]
144
- **pulp_created__lt** | **DateTime**| Filter results where pulp_created is less than value | [optional]
145
- **pulp_created__lte** | **DateTime**| Filter results where pulp_created is less than or equal to value | [optional]
146
- **pulp_created__range** | [**Array&lt;DateTime&gt;**](DateTime.md)| Filter results where pulp_created is between two comma separated values | [optional]
147
- **pulp_href__in** | [**Array&lt;String&gt;**](String.md)| Multiple values may be separated by commas. | [optional]
148
- **q** | **String**| Filter results by using NOT, AND and OR operations on other filters | [optional]
149
- **fields** | [**Array&lt;String&gt;**](String.md)| A list of fields to include in the response. | [optional]
150
- **exclude_fields** | [**Array&lt;String&gt;**](String.md)| A list of fields to exclude from the response. | [optional]
160
+ | Name | Type | Description | Notes |
161
+ | ---- | ---- | ----------- | ----- |
162
+ | **file_file_repository_href** | **String** | | |
163
+ | **content** | **String** | Content Unit referenced by HREF/PRN | [optional] |
164
+ | **content__in** | [**Array&lt;String&gt;**](String.md) | Multiple values may be separated by commas. | [optional] |
165
+ | **limit** | **Integer** | Number of results to return per page. | [optional] |
166
+ | **number** | **Integer** | Filter results where number matches value | [optional] |
167
+ | **number__gt** | **Integer** | Filter results where number is greater than value | [optional] |
168
+ | **number__gte** | **Integer** | Filter results where number is greater than or equal to value | [optional] |
169
+ | **number__lt** | **Integer** | Filter results where number is less than value | [optional] |
170
+ | **number__lte** | **Integer** | Filter results where number is less than or equal to value | [optional] |
171
+ | **number__range** | [**Array&lt;Integer&gt;**](Integer.md) | Filter results where number is between two comma separated values | [optional] |
172
+ | **offset** | **Integer** | The initial index from which to return the results. | [optional] |
173
+ | **ordering** | [**Array&lt;String&gt;**](String.md) | Ordering * &#x60;pulp_id&#x60; - Pulp id * &#x60;-pulp_id&#x60; - Pulp id (descending) * &#x60;pulp_created&#x60; - Pulp created * &#x60;-pulp_created&#x60; - Pulp created (descending) * &#x60;pulp_last_updated&#x60; - Pulp last updated * &#x60;-pulp_last_updated&#x60; - Pulp last updated (descending) * &#x60;number&#x60; - Number * &#x60;-number&#x60; - Number (descending) * &#x60;complete&#x60; - Complete * &#x60;-complete&#x60; - Complete (descending) * &#x60;info&#x60; - Info * &#x60;-info&#x60; - Info (descending) * &#x60;pk&#x60; - Pk * &#x60;-pk&#x60; - Pk (descending) | [optional] |
174
+ | **prn__in** | [**Array&lt;String&gt;**](String.md) | Multiple values may be separated by commas. | [optional] |
175
+ | **pulp_created** | **Time** | Filter results where pulp_created matches value | [optional] |
176
+ | **pulp_created__gt** | **Time** | Filter results where pulp_created is greater than value | [optional] |
177
+ | **pulp_created__gte** | **Time** | Filter results where pulp_created is greater than or equal to value | [optional] |
178
+ | **pulp_created__isnull** | **Boolean** | Filter results where pulp_created has a null value | [optional] |
179
+ | **pulp_created__lt** | **Time** | Filter results where pulp_created is less than value | [optional] |
180
+ | **pulp_created__lte** | **Time** | Filter results where pulp_created is less than or equal to value | [optional] |
181
+ | **pulp_created__range** | [**Array&lt;Time&gt;**](Time.md) | Filter results where pulp_created is between two comma separated values | [optional] |
182
+ | **pulp_href__in** | [**Array&lt;String&gt;**](String.md) | Multiple values may be separated by commas. | [optional] |
183
+ | **q** | **String** | Filter results by using NOT, AND and OR operations on other filters | [optional] |
184
+ | **fields** | [**Array&lt;String&gt;**](String.md) | A list of fields to include in the response. | [optional] |
185
+ | **exclude_fields** | [**Array&lt;String&gt;**](String.md) | A list of fields to exclude from the response. | [optional] |
151
186
 
152
187
  ### Return type
153
188
 
@@ -165,16 +200,16 @@ Name | Type | Description | Notes
165
200
 
166
201
  ## read
167
202
 
168
- > RepositoryVersionResponse read(file_file_repository_version_href, opts)
203
+ > <RepositoryVersionResponse> read(file_file_repository_version_href, opts)
169
204
 
170
205
  Inspect a repository version
171
206
 
172
207
  FileRepositoryVersion represents a single file repository version.
173
208
 
174
- ### Example
209
+ ### Examples
175
210
 
176
211
  ```ruby
177
- # load the gem
212
+ require 'time'
178
213
  require 'pulp_file_client'
179
214
  # setup authorization
180
215
  PulpFileClient.configure do |config|
@@ -186,27 +221,44 @@ end
186
221
  api_instance = PulpFileClient::RepositoriesFileVersionsApi.new
187
222
  file_file_repository_version_href = 'file_file_repository_version_href_example' # String |
188
223
  opts = {
189
- fields: ['fields_example'], # Array<String> | A list of fields to include in the response.
190
- exclude_fields: ['exclude_fields_example'] # Array<String> | A list of fields to exclude from the response.
224
+ fields: ['inner_example'], # Array<String> | A list of fields to include in the response.
225
+ exclude_fields: ['inner_example'] # Array<String> | A list of fields to exclude from the response.
191
226
  }
192
227
 
193
228
  begin
194
- #Inspect a repository version
229
+ # Inspect a repository version
195
230
  result = api_instance.read(file_file_repository_version_href, opts)
196
231
  p result
197
232
  rescue PulpFileClient::ApiError => e
198
- puts "Exception when calling RepositoriesFileVersionsApi->read: #{e}"
233
+ puts "Error when calling RepositoriesFileVersionsApi->read: #{e}"
199
234
  end
200
235
  ```
201
236
 
202
- ### Parameters
237
+ #### Using the read_with_http_info variant
238
+
239
+ This returns an Array which contains the response data, status code and headers.
240
+
241
+ > <Array(<RepositoryVersionResponse>, Integer, Hash)> read_with_http_info(file_file_repository_version_href, opts)
242
+
243
+ ```ruby
244
+ begin
245
+ # Inspect a repository version
246
+ data, status_code, headers = api_instance.read_with_http_info(file_file_repository_version_href, opts)
247
+ p status_code # => 2xx
248
+ p headers # => { ... }
249
+ p data # => <RepositoryVersionResponse>
250
+ rescue PulpFileClient::ApiError => e
251
+ puts "Error when calling RepositoriesFileVersionsApi->read_with_http_info: #{e}"
252
+ end
253
+ ```
203
254
 
255
+ ### Parameters
204
256
 
205
- Name | Type | Description | Notes
206
- ------------- | ------------- | ------------- | -------------
207
- **file_file_repository_version_href** | **String**| |
208
- **fields** | [**Array&lt;String&gt;**](String.md)| A list of fields to include in the response. | [optional]
209
- **exclude_fields** | [**Array&lt;String&gt;**](String.md)| A list of fields to exclude from the response. | [optional]
257
+ | Name | Type | Description | Notes |
258
+ | ---- | ---- | ----------- | ----- |
259
+ | **file_file_repository_version_href** | **String** | | |
260
+ | **fields** | [**Array&lt;String&gt;**](String.md) | A list of fields to include in the response. | [optional] |
261
+ | **exclude_fields** | [**Array&lt;String&gt;**](String.md) | A list of fields to exclude from the response. | [optional] |
210
262
 
211
263
  ### Return type
212
264
 
@@ -224,16 +276,16 @@ Name | Type | Description | Notes
224
276
 
225
277
  ## repair
226
278
 
227
- > AsyncOperationResponse repair(file_file_repository_version_href, repair)
279
+ > <AsyncOperationResponse> repair(file_file_repository_version_href, repair)
228
280
 
229
281
 
230
282
 
231
283
  Trigger an asynchronous task to repair a repository version.
232
284
 
233
- ### Example
285
+ ### Examples
234
286
 
235
287
  ```ruby
236
- # load the gem
288
+ require 'time'
237
289
  require 'pulp_file_client'
238
290
  # setup authorization
239
291
  PulpFileClient.configure do |config|
@@ -247,20 +299,38 @@ file_file_repository_version_href = 'file_file_repository_version_href_example'
247
299
  repair = PulpFileClient::Repair.new # Repair |
248
300
 
249
301
  begin
302
+
250
303
  result = api_instance.repair(file_file_repository_version_href, repair)
251
304
  p result
252
305
  rescue PulpFileClient::ApiError => e
253
- puts "Exception when calling RepositoriesFileVersionsApi->repair: #{e}"
306
+ puts "Error when calling RepositoriesFileVersionsApi->repair: #{e}"
254
307
  end
255
308
  ```
256
309
 
257
- ### Parameters
310
+ #### Using the repair_with_http_info variant
311
+
312
+ This returns an Array which contains the response data, status code and headers.
313
+
314
+ > <Array(<AsyncOperationResponse>, Integer, Hash)> repair_with_http_info(file_file_repository_version_href, repair)
315
+
316
+ ```ruby
317
+ begin
318
+
319
+ data, status_code, headers = api_instance.repair_with_http_info(file_file_repository_version_href, repair)
320
+ p status_code # => 2xx
321
+ p headers # => { ... }
322
+ p data # => <AsyncOperationResponse>
323
+ rescue PulpFileClient::ApiError => e
324
+ puts "Error when calling RepositoriesFileVersionsApi->repair_with_http_info: #{e}"
325
+ end
326
+ ```
258
327
 
328
+ ### Parameters
259
329
 
260
- Name | Type | Description | Notes
261
- ------------- | ------------- | ------------- | -------------
262
- **file_file_repository_version_href** | **String**| |
263
- **repair** | [**Repair**](Repair.md)| |
330
+ | Name | Type | Description | Notes |
331
+ | ---- | ---- | ----------- | ----- |
332
+ | **file_file_repository_version_href** | **String** | | |
333
+ | **repair** | [**Repair**](Repair.md) | | |
264
334
 
265
335
  ### Return type
266
336
 
@@ -2,20 +2,21 @@
2
2
 
3
3
  ## Properties
4
4
 
5
- Name | Type | Description | Notes
6
- ------------ | ------------- | ------------- | -------------
7
- **add_content_units** | **Array&lt;String&gt;** | A list of content units to add to a new repository version. This content is added after remove_content_units are removed. | [optional]
8
- **remove_content_units** | **Array&lt;String&gt;** | A list of content units to remove from the latest repository version. You may also specify &#39;*&#39; as an entry to remove all content. This content is removed before add_content_units are added. | [optional]
9
- **base_version** | **String** | A repository version whose content will be used as the initial set of content for the new repository version | [optional]
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **add_content_units** | **Array&lt;String&gt;** | A list of content units to add to a new repository version. This content is added after remove_content_units are removed. | [optional] |
8
+ | **remove_content_units** | **Array&lt;String&gt;** | A list of content units to remove from the latest repository version. You may also specify &#39;*&#39; as an entry to remove all content. This content is removed before add_content_units are added. | [optional] |
9
+ | **base_version** | **String** | A repository version whose content will be used as the initial set of content for the new repository version | [optional] |
10
10
 
11
- ## Code Sample
11
+ ## Example
12
12
 
13
13
  ```ruby
14
- require 'PulpFileClient'
14
+ require 'pulp_file_client'
15
15
 
16
- instance = PulpFileClient::RepositoryAddRemoveContent.new(add_content_units: null,
17
- remove_content_units: null,
18
- base_version: null)
16
+ instance = PulpFileClient::RepositoryAddRemoveContent.new(
17
+ add_content_units: null,
18
+ remove_content_units: null,
19
+ base_version: null
20
+ )
19
21
  ```
20
22
 
21
-
@@ -2,18 +2,19 @@
2
2
 
3
3
  ## Properties
4
4
 
5
- Name | Type | Description | Notes
6
- ------------ | ------------- | ------------- | -------------
7
- **remote** | **String** | A remote to sync from. This will override a remote set on repository. | [optional]
8
- **mirror** | **Boolean** | If &#x60;&#x60;True&#x60;&#x60;, synchronization will remove all content that is not present in the remote repository. If &#x60;&#x60;False&#x60;&#x60;, sync will be additive only. | [optional] [default to false]
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **remote** | **String** | A remote to sync from. This will override a remote set on repository. | [optional] |
8
+ | **mirror** | **Boolean** | If &#x60;&#x60;True&#x60;&#x60;, synchronization will remove all content that is not present in the remote repository. If &#x60;&#x60;False&#x60;&#x60;, sync will be additive only. | [optional][default to false] |
9
9
 
10
- ## Code Sample
10
+ ## Example
11
11
 
12
12
  ```ruby
13
- require 'PulpFileClient'
13
+ require 'pulp_file_client'
14
14
 
15
- instance = PulpFileClient::RepositorySyncURL.new(remote: null,
16
- mirror: null)
15
+ instance = PulpFileClient::RepositorySyncURL.new(
16
+ remote: null,
17
+ mirror: null
18
+ )
17
19
  ```
18
20
 
19
-
@@ -2,30 +2,31 @@
2
2
 
3
3
  ## Properties
4
4
 
5
- Name | Type | Description | Notes
6
- ------------ | ------------- | ------------- | -------------
7
- **pulp_href** | **String** | | [optional] [readonly]
8
- **prn** | **String** | The Pulp Resource Name (PRN). | [optional] [readonly]
9
- **pulp_created** | **DateTime** | Timestamp of creation. | [optional] [readonly]
10
- **pulp_last_updated** | **DateTime** | Timestamp of the last time this resource was updated. Note: for immutable resources - like content, repository versions, and publication - pulp_created and pulp_last_updated dates will be the same. | [optional] [readonly]
11
- **number** | **Integer** | | [optional] [readonly]
12
- **repository** | **String** | | [optional] [readonly]
13
- **base_version** | **String** | A repository version whose content was used as the initial set of content for this repository version | [optional]
14
- **content_summary** | [**ContentSummaryResponse**](ContentSummaryResponse.md) | Various count summaries of the content in the version and the HREF to view them. | [optional] [readonly]
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **pulp_href** | **String** | | [optional][readonly] |
8
+ | **prn** | **String** | The Pulp Resource Name (PRN). | [optional][readonly] |
9
+ | **pulp_created** | **Time** | Timestamp of creation. | [optional][readonly] |
10
+ | **pulp_last_updated** | **Time** | Timestamp of the last time this resource was updated. Note: for immutable resources - like content, repository versions, and publication - pulp_created and pulp_last_updated dates will be the same. | [optional][readonly] |
11
+ | **number** | **Integer** | | [optional][readonly] |
12
+ | **repository** | **String** | | [optional][readonly] |
13
+ | **base_version** | **String** | A repository version whose content was used as the initial set of content for this repository version | [optional] |
14
+ | **content_summary** | [**ContentSummaryResponse**](ContentSummaryResponse.md) | Various count summaries of the content in the version and the HREF to view them. | [optional][readonly] |
15
15
 
16
- ## Code Sample
16
+ ## Example
17
17
 
18
18
  ```ruby
19
- require 'PulpFileClient'
19
+ require 'pulp_file_client'
20
20
 
21
- instance = PulpFileClient::RepositoryVersionResponse.new(pulp_href: null,
22
- prn: null,
23
- pulp_created: null,
24
- pulp_last_updated: null,
25
- number: null,
26
- repository: null,
27
- base_version: null,
28
- content_summary: null)
21
+ instance = PulpFileClient::RepositoryVersionResponse.new(
22
+ pulp_href: null,
23
+ prn: null,
24
+ pulp_created: null,
25
+ pulp_last_updated: null,
26
+ number: null,
27
+ repository: null,
28
+ base_version: null,
29
+ content_summary: null
30
+ )
29
31
  ```
30
32
 
31
-
data/docs/SetLabel.md CHANGED
@@ -2,18 +2,19 @@
2
2
 
3
3
  ## Properties
4
4
 
5
- Name | Type | Description | Notes
6
- ------------ | ------------- | ------------- | -------------
7
- **key** | **String** | |
8
- **value** | **String** | |
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **key** | **String** | | |
8
+ | **value** | **String** | | |
9
9
 
10
- ## Code Sample
10
+ ## Example
11
11
 
12
12
  ```ruby
13
- require 'PulpFileClient'
13
+ require 'pulp_file_client'
14
14
 
15
- instance = PulpFileClient::SetLabel.new(key: null,
16
- value: null)
15
+ instance = PulpFileClient::SetLabel.new(
16
+ key: null,
17
+ value: null
18
+ )
17
19
  ```
18
20
 
19
-
@@ -2,18 +2,19 @@
2
2
 
3
3
  ## Properties
4
4
 
5
- Name | Type | Description | Notes
6
- ------------ | ------------- | ------------- | -------------
7
- **key** | **String** | |
8
- **value** | **String** | |
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **key** | **String** | | |
8
+ | **value** | **String** | | |
9
9
 
10
- ## Code Sample
10
+ ## Example
11
11
 
12
12
  ```ruby
13
- require 'PulpFileClient'
13
+ require 'pulp_file_client'
14
14
 
15
- instance = PulpFileClient::SetLabelResponse.new(key: null,
16
- value: null)
15
+ instance = PulpFileClient::SetLabelResponse.new(
16
+ key: null,
17
+ value: null
18
+ )
17
19
  ```
18
20
 
19
-
@@ -2,16 +2,17 @@
2
2
 
3
3
  ## Properties
4
4
 
5
- Name | Type | Description | Notes
6
- ------------ | ------------- | ------------- | -------------
7
- **task_group** | **String** | The href of the task group. |
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **task_group** | **String** | The href of the task group. | |
8
8
 
9
- ## Code Sample
9
+ ## Example
10
10
 
11
11
  ```ruby
12
- require 'PulpFileClient'
12
+ require 'pulp_file_client'
13
13
 
14
- instance = PulpFileClient::TaskGroupOperationResponse.new(task_group: null)
14
+ instance = PulpFileClient::TaskGroupOperationResponse.new(
15
+ task_group: null
16
+ )
15
17
  ```
16
18
 
17
-
data/docs/UnsetLabel.md CHANGED
@@ -2,16 +2,17 @@
2
2
 
3
3
  ## Properties
4
4
 
5
- Name | Type | Description | Notes
6
- ------------ | ------------- | ------------- | -------------
7
- **key** | **String** | |
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **key** | **String** | | |
8
8
 
9
- ## Code Sample
9
+ ## Example
10
10
 
11
11
  ```ruby
12
- require 'PulpFileClient'
12
+ require 'pulp_file_client'
13
13
 
14
- instance = PulpFileClient::UnsetLabel.new(key: null)
14
+ instance = PulpFileClient::UnsetLabel.new(
15
+ key: null
16
+ )
15
17
  ```
16
18
 
17
-
@@ -2,18 +2,19 @@
2
2
 
3
3
  ## Properties
4
4
 
5
- Name | Type | Description | Notes
6
- ------------ | ------------- | ------------- | -------------
7
- **key** | **String** | |
8
- **value** | **String** | | [optional] [readonly]
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **key** | **String** | | |
8
+ | **value** | **String** | | [optional][readonly] |
9
9
 
10
- ## Code Sample
10
+ ## Example
11
11
 
12
12
  ```ruby
13
- require 'PulpFileClient'
13
+ require 'pulp_file_client'
14
14
 
15
- instance = PulpFileClient::UnsetLabelResponse.new(key: null,
16
- value: null)
15
+ instance = PulpFileClient::UnsetLabelResponse.new(
16
+ key: null,
17
+ value: null
18
+ )
17
19
  ```
18
20
 
19
-