Class: MicrosoftGraph::Models::Contact

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

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 contact and sets the default values.



230
231
232
233
# File 'lib/models/contact.rb', line 230

def initialize()
    super
    @odata_type = "#microsoft.graph.contact"
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 contact

Raises:

  • (StandardError)


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

def self.create_from_discriminator_value(parse_node)
    raise StandardError, 'parse_node cannot be null' if parse_node.nil?
    return Contact.new
end

Instance Method Details

#assistant_nameObject

Gets the assistantName property value. The name of the contact’s assistant.

Returns:

  • a string



125
126
127
# File 'lib/models/contact.rb', line 125

def assistant_name
    return @assistant_name
end

#assistant_name=(value) ⇒ Object

Sets the assistantName property value. The name of the contact’s assistant.

Parameters:

  • value

    Value to set for the assistantName property.

Returns:

  • a void



133
134
135
# File 'lib/models/contact.rb', line 133

def assistant_name=(value)
    @assistant_name = value
end

#birthdayObject

Gets the birthday property value. The contact’s birthday. The Timestamp type represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z

Returns:

  • a date_time



140
141
142
# File 'lib/models/contact.rb', line 140

def birthday
    return @birthday
end

#birthday=(value) ⇒ Object

Sets the birthday property value. The contact’s birthday. The Timestamp type represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z

Parameters:

  • value

    Value to set for the birthday property.

Returns:

  • a void



148
149
150
# File 'lib/models/contact.rb', line 148

def birthday=(value)
    @birthday = value
end

#business_addressObject

Gets the businessAddress property value. The contact’s business address.

Returns:

  • a physical_address



155
156
157
# File 'lib/models/contact.rb', line 155

def business_address
    return @business_address
end

#business_address=(value) ⇒ Object

Sets the businessAddress property value. The contact’s business address.

Parameters:

  • value

    Value to set for the businessAddress property.

Returns:

  • a void



163
164
165
# File 'lib/models/contact.rb', line 163

def business_address=(value)
    @business_address = value
end

#business_home_pageObject

Gets the businessHomePage property value. The business home page of the contact.

Returns:

  • a string



170
171
172
# File 'lib/models/contact.rb', line 170

def business_home_page
    return @business_home_page
end

#business_home_page=(value) ⇒ Object

Sets the businessHomePage property value. The business home page of the contact.

Parameters:

  • value

    Value to set for the businessHomePage property.

Returns:

  • a void



178
179
180
# File 'lib/models/contact.rb', line 178

def business_home_page=(value)
    @business_home_page = value
end

#business_phonesObject

Gets the businessPhones property value. The contact’s business phone numbers.

Returns:

  • a string



185
186
187
# File 'lib/models/contact.rb', line 185

def business_phones
    return @business_phones
end

#business_phones=(value) ⇒ Object

Sets the businessPhones property value. The contact’s business phone numbers.

Parameters:

  • value

    Value to set for the businessPhones property.

Returns:

  • a void



193
194
195
# File 'lib/models/contact.rb', line 193

def business_phones=(value)
    @business_phones = value
end

#childrenObject

Gets the children property value. The names of the contact’s children.

Returns:

  • a string



200
201
202
# File 'lib/models/contact.rb', line 200

def children
    return @children
end

#children=(value) ⇒ Object

Sets the children property value. The names of the contact’s children.

Parameters:

  • value

    Value to set for the children property.

Returns:

  • a void



208
209
210
# File 'lib/models/contact.rb', line 208

def children=(value)
    @children = value
end

#company_nameObject

Gets the companyName property value. The name of the contact’s company.

Returns:

  • a string



215
216
217
# File 'lib/models/contact.rb', line 215

def company_name
    return @company_name
end

#company_name=(value) ⇒ Object

Sets the companyName property value. The name of the contact’s company.

Parameters:

  • value

    Value to set for the companyName property.

Returns:

  • a void



223
224
225
# File 'lib/models/contact.rb', line 223

def company_name=(value)
    @company_name = value
end

#departmentObject

Gets the department property value. The contact’s department.

Returns:

  • a string



247
248
249
# File 'lib/models/contact.rb', line 247

def department
    return @department
end

#department=(value) ⇒ Object

Sets the department property value. The contact’s department.

Parameters:

  • value

    Value to set for the department property.

Returns:

  • a void



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

def department=(value)
    @department = value
end

#display_nameObject

Gets the displayName property value. The contact’s display name. You can specify the display name in a create or update operation. Note that later updates to other properties may cause an automatically generated value to overwrite the displayName value you have specified. To preserve a pre-existing value, always include it as displayName in an update operation.

Returns:

  • a string



262
263
264
# File 'lib/models/contact.rb', line 262

def display_name
    return @display_name
end

#display_name=(value) ⇒ Object

Sets the displayName property value. The contact’s display name. You can specify the display name in a create or update operation. Note that later updates to other properties may cause an automatically generated value to overwrite the displayName value you have specified. To preserve a pre-existing value, always include it as displayName in an update operation.

Parameters:

  • value

    Value to set for the displayName property.

Returns:

  • a void



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

def display_name=(value)
    @display_name = value
end

#email_addressesObject

Gets the emailAddresses property value. The contact’s email addresses.

Returns:

  • a email_address



277
278
279
# File 'lib/models/contact.rb', line 277

def email_addresses
    return @email_addresses
end

#email_addresses=(value) ⇒ Object

Sets the emailAddresses property value. The contact’s email addresses.

Parameters:

  • value

    Value to set for the emailAddresses property.

Returns:

  • a void



285
286
287
# File 'lib/models/contact.rb', line 285

def email_addresses=(value)
    @email_addresses = value
end

#extensionsObject

Gets the extensions property value. The collection of open extensions defined for the contact. Read-only. Nullable.

Returns:

  • a extension



292
293
294
# File 'lib/models/contact.rb', line 292

def extensions
    return @extensions
end

#extensions=(value) ⇒ Object

Sets the extensions property value. The collection of open extensions defined for the contact. Read-only. Nullable.

Parameters:

  • value

    Value to set for the extensions property.

Returns:

  • a void



300
301
302
# File 'lib/models/contact.rb', line 300

def extensions=(value)
    @extensions = value
end

#file_asObject

Gets the fileAs property value. The name the contact is filed under.

Returns:

  • a string



307
308
309
# File 'lib/models/contact.rb', line 307

def file_as
    return @file_as
end

#file_as=(value) ⇒ Object

Sets the fileAs property value. The name the contact is filed under.

Parameters:

  • value

    Value to set for the fileAs property.

Returns:

  • a void



315
316
317
# File 'lib/models/contact.rb', line 315

def file_as=(value)
    @file_as = value
end

#generationObject

Gets the generation property value. The contact’s generation.

Returns:

  • a string



322
323
324
# File 'lib/models/contact.rb', line 322

def generation
    return @generation
end

#generation=(value) ⇒ Object

Sets the generation property value. The contact’s generation.

Parameters:

  • value

    Value to set for the generation property.

Returns:

  • a void



330
331
332
# File 'lib/models/contact.rb', line 330

def generation=(value)
    @generation = value
end

#get_field_deserializersObject

The deserialization information for the current model

Returns:

  • a i_dictionary



337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
# File 'lib/models/contact.rb', line 337

def get_field_deserializers()
    return super.merge({
        "assistantName" => lambda {|n| @assistant_name = n.get_string_value() },
        "birthday" => lambda {|n| @birthday = n.get_date_time_value() },
        "businessAddress" => lambda {|n| @business_address = n.get_object_value(lambda {|pn| MicrosoftGraph::Models::PhysicalAddress.create_from_discriminator_value(pn) }) },
        "businessHomePage" => lambda {|n| @business_home_page = n.get_string_value() },
        "businessPhones" => lambda {|n| @business_phones = n.get_collection_of_primitive_values(String) },
        "children" => lambda {|n| @children = n.get_collection_of_primitive_values(String) },
        "companyName" => lambda {|n| @company_name = n.get_string_value() },
        "department" => lambda {|n| @department = n.get_string_value() },
        "displayName" => lambda {|n| @display_name = n.get_string_value() },
        "emailAddresses" => lambda {|n| @email_addresses = n.get_collection_of_object_values(lambda {|pn| MicrosoftGraph::Models::EmailAddress.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) }) },
        "fileAs" => lambda {|n| @file_as = n.get_string_value() },
        "generation" => lambda {|n| @generation = n.get_string_value() },
        "givenName" => lambda {|n| @given_name = n.get_string_value() },
        "homeAddress" => lambda {|n| @home_address = n.get_object_value(lambda {|pn| MicrosoftGraph::Models::PhysicalAddress.create_from_discriminator_value(pn) }) },
        "homePhones" => lambda {|n| @home_phones = n.get_collection_of_primitive_values(String) },
        "imAddresses" => lambda {|n| @im_addresses = n.get_collection_of_primitive_values(String) },
        "initials" => lambda {|n| @initials = n.get_string_value() },
        "jobTitle" => lambda {|n| @job_title = n.get_string_value() },
        "manager" => lambda {|n| @manager = n.get_string_value() },
        "middleName" => lambda {|n| @middle_name = n.get_string_value() },
        "mobilePhone" => lambda {|n| @mobile_phone = n.get_string_value() },
        "multiValueExtendedProperties" => lambda {|n| @multi_value_extended_properties = n.get_collection_of_object_values(lambda {|pn| MicrosoftGraph::Models::MultiValueLegacyExtendedProperty.create_from_discriminator_value(pn) }) },
        "nickName" => lambda {|n| @nick_name = n.get_string_value() },
        "officeLocation" => lambda {|n| @office_location = n.get_string_value() },
        "otherAddress" => lambda {|n| @other_address = n.get_object_value(lambda {|pn| MicrosoftGraph::Models::PhysicalAddress.create_from_discriminator_value(pn) }) },
        "parentFolderId" => lambda {|n| @parent_folder_id = n.get_string_value() },
        "personalNotes" => lambda {|n| @personal_notes = n.get_string_value() },
        "photo" => lambda {|n| @photo = n.get_object_value(lambda {|pn| MicrosoftGraph::Models::ProfilePhoto.create_from_discriminator_value(pn) }) },
        "profession" => lambda {|n| @profession = n.get_string_value() },
        "singleValueExtendedProperties" => lambda {|n| @single_value_extended_properties = n.get_collection_of_object_values(lambda {|pn| MicrosoftGraph::Models::SingleValueLegacyExtendedProperty.create_from_discriminator_value(pn) }) },
        "spouseName" => lambda {|n| @spouse_name = n.get_string_value() },
        "surname" => lambda {|n| @surname = n.get_string_value() },
        "title" => lambda {|n| @title = n.get_string_value() },
        "yomiCompanyName" => lambda {|n| @yomi_company_name = n.get_string_value() },
        "yomiGivenName" => lambda {|n| @yomi_given_name = n.get_string_value() },
        "yomiSurname" => lambda {|n| @yomi_surname = n.get_string_value() },
    })
end

#given_nameObject

Gets the givenName property value. The contact’s given name.

Returns:

  • a string



382
383
384
# File 'lib/models/contact.rb', line 382

def given_name
    return @given_name
end

#given_name=(value) ⇒ Object

Sets the givenName property value. The contact’s given name.

Parameters:

  • value

    Value to set for the givenName property.

Returns:

  • a void



390
391
392
# File 'lib/models/contact.rb', line 390

def given_name=(value)
    @given_name = value
end

#home_addressObject

Gets the homeAddress property value. The contact’s home address.

Returns:

  • a physical_address



397
398
399
# File 'lib/models/contact.rb', line 397

def home_address
    return @home_address
end

#home_address=(value) ⇒ Object

Sets the homeAddress property value. The contact’s home address.

Parameters:

  • value

    Value to set for the homeAddress property.

Returns:

  • a void



405
406
407
# File 'lib/models/contact.rb', line 405

def home_address=(value)
    @home_address = value
end

#home_phonesObject

Gets the homePhones property value. The contact’s home phone numbers.

Returns:

  • a string



412
413
414
# File 'lib/models/contact.rb', line 412

def home_phones
    return @home_phones
end

#home_phones=(value) ⇒ Object

Sets the homePhones property value. The contact’s home phone numbers.

Parameters:

  • value

    Value to set for the homePhones property.

Returns:

  • a void



420
421
422
# File 'lib/models/contact.rb', line 420

def home_phones=(value)
    @home_phones = value
end

#im_addressesObject

Gets the imAddresses property value. The imAddresses property

Returns:

  • a string



427
428
429
# File 'lib/models/contact.rb', line 427

def im_addresses
    return @im_addresses
end

#im_addresses=(value) ⇒ Object

Sets the imAddresses property value. The imAddresses property

Parameters:

  • value

    Value to set for the imAddresses property.

Returns:

  • a void



435
436
437
# File 'lib/models/contact.rb', line 435

def im_addresses=(value)
    @im_addresses = value
end

#initialsObject

Gets the initials property value. The initials property

Returns:

  • a string



442
443
444
# File 'lib/models/contact.rb', line 442

def initials
    return @initials
end

#initials=(value) ⇒ Object

Sets the initials property value. The initials property

Parameters:

  • value

    Value to set for the initials property.

Returns:

  • a void



450
451
452
# File 'lib/models/contact.rb', line 450

def initials=(value)
    @initials = value
end

#job_titleObject

Gets the jobTitle property value. The jobTitle property

Returns:

  • a string



457
458
459
# File 'lib/models/contact.rb', line 457

def job_title
    return @job_title
end

#job_title=(value) ⇒ Object

Sets the jobTitle property value. The jobTitle property

Parameters:

  • value

    Value to set for the jobTitle property.

Returns:

  • a void



465
466
467
# File 'lib/models/contact.rb', line 465

def job_title=(value)
    @job_title = value
end

#managerObject

Gets the manager property value. The manager property

Returns:

  • a string



472
473
474
# File 'lib/models/contact.rb', line 472

def manager
    return @manager
end

#manager=(value) ⇒ Object

Sets the manager property value. The manager property

Parameters:

  • value

    Value to set for the manager property.

Returns:

  • a void



480
481
482
# File 'lib/models/contact.rb', line 480

def manager=(value)
    @manager = value
end

#middle_nameObject

Gets the middleName property value. The middleName property

Returns:

  • a string



487
488
489
# File 'lib/models/contact.rb', line 487

def middle_name
    return @middle_name
end

#middle_name=(value) ⇒ Object

Sets the middleName property value. The middleName property

Parameters:

  • value

    Value to set for the middleName property.

Returns:

  • a void



495
496
497
# File 'lib/models/contact.rb', line 495

def middle_name=(value)
    @middle_name = value
end

#mobile_phoneObject

Gets the mobilePhone property value. The mobilePhone property

Returns:

  • a string



502
503
504
# File 'lib/models/contact.rb', line 502

def mobile_phone
    return @mobile_phone
end

#mobile_phone=(value) ⇒ Object

Sets the mobilePhone property value. The mobilePhone property

Parameters:

  • value

    Value to set for the mobilePhone property.

Returns:

  • a void



510
511
512
# File 'lib/models/contact.rb', line 510

def mobile_phone=(value)
    @mobile_phone = value
end

#multi_value_extended_propertiesObject

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

Returns:

  • a multi_value_legacy_extended_property



517
518
519
# File 'lib/models/contact.rb', line 517

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 contact. Read-only. Nullable.

Parameters:

  • value

    Value to set for the multiValueExtendedProperties property.

Returns:

  • a void



525
526
527
# File 'lib/models/contact.rb', line 525

def multi_value_extended_properties=(value)
    @multi_value_extended_properties = value
end

#nick_nameObject

Gets the nickName property value. The nickName property

Returns:

  • a string



532
533
534
# File 'lib/models/contact.rb', line 532

def nick_name
    return @nick_name
end

#nick_name=(value) ⇒ Object

Sets the nickName property value. The nickName property

Parameters:

  • value

    Value to set for the nickName property.

Returns:

  • a void



540
541
542
# File 'lib/models/contact.rb', line 540

def nick_name=(value)
    @nick_name = value
end

#office_locationObject

Gets the officeLocation property value. The officeLocation property

Returns:

  • a string



547
548
549
# File 'lib/models/contact.rb', line 547

def office_location
    return @office_location
end

#office_location=(value) ⇒ Object

Sets the officeLocation property value. The officeLocation property

Parameters:

  • value

    Value to set for the officeLocation property.

Returns:

  • a void



555
556
557
# File 'lib/models/contact.rb', line 555

def office_location=(value)
    @office_location = value
end

#other_addressObject

Gets the otherAddress property value. The otherAddress property

Returns:

  • a physical_address



562
563
564
# File 'lib/models/contact.rb', line 562

def other_address
    return @other_address
end

#other_address=(value) ⇒ Object

Sets the otherAddress property value. The otherAddress property

Parameters:

  • value

    Value to set for the otherAddress property.

Returns:

  • a void



570
571
572
# File 'lib/models/contact.rb', line 570

def other_address=(value)
    @other_address = value
end

#parent_folder_idObject

Gets the parentFolderId property value. The parentFolderId property

Returns:

  • a string



577
578
579
# File 'lib/models/contact.rb', line 577

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



585
586
587
# File 'lib/models/contact.rb', line 585

def parent_folder_id=(value)
    @parent_folder_id = value
end

#personal_notesObject

Gets the personalNotes property value. The personalNotes property

Returns:

  • a string



592
593
594
# File 'lib/models/contact.rb', line 592

def personal_notes
    return @personal_notes
end

#personal_notes=(value) ⇒ Object

Sets the personalNotes property value. The personalNotes property

Parameters:

  • value

    Value to set for the personalNotes property.

Returns:

  • a void



600
601
602
# File 'lib/models/contact.rb', line 600

def personal_notes=(value)
    @personal_notes = value
end

#photoObject

Gets the photo property value. Optional contact picture. You can get or set a photo for a contact.

Returns:

  • a profile_photo



607
608
609
# File 'lib/models/contact.rb', line 607

def photo
    return @photo
end

#photo=(value) ⇒ Object

Sets the photo property value. Optional contact picture. You can get or set a photo for a contact.

Parameters:

  • value

    Value to set for the photo property.

Returns:

  • a void



615
616
617
# File 'lib/models/contact.rb', line 615

def photo=(value)
    @photo = value
end

#professionObject

Gets the profession property value. The profession property

Returns:

  • a string



622
623
624
# File 'lib/models/contact.rb', line 622

def profession
    return @profession
end

#profession=(value) ⇒ Object

Sets the profession property value. The profession property

Parameters:

  • value

    Value to set for the profession property.

Returns:

  • a void



630
631
632
# File 'lib/models/contact.rb', line 630

def profession=(value)
    @profession = 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)


638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
# File 'lib/models/contact.rb', line 638

def serialize(writer)
    raise StandardError, 'writer cannot be null' if writer.nil?
    super
    writer.write_string_value("assistantName", @assistant_name)
    writer.write_date_time_value("birthday", @birthday)
    writer.write_object_value("businessAddress", @business_address)
    writer.write_string_value("businessHomePage", @business_home_page)
    writer.write_collection_of_primitive_values("businessPhones", @business_phones)
    writer.write_collection_of_primitive_values("children", @children)
    writer.write_string_value("companyName", @company_name)
    writer.write_string_value("department", @department)
    writer.write_string_value("displayName", @display_name)
    writer.write_collection_of_object_values("emailAddresses", @email_addresses)
    writer.write_collection_of_object_values("extensions", @extensions)
    writer.write_string_value("fileAs", @file_as)
    writer.write_string_value("generation", @generation)
    writer.write_string_value("givenName", @given_name)
    writer.write_object_value("homeAddress", @home_address)
    writer.write_collection_of_primitive_values("homePhones", @home_phones)
    writer.write_collection_of_primitive_values("imAddresses", @im_addresses)
    writer.write_string_value("initials", @initials)
    writer.write_string_value("jobTitle", @job_title)
    writer.write_string_value("manager", @manager)
    writer.write_string_value("middleName", @middle_name)
    writer.write_string_value("mobilePhone", @mobile_phone)
    writer.write_collection_of_object_values("multiValueExtendedProperties", @multi_value_extended_properties)
    writer.write_string_value("nickName", @nick_name)
    writer.write_string_value("officeLocation", @office_location)
    writer.write_object_value("otherAddress", @other_address)
    writer.write_string_value("parentFolderId", @parent_folder_id)
    writer.write_string_value("personalNotes", @personal_notes)
    writer.write_object_value("photo", @photo)
    writer.write_string_value("profession", @profession)
    writer.write_collection_of_object_values("singleValueExtendedProperties", @single_value_extended_properties)
    writer.write_string_value("spouseName", @spouse_name)
    writer.write_string_value("surname", @surname)
    writer.write_string_value("title", @title)
    writer.write_string_value("yomiCompanyName", @yomi_company_name)
    writer.write_string_value("yomiGivenName", @yomi_given_name)
    writer.write_string_value("yomiSurname", @yomi_surname)
end

#single_value_extended_propertiesObject

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

Returns:

  • a single_value_legacy_extended_property



683
684
685
# File 'lib/models/contact.rb', line 683

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 contact. Read-only. Nullable.

Parameters:

  • value

    Value to set for the singleValueExtendedProperties property.

Returns:

  • a void



691
692
693
# File 'lib/models/contact.rb', line 691

def single_value_extended_properties=(value)
    @single_value_extended_properties = value
end

#spouse_nameObject

Gets the spouseName property value. The spouseName property

Returns:

  • a string



698
699
700
# File 'lib/models/contact.rb', line 698

def spouse_name
    return @spouse_name
end

#spouse_name=(value) ⇒ Object

Sets the spouseName property value. The spouseName property

Parameters:

  • value

    Value to set for the spouseName property.

Returns:

  • a void



706
707
708
# File 'lib/models/contact.rb', line 706

def spouse_name=(value)
    @spouse_name = value
end

#surnameObject

Gets the surname property value. The surname property

Returns:

  • a string



713
714
715
# File 'lib/models/contact.rb', line 713

def surname
    return @surname
end

#surname=(value) ⇒ Object

Sets the surname property value. The surname property

Parameters:

  • value

    Value to set for the surname property.

Returns:

  • a void



721
722
723
# File 'lib/models/contact.rb', line 721

def surname=(value)
    @surname = value
end

#titleObject

Gets the title property value. The title property

Returns:

  • a string



728
729
730
# File 'lib/models/contact.rb', line 728

def title
    return @title
end

#title=(value) ⇒ Object

Sets the title property value. The title property

Parameters:

  • value

    Value to set for the title property.

Returns:

  • a void



736
737
738
# File 'lib/models/contact.rb', line 736

def title=(value)
    @title = value
end

#yomi_company_nameObject

Gets the yomiCompanyName property value. The yomiCompanyName property

Returns:

  • a string



743
744
745
# File 'lib/models/contact.rb', line 743

def yomi_company_name
    return @yomi_company_name
end

#yomi_company_name=(value) ⇒ Object

Sets the yomiCompanyName property value. The yomiCompanyName property

Parameters:

  • value

    Value to set for the yomiCompanyName property.

Returns:

  • a void



751
752
753
# File 'lib/models/contact.rb', line 751

def yomi_company_name=(value)
    @yomi_company_name = value
end

#yomi_given_nameObject

Gets the yomiGivenName property value. The yomiGivenName property

Returns:

  • a string



758
759
760
# File 'lib/models/contact.rb', line 758

def yomi_given_name
    return @yomi_given_name
end

#yomi_given_name=(value) ⇒ Object

Sets the yomiGivenName property value. The yomiGivenName property

Parameters:

  • value

    Value to set for the yomiGivenName property.

Returns:

  • a void



766
767
768
# File 'lib/models/contact.rb', line 766

def yomi_given_name=(value)
    @yomi_given_name = value
end

#yomi_surnameObject

Gets the yomiSurname property value. The yomiSurname property

Returns:

  • a string



773
774
775
# File 'lib/models/contact.rb', line 773

def yomi_surname
    return @yomi_surname
end

#yomi_surname=(value) ⇒ Object

Sets the yomiSurname property value. The yomiSurname property

Parameters:

  • value

    Value to set for the yomiSurname property.

Returns:

  • a void



781
782
783
# File 'lib/models/contact.rb', line 781

def yomi_surname=(value)
    @yomi_surname = value
end