Sha256: 6c082ac0ce20aa148a9099d21b022449ba0451b882b663b744dee50f838cc7b2

Contents?: true

Size: 1.33 KB

Versions: 2

Compression:

Stored size: 1.33 KB

Contents

# 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::Storage::Mgmt::V2020_08_01_preview
  module Models
    #
    # Object to define the number of days after creation.
    #
    class DateAfterCreation

      include MsRestAzure

      # @return [Float] Value indicating the age in days after creation
      attr_accessor :days_after_creation_greater_than


      #
      # Mapper for DateAfterCreation class as Ruby Hash.
      # This will be used for serialization/deserialization.
      #
      def self.mapper()
        {
          client_side_validation: true,
          required: false,
          serialized_name: 'DateAfterCreation',
          type: {
            name: 'Composite',
            class_name: 'DateAfterCreation',
            model_properties: {
              days_after_creation_greater_than: {
                client_side_validation: true,
                required: true,
                serialized_name: 'daysAfterCreationGreaterThan',
                constraints: {
                  InclusiveMinimum: 0,
                  MultipleOf: 1
                },
                type: {
                  name: 'Double'
                }
              }
            }
          }
        }
      end
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
azure_mgmt_storage-0.23.0 lib/2020-08-01-preview/generated/azure_mgmt_storage/models/date_after_creation.rb
azure_mgmt_storage-0.22.0 lib/2020-08-01-preview/generated/azure_mgmt_storage/models/date_after_creation.rb