Sha256: c09c5ed6c6506a6e75e4259e0d3d9475bcae7593a9a8f44ab3cae6ff7630dae7

Contents?: true

Size: 1.87 KB

Versions: 6

Compression:

Stored size: 1.87 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::ContainerInstance::Mgmt::V2018_09_01
  module Models
    #
    # An operation for Azure Container Instance service.
    #
    class Operation

      include MsRestAzure

      # @return [String] The name of the operation.
      attr_accessor :name

      # @return [OperationDisplay] The display information of the operation.
      attr_accessor :display

      # @return [ContainerInstanceOperationsOrigin] The intended executor of
      # the operation. Possible values include: 'User', 'System'
      attr_accessor :origin


      #
      # 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: true,
                serialized_name: 'name',
                type: {
                  name: 'String'
                }
              },
              display: {
                client_side_validation: true,
                required: true,
                serialized_name: 'display',
                type: {
                  name: 'Composite',
                  class_name: 'OperationDisplay'
                }
              },
              origin: {
                client_side_validation: true,
                required: false,
                serialized_name: 'origin',
                type: {
                  name: 'String'
                }
              }
            }
          }
        }
      end
    end
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
azure_mgmt_container_instance-0.18.0 lib/2018-09-01/generated/azure_mgmt_container_instance/models/operation.rb
azure_mgmt_container_instance-0.17.6 lib/2018-09-01/generated/azure_mgmt_container_instance/models/operation.rb
azure_mgmt_container_instance-0.17.5 lib/2018-09-01/generated/azure_mgmt_container_instance/models/operation.rb
azure_mgmt_container_instance-0.17.4 lib/2018-09-01/generated/azure_mgmt_container_instance/models/operation.rb
azure_mgmt_container_instance-0.17.3 lib/2018-09-01/generated/azure_mgmt_container_instance/models/operation.rb
azure_mgmt_container_instance-0.17.2 lib/2018-09-01/generated/azure_mgmt_container_instance/models/operation.rb