Class: Azure::ServiceFabric::V6_4_0_36::Models::AnalysisEventMetadata

Inherits:
Object
  • Object
show all
Includes:
MsRestAzure
Defined in:
lib/6.4.0.36/generated/azure_service_fabric/models/analysis_event_metadata.rb

Overview

Metadata about an Analysis Event.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Attribute Details

#delayDuration

Returns The analysis delay.

Returns:

  • (Duration)

    The analysis delay.



16
17
18
# File 'lib/6.4.0.36/generated/azure_service_fabric/models/analysis_event_metadata.rb', line 16

def delay
  @delay
end

#durationDuration

Returns The duration of analysis.

Returns:

  • (Duration)

    The duration of analysis.



19
20
21
# File 'lib/6.4.0.36/generated/azure_service_fabric/models/analysis_event_metadata.rb', line 19

def duration
  @duration
end

Class Method Details

.mapperObject

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



26
27
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
# File 'lib/6.4.0.36/generated/azure_service_fabric/models/analysis_event_metadata.rb', line 26

def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'AnalysisEventMetadata',
    type: {
      name: 'Composite',
      class_name: 'AnalysisEventMetadata',
      model_properties: {
        delay: {
          client_side_validation: true,
          required: false,
          serialized_name: 'Delay',
          type: {
            name: 'TimeSpan'
          }
        },
        duration: {
          client_side_validation: true,
          required: false,
          serialized_name: 'Duration',
          type: {
            name: 'TimeSpan'
          }
        }
      }
    }
  }
end