Class MicrosoftGraphPerson
java.lang.Object
com.azure.resourcemanager.authorization.fluent.models.MicrosoftGraphEntity
com.azure.resourcemanager.authorization.fluent.models.MicrosoftGraphPerson
person.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGet the additionalProperties property: person.birthday()Get the birthday property: The person's birthday.Get the companyName property: The name of the person's company.Get the department property: The person's department.Get the displayName property: The person's display name.Get the givenName property: The person's given name.Get the imAddress property: The instant message voice over IP (VOIP) session initiation protocol (SIP) address for the user.Get the isFavorite property: true if the user has flagged this person as a favorite.jobTitle()Get the jobTitle property: The person's job title.Get the officeLocation property: The location of the person's office.Get the personNotes property: Free-form notes that the user has taken about this person.Get the personType property: personType.phones()Get the phones property: The person's phone numbers.Get the postalAddresses property: The person's addresses.Get the profession property: The person's profession.Get the scoredEmailAddresses property: The person's email addresses.surname()Get the surname property: The person's surname.Get the userPrincipalName property: The user principal name (UPN) of the person.voidvalidate()Validates the instance.websites()Get the websites property: The person's websites.withAdditionalProperties(Map<String, Object> additionalProperties) Set the additionalProperties property: person.withBirthday(String birthday) Set the birthday property: The person's birthday.withCompanyName(String companyName) Set the companyName property: The name of the person's company.withDepartment(String department) Set the department property: The person's department.withDisplayName(String displayName) Set the displayName property: The person's display name.withGivenName(String givenName) Set the givenName property: The person's given name.Set the id property: Read-only.withImAddress(String imAddress) Set the imAddress property: The instant message voice over IP (VOIP) session initiation protocol (SIP) address for the user.withIsFavorite(Boolean isFavorite) Set the isFavorite property: true if the user has flagged this person as a favorite.withJobTitle(String jobTitle) Set the jobTitle property: The person's job title.withOfficeLocation(String officeLocation) Set the officeLocation property: The location of the person's office.withPersonNotes(String personNotes) Set the personNotes property: Free-form notes that the user has taken about this person.withPersonType(MicrosoftGraphPersonType personType) Set the personType property: personType.withPhones(List<MicrosoftGraphPhone> phones) Set the phones property: The person's phone numbers.withPostalAddresses(List<MicrosoftGraphLocation> postalAddresses) Set the postalAddresses property: The person's addresses.withProfession(String profession) Set the profession property: The person's profession.withScoredEmailAddresses(List<MicrosoftGraphScoredEmailAddress> scoredEmailAddresses) Set the scoredEmailAddresses property: The person's email addresses.withSurname(String surname) Set the surname property: The person's surname.withUserPrincipalName(String userPrincipalName) Set the userPrincipalName property: The user principal name (UPN) of the person.withWebsites(List<MicrosoftGraphWebsite> websites) Set the websites property: The person's websites.withYomiCompany(String yomiCompany) Set the yomiCompany property: The phonetic Japanese name of the person's company.Get the yomiCompany property: The phonetic Japanese name of the person's company.Methods inherited from class com.azure.resourcemanager.authorization.fluent.models.MicrosoftGraphEntity
id
-
Constructor Details
-
MicrosoftGraphPerson
public MicrosoftGraphPerson()Creates an instance of MicrosoftGraphPerson class.
-
-
Method Details
-
birthday
Get the birthday property: The person's birthday.- Returns:
- the birthday value.
-
withBirthday
Set the birthday property: The person's birthday.- Parameters:
birthday- the birthday value to set.- Returns:
- the MicrosoftGraphPerson object itself.
-
companyName
Get the companyName property: The name of the person's company.- Returns:
- the companyName value.
-
withCompanyName
Set the companyName property: The name of the person's company.- Parameters:
companyName- the companyName value to set.- Returns:
- the MicrosoftGraphPerson object itself.
-
department
Get the department property: The person's department.- Returns:
- the department value.
-
withDepartment
Set the department property: The person's department.- Parameters:
department- the department value to set.- Returns:
- the MicrosoftGraphPerson object itself.
-
displayName
Get the displayName property: The person's display name.- Returns:
- the displayName value.
-
withDisplayName
Set the displayName property: The person's display name.- Parameters:
displayName- the displayName value to set.- Returns:
- the MicrosoftGraphPerson object itself.
-
givenName
Get the givenName property: The person's given name.- Returns:
- the givenName value.
-
withGivenName
Set the givenName property: The person's given name.- Parameters:
givenName- the givenName value to set.- Returns:
- the MicrosoftGraphPerson object itself.
-
imAddress
Get the imAddress property: The instant message voice over IP (VOIP) session initiation protocol (SIP) address for the user. Read-only.- Returns:
- the imAddress value.
-
withImAddress
Set the imAddress property: The instant message voice over IP (VOIP) session initiation protocol (SIP) address for the user. Read-only.- Parameters:
imAddress- the imAddress value to set.- Returns:
- the MicrosoftGraphPerson object itself.
-
isFavorite
Get the isFavorite property: true if the user has flagged this person as a favorite.- Returns:
- the isFavorite value.
-
withIsFavorite
Set the isFavorite property: true if the user has flagged this person as a favorite.- Parameters:
isFavorite- the isFavorite value to set.- Returns:
- the MicrosoftGraphPerson object itself.
-
jobTitle
Get the jobTitle property: The person's job title.- Returns:
- the jobTitle value.
-
withJobTitle
Set the jobTitle property: The person's job title.- Parameters:
jobTitle- the jobTitle value to set.- Returns:
- the MicrosoftGraphPerson object itself.
-
officeLocation
Get the officeLocation property: The location of the person's office.- Returns:
- the officeLocation value.
-
withOfficeLocation
Set the officeLocation property: The location of the person's office.- Parameters:
officeLocation- the officeLocation value to set.- Returns:
- the MicrosoftGraphPerson object itself.
-
personNotes
Get the personNotes property: Free-form notes that the user has taken about this person.- Returns:
- the personNotes value.
-
withPersonNotes
Set the personNotes property: Free-form notes that the user has taken about this person.- Parameters:
personNotes- the personNotes value to set.- Returns:
- the MicrosoftGraphPerson object itself.
-
personType
Get the personType property: personType.- Returns:
- the personType value.
-
withPersonType
Set the personType property: personType.- Parameters:
personType- the personType value to set.- Returns:
- the MicrosoftGraphPerson object itself.
-
phones
Get the phones property: The person's phone numbers.- Returns:
- the phones value.
-
withPhones
Set the phones property: The person's phone numbers.- Parameters:
phones- the phones value to set.- Returns:
- the MicrosoftGraphPerson object itself.
-
postalAddresses
Get the postalAddresses property: The person's addresses.- Returns:
- the postalAddresses value.
-
withPostalAddresses
Set the postalAddresses property: The person's addresses.- Parameters:
postalAddresses- the postalAddresses value to set.- Returns:
- the MicrosoftGraphPerson object itself.
-
profession
Get the profession property: The person's profession.- Returns:
- the profession value.
-
withProfession
Set the profession property: The person's profession.- Parameters:
profession- the profession value to set.- Returns:
- the MicrosoftGraphPerson object itself.
-
scoredEmailAddresses
Get the scoredEmailAddresses property: The person's email addresses.- Returns:
- the scoredEmailAddresses value.
-
withScoredEmailAddresses
public MicrosoftGraphPerson withScoredEmailAddresses(List<MicrosoftGraphScoredEmailAddress> scoredEmailAddresses) Set the scoredEmailAddresses property: The person's email addresses.- Parameters:
scoredEmailAddresses- the scoredEmailAddresses value to set.- Returns:
- the MicrosoftGraphPerson object itself.
-
surname
Get the surname property: The person's surname.- Returns:
- the surname value.
-
withSurname
Set the surname property: The person's surname.- Parameters:
surname- the surname value to set.- Returns:
- the MicrosoftGraphPerson object itself.
-
userPrincipalName
Get the userPrincipalName property: The user principal name (UPN) of the person. The UPN is an Internet-style login name for the person based on the Internet standard RFC 822. By convention, this should map to the person's email name. The general format is alias@domain.- Returns:
- the userPrincipalName value.
-
withUserPrincipalName
Set the userPrincipalName property: The user principal name (UPN) of the person. The UPN is an Internet-style login name for the person based on the Internet standard RFC 822. By convention, this should map to the person's email name. The general format is alias@domain.- Parameters:
userPrincipalName- the userPrincipalName value to set.- Returns:
- the MicrosoftGraphPerson object itself.
-
websites
Get the websites property: The person's websites.- Returns:
- the websites value.
-
withWebsites
Set the websites property: The person's websites.- Parameters:
websites- the websites value to set.- Returns:
- the MicrosoftGraphPerson object itself.
-
yomiCompany
Get the yomiCompany property: The phonetic Japanese name of the person's company.- Returns:
- the yomiCompany value.
-
withYomiCompany
Set the yomiCompany property: The phonetic Japanese name of the person's company.- Parameters:
yomiCompany- the yomiCompany value to set.- Returns:
- the MicrosoftGraphPerson object itself.
-
additionalProperties
Get the additionalProperties property: person.- Overrides:
additionalPropertiesin classMicrosoftGraphEntity- Returns:
- the additionalProperties value.
-
withAdditionalProperties
Set the additionalProperties property: person.- Overrides:
withAdditionalPropertiesin classMicrosoftGraphEntity- Parameters:
additionalProperties- the additionalProperties value to set.- Returns:
- the MicrosoftGraphPerson object itself.
-
withId
Set the id property: Read-only.- Overrides:
withIdin classMicrosoftGraphEntity- Parameters:
id- the id value to set.- Returns:
- the MicrosoftGraphEntity object itself.
-
validate
public void validate()Validates the instance.- Overrides:
validatein classMicrosoftGraphEntity- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-