@PublicApi
public static interface RequestTypeQuery.Builder
RequestTypeQuery
.
A LimitedPagedRequest
is always constructed in the query parameter, and used the default value if none is provided
Modifier and Type | Method and Description |
---|---|
RequestTypeQuery |
build()
Build the query
|
RequestTypeQuery.Builder |
filterHidden(Boolean filter)
Limit results to request types that are not hidden (eg, have no groups)
|
RequestTypeQuery.Builder |
group(Integer group)
Limit results to request types that belong to the specified
RequestTypeGroup id |
RequestTypeQuery.Builder |
issue(Long issue)
Retrieve a specific
RequestType associated to the customer request backed by this Issue , if any. |
RequestTypeQuery.Builder |
isValid(Boolean isValid)
Limit results to only request types that are valid.
|
RequestTypeQuery.Builder |
pagedRequest(PagedRequest pagedRequest)
To query a page
PagedRequest of RequestType |
RequestTypeQuery.Builder |
requestOverrideSecurity(Boolean requestOverrideSecurity)
Use this
requestOverrideSecurity flag to execute query without checking
permission of the user executing this request |
RequestTypeQuery.Builder |
requestType(Integer requestType)
|
RequestTypeQuery.Builder |
serviceDesk(Integer serviceDesk)
Narrows the query to the
RequestType 's that belong to a ServiceDesk |
RequestTypeQuery.Builder serviceDesk(Integer serviceDesk)
RequestType
's that belong to a ServiceDesk
RequestTypeQuery.Builder requestType(Integer requestType)
RequestTypeQuery.Builder group(Integer group)
RequestTypeGroup
idRequestTypeQuery.Builder issue(Long issue)
RequestType
associated to the customer request backed by this Issue
, if any.
This does not work with RequestTypeQuery.requestType()
or RequestTypeQuery.serviceDesk()
RequestTypeQuery.Builder requestOverrideSecurity(Boolean requestOverrideSecurity)
requestOverrideSecurity
flag to execute query without checking
permission of the user executing this request
This should only be used when performing administrative tasks where you need access regardless of permissions or without a user.
RequestTypeQuery.Builder pagedRequest(PagedRequest pagedRequest)
PagedRequest
of RequestType
RequestTypeQuery.Builder isValid(Boolean isValid)
RequestTypeQuery.Builder filterHidden(Boolean filter)
RequestTypeQuery build()
Copyright © 2018 Atlassian. All rights reserved.