class DiadocApi::Entity::TimeBasedFilter

Included Modules

Defined in:

diadoc_api/entities/time_based_filter.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(pull : JSON::PullParser) #

[View source]
def self.new(from_timestamp : Timestamp | Nil = nil, to_timestamp : Timestamp | Nil = nil, sort_direction : SortDirection | Nil = SortDirection::Descending) #

[View source]

Instance Method Detail

def from_timestamp : Timestamp | Nil #

def from_timestamp=(from_timestamp : Timestamp | Nil) #

def sort_direction : SortDirection | Nil #

def sort_direction=(sort_direction : SortDirection | Nil) #

def to_timestamp : Timestamp | Nil #

def to_timestamp=(to_timestamp : Timestamp | Nil) #