daytona_api_client 0.165.0 → 0.166.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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 8a181d9d8ba184e731c37cf23509706073b691545c6b1bca63119e8176aa7548
4
- data.tar.gz: 1d5e86986be29f80c4af065a53a923971d69ef83eb17ba32e1f04be3e67be48d
3
+ metadata.gz: 49e977faad8cf9370f8130e35cc026423d3a6912b456bc7af89236dc7788cbf5
4
+ data.tar.gz: 5d2474334c220428ace77b0bc6f5d6185867f3b1934eca1a4d8536ce8c8718c8
5
5
  SHA512:
6
- metadata.gz: 5cb3ddb890f46a1fac46945eb3d9d19265921b497dcc6afa9e084fccf9426e98f1df07becf7c20edc67e97b4dfb279906aded913322ca26a97ac8b9c97f8d789
7
- data.tar.gz: d050e30b56962c6345434b24f4597ee66823f9d2263535be7475b2626f7b29006f39c8b4ef96547aba21892d0299f6b64e11c6fb56ce2c16e488dbe1f60ed7d6
6
+ metadata.gz: 6925c0709e6a460bf2173a6aff13a19394f8c339e0d62f7c78cc0abf8907df6a85b0540c966a25583db5cb286b424c19f77b55112f7069fbb0afbe78df37edf6
7
+ data.tar.gz: 74dc8a18f9e9de77d698a9c62da21ad9effe0f25b77efea3cbeea7eddb1dd75080d2dcc69680fa7ad7832742d8005d3209ac52116a664d133a7b563d2d5ed6ee
@@ -850,6 +850,67 @@ module DaytonaApiClient
850
850
  return data, status_code, headers
851
851
  end
852
852
 
853
+ # Get organization OTEL config by organization ID
854
+ # @param organization_id [String] Organization ID
855
+ # @param [Hash] opts the optional parameters
856
+ # @return [OtelConfig]
857
+ def get_organization_otel_config(organization_id, opts = {})
858
+ data, _status_code, _headers = get_organization_otel_config_with_http_info(organization_id, opts)
859
+ data
860
+ end
861
+
862
+ # Get organization OTEL config by organization ID
863
+ # @param organization_id [String] Organization ID
864
+ # @param [Hash] opts the optional parameters
865
+ # @return [Array<(OtelConfig, Integer, Hash)>] OtelConfig data, response status code and response headers
866
+ def get_organization_otel_config_with_http_info(organization_id, opts = {})
867
+ if @api_client.config.debugging
868
+ @api_client.config.logger.debug 'Calling API: OrganizationsApi.get_organization_otel_config ...'
869
+ end
870
+ # verify the required parameter 'organization_id' is set
871
+ if @api_client.config.client_side_validation && organization_id.nil?
872
+ fail ArgumentError, "Missing the required parameter 'organization_id' when calling OrganizationsApi.get_organization_otel_config"
873
+ end
874
+ # resource path
875
+ local_var_path = '/organizations/{organizationId}/otel-config'.sub('{' + 'organizationId' + '}', CGI.escape(organization_id.to_s))
876
+
877
+ # query parameters
878
+ query_params = opts[:query_params] || {}
879
+
880
+ # header parameters
881
+ header_params = opts[:header_params] || {}
882
+ # HTTP header 'Accept' (if needed)
883
+ header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
884
+
885
+ # form parameters
886
+ form_params = opts[:form_params] || {}
887
+
888
+ # http body (model)
889
+ post_body = opts[:debug_body]
890
+
891
+ # return_type
892
+ return_type = opts[:debug_return_type] || 'OtelConfig'
893
+
894
+ # auth_names
895
+ auth_names = opts[:debug_auth_names] || ['bearer', 'oauth2']
896
+
897
+ new_options = opts.merge(
898
+ :operation => :"OrganizationsApi.get_organization_otel_config",
899
+ :header_params => header_params,
900
+ :query_params => query_params,
901
+ :form_params => form_params,
902
+ :body => post_body,
903
+ :auth_names => auth_names,
904
+ :return_type => return_type
905
+ )
906
+
907
+ data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
908
+ if @api_client.config.debugging
909
+ @api_client.config.logger.debug "API called: OrganizationsApi#get_organization_otel_config\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
910
+ end
911
+ return data, status_code, headers
912
+ end
913
+
853
914
  # Get organization OTEL config by sandbox auth token
854
915
  # @param auth_token [String] Sandbox Auth Token
855
916
  # @param [Hash] opts the optional parameters
@@ -11,5 +11,5 @@ Generator version: 7.12.0
11
11
  =end
12
12
 
13
13
  module DaytonaApiClient
14
- VERSION = '0.165.0'
14
+ VERSION = '0.166.0'
15
15
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: daytona_api_client
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.165.0
4
+ version: 0.166.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - daytonaio