Class: Google::Apis::GmailpostmastertoolsV2::StatisticValue
- Inherits:
-
Object
- Object
- Google::Apis::GmailpostmastertoolsV2::StatisticValue
- 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
-
#double_value ⇒ Float
Double value.
-
#float_value ⇒ Float
Float value.
-
#int_value ⇒ Fixnum
Integer value.
-
#string_list ⇒ Google::Apis::GmailpostmastertoolsV2::StringList
Represents a list of strings.
-
#string_value ⇒ String
String value.
Instance Method Summary collapse
-
#initialize(**args) ⇒ StatisticValue
constructor
A new instance of StatisticValue.
-
#update!(**args) ⇒ Object
Update properties of this object.
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_value ⇒ Float
Double value.
Corresponds to the JSON property doubleValue
805 806 807 |
# File 'lib/google/apis/gmailpostmastertools_v2/classes.rb', line 805 def double_value @double_value end |
#float_value ⇒ Float
Float value.
Corresponds to the JSON property floatValue
810 811 812 |
# File 'lib/google/apis/gmailpostmastertools_v2/classes.rb', line 810 def float_value @float_value end |
#int_value ⇒ Fixnum
Integer value.
Corresponds to the JSON property intValue
815 816 817 |
# File 'lib/google/apis/gmailpostmastertools_v2/classes.rb', line 815 def int_value @int_value end |
#string_list ⇒ Google::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_value ⇒ String
String value.
Corresponds to the JSON property stringValue
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 |