Sha256: df2fa9085ae64eb43173de280f4450472d87e27c8a2aa3cc3469c1226505e958
Contents?: true
Size: 886 Bytes
Versions: 1
Compression:
Stored size: 886 Bytes
Contents
# Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. # typed: true # frozen_string_literal: true module OpenApiSDK module Shared # A feature flag is a key-value pair that can be used to enable or disable features. class FeatureFlag < ::OpenApiSDK::Utils::FieldAugmented extend T::Sig field :feature_flag, ::String, { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('feature_flag') } } field :trial_ends_at, T.nilable(::DateTime), { 'format_json': { 'letter_case': ::OpenApiSDK::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
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
speakeasy_client_sdk_ruby-4.2.24 | lib/open_api_sdk/models/shared/featureflag.rb |