# encoding: utf-8 # Code generated by Microsoft (R) AutoRest Code Generator. # Changes may cause incorrect behavior and will be lost if the code is # regenerated. module Azure::Logic::Mgmt::V2016_06_01 module Models # # Model object. # # class Expression include MsRestAzure # @return [String] attr_accessor :text # @return attr_accessor :value # @return [Array] attr_accessor :subexpressions # @return [AzureResourceErrorInfo] attr_accessor :error # # Mapper for Expression class as Ruby Hash. # This will be used for serialization/deserialization. # def self.mapper() { client_side_validation: true, required: false, serialized_name: 'Expression', type: { name: 'Composite', class_name: 'Expression', model_properties: { text: { client_side_validation: true, required: false, serialized_name: 'text', type: { name: 'String' } }, value: { client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Object' } }, subexpressions: { client_side_validation: true, required: false, serialized_name: 'subexpressions', type: { name: 'Sequence', element: { client_side_validation: true, required: false, serialized_name: 'ExpressionElementType', type: { name: 'Composite', class_name: 'Expression' } } } }, error: { client_side_validation: true, required: false, serialized_name: 'error', type: { name: 'Composite', class_name: 'AzureResourceErrorInfo' } } } } } end end end end