Class: Azure::ARM::Network::Models::TroubleshootingResult

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

Overview

Troubleshooting information gained from specified resource.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Attribute Details

#codeString

Returns The result code of the troubleshooting.

Returns:

  • (String)

    The result code of the troubleshooting.



23
24
25
# File 'lib/generated/azure_mgmt_network/models/troubleshooting_result.rb', line 23

def code
  @code
end

#end_timeDateTime

Returns The end time of the troubleshooting.

Returns:

  • (DateTime)

    The end time of the troubleshooting.



20
21
22
# File 'lib/generated/azure_mgmt_network/models/troubleshooting_result.rb', line 20

def end_time
  @end_time
end

#resultsArray<TroubleshootingDetails>

troubleshooting.

Returns:



27
28
29
# File 'lib/generated/azure_mgmt_network/models/troubleshooting_result.rb', line 27

def results
  @results
end

#start_timeDateTime

Returns The start time of the troubleshooting.

Returns:

  • (DateTime)

    The start time of the troubleshooting.



17
18
19
# File 'lib/generated/azure_mgmt_network/models/troubleshooting_result.rb', line 17

def start_time
  @start_time
end

Class Method Details

.mapperObject

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



34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
# File 'lib/generated/azure_mgmt_network/models/troubleshooting_result.rb', line 34

def self.mapper()
  {
    required: false,
    serialized_name: 'TroubleshootingResult',
    type: {
      name: 'Composite',
      class_name: 'TroubleshootingResult',
      model_properties: {
        start_time: {
          required: false,
          serialized_name: 'startTime',
          type: {
            name: 'DateTime'
          }
        },
        end_time: {
          required: false,
          serialized_name: 'endTime',
          type: {
            name: 'DateTime'
          }
        },
        code: {
          required: false,
          serialized_name: 'code',
          type: {
            name: 'String'
          }
        },
        results: {
          required: false,
          serialized_name: 'results',
          type: {
            name: 'Sequence',
            element: {
                required: false,
                serialized_name: 'TroubleshootingDetailsElementType',
                type: {
                  name: 'Composite',
                  class_name: 'TroubleshootingDetails'
                }
            }
          }
        }
      }
    }
  }
end