Share via


SupportInfo Class

  • java.lang.Object
    • com.azure.resourcemanager.labservices.models.SupportInfo

Implements

public final class SupportInfo
implements JsonSerializable<SupportInfo>

Support contact information and instructions.

Constructor Summary

Constructor Description
SupportInfo()

Creates an instance of SupportInfo class.

Method Summary

Modifier and Type Method and Description
String email()

Get the email property: Support contact email address.

static SupportInfo fromJson(JsonReader jsonReader)

Reads an instance of SupportInfo from the JsonReader.

String instructions()

Get the instructions property: Support instructions.

String phone()

Get the phone property: Support contact phone number.

JsonWriter toJson(JsonWriter jsonWriter)
String url()

Get the url property: Support web address.

void validate()

Validates the instance.

SupportInfo withEmail(String email)

Set the email property: Support contact email address.

SupportInfo withInstructions(String instructions)

Set the instructions property: Support instructions.

SupportInfo withPhone(String phone)

Set the phone property: Support contact phone number.

SupportInfo withUrl(String url)

Set the url property: Support web address.

Methods inherited from java.lang.Object

Constructor Details

SupportInfo

public SupportInfo()

Creates an instance of SupportInfo class.

Method Details

email

public String email()

Get the email property: Support contact email address.

Returns:

the email value.

fromJson

public static SupportInfo fromJson(JsonReader jsonReader)

Reads an instance of SupportInfo from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of SupportInfo 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 SupportInfo.

instructions

public String instructions()

Get the instructions property: Support instructions.

Returns:

the instructions value.

phone

public String phone()

Get the phone property: Support contact phone number.

Returns:

the phone value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

url

public String url()

Get the url property: Support web address.

Returns:

the url value.

validate

public void validate()

Validates the instance.

withEmail

public SupportInfo withEmail(String email)

Set the email property: Support contact email address.

Parameters:

email - the email value to set.

Returns:

the SupportInfo object itself.

withInstructions

public SupportInfo withInstructions(String instructions)

Set the instructions property: Support instructions.

Parameters:

instructions - the instructions value to set.

Returns:

the SupportInfo object itself.

withPhone

public SupportInfo withPhone(String phone)

Set the phone property: Support contact phone number.

Parameters:

phone - the phone value to set.

Returns:

the SupportInfo object itself.

withUrl

public SupportInfo withUrl(String url)

Set the url property: Support web address.

Parameters:

url - the url value to set.

Returns:

the SupportInfo object itself.

Applies to