Class MailFolder
- java.lang.Object
-
- odata.msgraph.client.beta.entity.Entity
-
- odata.msgraph.client.beta.entity.MailFolder
-
- All Implemented Interfaces:
com.github.davidmoten.odata.client.ODataEntityType,com.github.davidmoten.odata.client.ODataType
- Direct Known Subclasses:
MailSearchFolder
public class MailFolder extends Entity implements com.github.davidmoten.odata.client.ODataEntityType
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classMailFolder.Builder
-
Field Summary
Fields Modifier and Type Field Description protected IntegerchildFolderCountprotected StringdisplayNameprotected BooleanisHiddenprotected StringparentFolderIdprotected IntegertotalItemCountprotected IntegerunreadItemCountprotected StringwellKnownName-
Fields inherited from class odata.msgraph.client.beta.entity.Entity
changedFields, contextPath, id, odataType, unmappedFields
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedMailFolder()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static MailFolder.BuilderbuilderMailFolder()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.ActionRequestReturningNonCollectionUnwrapped<MailFolder>copy(String destinationId)com.github.davidmoten.odata.client.internal.ChangedFieldsgetChangedFields()Optional<Integer>getChildFolderCount()MailFolderCollectionRequestgetChildFolders()Org.OData.Capabilities.V1.ChangeTrackingOptional<String>getDisplayName()Optional<Boolean>getIsHidden()MessageRuleCollectionRequestgetMessageRules()Org.OData.Capabilities.V1.ChangeTrackingMessageCollectionRequestgetMessages()Org.OData.Capabilities.V1.ChangeTrackingMultiValueLegacyExtendedPropertyCollectionRequestgetMultiValueExtendedProperties()Optional<String>getParentFolderId()SingleValueLegacyExtendedPropertyCollectionRequestgetSingleValueExtendedProperties()Optional<Integer>getTotalItemCount()com.github.davidmoten.odata.client.UnmappedFieldsgetUnmappedFields()Optional<Integer>getUnreadItemCount()UserConfigurationCollectionRequestgetUserConfigurations()Org.OData.Capabilities.V1.ChangeTrackingOptional<String>getWellKnownName()com.github.davidmoten.odata.client.ActionRequestReturningNonCollectionUnwrapped<MailFolder>move(String destinationId)StringodataTypeName()MailFolderpatch()Submits only changed fields for update and returns an immutable copy ofthiswith changed fields reset.voidpostInject(boolean addKeysToContextPath)MailFolderput()Submits all fields for update and returns an immutable copy ofthiswith changed fields reset (they were ignored anyway).StringtoString()MailFolderwithChildFolderCount(Integer childFolderCount)MailFolderwithDisplayName(String displayName)MailFolderwithIsHidden(Boolean isHidden)MailFolderwithParentFolderId(String parentFolderId)MailFolderwithTotalItemCount(Integer totalItemCount)MailFolderwithUnmappedField(String name, String value)MailFolderwithUnreadItemCount(Integer unreadItemCount)MailFolderwithWellKnownName(String wellKnownName)
-
-
-
Field Detail
-
childFolderCount
protected Integer childFolderCount
-
displayName
protected String displayName
-
isHidden
protected Boolean isHidden
-
parentFolderId
protected String parentFolderId
-
totalItemCount
protected Integer totalItemCount
-
unreadItemCount
protected Integer unreadItemCount
-
wellKnownName
protected String wellKnownName
-
-
Method Detail
-
odataTypeName
public String odataTypeName()
- Specified by:
odataTypeNamein interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
odataTypeNamein classEntity
-
builderMailFolder
public static MailFolder.Builder builderMailFolder()
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 classEntity
-
postInject
public void postInject(boolean addKeysToContextPath)
- Specified by:
postInjectin interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
postInjectin classEntity
-
withChildFolderCount
public MailFolder withChildFolderCount(Integer childFolderCount)
-
withDisplayName
public MailFolder withDisplayName(String displayName)
-
withIsHidden
public MailFolder withIsHidden(Boolean isHidden)
-
withParentFolderId
public MailFolder withParentFolderId(String parentFolderId)
-
withTotalItemCount
public MailFolder withTotalItemCount(Integer totalItemCount)
-
withUnreadItemCount
public MailFolder withUnreadItemCount(Integer unreadItemCount)
-
withWellKnownName
public MailFolder withWellKnownName(String wellKnownName)
-
withUnmappedField
public MailFolder withUnmappedField(String name, String value)
- Overrides:
withUnmappedFieldin classEntity
-
getChildFolders
public MailFolderCollectionRequest getChildFolders()
Org.OData.Capabilities.V1.ChangeTracking
Supported = true
Org.OData.Capabilities.V1.NavigationRestrictions
Org.OData.Capabilities.V1.SearchRestrictions
Searchable = false
- Returns:
- navigational property childFolders
-
getMessageRules
public MessageRuleCollectionRequest getMessageRules()
Org.OData.Capabilities.V1.ChangeTracking
Supported = false
Org.OData.Capabilities.V1.ExpandRestrictions
Expandable = false
Org.OData.Capabilities.V1.SearchRestrictions
Searchable = false
- Returns:
- navigational property messageRules
-
getMessages
public MessageCollectionRequest getMessages()
Org.OData.Capabilities.V1.ChangeTracking
Supported = true
- Returns:
- navigational property messages
-
getMultiValueExtendedProperties
public MultiValueLegacyExtendedPropertyCollectionRequest getMultiValueExtendedProperties()
-
getSingleValueExtendedProperties
public SingleValueLegacyExtendedPropertyCollectionRequest getSingleValueExtendedProperties()
-
getUserConfigurations
public UserConfigurationCollectionRequest getUserConfigurations()
Org.OData.Capabilities.V1.ChangeTracking
Supported = false
Org.OData.Capabilities.V1.DeleteRestrictions
Deletable = false
Org.OData.Capabilities.V1.ExpandRestrictions
Expandable = false
Org.OData.Capabilities.V1.InsertRestrictions
Insertable = false
Org.OData.Capabilities.V1.SearchRestrictions
Searchable = false
Org.OData.Capabilities.V1.UpdateRestrictions
Updatable = false
- Returns:
- navigational property userConfigurations
-
getUnmappedFields
public com.github.davidmoten.odata.client.UnmappedFields getUnmappedFields()
- Specified by:
getUnmappedFieldsin interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
getUnmappedFieldsin classEntity
-
patch
public MailFolder patch()
Submits only changed fields for update and returns an immutable copy ofthiswith changed fields reset.
-
put
public MailFolder put()
Submits all fields for update and returns an immutable copy ofthiswith changed fields reset (they were ignored anyway).
-
copy
public com.github.davidmoten.odata.client.ActionRequestReturningNonCollectionUnwrapped<MailFolder> copy(String destinationId)
-
move
public com.github.davidmoten.odata.client.ActionRequestReturningNonCollectionUnwrapped<MailFolder> move(String destinationId)
-
-