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.
671 672 673 |
# File 'lib/google/apis/gmailpostmastertools_v2/classes.rb', line 671 def initialize(**args) update!(**args) end |
Instance Attribute Details
#double_value ⇒ Float
Double value.
Corresponds to the JSON property doubleValue
649 650 651 |
# File 'lib/google/apis/gmailpostmastertools_v2/classes.rb', line 649 def double_value @double_value end |
#float_value ⇒ Float
Float value.
Corresponds to the JSON property floatValue
654 655 656 |
# File 'lib/google/apis/gmailpostmastertools_v2/classes.rb', line 654 def float_value @float_value end |
#int_value ⇒ Fixnum
Integer value.
Corresponds to the JSON property intValue
659 660 661 |
# File 'lib/google/apis/gmailpostmastertools_v2/classes.rb', line 659 def int_value @int_value end |
#string_list ⇒ Google::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_value ⇒ String
String value.
Corresponds to the JSON property stringValue
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 |