class Hamilton::Types::Checklist

Overview

Describes a checklist.

Included Modules

Defined in:

types/checklist.cr

Constructors

Instance Method Summary

Instance methods inherited from class Reference

==(other : Hamilton::Any) ==

Instance methods inherited from class Object

===(other : Hamilton::Any) ===

Constructor Detail

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

def self.new(params) #

def self.new(*, __pull_for_json_serializable pull : JSON::PullParser) #

def self.new(**params) #

Instance Method Detail

def non_nil_fields : Array(String) #

List of available non-nil fields.


def non_nil_fields=(non_nil_fields : Array(String)) #

List of available non-nil fields.


def others_can_add_tasks : Bool | Nil #

True, if users other than the creator of the list can add tasks to the list.


def others_can_add_tasks=(others_can_add_tasks : Bool | Nil) #

True, if users other than the creator of the list can add tasks to the list.


def others_can_mark_tasks_as_done : Bool | Nil #

True, if users other than the creator of the list can mark tasks as done or not done.


def others_can_mark_tasks_as_done=(others_can_mark_tasks_as_done : Bool | Nil) #

True, if users other than the creator of the list can mark tasks as done or not done.


def tasks : Array(Hamilton::Types::ChecklistTask) #

List of tasks in the checklist.


def tasks=(tasks : Array(Hamilton::Types::ChecklistTask)) #

List of tasks in the checklist.


def title : String #

Title of the checklist.


def title=(title : String) #

Title of the checklist.


def title_entities : Array(Hamilton::Types::MessageEntity) | Nil #

Special entities that appear in the checklist title.


def title_entities=(title_entities : Array(Hamilton::Types::MessageEntity) | Nil) #

Special entities that appear in the checklist title.