Restrictions

public final class Restrictions

Container of the Restrictions associated to this ticket.

Parameters

type

Type of the Restriction.

max

Maximum value allowed for the restriction type.

min

Minimum value allowed for the restriction type.

description

The text to describe the restriction.

Constructors

Link copied to clipboard
public Restrictions Restrictions(String type, String max, String min, String description)

Types

Link copied to clipboard
public final class Builder

Properties

Link copied to clipboard
@Valid()
private final String description
Link copied to clipboard
@NotNull()
@Valid()
private final String max
Link copied to clipboard
@NotNull()
@Valid()
private final String min
Link copied to clipboard
@NotNull()
@Valid()
private final String type

Functions

Link copied to clipboard
public final static Restrictions.Builder builder()
Link copied to clipboard
public final String getDescription()
Link copied to clipboard
public final String getMax()
Link copied to clipboard
public final String getMin()
Link copied to clipboard
public final String getType()
Link copied to clipboard