Klasse ListServicesOperationSpec

java.lang.Object
io.github.primelib.pagerduty4j.rest.spec.ListServicesOperationSpec

@Generated("io.github.primelib.primecodegen.javafeign.JavaFeignGenerator") public class ListServicesOperationSpec extends Object
ListServicesSpec

Specification for the ListServices operation.

List services

  • Felddetails

    • VALIDATION_ENABLED

      @Experimental public static Boolean VALIDATION_ENABLED
      allows to disable validation of the spec, use with care!
  • Konstruktordetails

    • ListServicesOperationSpec

      @Internal public ListServicesOperationSpec(Consumer<ListServicesOperationSpec> spec)
      Constructs a validated instance of ListServicesOperationSpec.
      Parameter:
      spec - the specification to process
    • ListServicesOperationSpec

      @Internal public ListServicesOperationSpec(String query, Integer limit, Integer offset, Boolean total, Set<String> teamIds, String timeZone, String sortBy, String include)
      Constructs a validated instance of ListServicesOperationSpec.

      NOTE: This constructor is not considered stable and may change if the operation is updated.

      Parameter:
      query - Filters the result, showing only the records whose name matches the query.
      limit - The number of results per page.
      offset - Offset to start pagination search results.
      total - By default the total field in pagination responses is set to null to provide the fastest possible response times. Set total to true for this field to be populated. See our [Pagination Docs](https://developer.pagerduty.com/docs/rest-api-v2/pagination/) for more information.
      teamIds - An array of team IDs. Only results related to these teams will be returned. Account must have the teams ability to use this parameter.
      timeZone - Time zone in which results will be rendered. This will default to the account time zone.
      sortBy - Used to specify the field you wish to sort the results on.
      include - Array of additional details to include.
    • ListServicesOperationSpec

      protected ListServicesOperationSpec()
  • Methodendetails

    • validate

      public void validate()
      Validates the Spec, will throw a exception if required parameters are missing
      Löst aus:
      NullPointerException
    • builder

    • query

      @Nullable public @Nullable String query()
      Filters the result, showing only the records whose name matches the query.
    • limit

      @Nullable public @Nullable Integer limit()
      The number of results per page.
    • offset

      @Nullable public @Nullable Integer offset()
      Offset to start pagination search results.
    • total

      @Nullable public @Nullable Boolean total()
      By default the total field in pagination responses is set to null to provide the fastest possible response times. Set total to true for this field to be populated. See our [Pagination Docs](https://developer.pagerduty.com/docs/rest-api-v2/pagination/) for more information.
    • teamIds

      @Nullable public @Nullable Set<String> teamIds()
      An array of team IDs. Only results related to these teams will be returned. Account must have the teams ability to use this parameter.
    • timeZone

      @Nullable public @Nullable String timeZone()
      Time zone in which results will be rendered. This will default to the account time zone.
    • sortBy

      @Nullable public @Nullable String sortBy()
      Used to specify the field you wish to sort the results on.
    • include

      @Nullable public @Nullable String include()
      Array of additional details to include.
    • query

      public ListServicesOperationSpec query(@Nullable @Nullable String query)
      Filters the result, showing only the records whose name matches the query.
      Gibt zurück:
      this.
    • limit

      public ListServicesOperationSpec limit(@Nullable @Nullable Integer limit)
      The number of results per page.
      Gibt zurück:
      this.
    • offset

      public ListServicesOperationSpec offset(@Nullable @Nullable Integer offset)
      Offset to start pagination search results.
      Gibt zurück:
      this.
    • total

      public ListServicesOperationSpec total(@Nullable @Nullable Boolean total)
      By default the total field in pagination responses is set to null to provide the fastest possible response times. Set total to true for this field to be populated. See our [Pagination Docs](https://developer.pagerduty.com/docs/rest-api-v2/pagination/) for more information.
      Gibt zurück:
      this.
    • teamIds

      public ListServicesOperationSpec teamIds(@Nullable @Nullable Set<String> teamIds)
      An array of team IDs. Only results related to these teams will be returned. Account must have the teams ability to use this parameter.
      Gibt zurück:
      this.
    • timeZone

      public ListServicesOperationSpec timeZone(@Nullable @Nullable String timeZone)
      Time zone in which results will be rendered. This will default to the account time zone.
      Gibt zurück:
      this.
    • sortBy

      public ListServicesOperationSpec sortBy(@Nullable @Nullable String sortBy)
      Used to specify the field you wish to sort the results on.
      Gibt zurück:
      this.
    • include

      public ListServicesOperationSpec include(@Nullable @Nullable String include)
      Array of additional details to include.
      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