Class: MicrosoftGraph::Models::Contact
- Inherits:
-
OutlookItem
- Object
- Entity
- OutlookItem
- MicrosoftGraph::Models::Contact
- Includes:
- MicrosoftKiotaAbstractions::Parsable
- Defined in:
- lib/models/contact.rb
Class Method Summary collapse
-
.create_from_discriminator_value(parse_node) ⇒ Object
Creates a new instance of the appropriate class based on discriminator value.
Instance Method Summary collapse
-
#assistant_name ⇒ Object
Gets the assistantName property value.
-
#assistant_name=(value) ⇒ Object
Sets the assistantName property value.
-
#birthday ⇒ Object
Gets the birthday property value.
-
#birthday=(value) ⇒ Object
Sets the birthday property value.
-
#business_address ⇒ Object
Gets the businessAddress property value.
-
#business_address=(value) ⇒ Object
Sets the businessAddress property value.
-
#business_home_page ⇒ Object
Gets the businessHomePage property value.
-
#business_home_page=(value) ⇒ Object
Sets the businessHomePage property value.
-
#business_phones ⇒ Object
Gets the businessPhones property value.
-
#business_phones=(value) ⇒ Object
Sets the businessPhones property value.
-
#children ⇒ Object
Gets the children property value.
-
#children=(value) ⇒ Object
Sets the children property value.
-
#company_name ⇒ Object
Gets the companyName property value.
-
#company_name=(value) ⇒ Object
Sets the companyName property value.
-
#department ⇒ Object
Gets the department property value.
-
#department=(value) ⇒ Object
Sets the department property value.
-
#display_name ⇒ Object
Gets the displayName property value.
-
#display_name=(value) ⇒ Object
Sets the displayName property value.
-
#email_addresses ⇒ Object
Gets the emailAddresses property value.
-
#email_addresses=(value) ⇒ Object
Sets the emailAddresses property value.
-
#extensions ⇒ Object
Gets the extensions property value.
-
#extensions=(value) ⇒ Object
Sets the extensions property value.
-
#file_as ⇒ Object
Gets the fileAs property value.
-
#file_as=(value) ⇒ Object
Sets the fileAs property value.
-
#generation ⇒ Object
Gets the generation property value.
-
#generation=(value) ⇒ Object
Sets the generation property value.
-
#get_field_deserializers ⇒ Object
The deserialization information for the current model.
-
#given_name ⇒ Object
Gets the givenName property value.
-
#given_name=(value) ⇒ Object
Sets the givenName property value.
-
#home_address ⇒ Object
Gets the homeAddress property value.
-
#home_address=(value) ⇒ Object
Sets the homeAddress property value.
-
#home_phones ⇒ Object
Gets the homePhones property value.
-
#home_phones=(value) ⇒ Object
Sets the homePhones property value.
-
#im_addresses ⇒ Object
Gets the imAddresses property value.
-
#im_addresses=(value) ⇒ Object
Sets the imAddresses property value.
-
#initialize ⇒ Object
constructor
Instantiates a new contact and sets the default values.
-
#initials ⇒ Object
Gets the initials property value.
-
#initials=(value) ⇒ Object
Sets the initials property value.
-
#job_title ⇒ Object
Gets the jobTitle property value.
-
#job_title=(value) ⇒ Object
Sets the jobTitle property value.
-
#manager ⇒ Object
Gets the manager property value.
-
#manager=(value) ⇒ Object
Sets the manager property value.
-
#middle_name ⇒ Object
Gets the middleName property value.
-
#middle_name=(value) ⇒ Object
Sets the middleName property value.
-
#mobile_phone ⇒ Object
Gets the mobilePhone property value.
-
#mobile_phone=(value) ⇒ Object
Sets the mobilePhone property value.
-
#multi_value_extended_properties ⇒ Object
Gets the multiValueExtendedProperties property value.
-
#multi_value_extended_properties=(value) ⇒ Object
Sets the multiValueExtendedProperties property value.
-
#nick_name ⇒ Object
Gets the nickName property value.
-
#nick_name=(value) ⇒ Object
Sets the nickName property value.
-
#office_location ⇒ Object
Gets the officeLocation property value.
-
#office_location=(value) ⇒ Object
Sets the officeLocation property value.
-
#other_address ⇒ Object
Gets the otherAddress property value.
-
#other_address=(value) ⇒ Object
Sets the otherAddress property value.
-
#parent_folder_id ⇒ Object
Gets the parentFolderId property value.
-
#parent_folder_id=(value) ⇒ Object
Sets the parentFolderId property value.
-
#personal_notes ⇒ Object
Gets the personalNotes property value.
-
#personal_notes=(value) ⇒ Object
Sets the personalNotes property value.
-
#photo ⇒ Object
Gets the photo property value.
-
#photo=(value) ⇒ Object
Sets the photo property value.
-
#profession ⇒ Object
Gets the profession property value.
-
#profession=(value) ⇒ Object
Sets the profession property value.
-
#serialize(writer) ⇒ Object
Serializes information the current object.
-
#single_value_extended_properties ⇒ Object
Gets the singleValueExtendedProperties property value.
-
#single_value_extended_properties=(value) ⇒ Object
Sets the singleValueExtendedProperties property value.
-
#spouse_name ⇒ Object
Gets the spouseName property value.
-
#spouse_name=(value) ⇒ Object
Sets the spouseName property value.
-
#surname ⇒ Object
Gets the surname property value.
-
#surname=(value) ⇒ Object
Sets the surname property value.
-
#title ⇒ Object
Gets the title property value.
-
#title=(value) ⇒ Object
Sets the title property value.
-
#yomi_company_name ⇒ Object
Gets the yomiCompanyName property value.
-
#yomi_company_name=(value) ⇒ Object
Sets the yomiCompanyName property value.
-
#yomi_given_name ⇒ Object
Gets the yomiGivenName property value.
-
#yomi_given_name=(value) ⇒ Object
Sets the yomiGivenName property value.
-
#yomi_surname ⇒ Object
Gets the yomiSurname property value.
-
#yomi_surname=(value) ⇒ Object
Sets the yomiSurname property value.
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
#initialize ⇒ Object
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
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_name ⇒ Object
Gets the assistantName property value. The name of the contact’s assistant.
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.
133 134 135 |
# File 'lib/models/contact.rb', line 133 def assistant_name=(value) @assistant_name = value end |
#birthday ⇒ Object
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
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
148 149 150 |
# File 'lib/models/contact.rb', line 148 def birthday=(value) @birthday = value end |
#business_address ⇒ Object
Gets the businessAddress property value. The contact’s business 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.
163 164 165 |
# File 'lib/models/contact.rb', line 163 def business_address=(value) @business_address = value end |
#business_home_page ⇒ Object
Gets the businessHomePage property value. The business home page of the contact.
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.
178 179 180 |
# File 'lib/models/contact.rb', line 178 def business_home_page=(value) @business_home_page = value end |
#business_phones ⇒ Object
Gets the businessPhones property value. The contact’s business phone numbers.
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.
193 194 195 |
# File 'lib/models/contact.rb', line 193 def business_phones=(value) @business_phones = value end |
#children ⇒ Object
Gets the children property value. The names of the contact’s children.
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.
208 209 210 |
# File 'lib/models/contact.rb', line 208 def children=(value) @children = value end |
#company_name ⇒ Object
Gets the companyName property value. The name of the contact’s company.
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.
223 224 225 |
# File 'lib/models/contact.rb', line 223 def company_name=(value) @company_name = value end |
#department ⇒ Object
Gets the department property value. The contact’s department.
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.
255 256 257 |
# File 'lib/models/contact.rb', line 255 def department=(value) @department = value end |
#display_name ⇒ Object
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.
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.
270 271 272 |
# File 'lib/models/contact.rb', line 270 def display_name=(value) @display_name = value end |
#email_addresses ⇒ Object
Gets the emailAddresses property value. The contact’s email addresses.
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.
285 286 287 |
# File 'lib/models/contact.rb', line 285 def email_addresses=(value) @email_addresses = value end |
#extensions ⇒ Object
Gets the extensions property value. The collection of open extensions defined for the contact. Read-only. Nullable.
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.
300 301 302 |
# File 'lib/models/contact.rb', line 300 def extensions=(value) @extensions = value end |
#file_as ⇒ Object
Gets the fileAs property value. The name the contact is filed under.
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.
315 316 317 |
# File 'lib/models/contact.rb', line 315 def file_as=(value) @file_as = value end |
#generation ⇒ Object
Gets the generation property value. The contact’s generation.
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.
330 331 332 |
# File 'lib/models/contact.rb', line 330 def generation=(value) @generation = value end |
#get_field_deserializers ⇒ Object
The deserialization information for the current model
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_name ⇒ Object
Gets the givenName property value. The contact’s given name.
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.
390 391 392 |
# File 'lib/models/contact.rb', line 390 def given_name=(value) @given_name = value end |
#home_address ⇒ Object
Gets the homeAddress property value. The contact’s home 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.
405 406 407 |
# File 'lib/models/contact.rb', line 405 def home_address=(value) @home_address = value end |
#home_phones ⇒ Object
Gets the homePhones property value. The contact’s home phone numbers.
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.
420 421 422 |
# File 'lib/models/contact.rb', line 420 def home_phones=(value) @home_phones = value end |
#im_addresses ⇒ Object
Gets the imAddresses property value. The imAddresses property
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
435 436 437 |
# File 'lib/models/contact.rb', line 435 def im_addresses=(value) @im_addresses = value end |
#initials ⇒ Object
Gets the initials property value. The initials property
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
450 451 452 |
# File 'lib/models/contact.rb', line 450 def initials=(value) @initials = value end |
#job_title ⇒ Object
Gets the jobTitle property value. The jobTitle property
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
465 466 467 |
# File 'lib/models/contact.rb', line 465 def job_title=(value) @job_title = value end |
#manager ⇒ Object
Gets the manager property value. The manager property
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
480 481 482 |
# File 'lib/models/contact.rb', line 480 def manager=(value) @manager = value end |
#middle_name ⇒ Object
Gets the middleName property value. The middleName property
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
495 496 497 |
# File 'lib/models/contact.rb', line 495 def middle_name=(value) @middle_name = value end |
#mobile_phone ⇒ Object
Gets the mobilePhone property value. The mobilePhone property
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
510 511 512 |
# File 'lib/models/contact.rb', line 510 def mobile_phone=(value) @mobile_phone = value end |
#multi_value_extended_properties ⇒ Object
Gets the multiValueExtendedProperties property value. The collection of multi-value extended properties defined for the contact. Read-only. Nullable.
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.
525 526 527 |
# File 'lib/models/contact.rb', line 525 def multi_value_extended_properties=(value) @multi_value_extended_properties = value end |
#nick_name ⇒ Object
Gets the nickName property value. The nickName property
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
540 541 542 |
# File 'lib/models/contact.rb', line 540 def nick_name=(value) @nick_name = value end |
#office_location ⇒ Object
Gets the officeLocation property value. The officeLocation property
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
555 556 557 |
# File 'lib/models/contact.rb', line 555 def office_location=(value) @office_location = value end |
#other_address ⇒ Object
Gets the otherAddress property value. The otherAddress property
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
570 571 572 |
# File 'lib/models/contact.rb', line 570 def other_address=(value) @other_address = value end |
#parent_folder_id ⇒ Object
Gets the parentFolderId property value. The parentFolderId property
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
585 586 587 |
# File 'lib/models/contact.rb', line 585 def parent_folder_id=(value) @parent_folder_id = value end |
#personal_notes ⇒ Object
Gets the personalNotes property value. The personalNotes property
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
600 601 602 |
# File 'lib/models/contact.rb', line 600 def personal_notes=(value) @personal_notes = value end |
#photo ⇒ Object
Gets the photo property value. Optional contact picture. You can get or set a photo for a contact.
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.
615 616 617 |
# File 'lib/models/contact.rb', line 615 def photo=(value) @photo = value end |
#profession ⇒ Object
Gets the profession property value. The profession property
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
630 631 632 |
# File 'lib/models/contact.rb', line 630 def profession=(value) @profession = value end |
#serialize(writer) ⇒ Object
Serializes information the current object
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_properties ⇒ Object
Gets the singleValueExtendedProperties property value. The collection of single-value extended properties defined for the contact. Read-only. Nullable.
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.
691 692 693 |
# File 'lib/models/contact.rb', line 691 def single_value_extended_properties=(value) @single_value_extended_properties = value end |
#spouse_name ⇒ Object
Gets the spouseName property value. The spouseName property
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
706 707 708 |
# File 'lib/models/contact.rb', line 706 def spouse_name=(value) @spouse_name = value end |
#surname ⇒ Object
Gets the surname property value. The surname property
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
721 722 723 |
# File 'lib/models/contact.rb', line 721 def surname=(value) @surname = value end |
#title ⇒ Object
Gets the title property value. The title property
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
736 737 738 |
# File 'lib/models/contact.rb', line 736 def title=(value) @title = value end |
#yomi_company_name ⇒ Object
Gets the yomiCompanyName property value. The yomiCompanyName property
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
751 752 753 |
# File 'lib/models/contact.rb', line 751 def yomi_company_name=(value) @yomi_company_name = value end |
#yomi_given_name ⇒ Object
Gets the yomiGivenName property value. The yomiGivenName property
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
766 767 768 |
# File 'lib/models/contact.rb', line 766 def yomi_given_name=(value) @yomi_given_name = value end |
#yomi_surname ⇒ Object
Gets the yomiSurname property value. The yomiSurname property
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
781 782 783 |
# File 'lib/models/contact.rb', line 781 def yomi_surname=(value) @yomi_surname = value end |