speakeasy_client_sdk_ruby 2.2.2 → 3.0.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/{sdk → speakeasy_client_sdk}/apiendpoints.rb +48 -39
- data/lib/{sdk → speakeasy_client_sdk}/apis.rb +37 -30
- data/lib/{sdk → speakeasy_client_sdk}/embeds.rb +17 -13
- data/lib/{sdk → speakeasy_client_sdk}/metadata.rb +19 -15
- data/lib/speakeasy_client_sdk/models/operations/deleteapi_request.rb +27 -0
- data/lib/speakeasy_client_sdk/models/operations/deleteapi_response.rb +33 -0
- data/lib/speakeasy_client_sdk/models/operations/deleteapiendpoint_request.rb +30 -0
- data/lib/speakeasy_client_sdk/models/operations/deleteapiendpoint_response.rb +33 -0
- data/lib/speakeasy_client_sdk/models/operations/deleteschema_request.rb +30 -0
- data/lib/speakeasy_client_sdk/models/operations/deleteschema_response.rb +33 -0
- data/lib/speakeasy_client_sdk/models/operations/deleteversionmetadata_request.rb +33 -0
- data/lib/speakeasy_client_sdk/models/operations/deleteversionmetadata_response.rb +33 -0
- data/lib/speakeasy_client_sdk/models/operations/downloadschema_request.rb +27 -0
- data/lib/speakeasy_client_sdk/models/operations/downloadschema_response.rb +39 -0
- data/lib/speakeasy_client_sdk/models/operations/downloadschemarevision_request.rb +30 -0
- data/lib/speakeasy_client_sdk/models/operations/downloadschemarevision_response.rb +39 -0
- data/lib/speakeasy_client_sdk/models/operations/file.rb +27 -0
- data/lib/speakeasy_client_sdk/models/operations/findapiendpoint_request.rb +30 -0
- data/lib/speakeasy_client_sdk/models/operations/findapiendpoint_response.rb +36 -0
- data/lib/speakeasy_client_sdk/models/operations/generateopenapispec_request.rb +27 -0
- data/lib/speakeasy_client_sdk/models/operations/generateopenapispec_response.rb +36 -0
- data/lib/speakeasy_client_sdk/models/operations/generateopenapispecforapiendpoint_request.rb +30 -0
- data/lib/speakeasy_client_sdk/models/operations/generateopenapispecforapiendpoint_response.rb +36 -0
- data/lib/speakeasy_client_sdk/models/operations/generatepostmancollection_request.rb +27 -0
- data/lib/speakeasy_client_sdk/models/operations/generatepostmancollection_response.rb +36 -0
- data/lib/speakeasy_client_sdk/models/operations/generatepostmancollectionforapiendpoint_request.rb +30 -0
- data/lib/speakeasy_client_sdk/models/operations/generatepostmancollectionforapiendpoint_response.rb +36 -0
- data/lib/speakeasy_client_sdk/models/operations/generaterequestpostmancollection_request.rb +24 -0
- data/lib/speakeasy_client_sdk/models/operations/generaterequestpostmancollection_response.rb +36 -0
- data/lib/speakeasy_client_sdk/models/operations/getallapiendpoints_request.rb +24 -0
- data/lib/speakeasy_client_sdk/models/operations/getallapiendpoints_response.rb +36 -0
- data/lib/speakeasy_client_sdk/models/operations/getallapiversions_request.rb +30 -0
- data/lib/speakeasy_client_sdk/models/operations/getallapiversions_response.rb +36 -0
- data/lib/speakeasy_client_sdk/models/operations/getallforversionapiendpoints_request.rb +27 -0
- data/lib/speakeasy_client_sdk/models/operations/getallforversionapiendpoints_response.rb +36 -0
- data/lib/speakeasy_client_sdk/models/operations/getapiendpoint_request.rb +30 -0
- data/lib/speakeasy_client_sdk/models/operations/getapiendpoint_response.rb +36 -0
- data/lib/speakeasy_client_sdk/models/operations/getapis_request.rb +27 -0
- data/lib/speakeasy_client_sdk/models/operations/getapis_response.rb +36 -0
- data/lib/speakeasy_client_sdk/models/operations/getembedaccesstoken_request.rb +30 -0
- data/lib/speakeasy_client_sdk/models/operations/getembedaccesstoken_response.rb +36 -0
- data/lib/{sdk/models/operations/getplugins.rb → speakeasy_client_sdk/models/operations/getplugins_response.rb} +7 -9
- data/lib/speakeasy_client_sdk/models/operations/getrequestfromeventlog_request.rb +24 -0
- data/lib/speakeasy_client_sdk/models/operations/getrequestfromeventlog_response.rb +36 -0
- data/lib/speakeasy_client_sdk/models/operations/getschema_request.rb +27 -0
- data/lib/speakeasy_client_sdk/models/operations/getschema_response.rb +36 -0
- data/lib/speakeasy_client_sdk/models/operations/getschemadiff_request.rb +33 -0
- data/lib/speakeasy_client_sdk/models/operations/getschemadiff_response.rb +36 -0
- data/lib/speakeasy_client_sdk/models/operations/getschemarevision_request.rb +30 -0
- data/lib/speakeasy_client_sdk/models/operations/getschemarevision_response.rb +36 -0
- data/lib/speakeasy_client_sdk/models/operations/getschemas_request.rb +27 -0
- data/lib/speakeasy_client_sdk/models/operations/getschemas_response.rb +36 -0
- data/lib/{sdk/models/operations/getvalidembedaccesstokens.rb → speakeasy_client_sdk/models/operations/getvalidembedaccesstokens_response.rb} +7 -9
- data/lib/speakeasy_client_sdk/models/operations/getversionmetadata_request.rb +27 -0
- data/lib/speakeasy_client_sdk/models/operations/getversionmetadata_response.rb +36 -0
- data/lib/speakeasy_client_sdk/models/operations/insertversionmetadata_request.rb +30 -0
- data/lib/speakeasy_client_sdk/models/operations/insertversionmetadata_response.rb +36 -0
- data/lib/speakeasy_client_sdk/models/operations/op.rb +24 -0
- data/lib/speakeasy_client_sdk/models/operations/queryeventlog_request.rb +24 -0
- data/lib/speakeasy_client_sdk/models/operations/queryeventlog_response.rb +36 -0
- data/lib/speakeasy_client_sdk/models/operations/queryparam_op.rb +24 -0
- data/lib/speakeasy_client_sdk/models/operations/registerschema_request.rb +30 -0
- data/lib/speakeasy_client_sdk/models/operations/registerschema_requestbody.rb +24 -0
- data/lib/speakeasy_client_sdk/models/operations/registerschema_response.rb +33 -0
- data/lib/speakeasy_client_sdk/models/operations/revokeembedaccesstoken_request.rb +24 -0
- data/lib/speakeasy_client_sdk/models/operations/revokeembedaccesstoken_response.rb +33 -0
- data/lib/speakeasy_client_sdk/models/operations/runplugin_request.rb +27 -0
- data/lib/speakeasy_client_sdk/models/operations/runplugin_response.rb +36 -0
- data/lib/speakeasy_client_sdk/models/operations/upsertapi_request.rb +27 -0
- data/lib/speakeasy_client_sdk/models/operations/upsertapi_response.rb +36 -0
- data/lib/speakeasy_client_sdk/models/operations/upsertapiendpoint_request.rb +33 -0
- data/lib/speakeasy_client_sdk/models/operations/upsertapiendpoint_response.rb +36 -0
- data/lib/{sdk/models/operations/upsertplugin.rb → speakeasy_client_sdk/models/operations/upsertplugin_response.rb} +7 -10
- data/lib/{sdk/models/operations/validateapikey.rb → speakeasy_client_sdk/models/operations/validateapikey_response.rb} +6 -8
- data/lib/speakeasy_client_sdk/models/operations.rb +79 -0
- data/lib/{sdk → speakeasy_client_sdk}/models/shared/api.rb +9 -10
- data/lib/{sdk → speakeasy_client_sdk}/models/shared/api_input.rb +6 -7
- data/lib/speakeasy_client_sdk/models/shared/apiendpoint.rb +54 -0
- data/lib/{sdk → speakeasy_client_sdk}/models/shared/apiendpoint_input.rb +8 -9
- data/lib/speakeasy_client_sdk/models/shared/boundedrequest.rb +63 -0
- data/lib/{sdk → speakeasy_client_sdk}/models/shared/embedaccesstokenresponse.rb +3 -4
- data/lib/speakeasy_client_sdk/models/shared/embedtoken.rb +51 -0
- data/lib/{sdk → speakeasy_client_sdk}/models/shared/error.rb +4 -5
- data/lib/{sdk → speakeasy_client_sdk}/models/shared/filter.rb +5 -6
- data/lib/{sdk → speakeasy_client_sdk}/models/shared/filters.rb +6 -7
- data/lib/{sdk → speakeasy_client_sdk}/models/shared/generateopenapispecdiff.rb +4 -5
- data/lib/speakeasy_client_sdk/models/shared/plugin.rb +42 -0
- data/lib/{sdk → speakeasy_client_sdk}/models/shared/requestmetadata.rb +4 -5
- data/lib/speakeasy_client_sdk/models/shared/schema.rb +39 -0
- data/lib/speakeasy_client_sdk/models/shared/schemadiff.rb +30 -0
- data/lib/{sdk → speakeasy_client_sdk}/models/shared/security.rb +3 -4
- data/lib/{sdk → speakeasy_client_sdk}/models/shared/unboundedrequest.rb +7 -8
- data/lib/speakeasy_client_sdk/models/shared/valuechange.rb +27 -0
- data/lib/speakeasy_client_sdk/models/shared/versionmetadata.rb +39 -0
- data/lib/{sdk → speakeasy_client_sdk}/models/shared/versionmetadata_input.rb +4 -5
- data/lib/speakeasy_client_sdk/models/shared.rb +29 -0
- data/lib/{sdk → speakeasy_client_sdk}/plugins.rb +18 -14
- data/lib/{sdk → speakeasy_client_sdk}/requests.rb +19 -15
- data/lib/{sdk → speakeasy_client_sdk}/schemas.rb +46 -37
- data/lib/{sdk → speakeasy_client_sdk}/sdk.rb +3 -3
- data/lib/{sdk → speakeasy_client_sdk}/sdkconfiguration.rb +5 -5
- data/lib/{sdk → speakeasy_client_sdk}/utils/utils.rb +2 -2
- data/lib/speakeasy_client_sdk_ruby.rb +13 -66
- metadata +105 -67
- data/lib/sdk/models/operations/deleteapi.rb +0 -52
- data/lib/sdk/models/operations/deleteapiendpoint.rb +0 -55
- data/lib/sdk/models/operations/deleteschema.rb +0 -55
- data/lib/sdk/models/operations/deleteversionmetadata.rb +0 -58
- data/lib/sdk/models/operations/downloadschema.rb +0 -58
- data/lib/sdk/models/operations/downloadschemarevision.rb +0 -61
- data/lib/sdk/models/operations/findapiendpoint.rb +0 -59
- data/lib/sdk/models/operations/generateopenapispec.rb +0 -56
- data/lib/sdk/models/operations/generateopenapispecforapiendpoint.rb +0 -59
- data/lib/sdk/models/operations/generatepostmancollection.rb +0 -55
- data/lib/sdk/models/operations/generatepostmancollectionforapiendpoint.rb +0 -58
- data/lib/sdk/models/operations/generaterequestpostmancollection.rb +0 -52
- data/lib/sdk/models/operations/getallapiendpoints.rb +0 -52
- data/lib/sdk/models/operations/getallapiversions.rb +0 -72
- data/lib/sdk/models/operations/getallforversionapiendpoints.rb +0 -55
- data/lib/sdk/models/operations/getapiendpoint.rb +0 -59
- data/lib/sdk/models/operations/getapis.rb +0 -69
- data/lib/sdk/models/operations/getembedaccesstoken.rb +0 -60
- data/lib/sdk/models/operations/getrequestfromeventlog.rb +0 -53
- data/lib/sdk/models/operations/getschema.rb +0 -56
- data/lib/sdk/models/operations/getschemadiff.rb +0 -62
- data/lib/sdk/models/operations/getschemarevision.rb +0 -59
- data/lib/sdk/models/operations/getschemas.rb +0 -55
- data/lib/sdk/models/operations/getversionmetadata.rb +0 -55
- data/lib/sdk/models/operations/insertversionmetadata.rb +0 -59
- data/lib/sdk/models/operations/queryeventlog.rb +0 -53
- data/lib/sdk/models/operations/registerschema.rb +0 -86
- data/lib/sdk/models/operations/revokeembedaccesstoken.rb +0 -49
- data/lib/sdk/models/operations/runplugin.rb +0 -56
- data/lib/sdk/models/operations/upsertapi.rb +0 -56
- data/lib/sdk/models/operations/upsertapiendpoint.rb +0 -62
- data/lib/sdk/models/shared/apiendpoint.rb +0 -55
- data/lib/sdk/models/shared/boundedrequest.rb +0 -64
- data/lib/sdk/models/shared/embedtoken.rb +0 -52
- data/lib/sdk/models/shared/plugin.rb +0 -43
- data/lib/sdk/models/shared/schema.rb +0 -40
- data/lib/sdk/models/shared/schemadiff.rb +0 -48
- data/lib/sdk/models/shared/versionmetadata.rb +0 -40
- /data/lib/{sdk → speakeasy_client_sdk}/utils/metadata_fields.rb +0 -0
|
@@ -1,52 +0,0 @@
|
|
|
1
|
-
# Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT.
|
|
2
|
-
|
|
3
|
-
# typed: true
|
|
4
|
-
# frozen_string_literal: true
|
|
5
|
-
|
|
6
|
-
require 'sorbet-runtime'
|
|
7
|
-
require 'faraday'
|
|
8
|
-
require_relative '../shared/error'
|
|
9
|
-
|
|
10
|
-
module SpeakeasyClientSDK
|
|
11
|
-
module Operations
|
|
12
|
-
|
|
13
|
-
class GenerateRequestPostmanCollectionRequest < ::SpeakeasyClientSDK::Utils::FieldAugmented
|
|
14
|
-
extend T::Sig
|
|
15
|
-
|
|
16
|
-
# The ID of the request to retrieve.
|
|
17
|
-
field :request_id, String, { 'path_param': { 'field_name': 'requestID', 'style': 'simple', 'explode': false } }
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
sig { params(request_id: String).void }
|
|
21
|
-
def initialize(request_id: nil)
|
|
22
|
-
@request_id = request_id
|
|
23
|
-
end
|
|
24
|
-
end
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
class GenerateRequestPostmanCollectionResponse < ::SpeakeasyClientSDK::Utils::FieldAugmented
|
|
28
|
-
extend T::Sig
|
|
29
|
-
|
|
30
|
-
# HTTP response content type for this operation
|
|
31
|
-
field :content_type, String
|
|
32
|
-
# Raw HTTP response; suitable for custom response parsing
|
|
33
|
-
field :raw_response, Faraday::Response
|
|
34
|
-
# HTTP response status code for this operation
|
|
35
|
-
field :status_code, Integer
|
|
36
|
-
# Default error response
|
|
37
|
-
field :error, T.nilable(Shared::Error)
|
|
38
|
-
# OK
|
|
39
|
-
field :postman_collection, T.nilable(String)
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
sig { params(content_type: String, raw_response: Faraday::Response, status_code: Integer, error: T.nilable(Shared::Error), postman_collection: T.nilable(String)).void }
|
|
43
|
-
def initialize(content_type: nil, raw_response: nil, status_code: nil, error: nil, postman_collection: nil)
|
|
44
|
-
@content_type = content_type
|
|
45
|
-
@raw_response = raw_response
|
|
46
|
-
@status_code = status_code
|
|
47
|
-
@error = error
|
|
48
|
-
@postman_collection = postman_collection
|
|
49
|
-
end
|
|
50
|
-
end
|
|
51
|
-
end
|
|
52
|
-
end
|
|
@@ -1,52 +0,0 @@
|
|
|
1
|
-
# Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT.
|
|
2
|
-
|
|
3
|
-
# typed: true
|
|
4
|
-
# frozen_string_literal: true
|
|
5
|
-
|
|
6
|
-
require 'sorbet-runtime'
|
|
7
|
-
require 'faraday'
|
|
8
|
-
require_relative '../shared/error'
|
|
9
|
-
|
|
10
|
-
module SpeakeasyClientSDK
|
|
11
|
-
module Operations
|
|
12
|
-
|
|
13
|
-
class GetAllApiEndpointsRequest < ::SpeakeasyClientSDK::Utils::FieldAugmented
|
|
14
|
-
extend T::Sig
|
|
15
|
-
|
|
16
|
-
# The ID of the Api to retrieve ApiEndpoints for.
|
|
17
|
-
field :api_id, String, { 'path_param': { 'field_name': 'apiID', 'style': 'simple', 'explode': false } }
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
sig { params(api_id: String).void }
|
|
21
|
-
def initialize(api_id: nil)
|
|
22
|
-
@api_id = api_id
|
|
23
|
-
end
|
|
24
|
-
end
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
class GetAllApiEndpointsResponse < ::SpeakeasyClientSDK::Utils::FieldAugmented
|
|
28
|
-
extend T::Sig
|
|
29
|
-
|
|
30
|
-
# HTTP response content type for this operation
|
|
31
|
-
field :content_type, String
|
|
32
|
-
# Raw HTTP response; suitable for custom response parsing
|
|
33
|
-
field :raw_response, Faraday::Response
|
|
34
|
-
# HTTP response status code for this operation
|
|
35
|
-
field :status_code, Integer
|
|
36
|
-
# OK
|
|
37
|
-
field :classes, T.nilable(T::Array[Shared::ApiEndpoint])
|
|
38
|
-
# Default error response
|
|
39
|
-
field :error, T.nilable(Shared::Error)
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
sig { params(content_type: String, raw_response: Faraday::Response, status_code: Integer, classes: T.nilable(T::Array[Shared::ApiEndpoint]), error: T.nilable(Shared::Error)).void }
|
|
43
|
-
def initialize(content_type: nil, raw_response: nil, status_code: nil, classes: nil, error: nil)
|
|
44
|
-
@content_type = content_type
|
|
45
|
-
@raw_response = raw_response
|
|
46
|
-
@status_code = status_code
|
|
47
|
-
@classes = classes
|
|
48
|
-
@error = error
|
|
49
|
-
end
|
|
50
|
-
end
|
|
51
|
-
end
|
|
52
|
-
end
|
|
@@ -1,72 +0,0 @@
|
|
|
1
|
-
# Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT.
|
|
2
|
-
|
|
3
|
-
# typed: true
|
|
4
|
-
# frozen_string_literal: true
|
|
5
|
-
|
|
6
|
-
require 'sorbet-runtime'
|
|
7
|
-
require 'faraday'
|
|
8
|
-
require_relative '../shared/error'
|
|
9
|
-
|
|
10
|
-
module SpeakeasyClientSDK
|
|
11
|
-
module Operations
|
|
12
|
-
# Configuration for filter operations
|
|
13
|
-
class Op < ::SpeakeasyClientSDK::Utils::FieldAugmented
|
|
14
|
-
extend T::Sig
|
|
15
|
-
|
|
16
|
-
# Whether to AND or OR the filters
|
|
17
|
-
field :and_, T::Boolean, { 'query_param': { 'field_name': 'and' } }
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
sig { params(and_: T::Boolean).void }
|
|
21
|
-
def initialize(and_: nil)
|
|
22
|
-
@and_ = and_
|
|
23
|
-
end
|
|
24
|
-
end
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
class GetAllApiVersionsRequest < ::SpeakeasyClientSDK::Utils::FieldAugmented
|
|
28
|
-
extend T::Sig
|
|
29
|
-
|
|
30
|
-
# The ID of the Api to retrieve.
|
|
31
|
-
field :api_id, String, { 'path_param': { 'field_name': 'apiID', 'style': 'simple', 'explode': false } }
|
|
32
|
-
# Metadata to filter Apis on
|
|
33
|
-
field :metadata, T.nilable(T::Hash[Symbol, T::Array[String]]), { 'query_param': { 'field_name': 'metadata', 'style': 'deepObject', 'explode': true } }
|
|
34
|
-
# Configuration for filter operations
|
|
35
|
-
field :op, T.nilable(Operations::Op), { 'query_param': { 'field_name': 'op', 'style': 'deepObject', 'explode': true } }
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
sig { params(api_id: String, metadata: T.nilable(T::Hash[Symbol, T::Array[String]]), op: T.nilable(Operations::Op)).void }
|
|
39
|
-
def initialize(api_id: nil, metadata: nil, op: nil)
|
|
40
|
-
@api_id = api_id
|
|
41
|
-
@metadata = metadata
|
|
42
|
-
@op = op
|
|
43
|
-
end
|
|
44
|
-
end
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
class GetAllApiVersionsResponse < ::SpeakeasyClientSDK::Utils::FieldAugmented
|
|
48
|
-
extend T::Sig
|
|
49
|
-
|
|
50
|
-
# HTTP response content type for this operation
|
|
51
|
-
field :content_type, String
|
|
52
|
-
# Raw HTTP response; suitable for custom response parsing
|
|
53
|
-
field :raw_response, Faraday::Response
|
|
54
|
-
# HTTP response status code for this operation
|
|
55
|
-
field :status_code, Integer
|
|
56
|
-
# OK
|
|
57
|
-
field :classes, T.nilable(T::Array[Shared::Api])
|
|
58
|
-
# Default error response
|
|
59
|
-
field :error, T.nilable(Shared::Error)
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
sig { params(content_type: String, raw_response: Faraday::Response, status_code: Integer, classes: T.nilable(T::Array[Shared::Api]), error: T.nilable(Shared::Error)).void }
|
|
63
|
-
def initialize(content_type: nil, raw_response: nil, status_code: nil, classes: nil, error: nil)
|
|
64
|
-
@content_type = content_type
|
|
65
|
-
@raw_response = raw_response
|
|
66
|
-
@status_code = status_code
|
|
67
|
-
@classes = classes
|
|
68
|
-
@error = error
|
|
69
|
-
end
|
|
70
|
-
end
|
|
71
|
-
end
|
|
72
|
-
end
|
|
@@ -1,55 +0,0 @@
|
|
|
1
|
-
# Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT.
|
|
2
|
-
|
|
3
|
-
# typed: true
|
|
4
|
-
# frozen_string_literal: true
|
|
5
|
-
|
|
6
|
-
require 'sorbet-runtime'
|
|
7
|
-
require 'faraday'
|
|
8
|
-
require_relative '../shared/error'
|
|
9
|
-
|
|
10
|
-
module SpeakeasyClientSDK
|
|
11
|
-
module Operations
|
|
12
|
-
|
|
13
|
-
class GetAllForVersionApiEndpointsRequest < ::SpeakeasyClientSDK::Utils::FieldAugmented
|
|
14
|
-
extend T::Sig
|
|
15
|
-
|
|
16
|
-
# The ID of the Api to retrieve ApiEndpoints for.
|
|
17
|
-
field :api_id, String, { 'path_param': { 'field_name': 'apiID', 'style': 'simple', 'explode': false } }
|
|
18
|
-
# The version ID of the Api to retrieve ApiEndpoints for.
|
|
19
|
-
field :version_id, String, { 'path_param': { 'field_name': 'versionID', 'style': 'simple', 'explode': false } }
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
sig { params(api_id: String, version_id: String).void }
|
|
23
|
-
def initialize(api_id: nil, version_id: nil)
|
|
24
|
-
@api_id = api_id
|
|
25
|
-
@version_id = version_id
|
|
26
|
-
end
|
|
27
|
-
end
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
class GetAllForVersionApiEndpointsResponse < ::SpeakeasyClientSDK::Utils::FieldAugmented
|
|
31
|
-
extend T::Sig
|
|
32
|
-
|
|
33
|
-
# HTTP response content type for this operation
|
|
34
|
-
field :content_type, String
|
|
35
|
-
# Raw HTTP response; suitable for custom response parsing
|
|
36
|
-
field :raw_response, Faraday::Response
|
|
37
|
-
# HTTP response status code for this operation
|
|
38
|
-
field :status_code, Integer
|
|
39
|
-
# OK
|
|
40
|
-
field :classes, T.nilable(T::Array[Shared::ApiEndpoint])
|
|
41
|
-
# Default error response
|
|
42
|
-
field :error, T.nilable(Shared::Error)
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
sig { params(content_type: String, raw_response: Faraday::Response, status_code: Integer, classes: T.nilable(T::Array[Shared::ApiEndpoint]), error: T.nilable(Shared::Error)).void }
|
|
46
|
-
def initialize(content_type: nil, raw_response: nil, status_code: nil, classes: nil, error: nil)
|
|
47
|
-
@content_type = content_type
|
|
48
|
-
@raw_response = raw_response
|
|
49
|
-
@status_code = status_code
|
|
50
|
-
@classes = classes
|
|
51
|
-
@error = error
|
|
52
|
-
end
|
|
53
|
-
end
|
|
54
|
-
end
|
|
55
|
-
end
|
|
@@ -1,59 +0,0 @@
|
|
|
1
|
-
# Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT.
|
|
2
|
-
|
|
3
|
-
# typed: true
|
|
4
|
-
# frozen_string_literal: true
|
|
5
|
-
|
|
6
|
-
require 'sorbet-runtime'
|
|
7
|
-
require 'faraday'
|
|
8
|
-
require_relative '../shared/apiendpoint'
|
|
9
|
-
require_relative '../shared/error'
|
|
10
|
-
|
|
11
|
-
module SpeakeasyClientSDK
|
|
12
|
-
module Operations
|
|
13
|
-
|
|
14
|
-
class GetApiEndpointRequest < ::SpeakeasyClientSDK::Utils::FieldAugmented
|
|
15
|
-
extend T::Sig
|
|
16
|
-
|
|
17
|
-
# The ID of the ApiEndpoint to retrieve.
|
|
18
|
-
field :api_endpoint_id, String, { 'path_param': { 'field_name': 'apiEndpointID', 'style': 'simple', 'explode': false } }
|
|
19
|
-
# The ID of the Api the ApiEndpoint belongs to.
|
|
20
|
-
field :api_id, String, { 'path_param': { 'field_name': 'apiID', 'style': 'simple', 'explode': false } }
|
|
21
|
-
# The version ID of the Api the ApiEndpoint belongs to.
|
|
22
|
-
field :version_id, String, { 'path_param': { 'field_name': 'versionID', 'style': 'simple', 'explode': false } }
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
sig { params(api_endpoint_id: String, api_id: String, version_id: String).void }
|
|
26
|
-
def initialize(api_endpoint_id: nil, api_id: nil, version_id: nil)
|
|
27
|
-
@api_endpoint_id = api_endpoint_id
|
|
28
|
-
@api_id = api_id
|
|
29
|
-
@version_id = version_id
|
|
30
|
-
end
|
|
31
|
-
end
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
class GetApiEndpointResponse < ::SpeakeasyClientSDK::Utils::FieldAugmented
|
|
35
|
-
extend T::Sig
|
|
36
|
-
|
|
37
|
-
# HTTP response content type for this operation
|
|
38
|
-
field :content_type, String
|
|
39
|
-
# Raw HTTP response; suitable for custom response parsing
|
|
40
|
-
field :raw_response, Faraday::Response
|
|
41
|
-
# HTTP response status code for this operation
|
|
42
|
-
field :status_code, Integer
|
|
43
|
-
# OK
|
|
44
|
-
field :api_endpoint, T.nilable(Shared::ApiEndpoint)
|
|
45
|
-
# Default error response
|
|
46
|
-
field :error, T.nilable(Shared::Error)
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
sig { params(content_type: String, raw_response: Faraday::Response, status_code: Integer, api_endpoint: T.nilable(Shared::ApiEndpoint), error: T.nilable(Shared::Error)).void }
|
|
50
|
-
def initialize(content_type: nil, raw_response: nil, status_code: nil, api_endpoint: nil, error: nil)
|
|
51
|
-
@content_type = content_type
|
|
52
|
-
@raw_response = raw_response
|
|
53
|
-
@status_code = status_code
|
|
54
|
-
@api_endpoint = api_endpoint
|
|
55
|
-
@error = error
|
|
56
|
-
end
|
|
57
|
-
end
|
|
58
|
-
end
|
|
59
|
-
end
|
|
@@ -1,69 +0,0 @@
|
|
|
1
|
-
# Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT.
|
|
2
|
-
|
|
3
|
-
# typed: true
|
|
4
|
-
# frozen_string_literal: true
|
|
5
|
-
|
|
6
|
-
require 'sorbet-runtime'
|
|
7
|
-
require 'faraday'
|
|
8
|
-
require_relative '../shared/error'
|
|
9
|
-
|
|
10
|
-
module SpeakeasyClientSDK
|
|
11
|
-
module Operations
|
|
12
|
-
# Configuration for filter operations
|
|
13
|
-
class QueryParamOp < ::SpeakeasyClientSDK::Utils::FieldAugmented
|
|
14
|
-
extend T::Sig
|
|
15
|
-
|
|
16
|
-
# Whether to AND or OR the filters
|
|
17
|
-
field :and_, T::Boolean, { 'query_param': { 'field_name': 'and' } }
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
sig { params(and_: T::Boolean).void }
|
|
21
|
-
def initialize(and_: nil)
|
|
22
|
-
@and_ = and_
|
|
23
|
-
end
|
|
24
|
-
end
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
class GetApisRequest < ::SpeakeasyClientSDK::Utils::FieldAugmented
|
|
28
|
-
extend T::Sig
|
|
29
|
-
|
|
30
|
-
# Metadata to filter Apis on
|
|
31
|
-
field :metadata, T.nilable(T::Hash[Symbol, T::Array[String]]), { 'query_param': { 'field_name': 'metadata', 'style': 'deepObject', 'explode': true } }
|
|
32
|
-
# Configuration for filter operations
|
|
33
|
-
field :op, T.nilable(Operations::QueryParamOp), { 'query_param': { 'field_name': 'op', 'style': 'deepObject', 'explode': true } }
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
sig { params(metadata: T.nilable(T::Hash[Symbol, T::Array[String]]), op: T.nilable(Operations::QueryParamOp)).void }
|
|
37
|
-
def initialize(metadata: nil, op: nil)
|
|
38
|
-
@metadata = metadata
|
|
39
|
-
@op = op
|
|
40
|
-
end
|
|
41
|
-
end
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
class GetApisResponse < ::SpeakeasyClientSDK::Utils::FieldAugmented
|
|
45
|
-
extend T::Sig
|
|
46
|
-
|
|
47
|
-
# HTTP response content type for this operation
|
|
48
|
-
field :content_type, String
|
|
49
|
-
# Raw HTTP response; suitable for custom response parsing
|
|
50
|
-
field :raw_response, Faraday::Response
|
|
51
|
-
# HTTP response status code for this operation
|
|
52
|
-
field :status_code, Integer
|
|
53
|
-
# OK
|
|
54
|
-
field :classes, T.nilable(T::Array[Shared::Api])
|
|
55
|
-
# Default error response
|
|
56
|
-
field :error, T.nilable(Shared::Error)
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
sig { params(content_type: String, raw_response: Faraday::Response, status_code: Integer, classes: T.nilable(T::Array[Shared::Api]), error: T.nilable(Shared::Error)).void }
|
|
60
|
-
def initialize(content_type: nil, raw_response: nil, status_code: nil, classes: nil, error: nil)
|
|
61
|
-
@content_type = content_type
|
|
62
|
-
@raw_response = raw_response
|
|
63
|
-
@status_code = status_code
|
|
64
|
-
@classes = classes
|
|
65
|
-
@error = error
|
|
66
|
-
end
|
|
67
|
-
end
|
|
68
|
-
end
|
|
69
|
-
end
|
|
@@ -1,60 +0,0 @@
|
|
|
1
|
-
# Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT.
|
|
2
|
-
|
|
3
|
-
# typed: true
|
|
4
|
-
# frozen_string_literal: true
|
|
5
|
-
|
|
6
|
-
require 'sorbet-runtime'
|
|
7
|
-
require 'faraday'
|
|
8
|
-
require_relative '../shared/filters'
|
|
9
|
-
require_relative '../shared/embedaccesstokenresponse'
|
|
10
|
-
require_relative '../shared/error'
|
|
11
|
-
|
|
12
|
-
module SpeakeasyClientSDK
|
|
13
|
-
module Operations
|
|
14
|
-
|
|
15
|
-
class GetEmbedAccessTokenRequest < ::SpeakeasyClientSDK::Utils::FieldAugmented
|
|
16
|
-
extend T::Sig
|
|
17
|
-
|
|
18
|
-
# The description of the embed access token.
|
|
19
|
-
field :description, T.nilable(String), { 'query_param': { 'field_name': 'description', 'style': 'form', 'explode': true } }
|
|
20
|
-
# The duration (in minutes) of the embed access token.
|
|
21
|
-
field :duration, T.nilable(Integer), { 'query_param': { 'field_name': 'duration', 'style': 'form', 'explode': true } }
|
|
22
|
-
# The filter to apply to the query.
|
|
23
|
-
field :filters, T.nilable(Shared::Filters), { 'query_param': { 'field_name': 'filters', 'serialization': 'json' } }
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
sig { params(description: T.nilable(String), duration: T.nilable(Integer), filters: T.nilable(Shared::Filters)).void }
|
|
27
|
-
def initialize(description: nil, duration: nil, filters: nil)
|
|
28
|
-
@description = description
|
|
29
|
-
@duration = duration
|
|
30
|
-
@filters = filters
|
|
31
|
-
end
|
|
32
|
-
end
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
class GetEmbedAccessTokenResponse < ::SpeakeasyClientSDK::Utils::FieldAugmented
|
|
36
|
-
extend T::Sig
|
|
37
|
-
|
|
38
|
-
# HTTP response content type for this operation
|
|
39
|
-
field :content_type, String
|
|
40
|
-
# Raw HTTP response; suitable for custom response parsing
|
|
41
|
-
field :raw_response, Faraday::Response
|
|
42
|
-
# HTTP response status code for this operation
|
|
43
|
-
field :status_code, Integer
|
|
44
|
-
# OK
|
|
45
|
-
field :embed_access_token_response, T.nilable(Shared::EmbedAccessTokenResponse)
|
|
46
|
-
# Default error response
|
|
47
|
-
field :error, T.nilable(Shared::Error)
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
sig { params(content_type: String, raw_response: Faraday::Response, status_code: Integer, embed_access_token_response: T.nilable(Shared::EmbedAccessTokenResponse), error: T.nilable(Shared::Error)).void }
|
|
51
|
-
def initialize(content_type: nil, raw_response: nil, status_code: nil, embed_access_token_response: nil, error: nil)
|
|
52
|
-
@content_type = content_type
|
|
53
|
-
@raw_response = raw_response
|
|
54
|
-
@status_code = status_code
|
|
55
|
-
@embed_access_token_response = embed_access_token_response
|
|
56
|
-
@error = error
|
|
57
|
-
end
|
|
58
|
-
end
|
|
59
|
-
end
|
|
60
|
-
end
|
|
@@ -1,53 +0,0 @@
|
|
|
1
|
-
# Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT.
|
|
2
|
-
|
|
3
|
-
# typed: true
|
|
4
|
-
# frozen_string_literal: true
|
|
5
|
-
|
|
6
|
-
require 'sorbet-runtime'
|
|
7
|
-
require 'faraday'
|
|
8
|
-
require_relative '../shared/error'
|
|
9
|
-
require_relative '../shared/unboundedrequest'
|
|
10
|
-
|
|
11
|
-
module SpeakeasyClientSDK
|
|
12
|
-
module Operations
|
|
13
|
-
|
|
14
|
-
class GetRequestFromEventLogRequest < ::SpeakeasyClientSDK::Utils::FieldAugmented
|
|
15
|
-
extend T::Sig
|
|
16
|
-
|
|
17
|
-
# The ID of the request to retrieve.
|
|
18
|
-
field :request_id, String, { 'path_param': { 'field_name': 'requestID', 'style': 'simple', 'explode': false } }
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
sig { params(request_id: String).void }
|
|
22
|
-
def initialize(request_id: nil)
|
|
23
|
-
@request_id = request_id
|
|
24
|
-
end
|
|
25
|
-
end
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
class GetRequestFromEventLogResponse < ::SpeakeasyClientSDK::Utils::FieldAugmented
|
|
29
|
-
extend T::Sig
|
|
30
|
-
|
|
31
|
-
# HTTP response content type for this operation
|
|
32
|
-
field :content_type, String
|
|
33
|
-
# Raw HTTP response; suitable for custom response parsing
|
|
34
|
-
field :raw_response, Faraday::Response
|
|
35
|
-
# HTTP response status code for this operation
|
|
36
|
-
field :status_code, Integer
|
|
37
|
-
# Default error response
|
|
38
|
-
field :error, T.nilable(Shared::Error)
|
|
39
|
-
# OK
|
|
40
|
-
field :unbounded_request, T.nilable(Shared::UnboundedRequest)
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
sig { params(content_type: String, raw_response: Faraday::Response, status_code: Integer, error: T.nilable(Shared::Error), unbounded_request: T.nilable(Shared::UnboundedRequest)).void }
|
|
44
|
-
def initialize(content_type: nil, raw_response: nil, status_code: nil, error: nil, unbounded_request: nil)
|
|
45
|
-
@content_type = content_type
|
|
46
|
-
@raw_response = raw_response
|
|
47
|
-
@status_code = status_code
|
|
48
|
-
@error = error
|
|
49
|
-
@unbounded_request = unbounded_request
|
|
50
|
-
end
|
|
51
|
-
end
|
|
52
|
-
end
|
|
53
|
-
end
|
|
@@ -1,56 +0,0 @@
|
|
|
1
|
-
# Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT.
|
|
2
|
-
|
|
3
|
-
# typed: true
|
|
4
|
-
# frozen_string_literal: true
|
|
5
|
-
|
|
6
|
-
require 'sorbet-runtime'
|
|
7
|
-
require 'faraday'
|
|
8
|
-
require_relative '../shared/error'
|
|
9
|
-
require_relative '../shared/schema'
|
|
10
|
-
|
|
11
|
-
module SpeakeasyClientSDK
|
|
12
|
-
module Operations
|
|
13
|
-
|
|
14
|
-
class GetSchemaRequest < ::SpeakeasyClientSDK::Utils::FieldAugmented
|
|
15
|
-
extend T::Sig
|
|
16
|
-
|
|
17
|
-
# The ID of the Api to get the schema for.
|
|
18
|
-
field :api_id, String, { 'path_param': { 'field_name': 'apiID', 'style': 'simple', 'explode': false } }
|
|
19
|
-
# The version ID of the Api to delete metadata for.
|
|
20
|
-
field :version_id, String, { 'path_param': { 'field_name': 'versionID', 'style': 'simple', 'explode': false } }
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
sig { params(api_id: String, version_id: String).void }
|
|
24
|
-
def initialize(api_id: nil, version_id: nil)
|
|
25
|
-
@api_id = api_id
|
|
26
|
-
@version_id = version_id
|
|
27
|
-
end
|
|
28
|
-
end
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
class GetSchemaResponse < ::SpeakeasyClientSDK::Utils::FieldAugmented
|
|
32
|
-
extend T::Sig
|
|
33
|
-
|
|
34
|
-
# HTTP response content type for this operation
|
|
35
|
-
field :content_type, String
|
|
36
|
-
# Raw HTTP response; suitable for custom response parsing
|
|
37
|
-
field :raw_response, Faraday::Response
|
|
38
|
-
# HTTP response status code for this operation
|
|
39
|
-
field :status_code, Integer
|
|
40
|
-
# Default error response
|
|
41
|
-
field :error, T.nilable(Shared::Error)
|
|
42
|
-
# OK
|
|
43
|
-
field :schema, T.nilable(Shared::Schema)
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
sig { params(content_type: String, raw_response: Faraday::Response, status_code: Integer, error: T.nilable(Shared::Error), schema: T.nilable(Shared::Schema)).void }
|
|
47
|
-
def initialize(content_type: nil, raw_response: nil, status_code: nil, error: nil, schema: nil)
|
|
48
|
-
@content_type = content_type
|
|
49
|
-
@raw_response = raw_response
|
|
50
|
-
@status_code = status_code
|
|
51
|
-
@error = error
|
|
52
|
-
@schema = schema
|
|
53
|
-
end
|
|
54
|
-
end
|
|
55
|
-
end
|
|
56
|
-
end
|
|
@@ -1,62 +0,0 @@
|
|
|
1
|
-
# Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT.
|
|
2
|
-
|
|
3
|
-
# typed: true
|
|
4
|
-
# frozen_string_literal: true
|
|
5
|
-
|
|
6
|
-
require 'sorbet-runtime'
|
|
7
|
-
require 'faraday'
|
|
8
|
-
require_relative '../shared/error'
|
|
9
|
-
require_relative '../shared/schemadiff'
|
|
10
|
-
|
|
11
|
-
module SpeakeasyClientSDK
|
|
12
|
-
module Operations
|
|
13
|
-
|
|
14
|
-
class GetSchemaDiffRequest < ::SpeakeasyClientSDK::Utils::FieldAugmented
|
|
15
|
-
extend T::Sig
|
|
16
|
-
|
|
17
|
-
# The ID of the Api to retrieve schemas for.
|
|
18
|
-
field :api_id, String, { 'path_param': { 'field_name': 'apiID', 'style': 'simple', 'explode': false } }
|
|
19
|
-
# The base revision ID of the schema to retrieve.
|
|
20
|
-
field :base_revision_id, String, { 'path_param': { 'field_name': 'baseRevisionID', 'style': 'simple', 'explode': false } }
|
|
21
|
-
# The target revision ID of the schema to retrieve.
|
|
22
|
-
field :target_revision_id, String, { 'path_param': { 'field_name': 'targetRevisionID', 'style': 'simple', 'explode': false } }
|
|
23
|
-
# The version ID of the Api to delete metadata for.
|
|
24
|
-
field :version_id, String, { 'path_param': { 'field_name': 'versionID', 'style': 'simple', 'explode': false } }
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
sig { params(api_id: String, base_revision_id: String, target_revision_id: String, version_id: String).void }
|
|
28
|
-
def initialize(api_id: nil, base_revision_id: nil, target_revision_id: nil, version_id: nil)
|
|
29
|
-
@api_id = api_id
|
|
30
|
-
@base_revision_id = base_revision_id
|
|
31
|
-
@target_revision_id = target_revision_id
|
|
32
|
-
@version_id = version_id
|
|
33
|
-
end
|
|
34
|
-
end
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
class GetSchemaDiffResponse < ::SpeakeasyClientSDK::Utils::FieldAugmented
|
|
38
|
-
extend T::Sig
|
|
39
|
-
|
|
40
|
-
# HTTP response content type for this operation
|
|
41
|
-
field :content_type, String
|
|
42
|
-
# Raw HTTP response; suitable for custom response parsing
|
|
43
|
-
field :raw_response, Faraday::Response
|
|
44
|
-
# HTTP response status code for this operation
|
|
45
|
-
field :status_code, Integer
|
|
46
|
-
# Default error response
|
|
47
|
-
field :error, T.nilable(Shared::Error)
|
|
48
|
-
# OK
|
|
49
|
-
field :schema_diff, T.nilable(Shared::SchemaDiff)
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
sig { params(content_type: String, raw_response: Faraday::Response, status_code: Integer, error: T.nilable(Shared::Error), schema_diff: T.nilable(Shared::SchemaDiff)).void }
|
|
53
|
-
def initialize(content_type: nil, raw_response: nil, status_code: nil, error: nil, schema_diff: nil)
|
|
54
|
-
@content_type = content_type
|
|
55
|
-
@raw_response = raw_response
|
|
56
|
-
@status_code = status_code
|
|
57
|
-
@error = error
|
|
58
|
-
@schema_diff = schema_diff
|
|
59
|
-
end
|
|
60
|
-
end
|
|
61
|
-
end
|
|
62
|
-
end
|
|
@@ -1,59 +0,0 @@
|
|
|
1
|
-
# Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT.
|
|
2
|
-
|
|
3
|
-
# typed: true
|
|
4
|
-
# frozen_string_literal: true
|
|
5
|
-
|
|
6
|
-
require 'sorbet-runtime'
|
|
7
|
-
require 'faraday'
|
|
8
|
-
require_relative '../shared/error'
|
|
9
|
-
require_relative '../shared/schema'
|
|
10
|
-
|
|
11
|
-
module SpeakeasyClientSDK
|
|
12
|
-
module Operations
|
|
13
|
-
|
|
14
|
-
class GetSchemaRevisionRequest < ::SpeakeasyClientSDK::Utils::FieldAugmented
|
|
15
|
-
extend T::Sig
|
|
16
|
-
|
|
17
|
-
# The ID of the Api to retrieve schemas for.
|
|
18
|
-
field :api_id, String, { 'path_param': { 'field_name': 'apiID', 'style': 'simple', 'explode': false } }
|
|
19
|
-
# The revision ID of the schema to retrieve.
|
|
20
|
-
field :revision_id, String, { 'path_param': { 'field_name': 'revisionID', 'style': 'simple', 'explode': false } }
|
|
21
|
-
# The version ID of the Api to delete metadata for.
|
|
22
|
-
field :version_id, String, { 'path_param': { 'field_name': 'versionID', 'style': 'simple', 'explode': false } }
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
sig { params(api_id: String, revision_id: String, version_id: String).void }
|
|
26
|
-
def initialize(api_id: nil, revision_id: nil, version_id: nil)
|
|
27
|
-
@api_id = api_id
|
|
28
|
-
@revision_id = revision_id
|
|
29
|
-
@version_id = version_id
|
|
30
|
-
end
|
|
31
|
-
end
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
class GetSchemaRevisionResponse < ::SpeakeasyClientSDK::Utils::FieldAugmented
|
|
35
|
-
extend T::Sig
|
|
36
|
-
|
|
37
|
-
# HTTP response content type for this operation
|
|
38
|
-
field :content_type, String
|
|
39
|
-
# Raw HTTP response; suitable for custom response parsing
|
|
40
|
-
field :raw_response, Faraday::Response
|
|
41
|
-
# HTTP response status code for this operation
|
|
42
|
-
field :status_code, Integer
|
|
43
|
-
# Default error response
|
|
44
|
-
field :error, T.nilable(Shared::Error)
|
|
45
|
-
# OK
|
|
46
|
-
field :schema, T.nilable(Shared::Schema)
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
sig { params(content_type: String, raw_response: Faraday::Response, status_code: Integer, error: T.nilable(Shared::Error), schema: T.nilable(Shared::Schema)).void }
|
|
50
|
-
def initialize(content_type: nil, raw_response: nil, status_code: nil, error: nil, schema: nil)
|
|
51
|
-
@content_type = content_type
|
|
52
|
-
@raw_response = raw_response
|
|
53
|
-
@status_code = status_code
|
|
54
|
-
@error = error
|
|
55
|
-
@schema = schema
|
|
56
|
-
end
|
|
57
|
-
end
|
|
58
|
-
end
|
|
59
|
-
end
|