Class: Google::Apis::LanguageV2::XpsTablesModelStructureModelParametersParameter

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ XpsTablesModelStructureModelParametersParameter

Returns a new instance of XpsTablesModelStructureModelParametersParameter.



3847
3848
3849
# File 'lib/google/apis/language_v2/classes.rb', line 3847

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

Instance Attribute Details

#float_valueFloat

Float type parameter value. Corresponds to the JSON property floatValue

Returns:

  • (Float)


3830
3831
3832
# File 'lib/google/apis/language_v2/classes.rb', line 3830

def float_value
  @float_value
end

#int_valueFixnum

Integer type parameter value. Corresponds to the JSON property intValue

Returns:

  • (Fixnum)


3835
3836
3837
# File 'lib/google/apis/language_v2/classes.rb', line 3835

def int_value
  @int_value
end

#nameString

Parameter name. Corresponds to the JSON property name

Returns:

  • (String)


3840
3841
3842
# File 'lib/google/apis/language_v2/classes.rb', line 3840

def name
  @name
end

#string_valueString

String type parameter value. Corresponds to the JSON property stringValue

Returns:

  • (String)


3845
3846
3847
# File 'lib/google/apis/language_v2/classes.rb', line 3845

def string_value
  @string_value
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



3852
3853
3854
3855
3856
3857
# File 'lib/google/apis/language_v2/classes.rb', line 3852

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