RoleEligibilityScheduleRequestPropertiesTicketInfo Class
- java.
lang. Object - com.
azure. resourcemanager. authorization. models. RoleEligibilityScheduleRequestPropertiesTicketInfo
- com.
Implements
public final class RoleEligibilityScheduleRequestPropertiesTicketInfo
implements JsonSerializable<RoleEligibilityScheduleRequestPropertiesTicketInfo>
Ticket Info of the role eligibility.
Constructor Summary
Constructor | Description |
---|---|
RoleEligibilityScheduleRequestPropertiesTicketInfo() |
Creates an instance of Role |
Method Summary
Modifier and Type | Method and Description |
---|---|
static
Role |
fromJson(JsonReader jsonReader)
Reads an instance of Role |
String |
ticketNumber()
Get the ticket |
String |
ticketSystem()
Get the ticket |
Json |
toJson(JsonWriter jsonWriter) |
void |
validate()
Validates the instance. |
Role |
withTicketNumber(String ticketNumber)
Set the ticket |
Role |
withTicketSystem(String ticketSystem)
Set the ticket |
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:
Returns:
Throws:
ticketNumber
public String ticketNumber()
Get the ticketNumber property: Ticket number for the role eligibility.
Returns:
ticketSystem
public String ticketSystem()
Get the ticketSystem property: Ticket system name for the role eligibility.
Returns:
toJson
validate
public void validate()
Validates the instance.
withTicketNumber
public RoleEligibilityScheduleRequestPropertiesTicketInfo withTicketNumber(String ticketNumber)
Set the ticketNumber property: Ticket number for the role eligibility.
Parameters:
Returns:
withTicketSystem
public RoleEligibilityScheduleRequestPropertiesTicketInfo withTicketSystem(String ticketSystem)
Set the ticketSystem property: Ticket system name for the role eligibility.
Parameters:
Returns:
Applies to
Azure SDK for Java