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 Details

    • MicrosoftGraphPerson

      public MicrosoftGraphPerson()
      Creates an instance of MicrosoftGraphPerson class.
  • Method Details

    • 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 class MicrosoftGraphEntity
      Returns:
      the additionalProperties value.
    • withAdditionalProperties

      public MicrosoftGraphPerson withAdditionalProperties(Map<String,Object> additionalProperties)
      Set the additionalProperties property: person.
      Overrides:
      withAdditionalProperties in class MicrosoftGraphEntity
      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 class MicrosoftGraphEntity
      Parameters:
      id - the id value to set.
      Returns:
      the MicrosoftGraphEntity object itself.
    • validate

      public void validate()
      Validates the instance.
      Overrides:
      validate in class MicrosoftGraphEntity
      Throws:
      IllegalArgumentException - thrown if the instance is not valid.