public class Contact extends OutlookItem implements com.github.davidmoten.odata.client.ODataEntityType
| Modifier and Type | Class and Description |
|---|---|
static class |
Contact.Builder |
categories, categoriesNextLink, changeKey, createdDateTime, lastModifiedDateTimechangedFields, contextPath, id, odataType, unmappedFields| Modifier | Constructor and Description |
|---|---|
protected |
Contact() |
| Modifier and Type | Method and Description |
|---|---|
static Contact.Builder |
builderContact()
Returns a builder which is used to create a new
instance of this class (given that this class is immutable).
|
Optional<String> |
getAssistantName() |
Optional<OffsetDateTime> |
getBirthday() |
com.github.davidmoten.odata.client.internal.ChangedFields |
getChangedFields() |
com.github.davidmoten.odata.client.CollectionPage<String> |
getChildren() |
com.github.davidmoten.odata.client.CollectionPage<String> |
getChildren(com.github.davidmoten.odata.client.HttpRequestOptions options) |
Optional<String> |
getCompanyName() |
Optional<String> |
getDepartment() |
Optional<String> |
getDisplayName() |
com.github.davidmoten.odata.client.CollectionPage<TypedEmailAddress> |
getEmailAddresses() |
com.github.davidmoten.odata.client.CollectionPage<TypedEmailAddress> |
getEmailAddresses(com.github.davidmoten.odata.client.HttpRequestOptions options) |
ExtensionCollectionRequest |
getExtensions()
Org.OData.Capabilities.V1.ChangeTracking
|
Optional<String> |
getFileAs() |
Optional<FollowupFlag> |
getFlag() |
Optional<String> |
getGender() |
Optional<String> |
getGeneration() |
Optional<String> |
getGivenName() |
com.github.davidmoten.odata.client.CollectionPage<String> |
getImAddresses() |
com.github.davidmoten.odata.client.CollectionPage<String> |
getImAddresses(com.github.davidmoten.odata.client.HttpRequestOptions options) |
Optional<String> |
getInitials() |
Optional<Boolean> |
getIsFavorite() |
Optional<String> |
getJobTitle() |
Optional<String> |
getManager() |
Optional<String> |
getMiddleName() |
MultiValueLegacyExtendedPropertyCollectionRequest |
getMultiValueExtendedProperties() |
Optional<String> |
getNickName() |
Optional<String> |
getOfficeLocation() |
Optional<String> |
getParentFolderId() |
Optional<String> |
getPersonalNotes() |
com.github.davidmoten.odata.client.CollectionPage<Phone> |
getPhones() |
com.github.davidmoten.odata.client.CollectionPage<Phone> |
getPhones(com.github.davidmoten.odata.client.HttpRequestOptions options) |
ProfilePhotoRequest |
getPhoto()
Org.OData.Capabilities.V1.ChangeTracking
|
com.github.davidmoten.odata.client.CollectionPage<PhysicalAddress> |
getPostalAddresses() |
com.github.davidmoten.odata.client.CollectionPage<PhysicalAddress> |
getPostalAddresses(com.github.davidmoten.odata.client.HttpRequestOptions options) |
Optional<String> |
getProfession() |
SingleValueLegacyExtendedPropertyCollectionRequest |
getSingleValueExtendedProperties() |
Optional<String> |
getSpouseName() |
Optional<String> |
getSurname() |
Optional<String> |
getTitle() |
com.github.davidmoten.odata.client.internal.UnmappedFields |
getUnmappedFields() |
com.github.davidmoten.odata.client.CollectionPage<Website> |
getWebsites() |
com.github.davidmoten.odata.client.CollectionPage<Website> |
getWebsites(com.github.davidmoten.odata.client.HttpRequestOptions options) |
Optional<LocalDate> |
getWeddingAnniversary() |
Optional<String> |
getYomiCompanyName() |
Optional<String> |
getYomiGivenName() |
Optional<String> |
getYomiSurname() |
String |
odataTypeName() |
Contact |
patch()
Submits only changed fields for update and returns an
immutable copy of
this with changed fields reset. |
void |
postInject(boolean addKeysToContextPath) |
Contact |
put()
Submits all fields for update and returns an immutable copy of
this
with changed fields reset (they were ignored anyway). |
String |
toString() |
Contact |
withAssistantName(String assistantName) |
Contact |
withBirthday(OffsetDateTime birthday) |
Contact |
withCompanyName(String companyName) |
Contact |
withDepartment(String department) |
Contact |
withDisplayName(String displayName) |
Contact |
withFileAs(String fileAs) |
Contact |
withFlag(FollowupFlag flag) |
Contact |
withGender(String gender) |
Contact |
withGeneration(String generation) |
Contact |
withGivenName(String givenName) |
Contact |
withInitials(String initials) |
Contact |
withIsFavorite(Boolean isFavorite) |
Contact |
withJobTitle(String jobTitle) |
Contact |
withManager(String manager) |
Contact |
withMiddleName(String middleName) |
Contact |
withNickName(String nickName) |
Contact |
withOfficeLocation(String officeLocation) |
Contact |
withParentFolderId(String parentFolderId) |
Contact |
withPersonalNotes(String personalNotes) |
Contact |
withProfession(String profession) |
Contact |
withSpouseName(String spouseName) |
Contact |
withSurname(String surname) |
Contact |
withTitle(String title) |
Contact |
withWeddingAnniversary(LocalDate weddingAnniversary) |
Contact |
withYomiCompanyName(String yomiCompanyName) |
Contact |
withYomiGivenName(String yomiGivenName) |
Contact |
withYomiSurname(String yomiSurname) |
getCategories, getCategories, getChangeKey, getCreatedDateTime, getLastModifiedDateTime, withChangeKey, withCreatedDateTime, withLastModifiedDateTimeprotected String parentFolderId
protected OffsetDateTime birthday
protected String fileAs
protected String displayName
protected String givenName
protected String initials
protected String middleName
protected String nickName
protected String surname
protected String title
protected String yomiGivenName
protected String yomiSurname
protected String yomiCompanyName
protected String generation
protected List<TypedEmailAddress> emailAddresses
protected String emailAddressesNextLink
protected String websitesNextLink
protected String imAddressesNextLink
protected String jobTitle
protected String companyName
protected String department
protected String officeLocation
protected String profession
protected String assistantName
protected String manager
protected String phonesNextLink
protected List<PhysicalAddress> postalAddresses
protected String postalAddressesNextLink
protected String spouseName
protected String personalNotes
protected String childrenNextLink
protected LocalDate weddingAnniversary
protected String gender
protected Boolean isFavorite
protected FollowupFlag flag
public String odataTypeName()
odataTypeName in interface com.github.davidmoten.odata.client.ODataTypeodataTypeName in class OutlookItempublic static Contact.Builder builderContact()
public com.github.davidmoten.odata.client.internal.ChangedFields getChangedFields()
getChangedFields in interface com.github.davidmoten.odata.client.ODataEntityTypegetChangedFields in class OutlookItempublic void postInject(boolean addKeysToContextPath)
postInject in interface com.github.davidmoten.odata.client.ODataTypepostInject in class OutlookItempublic Optional<OffsetDateTime> getBirthday()
public Contact withBirthday(OffsetDateTime birthday)
public com.github.davidmoten.odata.client.CollectionPage<TypedEmailAddress> getEmailAddresses()
public com.github.davidmoten.odata.client.CollectionPage<TypedEmailAddress> getEmailAddresses(com.github.davidmoten.odata.client.HttpRequestOptions options)
public com.github.davidmoten.odata.client.CollectionPage<Website> getWebsites()
public com.github.davidmoten.odata.client.CollectionPage<Website> getWebsites(com.github.davidmoten.odata.client.HttpRequestOptions options)
public com.github.davidmoten.odata.client.CollectionPage<String> getImAddresses()
public com.github.davidmoten.odata.client.CollectionPage<String> getImAddresses(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<PhysicalAddress> getPostalAddresses()
public com.github.davidmoten.odata.client.CollectionPage<PhysicalAddress> getPostalAddresses(com.github.davidmoten.odata.client.HttpRequestOptions options)
public com.github.davidmoten.odata.client.CollectionPage<String> getChildren()
public com.github.davidmoten.odata.client.CollectionPage<String> getChildren(com.github.davidmoten.odata.client.HttpRequestOptions options)
public Optional<FollowupFlag> getFlag()
public Contact withFlag(FollowupFlag flag)
public SingleValueLegacyExtendedPropertyCollectionRequest getSingleValueExtendedProperties()
public MultiValueLegacyExtendedPropertyCollectionRequest getMultiValueExtendedProperties()
public ProfilePhotoRequest getPhoto()
Org.OData.Capabilities.V1.ChangeTracking
Supported = false
Org.OData.Capabilities.V1.ExpandRestrictions
Expandable = false
Org.OData.Capabilities.V1.SearchRestrictions
Searchable = false
Org.OData.Capabilities.V1.InsertRestrictions
Insertable = false
Org.OData.Capabilities.V1.DeleteRestrictions
Deletable = false
public ExtensionCollectionRequest getExtensions()
Org.OData.Capabilities.V1.ChangeTracking
Supported = false
Org.OData.Capabilities.V1.SearchRestrictions
Searchable = false
public com.github.davidmoten.odata.client.internal.UnmappedFields getUnmappedFields()
getUnmappedFields in interface com.github.davidmoten.odata.client.ODataTypegetUnmappedFields in class OutlookItempublic Contact patch()
this with changed fields reset.patch in class OutlookItemthis with changed fields resetcom.github.davidmoten.odata.client.ClientException - if HTTP response is not as expectedpublic Contact put()
this
with changed fields reset (they were ignored anyway).put in class OutlookItemthis with changed fields resetcom.github.davidmoten.odata.client.ClientException - if HTTP response is not as expectedpublic String toString()
toString in class OutlookItemCopyright © 2018–2020. All rights reserved.