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.Stringbirthday()Get the birthday property: The person's birthday.StringcompanyName()Get the companyName property: The name of the person's company.Stringdepartment()Get the department property: The person's department.StringdisplayName()Get the displayName property: The person's display name.StringgivenName()Get the givenName property: The person's given name.StringimAddress()Get the imAddress property: The instant message voice over IP (VOIP) session initiation protocol (SIP) address for the user.BooleanisFavorite()Get the isFavorite property: true if the user has flagged this person as a favorite.StringjobTitle()Get the jobTitle property: The person's job title.StringofficeLocation()Get the officeLocation property: The location of the person's office.StringpersonNotes()Get the personNotes property: Free-form notes that the user has taken about this person.MicrosoftGraphPersonTypepersonType()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.Stringprofession()Get the profession property: The person's profession.List<MicrosoftGraphScoredEmailAddress>scoredEmailAddresses()Get the scoredEmailAddresses property: The person's email addresses.Stringsurname()Get the surname property: The person's surname.StringuserPrincipalName()Get the userPrincipalName property: The user principal name (UPN) of the person.voidvalidate()Validates the instance.List<MicrosoftGraphWebsite>websites()Get the websites property: The person's websites.MicrosoftGraphPersonwithAdditionalProperties(Map<String,Object> additionalProperties)Set the additionalProperties property: person.MicrosoftGraphPersonwithBirthday(String birthday)Set the birthday property: The person's birthday.MicrosoftGraphPersonwithCompanyName(String companyName)Set the companyName property: The name of the person's company.MicrosoftGraphPersonwithDepartment(String department)Set the department property: The person's department.MicrosoftGraphPersonwithDisplayName(String displayName)Set the displayName property: The person's display name.MicrosoftGraphPersonwithGivenName(String givenName)Set the givenName property: The person's given name.MicrosoftGraphPersonwithId(String id)Set the id property: Read-only.MicrosoftGraphPersonwithImAddress(String imAddress)Set the imAddress property: The instant message voice over IP (VOIP) session initiation protocol (SIP) address for the user.MicrosoftGraphPersonwithIsFavorite(Boolean isFavorite)Set the isFavorite property: true if the user has flagged this person as a favorite.MicrosoftGraphPersonwithJobTitle(String jobTitle)Set the jobTitle property: The person's job title.MicrosoftGraphPersonwithOfficeLocation(String officeLocation)Set the officeLocation property: The location of the person's office.MicrosoftGraphPersonwithPersonNotes(String personNotes)Set the personNotes property: Free-form notes that the user has taken about this person.MicrosoftGraphPersonwithPersonType(MicrosoftGraphPersonType personType)Set the personType property: personType.MicrosoftGraphPersonwithPhones(List<MicrosoftGraphPhone> phones)Set the phones property: The person's phone numbers.MicrosoftGraphPersonwithPostalAddresses(List<MicrosoftGraphLocation> postalAddresses)Set the postalAddresses property: The person's addresses.MicrosoftGraphPersonwithProfession(String profession)Set the profession property: The person's profession.MicrosoftGraphPersonwithScoredEmailAddresses(List<MicrosoftGraphScoredEmailAddress> scoredEmailAddresses)Set the scoredEmailAddresses property: The person's email addresses.MicrosoftGraphPersonwithSurname(String surname)Set the surname property: The person's surname.MicrosoftGraphPersonwithUserPrincipalName(String userPrincipalName)Set the userPrincipalName property: The user principal name (UPN) of the person.MicrosoftGraphPersonwithWebsites(List<MicrosoftGraphWebsite> websites)Set the websites property: The person's websites.MicrosoftGraphPersonwithYomiCompany(String yomiCompany)Set the yomiCompany property: The phonetic Japanese name of the person's company.StringyomiCompany()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:
additionalPropertiesin classMicrosoftGraphEntity- Returns:
- the additionalProperties value.
-
withAdditionalProperties
public MicrosoftGraphPerson withAdditionalProperties(Map<String,Object> additionalProperties)
Set the additionalProperties property: person.- Overrides:
withAdditionalPropertiesin 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:
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.
-
-