Class: OpenApiSDK::Shared::Comment
- Inherits:
-
Utils::FieldAugmented
- Object
- Utils::FieldAugmented
- OpenApiSDK::Shared::Comment
- Extended by:
- T::Sig
- Defined in:
- lib/open_api_sdk/models/shared/comment.rb
Overview
The comment of the ticket
Instance Method Summary collapse
-
#initialize(body: nil, attachments: nil, contact_id: nil, creator_type: nil, html_body: nil, is_private: nil, ticket_id: nil, user_id: nil) ⇒ Comment
constructor
A new instance of Comment.
Methods included from MetadataFields
#field, #fields, included, #marshal_json, #marshal_single
Constructor Details
#initialize(body: nil, attachments: nil, contact_id: nil, creator_type: nil, html_body: nil, is_private: nil, ticket_id: nil, user_id: nil) ⇒ Comment
Returns a new instance of Comment.
33 34 35 36 37 38 39 40 41 42 |
# File 'lib/open_api_sdk/models/shared/comment.rb', line 33 def initialize(body: nil, attachments: nil, contact_id: nil, creator_type: nil, html_body: nil, is_private: nil, ticket_id: nil, user_id: nil) @body = body = @contact_id = contact_id @creator_type = creator_type @html_body = html_body @is_private = is_private @ticket_id = ticket_id @user_id = user_id end |