Class MicrosoftGraphOrgContactInner
- java.lang.Object
-
- com.azure.resourcemanager.authorization.fluent.models.MicrosoftGraphEntity
-
- com.azure.resourcemanager.authorization.fluent.models.MicrosoftGraphDirectoryObjectInner
-
- com.azure.resourcemanager.authorization.fluent.models.MicrosoftGraphOrgContactInner
-
public final class MicrosoftGraphOrgContactInner extends MicrosoftGraphDirectoryObjectInner
Represents an Azure Active Directory object. The directoryObject type is the base type for many other directory entity types.
-
-
Constructor Summary
Constructors Constructor Description MicrosoftGraphOrgContactInner()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Map<String,Object>
additionalProperties()
Get the additionalProperties property: Represents an Azure Active Directory object.List<MicrosoftGraphPhysicalOfficeAddress>
addresses()
Get the addresses property: The addresses property.String
companyName()
Get the companyName property: The companyName property.String
department()
Get the department property: The department property.List<MicrosoftGraphDirectoryObjectInner>
directReports()
Get the directReports property: The directReports property.String
displayName()
Get the displayName property: The displayName property.String
givenName()
Get the givenName property: The givenName property.String
jobTitle()
Get the jobTitle property: The jobTitle property.String
mail()
Get the mail property: The mail property.String
mailNickname()
Get the mailNickname property: The mailNickname property.MicrosoftGraphDirectoryObjectInner
manager()
Get the manager property: Represents an Azure Active Directory object.List<MicrosoftGraphDirectoryObjectInner>
memberOf()
Get the memberOf property: The memberOf property.OffsetDateTime
onPremisesLastSyncDateTime()
Get the onPremisesLastSyncDateTime property: The onPremisesLastSyncDateTime property.List<MicrosoftGraphOnPremisesProvisioningError>
onPremisesProvisioningErrors()
Get the onPremisesProvisioningErrors property: The onPremisesProvisioningErrors property.Boolean
onPremisesSyncEnabled()
Get the onPremisesSyncEnabled property: The onPremisesSyncEnabled property.List<MicrosoftGraphPhone>
phones()
Get the phones property: The phones property.List<String>
proxyAddresses()
Get the proxyAddresses property: The proxyAddresses property.String
surname()
Get the surname property: The surname property.List<MicrosoftGraphDirectoryObjectInner>
transitiveMemberOf()
Get the transitiveMemberOf property: The transitiveMemberOf property.void
validate()
Validates the instance.MicrosoftGraphOrgContactInner
withAdditionalProperties(Map<String,Object> additionalProperties)
Set the additionalProperties property: Represents an Azure Active Directory object.MicrosoftGraphOrgContactInner
withAddresses(List<MicrosoftGraphPhysicalOfficeAddress> addresses)
Set the addresses property: The addresses property.MicrosoftGraphOrgContactInner
withCompanyName(String companyName)
Set the companyName property: The companyName property.MicrosoftGraphOrgContactInner
withDeletedDateTime(OffsetDateTime deletedDateTime)
Set the deletedDateTime property: The deletedDateTime property.MicrosoftGraphOrgContactInner
withDepartment(String department)
Set the department property: The department property.MicrosoftGraphOrgContactInner
withDirectReports(List<MicrosoftGraphDirectoryObjectInner> directReports)
Set the directReports property: The directReports property.MicrosoftGraphOrgContactInner
withDisplayName(String displayName)
Set the displayName property: The displayName property.MicrosoftGraphOrgContactInner
withGivenName(String givenName)
Set the givenName property: The givenName property.MicrosoftGraphOrgContactInner
withId(String id)
Set the id property: Read-only.MicrosoftGraphOrgContactInner
withJobTitle(String jobTitle)
Set the jobTitle property: The jobTitle property.MicrosoftGraphOrgContactInner
withMail(String mail)
Set the mail property: The mail property.MicrosoftGraphOrgContactInner
withMailNickname(String mailNickname)
Set the mailNickname property: The mailNickname property.MicrosoftGraphOrgContactInner
withManager(MicrosoftGraphDirectoryObjectInner manager)
Set the manager property: Represents an Azure Active Directory object.MicrosoftGraphOrgContactInner
withMemberOf(List<MicrosoftGraphDirectoryObjectInner> memberOf)
Set the memberOf property: The memberOf property.MicrosoftGraphOrgContactInner
withOnPremisesLastSyncDateTime(OffsetDateTime onPremisesLastSyncDateTime)
Set the onPremisesLastSyncDateTime property: The onPremisesLastSyncDateTime property.MicrosoftGraphOrgContactInner
withOnPremisesProvisioningErrors(List<MicrosoftGraphOnPremisesProvisioningError> onPremisesProvisioningErrors)
Set the onPremisesProvisioningErrors property: The onPremisesProvisioningErrors property.MicrosoftGraphOrgContactInner
withOnPremisesSyncEnabled(Boolean onPremisesSyncEnabled)
Set the onPremisesSyncEnabled property: The onPremisesSyncEnabled property.MicrosoftGraphOrgContactInner
withPhones(List<MicrosoftGraphPhone> phones)
Set the phones property: The phones property.MicrosoftGraphOrgContactInner
withProxyAddresses(List<String> proxyAddresses)
Set the proxyAddresses property: The proxyAddresses property.MicrosoftGraphOrgContactInner
withSurname(String surname)
Set the surname property: The surname property.MicrosoftGraphOrgContactInner
withTransitiveMemberOf(List<MicrosoftGraphDirectoryObjectInner> transitiveMemberOf)
Set the transitiveMemberOf property: The transitiveMemberOf property.-
Methods inherited from class com.azure.resourcemanager.authorization.fluent.models.MicrosoftGraphDirectoryObjectInner
deletedDateTime
-
Methods inherited from class com.azure.resourcemanager.authorization.fluent.models.MicrosoftGraphEntity
id
-
-
-
-
Method Detail
-
addresses
public List<MicrosoftGraphPhysicalOfficeAddress> addresses()
Get the addresses property: The addresses property.- Returns:
- the addresses value.
-
withAddresses
public MicrosoftGraphOrgContactInner withAddresses(List<MicrosoftGraphPhysicalOfficeAddress> addresses)
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
public MicrosoftGraphOrgContactInner withPhones(List<MicrosoftGraphPhone> phones)
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
public MicrosoftGraphDirectoryObjectInner manager()
Get the manager property: Represents an Azure Active Directory object. The directoryObject type is the base type for many other directory entity types.- Returns:
- the manager value.
-
withManager
public MicrosoftGraphOrgContactInner withManager(MicrosoftGraphDirectoryObjectInner manager)
Set the manager property: 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
public List<MicrosoftGraphDirectoryObjectInner> memberOf()
Get the memberOf property: The memberOf property.- Returns:
- the memberOf value.
-
withMemberOf
public MicrosoftGraphOrgContactInner withMemberOf(List<MicrosoftGraphDirectoryObjectInner> memberOf)
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 classMicrosoftGraphDirectoryObjectInner
- 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 classMicrosoftGraphDirectoryObjectInner
- 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 classMicrosoftGraphDirectoryObjectInner
- Parameters:
deletedDateTime
- the deletedDateTime value to set.- Returns:
- the MicrosoftGraphDirectoryObjectInner object itself.
-
withId
public MicrosoftGraphOrgContactInner withId(String id)
Set the id property: Read-only.- Overrides:
withId
in classMicrosoftGraphDirectoryObjectInner
- Parameters:
id
- the id value to set.- Returns:
- the MicrosoftGraphEntity object itself.
-
validate
public void validate()
Validates the instance.- Overrides:
validate
in classMicrosoftGraphDirectoryObjectInner
- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-
-