Class: Telnyx::Models::Dir::CommentCreateResponse::Data
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- Telnyx::Models::Dir::CommentCreateResponse::Data
- Defined in:
- lib/telnyx/models/dir/comment_create_response.rb
Overview
Defined Under Namespace
Modules: AuthorRole, CommentType, EntityType, Visibility
Instance Attribute Summary collapse
-
#comment_type ⇒ Symbol, ...
Comment categorisation.
- #content ⇒ String?
Class Method Summary collapse
Instance Method Summary collapse
-
#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 Data for more details.
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::CommentCreateResponse::Data for more details.
|
|
# File 'lib/telnyx/models/dir/comment_create_response.rb', line 67
|
Instance Attribute Details
#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.
24 |
# File 'lib/telnyx/models/dir/comment_create_response.rb', line 24 optional :comment_type, enum: -> { Telnyx::Models::Dir::CommentCreateResponse::Data::CommentType } |
#content ⇒ String?
29 |
# File 'lib/telnyx/models/dir/comment_create_response.rb', line 29 optional :content, String |
Class Method Details
.values ⇒ Array<Symbol>
|
|
# File 'lib/telnyx/models/dir/comment_create_response.rb', line 96
|