Class: Azure::SecurityInsights::Mgmt::V2019_01_01_preview::Models::CasesAggregation
- Inherits:
-
Aggregations
- Object
- Aggregations
- Azure::SecurityInsights::Mgmt::V2019_01_01_preview::Models::CasesAggregation
- Includes:
- MsRestAzure
- Defined in:
- lib/2019-01-01-preview/generated/azure_mgmt_security_insights/models/cases_aggregation.rb
Overview
Represents aggregations results for cases.
Instance Attribute Summary collapse
-
#aggregation_by_severity ⇒ CasesAggregationBySeverityProperties
case severity.
-
#aggregation_by_status ⇒ CasesAggregationByStatusProperties
case status.
-
#kind ⇒ Object
Returns the value of attribute kind.
Attributes inherited from Aggregations
Class Method Summary collapse
-
.mapper ⇒ Object
Mapper for CasesAggregation class as Ruby Hash.
Instance Method Summary collapse
-
#initialize ⇒ CasesAggregation
constructor
A new instance of CasesAggregation.
Constructor Details
#initialize ⇒ CasesAggregation
Returns a new instance of CasesAggregation.
16 17 18 |
# File 'lib/2019-01-01-preview/generated/azure_mgmt_security_insights/models/cases_aggregation.rb', line 16 def initialize @kind = "CasesAggregation" end |
Instance Attribute Details
#aggregation_by_severity ⇒ CasesAggregationBySeverityProperties
case severity.
24 25 26 |
# File 'lib/2019-01-01-preview/generated/azure_mgmt_security_insights/models/cases_aggregation.rb', line 24 def aggregation_by_severity @aggregation_by_severity end |
#aggregation_by_status ⇒ CasesAggregationByStatusProperties
case status.
28 29 30 |
# File 'lib/2019-01-01-preview/generated/azure_mgmt_security_insights/models/cases_aggregation.rb', line 28 def aggregation_by_status @aggregation_by_status end |
#kind ⇒ Object
Returns the value of attribute kind.
20 21 22 |
# File 'lib/2019-01-01-preview/generated/azure_mgmt_security_insights/models/cases_aggregation.rb', line 20 def kind @kind end |
Class Method Details
.mapper ⇒ Object
Mapper for CasesAggregation class as Ruby Hash. This will be used for serialization/deserialization.
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 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 |
# File 'lib/2019-01-01-preview/generated/azure_mgmt_security_insights/models/cases_aggregation.rb', line 35 def self.mapper() { client_side_validation: true, required: false, serialized_name: 'CasesAggregation', type: { name: 'Composite', class_name: 'CasesAggregation', model_properties: { id: { client_side_validation: true, required: false, read_only: true, serialized_name: 'id', type: { name: 'String' } }, name: { client_side_validation: true, required: false, read_only: true, serialized_name: 'name', type: { name: 'String' } }, type: { client_side_validation: true, required: false, read_only: true, serialized_name: 'type', type: { name: 'String' } }, kind: { client_side_validation: true, required: true, serialized_name: 'kind', type: { name: 'String' } }, aggregation_by_severity: { client_side_validation: true, required: false, serialized_name: 'properties.aggregationBySeverity', type: { name: 'Composite', class_name: 'CasesAggregationBySeverityProperties' } }, aggregation_by_status: { client_side_validation: true, required: false, serialized_name: 'properties.aggregationByStatus', type: { name: 'Composite', class_name: 'CasesAggregationByStatusProperties' } } } } } end |