ServiceLevelAgreement Class

  • java.lang.Object
    • com.azure.resourcemanager.support.models.ServiceLevelAgreement

Implements

public final class ServiceLevelAgreement
implements JsonSerializable<ServiceLevelAgreement>

Service Level Agreement details for a support ticket.

Constructor Summary

Constructor Description
ServiceLevelAgreement()

Creates an instance of ServiceLevelAgreement class.

Method Summary

Modifier and Type Method and Description
OffsetDateTime expirationTime()

Get the expirationTime property: Time in UTC (ISO 8601 format) when the service level agreement expires.

static ServiceLevelAgreement fromJson(JsonReader jsonReader)

Reads an instance of ServiceLevelAgreement from the JsonReader.

Integer slaMinutes()

Get the slaMinutes property: Service Level Agreement in minutes.

OffsetDateTime startTime()

Get the startTime property: Time in UTC (ISO 8601 format) when the service level agreement starts.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

Methods inherited from java.lang.Object

Constructor Details

ServiceLevelAgreement

public ServiceLevelAgreement()

Creates an instance of ServiceLevelAgreement class.

Method Details

expirationTime

public OffsetDateTime expirationTime()

Get the expirationTime property: Time in UTC (ISO 8601 format) when the service level agreement expires.

Returns:

the expirationTime value.

fromJson

public static ServiceLevelAgreement fromJson(JsonReader jsonReader)

Reads an instance of ServiceLevelAgreement from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of ServiceLevelAgreement if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.

Throws:

IOException

- If an error occurs while reading the ServiceLevelAgreement.

slaMinutes

public Integer slaMinutes()

Get the slaMinutes property: Service Level Agreement in minutes.

Returns:

the slaMinutes value.

startTime

public OffsetDateTime startTime()

Get the startTime property: Time in UTC (ISO 8601 format) when the service level agreement starts.

Returns:

the startTime value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

Applies to