Class: Telnyx::Models::Dir::DirComment
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- Telnyx::Models::Dir::DirComment
- Defined in:
- lib/telnyx/models/dir/dir_comment.rb,
sig/telnyx/models/dir/dir_comment.rbs
Overview
Defined Under Namespace
Modules: AuthorRole, EntityType, Visibility
Instance Attribute Summary collapse
-
#author_name ⇒ String?
Returns the value of attribute author_name.
-
#author_role ⇒ Telnyx::Models::Dir::DirComment::author_role?
readonly
Returns the value of attribute author_role.
-
#comment_type ⇒ Symbol, ...
Comment categorisation.
- #content ⇒ String?
-
#created_at ⇒ Time?
readonly
Returns the value of attribute created_at.
-
#entity_type ⇒ Telnyx::Models::Dir::DirComment::entity_type?
readonly
Returns the value of attribute entity_type.
-
#id ⇒ String?
readonly
Returns the value of attribute id.
-
#visibility ⇒ Telnyx::Models::Dir::DirComment::visibility?
readonly
Returns the value of attribute visibility.
Class Method Summary collapse
Instance Method Summary collapse
- #author_role ⇒ Object readonly
- #created_at ⇒ Time readonly
- #entity_type ⇒ Object readonly
- #id ⇒ String readonly
-
#initialize(id: nil, author_name: nil, author_role: nil, comment_type: nil, content: nil, created_at: nil, entity_type: nil, visibility: nil) ⇒ Object
constructor
Some parameter documentations has been truncated, see DirComment for more details.
- #to_hash ⇒ {
- #visibility ⇒ Object readonly
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, author_name: nil, author_role: nil, comment_type: nil, content: nil, created_at: nil, entity_type: nil, visibility: nil) ⇒ Object
Some parameter documentations has been truncated, see Telnyx::Models::Dir::DirComment for more details.
|
|
# File 'lib/telnyx/models/dir/dir_comment.rb', line 57
|
Instance Attribute Details
#author_name ⇒ String?
Returns the value of attribute author_name.
33 34 35 |
# File 'sig/telnyx/models/dir/dir_comment.rbs', line 33 def @author_name end |
#author_role ⇒ Telnyx::Models::Dir::DirComment::author_role? (readonly)
Returns the value of attribute author_role.
35 36 37 |
# File 'sig/telnyx/models/dir/dir_comment.rbs', line 35 def @author_role end |
#comment_type ⇒ Symbol, ...
Comment categorisation. Customers post customer_inquiry. The Telnyx team posts
vetting_comment, rejection_reason, notification, status_update, or
admin_response. internal_note is filtered out of customer-visible responses.
14 |
# File 'lib/telnyx/models/dir/dir_comment.rb', line 14 optional :comment_type, enum: -> { Telnyx::Dir::CommentType } |
#content ⇒ String?
19 |
# File 'lib/telnyx/models/dir/dir_comment.rb', line 19 optional :content, String |
#created_at ⇒ Time? (readonly)
Returns the value of attribute created_at.
41 42 43 |
# File 'sig/telnyx/models/dir/dir_comment.rbs', line 41 def created_at @created_at end |
#entity_type ⇒ Telnyx::Models::Dir::DirComment::entity_type? (readonly)
Returns the value of attribute entity_type.
45 46 47 |
# File 'sig/telnyx/models/dir/dir_comment.rbs', line 45 def entity_type @entity_type end |
#id ⇒ String? (readonly)
Returns the value of attribute id.
29 30 31 |
# File 'sig/telnyx/models/dir/dir_comment.rbs', line 29 def id @id end |
#visibility ⇒ Telnyx::Models::Dir::DirComment::visibility? (readonly)
Returns the value of attribute visibility.
51 52 53 |
# File 'sig/telnyx/models/dir/dir_comment.rbs', line 51 def visibility @visibility end |
Class Method Details
.values ⇒ Array<Symbol>
|
|
# File 'lib/telnyx/models/dir/dir_comment.rb', line 86
|
Instance Method Details
#author_role= ⇒ Object (readonly)
37 |
# File 'sig/telnyx/models/dir/dir_comment.rbs', line 37
def author_role=: (
|
#created_at= ⇒ Time (readonly)
43 |
# File 'sig/telnyx/models/dir/dir_comment.rbs', line 43
def created_at=: (Time) -> Time
|
#entity_type= ⇒ Object (readonly)
47 |
# File 'sig/telnyx/models/dir/dir_comment.rbs', line 47
def entity_type=: (
|
#id= ⇒ String (readonly)
31 |
# File 'sig/telnyx/models/dir/dir_comment.rbs', line 31
def id=: (String) -> String
|
#to_hash ⇒ {
68 |
# File 'sig/telnyx/models/dir/dir_comment.rbs', line 68
def to_hash: -> {
|
#visibility= ⇒ Object (readonly)
53 |
# File 'sig/telnyx/models/dir/dir_comment.rbs', line 53
def visibility=: (
|