PagesResource class

Constructors

PagesResource(ApiRequester client)

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

delete(String blogId, String pageId, {bool? useTrash, String? $fields}) Future<void>
Deletes a page by blog id and page id.
get(String blogId, String pageId, {String? view, String? $fields}) Future<Page>
Gets a page by blog id and page id.
insert(Page request, String blogId, {bool? isDraft, String? $fields}) Future<Page>
Inserts a page.
list(String blogId, {bool? fetchBodies, int? maxResults, String? pageToken, List<String>? status, String? view, String? $fields}) Future<PageList>
Lists pages.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
patch(Page request, String blogId, String pageId, {bool? publish_1, bool? revert_1, String? $fields}) Future<Page>
Patches a page.
publish(String blogId, String pageId, {String? $fields}) Future<Page>
Publishes a page.
revert(String blogId, String pageId, {String? $fields}) Future<Page>
Reverts a published or scheduled page to draft state.
toString() String
A string representation of this object.
inherited
update(Page request, String blogId, String pageId, {bool? publish_1, bool? revert_1, String? $fields}) Future<Page>
Updates a page by blog id and page id.

Operators

operator ==(Object other) bool
The equality operator.
inherited