Class: Telnyx::Models::Portouts::CommentCreateResponse::Data

Inherits:
Internal::Type::BaseModel show all
Defined in:
lib/telnyx/models/portouts/comment_create_response.rb

Overview

See Also:

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:, body:, created_at:, user_id:, portout_id: nil, record_type: nil) ⇒ Object

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

Parameters:

  • id (String)
  • body (String)

    Comment body

  • created_at (String)

    Comment creation timestamp in ISO 8601 format

  • user_id (String)

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

  • portout_id (String) (defaults to: nil)

    Identifies the associated port request

  • record_type (String) (defaults to: nil)

    Identifies the type of the resource.



# File 'lib/telnyx/models/portouts/comment_create_response.rb', line 56

Instance Attribute Details

#bodyString

Comment body

Returns:

  • (String)


27
# File 'lib/telnyx/models/portouts/comment_create_response.rb', line 27

required :body, String

#created_atString

Comment creation timestamp in ISO 8601 format

Returns:

  • (String)


33
# File 'lib/telnyx/models/portouts/comment_create_response.rb', line 33

required :created_at, String

#idString

Returns:

  • (String)


21
# File 'lib/telnyx/models/portouts/comment_create_response.rb', line 21

required :id, String

#portout_idString?

Identifies the associated port request

Returns:

  • (String, nil)


46
# File 'lib/telnyx/models/portouts/comment_create_response.rb', line 46

optional :portout_id, String

#user_idString

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

Returns:

  • (String)


40
# File 'lib/telnyx/models/portouts/comment_create_response.rb', line 40

required :user_id, String