Class: Google::Apis::GenomicsV1beta2::Int32Value

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable
Defined in:
generated/google/apis/genomics_v1beta2/classes.rb,
generated/google/apis/genomics_v1beta2/representations.rb,
generated/google/apis/genomics_v1beta2/representations.rb

Overview

Wrapper message for int32. The JSON representation for Int32Value is JSON number.

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from Core::Hashable

process_value, #to_h

Constructor Details

#initialize(**args) ⇒ Int32Value

Returns a new instance of Int32Value



1000
1001
1002
# File 'generated/google/apis/genomics_v1beta2/classes.rb', line 1000

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

Instance Attribute Details

#valueFixnum

The int32 value. Corresponds to the JSON property value

Returns:

  • (Fixnum)


998
999
1000
# File 'generated/google/apis/genomics_v1beta2/classes.rb', line 998

def value
  @value
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1005
1006
1007
# File 'generated/google/apis/genomics_v1beta2/classes.rb', line 1005

def update!(**args)
  @value = args[:value] unless args[:value].nil?
end