class Abbyy::Models::ListTasksRequest

Overview

Request object for /listTasks API-method.

Defined in:

abbyy/models/list_tasks_request.cr

Constant Summary

TIME_FORMAT = "%Y-%m-%dT%H:%M:%SZ"

Constructors

Instance Method Summary

Instance methods inherited from class Abbyy::Models::BaseRequest

body : HTTP::Client::BodyType body, params : Hash(String, String) params

Constructor Detail

def self.new(from_date : Time | Nil = nil, to_date : Time | Nil = nil, exclude_deleted : Bool | Nil = nil) #

[View source]

Instance Method Detail

def exclude_deleted : Bool | Nil #

Specifies if the tasks that have already been deleted must be excluded from the listing.

This parameter is not required.

Default value is false.


[View source]
def exclude_deleted=(exclude_deleted : Bool | Nil) #

Specifies if the tasks that have already been deleted must be excluded from the listing.

This parameter is not required.

Default value is false.


[View source]
def from_date : Time | Nil #

Specifies the date to list tasks from.

This parameter is not required.

Default value is the current date minus 7 days.


[View source]
def from_date=(from_date : Time | Nil) #

Specifies the date to list tasks from.

This parameter is not required.

Default value is the current date minus 7 days.


[View source]
def params : Hash(String, String) #

[View source]
def to_date : Time | Nil #

Specifies the date to list tasks to.

This parameter is not required.

Default value is the current date.


[View source]
def to_date=(to_date : Time | Nil) #

Specifies the date to list tasks to.

This parameter is not required.

Default value is the current date.


[View source]