Sha256: 9bc7e8ccedd5ac11ad9c1808d1690b8d57ef79753c596101adfc6738f80d9e8b
Contents?: true
Size: 918 Bytes
Versions: 7
Compression:
Stored size: 918 Bytes
Contents
# Code generated by Speakeasy (https://speakeasy.com). 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
7 entries across 7 versions & 1 rubygems