Class: Telnyx::Models::Enterprises::DirCreateResponse::Data::CallReason

Inherits:
Internal::Type::BaseModel show all
Defined in:
lib/telnyx/models/enterprises/dir_create_response.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(id: nil, authorizer_email: nil, authorizer_name: nil, call_reasons: nil, certify_brand_is_accurate: nil, certify_ip_ownership: nil, certify_no_shaft_content: nil, created_at: nil, display_name: nil, documents: nil, enterprise_id: nil, expiring_at: nil, logo_url: nil, rejected_at: nil, rejection_reasons: nil, reselling: nil, status: nil, submitted_at: nil, updated_at: nil, verified_at: nil) ⇒ Object

Some parameter documentations has been truncated, see Telnyx::Models::Enterprises::DirCreateResponse::Data for more details.

Parameters:



185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
# File 'lib/telnyx/models/enterprises/dir_create_response.rb', line 185

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

#reasonString?

Returns:

  • (String, nil)


189
# File 'lib/telnyx/models/enterprises/dir_create_response.rb', line 189

optional :reason, String