Sha256: 9ec71f4c96e81fe5a57a4c64b0c19dc2dadc72934b2d9446f047ea6d55ef1e01
Contents?: true
Size: 1.41 KB
Versions: 1
Compression:
Stored size: 1.41 KB
Contents
# Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. # typed: true # frozen_string_literal: true require 'sorbet-runtime' require 'faraday' module StackOne module Shared class LinkedAccountMetaCategory < T::Enum enums do ATS = new('ats') HRIS = new('hris') HRIS_LEGACY = new('hris-legacy') CRM = new('crm') MARKETING = new('marketing') STACKONE = new('stackone') end end class LinkedAccountMetaModels < StackOne::Utils::FieldAugmented extend T::Sig def initialize; end end class LinkedAccountMeta < StackOne::Utils::FieldAugmented extend T::Sig field :category, Shared::LinkedAccountMetaCategory, { 'format_json': { 'letter_case': OpenApiSDK::Utils.field_name('category'), 'decoder': Utils.enum_from_string(Shared::LinkedAccountMetaCategory, false) } } field :models, Shared::LinkedAccountMetaModels, { 'format_json': { 'letter_case': OpenApiSDK::Utils.field_name('models') } } field :provider, String, { 'format_json': { 'letter_case': OpenApiSDK::Utils.field_name('provider') } } sig { params(category: Shared::LinkedAccountMetaCategory, models: Shared::LinkedAccountMetaModels, provider: String).void } def initialize(category: nil, models: nil, provider: nil) @category = category @models = models @provider = provider end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
stackone_client-0.0.1 | lib/stackone/models/shared/linkedaccountmeta.rb |