speakeasy_client_sdk_ruby 4.2.15 → 4.2.17
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/speakeasy_client_sdk/apiendpoints.rb +1 -1
- data/lib/speakeasy_client_sdk/apis.rb +1 -1
- data/lib/speakeasy_client_sdk/artifacts.rb +1 -1
- data/lib/speakeasy_client_sdk/auth.rb +1 -1
- data/lib/speakeasy_client_sdk/embeds.rb +1 -1
- data/lib/speakeasy_client_sdk/events.rb +1 -1
- data/lib/speakeasy_client_sdk/github.rb +1 -1
- data/lib/speakeasy_client_sdk/metadata.rb +1 -1
- data/lib/speakeasy_client_sdk/models/operations/applyoperationids_request.rb +1 -1
- data/lib/speakeasy_client_sdk/models/operations/applyoperationids_requestbody.rb +1 -1
- data/lib/speakeasy_client_sdk/models/operations/applyoperationids_response.rb +1 -1
- data/lib/speakeasy_client_sdk/models/operations/checkaccess_request.rb +1 -1
- data/lib/speakeasy_client_sdk/models/operations/checkaccess_response.rb +1 -1
- data/lib/speakeasy_client_sdk/models/operations/configurecodesamples_response.rb +1 -1
- data/lib/speakeasy_client_sdk/models/operations/configuremintlifyrepo_response.rb +1 -1
- data/lib/speakeasy_client_sdk/models/operations/configuretarget_response.rb +1 -1
- data/lib/speakeasy_client_sdk/models/operations/create_requestbody.rb +1 -1
- data/lib/speakeasy_client_sdk/models/operations/create_response.rb +1 -1
- data/lib/speakeasy_client_sdk/models/operations/createfreetrial_response.rb +1 -1
- data/lib/speakeasy_client_sdk/models/operations/deleteapi_request.rb +1 -1
- data/lib/speakeasy_client_sdk/models/operations/deleteapi_response.rb +1 -1
- data/lib/speakeasy_client_sdk/models/operations/deleteapiendpoint_request.rb +1 -1
- data/lib/speakeasy_client_sdk/models/operations/deleteapiendpoint_response.rb +1 -1
- data/lib/speakeasy_client_sdk/models/operations/deleteschema_request.rb +1 -1
- data/lib/speakeasy_client_sdk/models/operations/deleteschema_response.rb +1 -1
- data/lib/speakeasy_client_sdk/models/operations/deleteversionmetadata_request.rb +1 -1
- data/lib/speakeasy_client_sdk/models/operations/deleteversionmetadata_response.rb +1 -1
- data/lib/speakeasy_client_sdk/models/operations/downloadschema_request.rb +1 -1
- data/lib/speakeasy_client_sdk/models/operations/downloadschema_response.rb +1 -1
- data/lib/speakeasy_client_sdk/models/operations/downloadschemarevision_request.rb +1 -1
- data/lib/speakeasy_client_sdk/models/operations/downloadschemarevision_response.rb +1 -1
- data/lib/speakeasy_client_sdk/models/operations/fetchpublishingprs_request.rb +1 -1
- data/lib/speakeasy_client_sdk/models/operations/fetchpublishingprs_response.rb +1 -1
- data/lib/speakeasy_client_sdk/models/operations/file.rb +1 -1
- data/lib/speakeasy_client_sdk/models/operations/findapiendpoint_request.rb +1 -1
- data/lib/speakeasy_client_sdk/models/operations/findapiendpoint_response.rb +1 -1
- data/lib/speakeasy_client_sdk/models/operations/generateopenapispec_request.rb +1 -1
- data/lib/speakeasy_client_sdk/models/operations/generateopenapispec_response.rb +1 -1
- data/lib/speakeasy_client_sdk/models/operations/generateopenapispecforapiendpoint_request.rb +1 -1
- data/lib/speakeasy_client_sdk/models/operations/generateopenapispecforapiendpoint_response.rb +1 -1
- data/lib/speakeasy_client_sdk/models/operations/generatepostmancollection_request.rb +1 -1
- data/lib/speakeasy_client_sdk/models/operations/generatepostmancollection_response.rb +1 -1
- data/lib/speakeasy_client_sdk/models/operations/generatepostmancollectionforapiendpoint_request.rb +1 -1
- data/lib/speakeasy_client_sdk/models/operations/generatepostmancollectionforapiendpoint_response.rb +1 -1
- data/lib/speakeasy_client_sdk/models/operations/generaterequestpostmancollection_request.rb +1 -1
- data/lib/speakeasy_client_sdk/models/operations/generaterequestpostmancollection_response.rb +1 -1
- data/lib/speakeasy_client_sdk/models/operations/getaccesstoken_request.rb +1 -1
- data/lib/speakeasy_client_sdk/models/operations/getaccesstoken_response.rb +1 -1
- data/lib/speakeasy_client_sdk/models/operations/getaction_request.rb +1 -1
- data/lib/speakeasy_client_sdk/models/operations/getaction_response.rb +1 -1
- data/lib/speakeasy_client_sdk/models/operations/getallapiendpoints_request.rb +1 -1
- data/lib/speakeasy_client_sdk/models/operations/getallapiendpoints_response.rb +1 -1
- data/lib/speakeasy_client_sdk/models/operations/getallapiversions_request.rb +1 -1
- data/lib/speakeasy_client_sdk/models/operations/getallapiversions_response.rb +1 -1
- data/lib/speakeasy_client_sdk/models/operations/getallforversionapiendpoints_request.rb +1 -1
- data/lib/speakeasy_client_sdk/models/operations/getallforversionapiendpoints_response.rb +1 -1
- data/lib/speakeasy_client_sdk/models/operations/getapiendpoint_request.rb +1 -1
- data/lib/speakeasy_client_sdk/models/operations/getapiendpoint_response.rb +1 -1
- data/lib/speakeasy_client_sdk/models/operations/getapis_request.rb +1 -1
- data/lib/speakeasy_client_sdk/models/operations/getapis_response.rb +1 -1
- data/lib/speakeasy_client_sdk/models/operations/getblob_request.rb +1 -1
- data/lib/speakeasy_client_sdk/models/operations/getblob_response.rb +1 -1
- data/lib/speakeasy_client_sdk/models/operations/getchangesreportsignedurl_request.rb +1 -1
- data/lib/speakeasy_client_sdk/models/operations/getchangesreportsignedurl_response.rb +1 -1
- data/lib/speakeasy_client_sdk/models/operations/getchangesreportsignedurl_signedaccess.rb +1 -1
- data/lib/speakeasy_client_sdk/models/operations/getembedaccesstoken_request.rb +1 -1
- data/lib/speakeasy_client_sdk/models/operations/getembedaccesstoken_response.rb +1 -1
- data/lib/speakeasy_client_sdk/models/operations/getlintingreportsignedurl_request.rb +1 -1
- data/lib/speakeasy_client_sdk/models/operations/getlintingreportsignedurl_response.rb +1 -1
- data/lib/speakeasy_client_sdk/models/operations/getlintingreportsignedurl_signedaccess.rb +1 -1
- data/lib/speakeasy_client_sdk/models/operations/getmanifest_request.rb +1 -1
- data/lib/speakeasy_client_sdk/models/operations/getmanifest_response.rb +1 -1
- data/lib/speakeasy_client_sdk/models/operations/getnamespaces_response.rb +1 -1
- data/lib/speakeasy_client_sdk/models/operations/getoassummary_request.rb +1 -1
- data/lib/speakeasy_client_sdk/models/operations/getoassummary_response.rb +1 -1
- data/lib/speakeasy_client_sdk/models/operations/getorganization_request.rb +24 -0
- data/lib/speakeasy_client_sdk/models/operations/getorganization_response.rb +36 -0
- data/lib/speakeasy_client_sdk/models/operations/getorganizations_response.rb +1 -1
- data/lib/speakeasy_client_sdk/models/operations/getorganizationusage_response.rb +1 -1
- data/lib/speakeasy_client_sdk/models/operations/getrequestfromeventlog_request.rb +1 -1
- data/lib/speakeasy_client_sdk/models/operations/getrequestfromeventlog_response.rb +1 -1
- data/lib/speakeasy_client_sdk/models/operations/getrevisions_request.rb +1 -1
- data/lib/speakeasy_client_sdk/models/operations/getrevisions_response.rb +1 -1
- data/lib/speakeasy_client_sdk/models/operations/getschema_request.rb +1 -1
- data/lib/speakeasy_client_sdk/models/operations/getschema_response.rb +1 -1
- data/lib/speakeasy_client_sdk/models/operations/getschemadiff_request.rb +1 -1
- data/lib/speakeasy_client_sdk/models/operations/getschemadiff_response.rb +1 -1
- data/lib/speakeasy_client_sdk/models/operations/getschemarevision_request.rb +1 -1
- data/lib/speakeasy_client_sdk/models/operations/getschemarevision_response.rb +1 -1
- data/lib/speakeasy_client_sdk/models/operations/getschemas_request.rb +1 -1
- data/lib/speakeasy_client_sdk/models/operations/getschemas_response.rb +1 -1
- data/lib/speakeasy_client_sdk/models/operations/gettags_request.rb +1 -1
- data/lib/speakeasy_client_sdk/models/operations/gettags_response.rb +1 -1
- data/lib/speakeasy_client_sdk/models/operations/getuser_response.rb +1 -1
- data/lib/speakeasy_client_sdk/models/operations/getvalidembedaccesstokens_response.rb +1 -1
- data/lib/speakeasy_client_sdk/models/operations/getversionmetadata_request.rb +1 -1
- data/lib/speakeasy_client_sdk/models/operations/getversionmetadata_response.rb +1 -1
- data/lib/speakeasy_client_sdk/models/operations/getworkspace_request.rb +24 -0
- data/lib/speakeasy_client_sdk/models/operations/getworkspace_response.rb +36 -0
- data/lib/speakeasy_client_sdk/models/operations/getworkspaceaccess_request.rb +1 -1
- data/lib/speakeasy_client_sdk/models/operations/getworkspaceaccess_response.rb +1 -1
- data/lib/speakeasy_client_sdk/models/operations/getworkspaceeventsbytarget_request.rb +1 -1
- data/lib/speakeasy_client_sdk/models/operations/getworkspaceeventsbytarget_response.rb +1 -1
- data/lib/speakeasy_client_sdk/models/operations/getworkspacetargets_request.rb +1 -1
- data/lib/speakeasy_client_sdk/models/operations/getworkspacetargets_response.rb +1 -1
- data/lib/speakeasy_client_sdk/models/operations/githubcheckpublishingsecrets_request.rb +1 -1
- data/lib/speakeasy_client_sdk/models/operations/githubcheckpublishingsecrets_response.rb +1 -1
- data/lib/speakeasy_client_sdk/models/operations/githubstorepublishingsecrets_response.rb +1 -1
- data/lib/speakeasy_client_sdk/models/operations/insertversionmetadata_request.rb +1 -1
- data/lib/speakeasy_client_sdk/models/operations/insertversionmetadata_response.rb +1 -1
- data/lib/speakeasy_client_sdk/models/operations/op.rb +1 -1
- data/lib/speakeasy_client_sdk/models/operations/posttags_request.rb +1 -1
- data/lib/speakeasy_client_sdk/models/operations/posttags_response.rb +1 -1
- data/lib/speakeasy_client_sdk/models/operations/postworkspaceevents_request.rb +1 -1
- data/lib/speakeasy_client_sdk/models/operations/postworkspaceevents_response.rb +1 -1
- data/lib/speakeasy_client_sdk/models/operations/preflight_response.rb +1 -1
- data/lib/speakeasy_client_sdk/models/operations/queryeventlog_request.rb +1 -1
- data/lib/speakeasy_client_sdk/models/operations/queryeventlog_response.rb +1 -1
- data/lib/speakeasy_client_sdk/models/operations/queryparam_op.rb +1 -1
- data/lib/speakeasy_client_sdk/models/operations/registerschema_file.rb +1 -1
- data/lib/speakeasy_client_sdk/models/operations/registerschema_request.rb +1 -1
- data/lib/speakeasy_client_sdk/models/operations/registerschema_requestbody.rb +1 -1
- data/lib/speakeasy_client_sdk/models/operations/registerschema_response.rb +1 -1
- data/lib/speakeasy_client_sdk/models/operations/revokeembedaccesstoken_request.rb +1 -1
- data/lib/speakeasy_client_sdk/models/operations/revokeembedaccesstoken_response.rb +1 -1
- data/lib/speakeasy_client_sdk/models/operations/schema.rb +1 -1
- data/lib/speakeasy_client_sdk/models/operations/searchworkspaceevents_request.rb +1 -1
- data/lib/speakeasy_client_sdk/models/operations/searchworkspaceevents_response.rb +1 -1
- data/lib/speakeasy_client_sdk/models/operations/suggestoperationids_request.rb +1 -1
- data/lib/speakeasy_client_sdk/models/operations/suggestoperationids_requestbody.rb +1 -1
- data/lib/speakeasy_client_sdk/models/operations/suggestoperationids_response.rb +1 -1
- data/lib/speakeasy_client_sdk/models/operations/suggestoperationidsregistry_request.rb +1 -1
- data/lib/speakeasy_client_sdk/models/operations/suggestoperationidsregistry_response.rb +1 -1
- data/lib/speakeasy_client_sdk/models/operations/triggeraction_response.rb +1 -1
- data/lib/speakeasy_client_sdk/models/operations/uploadreport_requestbody.rb +1 -1
- data/lib/speakeasy_client_sdk/models/operations/uploadreport_response.rb +1 -1
- data/lib/speakeasy_client_sdk/models/operations/uploadreport_uploadedreport.rb +1 -1
- data/lib/speakeasy_client_sdk/models/operations/upsertapi_request.rb +1 -1
- data/lib/speakeasy_client_sdk/models/operations/upsertapi_response.rb +1 -1
- data/lib/speakeasy_client_sdk/models/operations/upsertapiendpoint_request.rb +1 -1
- data/lib/speakeasy_client_sdk/models/operations/upsertapiendpoint_response.rb +1 -1
- data/lib/speakeasy_client_sdk/models/operations/validateapikey_response.rb +1 -1
- data/lib/speakeasy_client_sdk/models/operations.rb +5 -1
- data/lib/speakeasy_client_sdk/models/shared/accessdetails.rb +1 -1
- data/lib/speakeasy_client_sdk/models/shared/accesstoken.rb +1 -1
- data/lib/speakeasy_client_sdk/models/shared/accesstoken_user.rb +1 -1
- data/lib/speakeasy_client_sdk/models/shared/{account_type.rb → accounttype.rb} +2 -1
- data/lib/speakeasy_client_sdk/models/shared/addtags.rb +1 -1
- data/lib/speakeasy_client_sdk/models/shared/annotations.rb +1 -1
- data/lib/speakeasy_client_sdk/models/shared/api.rb +1 -1
- data/lib/speakeasy_client_sdk/models/shared/api_input.rb +1 -1
- data/lib/speakeasy_client_sdk/models/shared/apiendpoint.rb +1 -1
- data/lib/speakeasy_client_sdk/models/shared/apiendpoint_input.rb +1 -1
- data/lib/speakeasy_client_sdk/models/shared/apikeydetails.rb +5 -5
- data/lib/speakeasy_client_sdk/models/shared/auth.rb +1 -1
- data/lib/speakeasy_client_sdk/models/shared/boundedrequest.rb +1 -1
- data/lib/speakeasy_client_sdk/models/shared/claims.rb +1 -1
- data/lib/speakeasy_client_sdk/models/shared/clievent.rb +1 -1
- data/lib/speakeasy_client_sdk/models/shared/depth_style.rb +1 -1
- data/lib/speakeasy_client_sdk/models/shared/embedaccesstokenresponse.rb +1 -1
- data/lib/speakeasy_client_sdk/models/shared/embedtoken.rb +1 -1
- data/lib/speakeasy_client_sdk/models/shared/error.rb +1 -1
- data/lib/speakeasy_client_sdk/models/shared/featureflag.rb +1 -1
- data/lib/speakeasy_client_sdk/models/shared/filter.rb +1 -1
- data/lib/speakeasy_client_sdk/models/shared/filters.rb +1 -1
- data/lib/speakeasy_client_sdk/models/shared/generate_bump_type.rb +1 -1
- data/lib/speakeasy_client_sdk/models/shared/generateopenapispecdiff.rb +1 -1
- data/lib/speakeasy_client_sdk/models/shared/getnamespacesresponse.rb +1 -1
- data/lib/speakeasy_client_sdk/models/shared/getrevisionsresponse.rb +1 -1
- data/lib/speakeasy_client_sdk/models/shared/gettagsresponse.rb +1 -1
- data/lib/speakeasy_client_sdk/models/shared/githubconfigurecodesamplesrequest.rb +1 -1
- data/lib/speakeasy_client_sdk/models/shared/githubconfigurecodesamplesresponse.rb +1 -1
- data/lib/speakeasy_client_sdk/models/shared/githubconfiguremintlifyreporequest.rb +1 -1
- data/lib/speakeasy_client_sdk/models/shared/githubconfiguretargetrequest.rb +1 -1
- data/lib/speakeasy_client_sdk/models/shared/githubgetactionresponse.rb +1 -1
- data/lib/speakeasy_client_sdk/models/shared/githubmissingpublishingsecretsresponse.rb +1 -1
- data/lib/speakeasy_client_sdk/models/shared/githubpublishingprresponse.rb +1 -1
- data/lib/speakeasy_client_sdk/models/shared/githubstorepublishingsecretsrequest.rb +1 -1
- data/lib/speakeasy_client_sdk/models/shared/githubtriggeractionrequest.rb +1 -1
- data/lib/speakeasy_client_sdk/models/shared/interactiontype.rb +1 -1
- data/lib/speakeasy_client_sdk/models/shared/level.rb +1 -1
- data/lib/speakeasy_client_sdk/models/shared/license.rb +1 -1
- data/lib/speakeasy_client_sdk/models/shared/manifest.rb +1 -1
- data/lib/speakeasy_client_sdk/models/shared/namespace.rb +1 -1
- data/lib/speakeasy_client_sdk/models/shared/oasinfo.rb +1 -1
- data/lib/speakeasy_client_sdk/models/shared/oasoperation.rb +1 -1
- data/lib/speakeasy_client_sdk/models/shared/oassummary.rb +1 -1
- data/lib/speakeasy_client_sdk/models/shared/openapi_diff_bump_type.rb +1 -1
- data/lib/speakeasy_client_sdk/models/shared/organization.rb +7 -4
- data/lib/speakeasy_client_sdk/models/shared/organizationusage.rb +1 -1
- data/lib/speakeasy_client_sdk/models/shared/organizationusageresponse.rb +1 -1
- data/lib/speakeasy_client_sdk/models/shared/preflightrequest.rb +1 -1
- data/lib/speakeasy_client_sdk/models/shared/preflighttoken.rb +1 -1
- data/lib/speakeasy_client_sdk/models/shared/report.rb +1 -1
- data/lib/speakeasy_client_sdk/models/shared/requestmetadata.rb +1 -1
- data/lib/speakeasy_client_sdk/models/shared/revision.rb +1 -1
- data/lib/speakeasy_client_sdk/models/shared/schema.rb +1 -1
- data/lib/speakeasy_client_sdk/models/shared/schemadiff.rb +1 -1
- data/lib/speakeasy_client_sdk/models/shared/security.rb +1 -1
- data/lib/speakeasy_client_sdk/models/shared/shorturl.rb +1 -1
- data/lib/speakeasy_client_sdk/models/shared/style.rb +1 -1
- data/lib/speakeasy_client_sdk/models/shared/suggestedoperationids.rb +1 -1
- data/lib/speakeasy_client_sdk/models/shared/suggestoperationidsopts.rb +1 -1
- data/lib/speakeasy_client_sdk/models/shared/tag.rb +1 -1
- data/lib/speakeasy_client_sdk/models/shared/targetsdk.rb +1 -1
- data/lib/speakeasy_client_sdk/models/shared/type.rb +1 -1
- data/lib/speakeasy_client_sdk/models/shared/unboundedrequest.rb +1 -1
- data/lib/speakeasy_client_sdk/models/shared/user.rb +1 -1
- data/lib/speakeasy_client_sdk/models/shared/v2descriptor.rb +1 -1
- data/lib/speakeasy_client_sdk/models/shared/valuechange.rb +1 -1
- data/lib/speakeasy_client_sdk/models/shared/versionmetadata.rb +1 -1
- data/lib/speakeasy_client_sdk/models/shared/versionmetadata_input.rb +1 -1
- data/lib/speakeasy_client_sdk/models/shared/workflowdocument.rb +1 -1
- data/lib/speakeasy_client_sdk/models/shared/workspace.rb +51 -0
- data/lib/speakeasy_client_sdk/models/shared/workspaces.rb +3 -3
- data/lib/speakeasy_client_sdk/models/shared.rb +4 -5
- data/lib/speakeasy_client_sdk/organizations.rb +44 -1
- data/lib/speakeasy_client_sdk/reports.rb +1 -1
- data/lib/speakeasy_client_sdk/requests.rb +1 -1
- data/lib/speakeasy_client_sdk/schemas.rb +1 -1
- data/lib/speakeasy_client_sdk/sdk.rb +3 -2
- data/lib/speakeasy_client_sdk/sdkconfiguration.rb +4 -4
- data/lib/speakeasy_client_sdk/shorturls.rb +1 -1
- data/lib/speakeasy_client_sdk/suggest.rb +1 -1
- data/lib/speakeasy_client_sdk/utils/metadata_fields.rb +1 -1
- data/lib/speakeasy_client_sdk/utils/t.rb +1 -1
- data/lib/speakeasy_client_sdk/utils/utils.rb +1 -1
- data/lib/speakeasy_client_sdk/workspaces.rb +64 -0
- data/lib/speakeasy_client_sdk_ruby.rb +2 -1
- metadata +9 -5
- data/lib/speakeasy_client_sdk/models/shared/accesstoken_account_type.rb +0 -20
- data/lib/speakeasy_client_sdk/models/shared/organization_account_type.rb +0 -20
@@ -1,4 +1,4 @@
|
|
1
|
-
# Code generated by Speakeasy (https://
|
1
|
+
# Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
2
2
|
|
3
3
|
# typed: true
|
4
4
|
# frozen_string_literal: true
|
@@ -12,7 +12,7 @@ module SpeakeasyClientSDK
|
|
12
12
|
extend T::Sig
|
13
13
|
|
14
14
|
|
15
|
-
field :
|
15
|
+
field :account_type_v2, ::SpeakeasyClientSDK::Shared::AccountType, { 'format_json': { 'letter_case': ::SpeakeasyClientSDK::Utils.field_name('account_type_v2'), 'decoder': Utils.enum_from_string(::SpeakeasyClientSDK::Shared::AccountType, false) } }
|
16
16
|
|
17
17
|
field :enabled_features, T::Array[::String], { 'format_json': { 'letter_case': ::SpeakeasyClientSDK::Utils.field_name('enabled_features') } }
|
18
18
|
|
@@ -29,9 +29,9 @@ module SpeakeasyClientSDK
|
|
29
29
|
field :generation_access_unlimited, T.nilable(T::Boolean), { 'format_json': { 'letter_case': ::SpeakeasyClientSDK::Utils.field_name('generation_access_unlimited') } }
|
30
30
|
|
31
31
|
|
32
|
-
sig { params(
|
33
|
-
def initialize(
|
34
|
-
@
|
32
|
+
sig { params(account_type_v2: ::SpeakeasyClientSDK::Shared::AccountType, enabled_features: T::Array[::String], org_slug: ::String, telemetry_disabled: T::Boolean, workspace_id: ::String, workspace_slug: ::String, feature_flags: T.nilable(T::Array[::String]), generation_access_unlimited: T.nilable(T::Boolean)).void }
|
33
|
+
def initialize(account_type_v2: nil, enabled_features: nil, org_slug: nil, telemetry_disabled: nil, workspace_id: nil, workspace_slug: nil, feature_flags: nil, generation_access_unlimited: nil)
|
34
|
+
@account_type_v2 = account_type_v2
|
35
35
|
@enabled_features = enabled_features
|
36
36
|
@org_slug = org_slug
|
37
37
|
@telemetry_disabled = telemetry_disabled
|
@@ -1,4 +1,4 @@
|
|
1
|
-
# Code generated by Speakeasy (https://
|
1
|
+
# Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
2
2
|
|
3
3
|
# typed: true
|
4
4
|
# frozen_string_literal: true
|
@@ -12,7 +12,7 @@ module SpeakeasyClientSDK
|
|
12
12
|
extend T::Sig
|
13
13
|
|
14
14
|
|
15
|
-
field :account_type, ::SpeakeasyClientSDK::Shared::
|
15
|
+
field :account_type, ::SpeakeasyClientSDK::Shared::AccountType, { 'format_json': { 'letter_case': ::SpeakeasyClientSDK::Utils.field_name('account_type'), 'decoder': Utils.enum_from_string(::SpeakeasyClientSDK::Shared::AccountType, false) } }
|
16
16
|
|
17
17
|
field :id, ::String, { 'format_json': { 'letter_case': ::SpeakeasyClientSDK::Utils.field_name('id') } }
|
18
18
|
|
@@ -22,18 +22,21 @@ module SpeakeasyClientSDK
|
|
22
22
|
|
23
23
|
field :created_at, T.nilable(::DateTime), { 'format_json': { 'letter_case': ::SpeakeasyClientSDK::Utils.field_name('created_at'), 'decoder': Utils.datetime_from_iso_format(true) } }
|
24
24
|
|
25
|
+
field :free_trial_expiry, T.nilable(::DateTime), { 'format_json': { 'letter_case': ::SpeakeasyClientSDK::Utils.field_name('free_trial_expiry'), 'decoder': Utils.datetime_from_iso_format(true) } }
|
26
|
+
|
25
27
|
field :slug, T.nilable(::String), { 'format_json': { 'letter_case': ::SpeakeasyClientSDK::Utils.field_name('slug') } }
|
26
28
|
|
27
29
|
field :updated_at, T.nilable(::DateTime), { 'format_json': { 'letter_case': ::SpeakeasyClientSDK::Utils.field_name('updated_at'), 'decoder': Utils.datetime_from_iso_format(true) } }
|
28
30
|
|
29
31
|
|
30
|
-
sig { params(account_type: ::SpeakeasyClientSDK::Shared::
|
31
|
-
def initialize(account_type: nil, id: nil, name: nil, telemetry_disabled: nil, created_at: nil, slug: nil, updated_at: nil)
|
32
|
+
sig { params(account_type: ::SpeakeasyClientSDK::Shared::AccountType, id: ::String, name: ::String, telemetry_disabled: T::Boolean, created_at: T.nilable(::DateTime), free_trial_expiry: T.nilable(::DateTime), slug: T.nilable(::String), updated_at: T.nilable(::DateTime)).void }
|
33
|
+
def initialize(account_type: nil, id: nil, name: nil, telemetry_disabled: nil, created_at: nil, free_trial_expiry: nil, slug: nil, updated_at: nil)
|
32
34
|
@account_type = account_type
|
33
35
|
@id = id
|
34
36
|
@name = name
|
35
37
|
@telemetry_disabled = telemetry_disabled
|
36
38
|
@created_at = created_at
|
39
|
+
@free_trial_expiry = free_trial_expiry
|
37
40
|
@slug = slug
|
38
41
|
@updated_at = updated_at
|
39
42
|
end
|
@@ -0,0 +1,51 @@
|
|
1
|
+
# Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
2
|
+
|
3
|
+
# typed: true
|
4
|
+
# frozen_string_literal: true
|
5
|
+
|
6
|
+
|
7
|
+
module SpeakeasyClientSDK
|
8
|
+
module Shared
|
9
|
+
|
10
|
+
# A speakeasy workspace
|
11
|
+
class Workspace < ::SpeakeasyClientSDK::Utils::FieldAugmented
|
12
|
+
extend T::Sig
|
13
|
+
|
14
|
+
|
15
|
+
field :created_at, ::DateTime, { 'format_json': { 'letter_case': ::SpeakeasyClientSDK::Utils.field_name('created_at'), 'decoder': Utils.datetime_from_iso_format(false) } }
|
16
|
+
|
17
|
+
field :id, ::String, { 'format_json': { 'letter_case': ::SpeakeasyClientSDK::Utils.field_name('id') } }
|
18
|
+
|
19
|
+
field :name, ::String, { 'format_json': { 'letter_case': ::SpeakeasyClientSDK::Utils.field_name('name') } }
|
20
|
+
|
21
|
+
field :organization_id, ::String, { 'format_json': { 'letter_case': ::SpeakeasyClientSDK::Utils.field_name('organization_id') } }
|
22
|
+
|
23
|
+
field :slug, ::String, { 'format_json': { 'letter_case': ::SpeakeasyClientSDK::Utils.field_name('slug') } }
|
24
|
+
|
25
|
+
field :telemetry_disabled, T::Boolean, { 'format_json': { 'letter_case': ::SpeakeasyClientSDK::Utils.field_name('telemetry_disabled') } }
|
26
|
+
|
27
|
+
field :updated_at, ::DateTime, { 'format_json': { 'letter_case': ::SpeakeasyClientSDK::Utils.field_name('updated_at'), 'decoder': Utils.datetime_from_iso_format(false) } }
|
28
|
+
|
29
|
+
field :verified, T::Boolean, { 'format_json': { 'letter_case': ::SpeakeasyClientSDK::Utils.field_name('verified') } }
|
30
|
+
|
31
|
+
field :oci_repo, T.nilable(::String), { 'format_json': { 'letter_case': ::SpeakeasyClientSDK::Utils.field_name('oci_repo') } }
|
32
|
+
|
33
|
+
field :oci_repo_created_at, T.nilable(::DateTime), { 'format_json': { 'letter_case': ::SpeakeasyClientSDK::Utils.field_name('oci_repo_created_at'), 'decoder': Utils.datetime_from_iso_format(true) } }
|
34
|
+
|
35
|
+
|
36
|
+
sig { params(created_at: ::DateTime, id: ::String, name: ::String, organization_id: ::String, slug: ::String, telemetry_disabled: T::Boolean, updated_at: ::DateTime, verified: T::Boolean, oci_repo: T.nilable(::String), oci_repo_created_at: T.nilable(::DateTime)).void }
|
37
|
+
def initialize(created_at: nil, id: nil, name: nil, organization_id: nil, slug: nil, telemetry_disabled: nil, updated_at: nil, verified: nil, oci_repo: nil, oci_repo_created_at: nil)
|
38
|
+
@created_at = created_at
|
39
|
+
@id = id
|
40
|
+
@name = name
|
41
|
+
@organization_id = organization_id
|
42
|
+
@slug = slug
|
43
|
+
@telemetry_disabled = telemetry_disabled
|
44
|
+
@updated_at = updated_at
|
45
|
+
@verified = verified
|
46
|
+
@oci_repo = oci_repo
|
47
|
+
@oci_repo_created_at = oci_repo_created_at
|
48
|
+
end
|
49
|
+
end
|
50
|
+
end
|
51
|
+
end
|
@@ -1,4 +1,4 @@
|
|
1
|
-
# Code generated by Speakeasy (https://
|
1
|
+
# Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
2
2
|
|
3
3
|
# typed: true
|
4
4
|
# frozen_string_literal: true
|
@@ -12,7 +12,7 @@ module SpeakeasyClientSDK
|
|
12
12
|
extend T::Sig
|
13
13
|
|
14
14
|
|
15
|
-
field :account_type, T.nilable(::SpeakeasyClientSDK::Shared::
|
15
|
+
field :account_type, T.nilable(::SpeakeasyClientSDK::Shared::AccountType), { 'format_json': { 'letter_case': ::SpeakeasyClientSDK::Utils.field_name('account_type'), 'decoder': Utils.enum_from_string(::SpeakeasyClientSDK::Shared::AccountType, true) } }
|
16
16
|
|
17
17
|
field :id, T.nilable(::String), { 'format_json': { 'letter_case': ::SpeakeasyClientSDK::Utils.field_name('id') } }
|
18
18
|
|
@@ -21,7 +21,7 @@ module SpeakeasyClientSDK
|
|
21
21
|
field :updated_at, T.nilable(::DateTime), { 'format_json': { 'letter_case': ::SpeakeasyClientSDK::Utils.field_name('updated_at'), 'decoder': Utils.datetime_from_iso_format(true) } }
|
22
22
|
|
23
23
|
|
24
|
-
sig { params(account_type: T.nilable(::SpeakeasyClientSDK::Shared::
|
24
|
+
sig { params(account_type: T.nilable(::SpeakeasyClientSDK::Shared::AccountType), id: T.nilable(::String), name: T.nilable(::String), updated_at: T.nilable(::DateTime)).void }
|
25
25
|
def initialize(account_type: nil, id: nil, name: nil, updated_at: nil)
|
26
26
|
@account_type = account_type
|
27
27
|
@id = id
|