Class UnblockJobRequest

java.lang.Object
org.sourcelab.buildkite.api.client.request.PutRequest<Job>
org.sourcelab.buildkite.api.client.request.UnblockJobRequest
All Implemented Interfaces:
Request<Job>

public class UnblockJobRequest extends PutRequest<Job>
  • Constructor Details

    • UnblockJobRequest

      public UnblockJobRequest(UnblockJobOptions options)
      Constructor.
  • Method Details

    • getPath

      public String getPath()
      Description copied from interface: Request
      REST Endpoint Path to request. Example "/v2/access-token"
      Returns:
      REST Endpoint Path to request. Example "/v2/access-token"
    • getRequestBody

      public String getRequestBody() throws RequestParsingException
      Description copied from interface: Request
      The Request body value.
      Returns:
      null if no request body is needed, or the request body as a String.
      Throws:
      RequestParsingException - if unable to generate request body due to some error.
    • getResponseParser

      public ResponseParser<Job> getResponseParser()
      Description copied from interface: Request
      Defines how to parse the APIs response into a concrete object.
      Returns:
      Defines how to parse the APIs response into a concrete object.