RoleEligibilityScheduleRequestPropertiesTicketInfo Class

  • java.lang.Object
    • com.azure.resourcemanager.authorization.models.RoleEligibilityScheduleRequestPropertiesTicketInfo

Implements

public final class RoleEligibilityScheduleRequestPropertiesTicketInfo
implements JsonSerializable<RoleEligibilityScheduleRequestPropertiesTicketInfo>

Ticket Info of the role eligibility.

Constructor Summary

Constructor Description
RoleEligibilityScheduleRequestPropertiesTicketInfo()

Creates an instance of RoleEligibilityScheduleRequestPropertiesTicketInfo class.

Method Summary

Modifier and Type Method and Description
static RoleEligibilityScheduleRequestPropertiesTicketInfo fromJson(JsonReader jsonReader)

Reads an instance of RoleEligibilityScheduleRequestPropertiesTicketInfo from the JsonReader.

String ticketNumber()

Get the ticketNumber property: Ticket number for the role eligibility.

String ticketSystem()

Get the ticketSystem property: Ticket system name for the role eligibility.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

RoleEligibilityScheduleRequestPropertiesTicketInfo withTicketNumber(String ticketNumber)

Set the ticketNumber property: Ticket number for the role eligibility.

RoleEligibilityScheduleRequestPropertiesTicketInfo withTicketSystem(String ticketSystem)

Set the ticketSystem property: Ticket system name for the role eligibility.

Methods inherited from java.lang.Object

Constructor Details

RoleEligibilityScheduleRequestPropertiesTicketInfo

public RoleEligibilityScheduleRequestPropertiesTicketInfo()

Creates an instance of RoleEligibilityScheduleRequestPropertiesTicketInfo class.

Method Details

fromJson

public static RoleEligibilityScheduleRequestPropertiesTicketInfo fromJson(JsonReader jsonReader)

Reads an instance of RoleEligibilityScheduleRequestPropertiesTicketInfo from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

ticketNumber

public String ticketNumber()

Get the ticketNumber property: Ticket number for the role eligibility.

Returns:

the ticketNumber value.

ticketSystem

public String ticketSystem()

Get the ticketSystem property: Ticket system name for the role eligibility.

Returns:

the ticketSystem value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

withTicketNumber

public RoleEligibilityScheduleRequestPropertiesTicketInfo withTicketNumber(String ticketNumber)

Set the ticketNumber property: Ticket number for the role eligibility.

Parameters:

ticketNumber - the ticketNumber value to set.

Returns:

the RoleEligibilityScheduleRequestPropertiesTicketInfo object itself.

withTicketSystem

public RoleEligibilityScheduleRequestPropertiesTicketInfo withTicketSystem(String ticketSystem)

Set the ticketSystem property: Ticket system name for the role eligibility.

Parameters:

ticketSystem - the ticketSystem value to set.

Returns:

the RoleEligibilityScheduleRequestPropertiesTicketInfo object itself.

Applies to