Class MicrosoftGraphOrgContactInner


public final class MicrosoftGraphOrgContactInner extends MicrosoftGraphDirectoryObjectInner
orgContact

Represents an Azure Active Directory object. The directoryObject type is the base type for many other directory entity types.

  • Constructor Details

    • MicrosoftGraphOrgContactInner

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

    • addresses

      Get the addresses property: The addresses property.
      Returns:
      the addresses value.
    • withAddresses

      Set the addresses property: The addresses property.
      Parameters:
      addresses - the addresses value to set.
      Returns:
      the MicrosoftGraphOrgContactInner object itself.
    • companyName

      public String companyName()
      Get the companyName property: The companyName property.
      Returns:
      the companyName value.
    • withCompanyName

      public MicrosoftGraphOrgContactInner withCompanyName(String companyName)
      Set the companyName property: The companyName property.
      Parameters:
      companyName - the companyName value to set.
      Returns:
      the MicrosoftGraphOrgContactInner object itself.
    • department

      public String department()
      Get the department property: The department property.
      Returns:
      the department value.
    • withDepartment

      public MicrosoftGraphOrgContactInner withDepartment(String department)
      Set the department property: The department property.
      Parameters:
      department - the department value to set.
      Returns:
      the MicrosoftGraphOrgContactInner object itself.
    • displayName

      public String displayName()
      Get the displayName property: The displayName property.
      Returns:
      the displayName value.
    • withDisplayName

      public MicrosoftGraphOrgContactInner withDisplayName(String displayName)
      Set the displayName property: The displayName property.
      Parameters:
      displayName - the displayName value to set.
      Returns:
      the MicrosoftGraphOrgContactInner object itself.
    • givenName

      public String givenName()
      Get the givenName property: The givenName property.
      Returns:
      the givenName value.
    • withGivenName

      public MicrosoftGraphOrgContactInner withGivenName(String givenName)
      Set the givenName property: The givenName property.
      Parameters:
      givenName - the givenName value to set.
      Returns:
      the MicrosoftGraphOrgContactInner object itself.
    • jobTitle

      public String jobTitle()
      Get the jobTitle property: The jobTitle property.
      Returns:
      the jobTitle value.
    • withJobTitle

      public MicrosoftGraphOrgContactInner withJobTitle(String jobTitle)
      Set the jobTitle property: The jobTitle property.
      Parameters:
      jobTitle - the jobTitle value to set.
      Returns:
      the MicrosoftGraphOrgContactInner object itself.
    • mail

      public String mail()
      Get the mail property: The mail property.
      Returns:
      the mail value.
    • withMail

      public MicrosoftGraphOrgContactInner withMail(String mail)
      Set the mail property: The mail property.
      Parameters:
      mail - the mail value to set.
      Returns:
      the MicrosoftGraphOrgContactInner object itself.
    • mailNickname

      public String mailNickname()
      Get the mailNickname property: The mailNickname property.
      Returns:
      the mailNickname value.
    • withMailNickname

      public MicrosoftGraphOrgContactInner withMailNickname(String mailNickname)
      Set the mailNickname property: The mailNickname property.
      Parameters:
      mailNickname - the mailNickname value to set.
      Returns:
      the MicrosoftGraphOrgContactInner object itself.
    • onPremisesLastSyncDateTime

      public OffsetDateTime onPremisesLastSyncDateTime()
      Get the onPremisesLastSyncDateTime property: The onPremisesLastSyncDateTime property.
      Returns:
      the onPremisesLastSyncDateTime value.
    • withOnPremisesLastSyncDateTime

      public MicrosoftGraphOrgContactInner withOnPremisesLastSyncDateTime(OffsetDateTime onPremisesLastSyncDateTime)
      Set the onPremisesLastSyncDateTime property: The onPremisesLastSyncDateTime property.
      Parameters:
      onPremisesLastSyncDateTime - the onPremisesLastSyncDateTime value to set.
      Returns:
      the MicrosoftGraphOrgContactInner object itself.
    • onPremisesProvisioningErrors

      public List<MicrosoftGraphOnPremisesProvisioningError> onPremisesProvisioningErrors()
      Get the onPremisesProvisioningErrors property: The onPremisesProvisioningErrors property.
      Returns:
      the onPremisesProvisioningErrors value.
    • withOnPremisesProvisioningErrors

      public MicrosoftGraphOrgContactInner withOnPremisesProvisioningErrors(List<MicrosoftGraphOnPremisesProvisioningError> onPremisesProvisioningErrors)
      Set the onPremisesProvisioningErrors property: The onPremisesProvisioningErrors property.
      Parameters:
      onPremisesProvisioningErrors - the onPremisesProvisioningErrors value to set.
      Returns:
      the MicrosoftGraphOrgContactInner object itself.
    • onPremisesSyncEnabled

      public Boolean onPremisesSyncEnabled()
      Get the onPremisesSyncEnabled property: The onPremisesSyncEnabled property.
      Returns:
      the onPremisesSyncEnabled value.
    • withOnPremisesSyncEnabled

      public MicrosoftGraphOrgContactInner withOnPremisesSyncEnabled(Boolean onPremisesSyncEnabled)
      Set the onPremisesSyncEnabled property: The onPremisesSyncEnabled property.
      Parameters:
      onPremisesSyncEnabled - the onPremisesSyncEnabled value to set.
      Returns:
      the MicrosoftGraphOrgContactInner object itself.
    • phones

      public List<MicrosoftGraphPhone> phones()
      Get the phones property: The phones property.
      Returns:
      the phones value.
    • withPhones

      Set the phones property: The phones property.
      Parameters:
      phones - the phones value to set.
      Returns:
      the MicrosoftGraphOrgContactInner object itself.
    • proxyAddresses

      public List<String> proxyAddresses()
      Get the proxyAddresses property: The proxyAddresses property.
      Returns:
      the proxyAddresses value.
    • withProxyAddresses

      public MicrosoftGraphOrgContactInner withProxyAddresses(List<String> proxyAddresses)
      Set the proxyAddresses property: The proxyAddresses property.
      Parameters:
      proxyAddresses - the proxyAddresses value to set.
      Returns:
      the MicrosoftGraphOrgContactInner object itself.
    • surname

      public String surname()
      Get the surname property: The surname property.
      Returns:
      the surname value.
    • withSurname

      public MicrosoftGraphOrgContactInner withSurname(String surname)
      Set the surname property: The surname property.
      Parameters:
      surname - the surname value to set.
      Returns:
      the MicrosoftGraphOrgContactInner object itself.
    • directReports

      public List<MicrosoftGraphDirectoryObjectInner> directReports()
      Get the directReports property: The directReports property.
      Returns:
      the directReports value.
    • withDirectReports

      public MicrosoftGraphOrgContactInner withDirectReports(List<MicrosoftGraphDirectoryObjectInner> directReports)
      Set the directReports property: The directReports property.
      Parameters:
      directReports - the directReports value to set.
      Returns:
      the MicrosoftGraphOrgContactInner object itself.
    • manager

      Get the manager property: directoryObject

      Represents an Azure Active Directory object. The directoryObject type is the base type for many other directory entity types.

      Returns:
      the manager value.
    • withManager

      Set the manager property: directoryObject

      Represents an Azure Active Directory object. The directoryObject type is the base type for many other directory entity types.

      Parameters:
      manager - the manager value to set.
      Returns:
      the MicrosoftGraphOrgContactInner object itself.
    • memberOf

      Get the memberOf property: The memberOf property.
      Returns:
      the memberOf value.
    • withMemberOf

      Set the memberOf property: The memberOf property.
      Parameters:
      memberOf - the memberOf value to set.
      Returns:
      the MicrosoftGraphOrgContactInner object itself.
    • transitiveMemberOf

      public List<MicrosoftGraphDirectoryObjectInner> transitiveMemberOf()
      Get the transitiveMemberOf property: The transitiveMemberOf property.
      Returns:
      the transitiveMemberOf value.
    • withTransitiveMemberOf

      public MicrosoftGraphOrgContactInner withTransitiveMemberOf(List<MicrosoftGraphDirectoryObjectInner> transitiveMemberOf)
      Set the transitiveMemberOf property: The transitiveMemberOf property.
      Parameters:
      transitiveMemberOf - the transitiveMemberOf value to set.
      Returns:
      the MicrosoftGraphOrgContactInner object itself.
    • additionalProperties

      public Map<String,Object> additionalProperties()
      Get the additionalProperties property: Represents an Azure Active Directory object. The directoryObject type is the base type for many other directory entity types.
      Overrides:
      additionalProperties in class MicrosoftGraphDirectoryObjectInner
      Returns:
      the additionalProperties value.
    • withAdditionalProperties

      public MicrosoftGraphOrgContactInner withAdditionalProperties(Map<String,Object> additionalProperties)
      Set the additionalProperties property: Represents an Azure Active Directory object. The directoryObject type is the base type for many other directory entity types.
      Overrides:
      withAdditionalProperties in class MicrosoftGraphDirectoryObjectInner
      Parameters:
      additionalProperties - the additionalProperties value to set.
      Returns:
      the MicrosoftGraphOrgContactInner object itself.
    • withDeletedDateTime

      public MicrosoftGraphOrgContactInner withDeletedDateTime(OffsetDateTime deletedDateTime)
      Set the deletedDateTime property: The deletedDateTime property.
      Overrides:
      withDeletedDateTime in class MicrosoftGraphDirectoryObjectInner
      Parameters:
      deletedDateTime - the deletedDateTime value to set.
      Returns:
      the MicrosoftGraphDirectoryObjectInner object itself.
    • withId

      Set the id property: Read-only.
      Overrides:
      withId in class MicrosoftGraphDirectoryObjectInner
      Parameters:
      id - the id value to set.
      Returns:
      the MicrosoftGraphEntity object itself.
    • validate

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