Package odata.msgraph.client.entity
Class MailSearchFolder
- java.lang.Object
-
- odata.msgraph.client.entity.Entity
-
- odata.msgraph.client.entity.MailFolder
-
- odata.msgraph.client.entity.MailSearchFolder
-
- All Implemented Interfaces:
com.github.davidmoten.odata.client.ODataEntityType,com.github.davidmoten.odata.client.ODataType
public class MailSearchFolder extends MailFolder implements com.github.davidmoten.odata.client.ODataEntityType
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classMailSearchFolder.Builder
-
Field Summary
Fields Modifier and Type Field Description protected StringfilterQueryprotected BooleanincludeNestedFoldersprotected BooleanisSupportedprotected List<String>sourceFolderIdsprotected StringsourceFolderIdsNextLink-
Fields inherited from class odata.msgraph.client.entity.MailFolder
childFolderCount, childFolders, displayName, isHidden, messageRules, messages, multiValueExtendedProperties, parentFolderId, singleValueExtendedProperties, totalItemCount, unreadItemCount
-
Fields inherited from class odata.msgraph.client.entity.Entity
changedFields, contextPath, id, odataType, unmappedFields
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedMailSearchFolder()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static MailSearchFolder.BuilderbuilderMailSearchFolder()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.internal.ChangedFieldsgetChangedFields()Optional<String>getFilterQuery()Optional<Boolean>getIncludeNestedFolders()Optional<Boolean>getIsSupported()com.github.davidmoten.odata.client.CollectionPage<String>getSourceFolderIds()com.github.davidmoten.odata.client.CollectionPage<String>getSourceFolderIds(com.github.davidmoten.odata.client.HttpRequestOptions options)com.github.davidmoten.odata.client.UnmappedFieldsgetUnmappedFields()StringodataTypeName()MailSearchFolderpatch()Submits only changed fields for update and returns an immutable copy ofthiswith changed fields reset.voidpostInject(boolean addKeysToContextPath)MailSearchFolderput()Submits all fields for update and returns an immutable copy ofthiswith changed fields reset (they were ignored anyway).StringtoString()MailSearchFolderwithFilterQuery(String filterQuery)MailSearchFolderwithIncludeNestedFolders(Boolean includeNestedFolders)MailSearchFolderwithIsSupported(Boolean isSupported)MailSearchFolderwithSourceFolderIds(List<String> sourceFolderIds)MailSearchFolderwithUnmappedField(String name, Object value)-
Methods inherited from class odata.msgraph.client.entity.MailFolder
builderMailFolder, copy, getChildFolderCount, getChildFolders, getDisplayName, getIsHidden, getMessageRules, getMessages, getMultiValueExtendedProperties, getParentFolderId, getSingleValueExtendedProperties, getTotalItemCount, getUnreadItemCount, move, withChildFolderCount, withChildFolders, withDisplayName, withIsHidden, withMessageRules, withMessages, withMultiValueExtendedProperties, withParentFolderId, withSingleValueExtendedProperties, withTotalItemCount, withUnreadItemCount
-
-
-
-
Method Detail
-
odataTypeName
public String odataTypeName()
- Specified by:
odataTypeNamein interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
odataTypeNamein classMailFolder
-
builderMailSearchFolder
public static MailSearchFolder.Builder builderMailSearchFolder()
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 classMailFolder
-
postInject
public void postInject(boolean addKeysToContextPath)
- Specified by:
postInjectin interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
postInjectin classMailFolder
-
withFilterQuery
public MailSearchFolder withFilterQuery(String filterQuery)
-
withIncludeNestedFolders
public MailSearchFolder withIncludeNestedFolders(Boolean includeNestedFolders)
-
withIsSupported
public MailSearchFolder withIsSupported(Boolean isSupported)
-
getSourceFolderIds
public com.github.davidmoten.odata.client.CollectionPage<String> getSourceFolderIds()
-
withSourceFolderIds
public MailSearchFolder withSourceFolderIds(List<String> sourceFolderIds)
-
getSourceFolderIds
public com.github.davidmoten.odata.client.CollectionPage<String> getSourceFolderIds(com.github.davidmoten.odata.client.HttpRequestOptions options)
-
withUnmappedField
public MailSearchFolder withUnmappedField(String name, Object value)
- Overrides:
withUnmappedFieldin classMailFolder
-
getUnmappedFields
public com.github.davidmoten.odata.client.UnmappedFields getUnmappedFields()
- Specified by:
getUnmappedFieldsin interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
getUnmappedFieldsin classMailFolder
-
patch
public MailSearchFolder patch()
Submits only changed fields for update and returns an immutable copy ofthiswith changed fields reset.- Overrides:
patchin classMailFolder- Returns:
- a copy of
thiswith changed fields reset - Throws:
com.github.davidmoten.odata.client.ClientException- if HTTP response is not as expected
-
put
public MailSearchFolder put()
Submits all fields for update and returns an immutable copy ofthiswith changed fields reset (they were ignored anyway).- Overrides:
putin classMailFolder- Returns:
- a copy of
thiswith changed fields reset - Throws:
com.github.davidmoten.odata.client.ClientException- if HTTP response is not as expected
-
toString
public String toString()
- Overrides:
toStringin classMailFolder
-
-