class Hamilton::Types::GiftBackground

Overview

This object describes the background of a gift.

Included Modules

Defined in:

types/gift_background.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 center_color : Int32 #

Center color of the background in RGB format.


def center_color=(center_color : Int32) #

Center color of the background in RGB format.


def edge_color : Int32 #

Edge color of the background in RGB format.


def edge_color=(edge_color : Int32) #

Edge color of the background in RGB format.


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 text_color : Int32 #

Text color of the background in RGB format.


def text_color=(text_color : Int32) #

Text color of the background in RGB format.