Partager via


RoleAssignmentScheduleRequestPropertiesTicketInfo Class

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

Implements

public final class RoleAssignmentScheduleRequestPropertiesTicketInfo
implements JsonSerializable<RoleAssignmentScheduleRequestPropertiesTicketInfo>

Ticket Info of the role assignment.

Constructor Summary

Constructor Description
RoleAssignmentScheduleRequestPropertiesTicketInfo()

Creates an instance of RoleAssignmentScheduleRequestPropertiesTicketInfo class.

Method Summary

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

Reads an instance of RoleAssignmentScheduleRequestPropertiesTicketInfo from the JsonReader.

String ticketNumber()

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

String ticketSystem()

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

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

RoleAssignmentScheduleRequestPropertiesTicketInfo withTicketNumber(String ticketNumber)

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

RoleAssignmentScheduleRequestPropertiesTicketInfo withTicketSystem(String ticketSystem)

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

Methods inherited from java.lang.Object

Constructor Details

RoleAssignmentScheduleRequestPropertiesTicketInfo

public RoleAssignmentScheduleRequestPropertiesTicketInfo()

Creates an instance of RoleAssignmentScheduleRequestPropertiesTicketInfo class.

Method Details

fromJson

public static RoleAssignmentScheduleRequestPropertiesTicketInfo fromJson(JsonReader jsonReader)

Reads an instance of RoleAssignmentScheduleRequestPropertiesTicketInfo from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

ticketNumber

public String ticketNumber()

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

Returns:

the ticketNumber value.

ticketSystem

public String ticketSystem()

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

Returns:

the ticketSystem value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

withTicketNumber

public RoleAssignmentScheduleRequestPropertiesTicketInfo withTicketNumber(String ticketNumber)

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

Parameters:

ticketNumber - the ticketNumber value to set.

Returns:

the RoleAssignmentScheduleRequestPropertiesTicketInfo object itself.

withTicketSystem

public RoleAssignmentScheduleRequestPropertiesTicketInfo withTicketSystem(String ticketSystem)

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

Parameters:

ticketSystem - the ticketSystem value to set.

Returns:

the RoleAssignmentScheduleRequestPropertiesTicketInfo object itself.

Applies to