# 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::Web::Mgmt::V2018_02_01 module Models # # Log Definition of a single resource metric. # class LogSpecification include MsRestAzure # @return [String] attr_accessor :name # @return [String] attr_accessor :display_name # @return [String] attr_accessor :blob_duration # # Mapper for LogSpecification class as Ruby Hash. # This will be used for serialization/deserialization. # def self.mapper() { client_side_validation: true, required: false, serialized_name: 'LogSpecification', type: { name: 'Composite', class_name: 'LogSpecification', model_properties: { name: { client_side_validation: true, required: false, serialized_name: 'name', type: { name: 'String' } }, display_name: { client_side_validation: true, required: false, serialized_name: 'displayName', type: { name: 'String' } }, blob_duration: { client_side_validation: true, required: false, serialized_name: 'blobDuration', type: { name: 'String' } } } } } end end end end