Package odata.msgraph.client.entity
Class OrgContact
- java.lang.Object
-
- odata.msgraph.client.entity.Entity
-
- odata.msgraph.client.entity.DirectoryObject
-
- odata.msgraph.client.entity.OrgContact
-
- All Implemented Interfaces:
com.github.davidmoten.odata.client.ODataEntityType,com.github.davidmoten.odata.client.ODataType
public class OrgContact extends DirectoryObject implements com.github.davidmoten.odata.client.ODataEntityType
Org.OData.Capabilities.V1.ChangeTracking
Supported = true
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classOrgContact.Builder
-
Field Summary
Fields Modifier and Type Field Description protected List<PhysicalOfficeAddress>addressesprotected StringaddressesNextLinkprotected StringcompanyNameprotected Stringdepartmentprotected StringdisplayNameprotected StringgivenNameprotected StringjobTitleprotected Stringmailprotected StringmailNicknameprotected OffsetDateTimeonPremisesLastSyncDateTimeprotected List<OnPremisesProvisioningError>onPremisesProvisioningErrorsprotected StringonPremisesProvisioningErrorsNextLinkprotected BooleanonPremisesSyncEnabledprotected List<Phone>phonesprotected StringphonesNextLinkprotected List<String>proxyAddressesprotected StringproxyAddressesNextLinkprotected List<ServiceProvisioningError>serviceProvisioningErrorsprotected StringserviceProvisioningErrorsNextLinkprotected Stringsurname-
Fields inherited from class odata.msgraph.client.entity.DirectoryObject
deletedDateTime
-
Fields inherited from class odata.msgraph.client.entity.Entity
changedFields, contextPath, id, odataType, unmappedFields
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedOrgContact()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static OrgContact.BuilderbuilderOrgContact()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.ChangedFieldsgetChangedFields()Optional<String>getCompanyName()Optional<String>getDepartment()DirectoryObjectCollectionRequestgetDirectReports()Optional<String>getDisplayName()Optional<String>getGivenName()Optional<String>getJobTitle()Optional<String>getMail()Optional<String>getMailNickname()DirectoryObjectRequestgetManager()DirectoryObjectCollectionRequestgetMemberOf()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)com.github.davidmoten.odata.client.CollectionPage<ServiceProvisioningError>getServiceProvisioningErrors()com.github.davidmoten.odata.client.CollectionPage<ServiceProvisioningError>getServiceProvisioningErrors(com.github.davidmoten.odata.client.HttpRequestOptions options)Optional<String>getSurname()DirectoryObjectCollectionRequestgetTransitiveMemberOf()com.github.davidmoten.odata.client.UnmappedFieldsgetUnmappedFields()StringodataTypeName()OrgContactpatch()Submits only changed fields for update and returns an immutable copy ofthiswith changed fields reset.voidpostInject(boolean addKeysToContextPath)OrgContactput()Submits all fields for update and returns an immutable copy ofthiswith changed fields reset (they were ignored anyway).com.github.davidmoten.odata.client.ActionRequestNoReturnretryServiceProvisioning()StringtoString()OrgContactwithAddresses(List<PhysicalOfficeAddress> addresses)OrgContactwithCompanyName(String companyName)OrgContactwithDepartment(String department)OrgContactwithDisplayName(String displayName)OrgContactwithGivenName(String givenName)OrgContactwithJobTitle(String jobTitle)OrgContactwithMail(String mail)OrgContactwithMailNickname(String mailNickname)OrgContactwithOnPremisesLastSyncDateTime(OffsetDateTime onPremisesLastSyncDateTime)OrgContactwithOnPremisesProvisioningErrors(List<OnPremisesProvisioningError> onPremisesProvisioningErrors)OrgContactwithOnPremisesSyncEnabled(Boolean onPremisesSyncEnabled)OrgContactwithPhones(List<Phone> phones)OrgContactwithProxyAddresses(List<String> proxyAddresses)OrgContactwithServiceProvisioningErrors(List<ServiceProvisioningError> serviceProvisioningErrors)OrgContactwithSurname(String surname)OrgContactwithUnmappedField(String name, Object value)-
Methods inherited from class odata.msgraph.client.entity.DirectoryObject
builderDirectoryObject, checkMemberGroups, checkMemberObjects, getDeletedDateTime, getMemberGroups, getMemberObjects, restore, withDeletedDateTime
-
-
-
-
Field Detail
-
addresses
protected List<PhysicalOfficeAddress> addresses
-
addressesNextLink
protected String addressesNextLink
-
companyName
protected String companyName
-
department
protected String department
-
displayName
protected String displayName
-
givenName
protected String givenName
-
jobTitle
protected String jobTitle
-
mail
protected String mail
-
mailNickname
protected String mailNickname
-
onPremisesLastSyncDateTime
protected OffsetDateTime onPremisesLastSyncDateTime
-
onPremisesProvisioningErrors
protected List<OnPremisesProvisioningError> onPremisesProvisioningErrors
-
onPremisesProvisioningErrorsNextLink
protected String onPremisesProvisioningErrorsNextLink
-
onPremisesSyncEnabled
protected Boolean onPremisesSyncEnabled
-
phonesNextLink
protected String phonesNextLink
-
proxyAddressesNextLink
protected String proxyAddressesNextLink
-
serviceProvisioningErrors
protected List<ServiceProvisioningError> serviceProvisioningErrors
-
serviceProvisioningErrorsNextLink
protected String serviceProvisioningErrorsNextLink
-
surname
protected String surname
-
-
Method Detail
-
odataTypeName
public String odataTypeName()
- Specified by:
odataTypeNamein interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
odataTypeNamein classDirectoryObject
-
builderOrgContact
public static OrgContact.Builder builderOrgContact()
Returns a builder which is used to create a new instance of this class (given that this class is immutable).- Returns:
- a new Builder for this class
-
getChangedFields
public com.github.davidmoten.odata.client.internal.ChangedFields getChangedFields()
- Specified by:
getChangedFieldsin interfacecom.github.davidmoten.odata.client.ODataEntityType- Overrides:
getChangedFieldsin classDirectoryObject
-
postInject
public void postInject(boolean addKeysToContextPath)
- Specified by:
postInjectin interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
postInjectin classDirectoryObject
-
getAddresses
public com.github.davidmoten.odata.client.CollectionPage<PhysicalOfficeAddress> getAddresses()
-
withAddresses
public OrgContact withAddresses(List<PhysicalOfficeAddress> addresses)
-
getAddresses
public com.github.davidmoten.odata.client.CollectionPage<PhysicalOfficeAddress> getAddresses(com.github.davidmoten.odata.client.HttpRequestOptions options)
-
withCompanyName
public OrgContact withCompanyName(String companyName)
-
withDepartment
public OrgContact withDepartment(String department)
-
withDisplayName
public OrgContact withDisplayName(String displayName)
-
withGivenName
public OrgContact withGivenName(String givenName)
-
withJobTitle
public OrgContact withJobTitle(String jobTitle)
-
withMail
public OrgContact withMail(String mail)
-
withMailNickname
public OrgContact withMailNickname(String mailNickname)
-
getOnPremisesLastSyncDateTime
public Optional<OffsetDateTime> getOnPremisesLastSyncDateTime()
-
withOnPremisesLastSyncDateTime
public OrgContact withOnPremisesLastSyncDateTime(OffsetDateTime onPremisesLastSyncDateTime)
-
getOnPremisesProvisioningErrors
public com.github.davidmoten.odata.client.CollectionPage<OnPremisesProvisioningError> getOnPremisesProvisioningErrors()
-
withOnPremisesProvisioningErrors
public OrgContact withOnPremisesProvisioningErrors(List<OnPremisesProvisioningError> onPremisesProvisioningErrors)
-
getOnPremisesProvisioningErrors
public com.github.davidmoten.odata.client.CollectionPage<OnPremisesProvisioningError> getOnPremisesProvisioningErrors(com.github.davidmoten.odata.client.HttpRequestOptions options)
-
withOnPremisesSyncEnabled
public OrgContact withOnPremisesSyncEnabled(Boolean onPremisesSyncEnabled)
-
getPhones
public com.github.davidmoten.odata.client.CollectionPage<Phone> getPhones()
-
withPhones
public OrgContact withPhones(List<Phone> phones)
-
getPhones
public com.github.davidmoten.odata.client.CollectionPage<Phone> getPhones(com.github.davidmoten.odata.client.HttpRequestOptions options)
-
getProxyAddresses
public com.github.davidmoten.odata.client.CollectionPage<String> getProxyAddresses()
-
withProxyAddresses
public OrgContact withProxyAddresses(List<String> proxyAddresses)
-
getProxyAddresses
public com.github.davidmoten.odata.client.CollectionPage<String> getProxyAddresses(com.github.davidmoten.odata.client.HttpRequestOptions options)
-
getServiceProvisioningErrors
public com.github.davidmoten.odata.client.CollectionPage<ServiceProvisioningError> getServiceProvisioningErrors()
-
withServiceProvisioningErrors
public OrgContact withServiceProvisioningErrors(List<ServiceProvisioningError> serviceProvisioningErrors)
-
getServiceProvisioningErrors
public com.github.davidmoten.odata.client.CollectionPage<ServiceProvisioningError> getServiceProvisioningErrors(com.github.davidmoten.odata.client.HttpRequestOptions options)
-
withSurname
public OrgContact withSurname(String surname)
-
withUnmappedField
public OrgContact withUnmappedField(String name, Object value)
- Overrides:
withUnmappedFieldin classDirectoryObject
-
getDirectReports
public DirectoryObjectCollectionRequest getDirectReports()
-
getManager
public DirectoryObjectRequest getManager()
-
getMemberOf
public DirectoryObjectCollectionRequest getMemberOf()
-
getTransitiveMemberOf
public DirectoryObjectCollectionRequest getTransitiveMemberOf()
-
getUnmappedFields
public com.github.davidmoten.odata.client.UnmappedFields getUnmappedFields()
- Specified by:
getUnmappedFieldsin interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
getUnmappedFieldsin classDirectoryObject
-
patch
public OrgContact patch()
Submits only changed fields for update and returns an immutable copy ofthiswith changed fields reset.- Overrides:
patchin classDirectoryObject- Returns:
- a copy of
thiswith changed fields reset - Throws:
com.github.davidmoten.odata.client.ClientException- if HTTP response is not as expected
-
put
public OrgContact put()
Submits all fields for update and returns an immutable copy ofthiswith changed fields reset (they were ignored anyway).- Overrides:
putin classDirectoryObject- Returns:
- a copy of
thiswith changed fields reset - Throws:
com.github.davidmoten.odata.client.ClientException- if HTTP response is not as expected
-
retryServiceProvisioning
public com.github.davidmoten.odata.client.ActionRequestNoReturn retryServiceProvisioning()
-
toString
public String toString()
- Overrides:
toStringin classDirectoryObject
-
-