pulp_file_client 3.69.1 → 3.70.0

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 (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,16 +2,17 @@
2
2
 
3
3
  ## Properties
4
4
 
5
- Name | Type | Description | Notes
6
- ------------ | ------------- | ------------- | -------------
7
- **task** | **String** | The href of the task. |
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **task** | **String** | The href of the task. | |
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::AsyncOperationResponse.new(task: null)
14
+ instance = PulpFileClient::AsyncOperationResponse.new(
15
+ task: null
16
+ )
15
17
  ```
16
18
 
17
-
@@ -2,26 +2,25 @@
2
2
 
3
3
  All URIs are relative to *http://localhost:24817*
4
4
 
5
- Method | HTTP request | Description
6
- ------------- | ------------- | -------------
7
- [**create**](ContentFilesApi.md#create) | **POST** /pulp/api/v3/content/file/files/ | Create a file content
8
- [**list**](ContentFilesApi.md#list) | **GET** /pulp/api/v3/content/file/files/ | List file contents
9
- [**read**](ContentFilesApi.md#read) | **GET** {file_file_content_href} | Inspect a file content
10
-
5
+ | Method | HTTP request | Description |
6
+ | ------ | ------------ | ----------- |
7
+ | [**create**](ContentFilesApi.md#create) | **POST** /pulp/api/v3/content/file/files/ | Create a file content |
8
+ | [**list**](ContentFilesApi.md#list) | **GET** /pulp/api/v3/content/file/files/ | List file contents |
9
+ | [**read**](ContentFilesApi.md#read) | **GET** {file_file_content_href} | Inspect a file content |
11
10
 
12
11
 
13
12
  ## create
14
13
 
15
- > AsyncOperationResponse create(relative_path, opts)
14
+ > <AsyncOperationResponse> create(relative_path, opts)
16
15
 
17
16
  Create a file content
18
17
 
19
18
  Trigger an asynchronous task to create content,optionally create new repository version.
20
19
 
21
- ### Example
20
+ ### Examples
22
21
 
23
22
  ```ruby
24
- # load the gem
23
+ require 'time'
25
24
  require 'pulp_file_client'
26
25
  # setup authorization
27
26
  PulpFileClient.configure do |config|
@@ -35,31 +34,48 @@ relative_path = 'relative_path_example' # String | Path where the artifact is lo
35
34
  opts = {
36
35
  repository: 'repository_example', # String | A URI of a repository the new content unit should be associated with.
37
36
  artifact: 'artifact_example', # String | Artifact file representing the physical content
38
- file: File.new('/path/to/file'), # File | An uploaded file that may be turned into the content unit.
37
+ file: File.new('/path/to/some/file'), # File | An uploaded file that may be turned into the content unit.
39
38
  upload: 'upload_example', # String | An uncommitted upload that may be turned into the content unit.
40
39
  file_url: 'file_url_example' # String | A url that Pulp can download and turn into the content unit.
41
40
  }
42
41
 
43
42
  begin
44
- #Create a file content
43
+ # Create a file content
45
44
  result = api_instance.create(relative_path, opts)
46
45
  p result
47
46
  rescue PulpFileClient::ApiError => e
48
- puts "Exception when calling ContentFilesApi->create: #{e}"
47
+ puts "Error when calling ContentFilesApi->create: #{e}"
49
48
  end
50
49
  ```
51
50
 
52
- ### Parameters
51
+ #### Using the create_with_http_info variant
52
+
53
+ This returns an Array which contains the response data, status code and headers.
54
+
55
+ > <Array(<AsyncOperationResponse>, Integer, Hash)> create_with_http_info(relative_path, opts)
56
+
57
+ ```ruby
58
+ begin
59
+ # Create a file content
60
+ data, status_code, headers = api_instance.create_with_http_info(relative_path, opts)
61
+ p status_code # => 2xx
62
+ p headers # => { ... }
63
+ p data # => <AsyncOperationResponse>
64
+ rescue PulpFileClient::ApiError => e
65
+ puts "Error when calling ContentFilesApi->create_with_http_info: #{e}"
66
+ end
67
+ ```
53
68
 
69
+ ### Parameters
54
70
 
55
- Name | Type | Description | Notes
56
- ------------- | ------------- | ------------- | -------------
57
- **relative_path** | **String**| Path where the artifact is located relative to distributions base_path |
58
- **repository** | **String**| A URI of a repository the new content unit should be associated with. | [optional]
59
- **artifact** | **String**| Artifact file representing the physical content | [optional]
60
- **file** | **File**| An uploaded file that may be turned into the content unit. | [optional]
61
- **upload** | **String**| An uncommitted upload that may be turned into the content unit. | [optional]
62
- **file_url** | **String**| A url that Pulp can download and turn into the content unit. | [optional]
71
+ | Name | Type | Description | Notes |
72
+ | ---- | ---- | ----------- | ----- |
73
+ | **relative_path** | **String** | Path where the artifact is located relative to distributions base_path | |
74
+ | **repository** | **String** | A URI of a repository the new content unit should be associated with. | [optional] |
75
+ | **artifact** | **String** | Artifact file representing the physical content | [optional] |
76
+ | **file** | **File** | An uploaded file that may be turned into the content unit. | [optional] |
77
+ | **upload** | **String** | An uncommitted upload that may be turned into the content unit. | [optional] |
78
+ | **file_url** | **String** | A url that Pulp can download and turn into the content unit. | [optional] |
63
79
 
64
80
  ### Return type
65
81
 
@@ -77,16 +93,16 @@ Name | Type | Description | Notes
77
93
 
78
94
  ## list
79
95
 
80
- > PaginatedfileFileContentResponseList list(opts)
96
+ > <PaginatedfileFileContentResponseList> list(opts)
81
97
 
82
98
  List file contents
83
99
 
84
100
  FileContent represents a single file and its metadata, which can be added and removed from repositories.
85
101
 
86
- ### Example
102
+ ### Examples
87
103
 
88
104
  ```ruby
89
- # load the gem
105
+ require 'time'
90
106
  require 'pulp_file_client'
91
107
  # setup authorization
92
108
  PulpFileClient.configure do |config|
@@ -99,50 +115,67 @@ api_instance = PulpFileClient::ContentFilesApi.new
99
115
  opts = {
100
116
  limit: 56, # Integer | Number of results to return per page.
101
117
  offset: 56, # Integer | The initial index from which to return the results.
102
- 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) * `pulp_type` - Pulp type * `-pulp_type` - Pulp type (descending) * `upstream_id` - Upstream id * `-upstream_id` - Upstream id (descending) * `timestamp_of_interest` - Timestamp of interest * `-timestamp_of_interest` - Timestamp of interest (descending) * `relative_path` - Relative path * `-relative_path` - Relative path (descending) * `digest` - Digest * `-digest` - Digest (descending) * `pk` - Pk * `-pk` - Pk (descending)
103
- orphaned_for: 3.4, # Float | Minutes Content has been orphaned for. -1 uses ORPHAN_PROTECTION_TIME.
104
- prn__in: ['prn__in_example'], # Array<String> | Multiple values may be separated by commas.
105
- pulp_href__in: ['pulp_href__in_example'], # Array<String> | Multiple values may be separated by commas.
106
- pulp_id__in: ['pulp_id__in_example'], # Array<String> | Multiple values may be separated by commas.
118
+ ordering: ['-digest'], # 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) * `pulp_type` - Pulp type * `-pulp_type` - Pulp type (descending) * `upstream_id` - Upstream id * `-upstream_id` - Upstream id (descending) * `timestamp_of_interest` - Timestamp of interest * `-timestamp_of_interest` - Timestamp of interest (descending) * `relative_path` - Relative path * `-relative_path` - Relative path (descending) * `digest` - Digest * `-digest` - Digest (descending) * `pk` - Pk * `-pk` - Pk (descending)
119
+ orphaned_for: 8.14, # Float | Minutes Content has been orphaned for. -1 uses ORPHAN_PROTECTION_TIME.
120
+ prn__in: ['inner_example'], # Array<String> | Multiple values may be separated by commas.
121
+ pulp_href__in: ['inner_example'], # Array<String> | Multiple values may be separated by commas.
122
+ pulp_id__in: ['inner_example'], # Array<String> | Multiple values may be separated by commas.
107
123
  q: 'q_example', # String | Filter results by using NOT, AND and OR operations on other filters
108
124
  relative_path: 'relative_path_example', # String | Filter results where relative_path matches value
109
125
  repository_version: 'repository_version_example', # String | Repository Version referenced by HREF/PRN
110
126
  repository_version_added: 'repository_version_added_example', # String | Repository Version referenced by HREF/PRN
111
127
  repository_version_removed: 'repository_version_removed_example', # String | Repository Version referenced by HREF/PRN
112
128
  sha256: 'sha256_example', # String |
113
- fields: ['fields_example'], # Array<String> | A list of fields to include in the response.
114
- exclude_fields: ['exclude_fields_example'] # Array<String> | A list of fields to exclude from the response.
129
+ fields: ['inner_example'], # Array<String> | A list of fields to include in the response.
130
+ exclude_fields: ['inner_example'] # Array<String> | A list of fields to exclude from the response.
115
131
  }
116
132
 
117
133
  begin
118
- #List file contents
134
+ # List file contents
119
135
  result = api_instance.list(opts)
120
136
  p result
121
137
  rescue PulpFileClient::ApiError => e
122
- puts "Exception when calling ContentFilesApi->list: #{e}"
138
+ puts "Error when calling ContentFilesApi->list: #{e}"
123
139
  end
124
140
  ```
125
141
 
126
- ### Parameters
142
+ #### Using the list_with_http_info variant
127
143
 
144
+ This returns an Array which contains the response data, status code and headers.
128
145
 
129
- Name | Type | Description | Notes
130
- ------------- | ------------- | ------------- | -------------
131
- **limit** | **Integer**| Number of results to return per page. | [optional]
132
- **offset** | **Integer**| The initial index from which to return the results. | [optional]
133
- **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;pulp_type&#x60; - Pulp type * &#x60;-pulp_type&#x60; - Pulp type (descending) * &#x60;upstream_id&#x60; - Upstream id * &#x60;-upstream_id&#x60; - Upstream id (descending) * &#x60;timestamp_of_interest&#x60; - Timestamp of interest * &#x60;-timestamp_of_interest&#x60; - Timestamp of interest (descending) * &#x60;relative_path&#x60; - Relative path * &#x60;-relative_path&#x60; - Relative path (descending) * &#x60;digest&#x60; - Digest * &#x60;-digest&#x60; - Digest (descending) * &#x60;pk&#x60; - Pk * &#x60;-pk&#x60; - Pk (descending) | [optional]
134
- **orphaned_for** | **Float**| Minutes Content has been orphaned for. -1 uses ORPHAN_PROTECTION_TIME. | [optional]
135
- **prn__in** | [**Array&lt;String&gt;**](String.md)| Multiple values may be separated by commas. | [optional]
136
- **pulp_href__in** | [**Array&lt;String&gt;**](String.md)| Multiple values may be separated by commas. | [optional]
137
- **pulp_id__in** | [**Array&lt;String&gt;**](String.md)| Multiple values may be separated by commas. | [optional]
138
- **q** | **String**| Filter results by using NOT, AND and OR operations on other filters | [optional]
139
- **relative_path** | **String**| Filter results where relative_path matches value | [optional]
140
- **repository_version** | **String**| Repository Version referenced by HREF/PRN | [optional]
141
- **repository_version_added** | **String**| Repository Version referenced by HREF/PRN | [optional]
142
- **repository_version_removed** | **String**| Repository Version referenced by HREF/PRN | [optional]
143
- **sha256** | **String**| | [optional]
144
- **fields** | [**Array&lt;String&gt;**](String.md)| A list of fields to include in the response. | [optional]
145
- **exclude_fields** | [**Array&lt;String&gt;**](String.md)| A list of fields to exclude from the response. | [optional]
146
+ > <Array(<PaginatedfileFileContentResponseList>, Integer, Hash)> list_with_http_info(opts)
147
+
148
+ ```ruby
149
+ begin
150
+ # List file contents
151
+ data, status_code, headers = api_instance.list_with_http_info(opts)
152
+ p status_code # => 2xx
153
+ p headers # => { ... }
154
+ p data # => <PaginatedfileFileContentResponseList>
155
+ rescue PulpFileClient::ApiError => e
156
+ puts "Error when calling ContentFilesApi->list_with_http_info: #{e}"
157
+ end
158
+ ```
159
+
160
+ ### Parameters
161
+
162
+ | Name | Type | Description | Notes |
163
+ | ---- | ---- | ----------- | ----- |
164
+ | **limit** | **Integer** | Number of results to return per page. | [optional] |
165
+ | **offset** | **Integer** | The initial index from which to return the results. | [optional] |
166
+ | **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;pulp_type&#x60; - Pulp type * &#x60;-pulp_type&#x60; - Pulp type (descending) * &#x60;upstream_id&#x60; - Upstream id * &#x60;-upstream_id&#x60; - Upstream id (descending) * &#x60;timestamp_of_interest&#x60; - Timestamp of interest * &#x60;-timestamp_of_interest&#x60; - Timestamp of interest (descending) * &#x60;relative_path&#x60; - Relative path * &#x60;-relative_path&#x60; - Relative path (descending) * &#x60;digest&#x60; - Digest * &#x60;-digest&#x60; - Digest (descending) * &#x60;pk&#x60; - Pk * &#x60;-pk&#x60; - Pk (descending) | [optional] |
167
+ | **orphaned_for** | **Float** | Minutes Content has been orphaned for. -1 uses ORPHAN_PROTECTION_TIME. | [optional] |
168
+ | **prn__in** | [**Array&lt;String&gt;**](String.md) | Multiple values may be separated by commas. | [optional] |
169
+ | **pulp_href__in** | [**Array&lt;String&gt;**](String.md) | Multiple values may be separated by commas. | [optional] |
170
+ | **pulp_id__in** | [**Array&lt;String&gt;**](String.md) | Multiple values may be separated by commas. | [optional] |
171
+ | **q** | **String** | Filter results by using NOT, AND and OR operations on other filters | [optional] |
172
+ | **relative_path** | **String** | Filter results where relative_path matches value | [optional] |
173
+ | **repository_version** | **String** | Repository Version referenced by HREF/PRN | [optional] |
174
+ | **repository_version_added** | **String** | Repository Version referenced by HREF/PRN | [optional] |
175
+ | **repository_version_removed** | **String** | Repository Version referenced by HREF/PRN | [optional] |
176
+ | **sha256** | **String** | | [optional] |
177
+ | **fields** | [**Array&lt;String&gt;**](String.md) | A list of fields to include in the response. | [optional] |
178
+ | **exclude_fields** | [**Array&lt;String&gt;**](String.md) | A list of fields to exclude from the response. | [optional] |
146
179
 
147
180
  ### Return type
148
181
 
@@ -160,16 +193,16 @@ Name | Type | Description | Notes
160
193
 
161
194
  ## read
162
195
 
163
- > FileFileContentResponse read(file_file_content_href, opts)
196
+ > <FileFileContentResponse> read(file_file_content_href, opts)
164
197
 
165
198
  Inspect a file content
166
199
 
167
200
  FileContent represents a single file and its metadata, which can be added and removed from repositories.
168
201
 
169
- ### Example
202
+ ### Examples
170
203
 
171
204
  ```ruby
172
- # load the gem
205
+ require 'time'
173
206
  require 'pulp_file_client'
174
207
  # setup authorization
175
208
  PulpFileClient.configure do |config|
@@ -181,27 +214,44 @@ end
181
214
  api_instance = PulpFileClient::ContentFilesApi.new
182
215
  file_file_content_href = 'file_file_content_href_example' # String |
183
216
  opts = {
184
- fields: ['fields_example'], # Array<String> | A list of fields to include in the response.
185
- exclude_fields: ['exclude_fields_example'] # Array<String> | A list of fields to exclude from the response.
217
+ fields: ['inner_example'], # Array<String> | A list of fields to include in the response.
218
+ exclude_fields: ['inner_example'] # Array<String> | A list of fields to exclude from the response.
186
219
  }
187
220
 
188
221
  begin
189
- #Inspect a file content
222
+ # Inspect a file content
190
223
  result = api_instance.read(file_file_content_href, opts)
191
224
  p result
192
225
  rescue PulpFileClient::ApiError => e
193
- puts "Exception when calling ContentFilesApi->read: #{e}"
226
+ puts "Error when calling ContentFilesApi->read: #{e}"
194
227
  end
195
228
  ```
196
229
 
197
- ### Parameters
230
+ #### Using the read_with_http_info variant
231
+
232
+ This returns an Array which contains the response data, status code and headers.
233
+
234
+ > <Array(<FileFileContentResponse>, Integer, Hash)> read_with_http_info(file_file_content_href, opts)
198
235
 
236
+ ```ruby
237
+ begin
238
+ # Inspect a file content
239
+ data, status_code, headers = api_instance.read_with_http_info(file_file_content_href, opts)
240
+ p status_code # => 2xx
241
+ p headers # => { ... }
242
+ p data # => <FileFileContentResponse>
243
+ rescue PulpFileClient::ApiError => e
244
+ puts "Error when calling ContentFilesApi->read_with_http_info: #{e}"
245
+ end
246
+ ```
247
+
248
+ ### Parameters
199
249
 
200
- Name | Type | Description | Notes
201
- ------------- | ------------- | ------------- | -------------
202
- **file_file_content_href** | **String**| |
203
- **fields** | [**Array&lt;String&gt;**](String.md)| A list of fields to include in the response. | [optional]
204
- **exclude_fields** | [**Array&lt;String&gt;**](String.md)| A list of fields to exclude from the response. | [optional]
250
+ | Name | Type | Description | Notes |
251
+ | ---- | ---- | ----------- | ----- |
252
+ | **file_file_content_href** | **String** | | |
253
+ | **fields** | [**Array&lt;String&gt;**](String.md) | A list of fields to include in the response. | [optional] |
254
+ | **exclude_fields** | [**Array&lt;String&gt;**](String.md) | A list of fields to exclude from the response. | [optional] |
205
255
 
206
256
  ### Return type
207
257
 
@@ -2,20 +2,21 @@
2
2
 
3
3
  ## Properties
4
4
 
5
- Name | Type | Description | Notes
6
- ------------ | ------------- | ------------- | -------------
7
- **added** | **Hash&lt;String, Object&gt;** | |
8
- **removed** | **Hash&lt;String, Object&gt;** | |
9
- **present** | **Hash&lt;String, Object&gt;** | |
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **added** | **Hash&lt;String, Object&gt;** | | |
8
+ | **removed** | **Hash&lt;String, Object&gt;** | | |
9
+ | **present** | **Hash&lt;String, Object&gt;** | | |
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::ContentSummaryResponse.new(added: null,
17
- removed: null,
18
- present: null)
16
+ instance = PulpFileClient::ContentSummaryResponse.new(
17
+ added: null,
18
+ removed: null,
19
+ present: null
20
+ )
19
21
  ```
20
22
 
21
-