Sha256: 02f04049bd3061f10ea22364721249b3826e27d8713c9f669dd79b1f6ca55f53

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::Automation::Mgmt::V2015_10_31
  module Models
    #
    # The parameters supplied to the update schedule operation.
    #
    class ScheduleUpdateParameters

      include MsRestAzure

      # @return [String] Gets or sets the name of the schedule.
      attr_accessor :name

      # @return [String] Gets or sets the description of the schedule.
      attr_accessor :description

      # @return [Boolean] Gets or sets a value indicating whether this schedule
      # is enabled.
      attr_accessor :is_enabled


      #
      # Mapper for ScheduleUpdateParameters class as Ruby Hash.
      # This will be used for serialization/deserialization.
      #
      def self.mapper()
        {
          required: false,
          serialized_name: 'ScheduleUpdateParameters',
          type: {
            name: 'Composite',
            class_name: 'ScheduleUpdateParameters',
            model_properties: {
              name: {
                required: true,
                serialized_name: 'name',
                type: {
                  name: 'String'
                }
              },
              description: {
                required: false,
                serialized_name: 'properties.description',
                type: {
                  name: 'String'
                }
              },
              is_enabled: {
                required: false,
                serialized_name: 'properties.isEnabled',
                type: {
                  name: 'Boolean'
                }
              }
            }
          }
        }
      end
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
azure_mgmt_automation-0.15.1 lib/2015-10-31/generated/azure_mgmt_automation/models/schedule_update_parameters.rb
azure_mgmt_automation-0.15.0 lib/2015-10-31/generated/azure_mgmt_automation/models/schedule_update_parameters.rb