# Code generated by Speakeasy (https://speakeasyapi.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