MicrosoftGraphPerson Class
- java.
lang. Object - com.
azure. resourcemanager. authorization. fluent. models. MicrosoftGraphEntity - com.
azure. resourcemanager. authorization. fluent. models. MicrosoftGraphPerson
- com.
- com.
public final class MicrosoftGraphPerson
extends MicrosoftGraphEntity
person.
Constructor Summary
Constructor | Description |
---|---|
MicrosoftGraphPerson() |
Creates an instance of Microsoft |
Method Summary
Modifier and Type | Method and Description |
---|---|
Map<String,Object> |
additionalProperties()
Get the additional |
String |
birthday()
Get the birthday property: The person's birthday. |
String |
companyName()
Get the company |
String |
department()
Get the department property: The person's department. |
String |
displayName()
Get the display |
static
Microsoft |
fromJson(JsonReader jsonReader)
Reads an instance of Microsoft |
String |
givenName()
Get the given |
String |
imAddress()
Get the im |
Boolean |
isFavorite()
Get the is |
String |
jobTitle()
Get the job |
String |
officeLocation()
Get the office |
String |
personNotes()
Get the person |
Microsoft |
personType()
Get the person |
List<Microsoft |
phones()
Get the phones property: The person's phone numbers. |
List<Microsoft |
postalAddresses()
Get the postal |
String |
profession()
Get the profession property: The person's profession. |
List<Microsoft |
scoredEmailAddresses()
Get the scored |
String |
surname()
Get the surname property: The person's surname. |
Json |
toJson(JsonWriter jsonWriter) |
String |
userPrincipalName()
Get the user |
void |
validate()
Validates the instance. |
List<Microsoft |
websites()
Get the websites property: The person's websites. |
Microsoft |
withAdditionalProperties(Map<String,Object> additionalProperties)
Set the additional |
Microsoft |
withBirthday(String birthday)
Set the birthday property: The person's birthday. |
Microsoft |
withCompanyName(String companyName)
Set the company |
Microsoft |
withDepartment(String department)
Set the department property: The person's department. |
Microsoft |
withDisplayName(String displayName)
Set the display |
Microsoft |
withGivenName(String givenName)
Set the given |
Microsoft |
withId(String id)
Set the id property: Read-only. |
Microsoft |
withImAddress(String imAddress)
Set the im |
Microsoft |
withIsFavorite(Boolean isFavorite)
Set the is |
Microsoft |
withJobTitle(String jobTitle)
Set the job |
Microsoft |
withOfficeLocation(String officeLocation)
Set the office |
Microsoft |
withPersonNotes(String personNotes)
Set the person |
Microsoft |
withPersonType(MicrosoftGraphPersonType personType)
Set the person |
Microsoft |
withPhones(List<MicrosoftGraphPhone> phones)
Set the phones property: The person's phone numbers. |
Microsoft |
withPostalAddresses(List<MicrosoftGraphLocation> postalAddresses)
Set the postal |
Microsoft |
withProfession(String profession)
Set the profession property: The person's profession. |
Microsoft |
withScoredEmailAddresses(List<MicrosoftGraphScoredEmailAddress> scoredEmailAddresses)
Set the scored |
Microsoft |
withSurname(String surname)
Set the surname property: The person's surname. |
Microsoft |
withUserPrincipalName(String userPrincipalName)
Set the user |
Microsoft |
withWebsites(List<MicrosoftGraphWebsite> websites)
Set the websites property: The person's websites. |
Microsoft |
withYomiCompany(String yomiCompany)
Set the yomi |
String |
yomiCompany()
Get the yomi |
Methods inherited from MicrosoftGraphEntity
Methods inherited from java.lang.Object
Constructor Details
MicrosoftGraphPerson
public MicrosoftGraphPerson()
Creates an instance of MicrosoftGraphPerson class.
Method Details
additionalProperties
public Map
Get the additionalProperties property: person.
Overrides:
MicrosoftGraphPerson.additionalProperties()Returns:
birthday
public String birthday()
Get the birthday property: The person's birthday.
Returns:
companyName
public String companyName()
Get the companyName property: The name of the person's company.
Returns:
department
public String department()
Get the department property: The person's department.
Returns:
displayName
public String displayName()
Get the displayName property: The person's display name.
Returns:
fromJson
public static MicrosoftGraphPerson fromJson(JsonReader jsonReader)
Reads an instance of MicrosoftGraphPerson from the JsonReader.
Parameters:
Returns:
Throws:
givenName
public String givenName()
Get the givenName property: The person's given name.
Returns:
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:
isFavorite
public Boolean isFavorite()
Get the isFavorite property: true if the user has flagged this person as a favorite.
Returns:
jobTitle
public String jobTitle()
Get the jobTitle property: The person's job title.
Returns:
officeLocation
public String officeLocation()
Get the officeLocation property: The location of the person's office.
Returns:
personNotes
public String personNotes()
Get the personNotes property: Free-form notes that the user has taken about this person.
Returns:
personType
public MicrosoftGraphPersonType personType()
Get the personType property: personType.
Returns:
phones
public List
Get the phones property: The person's phone numbers.
Returns:
postalAddresses
public List
Get the postalAddresses property: The person's addresses.
Returns:
profession
public String profession()
Get the profession property: The person's profession.
Returns:
scoredEmailAddresses
public List
Get the scoredEmailAddresses property: The person's email addresses.
Returns:
surname
public String surname()
Get the surname property: The person's surname.
Returns:
toJson
public JsonWriter toJson(JsonWriter jsonWriter)
Overrides:
MicrosoftGraphPerson.toJson(JsonWriter jsonWriter)Parameters:
Throws:
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:
validate
public void validate()
Validates the instance.
Overrides:
MicrosoftGraphPerson.validate()websites
public List
Get the websites property: The person's websites.
Returns:
withAdditionalProperties
public MicrosoftGraphPerson withAdditionalProperties(Map
Set the additionalProperties property: person.
Overrides:
MicrosoftGraphPerson.withAdditionalProperties(Map<String,Object> additionalProperties)Parameters:
Returns:
withBirthday
public MicrosoftGraphPerson withBirthday(String birthday)
Set the birthday property: The person's birthday.
Parameters:
Returns:
withCompanyName
public MicrosoftGraphPerson withCompanyName(String companyName)
Set the companyName property: The name of the person's company.
Parameters:
Returns:
withDepartment
public MicrosoftGraphPerson withDepartment(String department)
Set the department property: The person's department.
Parameters:
Returns:
withDisplayName
public MicrosoftGraphPerson withDisplayName(String displayName)
Set the displayName property: The person's display name.
Parameters:
Returns:
withGivenName
public MicrosoftGraphPerson withGivenName(String givenName)
Set the givenName property: The person's given name.
Parameters:
Returns:
withId
public MicrosoftGraphPerson withId(String id)
Set the id property: Read-only.
Overrides:
MicrosoftGraphPerson.withId(String id)Parameters:
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:
Returns:
withIsFavorite
public MicrosoftGraphPerson withIsFavorite(Boolean isFavorite)
Set the isFavorite property: true if the user has flagged this person as a favorite.
Parameters:
Returns:
withJobTitle
public MicrosoftGraphPerson withJobTitle(String jobTitle)
Set the jobTitle property: The person's job title.
Parameters:
Returns:
withOfficeLocation
public MicrosoftGraphPerson withOfficeLocation(String officeLocation)
Set the officeLocation property: The location of the person's office.
Parameters:
Returns:
withPersonNotes
public MicrosoftGraphPerson withPersonNotes(String personNotes)
Set the personNotes property: Free-form notes that the user has taken about this person.
Parameters:
Returns:
withPersonType
public MicrosoftGraphPerson withPersonType(MicrosoftGraphPersonType personType)
Set the personType property: personType.
Parameters:
Returns:
withPhones
public MicrosoftGraphPerson withPhones(List
Set the phones property: The person's phone numbers.
Parameters:
Returns:
withPostalAddresses
public MicrosoftGraphPerson withPostalAddresses(List
Set the postalAddresses property: The person's addresses.
Parameters:
Returns:
withProfession
public MicrosoftGraphPerson withProfession(String profession)
Set the profession property: The person's profession.
Parameters:
Returns:
withScoredEmailAddresses
public MicrosoftGraphPerson withScoredEmailAddresses(List
Set the scoredEmailAddresses property: The person's email addresses.
Parameters:
Returns:
withSurname
public MicrosoftGraphPerson withSurname(String surname)
Set the surname property: The person's surname.
Parameters:
Returns:
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:
Returns:
withWebsites
public MicrosoftGraphPerson withWebsites(List
Set the websites property: The person's websites.
Parameters:
Returns:
withYomiCompany
public MicrosoftGraphPerson withYomiCompany(String yomiCompany)
Set the yomiCompany property: The phonetic Japanese name of the person's company.
Parameters:
Returns:
yomiCompany
public String yomiCompany()
Get the yomiCompany property: The phonetic Japanese name of the person's company.
Returns:
Applies to
Azure SDK for Java