你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
MicrosoftGraphContact Class
- java.
lang. Object - com.
azure. resourcemanager. authorization. fluent. models. MicrosoftGraphEntity - com.
azure. resourcemanager. authorization. fluent. models. MicrosoftGraphOutlookItem - com.
azure. resourcemanager. authorization. fluent. models. MicrosoftGraphContact
- com.
- com.
- com.
public final class MicrosoftGraphContact
extends MicrosoftGraphOutlookItem
contact.
Constructor Summary
Constructor | Description |
---|---|
MicrosoftGraphContact() |
Creates an instance of Microsoft |
Method Summary
Modifier and Type | Method and Description |
---|---|
Map<String,Object> |
additionalProperties()
Get the additional |
String |
assistantName()
Get the assistant |
Offset |
birthday()
Get the birthday property: The contact's birthday. |
Microsoft |
businessAddress()
Get the business |
String |
businessHomePage()
Get the business |
List<String> |
businessPhones()
Get the business |
List<String> |
children()
Get the children property: The names of the contact's children. |
String |
companyName()
Get the company |
String |
department()
Get the department property: The contact's department. |
String |
displayName()
Get the display |
List<Microsoft |
emailAddresses()
Get the email |
List<Microsoft |
extensions()
Get the extensions property: The collection of open extensions defined for the contact. |
String |
fileAs()
Get the file |
static
Microsoft |
fromJson(JsonReader jsonReader)
Reads an instance of Microsoft |
String |
generation()
Get the generation property: The contact's generation. |
String |
givenName()
Get the given |
Microsoft |
homeAddress()
Get the home |
List<String> |
homePhones()
Get the home |
List<String> |
imAddresses()
Get the im |
String |
initials()
Get the initials property: The contact's initials. |
String |
jobTitle()
Get the job |
String |
manager()
Get the manager property: The name of the contact's manager. |
String |
middleName()
Get the middle |
String |
mobilePhone()
Get the mobile |
List<Microsoft |
multiValueExtendedProperties()
Get the multi |
String |
nickName()
Get the nick |
String |
officeLocation()
Get the office |
Microsoft |
otherAddress()
Get the other |
String |
parentFolderId()
Get the parent |
String |
personalNotes()
Get the personal |
Microsoft |
photo()
Get the photo property: profile |
String |
profession()
Get the profession property: The contact's profession. |
List<Microsoft |
singleValueExtendedProperties()
Get the single |
String |
spouseName()
Get the spouse |
String |
surname()
Get the surname property: The contact's surname. |
String |
title()
Get the title property: The contact's title. |
Json |
toJson(JsonWriter jsonWriter) |
void |
validate()
Validates the instance. |
Microsoft |
withAdditionalProperties(Map<String,Object> additionalProperties)
Set the additional |
Microsoft |
withAssistantName(String assistantName)
Set the assistant |
Microsoft |
withBirthday(OffsetDateTime birthday)
Set the birthday property: The contact's birthday. |
Microsoft |
withBusinessAddress(MicrosoftGraphPhysicalAddress businessAddress)
Set the business |
Microsoft |
withBusinessHomePage(String businessHomePage)
Set the business |
Microsoft |
withBusinessPhones(List<String> businessPhones)
Set the business |
Microsoft |
withCategories(List<String> categories)
Set the categories property: The categories associated with the item. |
Microsoft |
withChangeKey(String changeKey)
Set the change |
Microsoft |
withChildren(List<String> children)
Set the children property: The names of the contact's children. |
Microsoft |
withCompanyName(String companyName)
Set the company |
Microsoft |
withCreatedDateTime(OffsetDateTime createdDateTime)
Set the created |
Microsoft |
withDepartment(String department)
Set the department property: The contact's department. |
Microsoft |
withDisplayName(String displayName)
Set the display |
Microsoft |
withEmailAddresses(List<MicrosoftGraphEmailAddress> emailAddresses)
Set the email |
Microsoft |
withExtensions(List<MicrosoftGraphExtension> extensions)
Set the extensions property: The collection of open extensions defined for the contact. |
Microsoft |
withFileAs(String fileAs)
Set the file |
Microsoft |
withGeneration(String generation)
Set the generation property: The contact's generation. |
Microsoft |
withGivenName(String givenName)
Set the given |
Microsoft |
withHomeAddress(MicrosoftGraphPhysicalAddress homeAddress)
Set the home |
Microsoft |
withHomePhones(List<String> homePhones)
Set the home |
Microsoft |
withId(String id)
Set the id property: Read-only. |
Microsoft |
withImAddresses(List<String> imAddresses)
Set the im |
Microsoft |
withInitials(String initials)
Set the initials property: The contact's initials. |
Microsoft |
withJobTitle(String jobTitle)
Set the job |
Microsoft |
withLastModifiedDateTime(OffsetDateTime lastModifiedDateTime)
Set the last |
Microsoft |
withManager(String manager)
Set the manager property: The name of the contact's manager. |
Microsoft |
withMiddleName(String middleName)
Set the middle |
Microsoft |
withMobilePhone(String mobilePhone)
Set the mobile |
Microsoft |
withMultiValueExtendedProperties(List<MicrosoftGraphMultiValueLegacyExtendedProperty> multiValueExtendedProperties)
Set the multi |
Microsoft |
withNickName(String nickName)
Set the nick |
Microsoft |
withOfficeLocation(String officeLocation)
Set the office |
Microsoft |
withOtherAddress(MicrosoftGraphPhysicalAddress otherAddress)
Set the other |
Microsoft |
withParentFolderId(String parentFolderId)
Set the parent |
Microsoft |
withPersonalNotes(String personalNotes)
Set the personal |
Microsoft |
withPhoto(MicrosoftGraphProfilePhoto photo)
Set the photo property: profile |
Microsoft |
withProfession(String profession)
Set the profession property: The contact's profession. |
Microsoft |
withSingleValueExtendedProperties(List<MicrosoftGraphSingleValueLegacyExtendedProperty> singleValueExtendedProperties)
Set the single |
Microsoft |
withSpouseName(String spouseName)
Set the spouse |
Microsoft |
withSurname(String surname)
Set the surname property: The contact's surname. |
Microsoft |
withTitle(String title)
Set the title property: The contact's title. |
Microsoft |
withYomiCompanyName(String yomiCompanyName)
Set the yomi |
Microsoft |
withYomiGivenName(String yomiGivenName)
Set the yomi |
Microsoft |
withYomiSurname(String yomiSurname)
Set the yomi |
String |
yomiCompanyName()
Get the yomi |
String |
yomiGivenName()
Get the yomi |
String |
yomiSurname()
Get the yomi |
Methods inherited from MicrosoftGraphEntity
Methods inherited from MicrosoftGraphOutlookItem
Methods inherited from java.lang.Object
Constructor Details
MicrosoftGraphContact
public MicrosoftGraphContact()
Creates an instance of MicrosoftGraphContact class.
Method Details
additionalProperties
public Map
Get the additionalProperties property: contact.
Overrides:
MicrosoftGraphContact.additionalProperties()Returns:
assistantName
public String assistantName()
Get the assistantName property: The name of the contact's assistant.
Returns:
birthday
public OffsetDateTime birthday()
Get the birthday property: 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 would look like this: '2014-01-01T00:00:00Z'.
Returns:
businessAddress
public MicrosoftGraphPhysicalAddress businessAddress()
Get the businessAddress property: physicalAddress.
Returns:
businessHomePage
public String businessHomePage()
Get the businessHomePage property: The business home page of the contact.
Returns:
businessPhones
public List
Get the businessPhones property: The contact's business phone numbers.
Returns:
children
public List
Get the children property: The names of the contact's children.
Returns:
companyName
public String companyName()
Get the companyName property: The name of the contact's company.
Returns:
department
public String department()
Get the department property: The contact's department.
Returns:
displayName
public String displayName()
Get the displayName property: 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:
emailAddresses
public List
Get the emailAddresses property: The contact's email addresses.
Returns:
extensions
public List
Get the extensions property: The collection of open extensions defined for the contact. Read-only. Nullable.
Returns:
fileAs
public String fileAs()
Get the fileAs property: The name the contact is filed under.
Returns:
fromJson
public static MicrosoftGraphContact fromJson(JsonReader jsonReader)
Reads an instance of MicrosoftGraphContact from the JsonReader.
Parameters:
Returns:
Throws:
generation
public String generation()
Get the generation property: The contact's generation.
Returns:
givenName
public String givenName()
Get the givenName property: The contact's given name.
Returns:
homeAddress
public MicrosoftGraphPhysicalAddress homeAddress()
Get the homeAddress property: physicalAddress.
Returns:
homePhones
public List
Get the homePhones property: The contact's home phone numbers.
Returns:
imAddresses
public List
Get the imAddresses property: The contact's instant messaging (IM) addresses.
Returns:
initials
public String initials()
Get the initials property: The contact's initials.
Returns:
jobTitle
public String jobTitle()
Get the jobTitle property: The contact\u2019s job title.
Returns:
manager
public String manager()
Get the manager property: The name of the contact's manager.
Returns:
middleName
public String middleName()
Get the middleName property: The contact's middle name.
Returns:
mobilePhone
public String mobilePhone()
Get the mobilePhone property: The contact's mobile phone number.
Returns:
multiValueExtendedProperties
public List
Get the multiValueExtendedProperties property: The collection of multi-value extended properties defined for the contact. Read-only. Nullable.
Returns:
nickName
public String nickName()
Get the nickName property: The contact's nickname.
Returns:
officeLocation
public String officeLocation()
Get the officeLocation property: The location of the contact's office.
Returns:
otherAddress
public MicrosoftGraphPhysicalAddress otherAddress()
Get the otherAddress property: physicalAddress.
Returns:
parentFolderId
public String parentFolderId()
Get the parentFolderId property: The ID of the contact's parent folder.
Returns:
personalNotes
public String personalNotes()
Get the personalNotes property: The user's notes about the contact.
Returns:
photo
public MicrosoftGraphProfilePhoto photo()
Get the photo property: profilePhoto.
Returns:
profession
public String profession()
Get the profession property: The contact's profession.
Returns:
singleValueExtendedProperties
public List
Get the singleValueExtendedProperties property: The collection of single-value extended properties defined for the contact. Read-only. Nullable.
Returns:
spouseName
public String spouseName()
Get the spouseName property: The name of the contact's spouse/partner.
Returns:
surname
public String surname()
Get the surname property: The contact's surname.
Returns:
title
public String title()
Get the title property: The contact's title.
Returns:
toJson
public JsonWriter toJson(JsonWriter jsonWriter)
Overrides:
MicrosoftGraphContact.toJson(JsonWriter jsonWriter)Parameters:
Throws:
validate
public void validate()
Validates the instance.
Overrides:
MicrosoftGraphContact.validate()withAdditionalProperties
public MicrosoftGraphContact withAdditionalProperties(Map
Set the additionalProperties property: contact.
Overrides:
MicrosoftGraphContact.withAdditionalProperties(Map<String,Object> additionalProperties)Parameters:
Returns:
withAssistantName
public MicrosoftGraphContact withAssistantName(String assistantName)
Set the assistantName property: The name of the contact's assistant.
Parameters:
Returns:
withBirthday
public MicrosoftGraphContact withBirthday(OffsetDateTime birthday)
Set the birthday property: 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 would look like this: '2014-01-01T00:00:00Z'.
Parameters:
Returns:
withBusinessAddress
public MicrosoftGraphContact withBusinessAddress(MicrosoftGraphPhysicalAddress businessAddress)
Set the businessAddress property: physicalAddress.
Parameters:
Returns:
withBusinessHomePage
public MicrosoftGraphContact withBusinessHomePage(String businessHomePage)
Set the businessHomePage property: The business home page of the contact.
Parameters:
Returns:
withBusinessPhones
public MicrosoftGraphContact withBusinessPhones(List
Set the businessPhones property: The contact's business phone numbers.
Parameters:
Returns:
withCategories
public MicrosoftGraphContact withCategories(List
Set the categories property: The categories associated with the item.
Overrides:
MicrosoftGraphContact.withCategories(List<String> categories)Parameters:
withChangeKey
public MicrosoftGraphContact withChangeKey(String changeKey)
Set the changeKey property: Identifies the version of the item. Every time the item is changed, changeKey changes as well. This allows Exchange to apply changes to the correct version of the object. Read-only.
Overrides:
MicrosoftGraphContact.withChangeKey(String changeKey)Parameters:
withChildren
public MicrosoftGraphContact withChildren(List
Set the children property: The names of the contact's children.
Parameters:
Returns:
withCompanyName
public MicrosoftGraphContact withCompanyName(String companyName)
Set the companyName property: The name of the contact's company.
Parameters:
Returns:
withCreatedDateTime
public MicrosoftGraphContact withCreatedDateTime(OffsetDateTime createdDateTime)
Set the createdDateTime property: 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 would look like this: '2014-01-01T00:00:00Z'.
Overrides:
MicrosoftGraphContact.withCreatedDateTime(OffsetDateTime createdDateTime)Parameters:
withDepartment
public MicrosoftGraphContact withDepartment(String department)
Set the department property: The contact's department.
Parameters:
Returns:
withDisplayName
public MicrosoftGraphContact withDisplayName(String displayName)
Set the displayName property: 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:
Returns:
withEmailAddresses
public MicrosoftGraphContact withEmailAddresses(List
Set the emailAddresses property: The contact's email addresses.
Parameters:
Returns:
withExtensions
public MicrosoftGraphContact withExtensions(List
Set the extensions property: The collection of open extensions defined for the contact. Read-only. Nullable.
Parameters:
Returns:
withFileAs
public MicrosoftGraphContact withFileAs(String fileAs)
Set the fileAs property: The name the contact is filed under.
Parameters:
Returns:
withGeneration
public MicrosoftGraphContact withGeneration(String generation)
Set the generation property: The contact's generation.
Parameters:
Returns:
withGivenName
public MicrosoftGraphContact withGivenName(String givenName)
Set the givenName property: The contact's given name.
Parameters:
Returns:
withHomeAddress
public MicrosoftGraphContact withHomeAddress(MicrosoftGraphPhysicalAddress homeAddress)
Set the homeAddress property: physicalAddress.
Parameters:
Returns:
withHomePhones
public MicrosoftGraphContact withHomePhones(List
Set the homePhones property: The contact's home phone numbers.
Parameters:
Returns:
withId
public MicrosoftGraphContact withId(String id)
Set the id property: Read-only.
Overrides:
MicrosoftGraphContact.withId(String id)Parameters:
withImAddresses
public MicrosoftGraphContact withImAddresses(List
Set the imAddresses property: The contact's instant messaging (IM) addresses.
Parameters:
Returns:
withInitials
public MicrosoftGraphContact withInitials(String initials)
Set the initials property: The contact's initials.
Parameters:
Returns:
withJobTitle
public MicrosoftGraphContact withJobTitle(String jobTitle)
Set the jobTitle property: The contact\u2019s job title.
Parameters:
Returns:
withLastModifiedDateTime
public MicrosoftGraphContact withLastModifiedDateTime(OffsetDateTime lastModifiedDateTime)
Set the lastModifiedDateTime property: 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 would look like this: '2014-01-01T00:00:00Z'.
Overrides:
MicrosoftGraphContact.withLastModifiedDateTime(OffsetDateTime lastModifiedDateTime)Parameters:
withManager
public MicrosoftGraphContact withManager(String manager)
Set the manager property: The name of the contact's manager.
Parameters:
Returns:
withMiddleName
public MicrosoftGraphContact withMiddleName(String middleName)
Set the middleName property: The contact's middle name.
Parameters:
Returns:
withMobilePhone
public MicrosoftGraphContact withMobilePhone(String mobilePhone)
Set the mobilePhone property: The contact's mobile phone number.
Parameters:
Returns:
withMultiValueExtendedProperties
public MicrosoftGraphContact withMultiValueExtendedProperties(List
Set the multiValueExtendedProperties property: The collection of multi-value extended properties defined for the contact. Read-only. Nullable.
Parameters:
Returns:
withNickName
public MicrosoftGraphContact withNickName(String nickName)
Set the nickName property: The contact's nickname.
Parameters:
Returns:
withOfficeLocation
public MicrosoftGraphContact withOfficeLocation(String officeLocation)
Set the officeLocation property: The location of the contact's office.
Parameters:
Returns:
withOtherAddress
public MicrosoftGraphContact withOtherAddress(MicrosoftGraphPhysicalAddress otherAddress)
Set the otherAddress property: physicalAddress.
Parameters:
Returns:
withParentFolderId
public MicrosoftGraphContact withParentFolderId(String parentFolderId)
Set the parentFolderId property: The ID of the contact's parent folder.
Parameters:
Returns:
withPersonalNotes
public MicrosoftGraphContact withPersonalNotes(String personalNotes)
Set the personalNotes property: The user's notes about the contact.
Parameters:
Returns:
withPhoto
public MicrosoftGraphContact withPhoto(MicrosoftGraphProfilePhoto photo)
Set the photo property: profilePhoto.
Parameters:
Returns:
withProfession
public MicrosoftGraphContact withProfession(String profession)
Set the profession property: The contact's profession.
Parameters:
Returns:
withSingleValueExtendedProperties
public MicrosoftGraphContact withSingleValueExtendedProperties(List
Set the singleValueExtendedProperties property: The collection of single-value extended properties defined for the contact. Read-only. Nullable.
Parameters:
Returns:
withSpouseName
public MicrosoftGraphContact withSpouseName(String spouseName)
Set the spouseName property: The name of the contact's spouse/partner.
Parameters:
Returns:
withSurname
public MicrosoftGraphContact withSurname(String surname)
Set the surname property: The contact's surname.
Parameters:
Returns:
withTitle
public MicrosoftGraphContact withTitle(String title)
Set the title property: The contact's title.
Parameters:
Returns:
withYomiCompanyName
public MicrosoftGraphContact withYomiCompanyName(String yomiCompanyName)
Set the yomiCompanyName property: The phonetic Japanese company name of the contact.
Parameters:
Returns:
withYomiGivenName
public MicrosoftGraphContact withYomiGivenName(String yomiGivenName)
Set the yomiGivenName property: The phonetic Japanese given name (first name) of the contact.
Parameters:
Returns:
withYomiSurname
public MicrosoftGraphContact withYomiSurname(String yomiSurname)
Set the yomiSurname property: The phonetic Japanese surname (last name) of the contact.
Parameters:
Returns:
yomiCompanyName
public String yomiCompanyName()
Get the yomiCompanyName property: The phonetic Japanese company name of the contact.
Returns:
yomiGivenName
public String yomiGivenName()
Get the yomiGivenName property: The phonetic Japanese given name (first name) of the contact.
Returns:
yomiSurname
public String yomiSurname()
Get the yomiSurname property: The phonetic Japanese surname (last name) of the contact.
Returns: