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.



827
828
829
# File 'lib/google/apis/gmailpostmastertools_v2/classes.rb', line 827

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

Instance Attribute Details

#double_valueFloat

Double value. Corresponds to the JSON property doubleValue

Returns:

  • (Float)


805
806
807
# File 'lib/google/apis/gmailpostmastertools_v2/classes.rb', line 805

def double_value
  @double_value
end

#float_valueFloat

Float value. Corresponds to the JSON property floatValue

Returns:

  • (Float)


810
811
812
# File 'lib/google/apis/gmailpostmastertools_v2/classes.rb', line 810

def float_value
  @float_value
end

#int_valueFixnum

Integer value. Corresponds to the JSON property intValue

Returns:

  • (Fixnum)


815
816
817
# File 'lib/google/apis/gmailpostmastertools_v2/classes.rb', line 815

def int_value
  @int_value
end

#string_listGoogle::Apis::GmailpostmastertoolsV2::StringList

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



820
821
822
# File 'lib/google/apis/gmailpostmastertools_v2/classes.rb', line 820

def string_list
  @string_list
end

#string_valueString

String value. Corresponds to the JSON property stringValue

Returns:

  • (String)


825
826
827
# File 'lib/google/apis/gmailpostmastertools_v2/classes.rb', line 825

def string_value
  @string_value
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



832
833
834
835
836
837
838
# File 'lib/google/apis/gmailpostmastertools_v2/classes.rb', line 832

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