Sha256: f7b18a03edbbb3c9a8e0a48ff894abcdf2de6a6528dc42fdd906b56eba1095be
Contents?: true
Size: 921 Bytes
Versions: 10
Compression:
Stored size: 921 Bytes
Contents
# Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. # typed: true # frozen_string_literal: true module SpeakeasyClientSDK module Shared # A feature flag is a key-value pair that can be used to enable or disable features. class FeatureFlag < ::SpeakeasyClientSDK::Utils::FieldAugmented extend T::Sig field :feature_flag, ::String, { 'format_json': { 'letter_case': ::SpeakeasyClientSDK::Utils.field_name('feature_flag') } } field :trial_ends_at, T.nilable(::DateTime), { 'format_json': { 'letter_case': ::SpeakeasyClientSDK::Utils.field_name('trial_ends_at'), 'decoder': Utils.datetime_from_iso_format(true) } } sig { params(feature_flag: ::String, trial_ends_at: T.nilable(::DateTime)).void } def initialize(feature_flag: nil, trial_ends_at: nil) @feature_flag = feature_flag @trial_ends_at = trial_ends_at end end end end
Version data entries
10 entries across 10 versions & 1 rubygems