Class: Azure::ServiceFabric::V6_4_0_36::Models::DiagnosticsSinkProperties
- Inherits:
-
Object
- Object
- Azure::ServiceFabric::V6_4_0_36::Models::DiagnosticsSinkProperties
- Includes:
- MsRestAzure
- Defined in:
- lib/6.4.0.36/generated/azure_service_fabric/models/diagnostics_sink_properties.rb
Overview
Properties of a DiagnosticsSink.
Direct Known Subclasses
Constant Summary collapse
- @@discriminatorMap =
Hash.new
Instance Attribute Summary collapse
-
#description ⇒ String
A description of the sink.
-
#kind ⇒ Object
Returns the value of attribute kind.
-
#name ⇒ String
DiagnosticsReferenceDescription.
Class Method Summary collapse
-
.mapper ⇒ Object
Mapper for DiagnosticsSinkProperties class as Ruby Hash.
Instance Method Summary collapse
-
#initialize ⇒ DiagnosticsSinkProperties
constructor
A new instance of DiagnosticsSinkProperties.
Constructor Details
#initialize ⇒ DiagnosticsSinkProperties
Returns a new instance of DiagnosticsSinkProperties.
18 19 20 |
# File 'lib/6.4.0.36/generated/azure_service_fabric/models/diagnostics_sink_properties.rb', line 18 def initialize @kind = "DiagnosticsSinkProperties" end |
Instance Attribute Details
#description ⇒ String
Returns A description of the sink.
29 30 31 |
# File 'lib/6.4.0.36/generated/azure_service_fabric/models/diagnostics_sink_properties.rb', line 29 def description @description end |
#kind ⇒ Object
Returns the value of attribute kind.
22 23 24 |
# File 'lib/6.4.0.36/generated/azure_service_fabric/models/diagnostics_sink_properties.rb', line 22 def kind @kind end |
#name ⇒ String
DiagnosticsReferenceDescription
26 27 28 |
# File 'lib/6.4.0.36/generated/azure_service_fabric/models/diagnostics_sink_properties.rb', line 26 def name @name end |
Class Method Details
.mapper ⇒ Object
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.4.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 |