Sha256: 40100dfe2304181841e60c18d7a208d04a26f37259fb455cf9b0b740e2e30b2f

Contents?: true

Size: 1.46 KB

Versions: 2

Compression:

Stored size: 1.46 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::Resources2::Mgmt::V2020_06_01
  module Models
    #
    # Operation status message object.
    #
    class StatusMessage

      include MsRestAzure2

      # @return [String] Status of the deployment operation.
      attr_accessor :status

      # @return [ErrorResponse] The error reported by the operation.
      attr_accessor :error


      #
      # Mapper for StatusMessage class as Ruby Hash.
      # This will be used for serialization/deserialization.
      #
      def self.mapper()
        {
          client_side_validation: true,
          required: false,
          serialized_name: 'StatusMessage',
          type: {
            name: 'Composite',
            class_name: 'StatusMessage',
            model_properties: {
              status: {
                client_side_validation: true,
                required: false,
                serialized_name: 'status',
                type: {
                  name: 'String'
                }
              },
              error: {
                client_side_validation: true,
                required: false,
                serialized_name: 'error',
                type: {
                  name: 'Composite',
                  class_name: 'ErrorResponse'
                }
              }
            }
          }
        }
      end
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
azure_mgmt_resources2-1.0.1 lib/2020-06-01/generated/azure_mgmt_resources2/models/status_message.rb
azure_mgmt_resources2-1.0.0 lib/2020-06-01/generated/azure_mgmt_resources2/models/status_message.rb