Package notion.api.v1.model.search
Class PageSearchResult
-
- All Implemented Interfaces:
-
notion.api.v1.model.common.WithObjectType,notion.api.v1.model.search.SearchResult
public final class PageSearchResult implements SearchResult
-
-
Field Summary
Fields Modifier and Type Field Description private final ObjectTypeobjectTypeprivate final Stringidprivate final Iconiconprivate final Covercoverprivate final StringcreatedTimeprivate final UsercreatedByprivate final StringlastEditedTimeprivate final UserlastEditedByprivate final Stringurlprivate final StringpublicUrlprivate final PageSearchResultParentparentprivate final Booleanarchivedprivate final Map<String, PageProperty>propertiesprivate final StringrequestIdprivate BooleaninTrash
-
Constructor Summary
Constructors Constructor Description PageSearchResult(ObjectType objectType, String id, Icon icon, Cover cover, String createdTime, User createdBy, String lastEditedTime, User lastEditedBy, String url, String publicUrl, PageSearchResultParent parent, Boolean archived, Map<String, PageProperty> properties, String requestId, Boolean inTrash)PageSearchResult(ObjectType objectType, String id, Icon icon, Cover cover, String createdTime, User createdBy, String lastEditedTime, User lastEditedBy, String url, String publicUrl, PageSearchResultParent parent, Boolean archived, Map<String, PageProperty> properties, String requestId)PageSearchResult(ObjectType objectType, String id, Icon icon, Cover cover, String createdTime, User createdBy, String lastEditedTime, User lastEditedBy, String url, String publicUrl, PageSearchResultParent parent, Boolean archived, Map<String, PageProperty> properties)PageSearchResult(ObjectType objectType, String id, Icon icon, Cover cover, String createdTime, User createdBy, String lastEditedTime, User lastEditedBy, String url, String publicUrl, PageSearchResultParent parent, Map<String, PageProperty> properties)PageSearchResult(ObjectType objectType, String id, Icon icon, Cover cover, String createdTime, User createdBy, String lastEditedTime, User lastEditedBy, String url, String publicUrl, Map<String, PageProperty> properties)PageSearchResult(ObjectType objectType, String id, Icon icon, Cover cover, String createdTime, User createdBy, String lastEditedTime, User lastEditedBy, String url, Map<String, PageProperty> properties)PageSearchResult(String id, Icon icon, Cover cover, String createdTime, User createdBy, String lastEditedTime, User lastEditedBy, String url, Map<String, PageProperty> properties)
-
Method Summary
Modifier and Type Method Description ObjectTypegetObjectType()StringgetId()IcongetIcon()CovergetCover()StringgetCreatedTime()UsergetCreatedBy()StringgetLastEditedTime()UsergetLastEditedBy()final StringgetUrl()final StringgetPublicUrl()final PageSearchResultParentgetParent()BooleangetArchived()final Map<String, PageProperty>getProperties()StringgetRequestId()BooleangetInTrash()UnitsetInTrash(Boolean inTrash)-
-
Constructor Detail
-
PageSearchResult
PageSearchResult(ObjectType objectType, String id, Icon icon, Cover cover, String createdTime, User createdBy, String lastEditedTime, User lastEditedBy, String url, String publicUrl, PageSearchResultParent parent, Boolean archived, Map<String, PageProperty> properties, String requestId, Boolean inTrash)
-
PageSearchResult
PageSearchResult(ObjectType objectType, String id, Icon icon, Cover cover, String createdTime, User createdBy, String lastEditedTime, User lastEditedBy, String url, String publicUrl, PageSearchResultParent parent, Boolean archived, Map<String, PageProperty> properties, String requestId)
-
PageSearchResult
PageSearchResult(ObjectType objectType, String id, Icon icon, Cover cover, String createdTime, User createdBy, String lastEditedTime, User lastEditedBy, String url, String publicUrl, PageSearchResultParent parent, Boolean archived, Map<String, PageProperty> properties)
-
PageSearchResult
PageSearchResult(ObjectType objectType, String id, Icon icon, Cover cover, String createdTime, User createdBy, String lastEditedTime, User lastEditedBy, String url, String publicUrl, PageSearchResultParent parent, Map<String, PageProperty> properties)
-
PageSearchResult
PageSearchResult(ObjectType objectType, String id, Icon icon, Cover cover, String createdTime, User createdBy, String lastEditedTime, User lastEditedBy, String url, String publicUrl, Map<String, PageProperty> properties)
-
PageSearchResult
PageSearchResult(ObjectType objectType, String id, Icon icon, Cover cover, String createdTime, User createdBy, String lastEditedTime, User lastEditedBy, String url, Map<String, PageProperty> properties)
-
-
Method Detail
-
getObjectType
ObjectType getObjectType()
-
getCreatedTime
String getCreatedTime()
-
getCreatedBy
User getCreatedBy()
-
getLastEditedTime
String getLastEditedTime()
-
getLastEditedBy
User getLastEditedBy()
-
getPublicUrl
final String getPublicUrl()
-
getParent
final PageSearchResultParent getParent()
-
getArchived
Boolean getArchived()
-
getProperties
final Map<String, PageProperty> getProperties()
-
getRequestId
String getRequestId()
-
getInTrash
Boolean getInTrash()
-
setInTrash
Unit setInTrash(Boolean inTrash)
-
-
-
-