Class: Telnyx::Models::Portouts::PortoutComment

Inherits:
Internal::Type::BaseModel show all
Defined in:
lib/telnyx/models/portouts/portout_comment.rb,
sig/telnyx/models/portouts/portout_comment.rbs

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

#initializeObject



33
# File 'sig/telnyx/models/portouts/portout_comment.rbs', line 33

def initialize: (

Instance Attribute Details

#bodyString

Comment body

Parameters:

  • value (String)

Returns:

  • (String)


16
# File 'lib/telnyx/models/portouts/portout_comment.rb', line 16

required :body, String

#created_atString

Comment creation timestamp in ISO 8601 format

Parameters:

  • value (String)

Returns:

  • (String)


22
# File 'lib/telnyx/models/portouts/portout_comment.rb', line 22

required :created_at, String

#idString

Parameters:

  • value (String)

Returns:

  • (String)


10
# File 'lib/telnyx/models/portouts/portout_comment.rb', line 10

required :id, String

#portout_idString?

Identifies the associated port request

Parameters:

  • (String)

Returns:

  • (String, nil)


35
# File 'lib/telnyx/models/portouts/portout_comment.rb', line 35

optional :portout_id, String

#record_typeString? (readonly)

Returns the value of attribute record_type.

Returns:

  • (String, nil)


29
30
31
# File 'sig/telnyx/models/portouts/portout_comment.rbs', line 29

def record_type
  @record_type
end

#user_idString

Identifies the user who created the comment. Will be null if created by Telnyx Admin

Parameters:

  • value (String)

Returns:

  • (String)


29
# File 'lib/telnyx/models/portouts/portout_comment.rb', line 29

required :user_id, String

Instance Method Details

#record_type=String (readonly)

Parameters:

  • (String)

Returns:

  • (String)


31
# File 'sig/telnyx/models/portouts/portout_comment.rbs', line 31

def record_type=: (String) -> String

#to_hash{

Returns:

  • ({)


42
# File 'sig/telnyx/models/portouts/portout_comment.rbs', line 42

def to_hash: -> {