Klasse Schedule
java.lang.Object
io.github.primelib.pagerduty4j.rest.model.Schedule
@Generated("io.github.primelib.primecodegen.javafeign.JavaFeignGenerator")
public class Schedule
extends Object
Schedule
-
Verschachtelte Klassen - Übersicht
Modifizierer und TypKlasseBeschreibungstatic class
static enum
The type of object being created. -
Feldübersicht
Modifizierer und TypFeldBeschreibungprotected String
The description of the scheduleprotected List<EscalationPolicyReference>
An array of all of the escalation policies that uses this schedule.protected SubSchedule
protected String
a URL at which the entity is uniquely displayed in the Web appprotected String
protected String
The name of the scheduleprotected SubSchedule
protected List<ScheduleLayer>
A list of schedule layers.protected String
the API show URL at which the object is accessibleprotected String
A short-form, server-generated string that provides succinct, important information about an object suitable for primary labeling of an entity in a client.protected List<TeamReference>
An array of all of the teams on the schedule.protected String
The time zone of the schedule.protected Schedule.TypeEnum
The type of object being created.protected List<UserReference>
An array of all of the users on the schedule. -
Konstruktorübersicht
ModifiziererKonstruktorBeschreibungprotected
Schedule()
Schedule
(String id, String summary, Schedule.TypeEnum type, String self, String htmlUrl, List<ScheduleLayer> scheduleLayers, String timeZone, String name, String description, SubSchedule finalSchedule, SubSchedule overridesSubschedule, List<EscalationPolicyReference> escalationPolicies, List<UserReference> users, List<TeamReference> teams) Constructs a validated instance ofSchedule
.Constructs a validated instance ofSchedule
. -
Methodenübersicht
Modifizierer und TypMethodeBeschreibungstatic Schedule.ScheduleBuilder
builder()
protected boolean
The description of the scheduledescription
(String description) The description of the scheduleboolean
An array of all of the escalation policies that uses this schedule.escalationPolicies
(List<EscalationPolicyReference> escalationPolicies) An array of all of the escalation policies that uses this schedule.finalSchedule
(SubSchedule finalSchedule) int
hashCode()
htmlUrl()
a URL at which the entity is uniquely displayed in the Web appa URL at which the entity is uniquely displayed in the Web appid()
name()
The name of the scheduleThe name of the scheduleoverridesSubschedule
(SubSchedule overridesSubschedule) A list of schedule layers.scheduleLayers
(List<ScheduleLayer> scheduleLayers) A list of schedule layers.self()
the API show URL at which the object is accessiblethe API show URL at which the object is accessiblesummary()
A short-form, server-generated string that provides succinct, important information about an object suitable for primary labeling of an entity in a client.A short-form, server-generated string that provides succinct, important information about an object suitable for primary labeling of an entity in a client.teams()
An array of all of the teams on the schedule.teams
(List<TeamReference> teams) An array of all of the teams on the schedule.timeZone()
The time zone of the schedule.The time zone of the schedule.toString()
type()
The type of object being created.type
(Schedule.TypeEnum type) The type of object being created.users()
An array of all of the users on the schedule.users
(List<UserReference> users) An array of all of the users on the schedule.
-
Felddetails
-
id
-
summary
A short-form, server-generated string that provides succinct, important information about an object suitable for primary labeling of an entity in a client. In many cases, this will be identical toname
, though it is not intended to be an identifier. -
type
The type of object being created. -
self
the API show URL at which the object is accessible -
htmlUrl
a URL at which the entity is uniquely displayed in the Web app -
scheduleLayers
A list of schedule layers. -
timeZone
The time zone of the schedule. -
name
The name of the schedule -
description
The description of the schedule -
finalSchedule
-
overridesSubschedule
-
escalationPolicies
An array of all of the escalation policies that uses this schedule. -
users
An array of all of the users on the schedule. -
teams
An array of all of the teams on the schedule.
-
-
Konstruktordetails
-
Schedule
Constructs a validated instance ofSchedule
.- Parameter:
spec
- the specification to process
-
Schedule
@Internal public Schedule(String id, String summary, Schedule.TypeEnum type, String self, String htmlUrl, List<ScheduleLayer> scheduleLayers, String timeZone, String name, String description, SubSchedule finalSchedule, SubSchedule overridesSubschedule, List<EscalationPolicyReference> escalationPolicies, List<UserReference> users, List<TeamReference> teams) Constructs a validated instance ofSchedule
.NOTE: This constructor is not considered stable and may change if the model is updated. Consider using
Schedule(Consumer)
instead.- Parameter:
id
- idsummary
- A short-form, server-generated string that provides succinct, important information about an object suitable for primary labeling of an entity in a client. In many cases, this will be identical toname
, though it is not intended to be an identifier.type
- The type of object being created.self
- the API show URL at which the object is accessiblehtmlUrl
- a URL at which the entity is uniquely displayed in the Web appscheduleLayers
- A list of schedule layers.timeZone
- The time zone of the schedule.name
- The name of the scheduledescription
- The description of the schedulefinalSchedule
- finalScheduleoverridesSubschedule
- overridesSubscheduleescalationPolicies
- An array of all of the escalation policies that uses this schedule.users
- An array of all of the users on the schedule.teams
- An array of all of the teams on the schedule.
-
Schedule
protected Schedule()
-
-
Methodendetails
-
builder
-
id
-
summary
A short-form, server-generated string that provides succinct, important information about an object suitable for primary labeling of an entity in a client. In many cases, this will be identical toname
, though it is not intended to be an identifier. -
type
The type of object being created. -
self
the API show URL at which the object is accessible -
htmlUrl
a URL at which the entity is uniquely displayed in the Web app -
scheduleLayers
A list of schedule layers. -
timeZone
The time zone of the schedule. -
name
The name of the schedule -
description
The description of the schedule -
finalSchedule
-
overridesSubschedule
-
escalationPolicies
An array of all of the escalation policies that uses this schedule. -
users
An array of all of the users on the schedule. -
teams
An array of all of the teams on the schedule. -
id
- Gibt zurück:
this
.
-
summary
A short-form, server-generated string that provides succinct, important information about an object suitable for primary labeling of an entity in a client. In many cases, this will be identical toname
, though it is not intended to be an identifier.- Gibt zurück:
this
.
-
type
The type of object being created.- Gibt zurück:
this
.
-
self
the API show URL at which the object is accessible- Gibt zurück:
this
.
-
htmlUrl
a URL at which the entity is uniquely displayed in the Web app- Gibt zurück:
this
.
-
scheduleLayers
A list of schedule layers.- Gibt zurück:
this
.
-
timeZone
The time zone of the schedule.- Gibt zurück:
this
.
-
name
The name of the schedule- Gibt zurück:
this
.
-
description
The description of the schedule- Gibt zurück:
this
.
-
finalSchedule
- Gibt zurück:
this
.
-
overridesSubschedule
- Gibt zurück:
this
.
-
escalationPolicies
An array of all of the escalation policies that uses this schedule.- Gibt zurück:
this
.
-
users
An array of all of the users on the schedule.- Gibt zurück:
this
.
-
teams
An array of all of the teams on the schedule.- Gibt zurück:
this
.
-
equals
-
canEqual
-
hashCode
public int hashCode() -
toString
-