Sha256: c03fbd10a9b9c39e69e20dcd736b713dc4baa04259d2ab45839e03f4ac0a12b9
Contents?: true
Size: 1.23 KB
Versions: 1
Compression:
Stored size: 1.23 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 # ChannelsEnumValue - The Channels of the campaign. class ChannelsEnumValue < T::Enum enums do EMAIL = new('email') SMS = new('sms') WEB_PUSH = new('web_push') IOS_PUSH = new('ios_push') ANDROID_PUSH = new('android_push') UNKNOWN = new('unknown') UNMAPPED_VALUE = new('unmapped_value') end end class ChannelsEnum < StackOne::Utils::FieldAugmented extend T::Sig # The source value of the Channels. field :source_value, String, { 'format_json': { 'letter_case': OpenApiSDK::Utils.field_name('source_value') } } # The Channels of the campaign. field :value, Shared::ChannelsEnumValue, { 'format_json': { 'letter_case': OpenApiSDK::Utils.field_name('value'), 'decoder': Utils.enum_from_string(Shared::ChannelsEnumValue, false) } } sig { params(source_value: String, value: Shared::ChannelsEnumValue).void } def initialize(source_value: nil, value: nil) @source_value = source_value @value = value 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/channelsenum.rb |