Class: Azure::Support::Mgmt::V2020_04_01::Models::ServiceLevelAgreement
- Inherits:
-
Object
- Object
- Azure::Support::Mgmt::V2020_04_01::Models::ServiceLevelAgreement
- Includes:
- MsRestAzure
- Defined in:
- lib/2020-04-01/generated/azure_mgmt_support/models/service_level_agreement.rb
Overview
Service Level Agreement details for a support ticket.
Instance Attribute Summary collapse
-
#expiration_time ⇒ DateTime
agreement expires.
-
#sla_minutes ⇒ Integer
Service Level Agreement in minutes.
-
#start_time ⇒ DateTime
agreement starts.
Class Method Summary collapse
-
.mapper ⇒ Object
Mapper for ServiceLevelAgreement class as Ruby Hash.
Instance Attribute Details
#expiration_time ⇒ DateTime
agreement expires.
21 22 23 |
# File 'lib/2020-04-01/generated/azure_mgmt_support/models/service_level_agreement.rb', line 21 def expiration_time @expiration_time end |
#sla_minutes ⇒ Integer
Returns Service Level Agreement in minutes.
24 25 26 |
# File 'lib/2020-04-01/generated/azure_mgmt_support/models/service_level_agreement.rb', line 24 def sla_minutes @sla_minutes end |
#start_time ⇒ DateTime
agreement starts.
17 18 19 |
# File 'lib/2020-04-01/generated/azure_mgmt_support/models/service_level_agreement.rb', line 17 def start_time @start_time end |
Class Method Details
.mapper ⇒ Object
Mapper for ServiceLevelAgreement class as Ruby Hash. This will be used for serialization/deserialization.
31 32 33 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 |
# File 'lib/2020-04-01/generated/azure_mgmt_support/models/service_level_agreement.rb', line 31 def self.mapper() { client_side_validation: true, required: false, serialized_name: 'ServiceLevelAgreement', type: { name: 'Composite', class_name: 'ServiceLevelAgreement', model_properties: { start_time: { client_side_validation: true, required: false, read_only: true, serialized_name: 'startTime', type: { name: 'DateTime' } }, expiration_time: { client_side_validation: true, required: false, read_only: true, serialized_name: 'expirationTime', type: { name: 'DateTime' } }, sla_minutes: { client_side_validation: true, required: false, read_only: true, serialized_name: 'slaMinutes', type: { name: 'Number' } } } } } end |