# Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. # typed: true # frozen_string_literal: true module StackOne module Shared class PatchAccountExternalDto < ::StackOne::Utils::FieldAugmented extend T::Sig field :authentication_config_key, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('authentication_config_key') } } field :credentials, T.nilable(::StackOne::Shared::PatchAccountExternalDtoCredentials), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('credentials') } } field :environment, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('environment') } } field :label, T.nilable(::StackOne::Shared::Label), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('label') } } field :origin_owner_id, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('origin_owner_id') } } field :origin_owner_name, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('origin_owner_name') } } field :origin_username, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('origin_username') } } field :provider, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('provider') } } field :secrets, T.nilable(::StackOne::Shared::Secrets), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('secrets') } } field :setup_information, T.nilable(::StackOne::Shared::PatchAccountExternalDtoSetupInformation), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('setup_information') } } sig { params(authentication_config_key: T.nilable(::String), credentials: T.nilable(::StackOne::Shared::PatchAccountExternalDtoCredentials), environment: T.nilable(::String), label: T.nilable(::StackOne::Shared::Label), origin_owner_id: T.nilable(::String), origin_owner_name: T.nilable(::String), origin_username: T.nilable(::String), provider: T.nilable(::String), secrets: T.nilable(::StackOne::Shared::Secrets), setup_information: T.nilable(::StackOne::Shared::PatchAccountExternalDtoSetupInformation)).void } def initialize(authentication_config_key: nil, credentials: nil, environment: nil, label: nil, origin_owner_id: nil, origin_owner_name: nil, origin_username: nil, provider: nil, secrets: nil, setup_information: nil) @authentication_config_key = authentication_config_key @credentials = credentials @environment = environment @label = label @origin_owner_id = origin_owner_id @origin_owner_name = origin_owner_name @origin_username = origin_username @provider = provider @secrets = secrets @setup_information = setup_information end end end end