Class: OpenApiSDK::Shared::Comment

Inherits:
Utils::FieldAugmented show all
Extended by:
T::Sig
Defined in:
lib/open_api_sdk/models/shared/comment.rb

Overview

The comment of the ticket

Instance Method Summary collapse

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
  @attachments = attachments
  @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