Sha256: 144ffbd701cb8a683999e84f6b687e142e7369ada4faa3932e3d84fd48d30c6b
Contents?: true
Size: 1.27 KB
Versions: 3
Compression:
Stored size: 1.27 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 LinkedAccountMeta < ::StackOne::Utils::FieldAugmented extend T::Sig field :category, Shared::LinkedAccountMetaCategory, { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('category'), 'decoder': Utils.enum_from_string(Shared::LinkedAccountMetaCategory, false) } } field :models, T::Hash[Symbol, Object], { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('models') } } field :provider, String, { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('provider') } } sig { params(category: Shared::LinkedAccountMetaCategory, models: T::Hash[Symbol, Object], provider: String).void } def initialize(category: nil, models: nil, provider: nil) @category = category @models = models @provider = provider end end end end
Version data entries
3 entries across 3 versions & 1 rubygems