Sha256: dec62c9d4533ec4400defd3f7ce35f2b48dffa51f4cff95ee3a594ab3e99978f
Contents?: true
Size: 1.01 KB
Versions: 1
Compression:
Stored size: 1.01 KB
Contents
# Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. # typed: true # frozen_string_literal: true module OpenApiSDK module Shared class Security < ::OpenApiSDK::Utils::FieldAugmented extend T::Sig field :api_key, T.nilable(::String), { 'security': { 'scheme': true, 'type': 'apiKey', 'sub_type': 'header', 'field_name': 'x-api-key' } } field :bearer, T.nilable(::String), { 'security': { 'scheme': true, 'type': 'http', 'sub_type': 'bearer', 'field_name': 'Authorization' } } field :workspace_identifier, T.nilable(::String), { 'security': { 'scheme': true, 'type': 'apiKey', 'sub_type': 'header', 'field_name': 'x-workspace-identifier' } } sig { params(api_key: T.nilable(::String), bearer: T.nilable(::String), workspace_identifier: T.nilable(::String)).void } def initialize(api_key: nil, bearer: nil, workspace_identifier: nil) @api_key = api_key @bearer = bearer @workspace_identifier = workspace_identifier end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
speakeasy_client_sdk_ruby-4.2.24 | lib/open_api_sdk/models/shared/security.rb |