Class: Azure::ServiceFabric::V6_5_0_36::Models::DiagnosticsSinkProperties

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

Overview

Properties of a DiagnosticsSink.

Constant Summary collapse

@@discriminatorMap =
Hash.new

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeDiagnosticsSinkProperties

Returns a new instance of DiagnosticsSinkProperties.



18
19
20
# File 'lib/6.5.0.36/generated/azure_service_fabric/models/diagnostics_sink_properties.rb', line 18

def initialize
  @kind = "DiagnosticsSinkProperties"
end

Instance Attribute Details

#descriptionString

Returns A description of the sink.

Returns:

  • (String)

    A description of the sink.



29
30
31
# File 'lib/6.5.0.36/generated/azure_service_fabric/models/diagnostics_sink_properties.rb', line 29

def description
  @description
end

#kindObject

Returns the value of attribute kind.



22
23
24
# File 'lib/6.5.0.36/generated/azure_service_fabric/models/diagnostics_sink_properties.rb', line 22

def kind
  @kind
end

#nameString

DiagnosticsReferenceDescription

Returns:

  • (String)

    Name of the sink. This value is referenced by



26
27
28
# File 'lib/6.5.0.36/generated/azure_service_fabric/models/diagnostics_sink_properties.rb', line 26

def name
  @name
end

Class Method Details

.mapperObject

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



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
# File 'lib/6.5.0.36/generated/azure_service_fabric/models/diagnostics_sink_properties.rb', line 36

def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'DiagnosticsSinkProperties',
    type: {
      name: 'Composite',
      polymorphic_discriminator: 'kind',
      uber_parent: 'DiagnosticsSinkProperties',
      class_name: 'DiagnosticsSinkProperties',
      model_properties: {
        name: {
          client_side_validation: true,
          required: false,
          serialized_name: 'name',
          type: {
            name: 'String'
          }
        },
        description: {
          client_side_validation: true,
          required: false,
          serialized_name: 'description',
          type: {
            name: 'String'
          }
        }
      }
    }
  }
end