你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

MicrosoftGraphOrgContactInner Class

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 Summary

Constructor Description
MicrosoftGraphOrgContactInner()

Creates an instance of MicrosoftGraphOrgContactInner class.

Method Summary

Modifier and Type Method and 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.

static MicrosoftGraphOrgContactInner fromJson(JsonReader jsonReader)

Reads an instance of MicrosoftGraphOrgContactInner from the JsonReader.

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.

JsonWriter toJson(JsonWriter jsonWriter)
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 MicrosoftGraphDirectoryObjectInner

Methods inherited from MicrosoftGraphEntity

id

Methods inherited from java.lang.Object

Constructor Details

MicrosoftGraphOrgContactInner

public MicrosoftGraphOrgContactInner()

Creates an instance of MicrosoftGraphOrgContactInner class.

Method Details

additionalProperties

public Map 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:

MicrosoftGraphOrgContactInner.additionalProperties()

Returns:

the additionalProperties value.

addresses

public List addresses()

Get the addresses property: The addresses property.

Returns:

the addresses value.

companyName

public String companyName()

Get the companyName property: The companyName property.

Returns:

the companyName value.

department

public String department()

Get the department property: The department property.

Returns:

the department value.

directReports

public List directReports()

Get the directReports property: The directReports property.

Returns:

the directReports value.

displayName

public String displayName()

Get the displayName property: The displayName property.

Returns:

the displayName value.

fromJson

public static MicrosoftGraphOrgContactInner fromJson(JsonReader jsonReader)

Reads an instance of MicrosoftGraphOrgContactInner from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of MicrosoftGraphOrgContactInner if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.

Throws:

IOException

- If an error occurs while reading the MicrosoftGraphOrgContactInner.

givenName

public String givenName()

Get the givenName property: The givenName property.

Returns:

the givenName value.

jobTitle

public String jobTitle()

Get the jobTitle property: The jobTitle property.

Returns:

the jobTitle value.

mail

public String mail()

Get the mail property: The mail property.

Returns:

the mail value.

mailNickname

public String mailNickname()

Get the mailNickname property: The mailNickname property.

Returns:

the mailNickname value.

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.

memberOf

public List memberOf()

Get the memberOf property: The memberOf property.

Returns:

the memberOf value.

onPremisesLastSyncDateTime

public OffsetDateTime onPremisesLastSyncDateTime()

Get the onPremisesLastSyncDateTime property: The onPremisesLastSyncDateTime property.

Returns:

the onPremisesLastSyncDateTime value.

onPremisesProvisioningErrors

public List onPremisesProvisioningErrors()

Get the onPremisesProvisioningErrors property: The onPremisesProvisioningErrors property.

Returns:

the onPremisesProvisioningErrors value.

onPremisesSyncEnabled

public Boolean onPremisesSyncEnabled()

Get the onPremisesSyncEnabled property: The onPremisesSyncEnabled property.

Returns:

the onPremisesSyncEnabled value.

phones

public List phones()

Get the phones property: The phones property.

Returns:

the phones value.

proxyAddresses

public List proxyAddresses()

Get the proxyAddresses property: The proxyAddresses property.

Returns:

the proxyAddresses value.

surname

public String surname()

Get the surname property: The surname property.

Returns:

the surname value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Overrides:

MicrosoftGraphOrgContactInner.toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

transitiveMemberOf

public List transitiveMemberOf()

Get the transitiveMemberOf property: The transitiveMemberOf property.

Returns:

the transitiveMemberOf value.

validate

public void validate()

Validates the instance.

Overrides:

MicrosoftGraphOrgContactInner.validate()

withAdditionalProperties

public MicrosoftGraphOrgContactInner withAdditionalProperties(Map 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:

MicrosoftGraphOrgContactInner.withAdditionalProperties(Map<String,Object> additionalProperties)

Parameters:

additionalProperties - the additionalProperties value to set.

Returns:

the MicrosoftGraphOrgContactInner object itself.

withAddresses

public MicrosoftGraphOrgContactInner withAddresses(List addresses)

Set the addresses property: The addresses property.

Parameters:

addresses - the addresses value to set.

Returns:

the MicrosoftGraphOrgContactInner object itself.

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.

withDeletedDateTime

public MicrosoftGraphOrgContactInner withDeletedDateTime(OffsetDateTime deletedDateTime)

Set the deletedDateTime property: The deletedDateTime property.

Overrides:

MicrosoftGraphOrgContactInner.withDeletedDateTime(OffsetDateTime deletedDateTime)

Parameters:

deletedDateTime

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.

withDirectReports

public MicrosoftGraphOrgContactInner withDirectReports(List directReports)

Set the directReports property: The directReports property.

Parameters:

directReports - the directReports value to set.

Returns:

the MicrosoftGraphOrgContactInner object itself.

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.

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.

withId

public MicrosoftGraphOrgContactInner withId(String id)

Set the id property: Read-only.

Overrides:

MicrosoftGraphOrgContactInner.withId(String id)

Parameters:

id

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.

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.

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.

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.

withMemberOf

public MicrosoftGraphOrgContactInner withMemberOf(List memberOf)

Set the memberOf property: The memberOf property.

Parameters:

memberOf - the memberOf value to set.

Returns:

the MicrosoftGraphOrgContactInner object itself.

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.

withOnPremisesProvisioningErrors

public MicrosoftGraphOrgContactInner withOnPremisesProvisioningErrors(List onPremisesProvisioningErrors)

Set the onPremisesProvisioningErrors property: The onPremisesProvisioningErrors property.

Parameters:

onPremisesProvisioningErrors - the onPremisesProvisioningErrors value to set.

Returns:

the MicrosoftGraphOrgContactInner object itself.

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.

withPhones

public MicrosoftGraphOrgContactInner withPhones(List phones)

Set the phones property: The phones property.

Parameters:

phones - the phones value to set.

Returns:

the MicrosoftGraphOrgContactInner object itself.

withProxyAddresses

public MicrosoftGraphOrgContactInner withProxyAddresses(List proxyAddresses)

Set the proxyAddresses property: The proxyAddresses property.

Parameters:

proxyAddresses - the proxyAddresses value to set.

Returns:

the MicrosoftGraphOrgContactInner object itself.

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.

withTransitiveMemberOf

public MicrosoftGraphOrgContactInner withTransitiveMemberOf(List transitiveMemberOf)

Set the transitiveMemberOf property: The transitiveMemberOf property.

Parameters:

transitiveMemberOf - the transitiveMemberOf value to set.

Returns:

the MicrosoftGraphOrgContactInner object itself.

Applies to