# Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. # typed: true # frozen_string_literal: true require 'sorbet-runtime' require 'faraday' require_relative '../shared/linkedaccount' module StackOne module Operations class StackoneGetAccountRequest < StackOne::Utils::FieldAugmented extend T::Sig field :id, String, { 'path_param': { 'field_name': 'id', 'style': 'simple', 'explode': false } } sig { params(id: String).void } def initialize(id: nil) @id = id end end class StackoneGetAccountResponse < StackOne::Utils::FieldAugmented extend T::Sig # HTTP response content type for this operation field :content_type, String # Raw HTTP response; suitable for custom response parsing field :raw_response, Faraday::Response # HTTP response status code for this operation field :status_code, Integer # The account with the given identifier was retrieved. field :linked_account, T.nilable(Shared::LinkedAccount) sig { params(content_type: String, raw_response: Faraday::Response, status_code: Integer, linked_account: T.nilable(Shared::LinkedAccount)).void } def initialize(content_type: nil, raw_response: nil, status_code: nil, linked_account: nil) @content_type = content_type @raw_response = raw_response @status_code = status_code @linked_account = linked_account end end end end