$ContextClient class

Constructors

$ContextClient($Client _rootClient)
Creates a new DynamiteClient for context requests.

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

$$show_Request({required int contextId, bool? oCSAPIRequest}) → Request
api v2 Get information about the requests context.
$$show_Serializer() → DynamiteSerializer<ContextShowResponseApplicationJson, void>
Builds a serializer to parse the response of $$show_Request.
$$update_Request({required int contextId, bool? oCSAPIRequest, ContextUpdateRequestApplicationJson? $body}) → Request
api v2 Update an existing context and return it.
$$update_Serializer() → DynamiteSerializer<ContextUpdateResponseApplicationJson, void>
Builds a serializer to parse the response of $$update_Request.
$create_Request({required ContextCreateRequestApplicationJson $body, bool? oCSAPIRequest}) → Request
api v2 Create a new context and return it.
$create_Serializer() → DynamiteSerializer<ContextCreateResponseApplicationJson, void>
Builds a serializer to parse the response of $create_Request.
$destroy_Request({required int contextId, bool? oCSAPIRequest}) → Request
api v2 Delete an existing context and return it.
$destroy_Serializer() → DynamiteSerializer<ContextDestroyResponseApplicationJson, void>
Builds a serializer to parse the response of $destroy_Request.
$index_Request({bool? oCSAPIRequest}) → Request
api v2 Get all contexts available to the requesting person.
$index_Serializer() → DynamiteSerializer<ContextIndexResponseApplicationJson, void>
Builds a serializer to parse the response of $index_Request.
$show({required int contextId, bool? oCSAPIRequest}) Future<DynamiteResponse<ContextShowResponseApplicationJson, void>>
api v2 Get information about the requests context.
$transfer_Request({required int contextId, required ContextTransferRequestApplicationJson $body, bool? oCSAPIRequest}) → Request
api v2 Transfer the ownership of a context and return it.
$transfer_Serializer() → DynamiteSerializer<ContextTransferResponseApplicationJson, void>
Builds a serializer to parse the response of $transfer_Request.
$update({required int contextId, bool? oCSAPIRequest, ContextUpdateRequestApplicationJson? $body}) Future<DynamiteResponse<ContextUpdateResponseApplicationJson, void>>
api v2 Update an existing context and return it.
$updateContentOrder_Request({required int contextId, required int pageId, required ContextUpdateContentOrderRequestApplicationJson $body, bool? oCSAPIRequest}) → Request
api v2 Update the order on a page of a context.
$updateContentOrder_Serializer() → DynamiteSerializer<ContextUpdateContentOrderResponseApplicationJson, void>
Builds a serializer to parse the response of $updateContentOrder_Request.
create({required ContextCreateRequestApplicationJson $body, bool? oCSAPIRequest}) Future<DynamiteResponse<ContextCreateResponseApplicationJson, void>>
api v2 Create a new context and return it.
destroy({required int contextId, bool? oCSAPIRequest}) Future<DynamiteResponse<ContextDestroyResponseApplicationJson, void>>
api v2 Delete an existing context and return it.
index({bool? oCSAPIRequest}) Future<DynamiteResponse<ContextIndexResponseApplicationJson, void>>
api v2 Get all contexts available to the requesting person.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited
transfer({required int contextId, required ContextTransferRequestApplicationJson $body, bool? oCSAPIRequest}) Future<DynamiteResponse<ContextTransferResponseApplicationJson, void>>
api v2 Transfer the ownership of a context and return it.
updateContentOrder({required int contextId, required int pageId, required ContextUpdateContentOrderRequestApplicationJson $body, bool? oCSAPIRequest}) Future<DynamiteResponse<ContextUpdateContentOrderResponseApplicationJson, void>>
api v2 Update the order on a page of a context.

Operators

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