Klasse GetTemplatesOperationSpec.GetTemplatesOperationSpecBuilder
java.lang.Object
io.github.primelib.pagerduty4j.rest.spec.GetTemplatesOperationSpec.GetTemplatesOperationSpecBuilder
- Umschließende Klasse:
GetTemplatesOperationSpec
-
Methodenübersicht
Modifizierer und TypMethodeBeschreibungbuild()
The number of results per page.Offset to start pagination search results.Template name or description to searchUsed to specify both the field you wish to sort the results on (name/created_at), as well as the direction (asc/desc) of the results.templateType
(@Nullable String templateType) Filters templates by type.toString()
By default thetotal
field in pagination responses is set tonull
to provide the fastest possible response times.
-
Methodendetails
-
limit
public GetTemplatesOperationSpec.GetTemplatesOperationSpecBuilder limit(@Nullable @Nullable Integer limit) The number of results per page.- Gibt zurück:
this
.
-
offset
public GetTemplatesOperationSpec.GetTemplatesOperationSpecBuilder offset(@Nullable @Nullable Integer offset) Offset to start pagination search results.- Gibt zurück:
this
.
-
total
public GetTemplatesOperationSpec.GetTemplatesOperationSpecBuilder total(@Nullable @Nullable Boolean total) By default thetotal
field in pagination responses is set tonull
to provide the fastest possible response times. Settotal
totrue
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
.
-
query
public GetTemplatesOperationSpec.GetTemplatesOperationSpecBuilder query(@Nullable @Nullable String query) Template name or description to search- Gibt zurück:
this
.
-
templateType
public GetTemplatesOperationSpec.GetTemplatesOperationSpecBuilder templateType(@Nullable @Nullable String templateType) Filters templates by type.- Gibt zurück:
this
.
-
sortBy
public GetTemplatesOperationSpec.GetTemplatesOperationSpecBuilder sortBy(@Nullable @Nullable String sortBy) Used to specify both the field you wish to sort the results on (name/created_at), as well as the direction (asc/desc) of the results. The sort_by field and direction should be separated by a colon. Sort direction defaults to ascending.- Gibt zurück:
this
.
-
build
-
toString
-