class

Tourmaline::UniqueGiftModel

Inherits JSON::Serializable < Reference < Object

This object describes the model of a unique gift.

Constructors

new(name : String, sticker : Tourmaline::Sticker, rarity_per_mille : Int32 | Int64, rarity : String | Nil = nil)
Source
new(*, __pull_for_json_serializable pull : JSON::PullParser)
Source

Instance methods

name

Name of the model

Source
name=(name : String)

Name of the model

Source
rarity

Optional. Rarity of the model if it is a crafted model. Currently, can be "uncommon", "rare", "epic", or "legendary".

Source
rarity=(rarity : String | Nil)

Optional. Rarity of the model if it is a crafted model. Currently, can be "uncommon", "rare", "epic", or "legendary".

Source
rarity_per_mille

The number of unique gifts that receive this model for every 1000 gift upgrades. Always 0 for crafted gifts.

Source
rarity_per_mille=(rarity_per_mille : Int32 | Int64)

The number of unique gifts that receive this model for every 1000 gift upgrades. Always 0 for crafted gifts.

Source
sticker

The sticker that represents the unique gift

Source
sticker=(sticker : Tourmaline::Sticker)

The sticker that represents the unique gift

Source