Class: FinchAPI::Models::Sandbox::IndividualUpdateParams::Email
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- FinchAPI::Models::Sandbox::IndividualUpdateParams::Email
- Defined in:
- lib/finch_api/models/sandbox/individual_update_params.rb
Defined Under Namespace
Modules: Type
Instance Attribute Summary collapse
Instance Method Summary collapse
- #initialize(data: nil, type: nil) ⇒ Object constructor
Methods inherited from Internal::Type::BaseModel
==, #==, #[], coerce, #deconstruct_keys, #deep_to_h, dump, fields, hash, #hash, inherited, inspect, #inspect, known_fields, optional, recursively_to_h, required, #to_h, #to_json, #to_s, to_sorbet_type, #to_yaml
Methods included from Internal::Type::Converter
#coerce, coerce, #dump, dump, #inspect, inspect, meta_info, new_coerce_state, type_info
Methods included from Internal::Util::SorbetRuntimeSupport
#const_missing, #define_sorbet_constant!, #sorbet_constant_defined?, #to_sorbet_type, to_sorbet_type
Constructor Details
#initialize(data: nil, type: nil) ⇒ Object
121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 |
# File 'lib/finch_api/models/sandbox/individual_update_params.rb', line 121 class Email < FinchAPI::Internal::Type::BaseModel # @!attribute data # # @return [String, nil] optional :data, String # @!attribute type # # @return [Symbol, FinchAPI::Models::Sandbox::IndividualUpdateParams::Email::Type, nil] optional :type, enum: -> { FinchAPI::Sandbox::IndividualUpdateParams::Email::Type }, nil?: true # @!method initialize(data: nil, type: nil) # @param data [String] # @param type [Symbol, FinchAPI::Models::Sandbox::IndividualUpdateParams::Email::Type, nil] # @see FinchAPI::Models::Sandbox::IndividualUpdateParams::Email#type module Type extend FinchAPI::Internal::Type::Enum WORK = :work PERSONAL = :personal # @!method self.values # @return [Array<Symbol>] end end |
Instance Attribute Details
#data ⇒ String?
125 |
# File 'lib/finch_api/models/sandbox/individual_update_params.rb', line 125 optional :data, String |