Class: Telnyx::Models::Portouts::PortoutComment
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- Telnyx::Models::Portouts::PortoutComment
- Defined in:
- lib/telnyx/models/portouts/portout_comment.rb,
sig/telnyx/models/portouts/portout_comment.rbs
Instance Attribute Summary collapse
-
#body ⇒ String
Comment body.
-
#created_at ⇒ String
Comment creation timestamp in ISO 8601 format.
- #id ⇒ String
-
#portout_id ⇒ String?
Identifies the associated port request.
-
#record_type ⇒ String?
readonly
Returns the value of attribute record_type.
-
#user_id ⇒ String
Identifies the user who created the comment.
Instance Method Summary collapse
- #initialize ⇒ Object constructor
- #record_type ⇒ String readonly
- #to_hash ⇒ {
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 ⇒ Object
33 |
# File 'sig/telnyx/models/portouts/portout_comment.rbs', line 33
def initialize: (
|
Instance Attribute Details
#body ⇒ String
Comment body
16 |
# File 'lib/telnyx/models/portouts/portout_comment.rb', line 16 required :body, String |
#created_at ⇒ String
Comment creation timestamp in ISO 8601 format
22 |
# File 'lib/telnyx/models/portouts/portout_comment.rb', line 22 required :created_at, String |
#id ⇒ String
10 |
# File 'lib/telnyx/models/portouts/portout_comment.rb', line 10 required :id, String |
#portout_id ⇒ String?
Identifies the associated port request
35 |
# File 'lib/telnyx/models/portouts/portout_comment.rb', line 35 optional :portout_id, String |
#record_type ⇒ String? (readonly)
Returns the value of attribute record_type.
29 30 31 |
# File 'sig/telnyx/models/portouts/portout_comment.rbs', line 29 def record_type @record_type end |
#user_id ⇒ String
Identifies the user who created the comment. Will be null if created by Telnyx Admin
29 |
# File 'lib/telnyx/models/portouts/portout_comment.rb', line 29 required :user_id, String |
Instance Method Details
#record_type= ⇒ String (readonly)
31 |
# File 'sig/telnyx/models/portouts/portout_comment.rbs', line 31
def record_type=: (String) -> String
|
#to_hash ⇒ {
42 |
# File 'sig/telnyx/models/portouts/portout_comment.rbs', line 42
def to_hash: -> {
|