Class: Google::Apis::GmailpostmastertoolsV2::StatisticValue

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/gmailpostmastertools_v2/classes.rb,
lib/google/apis/gmailpostmastertools_v2/representations.rb,
lib/google/apis/gmailpostmastertools_v2/representations.rb

Overview

The actual value of a statistic.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ StatisticValue

Returns a new instance of StatisticValue.



671
672
673
# File 'lib/google/apis/gmailpostmastertools_v2/classes.rb', line 671

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#double_valueFloat

Double value. Corresponds to the JSON property doubleValue

Returns:

  • (Float)


649
650
651
# File 'lib/google/apis/gmailpostmastertools_v2/classes.rb', line 649

def double_value
  @double_value
end

#float_valueFloat

Float value. Corresponds to the JSON property floatValue

Returns:

  • (Float)


654
655
656
# File 'lib/google/apis/gmailpostmastertools_v2/classes.rb', line 654

def float_value
  @float_value
end

#int_valueFixnum

Integer value. Corresponds to the JSON property intValue

Returns:

  • (Fixnum)


659
660
661
# File 'lib/google/apis/gmailpostmastertools_v2/classes.rb', line 659

def int_value
  @int_value
end

#string_listGoogle::Apis::GmailpostmastertoolsV2::StringList

Represents a list of strings. Corresponds to the JSON property stringList



664
665
666
# File 'lib/google/apis/gmailpostmastertools_v2/classes.rb', line 664

def string_list
  @string_list
end

#string_valueString

String value. Corresponds to the JSON property stringValue

Returns:

  • (String)


669
670
671
# File 'lib/google/apis/gmailpostmastertools_v2/classes.rb', line 669

def string_value
  @string_value
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



676
677
678
679
680
681
682
# File 'lib/google/apis/gmailpostmastertools_v2/classes.rb', line 676

def update!(**args)
  @double_value = args[:double_value] if args.key?(:double_value)
  @float_value = args[:float_value] if args.key?(:float_value)
  @int_value = args[:int_value] if args.key?(:int_value)
  @string_list = args[:string_list] if args.key?(:string_list)
  @string_value = args[:string_value] if args.key?(:string_value)
end