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 +4 -4
- data/lib/daytona_api_client/api/organizations_api.rb +61 -0
- data/lib/daytona_api_client/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 49e977faad8cf9370f8130e35cc026423d3a6912b456bc7af89236dc7788cbf5
|
|
4
|
+
data.tar.gz: 5d2474334c220428ace77b0bc6f5d6185867f3b1934eca1a4d8536ce8c8718c8
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
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
|