public class OrgContact extends DirectoryObject implements com.github.davidmoten.odata.client.ODataEntityType
Org.OData.Capabilities.V1.ChangeTracking
Supported = true
| Modifier and Type | Class and Description |
|---|---|
static class |
OrgContact.Builder |
| Modifier and Type | Field and Description |
|---|---|
protected List<PhysicalOfficeAddress> |
addresses |
protected String |
addressesNextLink |
protected String |
companyName |
protected String |
department |
protected String |
displayName |
protected String |
givenName |
protected String |
jobTitle |
protected String |
mail |
protected String |
mailNickname |
protected OffsetDateTime |
onPremisesLastSyncDateTime |
protected List<OnPremisesProvisioningError> |
onPremisesProvisioningErrors |
protected String |
onPremisesProvisioningErrorsNextLink |
protected Boolean |
onPremisesSyncEnabled |
protected List<Phone> |
phones |
protected String |
phonesNextLink |
protected List<String> |
proxyAddresses |
protected String |
proxyAddressesNextLink |
protected String |
surname |
deletedDateTimechangedFields, contextPath, id, odataType, unmappedFields| Modifier | Constructor and Description |
|---|---|
protected |
OrgContact() |
| Modifier and Type | Method and Description |
|---|---|
static OrgContact.Builder |
builderOrgContact()
Returns a builder which is used to create a new
instance of this class (given that this class is immutable).
|
com.github.davidmoten.odata.client.CollectionPage<PhysicalOfficeAddress> |
getAddresses() |
com.github.davidmoten.odata.client.CollectionPage<PhysicalOfficeAddress> |
getAddresses(com.github.davidmoten.odata.client.HttpRequestOptions options) |
com.github.davidmoten.odata.client.internal.ChangedFields |
getChangedFields() |
Optional<String> |
getCompanyName() |
Optional<String> |
getDepartment() |
DirectoryObjectCollectionRequest |
getDirectReports() |
Optional<String> |
getDisplayName() |
Optional<String> |
getGivenName() |
Optional<String> |
getJobTitle() |
Optional<String> |
getMail() |
Optional<String> |
getMailNickname() |
DirectoryObjectRequest |
getManager() |
DirectoryObjectCollectionRequest |
getMemberOf() |
Optional<OffsetDateTime> |
getOnPremisesLastSyncDateTime() |
com.github.davidmoten.odata.client.CollectionPage<OnPremisesProvisioningError> |
getOnPremisesProvisioningErrors() |
com.github.davidmoten.odata.client.CollectionPage<OnPremisesProvisioningError> |
getOnPremisesProvisioningErrors(com.github.davidmoten.odata.client.HttpRequestOptions options) |
Optional<Boolean> |
getOnPremisesSyncEnabled() |
com.github.davidmoten.odata.client.CollectionPage<Phone> |
getPhones() |
com.github.davidmoten.odata.client.CollectionPage<Phone> |
getPhones(com.github.davidmoten.odata.client.HttpRequestOptions options) |
com.github.davidmoten.odata.client.CollectionPage<String> |
getProxyAddresses() |
com.github.davidmoten.odata.client.CollectionPage<String> |
getProxyAddresses(com.github.davidmoten.odata.client.HttpRequestOptions options) |
Optional<String> |
getSurname() |
DirectoryObjectCollectionRequest |
getTransitiveMemberOf() |
com.github.davidmoten.odata.client.internal.UnmappedFields |
getUnmappedFields() |
String |
odataTypeName() |
OrgContact |
patch()
Submits only changed fields for update and returns an
immutable copy of
this with changed fields reset. |
void |
postInject(boolean addKeysToContextPath) |
OrgContact |
put()
Submits all fields for update and returns an immutable copy of
this
with changed fields reset (they were ignored anyway). |
String |
toString() |
OrgContact |
withCompanyName(String companyName) |
OrgContact |
withDepartment(String department) |
OrgContact |
withDisplayName(String displayName) |
OrgContact |
withGivenName(String givenName) |
OrgContact |
withJobTitle(String jobTitle) |
OrgContact |
withMail(String mail) |
OrgContact |
withMailNickname(String mailNickname) |
OrgContact |
withOnPremisesLastSyncDateTime(OffsetDateTime onPremisesLastSyncDateTime) |
OrgContact |
withOnPremisesSyncEnabled(Boolean onPremisesSyncEnabled) |
OrgContact |
withSurname(String surname) |
builderDirectoryObject, checkMemberGroups, checkMemberObjects, getDeletedDateTime, getMemberGroups, getMemberObjects, restore, withDeletedDateTimeprotected List<PhysicalOfficeAddress> addresses
protected String addressesNextLink
protected String companyName
protected String department
protected String displayName
protected String givenName
protected String jobTitle
protected String mail
protected String mailNickname
protected Boolean onPremisesSyncEnabled
protected OffsetDateTime onPremisesLastSyncDateTime
protected List<OnPremisesProvisioningError> onPremisesProvisioningErrors
protected String onPremisesProvisioningErrorsNextLink
protected String phonesNextLink
protected String proxyAddressesNextLink
protected String surname
public String odataTypeName()
odataTypeName in interface com.github.davidmoten.odata.client.ODataTypeodataTypeName in class DirectoryObjectpublic static OrgContact.Builder builderOrgContact()
public com.github.davidmoten.odata.client.internal.ChangedFields getChangedFields()
getChangedFields in interface com.github.davidmoten.odata.client.ODataEntityTypegetChangedFields in class DirectoryObjectpublic void postInject(boolean addKeysToContextPath)
postInject in interface com.github.davidmoten.odata.client.ODataTypepostInject in class DirectoryObjectpublic com.github.davidmoten.odata.client.CollectionPage<PhysicalOfficeAddress> getAddresses()
public com.github.davidmoten.odata.client.CollectionPage<PhysicalOfficeAddress> getAddresses(com.github.davidmoten.odata.client.HttpRequestOptions options)
public OrgContact withCompanyName(String companyName)
public OrgContact withDepartment(String department)
public OrgContact withDisplayName(String displayName)
public OrgContact withGivenName(String givenName)
public OrgContact withJobTitle(String jobTitle)
public OrgContact withMail(String mail)
public OrgContact withMailNickname(String mailNickname)
public OrgContact withOnPremisesSyncEnabled(Boolean onPremisesSyncEnabled)
public Optional<OffsetDateTime> getOnPremisesLastSyncDateTime()
public OrgContact withOnPremisesLastSyncDateTime(OffsetDateTime onPremisesLastSyncDateTime)
public com.github.davidmoten.odata.client.CollectionPage<OnPremisesProvisioningError> getOnPremisesProvisioningErrors()
public com.github.davidmoten.odata.client.CollectionPage<OnPremisesProvisioningError> getOnPremisesProvisioningErrors(com.github.davidmoten.odata.client.HttpRequestOptions options)
public com.github.davidmoten.odata.client.CollectionPage<Phone> getPhones()
public com.github.davidmoten.odata.client.CollectionPage<Phone> getPhones(com.github.davidmoten.odata.client.HttpRequestOptions options)
public com.github.davidmoten.odata.client.CollectionPage<String> getProxyAddresses()
public com.github.davidmoten.odata.client.CollectionPage<String> getProxyAddresses(com.github.davidmoten.odata.client.HttpRequestOptions options)
public OrgContact withSurname(String surname)
public DirectoryObjectRequest getManager()
public DirectoryObjectCollectionRequest getDirectReports()
public DirectoryObjectCollectionRequest getMemberOf()
public DirectoryObjectCollectionRequest getTransitiveMemberOf()
public com.github.davidmoten.odata.client.internal.UnmappedFields getUnmappedFields()
getUnmappedFields in interface com.github.davidmoten.odata.client.ODataTypegetUnmappedFields in class DirectoryObjectpublic OrgContact patch()
this with changed fields reset.patch in class DirectoryObjectthis with changed fields resetcom.github.davidmoten.odata.client.ClientException - if HTTP response is not as expectedpublic OrgContact put()
this
with changed fields reset (they were ignored anyway).put in class DirectoryObjectthis with changed fields resetcom.github.davidmoten.odata.client.ClientException - if HTTP response is not as expectedpublic String toString()
toString in class DirectoryObjectCopyright © 2018–2020. All rights reserved.