class Hamilton::Types::UniqueGiftSymbol

Overview

This object describes the symbol shown on the pattern of a unique gift.

Included Modules

Defined in:

types/unique_gift_symbol.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 name : String #

Name of the model.


def name=(name : String) #

Name of the model.


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

The number of unique gifts that receive this model for every 1000 gifts upgraded.


def rarity_per_mille=(rarity_per_mille : Int32) #

The number of unique gifts that receive this model for every 1000 gifts upgraded.


def sticker : Hamilton::Types::Sticker #

The sticker that represents the unique gift.


def sticker=(sticker : Hamilton::Types::Sticker) #

The sticker that represents the unique gift.