Class: Google::Apis::GamesConfigurationV1configuration::GamesNumberAffixConfiguration

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

Methods included from Core::JsonObjectSupport

#to_json

Methods included from Core::Hashable

process_value, #to_h

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

#fewGoogle::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

#manyGoogle::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

#oneGoogle::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

#otherGoogle::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

#twoGoogle::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

#zeroGoogle::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