Class: MicrosoftGraph::Models::Message

Inherits:
OutlookItem show all
Includes:
MicrosoftKiotaAbstractions::Parsable
Defined in:
lib/models/message.rb

Direct Known Subclasses

CalendarSharingMessage, EventMessage

Class Method Summary collapse

Instance Method Summary collapse

Methods inherited from OutlookItem

#categories, #categories=, #change_key, #change_key=, #created_date_time, #created_date_time=, #last_modified_date_time, #last_modified_date_time=

Methods inherited from Entity

#additional_data, #additional_data=, #id, #id=, #odata_type, #odata_type=

Constructor Details

#initializeObject

Instantiates a new message and sets the default values.



179
180
181
182
# File 'lib/models/message.rb', line 179

def initialize()
    super
    @odata_type = "#microsoft.graph.message"
end

Class Method Details

.create_from_discriminator_value(parse_node) ⇒ Object

Creates a new instance of the appropriate class based on discriminator value

Parameters:

  • parse_node

    The parse node to use to read the discriminator value and create the object

Returns:

  • a message

Raises:

  • (StandardError)


218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
# File 'lib/models/message.rb', line 218

def self.create_from_discriminator_value(parse_node)
    raise StandardError, 'parse_node cannot be null' if parse_node.nil?
    mapping_value_node = parse_node.get_child_node("@odata.type")
    unless mapping_value_node.nil? then
        mapping_value = mapping_value_node.get_string_value
        case mapping_value
            when "#microsoft.graph.calendarSharingMessage"
                return CalendarSharingMessage.new
            when "#microsoft.graph.eventMessage"
                return EventMessage.new
            when "#microsoft.graph.eventMessageRequest"
                return EventMessageRequest.new
            when "#microsoft.graph.eventMessageResponse"
                return EventMessageResponse.new
        end
    end
    return Message.new
end

Instance Method Details

#attachmentsObject

Gets the attachments property value. The fileAttachment and itemAttachment attachments for the message.

Returns:

  • a attachment



104
105
106
# File 'lib/models/message.rb', line 104

def attachments
    return @attachments
end

#attachments=(value) ⇒ Object

Sets the attachments property value. The fileAttachment and itemAttachment attachments for the message.

Parameters:

  • value

    Value to set for the attachments property.

Returns:

  • a void



112
113
114
# File 'lib/models/message.rb', line 112

def attachments=(value)
    @attachments = value
end

#bcc_recipientsObject

Gets the bccRecipients property value. The Bcc: recipients for the message.

Returns:

  • a recipient



119
120
121
# File 'lib/models/message.rb', line 119

def bcc_recipients
    return @bcc_recipients
end

#bcc_recipients=(value) ⇒ Object

Sets the bccRecipients property value. The Bcc: recipients for the message.

Parameters:

  • value

    Value to set for the bccRecipients property.

Returns:

  • a void



127
128
129
# File 'lib/models/message.rb', line 127

def bcc_recipients=(value)
    @bcc_recipients = value
end

#bodyObject

Gets the body property value. The body of the message. It can be in HTML or text format. Find out about safe HTML in a message body.

Returns:

  • a item_body



134
135
136
# File 'lib/models/message.rb', line 134

def body
    return @body
end

#body=(value) ⇒ Object

Sets the body property value. The body of the message. It can be in HTML or text format. Find out about safe HTML in a message body.

Parameters:

  • value

    Value to set for the body property.

Returns:

  • a void



142
143
144
# File 'lib/models/message.rb', line 142

def body=(value)
    @body = value
end

#body_previewObject

Gets the bodyPreview property value. The first 255 characters of the message body. It is in text format.

Returns:

  • a string



149
150
151
# File 'lib/models/message.rb', line 149

def body_preview
    return @body_preview
end

#body_preview=(value) ⇒ Object

Sets the bodyPreview property value. The first 255 characters of the message body. It is in text format.

Parameters:

  • value

    Value to set for the bodyPreview property.

Returns:

  • a void



157
158
159
# File 'lib/models/message.rb', line 157

def body_preview=(value)
    @body_preview = value
end

#cc_recipientsObject

Gets the ccRecipients property value. The Cc: recipients for the message.

Returns:

  • a recipient



164
165
166
# File 'lib/models/message.rb', line 164

def cc_recipients
    return @cc_recipients
end

#cc_recipients=(value) ⇒ Object

Sets the ccRecipients property value. The Cc: recipients for the message.

Parameters:

  • value

    Value to set for the ccRecipients property.

Returns:

  • a void



172
173
174
# File 'lib/models/message.rb', line 172

def cc_recipients=(value)
    @cc_recipients = value
end

#conversation_idObject

Gets the conversationId property value. The ID of the conversation the email belongs to.

Returns:

  • a string



187
188
189
# File 'lib/models/message.rb', line 187

def conversation_id
    return @conversation_id
end

#conversation_id=(value) ⇒ Object

Sets the conversationId property value. The ID of the conversation the email belongs to.

Parameters:

  • value

    Value to set for the conversationId property.

Returns:

  • a void



195
196
197
# File 'lib/models/message.rb', line 195

def conversation_id=(value)
    @conversation_id = value
end

#conversation_indexObject

Gets the conversationIndex property value. Indicates the position of the message within the conversation.

Returns:

  • a base64url



202
203
204
# File 'lib/models/message.rb', line 202

def conversation_index
    return @conversation_index
end

#conversation_index=(value) ⇒ Object

Sets the conversationIndex property value. Indicates the position of the message within the conversation.

Parameters:

  • value

    Value to set for the conversationIndex property.

Returns:

  • a void



210
211
212
# File 'lib/models/message.rb', line 210

def conversation_index=(value)
    @conversation_index = value
end

#extensionsObject

Gets the extensions property value. The collection of open extensions defined for the message. Nullable.

Returns:

  • a extension



240
241
242
# File 'lib/models/message.rb', line 240

def extensions
    return @extensions
end

#extensions=(value) ⇒ Object

Sets the extensions property value. The collection of open extensions defined for the message. Nullable.

Parameters:

  • value

    Value to set for the extensions property.

Returns:

  • a void



248
249
250
# File 'lib/models/message.rb', line 248

def extensions=(value)
    @extensions = value
end

#flagObject

Gets the flag property value. The flag value that indicates the status, start date, due date, or completion date for the message.

Returns:

  • a followup_flag



255
256
257
# File 'lib/models/message.rb', line 255

def flag
    return @flag
end

#flag=(value) ⇒ Object

Sets the flag property value. The flag value that indicates the status, start date, due date, or completion date for the message.

Parameters:

  • value

    Value to set for the flag property.

Returns:

  • a void



263
264
265
# File 'lib/models/message.rb', line 263

def flag=(value)
    @flag = value
end

#fromObject

Gets the from property value. The owner of the mailbox from which the message is sent. In most cases, this value is the same as the sender property, except for sharing or delegation scenarios. The value must correspond to the actual mailbox used. Find out more about setting the from and sender properties of a message.

Returns:

  • a recipient



270
271
272
# File 'lib/models/message.rb', line 270

def from
    return @from
end

#from=(value) ⇒ Object

Sets the from property value. The owner of the mailbox from which the message is sent. In most cases, this value is the same as the sender property, except for sharing or delegation scenarios. The value must correspond to the actual mailbox used. Find out more about setting the from and sender properties of a message.

Parameters:

  • value

    Value to set for the from property.

Returns:

  • a void



278
279
280
# File 'lib/models/message.rb', line 278

def from=(value)
    @from = value
end

#get_field_deserializersObject

The deserialization information for the current model

Returns:

  • a i_dictionary



285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
# File 'lib/models/message.rb', line 285

def get_field_deserializers()
    return super.merge({
        "attachments" => lambda {|n| @attachments = n.get_collection_of_object_values(lambda {|pn| MicrosoftGraph::Models::Attachment.create_from_discriminator_value(pn) }) },
        "bccRecipients" => lambda {|n| @bcc_recipients = n.get_collection_of_object_values(lambda {|pn| MicrosoftGraph::Models::Recipient.create_from_discriminator_value(pn) }) },
        "body" => lambda {|n| @body = n.get_object_value(lambda {|pn| MicrosoftGraph::Models::ItemBody.create_from_discriminator_value(pn) }) },
        "bodyPreview" => lambda {|n| @body_preview = n.get_string_value() },
        "ccRecipients" => lambda {|n| @cc_recipients = n.get_collection_of_object_values(lambda {|pn| MicrosoftGraph::Models::Recipient.create_from_discriminator_value(pn) }) },
        "conversationId" => lambda {|n| @conversation_id = n.get_string_value() },
        "conversationIndex" => lambda {|n| @conversation_index = n.get_object_value(lambda {|pn| Base64url.create_from_discriminator_value(pn) }) },
        "extensions" => lambda {|n| @extensions = n.get_collection_of_object_values(lambda {|pn| MicrosoftGraph::Models::Extension.create_from_discriminator_value(pn) }) },
        "flag" => lambda {|n| @flag = n.get_object_value(lambda {|pn| MicrosoftGraph::Models::FollowupFlag.create_from_discriminator_value(pn) }) },
        "from" => lambda {|n| @from = n.get_object_value(lambda {|pn| MicrosoftGraph::Models::Recipient.create_from_discriminator_value(pn) }) },
        "hasAttachments" => lambda {|n| @has_attachments = n.get_boolean_value() },
        "importance" => lambda {|n| @importance = n.get_enum_value(MicrosoftGraph::Models::Importance) },
        "inferenceClassification" => lambda {|n| @inference_classification = n.get_enum_value(MicrosoftGraph::Models::InferenceClassificationType) },
        "internetMessageHeaders" => lambda {|n| @internet_message_headers = n.get_collection_of_object_values(lambda {|pn| MicrosoftGraph::Models::InternetMessageHeader.create_from_discriminator_value(pn) }) },
        "internetMessageId" => lambda {|n| @internet_message_id = n.get_string_value() },
        "isDeliveryReceiptRequested" => lambda {|n| @is_delivery_receipt_requested = n.get_boolean_value() },
        "isDraft" => lambda {|n| @is_draft = n.get_boolean_value() },
        "isRead" => lambda {|n| @is_read = n.get_boolean_value() },
        "isReadReceiptRequested" => lambda {|n| @is_read_receipt_requested = n.get_boolean_value() },
        "multiValueExtendedProperties" => lambda {|n| @multi_value_extended_properties = n.get_collection_of_object_values(lambda {|pn| MicrosoftGraph::Models::MultiValueLegacyExtendedProperty.create_from_discriminator_value(pn) }) },
        "parentFolderId" => lambda {|n| @parent_folder_id = n.get_string_value() },
        "receivedDateTime" => lambda {|n| @received_date_time = n.get_date_time_value() },
        "replyTo" => lambda {|n| @reply_to = n.get_collection_of_object_values(lambda {|pn| MicrosoftGraph::Models::Recipient.create_from_discriminator_value(pn) }) },
        "sender" => lambda {|n| @sender = n.get_object_value(lambda {|pn| MicrosoftGraph::Models::Recipient.create_from_discriminator_value(pn) }) },
        "sentDateTime" => lambda {|n| @sent_date_time = n.get_date_time_value() },
        "singleValueExtendedProperties" => lambda {|n| @single_value_extended_properties = n.get_collection_of_object_values(lambda {|pn| MicrosoftGraph::Models::SingleValueLegacyExtendedProperty.create_from_discriminator_value(pn) }) },
        "subject" => lambda {|n| @subject = n.get_string_value() },
        "toRecipients" => lambda {|n| @to_recipients = n.get_collection_of_object_values(lambda {|pn| MicrosoftGraph::Models::Recipient.create_from_discriminator_value(pn) }) },
        "uniqueBody" => lambda {|n| @unique_body = n.get_object_value(lambda {|pn| MicrosoftGraph::Models::ItemBody.create_from_discriminator_value(pn) }) },
        "webLink" => lambda {|n| @web_link = n.get_string_value() },
    })
end

#has_attachmentsObject

Gets the hasAttachments property value. Indicates whether the message has attachments. This property doesn’t include inline attachments, so if a message contains only inline attachments, this property is false. To verify the existence of inline attachments, parse the body property to look for a src attribute, such as <IMG src=‘cid:[email protected]’>.

Returns:

  • a boolean



323
324
325
# File 'lib/models/message.rb', line 323

def has_attachments
    return @has_attachments
end

#has_attachments=(value) ⇒ Object

Sets the hasAttachments property value. Indicates whether the message has attachments. This property doesn’t include inline attachments, so if a message contains only inline attachments, this property is false. To verify the existence of inline attachments, parse the body property to look for a src attribute, such as <IMG src=‘cid:[email protected]’>.

Parameters:

  • value

    Value to set for the hasAttachments property.

Returns:

  • a void



331
332
333
# File 'lib/models/message.rb', line 331

def has_attachments=(value)
    @has_attachments = value
end

#importanceObject

Gets the importance property value. The importance property

Returns:

  • a importance



338
339
340
# File 'lib/models/message.rb', line 338

def importance
    return @importance
end

#importance=(value) ⇒ Object

Sets the importance property value. The importance property

Parameters:

  • value

    Value to set for the importance property.

Returns:

  • a void



346
347
348
# File 'lib/models/message.rb', line 346

def importance=(value)
    @importance = value
end

#inference_classificationObject

Gets the inferenceClassification property value. The inferenceClassification property

Returns:

  • a inference_classification_type



353
354
355
# File 'lib/models/message.rb', line 353

def inference_classification
    return @inference_classification
end

#inference_classification=(value) ⇒ Object

Sets the inferenceClassification property value. The inferenceClassification property

Parameters:

  • value

    Value to set for the inferenceClassification property.

Returns:

  • a void



361
362
363
# File 'lib/models/message.rb', line 361

def inference_classification=(value)
    @inference_classification = value
end

#internet_message_headersObject

Gets the internetMessageHeaders property value. The internetMessageHeaders property

Returns:

  • a internet_message_header



368
369
370
# File 'lib/models/message.rb', line 368

def internet_message_headers
    return @internet_message_headers
end

#internet_message_headers=(value) ⇒ Object

Sets the internetMessageHeaders property value. The internetMessageHeaders property

Parameters:

  • value

    Value to set for the internetMessageHeaders property.

Returns:

  • a void



376
377
378
# File 'lib/models/message.rb', line 376

def internet_message_headers=(value)
    @internet_message_headers = value
end

#internet_message_idObject

Gets the internetMessageId property value. The internetMessageId property

Returns:

  • a string



383
384
385
# File 'lib/models/message.rb', line 383

def internet_message_id
    return @internet_message_id
end

#internet_message_id=(value) ⇒ Object

Sets the internetMessageId property value. The internetMessageId property

Parameters:

  • value

    Value to set for the internetMessageId property.

Returns:

  • a void



391
392
393
# File 'lib/models/message.rb', line 391

def internet_message_id=(value)
    @internet_message_id = value
end

#is_delivery_receipt_requestedObject

Gets the isDeliveryReceiptRequested property value. The isDeliveryReceiptRequested property

Returns:

  • a boolean



398
399
400
# File 'lib/models/message.rb', line 398

def is_delivery_receipt_requested
    return @is_delivery_receipt_requested
end

#is_delivery_receipt_requested=(value) ⇒ Object

Sets the isDeliveryReceiptRequested property value. The isDeliveryReceiptRequested property

Parameters:

  • value

    Value to set for the isDeliveryReceiptRequested property.

Returns:

  • a void



406
407
408
# File 'lib/models/message.rb', line 406

def is_delivery_receipt_requested=(value)
    @is_delivery_receipt_requested = value
end

#is_draftObject

Gets the isDraft property value. The isDraft property

Returns:

  • a boolean



413
414
415
# File 'lib/models/message.rb', line 413

def is_draft
    return @is_draft
end

#is_draft=(value) ⇒ Object

Sets the isDraft property value. The isDraft property

Parameters:

  • value

    Value to set for the isDraft property.

Returns:

  • a void



421
422
423
# File 'lib/models/message.rb', line 421

def is_draft=(value)
    @is_draft = value
end

#is_readObject

Gets the isRead property value. The isRead property

Returns:

  • a boolean



428
429
430
# File 'lib/models/message.rb', line 428

def is_read
    return @is_read
end

#is_read=(value) ⇒ Object

Sets the isRead property value. The isRead property

Parameters:

  • value

    Value to set for the isRead property.

Returns:

  • a void



436
437
438
# File 'lib/models/message.rb', line 436

def is_read=(value)
    @is_read = value
end

#is_read_receipt_requestedObject

Gets the isReadReceiptRequested property value. The isReadReceiptRequested property

Returns:

  • a boolean



443
444
445
# File 'lib/models/message.rb', line 443

def is_read_receipt_requested
    return @is_read_receipt_requested
end

#is_read_receipt_requested=(value) ⇒ Object

Sets the isReadReceiptRequested property value. The isReadReceiptRequested property

Parameters:

  • value

    Value to set for the isReadReceiptRequested property.

Returns:

  • a void



451
452
453
# File 'lib/models/message.rb', line 451

def is_read_receipt_requested=(value)
    @is_read_receipt_requested = value
end

#multi_value_extended_propertiesObject

Gets the multiValueExtendedProperties property value. The collection of multi-value extended properties defined for the message. Nullable.

Returns:

  • a multi_value_legacy_extended_property



458
459
460
# File 'lib/models/message.rb', line 458

def multi_value_extended_properties
    return @multi_value_extended_properties
end

#multi_value_extended_properties=(value) ⇒ Object

Sets the multiValueExtendedProperties property value. The collection of multi-value extended properties defined for the message. Nullable.

Parameters:

  • value

    Value to set for the multiValueExtendedProperties property.

Returns:

  • a void



466
467
468
# File 'lib/models/message.rb', line 466

def multi_value_extended_properties=(value)
    @multi_value_extended_properties = value
end

#parent_folder_idObject

Gets the parentFolderId property value. The parentFolderId property

Returns:

  • a string



473
474
475
# File 'lib/models/message.rb', line 473

def parent_folder_id
    return @parent_folder_id
end

#parent_folder_id=(value) ⇒ Object

Sets the parentFolderId property value. The parentFolderId property

Parameters:

  • value

    Value to set for the parentFolderId property.

Returns:

  • a void



481
482
483
# File 'lib/models/message.rb', line 481

def parent_folder_id=(value)
    @parent_folder_id = value
end

#received_date_timeObject

Gets the receivedDateTime property value. The receivedDateTime property

Returns:

  • a date_time



488
489
490
# File 'lib/models/message.rb', line 488

def received_date_time
    return @received_date_time
end

#received_date_time=(value) ⇒ Object

Sets the receivedDateTime property value. The receivedDateTime property

Parameters:

  • value

    Value to set for the receivedDateTime property.

Returns:

  • a void



496
497
498
# File 'lib/models/message.rb', line 496

def received_date_time=(value)
    @received_date_time = value
end

#reply_toObject

Gets the replyTo property value. The replyTo property

Returns:

  • a recipient



503
504
505
# File 'lib/models/message.rb', line 503

def reply_to
    return @reply_to
end

#reply_to=(value) ⇒ Object

Sets the replyTo property value. The replyTo property

Parameters:

  • value

    Value to set for the replyTo property.

Returns:

  • a void



511
512
513
# File 'lib/models/message.rb', line 511

def reply_to=(value)
    @reply_to = value
end

#senderObject

Gets the sender property value. The sender property

Returns:

  • a recipient



518
519
520
# File 'lib/models/message.rb', line 518

def sender
    return @sender
end

#sender=(value) ⇒ Object

Sets the sender property value. The sender property

Parameters:

  • value

    Value to set for the sender property.

Returns:

  • a void



526
527
528
# File 'lib/models/message.rb', line 526

def sender=(value)
    @sender = value
end

#sent_date_timeObject

Gets the sentDateTime property value. The sentDateTime property

Returns:

  • a date_time



533
534
535
# File 'lib/models/message.rb', line 533

def sent_date_time
    return @sent_date_time
end

#sent_date_time=(value) ⇒ Object

Sets the sentDateTime property value. The sentDateTime property

Parameters:

  • value

    Value to set for the sentDateTime property.

Returns:

  • a void



541
542
543
# File 'lib/models/message.rb', line 541

def sent_date_time=(value)
    @sent_date_time = value
end

#serialize(writer) ⇒ Object

Serializes information the current object

Parameters:

  • writer

    Serialization writer to use to serialize this model

Returns:

  • a void

Raises:

  • (StandardError)


549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
# File 'lib/models/message.rb', line 549

def serialize(writer)
    raise StandardError, 'writer cannot be null' if writer.nil?
    super
    writer.write_collection_of_object_values("attachments", @attachments)
    writer.write_collection_of_object_values("bccRecipients", @bcc_recipients)
    writer.write_object_value("body", @body)
    writer.write_string_value("bodyPreview", @body_preview)
    writer.write_collection_of_object_values("ccRecipients", @cc_recipients)
    writer.write_string_value("conversationId", @conversation_id)
    writer.write_object_value("conversationIndex", @conversation_index)
    writer.write_collection_of_object_values("extensions", @extensions)
    writer.write_object_value("flag", @flag)
    writer.write_object_value("from", @from)
    writer.write_boolean_value("hasAttachments", @has_attachments)
    writer.write_enum_value("importance", @importance)
    writer.write_enum_value("inferenceClassification", @inference_classification)
    writer.write_collection_of_object_values("internetMessageHeaders", @internet_message_headers)
    writer.write_string_value("internetMessageId", @internet_message_id)
    writer.write_boolean_value("isDeliveryReceiptRequested", @is_delivery_receipt_requested)
    writer.write_boolean_value("isDraft", @is_draft)
    writer.write_boolean_value("isRead", @is_read)
    writer.write_boolean_value("isReadReceiptRequested", @is_read_receipt_requested)
    writer.write_collection_of_object_values("multiValueExtendedProperties", @multi_value_extended_properties)
    writer.write_string_value("parentFolderId", @parent_folder_id)
    writer.write_date_time_value("receivedDateTime", @received_date_time)
    writer.write_collection_of_object_values("replyTo", @reply_to)
    writer.write_object_value("sender", @sender)
    writer.write_date_time_value("sentDateTime", @sent_date_time)
    writer.write_collection_of_object_values("singleValueExtendedProperties", @single_value_extended_properties)
    writer.write_string_value("subject", @subject)
    writer.write_collection_of_object_values("toRecipients", @to_recipients)
    writer.write_object_value("uniqueBody", @unique_body)
    writer.write_string_value("webLink", @web_link)
end

#single_value_extended_propertiesObject

Gets the singleValueExtendedProperties property value. The collection of single-value extended properties defined for the message. Nullable.

Returns:

  • a single_value_legacy_extended_property



587
588
589
# File 'lib/models/message.rb', line 587

def single_value_extended_properties
    return @single_value_extended_properties
end

#single_value_extended_properties=(value) ⇒ Object

Sets the singleValueExtendedProperties property value. The collection of single-value extended properties defined for the message. Nullable.

Parameters:

  • value

    Value to set for the singleValueExtendedProperties property.

Returns:

  • a void



595
596
597
# File 'lib/models/message.rb', line 595

def single_value_extended_properties=(value)
    @single_value_extended_properties = value
end

#subjectObject

Gets the subject property value. The subject property

Returns:

  • a string



602
603
604
# File 'lib/models/message.rb', line 602

def subject
    return @subject
end

#subject=(value) ⇒ Object

Sets the subject property value. The subject property

Parameters:

  • value

    Value to set for the subject property.

Returns:

  • a void



610
611
612
# File 'lib/models/message.rb', line 610

def subject=(value)
    @subject = value
end

#to_recipientsObject

Gets the toRecipients property value. The toRecipients property

Returns:

  • a recipient



617
618
619
# File 'lib/models/message.rb', line 617

def to_recipients
    return @to_recipients
end

#to_recipients=(value) ⇒ Object

Sets the toRecipients property value. The toRecipients property

Parameters:

  • value

    Value to set for the toRecipients property.

Returns:

  • a void



625
626
627
# File 'lib/models/message.rb', line 625

def to_recipients=(value)
    @to_recipients = value
end

#unique_bodyObject

Gets the uniqueBody property value. The uniqueBody property

Returns:

  • a item_body



632
633
634
# File 'lib/models/message.rb', line 632

def unique_body
    return @unique_body
end

#unique_body=(value) ⇒ Object

Sets the uniqueBody property value. The uniqueBody property

Parameters:

  • value

    Value to set for the uniqueBody property.

Returns:

  • a void



640
641
642
# File 'lib/models/message.rb', line 640

def unique_body=(value)
    @unique_body = value
end

Gets the webLink property value. The webLink property

Returns:

  • a string



647
648
649
# File 'lib/models/message.rb', line 647

def web_link
    return @web_link
end

#web_link=(value) ⇒ Object

Sets the webLink property value. The webLink property

Parameters:

  • value

    Value to set for the webLink property.

Returns:

  • a void



655
656
657
# File 'lib/models/message.rb', line 655

def web_link=(value)
    @web_link = value
end