Class MicrosoftGraphPerson
- java.lang.Object
-
- com.azure.resourcemanager.authorization.fluent.models.MicrosoftGraphEntity
-
- com.azure.resourcemanager.authorization.fluent.models.MicrosoftGraphPerson
-
public final class MicrosoftGraphPerson extends MicrosoftGraphEntity
person.
-
-
Constructor Summary
Constructors Constructor Description MicrosoftGraphPerson()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Map<String,Object>
additionalProperties()
Get the additionalProperties property: person.String
birthday()
Get the birthday property: The person's birthday.String
companyName()
Get the companyName property: The name of the person's company.String
department()
Get the department property: The person's department.String
displayName()
Get the displayName property: The person's display name.String
givenName()
Get the givenName property: The person's given name.String
imAddress()
Get the imAddress property: The instant message voice over IP (VOIP) session initiation protocol (SIP) address for the user.Boolean
isFavorite()
Get the isFavorite property: true if the user has flagged this person as a favorite.String
jobTitle()
Get the jobTitle property: The person's job title.String
officeLocation()
Get the officeLocation property: The location of the person's office.String
personNotes()
Get the personNotes property: Free-form notes that the user has taken about this person.MicrosoftGraphPersonType
personType()
Get the personType property: personType.List<MicrosoftGraphPhone>
phones()
Get the phones property: The person's phone numbers.List<MicrosoftGraphLocation>
postalAddresses()
Get the postalAddresses property: The person's addresses.String
profession()
Get the profession property: The person's profession.List<MicrosoftGraphScoredEmailAddress>
scoredEmailAddresses()
Get the scoredEmailAddresses property: The person's email addresses.String
surname()
Get the surname property: The person's surname.String
userPrincipalName()
Get the userPrincipalName property: The user principal name (UPN) of the person.void
validate()
Validates the instance.List<MicrosoftGraphWebsite>
websites()
Get the websites property: The person's websites.MicrosoftGraphPerson
withAdditionalProperties(Map<String,Object> additionalProperties)
Set the additionalProperties property: person.MicrosoftGraphPerson
withBirthday(String birthday)
Set the birthday property: The person's birthday.MicrosoftGraphPerson
withCompanyName(String companyName)
Set the companyName property: The name of the person's company.MicrosoftGraphPerson
withDepartment(String department)
Set the department property: The person's department.MicrosoftGraphPerson
withDisplayName(String displayName)
Set the displayName property: The person's display name.MicrosoftGraphPerson
withGivenName(String givenName)
Set the givenName property: The person's given name.MicrosoftGraphPerson
withId(String id)
Set the id property: Read-only.MicrosoftGraphPerson
withImAddress(String imAddress)
Set the imAddress property: The instant message voice over IP (VOIP) session initiation protocol (SIP) address for the user.MicrosoftGraphPerson
withIsFavorite(Boolean isFavorite)
Set the isFavorite property: true if the user has flagged this person as a favorite.MicrosoftGraphPerson
withJobTitle(String jobTitle)
Set the jobTitle property: The person's job title.MicrosoftGraphPerson
withOfficeLocation(String officeLocation)
Set the officeLocation property: The location of the person's office.MicrosoftGraphPerson
withPersonNotes(String personNotes)
Set the personNotes property: Free-form notes that the user has taken about this person.MicrosoftGraphPerson
withPersonType(MicrosoftGraphPersonType personType)
Set the personType property: personType.MicrosoftGraphPerson
withPhones(List<MicrosoftGraphPhone> phones)
Set the phones property: The person's phone numbers.MicrosoftGraphPerson
withPostalAddresses(List<MicrosoftGraphLocation> postalAddresses)
Set the postalAddresses property: The person's addresses.MicrosoftGraphPerson
withProfession(String profession)
Set the profession property: The person's profession.MicrosoftGraphPerson
withScoredEmailAddresses(List<MicrosoftGraphScoredEmailAddress> scoredEmailAddresses)
Set the scoredEmailAddresses property: The person's email addresses.MicrosoftGraphPerson
withSurname(String surname)
Set the surname property: The person's surname.MicrosoftGraphPerson
withUserPrincipalName(String userPrincipalName)
Set the userPrincipalName property: The user principal name (UPN) of the person.MicrosoftGraphPerson
withWebsites(List<MicrosoftGraphWebsite> websites)
Set the websites property: The person's websites.MicrosoftGraphPerson
withYomiCompany(String yomiCompany)
Set the yomiCompany property: The phonetic Japanese name of the person's company.String
yomiCompany()
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
-
-
-
-
Method Detail
-
birthday
public String birthday()
Get the birthday property: The person's birthday.- Returns:
- the birthday value.
-
withBirthday
public MicrosoftGraphPerson withBirthday(String birthday)
Set the birthday property: The person's birthday.- Parameters:
birthday
- the birthday value to set.- Returns:
- the MicrosoftGraphPerson object itself.
-
companyName
public String companyName()
Get the companyName property: The name of the person's company.- Returns:
- the companyName value.
-
withCompanyName
public MicrosoftGraphPerson withCompanyName(String companyName)
Set the companyName property: The name of the person's company.- Parameters:
companyName
- the companyName value to set.- Returns:
- the MicrosoftGraphPerson object itself.
-
department
public String department()
Get the department property: The person's department.- Returns:
- the department value.
-
withDepartment
public MicrosoftGraphPerson withDepartment(String department)
Set the department property: The person's department.- Parameters:
department
- the department value to set.- Returns:
- the MicrosoftGraphPerson object itself.
-
displayName
public String displayName()
Get the displayName property: The person's display name.- Returns:
- the displayName value.
-
withDisplayName
public MicrosoftGraphPerson withDisplayName(String displayName)
Set the displayName property: The person's display name.- Parameters:
displayName
- the displayName value to set.- Returns:
- the MicrosoftGraphPerson object itself.
-
givenName
public String givenName()
Get the givenName property: The person's given name.- Returns:
- the givenName value.
-
withGivenName
public MicrosoftGraphPerson withGivenName(String givenName)
Set the givenName property: The person's given name.- Parameters:
givenName
- the givenName value to set.- Returns:
- the MicrosoftGraphPerson object itself.
-
imAddress
public String 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
public MicrosoftGraphPerson withImAddress(String imAddress)
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
public Boolean isFavorite()
Get the isFavorite property: true if the user has flagged this person as a favorite.- Returns:
- the isFavorite value.
-
withIsFavorite
public MicrosoftGraphPerson withIsFavorite(Boolean isFavorite)
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
public String jobTitle()
Get the jobTitle property: The person's job title.- Returns:
- the jobTitle value.
-
withJobTitle
public MicrosoftGraphPerson withJobTitle(String jobTitle)
Set the jobTitle property: The person's job title.- Parameters:
jobTitle
- the jobTitle value to set.- Returns:
- the MicrosoftGraphPerson object itself.
-
officeLocation
public String officeLocation()
Get the officeLocation property: The location of the person's office.- Returns:
- the officeLocation value.
-
withOfficeLocation
public MicrosoftGraphPerson withOfficeLocation(String officeLocation)
Set the officeLocation property: The location of the person's office.- Parameters:
officeLocation
- the officeLocation value to set.- Returns:
- the MicrosoftGraphPerson object itself.
-
personNotes
public String personNotes()
Get the personNotes property: Free-form notes that the user has taken about this person.- Returns:
- the personNotes value.
-
withPersonNotes
public MicrosoftGraphPerson withPersonNotes(String personNotes)
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
public MicrosoftGraphPersonType personType()
Get the personType property: personType.- Returns:
- the personType value.
-
withPersonType
public MicrosoftGraphPerson withPersonType(MicrosoftGraphPersonType personType)
Set the personType property: personType.- Parameters:
personType
- the personType value to set.- Returns:
- the MicrosoftGraphPerson object itself.
-
phones
public List<MicrosoftGraphPhone> phones()
Get the phones property: The person's phone numbers.- Returns:
- the phones value.
-
withPhones
public MicrosoftGraphPerson withPhones(List<MicrosoftGraphPhone> phones)
Set the phones property: The person's phone numbers.- Parameters:
phones
- the phones value to set.- Returns:
- the MicrosoftGraphPerson object itself.
-
postalAddresses
public List<MicrosoftGraphLocation> postalAddresses()
Get the postalAddresses property: The person's addresses.- Returns:
- the postalAddresses value.
-
withPostalAddresses
public MicrosoftGraphPerson withPostalAddresses(List<MicrosoftGraphLocation> postalAddresses)
Set the postalAddresses property: The person's addresses.- Parameters:
postalAddresses
- the postalAddresses value to set.- Returns:
- the MicrosoftGraphPerson object itself.
-
profession
public String profession()
Get the profession property: The person's profession.- Returns:
- the profession value.
-
withProfession
public MicrosoftGraphPerson withProfession(String profession)
Set the profession property: The person's profession.- Parameters:
profession
- the profession value to set.- Returns:
- the MicrosoftGraphPerson object itself.
-
scoredEmailAddresses
public List<MicrosoftGraphScoredEmailAddress> 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
public String surname()
Get the surname property: The person's surname.- Returns:
- the surname value.
-
withSurname
public MicrosoftGraphPerson withSurname(String surname)
Set the surname property: The person's surname.- Parameters:
surname
- the surname value to set.- Returns:
- the MicrosoftGraphPerson object itself.
-
userPrincipalName
public String 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
public MicrosoftGraphPerson withUserPrincipalName(String userPrincipalName)
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
public List<MicrosoftGraphWebsite> websites()
Get the websites property: The person's websites.- Returns:
- the websites value.
-
withWebsites
public MicrosoftGraphPerson withWebsites(List<MicrosoftGraphWebsite> websites)
Set the websites property: The person's websites.- Parameters:
websites
- the websites value to set.- Returns:
- the MicrosoftGraphPerson object itself.
-
yomiCompany
public String yomiCompany()
Get the yomiCompany property: The phonetic Japanese name of the person's company.- Returns:
- the yomiCompany value.
-
withYomiCompany
public MicrosoftGraphPerson withYomiCompany(String yomiCompany)
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
public Map<String,Object> additionalProperties()
Get the additionalProperties property: person.- Overrides:
additionalProperties
in classMicrosoftGraphEntity
- Returns:
- the additionalProperties value.
-
withAdditionalProperties
public MicrosoftGraphPerson withAdditionalProperties(Map<String,Object> additionalProperties)
Set the additionalProperties property: person.- Overrides:
withAdditionalProperties
in classMicrosoftGraphEntity
- Parameters:
additionalProperties
- the additionalProperties value to set.- Returns:
- the MicrosoftGraphPerson object itself.
-
withId
public MicrosoftGraphPerson withId(String id)
Set the id property: Read-only.- Overrides:
withId
in classMicrosoftGraphEntity
- Parameters:
id
- the id value to set.- Returns:
- the MicrosoftGraphEntity object itself.
-
validate
public void validate()
Validates the instance.- Overrides:
validate
in classMicrosoftGraphEntity
- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-
-