Sha256: 079d1602e22c63893f08ff258ae9fe56a7733fb929ec5243555820c6df9d2eaf

Contents?: true

Size: 1.72 KB

Versions: 2

Compression:

Stored size: 1.72 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::ServiceFabric::V7_0_0_42
  module Models
    #
    # Defines the Chaos Schedule used by Chaos and the version of the Chaos
    # Schedule. The version value wraps back to 0 after surpassing
    # 2,147,483,647.
    #
    class ChaosScheduleDescription

      include MsRestAzure

      # @return [Integer] The version number of the Schedule.
      attr_accessor :version

      # @return [ChaosSchedule] Defines the schedule used by Chaos.
      attr_accessor :schedule


      #
      # Mapper for ChaosScheduleDescription class as Ruby Hash.
      # This will be used for serialization/deserialization.
      #
      def self.mapper()
        {
          client_side_validation: true,
          required: false,
          serialized_name: 'ChaosScheduleDescription',
          type: {
            name: 'Composite',
            class_name: 'ChaosScheduleDescription',
            model_properties: {
              version: {
                client_side_validation: true,
                required: false,
                serialized_name: 'Version',
                constraints: {
                  InclusiveMinimum: 0
                },
                type: {
                  name: 'Number'
                }
              },
              schedule: {
                client_side_validation: true,
                required: false,
                serialized_name: 'Schedule',
                type: {
                  name: 'Composite',
                  class_name: 'ChaosSchedule'
                }
              }
            }
          }
        }
      end
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
azure_service_fabric-0.18.1 lib/7.0.0.42/generated/azure_service_fabric/models/chaos_schedule_description.rb
azure_service_fabric-0.18.0 lib/7.0.0.42/generated/azure_service_fabric/models/chaos_schedule_description.rb