Class: Google::Apis::GamesConfigurationV1configuration::GamesNumberAffixConfiguration
- Inherits:
-
Object
- Object
- Google::Apis::GamesConfigurationV1configuration::GamesNumberAffixConfiguration
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/games_configuration_v1configuration/classes.rb,
generated/google/apis/games_configuration_v1configuration/representations.rb,
generated/google/apis/games_configuration_v1configuration/representations.rb
Overview
This is a JSON template for a number affix resource.
Instance Attribute Summary collapse
-
#few ⇒ Google::Apis::GamesConfigurationV1configuration::LocalizedStringBundle
This is a JSON template for a localized string bundle resource.
-
#many ⇒ Google::Apis::GamesConfigurationV1configuration::LocalizedStringBundle
This is a JSON template for a localized string bundle resource.
-
#one ⇒ Google::Apis::GamesConfigurationV1configuration::LocalizedStringBundle
This is a JSON template for a localized string bundle resource.
-
#other ⇒ Google::Apis::GamesConfigurationV1configuration::LocalizedStringBundle
This is a JSON template for a localized string bundle resource.
-
#two ⇒ Google::Apis::GamesConfigurationV1configuration::LocalizedStringBundle
This is a JSON template for a localized string bundle resource.
-
#zero ⇒ Google::Apis::GamesConfigurationV1configuration::LocalizedStringBundle
This is a JSON template for a localized string bundle resource.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GamesNumberAffixConfiguration
constructor
A new instance of GamesNumberAffixConfiguration.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ GamesNumberAffixConfiguration
Returns a new instance of GamesNumberAffixConfiguration
210 211 212 |
# File 'generated/google/apis/games_configuration_v1configuration/classes.rb', line 210 def initialize(**args) update!(**args) end |
Instance Attribute Details
#few ⇒ Google::Apis::GamesConfigurationV1configuration::LocalizedStringBundle
This is a JSON template for a localized string bundle resource.
Corresponds to the JSON property few
183 184 185 |
# File 'generated/google/apis/games_configuration_v1configuration/classes.rb', line 183 def few @few end |
#many ⇒ Google::Apis::GamesConfigurationV1configuration::LocalizedStringBundle
This is a JSON template for a localized string bundle resource.
Corresponds to the JSON property many
188 189 190 |
# File 'generated/google/apis/games_configuration_v1configuration/classes.rb', line 188 def many @many end |
#one ⇒ Google::Apis::GamesConfigurationV1configuration::LocalizedStringBundle
This is a JSON template for a localized string bundle resource.
Corresponds to the JSON property one
193 194 195 |
# File 'generated/google/apis/games_configuration_v1configuration/classes.rb', line 193 def one @one end |
#other ⇒ Google::Apis::GamesConfigurationV1configuration::LocalizedStringBundle
This is a JSON template for a localized string bundle resource.
Corresponds to the JSON property other
198 199 200 |
# File 'generated/google/apis/games_configuration_v1configuration/classes.rb', line 198 def other @other end |
#two ⇒ Google::Apis::GamesConfigurationV1configuration::LocalizedStringBundle
This is a JSON template for a localized string bundle resource.
Corresponds to the JSON property two
203 204 205 |
# File 'generated/google/apis/games_configuration_v1configuration/classes.rb', line 203 def two @two end |
#zero ⇒ Google::Apis::GamesConfigurationV1configuration::LocalizedStringBundle
This is a JSON template for a localized string bundle resource.
Corresponds to the JSON property zero
208 209 210 |
# File 'generated/google/apis/games_configuration_v1configuration/classes.rb', line 208 def zero @zero end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
215 216 217 218 219 220 221 222 |
# File 'generated/google/apis/games_configuration_v1configuration/classes.rb', line 215 def update!(**args) @few = args[:few] if args.key?(:few) @many = args[:many] if args.key?(:many) @one = args[:one] if args.key?(:one) @other = args[:other] if args.key?(:other) @two = args[:two] if args.key?(:two) @zero = args[:zero] if args.key?(:zero) end |