Package microsoft.graph.search.entity
Class Bookmark
- java.lang.Object
-
- odata.msgraph.client.beta.entity.Entity
-
- microsoft.graph.search.entity.SearchAnswer
-
- microsoft.graph.search.entity.Bookmark
-
- All Implemented Interfaces:
com.github.davidmoten.odata.client.ODataEntityType,com.github.davidmoten.odata.client.ODataType
public class Bookmark extends SearchAnswer implements com.github.davidmoten.odata.client.ODataEntityType
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classBookmark.Builder
-
Field Summary
Fields Modifier and Type Field Description protected OffsetDateTimeavailabilityEndDateTimeprotected OffsetDateTimeavailabilityStartDateTimeprotected List<String>categoriesprotected StringcategoriesNextLinkprotected List<String>groupIdsprotected StringgroupIdsNextLinkprotected BooleanisSuggestedprotected AnswerKeywordkeywordsprotected List<String>languageTagsprotected StringlanguageTagsNextLinkprotected List<DevicePlatformType>platformsprotected StringplatformsNextLinkprotected List<String>powerAppIdsprotected StringpowerAppIdsNextLinkprotected AnswerStatestateprotected List<AnswerVariant>targetedVariationsprotected StringtargetedVariationsNextLink-
Fields inherited from class microsoft.graph.search.entity.SearchAnswer
description, displayName, lastModifiedBy, lastModifiedDateTime, webUrl
-
Fields inherited from class odata.msgraph.client.beta.entity.Entity
changedFields, contextPath, id, odataType, unmappedFields
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedBookmark()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static Bookmark.BuilderbuilderBookmark()Returns a builder which is used to create a new instance of this class (given that this class is immutable).Optional<OffsetDateTime>getAvailabilityEndDateTime()Optional<OffsetDateTime>getAvailabilityStartDateTime()com.github.davidmoten.odata.client.CollectionPage<String>getCategories()com.github.davidmoten.odata.client.CollectionPage<String>getCategories(com.github.davidmoten.odata.client.HttpRequestOptions options)com.github.davidmoten.odata.client.internal.ChangedFieldsgetChangedFields()com.github.davidmoten.odata.client.CollectionPage<String>getGroupIds()com.github.davidmoten.odata.client.CollectionPage<String>getGroupIds(com.github.davidmoten.odata.client.HttpRequestOptions options)Optional<Boolean>getIsSuggested()Optional<AnswerKeyword>getKeywords()com.github.davidmoten.odata.client.CollectionPage<String>getLanguageTags()com.github.davidmoten.odata.client.CollectionPage<String>getLanguageTags(com.github.davidmoten.odata.client.HttpRequestOptions options)com.github.davidmoten.odata.client.CollectionPage<DevicePlatformType>getPlatforms()com.github.davidmoten.odata.client.CollectionPage<DevicePlatformType>getPlatforms(com.github.davidmoten.odata.client.HttpRequestOptions options)com.github.davidmoten.odata.client.CollectionPage<String>getPowerAppIds()com.github.davidmoten.odata.client.CollectionPage<String>getPowerAppIds(com.github.davidmoten.odata.client.HttpRequestOptions options)Optional<AnswerState>getState()com.github.davidmoten.odata.client.CollectionPage<AnswerVariant>getTargetedVariations()com.github.davidmoten.odata.client.CollectionPage<AnswerVariant>getTargetedVariations(com.github.davidmoten.odata.client.HttpRequestOptions options)com.github.davidmoten.odata.client.UnmappedFieldsgetUnmappedFields()StringodataTypeName()Bookmarkpatch()Submits only changed fields for update and returns an immutable copy ofthiswith changed fields reset.voidpostInject(boolean addKeysToContextPath)Bookmarkput()Submits all fields for update and returns an immutable copy ofthiswith changed fields reset (they were ignored anyway).StringtoString()BookmarkwithAvailabilityEndDateTime(OffsetDateTime availabilityEndDateTime)BookmarkwithAvailabilityStartDateTime(OffsetDateTime availabilityStartDateTime)BookmarkwithCategories(List<String> categories)BookmarkwithGroupIds(List<String> groupIds)BookmarkwithIsSuggested(Boolean isSuggested)BookmarkwithKeywords(AnswerKeyword keywords)BookmarkwithLanguageTags(List<String> languageTags)BookmarkwithPlatforms(List<DevicePlatformType> platforms)BookmarkwithPowerAppIds(List<String> powerAppIds)BookmarkwithState(AnswerState state)BookmarkwithTargetedVariations(List<AnswerVariant> targetedVariations)BookmarkwithUnmappedField(String name, String value)-
Methods inherited from class microsoft.graph.search.entity.SearchAnswer
builderSearchAnswer, getDescription, getDisplayName, getLastModifiedBy, getLastModifiedDateTime, getWebUrl, withDescription, withDisplayName, withLastModifiedBy, withLastModifiedDateTime, withWebUrl
-
-
-
-
Field Detail
-
availabilityEndDateTime
protected OffsetDateTime availabilityEndDateTime
-
availabilityStartDateTime
protected OffsetDateTime availabilityStartDateTime
-
categoriesNextLink
protected String categoriesNextLink
-
groupIdsNextLink
protected String groupIdsNextLink
-
isSuggested
protected Boolean isSuggested
-
keywords
protected AnswerKeyword keywords
-
languageTagsNextLink
protected String languageTagsNextLink
-
platforms
protected List<DevicePlatformType> platforms
-
platformsNextLink
protected String platformsNextLink
-
powerAppIdsNextLink
protected String powerAppIdsNextLink
-
state
protected AnswerState state
-
targetedVariations
protected List<AnswerVariant> targetedVariations
-
targetedVariationsNextLink
protected String targetedVariationsNextLink
-
-
Method Detail
-
odataTypeName
public String odataTypeName()
- Specified by:
odataTypeNamein interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
odataTypeNamein classSearchAnswer
-
builderBookmark
public static Bookmark.Builder builderBookmark()
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 classSearchAnswer
-
postInject
public void postInject(boolean addKeysToContextPath)
- Specified by:
postInjectin interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
postInjectin classSearchAnswer
-
getAvailabilityEndDateTime
public Optional<OffsetDateTime> getAvailabilityEndDateTime()
-
withAvailabilityEndDateTime
public Bookmark withAvailabilityEndDateTime(OffsetDateTime availabilityEndDateTime)
-
getAvailabilityStartDateTime
public Optional<OffsetDateTime> getAvailabilityStartDateTime()
-
withAvailabilityStartDateTime
public Bookmark withAvailabilityStartDateTime(OffsetDateTime availabilityStartDateTime)
-
getCategories
public com.github.davidmoten.odata.client.CollectionPage<String> getCategories()
-
getCategories
public com.github.davidmoten.odata.client.CollectionPage<String> getCategories(com.github.davidmoten.odata.client.HttpRequestOptions options)
-
getGroupIds
public com.github.davidmoten.odata.client.CollectionPage<String> getGroupIds()
-
getGroupIds
public com.github.davidmoten.odata.client.CollectionPage<String> getGroupIds(com.github.davidmoten.odata.client.HttpRequestOptions options)
-
getKeywords
public Optional<AnswerKeyword> getKeywords()
-
withKeywords
public Bookmark withKeywords(AnswerKeyword keywords)
-
getLanguageTags
public com.github.davidmoten.odata.client.CollectionPage<String> getLanguageTags()
-
getLanguageTags
public com.github.davidmoten.odata.client.CollectionPage<String> getLanguageTags(com.github.davidmoten.odata.client.HttpRequestOptions options)
-
getPlatforms
public com.github.davidmoten.odata.client.CollectionPage<DevicePlatformType> getPlatforms()
-
withPlatforms
public Bookmark withPlatforms(List<DevicePlatformType> platforms)
-
getPlatforms
public com.github.davidmoten.odata.client.CollectionPage<DevicePlatformType> getPlatforms(com.github.davidmoten.odata.client.HttpRequestOptions options)
-
getPowerAppIds
public com.github.davidmoten.odata.client.CollectionPage<String> getPowerAppIds()
-
getPowerAppIds
public com.github.davidmoten.odata.client.CollectionPage<String> getPowerAppIds(com.github.davidmoten.odata.client.HttpRequestOptions options)
-
getState
public Optional<AnswerState> getState()
-
withState
public Bookmark withState(AnswerState state)
-
getTargetedVariations
public com.github.davidmoten.odata.client.CollectionPage<AnswerVariant> getTargetedVariations()
-
withTargetedVariations
public Bookmark withTargetedVariations(List<AnswerVariant> targetedVariations)
-
getTargetedVariations
public com.github.davidmoten.odata.client.CollectionPage<AnswerVariant> getTargetedVariations(com.github.davidmoten.odata.client.HttpRequestOptions options)
-
withUnmappedField
public Bookmark withUnmappedField(String name, String value)
- Overrides:
withUnmappedFieldin classSearchAnswer
-
getUnmappedFields
public com.github.davidmoten.odata.client.UnmappedFields getUnmappedFields()
- Specified by:
getUnmappedFieldsin interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
getUnmappedFieldsin classSearchAnswer
-
patch
public Bookmark patch()
Submits only changed fields for update and returns an immutable copy ofthiswith changed fields reset.- Overrides:
patchin classSearchAnswer- Returns:
- a copy of
thiswith changed fields reset - Throws:
com.github.davidmoten.odata.client.ClientException- if HTTP response is not as expected
-
put
public Bookmark put()
Submits all fields for update and returns an immutable copy ofthiswith changed fields reset (they were ignored anyway).- Overrides:
putin classSearchAnswer- 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 classSearchAnswer
-
-