java.lang.Object
io.github.primelib.pagerduty4j.rest.model.Schedule

@Generated("io.github.primelib.primecodegen.javafeign.JavaFeignGenerator") public class Schedule extends Object
Schedule
  • Felddetails

    • id

      protected String id
    • summary

      protected String 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 to name, though it is not intended to be an identifier.
    • type

      protected Schedule.TypeEnum type
      The type of object being created.
    • self

      protected String self
      the API show URL at which the object is accessible
    • htmlUrl

      protected String htmlUrl
      a URL at which the entity is uniquely displayed in the Web app
    • scheduleLayers

      protected List<ScheduleLayer> scheduleLayers
      A list of schedule layers.
    • timeZone

      protected String timeZone
      The time zone of the schedule.
    • name

      protected String name
      The name of the schedule
    • description

      protected String description
      The description of the schedule
    • finalSchedule

      protected SubSchedule finalSchedule
    • overridesSubschedule

      protected SubSchedule overridesSubschedule
    • escalationPolicies

      protected List<EscalationPolicyReference> escalationPolicies
      An array of all of the escalation policies that uses this schedule.
    • users

      protected List<UserReference> users
      An array of all of the users on the schedule.
    • teams

      protected List<TeamReference> teams
      An array of all of the teams on the schedule.
  • Konstruktordetails

    • Schedule

      public Schedule(Consumer<Schedule> spec)
      Constructs a validated instance of Schedule.
      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 of Schedule.

      NOTE: This constructor is not considered stable and may change if the model is updated. Consider using Schedule(Consumer) instead.

      Parameter:
      id - 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 to name, 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 - finalSchedule
      overridesSubschedule - 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.
    • Schedule

      protected Schedule()
  • Methodendetails

    • builder

      public static Schedule.ScheduleBuilder builder()
    • id

      public String id()
    • summary

      public String 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 to name, though it is not intended to be an identifier.
    • type

      public Schedule.TypeEnum type()
      The type of object being created.
    • self

      public String self()
      the API show URL at which the object is accessible
    • htmlUrl

      public String htmlUrl()
      a URL at which the entity is uniquely displayed in the Web app
    • scheduleLayers

      public List<ScheduleLayer> scheduleLayers()
      A list of schedule layers.
    • timeZone

      public String timeZone()
      The time zone of the schedule.
    • name

      public String name()
      The name of the schedule
    • description

      public String description()
      The description of the schedule
    • finalSchedule

      public SubSchedule finalSchedule()
    • overridesSubschedule

      public SubSchedule overridesSubschedule()
    • escalationPolicies

      public List<EscalationPolicyReference> escalationPolicies()
      An array of all of the escalation policies that uses this schedule.
    • users

      public List<UserReference> users()
      An array of all of the users on the schedule.
    • teams

      public List<TeamReference> teams()
      An array of all of the teams on the schedule.
    • id

      public Schedule id(String id)
      Gibt zurück:
      this.
    • summary

      public Schedule summary(String 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 to name, though it is not intended to be an identifier.
      Gibt zurück:
      this.
    • type

      public Schedule type(Schedule.TypeEnum type)
      The type of object being created.
      Gibt zurück:
      this.
    • self

      public Schedule self(String self)
      the API show URL at which the object is accessible
      Gibt zurück:
      this.
    • htmlUrl

      public Schedule htmlUrl(String htmlUrl)
      a URL at which the entity is uniquely displayed in the Web app
      Gibt zurück:
      this.
    • scheduleLayers

      public Schedule scheduleLayers(List<ScheduleLayer> scheduleLayers)
      A list of schedule layers.
      Gibt zurück:
      this.
    • timeZone

      public Schedule timeZone(String timeZone)
      The time zone of the schedule.
      Gibt zurück:
      this.
    • name

      public Schedule name(String name)
      The name of the schedule
      Gibt zurück:
      this.
    • description

      public Schedule description(String description)
      The description of the schedule
      Gibt zurück:
      this.
    • finalSchedule

      public Schedule finalSchedule(SubSchedule finalSchedule)
      Gibt zurück:
      this.
    • overridesSubschedule

      public Schedule overridesSubschedule(SubSchedule overridesSubschedule)
      Gibt zurück:
      this.
    • escalationPolicies

      public Schedule escalationPolicies(List<EscalationPolicyReference> escalationPolicies)
      An array of all of the escalation policies that uses this schedule.
      Gibt zurück:
      this.
    • users

      public Schedule users(List<UserReference> users)
      An array of all of the users on the schedule.
      Gibt zurück:
      this.
    • teams

      public Schedule teams(List<TeamReference> teams)
      An array of all of the teams on the schedule.
      Gibt zurück:
      this.
    • equals

      public boolean equals(Object o)
      Setzt außer Kraft:
      equals in Klasse Object
    • canEqual

      protected boolean canEqual(Object other)
    • hashCode

      public int hashCode()
      Setzt außer Kraft:
      hashCode in Klasse Object
    • toString

      public String toString()
      Setzt außer Kraft:
      toString in Klasse Object