Class: Azure::ARM::StreamAnalytics::Models::ResourceTestStatus

Inherits:
Object
  • Object
show all
Includes:
MsRest::JSONable, MsRestAzure
Defined in:
lib/generated/azure_mgmt_stream_analytics/models/resource_test_status.rb

Overview

Describes the status of the test operation along with error information, if applicable.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Attribute Details

#errorErrorResponse

Returns Describes the error that occurred.

Returns:



21
22
23
# File 'lib/generated/azure_mgmt_stream_analytics/models/resource_test_status.rb', line 21

def error
  @error
end

#statusString

Returns The status of the test operation.

Returns:

  • (String)

    The status of the test operation.



18
19
20
# File 'lib/generated/azure_mgmt_stream_analytics/models/resource_test_status.rb', line 18

def status
  @status
end

Class Method Details

.mapperObject

Mapper for ResourceTestStatus class as Ruby Hash. This will be used for serialization/deserialization.



28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
# File 'lib/generated/azure_mgmt_stream_analytics/models/resource_test_status.rb', line 28

def self.mapper()
  {
    required: false,
    serialized_name: 'ResourceTestStatus',
    type: {
      name: 'Composite',
      class_name: 'ResourceTestStatus',
      model_properties: {
        status: {
          required: false,
          read_only: true,
          serialized_name: 'status',
          type: {
            name: 'String'
          }
        },
        error: {
          required: false,
          read_only: true,
          serialized_name: 'error',
          type: {
            name: 'Composite',
            class_name: 'ErrorResponse'
          }
        }
      }
    }
  }
end