doc.com.rallydev.rest.request.GetRequest.html Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of rally-rest-api Show documentation
Show all versions of rally-rest-api Show documentation
A java toolkit for interacting with the Rally Rest API
GetRequest (Rally Rest API for Java 2.1)
com.rallydev.rest.request
Class GetRequest
- java.lang.Object
-
- com.rallydev.rest.request.Request
-
- com.rallydev.rest.request.GetRequest
-
public class GetRequest
extends Request
Represents a WSAPI request to retrieve a specific object.
-
-
Constructor Summary
Constructors
Constructor and Description
GetRequest(String ref)
Create a new get request for the specified object.
-
Method Summary
Methods
Modifier and Type
Method and Description
Fetch
getFetch()
Get the current list of fields to be returned on the retrieved object.
void
setFetch(Fetch fetch)
Set the current list of fields to be returned on the retrieved object.
String
toUrl()
Convert this request into a url compatible with the WSAPI.
-
-
Constructor Detail
-
GetRequest
public GetRequest(String ref)
Create a new get request for the specified object.
- Parameters:
ref
- the ref of the WSAPI object to be retrieved. May be absolute or relative, e.g. "/defect/12345"
May also be "/user" or "/subscription" to get the current instances
-
Method Detail
-
getFetch
public Fetch getFetch()
Get the current list of fields to be returned on the retrieved object.
By default all fields will be returned in the response (fetch=true).
- Returns:
- the current list of fields.
-
setFetch
public void setFetch(Fetch fetch)
Set the current list of fields to be returned on the retrieved object.
- Parameters:
fetch
- the list of fields to be returned.
© 2015 - 2025 Weber Informatics LLC | Privacy Policy