Sha256: 3e92b9e9ce8abf9036a665d5c7c9dda30d1da77daa72404bfcdcad4efe0614e2

Contents?: true

Size: 1.88 KB

Versions: 2

Compression:

Stored size: 1.88 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::Mgmt::V2016_09_01
  module Models
    #
    # Available operation list result
    #
    class OperationResult

      include MsRestAzure

      # @return [String] Result name
      attr_accessor :name

      # @return [AvailableOperationDisplay] Dispaly of the result
      attr_accessor :display

      # @return [String] Origin result
      attr_accessor :origin

      # @return [String] The URL to use for getting the next set of results.
      attr_accessor :next_link


      #
      # Mapper for OperationResult class as Ruby Hash.
      # This will be used for serialization/deserialization.
      #
      def self.mapper()
        {
          required: false,
          serialized_name: 'OperationResult',
          type: {
            name: 'Composite',
            class_name: 'OperationResult',
            model_properties: {
              name: {
                required: false,
                serialized_name: 'name',
                type: {
                  name: 'String'
                }
              },
              display: {
                required: false,
                serialized_name: 'display',
                type: {
                  name: 'Composite',
                  class_name: 'AvailableOperationDisplay'
                }
              },
              origin: {
                required: false,
                serialized_name: 'origin',
                type: {
                  name: 'String'
                }
              },
              next_link: {
                required: false,
                serialized_name: 'nextLink',
                type: {
                  name: 'String'
                }
              }
            }
          }
        }
      end
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
azure_mgmt_service_fabric-0.15.1 lib/2016-09-01/generated/azure_mgmt_service_fabric/models/operation_result.rb
azure_mgmt_service_fabric-0.15.0 lib/2016-09-01/generated/azure_mgmt_service_fabric/models/operation_result.rb