Sha256: a39d1de405ab9ea279704d6c7d45b782ce6aeeab43c94aff8f040c3edcdfd4ad

Contents?: true

Size: 1.71 KB

Versions: 2

Compression:

Stored size: 1.71 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::MarketplaceOrdering::Mgmt::V2015_06_01
  module Models
    #
    # The object that represents the operation.
    #
    class OperationDisplay

      include MsRestAzure

      # @return [String] Service provider: Microsoft.MarketplaceOrdering
      attr_accessor :provider

      # @return [String] Resource on which the operation is performed:
      # Agreement, virtualmachine, etc.
      attr_accessor :resource

      # @return [String] Operation type: Get Agreement, Sign Agreement, Cancel
      # Agreement etc.
      attr_accessor :operation


      #
      # Mapper for OperationDisplay class as Ruby Hash.
      # This will be used for serialization/deserialization.
      #
      def self.mapper()
        {
          required: false,
          serialized_name: 'Operation_display',
          type: {
            name: 'Composite',
            class_name: 'OperationDisplay',
            model_properties: {
              provider: {
                required: false,
                serialized_name: 'provider',
                type: {
                  name: 'String'
                }
              },
              resource: {
                required: false,
                serialized_name: 'resource',
                type: {
                  name: 'String'
                }
              },
              operation: {
                required: false,
                serialized_name: 'operation',
                type: {
                  name: 'String'
                }
              }
            }
          }
        }
      end
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
azure_mgmt_marketplace_ordering-0.15.1 lib/2015-06-01/generated/azure_mgmt_marketplace_ordering/models/operation_display.rb
azure_mgmt_marketplace_ordering-0.15.0 lib/2015-06-01/generated/azure_mgmt_marketplace_ordering/models/operation_display.rb