Class: Telnyx::Models::DirAPI::CallReason
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- Telnyx::Models::DirAPI::CallReason
- Defined in:
- lib/telnyx/models/dir.rb
Instance Attribute Summary collapse
Instance Method Summary collapse
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(created_at: nil, reason: nil) ⇒ Object
171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 |
# File 'lib/telnyx/models/dir.rb', line 171 class CallReason < Telnyx::Internal::Type::BaseModel # @!attribute reason # # @return [String, nil] optional :reason, String response_only do # @!attribute created_at # # @return [Time, nil] optional :created_at, Time end # @!method initialize(created_at: nil, reason: nil) # @param created_at [Time] # @param reason [String] end |
Instance Attribute Details
#reason ⇒ String?
175 |
# File 'lib/telnyx/models/dir.rb', line 175 optional :reason, String |