Sha256: cc1c996f6a64bfde3361967a9c5c0bf5f301e42e3501e3a60a5cd1c3e3af4282

Contents?: true

Size: 1.94 KB

Versions: 8

Compression:

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

Version data entries

8 entries across 8 versions & 1 rubygems

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