Class: Google::Apis::LanguageV1::XpsTablesModelStructureModelParametersParameter

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ XpsTablesModelStructureModelParametersParameter

Returns a new instance of XpsTablesModelStructureModelParametersParameter.



4133
4134
4135
# File 'lib/google/apis/language_v1/classes.rb', line 4133

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

Instance Attribute Details

#float_valueFloat

Float type parameter value. Corresponds to the JSON property floatValue

Returns:

  • (Float)


4116
4117
4118
# File 'lib/google/apis/language_v1/classes.rb', line 4116

def float_value
  @float_value
end

#int_valueFixnum

Integer type parameter value. Corresponds to the JSON property intValue

Returns:

  • (Fixnum)


4121
4122
4123
# File 'lib/google/apis/language_v1/classes.rb', line 4121

def int_value
  @int_value
end

#nameString

Parameter name. Corresponds to the JSON property name

Returns:

  • (String)


4126
4127
4128
# File 'lib/google/apis/language_v1/classes.rb', line 4126

def name
  @name
end

#string_valueString

String type parameter value. Corresponds to the JSON property stringValue

Returns:

  • (String)


4131
4132
4133
# File 'lib/google/apis/language_v1/classes.rb', line 4131

def string_value
  @string_value
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



4138
4139
4140
4141
4142
4143
# File 'lib/google/apis/language_v1/classes.rb', line 4138

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