Class: Google::Apis::LanguageV1beta2::XpsTablesModelStructureModelParametersParameter
- Inherits:
-
Object
- Object
- Google::Apis::LanguageV1beta2::XpsTablesModelStructureModelParametersParameter
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/language_v1beta2/classes.rb,
lib/google/apis/language_v1beta2/representations.rb,
lib/google/apis/language_v1beta2/representations.rb
Instance Attribute Summary collapse
-
#float_value ⇒ Float
Float type parameter value.
-
#int_value ⇒ Fixnum
Integer type parameter value.
-
#name ⇒ String
Parameter name.
-
#string_value ⇒ String
String type parameter value.
Instance Method Summary collapse
-
#initialize(**args) ⇒ XpsTablesModelStructureModelParametersParameter
constructor
A new instance of XpsTablesModelStructureModelParametersParameter.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ XpsTablesModelStructureModelParametersParameter
Returns a new instance of XpsTablesModelStructureModelParametersParameter.
4153 4154 4155 |
# File 'lib/google/apis/language_v1beta2/classes.rb', line 4153 def initialize(**args) update!(**args) end |
Instance Attribute Details
#float_value ⇒ Float
Float type parameter value.
Corresponds to the JSON property floatValue
4136 4137 4138 |
# File 'lib/google/apis/language_v1beta2/classes.rb', line 4136 def float_value @float_value end |
#int_value ⇒ Fixnum
Integer type parameter value.
Corresponds to the JSON property intValue
4141 4142 4143 |
# File 'lib/google/apis/language_v1beta2/classes.rb', line 4141 def int_value @int_value end |
#name ⇒ String
Parameter name.
Corresponds to the JSON property name
4146 4147 4148 |
# File 'lib/google/apis/language_v1beta2/classes.rb', line 4146 def name @name end |
#string_value ⇒ String
String type parameter value.
Corresponds to the JSON property stringValue
4151 4152 4153 |
# File 'lib/google/apis/language_v1beta2/classes.rb', line 4151 def string_value @string_value end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
4158 4159 4160 4161 4162 4163 |
# File 'lib/google/apis/language_v1beta2/classes.rb', line 4158 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 |