pulp_ostree_client 2.4.6 → 2.4.7
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.
- checksums.yaml +4 -4
 - data/README.md +18 -5
 - data/docs/ContentCommitsApi.md +150 -2
 - data/docs/ContentConfigsApi.md +148 -0
 - data/docs/ContentContentApi.md +148 -0
 - data/docs/ContentObjectsApi.md +150 -2
 - data/docs/ContentRefsApi.md +150 -2
 - data/docs/ContentSummariesApi.md +148 -0
 - data/docs/DistributionsOstreeApi.md +4 -2
 - data/docs/OstreeOstreeCommitResponse.md +2 -0
 - data/docs/OstreeOstreeConfigResponse.md +2 -0
 - data/docs/OstreeOstreeContent.md +2 -0
 - data/docs/OstreeOstreeContentResponse.md +2 -0
 - data/docs/OstreeOstreeObjectResponse.md +2 -0
 - data/docs/OstreeOstreeRefResponse.md +2 -0
 - data/docs/OstreeOstreeSummaryResponse.md +2 -0
 - data/lib/pulp_ostree_client/api/content_commits_api.rb +154 -3
 - data/lib/pulp_ostree_client/api/content_configs_api.rb +151 -0
 - data/lib/pulp_ostree_client/api/content_content_api.rb +151 -0
 - data/lib/pulp_ostree_client/api/content_objects_api.rb +154 -3
 - data/lib/pulp_ostree_client/api/content_refs_api.rb +154 -3
 - data/lib/pulp_ostree_client/api/content_summaries_api.rb +151 -0
 - data/lib/pulp_ostree_client/api/distributions_ostree_api.rb +6 -3
 - data/lib/pulp_ostree_client/models/ostree_ostree_commit_response.rb +13 -1
 - data/lib/pulp_ostree_client/models/ostree_ostree_config_response.rb +13 -1
 - data/lib/pulp_ostree_client/models/ostree_ostree_content.rb +13 -1
 - data/lib/pulp_ostree_client/models/ostree_ostree_content_response.rb +13 -1
 - data/lib/pulp_ostree_client/models/ostree_ostree_object_response.rb +13 -1
 - data/lib/pulp_ostree_client/models/ostree_ostree_ref_response.rb +13 -1
 - data/lib/pulp_ostree_client/models/ostree_ostree_summary_response.rb +13 -1
 - data/lib/pulp_ostree_client/models/unset_label.rb +1 -1
 - data/lib/pulp_ostree_client/models/unset_label_response.rb +1 -1
 - data/lib/pulp_ostree_client/version.rb +1 -1
 - data/spec/api/content_commits_api_spec.rb +28 -1
 - data/spec/api/content_configs_api_spec.rb +27 -0
 - data/spec/api/content_content_api_spec.rb +27 -0
 - data/spec/api/content_objects_api_spec.rb +28 -1
 - data/spec/api/content_refs_api_spec.rb +28 -1
 - data/spec/api/content_summaries_api_spec.rb +27 -0
 - data/spec/api/distributions_ostree_api_spec.rb +2 -1
 - data/spec/models/ostree_ostree_commit_response_spec.rb +6 -0
 - data/spec/models/ostree_ostree_config_response_spec.rb +6 -0
 - data/spec/models/ostree_ostree_content_response_spec.rb +6 -0
 - data/spec/models/ostree_ostree_content_spec.rb +6 -0
 - data/spec/models/ostree_ostree_object_response_spec.rb +6 -0
 - data/spec/models/ostree_ostree_ref_response_spec.rb +6 -0
 - data/spec/models/ostree_ostree_summary_response_spec.rb +6 -0
 - metadata +42 -42
 
| 
         @@ -8,6 +8,7 @@ 
     | 
|
| 
       8 
8 
     | 
    
         
             
            | **prn** | **String** | The Pulp Resource Name (PRN). | [optional][readonly] |
         
     | 
| 
       9 
9 
     | 
    
         
             
            | **pulp_created** | **Time** | Timestamp of creation. | [optional][readonly] |
         
     | 
| 
       10 
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 
     | 
    
         
            +
            | **pulp_labels** | **Hash<String, String>** | A dictionary of arbitrary key/value pairs used to describe a specific Content instance. | [optional] |
         
     | 
| 
       11 
12 
     | 
    
         
             
            | **artifact** | **String** | Artifact file representing the physical content |  |
         
     | 
| 
       12 
13 
     | 
    
         
             
            | **relative_path** | **String** | Path where the artifact is located relative to distributions base_path |  |
         
     | 
| 
       13 
14 
     | 
    
         
             
            | **commit** | **String** |  |  |
         
     | 
| 
         @@ -24,6 +25,7 @@ instance = PulpOstreeClient::OstreeOstreeRefResponse.new( 
     | 
|
| 
       24 
25 
     | 
    
         
             
              prn: null,
         
     | 
| 
       25 
26 
     | 
    
         
             
              pulp_created: null,
         
     | 
| 
       26 
27 
     | 
    
         
             
              pulp_last_updated: null,
         
     | 
| 
      
 28 
     | 
    
         
            +
              pulp_labels: null,
         
     | 
| 
       27 
29 
     | 
    
         
             
              artifact: null,
         
     | 
| 
       28 
30 
     | 
    
         
             
              relative_path: null,
         
     | 
| 
       29 
31 
     | 
    
         
             
              commit: null,
         
     | 
| 
         @@ -8,6 +8,7 @@ 
     | 
|
| 
       8 
8 
     | 
    
         
             
            | **prn** | **String** | The Pulp Resource Name (PRN). | [optional][readonly] |
         
     | 
| 
       9 
9 
     | 
    
         
             
            | **pulp_created** | **Time** | Timestamp of creation. | [optional][readonly] |
         
     | 
| 
       10 
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 
     | 
    
         
            +
            | **pulp_labels** | **Hash<String, String>** | A dictionary of arbitrary key/value pairs used to describe a specific Content instance. | [optional] |
         
     | 
| 
       11 
12 
     | 
    
         
             
            | **artifact** | **String** | Artifact file representing the physical content |  |
         
     | 
| 
       12 
13 
     | 
    
         
             
            | **relative_path** | **String** | Path where the artifact is located relative to distributions base_path |  |
         
     | 
| 
       13 
14 
     | 
    
         | 
| 
         @@ -21,6 +22,7 @@ instance = PulpOstreeClient::OstreeOstreeSummaryResponse.new( 
     | 
|
| 
       21 
22 
     | 
    
         
             
              prn: null,
         
     | 
| 
       22 
23 
     | 
    
         
             
              pulp_created: null,
         
     | 
| 
       23 
24 
     | 
    
         
             
              pulp_last_updated: null,
         
     | 
| 
      
 25 
     | 
    
         
            +
              pulp_labels: null,
         
     | 
| 
       24 
26 
     | 
    
         
             
              artifact: null,
         
     | 
| 
       25 
27 
     | 
    
         
             
              relative_path: null
         
     | 
| 
       26 
28 
     | 
    
         
             
            )
         
     | 
| 
         @@ -25,11 +25,12 @@ module PulpOstreeClient 
     | 
|
| 
       25 
25 
     | 
    
         
             
                # @option opts [String] :checksum Filter results where checksum matches value
         
     | 
| 
       26 
26 
     | 
    
         
             
                # @option opts [Integer] :limit Number of results to return per page.
         
     | 
| 
       27 
27 
     | 
    
         
             
                # @option opts [Integer] :offset The initial index from which to return the results.
         
     | 
| 
       28 
     | 
    
         
            -
                # @option opts [Array<String>] :ordering 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) * `checksum` - Checksum * `-checksum` - Checksum (descending) * `relative_path` - Relative path * `-relative_path` - Relative path (descending) * `pk` - Pk * `-pk` - Pk (descending)
         
     | 
| 
      
 28 
     | 
    
         
            +
                # @option opts [Array<String>] :ordering 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) * `pulp_labels` - Pulp labels * `-pulp_labels` - Pulp labels (descending) * `timestamp_of_interest` - Timestamp of interest * `-timestamp_of_interest` - Timestamp of interest (descending) * `checksum` - Checksum * `-checksum` - Checksum (descending) * `relative_path` - Relative path * `-relative_path` - Relative path (descending) * `pk` - Pk * `-pk` - Pk (descending)
         
     | 
| 
       29 
29 
     | 
    
         
             
                # @option opts [Float] :orphaned_for Minutes Content has been orphaned for. -1 uses ORPHAN_PROTECTION_TIME.
         
     | 
| 
       30 
30 
     | 
    
         
             
                # @option opts [Array<String>] :prn__in Multiple values may be separated by commas.
         
     | 
| 
       31 
31 
     | 
    
         
             
                # @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
         
     | 
| 
       32 
32 
     | 
    
         
             
                # @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
         
     | 
| 
      
 33 
     | 
    
         
            +
                # @option opts [String] :pulp_label_select Filter labels by search string
         
     | 
| 
       33 
34 
     | 
    
         
             
                # @option opts [String] :q Filter results by using NOT, AND and OR operations on other filters
         
     | 
| 
       34 
35 
     | 
    
         
             
                # @option opts [String] :repository_version Repository Version referenced by HREF/PRN
         
     | 
| 
       35 
36 
     | 
    
         
             
                # @option opts [String] :repository_version_added Repository Version referenced by HREF/PRN
         
     | 
| 
         @@ -48,11 +49,12 @@ module PulpOstreeClient 
     | 
|
| 
       48 
49 
     | 
    
         
             
                # @option opts [String] :checksum Filter results where checksum matches value
         
     | 
| 
       49 
50 
     | 
    
         
             
                # @option opts [Integer] :limit Number of results to return per page.
         
     | 
| 
       50 
51 
     | 
    
         
             
                # @option opts [Integer] :offset The initial index from which to return the results.
         
     | 
| 
       51 
     | 
    
         
            -
                # @option opts [Array<String>] :ordering 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) * `checksum` - Checksum * `-checksum` - Checksum (descending) * `relative_path` - Relative path * `-relative_path` - Relative path (descending) * `pk` - Pk * `-pk` - Pk (descending)
         
     | 
| 
      
 52 
     | 
    
         
            +
                # @option opts [Array<String>] :ordering 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) * `pulp_labels` - Pulp labels * `-pulp_labels` - Pulp labels (descending) * `timestamp_of_interest` - Timestamp of interest * `-timestamp_of_interest` - Timestamp of interest (descending) * `checksum` - Checksum * `-checksum` - Checksum (descending) * `relative_path` - Relative path * `-relative_path` - Relative path (descending) * `pk` - Pk * `-pk` - Pk (descending)
         
     | 
| 
       52 
53 
     | 
    
         
             
                # @option opts [Float] :orphaned_for Minutes Content has been orphaned for. -1 uses ORPHAN_PROTECTION_TIME.
         
     | 
| 
       53 
54 
     | 
    
         
             
                # @option opts [Array<String>] :prn__in Multiple values may be separated by commas.
         
     | 
| 
       54 
55 
     | 
    
         
             
                # @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
         
     | 
| 
       55 
56 
     | 
    
         
             
                # @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
         
     | 
| 
      
 57 
     | 
    
         
            +
                # @option opts [String] :pulp_label_select Filter labels by search string
         
     | 
| 
       56 
58 
     | 
    
         
             
                # @option opts [String] :q Filter results by using NOT, AND and OR operations on other filters
         
     | 
| 
       57 
59 
     | 
    
         
             
                # @option opts [String] :repository_version Repository Version referenced by HREF/PRN
         
     | 
| 
       58 
60 
     | 
    
         
             
                # @option opts [String] :repository_version_added Repository Version referenced by HREF/PRN
         
     | 
| 
         @@ -64,7 +66,7 @@ module PulpOstreeClient 
     | 
|
| 
       64 
66 
     | 
    
         
             
                  if @api_client.config.debugging
         
     | 
| 
       65 
67 
     | 
    
         
             
                    @api_client.config.logger.debug 'Calling API: ContentCommitsApi.list ...'
         
     | 
| 
       66 
68 
     | 
    
         
             
                  end
         
     | 
| 
       67 
     | 
    
         
            -
                  allowable_values = ["-checksum", "-pk", "-pulp_created", "-pulp_id", "-pulp_last_updated", "-pulp_type", "-relative_path", "-timestamp_of_interest", "-upstream_id", "checksum", "pk", "pulp_created", "pulp_id", "pulp_last_updated", "pulp_type", "relative_path", "timestamp_of_interest", "upstream_id"]
         
     | 
| 
      
 69 
     | 
    
         
            +
                  allowable_values = ["-checksum", "-pk", "-pulp_created", "-pulp_id", "-pulp_labels", "-pulp_last_updated", "-pulp_type", "-relative_path", "-timestamp_of_interest", "-upstream_id", "checksum", "pk", "pulp_created", "pulp_id", "pulp_labels", "pulp_last_updated", "pulp_type", "relative_path", "timestamp_of_interest", "upstream_id"]
         
     | 
| 
       68 
70 
     | 
    
         
             
                  if @api_client.config.client_side_validation && opts[:'ordering'] && !opts[:'ordering'].all? { |item| allowable_values.include?(item) }
         
     | 
| 
       69 
71 
     | 
    
         
             
                    fail ArgumentError, "invalid value for \"ordering\", must include one of #{allowable_values}"
         
     | 
| 
       70 
72 
     | 
    
         
             
                  end
         
     | 
| 
         @@ -81,6 +83,7 @@ module PulpOstreeClient 
     | 
|
| 
       81 
83 
     | 
    
         
             
                  query_params[:'prn__in'] = @api_client.build_collection_param(opts[:'prn__in'], :csv) if !opts[:'prn__in'].nil?
         
     | 
| 
       82 
84 
     | 
    
         
             
                  query_params[:'pulp_href__in'] = @api_client.build_collection_param(opts[:'pulp_href__in'], :csv) if !opts[:'pulp_href__in'].nil?
         
     | 
| 
       83 
85 
     | 
    
         
             
                  query_params[:'pulp_id__in'] = @api_client.build_collection_param(opts[:'pulp_id__in'], :csv) if !opts[:'pulp_id__in'].nil?
         
     | 
| 
      
 86 
     | 
    
         
            +
                  query_params[:'pulp_label_select'] = opts[:'pulp_label_select'] if !opts[:'pulp_label_select'].nil?
         
     | 
| 
       84 
87 
     | 
    
         
             
                  query_params[:'q'] = opts[:'q'] if !opts[:'q'].nil?
         
     | 
| 
       85 
88 
     | 
    
         
             
                  query_params[:'repository_version'] = opts[:'repository_version'] if !opts[:'repository_version'].nil?
         
     | 
| 
       86 
89 
     | 
    
         
             
                  query_params[:'repository_version_added'] = opts[:'repository_version_added'] if !opts[:'repository_version_added'].nil?
         
     | 
| 
         @@ -190,5 +193,153 @@ module PulpOstreeClient 
     | 
|
| 
       190 
193 
     | 
    
         
             
                  end
         
     | 
| 
       191 
194 
     | 
    
         
             
                  return data, status_code, headers
         
     | 
| 
       192 
195 
     | 
    
         
             
                end
         
     | 
| 
      
 196 
     | 
    
         
            +
             
     | 
| 
      
 197 
     | 
    
         
            +
                # Set a label
         
     | 
| 
      
 198 
     | 
    
         
            +
                # Set a single pulp_label on the object to a specific value or null.
         
     | 
| 
      
 199 
     | 
    
         
            +
                # @param ostree_ostree_commit_href [String] 
         
     | 
| 
      
 200 
     | 
    
         
            +
                # @param set_label [SetLabel] 
         
     | 
| 
      
 201 
     | 
    
         
            +
                # @param [Hash] opts the optional parameters
         
     | 
| 
      
 202 
     | 
    
         
            +
                # @return [SetLabelResponse]
         
     | 
| 
      
 203 
     | 
    
         
            +
                def set_label(ostree_ostree_commit_href, set_label, opts = {})
         
     | 
| 
      
 204 
     | 
    
         
            +
                  data, _status_code, _headers = set_label_with_http_info(ostree_ostree_commit_href, set_label, opts)
         
     | 
| 
      
 205 
     | 
    
         
            +
                  data
         
     | 
| 
      
 206 
     | 
    
         
            +
                end
         
     | 
| 
      
 207 
     | 
    
         
            +
             
     | 
| 
      
 208 
     | 
    
         
            +
                # Set a label
         
     | 
| 
      
 209 
     | 
    
         
            +
                # Set a single pulp_label on the object to a specific value or null.
         
     | 
| 
      
 210 
     | 
    
         
            +
                # @param ostree_ostree_commit_href [String] 
         
     | 
| 
      
 211 
     | 
    
         
            +
                # @param set_label [SetLabel] 
         
     | 
| 
      
 212 
     | 
    
         
            +
                # @param [Hash] opts the optional parameters
         
     | 
| 
      
 213 
     | 
    
         
            +
                # @return [Array<(SetLabelResponse, Integer, Hash)>] SetLabelResponse data, response status code and response headers
         
     | 
| 
      
 214 
     | 
    
         
            +
                def set_label_with_http_info(ostree_ostree_commit_href, set_label, opts = {})
         
     | 
| 
      
 215 
     | 
    
         
            +
                  if @api_client.config.debugging
         
     | 
| 
      
 216 
     | 
    
         
            +
                    @api_client.config.logger.debug 'Calling API: ContentCommitsApi.set_label ...'
         
     | 
| 
      
 217 
     | 
    
         
            +
                  end
         
     | 
| 
      
 218 
     | 
    
         
            +
                  # verify the required parameter 'ostree_ostree_commit_href' is set
         
     | 
| 
      
 219 
     | 
    
         
            +
                  if @api_client.config.client_side_validation && ostree_ostree_commit_href.nil?
         
     | 
| 
      
 220 
     | 
    
         
            +
                    fail ArgumentError, "Missing the required parameter 'ostree_ostree_commit_href' when calling ContentCommitsApi.set_label"
         
     | 
| 
      
 221 
     | 
    
         
            +
                  end
         
     | 
| 
      
 222 
     | 
    
         
            +
                  # verify the required parameter 'set_label' is set
         
     | 
| 
      
 223 
     | 
    
         
            +
                  if @api_client.config.client_side_validation && set_label.nil?
         
     | 
| 
      
 224 
     | 
    
         
            +
                    fail ArgumentError, "Missing the required parameter 'set_label' when calling ContentCommitsApi.set_label"
         
     | 
| 
      
 225 
     | 
    
         
            +
                  end
         
     | 
| 
      
 226 
     | 
    
         
            +
                  # resource path
         
     | 
| 
      
 227 
     | 
    
         
            +
                  local_var_path = '{ostree_ostree_commit_href}set_label/'.sub('{' + 'ostree_ostree_commit_href' + '}', CGI.escape(ostree_ostree_commit_href.to_s).gsub('%2F', '/'))
         
     | 
| 
      
 228 
     | 
    
         
            +
             
     | 
| 
      
 229 
     | 
    
         
            +
                  # query parameters
         
     | 
| 
      
 230 
     | 
    
         
            +
                  query_params = opts[:query_params] || {}
         
     | 
| 
      
 231 
     | 
    
         
            +
             
     | 
| 
      
 232 
     | 
    
         
            +
                  # header parameters
         
     | 
| 
      
 233 
     | 
    
         
            +
                  header_params = opts[:header_params] || {}
         
     | 
| 
      
 234 
     | 
    
         
            +
                  # HTTP header 'Accept' (if needed)
         
     | 
| 
      
 235 
     | 
    
         
            +
                  header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
         
     | 
| 
      
 236 
     | 
    
         
            +
                  # HTTP header 'Content-Type'
         
     | 
| 
      
 237 
     | 
    
         
            +
                  content_type = @api_client.select_header_content_type(['application/json', 'application/x-www-form-urlencoded', 'multipart/form-data'])
         
     | 
| 
      
 238 
     | 
    
         
            +
                  if !content_type.nil?
         
     | 
| 
      
 239 
     | 
    
         
            +
                      header_params['Content-Type'] = content_type
         
     | 
| 
      
 240 
     | 
    
         
            +
                  end
         
     | 
| 
      
 241 
     | 
    
         
            +
             
     | 
| 
      
 242 
     | 
    
         
            +
                  # form parameters
         
     | 
| 
      
 243 
     | 
    
         
            +
                  form_params = opts[:form_params] || {}
         
     | 
| 
      
 244 
     | 
    
         
            +
             
     | 
| 
      
 245 
     | 
    
         
            +
                  # http body (model)
         
     | 
| 
      
 246 
     | 
    
         
            +
                  post_body = opts[:debug_body] || @api_client.object_to_http_body(set_label)
         
     | 
| 
      
 247 
     | 
    
         
            +
             
     | 
| 
      
 248 
     | 
    
         
            +
                  # return_type
         
     | 
| 
      
 249 
     | 
    
         
            +
                  return_type = opts[:debug_return_type] || 'SetLabelResponse'
         
     | 
| 
      
 250 
     | 
    
         
            +
             
     | 
| 
      
 251 
     | 
    
         
            +
                  # auth_names
         
     | 
| 
      
 252 
     | 
    
         
            +
                  auth_names = opts[:debug_auth_names] || ['basicAuth']
         
     | 
| 
      
 253 
     | 
    
         
            +
             
     | 
| 
      
 254 
     | 
    
         
            +
                  new_options = opts.merge(
         
     | 
| 
      
 255 
     | 
    
         
            +
                    :operation => :"ContentCommitsApi.set_label",
         
     | 
| 
      
 256 
     | 
    
         
            +
                    :header_params => header_params,
         
     | 
| 
      
 257 
     | 
    
         
            +
                    :query_params => query_params,
         
     | 
| 
      
 258 
     | 
    
         
            +
                    :form_params => form_params,
         
     | 
| 
      
 259 
     | 
    
         
            +
                    :body => post_body,
         
     | 
| 
      
 260 
     | 
    
         
            +
                    :auth_names => auth_names,
         
     | 
| 
      
 261 
     | 
    
         
            +
                    :return_type => return_type
         
     | 
| 
      
 262 
     | 
    
         
            +
                  )
         
     | 
| 
      
 263 
     | 
    
         
            +
             
     | 
| 
      
 264 
     | 
    
         
            +
                  data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
         
     | 
| 
      
 265 
     | 
    
         
            +
                  if @api_client.config.debugging
         
     | 
| 
      
 266 
     | 
    
         
            +
                    @api_client.config.logger.debug "API called: ContentCommitsApi#set_label\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
         
     | 
| 
      
 267 
     | 
    
         
            +
                  end
         
     | 
| 
      
 268 
     | 
    
         
            +
                  return data, status_code, headers
         
     | 
| 
      
 269 
     | 
    
         
            +
                end
         
     | 
| 
      
 270 
     | 
    
         
            +
             
     | 
| 
      
 271 
     | 
    
         
            +
                # Unset a label
         
     | 
| 
      
 272 
     | 
    
         
            +
                # Unset a single pulp_label on the object.
         
     | 
| 
      
 273 
     | 
    
         
            +
                # @param ostree_ostree_commit_href [String] 
         
     | 
| 
      
 274 
     | 
    
         
            +
                # @param unset_label [UnsetLabel] 
         
     | 
| 
      
 275 
     | 
    
         
            +
                # @param [Hash] opts the optional parameters
         
     | 
| 
      
 276 
     | 
    
         
            +
                # @return [UnsetLabelResponse]
         
     | 
| 
      
 277 
     | 
    
         
            +
                def unset_label(ostree_ostree_commit_href, unset_label, opts = {})
         
     | 
| 
      
 278 
     | 
    
         
            +
                  data, _status_code, _headers = unset_label_with_http_info(ostree_ostree_commit_href, unset_label, opts)
         
     | 
| 
      
 279 
     | 
    
         
            +
                  data
         
     | 
| 
      
 280 
     | 
    
         
            +
                end
         
     | 
| 
      
 281 
     | 
    
         
            +
             
     | 
| 
      
 282 
     | 
    
         
            +
                # Unset a label
         
     | 
| 
      
 283 
     | 
    
         
            +
                # Unset a single pulp_label on the object.
         
     | 
| 
      
 284 
     | 
    
         
            +
                # @param ostree_ostree_commit_href [String] 
         
     | 
| 
      
 285 
     | 
    
         
            +
                # @param unset_label [UnsetLabel] 
         
     | 
| 
      
 286 
     | 
    
         
            +
                # @param [Hash] opts the optional parameters
         
     | 
| 
      
 287 
     | 
    
         
            +
                # @return [Array<(UnsetLabelResponse, Integer, Hash)>] UnsetLabelResponse data, response status code and response headers
         
     | 
| 
      
 288 
     | 
    
         
            +
                def unset_label_with_http_info(ostree_ostree_commit_href, unset_label, opts = {})
         
     | 
| 
      
 289 
     | 
    
         
            +
                  if @api_client.config.debugging
         
     | 
| 
      
 290 
     | 
    
         
            +
                    @api_client.config.logger.debug 'Calling API: ContentCommitsApi.unset_label ...'
         
     | 
| 
      
 291 
     | 
    
         
            +
                  end
         
     | 
| 
      
 292 
     | 
    
         
            +
                  # verify the required parameter 'ostree_ostree_commit_href' is set
         
     | 
| 
      
 293 
     | 
    
         
            +
                  if @api_client.config.client_side_validation && ostree_ostree_commit_href.nil?
         
     | 
| 
      
 294 
     | 
    
         
            +
                    fail ArgumentError, "Missing the required parameter 'ostree_ostree_commit_href' when calling ContentCommitsApi.unset_label"
         
     | 
| 
      
 295 
     | 
    
         
            +
                  end
         
     | 
| 
      
 296 
     | 
    
         
            +
                  # verify the required parameter 'unset_label' is set
         
     | 
| 
      
 297 
     | 
    
         
            +
                  if @api_client.config.client_side_validation && unset_label.nil?
         
     | 
| 
      
 298 
     | 
    
         
            +
                    fail ArgumentError, "Missing the required parameter 'unset_label' when calling ContentCommitsApi.unset_label"
         
     | 
| 
      
 299 
     | 
    
         
            +
                  end
         
     | 
| 
      
 300 
     | 
    
         
            +
                  # resource path
         
     | 
| 
      
 301 
     | 
    
         
            +
                  local_var_path = '{ostree_ostree_commit_href}unset_label/'.sub('{' + 'ostree_ostree_commit_href' + '}', CGI.escape(ostree_ostree_commit_href.to_s).gsub('%2F', '/'))
         
     | 
| 
      
 302 
     | 
    
         
            +
             
     | 
| 
      
 303 
     | 
    
         
            +
                  # query parameters
         
     | 
| 
      
 304 
     | 
    
         
            +
                  query_params = opts[:query_params] || {}
         
     | 
| 
      
 305 
     | 
    
         
            +
             
     | 
| 
      
 306 
     | 
    
         
            +
                  # header parameters
         
     | 
| 
      
 307 
     | 
    
         
            +
                  header_params = opts[:header_params] || {}
         
     | 
| 
      
 308 
     | 
    
         
            +
                  # HTTP header 'Accept' (if needed)
         
     | 
| 
      
 309 
     | 
    
         
            +
                  header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
         
     | 
| 
      
 310 
     | 
    
         
            +
                  # HTTP header 'Content-Type'
         
     | 
| 
      
 311 
     | 
    
         
            +
                  content_type = @api_client.select_header_content_type(['application/json', 'application/x-www-form-urlencoded', 'multipart/form-data'])
         
     | 
| 
      
 312 
     | 
    
         
            +
                  if !content_type.nil?
         
     | 
| 
      
 313 
     | 
    
         
            +
                      header_params['Content-Type'] = content_type
         
     | 
| 
      
 314 
     | 
    
         
            +
                  end
         
     | 
| 
      
 315 
     | 
    
         
            +
             
     | 
| 
      
 316 
     | 
    
         
            +
                  # form parameters
         
     | 
| 
      
 317 
     | 
    
         
            +
                  form_params = opts[:form_params] || {}
         
     | 
| 
      
 318 
     | 
    
         
            +
             
     | 
| 
      
 319 
     | 
    
         
            +
                  # http body (model)
         
     | 
| 
      
 320 
     | 
    
         
            +
                  post_body = opts[:debug_body] || @api_client.object_to_http_body(unset_label)
         
     | 
| 
      
 321 
     | 
    
         
            +
             
     | 
| 
      
 322 
     | 
    
         
            +
                  # return_type
         
     | 
| 
      
 323 
     | 
    
         
            +
                  return_type = opts[:debug_return_type] || 'UnsetLabelResponse'
         
     | 
| 
      
 324 
     | 
    
         
            +
             
     | 
| 
      
 325 
     | 
    
         
            +
                  # auth_names
         
     | 
| 
      
 326 
     | 
    
         
            +
                  auth_names = opts[:debug_auth_names] || ['basicAuth']
         
     | 
| 
      
 327 
     | 
    
         
            +
             
     | 
| 
      
 328 
     | 
    
         
            +
                  new_options = opts.merge(
         
     | 
| 
      
 329 
     | 
    
         
            +
                    :operation => :"ContentCommitsApi.unset_label",
         
     | 
| 
      
 330 
     | 
    
         
            +
                    :header_params => header_params,
         
     | 
| 
      
 331 
     | 
    
         
            +
                    :query_params => query_params,
         
     | 
| 
      
 332 
     | 
    
         
            +
                    :form_params => form_params,
         
     | 
| 
      
 333 
     | 
    
         
            +
                    :body => post_body,
         
     | 
| 
      
 334 
     | 
    
         
            +
                    :auth_names => auth_names,
         
     | 
| 
      
 335 
     | 
    
         
            +
                    :return_type => return_type
         
     | 
| 
      
 336 
     | 
    
         
            +
                  )
         
     | 
| 
      
 337 
     | 
    
         
            +
             
     | 
| 
      
 338 
     | 
    
         
            +
                  data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
         
     | 
| 
      
 339 
     | 
    
         
            +
                  if @api_client.config.debugging
         
     | 
| 
      
 340 
     | 
    
         
            +
                    @api_client.config.logger.debug "API called: ContentCommitsApi#unset_label\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
         
     | 
| 
      
 341 
     | 
    
         
            +
                  end
         
     | 
| 
      
 342 
     | 
    
         
            +
                  return data, status_code, headers
         
     | 
| 
      
 343 
     | 
    
         
            +
                end
         
     | 
| 
       193 
344 
     | 
    
         
             
              end
         
     | 
| 
       194 
345 
     | 
    
         
             
            end
         
     | 
| 
         @@ -29,6 +29,7 @@ module PulpOstreeClient 
     | 
|
| 
       29 
29 
     | 
    
         
             
                # @option opts [Array<String>] :prn__in Multiple values may be separated by commas.
         
     | 
| 
       30 
30 
     | 
    
         
             
                # @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
         
     | 
| 
       31 
31 
     | 
    
         
             
                # @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
         
     | 
| 
      
 32 
     | 
    
         
            +
                # @option opts [String] :pulp_label_select Filter labels by search string
         
     | 
| 
       32 
33 
     | 
    
         
             
                # @option opts [String] :q Filter results by using NOT, AND and OR operations on other filters
         
     | 
| 
       33 
34 
     | 
    
         
             
                # @option opts [String] :repository_version Repository Version referenced by HREF/PRN
         
     | 
| 
       34 
35 
     | 
    
         
             
                # @option opts [String] :repository_version_added Repository Version referenced by HREF/PRN
         
     | 
| 
         @@ -51,6 +52,7 @@ module PulpOstreeClient 
     | 
|
| 
       51 
52 
     | 
    
         
             
                # @option opts [Array<String>] :prn__in Multiple values may be separated by commas.
         
     | 
| 
       52 
53 
     | 
    
         
             
                # @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
         
     | 
| 
       53 
54 
     | 
    
         
             
                # @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
         
     | 
| 
      
 55 
     | 
    
         
            +
                # @option opts [String] :pulp_label_select Filter labels by search string
         
     | 
| 
       54 
56 
     | 
    
         
             
                # @option opts [String] :q Filter results by using NOT, AND and OR operations on other filters
         
     | 
| 
       55 
57 
     | 
    
         
             
                # @option opts [String] :repository_version Repository Version referenced by HREF/PRN
         
     | 
| 
       56 
58 
     | 
    
         
             
                # @option opts [String] :repository_version_added Repository Version referenced by HREF/PRN
         
     | 
| 
         @@ -78,6 +80,7 @@ module PulpOstreeClient 
     | 
|
| 
       78 
80 
     | 
    
         
             
                  query_params[:'prn__in'] = @api_client.build_collection_param(opts[:'prn__in'], :csv) if !opts[:'prn__in'].nil?
         
     | 
| 
       79 
81 
     | 
    
         
             
                  query_params[:'pulp_href__in'] = @api_client.build_collection_param(opts[:'pulp_href__in'], :csv) if !opts[:'pulp_href__in'].nil?
         
     | 
| 
       80 
82 
     | 
    
         
             
                  query_params[:'pulp_id__in'] = @api_client.build_collection_param(opts[:'pulp_id__in'], :csv) if !opts[:'pulp_id__in'].nil?
         
     | 
| 
      
 83 
     | 
    
         
            +
                  query_params[:'pulp_label_select'] = opts[:'pulp_label_select'] if !opts[:'pulp_label_select'].nil?
         
     | 
| 
       81 
84 
     | 
    
         
             
                  query_params[:'q'] = opts[:'q'] if !opts[:'q'].nil?
         
     | 
| 
       82 
85 
     | 
    
         
             
                  query_params[:'repository_version'] = opts[:'repository_version'] if !opts[:'repository_version'].nil?
         
     | 
| 
       83 
86 
     | 
    
         
             
                  query_params[:'repository_version_added'] = opts[:'repository_version_added'] if !opts[:'repository_version_added'].nil?
         
     | 
| 
         @@ -187,5 +190,153 @@ module PulpOstreeClient 
     | 
|
| 
       187 
190 
     | 
    
         
             
                  end
         
     | 
| 
       188 
191 
     | 
    
         
             
                  return data, status_code, headers
         
     | 
| 
       189 
192 
     | 
    
         
             
                end
         
     | 
| 
      
 193 
     | 
    
         
            +
             
     | 
| 
      
 194 
     | 
    
         
            +
                # Set a label
         
     | 
| 
      
 195 
     | 
    
         
            +
                # Set a single pulp_label on the object to a specific value or null.
         
     | 
| 
      
 196 
     | 
    
         
            +
                # @param ostree_ostree_config_href [String] 
         
     | 
| 
      
 197 
     | 
    
         
            +
                # @param set_label [SetLabel] 
         
     | 
| 
      
 198 
     | 
    
         
            +
                # @param [Hash] opts the optional parameters
         
     | 
| 
      
 199 
     | 
    
         
            +
                # @return [SetLabelResponse]
         
     | 
| 
      
 200 
     | 
    
         
            +
                def set_label(ostree_ostree_config_href, set_label, opts = {})
         
     | 
| 
      
 201 
     | 
    
         
            +
                  data, _status_code, _headers = set_label_with_http_info(ostree_ostree_config_href, set_label, opts)
         
     | 
| 
      
 202 
     | 
    
         
            +
                  data
         
     | 
| 
      
 203 
     | 
    
         
            +
                end
         
     | 
| 
      
 204 
     | 
    
         
            +
             
     | 
| 
      
 205 
     | 
    
         
            +
                # Set a label
         
     | 
| 
      
 206 
     | 
    
         
            +
                # Set a single pulp_label on the object to a specific value or null.
         
     | 
| 
      
 207 
     | 
    
         
            +
                # @param ostree_ostree_config_href [String] 
         
     | 
| 
      
 208 
     | 
    
         
            +
                # @param set_label [SetLabel] 
         
     | 
| 
      
 209 
     | 
    
         
            +
                # @param [Hash] opts the optional parameters
         
     | 
| 
      
 210 
     | 
    
         
            +
                # @return [Array<(SetLabelResponse, Integer, Hash)>] SetLabelResponse data, response status code and response headers
         
     | 
| 
      
 211 
     | 
    
         
            +
                def set_label_with_http_info(ostree_ostree_config_href, set_label, opts = {})
         
     | 
| 
      
 212 
     | 
    
         
            +
                  if @api_client.config.debugging
         
     | 
| 
      
 213 
     | 
    
         
            +
                    @api_client.config.logger.debug 'Calling API: ContentConfigsApi.set_label ...'
         
     | 
| 
      
 214 
     | 
    
         
            +
                  end
         
     | 
| 
      
 215 
     | 
    
         
            +
                  # verify the required parameter 'ostree_ostree_config_href' is set
         
     | 
| 
      
 216 
     | 
    
         
            +
                  if @api_client.config.client_side_validation && ostree_ostree_config_href.nil?
         
     | 
| 
      
 217 
     | 
    
         
            +
                    fail ArgumentError, "Missing the required parameter 'ostree_ostree_config_href' when calling ContentConfigsApi.set_label"
         
     | 
| 
      
 218 
     | 
    
         
            +
                  end
         
     | 
| 
      
 219 
     | 
    
         
            +
                  # verify the required parameter 'set_label' is set
         
     | 
| 
      
 220 
     | 
    
         
            +
                  if @api_client.config.client_side_validation && set_label.nil?
         
     | 
| 
      
 221 
     | 
    
         
            +
                    fail ArgumentError, "Missing the required parameter 'set_label' when calling ContentConfigsApi.set_label"
         
     | 
| 
      
 222 
     | 
    
         
            +
                  end
         
     | 
| 
      
 223 
     | 
    
         
            +
                  # resource path
         
     | 
| 
      
 224 
     | 
    
         
            +
                  local_var_path = '{ostree_ostree_config_href}set_label/'.sub('{' + 'ostree_ostree_config_href' + '}', CGI.escape(ostree_ostree_config_href.to_s).gsub('%2F', '/'))
         
     | 
| 
      
 225 
     | 
    
         
            +
             
     | 
| 
      
 226 
     | 
    
         
            +
                  # query parameters
         
     | 
| 
      
 227 
     | 
    
         
            +
                  query_params = opts[:query_params] || {}
         
     | 
| 
      
 228 
     | 
    
         
            +
             
     | 
| 
      
 229 
     | 
    
         
            +
                  # header parameters
         
     | 
| 
      
 230 
     | 
    
         
            +
                  header_params = opts[:header_params] || {}
         
     | 
| 
      
 231 
     | 
    
         
            +
                  # HTTP header 'Accept' (if needed)
         
     | 
| 
      
 232 
     | 
    
         
            +
                  header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
         
     | 
| 
      
 233 
     | 
    
         
            +
                  # HTTP header 'Content-Type'
         
     | 
| 
      
 234 
     | 
    
         
            +
                  content_type = @api_client.select_header_content_type(['application/json', 'application/x-www-form-urlencoded', 'multipart/form-data'])
         
     | 
| 
      
 235 
     | 
    
         
            +
                  if !content_type.nil?
         
     | 
| 
      
 236 
     | 
    
         
            +
                      header_params['Content-Type'] = content_type
         
     | 
| 
      
 237 
     | 
    
         
            +
                  end
         
     | 
| 
      
 238 
     | 
    
         
            +
             
     | 
| 
      
 239 
     | 
    
         
            +
                  # form parameters
         
     | 
| 
      
 240 
     | 
    
         
            +
                  form_params = opts[:form_params] || {}
         
     | 
| 
      
 241 
     | 
    
         
            +
             
     | 
| 
      
 242 
     | 
    
         
            +
                  # http body (model)
         
     | 
| 
      
 243 
     | 
    
         
            +
                  post_body = opts[:debug_body] || @api_client.object_to_http_body(set_label)
         
     | 
| 
      
 244 
     | 
    
         
            +
             
     | 
| 
      
 245 
     | 
    
         
            +
                  # return_type
         
     | 
| 
      
 246 
     | 
    
         
            +
                  return_type = opts[:debug_return_type] || 'SetLabelResponse'
         
     | 
| 
      
 247 
     | 
    
         
            +
             
     | 
| 
      
 248 
     | 
    
         
            +
                  # auth_names
         
     | 
| 
      
 249 
     | 
    
         
            +
                  auth_names = opts[:debug_auth_names] || ['basicAuth']
         
     | 
| 
      
 250 
     | 
    
         
            +
             
     | 
| 
      
 251 
     | 
    
         
            +
                  new_options = opts.merge(
         
     | 
| 
      
 252 
     | 
    
         
            +
                    :operation => :"ContentConfigsApi.set_label",
         
     | 
| 
      
 253 
     | 
    
         
            +
                    :header_params => header_params,
         
     | 
| 
      
 254 
     | 
    
         
            +
                    :query_params => query_params,
         
     | 
| 
      
 255 
     | 
    
         
            +
                    :form_params => form_params,
         
     | 
| 
      
 256 
     | 
    
         
            +
                    :body => post_body,
         
     | 
| 
      
 257 
     | 
    
         
            +
                    :auth_names => auth_names,
         
     | 
| 
      
 258 
     | 
    
         
            +
                    :return_type => return_type
         
     | 
| 
      
 259 
     | 
    
         
            +
                  )
         
     | 
| 
      
 260 
     | 
    
         
            +
             
     | 
| 
      
 261 
     | 
    
         
            +
                  data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
         
     | 
| 
      
 262 
     | 
    
         
            +
                  if @api_client.config.debugging
         
     | 
| 
      
 263 
     | 
    
         
            +
                    @api_client.config.logger.debug "API called: ContentConfigsApi#set_label\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
         
     | 
| 
      
 264 
     | 
    
         
            +
                  end
         
     | 
| 
      
 265 
     | 
    
         
            +
                  return data, status_code, headers
         
     | 
| 
      
 266 
     | 
    
         
            +
                end
         
     | 
| 
      
 267 
     | 
    
         
            +
             
     | 
| 
      
 268 
     | 
    
         
            +
                # Unset a label
         
     | 
| 
      
 269 
     | 
    
         
            +
                # Unset a single pulp_label on the object.
         
     | 
| 
      
 270 
     | 
    
         
            +
                # @param ostree_ostree_config_href [String] 
         
     | 
| 
      
 271 
     | 
    
         
            +
                # @param unset_label [UnsetLabel] 
         
     | 
| 
      
 272 
     | 
    
         
            +
                # @param [Hash] opts the optional parameters
         
     | 
| 
      
 273 
     | 
    
         
            +
                # @return [UnsetLabelResponse]
         
     | 
| 
      
 274 
     | 
    
         
            +
                def unset_label(ostree_ostree_config_href, unset_label, opts = {})
         
     | 
| 
      
 275 
     | 
    
         
            +
                  data, _status_code, _headers = unset_label_with_http_info(ostree_ostree_config_href, unset_label, opts)
         
     | 
| 
      
 276 
     | 
    
         
            +
                  data
         
     | 
| 
      
 277 
     | 
    
         
            +
                end
         
     | 
| 
      
 278 
     | 
    
         
            +
             
     | 
| 
      
 279 
     | 
    
         
            +
                # Unset a label
         
     | 
| 
      
 280 
     | 
    
         
            +
                # Unset a single pulp_label on the object.
         
     | 
| 
      
 281 
     | 
    
         
            +
                # @param ostree_ostree_config_href [String] 
         
     | 
| 
      
 282 
     | 
    
         
            +
                # @param unset_label [UnsetLabel] 
         
     | 
| 
      
 283 
     | 
    
         
            +
                # @param [Hash] opts the optional parameters
         
     | 
| 
      
 284 
     | 
    
         
            +
                # @return [Array<(UnsetLabelResponse, Integer, Hash)>] UnsetLabelResponse data, response status code and response headers
         
     | 
| 
      
 285 
     | 
    
         
            +
                def unset_label_with_http_info(ostree_ostree_config_href, unset_label, opts = {})
         
     | 
| 
      
 286 
     | 
    
         
            +
                  if @api_client.config.debugging
         
     | 
| 
      
 287 
     | 
    
         
            +
                    @api_client.config.logger.debug 'Calling API: ContentConfigsApi.unset_label ...'
         
     | 
| 
      
 288 
     | 
    
         
            +
                  end
         
     | 
| 
      
 289 
     | 
    
         
            +
                  # verify the required parameter 'ostree_ostree_config_href' is set
         
     | 
| 
      
 290 
     | 
    
         
            +
                  if @api_client.config.client_side_validation && ostree_ostree_config_href.nil?
         
     | 
| 
      
 291 
     | 
    
         
            +
                    fail ArgumentError, "Missing the required parameter 'ostree_ostree_config_href' when calling ContentConfigsApi.unset_label"
         
     | 
| 
      
 292 
     | 
    
         
            +
                  end
         
     | 
| 
      
 293 
     | 
    
         
            +
                  # verify the required parameter 'unset_label' is set
         
     | 
| 
      
 294 
     | 
    
         
            +
                  if @api_client.config.client_side_validation && unset_label.nil?
         
     | 
| 
      
 295 
     | 
    
         
            +
                    fail ArgumentError, "Missing the required parameter 'unset_label' when calling ContentConfigsApi.unset_label"
         
     | 
| 
      
 296 
     | 
    
         
            +
                  end
         
     | 
| 
      
 297 
     | 
    
         
            +
                  # resource path
         
     | 
| 
      
 298 
     | 
    
         
            +
                  local_var_path = '{ostree_ostree_config_href}unset_label/'.sub('{' + 'ostree_ostree_config_href' + '}', CGI.escape(ostree_ostree_config_href.to_s).gsub('%2F', '/'))
         
     | 
| 
      
 299 
     | 
    
         
            +
             
     | 
| 
      
 300 
     | 
    
         
            +
                  # query parameters
         
     | 
| 
      
 301 
     | 
    
         
            +
                  query_params = opts[:query_params] || {}
         
     | 
| 
      
 302 
     | 
    
         
            +
             
     | 
| 
      
 303 
     | 
    
         
            +
                  # header parameters
         
     | 
| 
      
 304 
     | 
    
         
            +
                  header_params = opts[:header_params] || {}
         
     | 
| 
      
 305 
     | 
    
         
            +
                  # HTTP header 'Accept' (if needed)
         
     | 
| 
      
 306 
     | 
    
         
            +
                  header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
         
     | 
| 
      
 307 
     | 
    
         
            +
                  # HTTP header 'Content-Type'
         
     | 
| 
      
 308 
     | 
    
         
            +
                  content_type = @api_client.select_header_content_type(['application/json', 'application/x-www-form-urlencoded', 'multipart/form-data'])
         
     | 
| 
      
 309 
     | 
    
         
            +
                  if !content_type.nil?
         
     | 
| 
      
 310 
     | 
    
         
            +
                      header_params['Content-Type'] = content_type
         
     | 
| 
      
 311 
     | 
    
         
            +
                  end
         
     | 
| 
      
 312 
     | 
    
         
            +
             
     | 
| 
      
 313 
     | 
    
         
            +
                  # form parameters
         
     | 
| 
      
 314 
     | 
    
         
            +
                  form_params = opts[:form_params] || {}
         
     | 
| 
      
 315 
     | 
    
         
            +
             
     | 
| 
      
 316 
     | 
    
         
            +
                  # http body (model)
         
     | 
| 
      
 317 
     | 
    
         
            +
                  post_body = opts[:debug_body] || @api_client.object_to_http_body(unset_label)
         
     | 
| 
      
 318 
     | 
    
         
            +
             
     | 
| 
      
 319 
     | 
    
         
            +
                  # return_type
         
     | 
| 
      
 320 
     | 
    
         
            +
                  return_type = opts[:debug_return_type] || 'UnsetLabelResponse'
         
     | 
| 
      
 321 
     | 
    
         
            +
             
     | 
| 
      
 322 
     | 
    
         
            +
                  # auth_names
         
     | 
| 
      
 323 
     | 
    
         
            +
                  auth_names = opts[:debug_auth_names] || ['basicAuth']
         
     | 
| 
      
 324 
     | 
    
         
            +
             
     | 
| 
      
 325 
     | 
    
         
            +
                  new_options = opts.merge(
         
     | 
| 
      
 326 
     | 
    
         
            +
                    :operation => :"ContentConfigsApi.unset_label",
         
     | 
| 
      
 327 
     | 
    
         
            +
                    :header_params => header_params,
         
     | 
| 
      
 328 
     | 
    
         
            +
                    :query_params => query_params,
         
     | 
| 
      
 329 
     | 
    
         
            +
                    :form_params => form_params,
         
     | 
| 
      
 330 
     | 
    
         
            +
                    :body => post_body,
         
     | 
| 
      
 331 
     | 
    
         
            +
                    :auth_names => auth_names,
         
     | 
| 
      
 332 
     | 
    
         
            +
                    :return_type => return_type
         
     | 
| 
      
 333 
     | 
    
         
            +
                  )
         
     | 
| 
      
 334 
     | 
    
         
            +
             
     | 
| 
      
 335 
     | 
    
         
            +
                  data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
         
     | 
| 
      
 336 
     | 
    
         
            +
                  if @api_client.config.debugging
         
     | 
| 
      
 337 
     | 
    
         
            +
                    @api_client.config.logger.debug "API called: ContentConfigsApi#unset_label\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
         
     | 
| 
      
 338 
     | 
    
         
            +
                  end
         
     | 
| 
      
 339 
     | 
    
         
            +
                  return data, status_code, headers
         
     | 
| 
      
 340 
     | 
    
         
            +
                end
         
     | 
| 
       190 
341 
     | 
    
         
             
              end
         
     | 
| 
       191 
342 
     | 
    
         
             
            end
         
     | 
| 
         @@ -97,6 +97,7 @@ module PulpOstreeClient 
     | 
|
| 
       97 
97 
     | 
    
         
             
                # @option opts [Array<String>] :prn__in Multiple values may be separated by commas.
         
     | 
| 
       98 
98 
     | 
    
         
             
                # @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
         
     | 
| 
       99 
99 
     | 
    
         
             
                # @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
         
     | 
| 
      
 100 
     | 
    
         
            +
                # @option opts [String] :pulp_label_select Filter labels by search string
         
     | 
| 
       100 
101 
     | 
    
         
             
                # @option opts [String] :q Filter results by using NOT, AND and OR operations on other filters
         
     | 
| 
       101 
102 
     | 
    
         
             
                # @option opts [String] :repository_version Repository Version referenced by HREF/PRN
         
     | 
| 
       102 
103 
     | 
    
         
             
                # @option opts [String] :repository_version_added Repository Version referenced by HREF/PRN
         
     | 
| 
         @@ -119,6 +120,7 @@ module PulpOstreeClient 
     | 
|
| 
       119 
120 
     | 
    
         
             
                # @option opts [Array<String>] :prn__in Multiple values may be separated by commas.
         
     | 
| 
       120 
121 
     | 
    
         
             
                # @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
         
     | 
| 
       121 
122 
     | 
    
         
             
                # @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
         
     | 
| 
      
 123 
     | 
    
         
            +
                # @option opts [String] :pulp_label_select Filter labels by search string
         
     | 
| 
       122 
124 
     | 
    
         
             
                # @option opts [String] :q Filter results by using NOT, AND and OR operations on other filters
         
     | 
| 
       123 
125 
     | 
    
         
             
                # @option opts [String] :repository_version Repository Version referenced by HREF/PRN
         
     | 
| 
       124 
126 
     | 
    
         
             
                # @option opts [String] :repository_version_added Repository Version referenced by HREF/PRN
         
     | 
| 
         @@ -146,6 +148,7 @@ module PulpOstreeClient 
     | 
|
| 
       146 
148 
     | 
    
         
             
                  query_params[:'prn__in'] = @api_client.build_collection_param(opts[:'prn__in'], :csv) if !opts[:'prn__in'].nil?
         
     | 
| 
       147 
149 
     | 
    
         
             
                  query_params[:'pulp_href__in'] = @api_client.build_collection_param(opts[:'pulp_href__in'], :csv) if !opts[:'pulp_href__in'].nil?
         
     | 
| 
       148 
150 
     | 
    
         
             
                  query_params[:'pulp_id__in'] = @api_client.build_collection_param(opts[:'pulp_id__in'], :csv) if !opts[:'pulp_id__in'].nil?
         
     | 
| 
      
 151 
     | 
    
         
            +
                  query_params[:'pulp_label_select'] = opts[:'pulp_label_select'] if !opts[:'pulp_label_select'].nil?
         
     | 
| 
       149 
152 
     | 
    
         
             
                  query_params[:'q'] = opts[:'q'] if !opts[:'q'].nil?
         
     | 
| 
       150 
153 
     | 
    
         
             
                  query_params[:'repository_version'] = opts[:'repository_version'] if !opts[:'repository_version'].nil?
         
     | 
| 
       151 
154 
     | 
    
         
             
                  query_params[:'repository_version_added'] = opts[:'repository_version_added'] if !opts[:'repository_version_added'].nil?
         
     | 
| 
         @@ -255,5 +258,153 @@ module PulpOstreeClient 
     | 
|
| 
       255 
258 
     | 
    
         
             
                  end
         
     | 
| 
       256 
259 
     | 
    
         
             
                  return data, status_code, headers
         
     | 
| 
       257 
260 
     | 
    
         
             
                end
         
     | 
| 
      
 261 
     | 
    
         
            +
             
     | 
| 
      
 262 
     | 
    
         
            +
                # Set a label
         
     | 
| 
      
 263 
     | 
    
         
            +
                # Set a single pulp_label on the object to a specific value or null.
         
     | 
| 
      
 264 
     | 
    
         
            +
                # @param ostree_ostree_content_href [String] 
         
     | 
| 
      
 265 
     | 
    
         
            +
                # @param set_label [SetLabel] 
         
     | 
| 
      
 266 
     | 
    
         
            +
                # @param [Hash] opts the optional parameters
         
     | 
| 
      
 267 
     | 
    
         
            +
                # @return [SetLabelResponse]
         
     | 
| 
      
 268 
     | 
    
         
            +
                def set_label(ostree_ostree_content_href, set_label, opts = {})
         
     | 
| 
      
 269 
     | 
    
         
            +
                  data, _status_code, _headers = set_label_with_http_info(ostree_ostree_content_href, set_label, opts)
         
     | 
| 
      
 270 
     | 
    
         
            +
                  data
         
     | 
| 
      
 271 
     | 
    
         
            +
                end
         
     | 
| 
      
 272 
     | 
    
         
            +
             
     | 
| 
      
 273 
     | 
    
         
            +
                # Set a label
         
     | 
| 
      
 274 
     | 
    
         
            +
                # Set a single pulp_label on the object to a specific value or null.
         
     | 
| 
      
 275 
     | 
    
         
            +
                # @param ostree_ostree_content_href [String] 
         
     | 
| 
      
 276 
     | 
    
         
            +
                # @param set_label [SetLabel] 
         
     | 
| 
      
 277 
     | 
    
         
            +
                # @param [Hash] opts the optional parameters
         
     | 
| 
      
 278 
     | 
    
         
            +
                # @return [Array<(SetLabelResponse, Integer, Hash)>] SetLabelResponse data, response status code and response headers
         
     | 
| 
      
 279 
     | 
    
         
            +
                def set_label_with_http_info(ostree_ostree_content_href, set_label, opts = {})
         
     | 
| 
      
 280 
     | 
    
         
            +
                  if @api_client.config.debugging
         
     | 
| 
      
 281 
     | 
    
         
            +
                    @api_client.config.logger.debug 'Calling API: ContentContentApi.set_label ...'
         
     | 
| 
      
 282 
     | 
    
         
            +
                  end
         
     | 
| 
      
 283 
     | 
    
         
            +
                  # verify the required parameter 'ostree_ostree_content_href' is set
         
     | 
| 
      
 284 
     | 
    
         
            +
                  if @api_client.config.client_side_validation && ostree_ostree_content_href.nil?
         
     | 
| 
      
 285 
     | 
    
         
            +
                    fail ArgumentError, "Missing the required parameter 'ostree_ostree_content_href' when calling ContentContentApi.set_label"
         
     | 
| 
      
 286 
     | 
    
         
            +
                  end
         
     | 
| 
      
 287 
     | 
    
         
            +
                  # verify the required parameter 'set_label' is set
         
     | 
| 
      
 288 
     | 
    
         
            +
                  if @api_client.config.client_side_validation && set_label.nil?
         
     | 
| 
      
 289 
     | 
    
         
            +
                    fail ArgumentError, "Missing the required parameter 'set_label' when calling ContentContentApi.set_label"
         
     | 
| 
      
 290 
     | 
    
         
            +
                  end
         
     | 
| 
      
 291 
     | 
    
         
            +
                  # resource path
         
     | 
| 
      
 292 
     | 
    
         
            +
                  local_var_path = '{ostree_ostree_content_href}set_label/'.sub('{' + 'ostree_ostree_content_href' + '}', CGI.escape(ostree_ostree_content_href.to_s).gsub('%2F', '/'))
         
     | 
| 
      
 293 
     | 
    
         
            +
             
     | 
| 
      
 294 
     | 
    
         
            +
                  # query parameters
         
     | 
| 
      
 295 
     | 
    
         
            +
                  query_params = opts[:query_params] || {}
         
     | 
| 
      
 296 
     | 
    
         
            +
             
     | 
| 
      
 297 
     | 
    
         
            +
                  # header parameters
         
     | 
| 
      
 298 
     | 
    
         
            +
                  header_params = opts[:header_params] || {}
         
     | 
| 
      
 299 
     | 
    
         
            +
                  # HTTP header 'Accept' (if needed)
         
     | 
| 
      
 300 
     | 
    
         
            +
                  header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
         
     | 
| 
      
 301 
     | 
    
         
            +
                  # HTTP header 'Content-Type'
         
     | 
| 
      
 302 
     | 
    
         
            +
                  content_type = @api_client.select_header_content_type(['application/json', 'application/x-www-form-urlencoded', 'multipart/form-data'])
         
     | 
| 
      
 303 
     | 
    
         
            +
                  if !content_type.nil?
         
     | 
| 
      
 304 
     | 
    
         
            +
                      header_params['Content-Type'] = content_type
         
     | 
| 
      
 305 
     | 
    
         
            +
                  end
         
     | 
| 
      
 306 
     | 
    
         
            +
             
     | 
| 
      
 307 
     | 
    
         
            +
                  # form parameters
         
     | 
| 
      
 308 
     | 
    
         
            +
                  form_params = opts[:form_params] || {}
         
     | 
| 
      
 309 
     | 
    
         
            +
             
     | 
| 
      
 310 
     | 
    
         
            +
                  # http body (model)
         
     | 
| 
      
 311 
     | 
    
         
            +
                  post_body = opts[:debug_body] || @api_client.object_to_http_body(set_label)
         
     | 
| 
      
 312 
     | 
    
         
            +
             
     | 
| 
      
 313 
     | 
    
         
            +
                  # return_type
         
     | 
| 
      
 314 
     | 
    
         
            +
                  return_type = opts[:debug_return_type] || 'SetLabelResponse'
         
     | 
| 
      
 315 
     | 
    
         
            +
             
     | 
| 
      
 316 
     | 
    
         
            +
                  # auth_names
         
     | 
| 
      
 317 
     | 
    
         
            +
                  auth_names = opts[:debug_auth_names] || ['basicAuth']
         
     | 
| 
      
 318 
     | 
    
         
            +
             
     | 
| 
      
 319 
     | 
    
         
            +
                  new_options = opts.merge(
         
     | 
| 
      
 320 
     | 
    
         
            +
                    :operation => :"ContentContentApi.set_label",
         
     | 
| 
      
 321 
     | 
    
         
            +
                    :header_params => header_params,
         
     | 
| 
      
 322 
     | 
    
         
            +
                    :query_params => query_params,
         
     | 
| 
      
 323 
     | 
    
         
            +
                    :form_params => form_params,
         
     | 
| 
      
 324 
     | 
    
         
            +
                    :body => post_body,
         
     | 
| 
      
 325 
     | 
    
         
            +
                    :auth_names => auth_names,
         
     | 
| 
      
 326 
     | 
    
         
            +
                    :return_type => return_type
         
     | 
| 
      
 327 
     | 
    
         
            +
                  )
         
     | 
| 
      
 328 
     | 
    
         
            +
             
     | 
| 
      
 329 
     | 
    
         
            +
                  data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
         
     | 
| 
      
 330 
     | 
    
         
            +
                  if @api_client.config.debugging
         
     | 
| 
      
 331 
     | 
    
         
            +
                    @api_client.config.logger.debug "API called: ContentContentApi#set_label\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
         
     | 
| 
      
 332 
     | 
    
         
            +
                  end
         
     | 
| 
      
 333 
     | 
    
         
            +
                  return data, status_code, headers
         
     | 
| 
      
 334 
     | 
    
         
            +
                end
         
     | 
| 
      
 335 
     | 
    
         
            +
             
     | 
| 
      
 336 
     | 
    
         
            +
                # Unset a label
         
     | 
| 
      
 337 
     | 
    
         
            +
                # Unset a single pulp_label on the object.
         
     | 
| 
      
 338 
     | 
    
         
            +
                # @param ostree_ostree_content_href [String] 
         
     | 
| 
      
 339 
     | 
    
         
            +
                # @param unset_label [UnsetLabel] 
         
     | 
| 
      
 340 
     | 
    
         
            +
                # @param [Hash] opts the optional parameters
         
     | 
| 
      
 341 
     | 
    
         
            +
                # @return [UnsetLabelResponse]
         
     | 
| 
      
 342 
     | 
    
         
            +
                def unset_label(ostree_ostree_content_href, unset_label, opts = {})
         
     | 
| 
      
 343 
     | 
    
         
            +
                  data, _status_code, _headers = unset_label_with_http_info(ostree_ostree_content_href, unset_label, opts)
         
     | 
| 
      
 344 
     | 
    
         
            +
                  data
         
     | 
| 
      
 345 
     | 
    
         
            +
                end
         
     | 
| 
      
 346 
     | 
    
         
            +
             
     | 
| 
      
 347 
     | 
    
         
            +
                # Unset a label
         
     | 
| 
      
 348 
     | 
    
         
            +
                # Unset a single pulp_label on the object.
         
     | 
| 
      
 349 
     | 
    
         
            +
                # @param ostree_ostree_content_href [String] 
         
     | 
| 
      
 350 
     | 
    
         
            +
                # @param unset_label [UnsetLabel] 
         
     | 
| 
      
 351 
     | 
    
         
            +
                # @param [Hash] opts the optional parameters
         
     | 
| 
      
 352 
     | 
    
         
            +
                # @return [Array<(UnsetLabelResponse, Integer, Hash)>] UnsetLabelResponse data, response status code and response headers
         
     | 
| 
      
 353 
     | 
    
         
            +
                def unset_label_with_http_info(ostree_ostree_content_href, unset_label, opts = {})
         
     | 
| 
      
 354 
     | 
    
         
            +
                  if @api_client.config.debugging
         
     | 
| 
      
 355 
     | 
    
         
            +
                    @api_client.config.logger.debug 'Calling API: ContentContentApi.unset_label ...'
         
     | 
| 
      
 356 
     | 
    
         
            +
                  end
         
     | 
| 
      
 357 
     | 
    
         
            +
                  # verify the required parameter 'ostree_ostree_content_href' is set
         
     | 
| 
      
 358 
     | 
    
         
            +
                  if @api_client.config.client_side_validation && ostree_ostree_content_href.nil?
         
     | 
| 
      
 359 
     | 
    
         
            +
                    fail ArgumentError, "Missing the required parameter 'ostree_ostree_content_href' when calling ContentContentApi.unset_label"
         
     | 
| 
      
 360 
     | 
    
         
            +
                  end
         
     | 
| 
      
 361 
     | 
    
         
            +
                  # verify the required parameter 'unset_label' is set
         
     | 
| 
      
 362 
     | 
    
         
            +
                  if @api_client.config.client_side_validation && unset_label.nil?
         
     | 
| 
      
 363 
     | 
    
         
            +
                    fail ArgumentError, "Missing the required parameter 'unset_label' when calling ContentContentApi.unset_label"
         
     | 
| 
      
 364 
     | 
    
         
            +
                  end
         
     | 
| 
      
 365 
     | 
    
         
            +
                  # resource path
         
     | 
| 
      
 366 
     | 
    
         
            +
                  local_var_path = '{ostree_ostree_content_href}unset_label/'.sub('{' + 'ostree_ostree_content_href' + '}', CGI.escape(ostree_ostree_content_href.to_s).gsub('%2F', '/'))
         
     | 
| 
      
 367 
     | 
    
         
            +
             
     | 
| 
      
 368 
     | 
    
         
            +
                  # query parameters
         
     | 
| 
      
 369 
     | 
    
         
            +
                  query_params = opts[:query_params] || {}
         
     | 
| 
      
 370 
     | 
    
         
            +
             
     | 
| 
      
 371 
     | 
    
         
            +
                  # header parameters
         
     | 
| 
      
 372 
     | 
    
         
            +
                  header_params = opts[:header_params] || {}
         
     | 
| 
      
 373 
     | 
    
         
            +
                  # HTTP header 'Accept' (if needed)
         
     | 
| 
      
 374 
     | 
    
         
            +
                  header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
         
     | 
| 
      
 375 
     | 
    
         
            +
                  # HTTP header 'Content-Type'
         
     | 
| 
      
 376 
     | 
    
         
            +
                  content_type = @api_client.select_header_content_type(['application/json', 'application/x-www-form-urlencoded', 'multipart/form-data'])
         
     | 
| 
      
 377 
     | 
    
         
            +
                  if !content_type.nil?
         
     | 
| 
      
 378 
     | 
    
         
            +
                      header_params['Content-Type'] = content_type
         
     | 
| 
      
 379 
     | 
    
         
            +
                  end
         
     | 
| 
      
 380 
     | 
    
         
            +
             
     | 
| 
      
 381 
     | 
    
         
            +
                  # form parameters
         
     | 
| 
      
 382 
     | 
    
         
            +
                  form_params = opts[:form_params] || {}
         
     | 
| 
      
 383 
     | 
    
         
            +
             
     | 
| 
      
 384 
     | 
    
         
            +
                  # http body (model)
         
     | 
| 
      
 385 
     | 
    
         
            +
                  post_body = opts[:debug_body] || @api_client.object_to_http_body(unset_label)
         
     | 
| 
      
 386 
     | 
    
         
            +
             
     | 
| 
      
 387 
     | 
    
         
            +
                  # return_type
         
     | 
| 
      
 388 
     | 
    
         
            +
                  return_type = opts[:debug_return_type] || 'UnsetLabelResponse'
         
     | 
| 
      
 389 
     | 
    
         
            +
             
     | 
| 
      
 390 
     | 
    
         
            +
                  # auth_names
         
     | 
| 
      
 391 
     | 
    
         
            +
                  auth_names = opts[:debug_auth_names] || ['basicAuth']
         
     | 
| 
      
 392 
     | 
    
         
            +
             
     | 
| 
      
 393 
     | 
    
         
            +
                  new_options = opts.merge(
         
     | 
| 
      
 394 
     | 
    
         
            +
                    :operation => :"ContentContentApi.unset_label",
         
     | 
| 
      
 395 
     | 
    
         
            +
                    :header_params => header_params,
         
     | 
| 
      
 396 
     | 
    
         
            +
                    :query_params => query_params,
         
     | 
| 
      
 397 
     | 
    
         
            +
                    :form_params => form_params,
         
     | 
| 
      
 398 
     | 
    
         
            +
                    :body => post_body,
         
     | 
| 
      
 399 
     | 
    
         
            +
                    :auth_names => auth_names,
         
     | 
| 
      
 400 
     | 
    
         
            +
                    :return_type => return_type
         
     | 
| 
      
 401 
     | 
    
         
            +
                  )
         
     | 
| 
      
 402 
     | 
    
         
            +
             
     | 
| 
      
 403 
     | 
    
         
            +
                  data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
         
     | 
| 
      
 404 
     | 
    
         
            +
                  if @api_client.config.debugging
         
     | 
| 
      
 405 
     | 
    
         
            +
                    @api_client.config.logger.debug "API called: ContentContentApi#unset_label\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
         
     | 
| 
      
 406 
     | 
    
         
            +
                  end
         
     | 
| 
      
 407 
     | 
    
         
            +
                  return data, status_code, headers
         
     | 
| 
      
 408 
     | 
    
         
            +
                end
         
     | 
| 
       258 
409 
     | 
    
         
             
              end
         
     | 
| 
       259 
410 
     | 
    
         
             
            end
         
     |