Class: Google::Apis::GamesV1::AchievementSetStepsAtLeastResponse
- Inherits:
- 
      Object
      
        - Object
- Google::Apis::GamesV1::AchievementSetStepsAtLeastResponse
 
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/games_v1/classes.rb,
 generated/google/apis/games_v1/representations.rb,
 generated/google/apis/games_v1/representations.rb
Overview
This is a JSON template for an achievement set steps at least response.
Instance Attribute Summary collapse
- 
  
    
      #current_steps  ⇒ Fixnum 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    The current steps recorded for this incremental achievement. 
- 
  
    
      #kind  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    Uniquely identifies the type of this resource. 
- 
  
    
      #newly_unlocked  ⇒ Boolean 
    
    
      (also: #newly_unlocked?)
    
  
  
  
  
    
    
  
  
  
  
  
  
    Whether the the current steps for the achievement has reached the number of steps required to unlock. 
Instance Method Summary collapse
- 
  
    
      #initialize(**args)  ⇒ AchievementSetStepsAtLeastResponse 
    
    
  
  
  
    constructor
  
  
  
  
  
  
  
    A new instance of AchievementSetStepsAtLeastResponse. 
- 
  
    
      #update!(**args)  ⇒ Object 
    
    
  
  
  
  
  
  
  
  
  
    Update properties of this object. 
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ AchievementSetStepsAtLeastResponse
Returns a new instance of AchievementSetStepsAtLeastResponse
| 246 247 248 | # File 'generated/google/apis/games_v1/classes.rb', line 246 def initialize(**args) update!(**args) end | 
Instance Attribute Details
#current_steps ⇒ Fixnum
The current steps recorded for this incremental achievement.
Corresponds to the JSON property currentSteps
| 231 232 233 | # File 'generated/google/apis/games_v1/classes.rb', line 231 def current_steps @current_steps end | 
#kind ⇒ String
Uniquely identifies the type of this resource. Value is always the fixed
string games#achievementSetStepsAtLeastResponse.
Corresponds to the JSON property kind
| 237 238 239 | # File 'generated/google/apis/games_v1/classes.rb', line 237 def kind @kind end | 
#newly_unlocked ⇒ Boolean Also known as: newly_unlocked?
Whether the the current steps for the achievement has reached the number of
steps required to unlock.
Corresponds to the JSON property newlyUnlocked
| 243 244 245 | # File 'generated/google/apis/games_v1/classes.rb', line 243 def newly_unlocked @newly_unlocked end | 
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
| 251 252 253 254 255 | # File 'generated/google/apis/games_v1/classes.rb', line 251 def update!(**args) @current_steps = args[:current_steps] if args.key?(:current_steps) @kind = args[:kind] if args.key?(:kind) @newly_unlocked = args[:newly_unlocked] if args.key?(:newly_unlocked) end |