# 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::Automanage::Mgmt::V2020_06_30_preview module Models # # Automanage REST API operation # class Operation include MsRestAzure # @return [String] Operation name: For ex. # providers/Microsoft.Automanage/configurationProfileAssignments/write or # read attr_accessor :name # @return [String] Indicates whether the operation is a data action attr_accessor :is_data_action # @return [OperationDisplay] Provider, Resource, Operation and # description values. attr_accessor :display # @return [String] Service provider: Microsoft.Automanage attr_accessor :status_code # # Mapper for Operation class as Ruby Hash. # This will be used for serialization/deserialization. # def self.mapper() { client_side_validation: true, required: false, serialized_name: 'Operation', type: { name: 'Composite', class_name: 'Operation', model_properties: { name: { client_side_validation: true, required: false, serialized_name: 'name', type: { name: 'String' } }, is_data_action: { client_side_validation: true, required: false, serialized_name: 'isDataAction', type: { name: 'String' } }, display: { client_side_validation: true, required: false, serialized_name: 'display', type: { name: 'Composite', class_name: 'OperationDisplay' } }, status_code: { client_side_validation: true, required: false, serialized_name: 'properties.statusCode', type: { name: 'String' } } } } } end end end end