Documentation ¶
Index ¶
- Constants
- type RetrieveJobThatWasSuccessful
- type RetrieveJobThatWasSuccessfulHandler
- type RetrieveJobThatWasSuccessfulHandlerFunc
- type RetrieveJobThatWasSuccessfulOK
- func (o *RetrieveJobThatWasSuccessfulOK) SetPayload(payload *models.RetrieveJobThatWasSuccessfulResponseResource)
- func (o *RetrieveJobThatWasSuccessfulOK) WithPayload(payload *models.RetrieveJobThatWasSuccessfulResponseResource) *RetrieveJobThatWasSuccessfulOK
- func (o *RetrieveJobThatWasSuccessfulOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type RetrieveJobThatWasSuccessfulParams
- type RetrieveJobThatWasSuccessfulURL
- func (o *RetrieveJobThatWasSuccessfulURL) Build() (*url.URL, error)
- func (o *RetrieveJobThatWasSuccessfulURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *RetrieveJobThatWasSuccessfulURL) Must(u *url.URL, err error) *url.URL
- func (o *RetrieveJobThatWasSuccessfulURL) SetBasePath(bp string)
- func (o *RetrieveJobThatWasSuccessfulURL) String() string
- func (o *RetrieveJobThatWasSuccessfulURL) StringFull(scheme, host string) string
- func (o *RetrieveJobThatWasSuccessfulURL) WithBasePath(bp string) *RetrieveJobThatWasSuccessfulURL
Constants ¶
const RetrieveJobThatWasSuccessfulOKCode int = 200
RetrieveJobThatWasSuccessfulOKCode is the HTTP code returned for type RetrieveJobThatWasSuccessfulOK
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type RetrieveJobThatWasSuccessful ¶
type RetrieveJobThatWasSuccessful struct { Context *middleware.Context Handler RetrieveJobThatWasSuccessfulHandler }
RetrieveJobThatWasSuccessful swagger:route GET /jobs/{guid} jobs retrieveJobThatWasSuccessful
Retrieve Job that was successful ¶
curl --insecure -i %s/v2/jobs/{guid} -X GET -H 'Authorization: %s'
func NewRetrieveJobThatWasSuccessful ¶
func NewRetrieveJobThatWasSuccessful(ctx *middleware.Context, handler RetrieveJobThatWasSuccessfulHandler) *RetrieveJobThatWasSuccessful
NewRetrieveJobThatWasSuccessful creates a new http.Handler for the retrieve job that was successful operation
func (*RetrieveJobThatWasSuccessful) ServeHTTP ¶
func (o *RetrieveJobThatWasSuccessful) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type RetrieveJobThatWasSuccessfulHandler ¶
type RetrieveJobThatWasSuccessfulHandler interface {
Handle(RetrieveJobThatWasSuccessfulParams) middleware.Responder
}
RetrieveJobThatWasSuccessfulHandler interface for that can handle valid retrieve job that was successful params
type RetrieveJobThatWasSuccessfulHandlerFunc ¶
type RetrieveJobThatWasSuccessfulHandlerFunc func(RetrieveJobThatWasSuccessfulParams) middleware.Responder
RetrieveJobThatWasSuccessfulHandlerFunc turns a function with the right signature into a retrieve job that was successful handler
func (RetrieveJobThatWasSuccessfulHandlerFunc) Handle ¶
func (fn RetrieveJobThatWasSuccessfulHandlerFunc) Handle(params RetrieveJobThatWasSuccessfulParams) middleware.Responder
Handle executing the request and returning a response
type RetrieveJobThatWasSuccessfulOK ¶
type RetrieveJobThatWasSuccessfulOK struct { /* In: Body */ Payload *models.RetrieveJobThatWasSuccessfulResponseResource `json:"body,omitempty"` }
RetrieveJobThatWasSuccessfulOK successful response
swagger:response retrieveJobThatWasSuccessfulOK
func NewRetrieveJobThatWasSuccessfulOK ¶
func NewRetrieveJobThatWasSuccessfulOK() *RetrieveJobThatWasSuccessfulOK
NewRetrieveJobThatWasSuccessfulOK creates RetrieveJobThatWasSuccessfulOK with default headers values
func (*RetrieveJobThatWasSuccessfulOK) SetPayload ¶
func (o *RetrieveJobThatWasSuccessfulOK) SetPayload(payload *models.RetrieveJobThatWasSuccessfulResponseResource)
SetPayload sets the payload to the retrieve job that was successful o k response
func (*RetrieveJobThatWasSuccessfulOK) WithPayload ¶
func (o *RetrieveJobThatWasSuccessfulOK) WithPayload(payload *models.RetrieveJobThatWasSuccessfulResponseResource) *RetrieveJobThatWasSuccessfulOK
WithPayload adds the payload to the retrieve job that was successful o k response
func (*RetrieveJobThatWasSuccessfulOK) WriteResponse ¶
func (o *RetrieveJobThatWasSuccessfulOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type RetrieveJobThatWasSuccessfulParams ¶
type RetrieveJobThatWasSuccessfulParams struct { // HTTP Request Object HTTPRequest *http.Request `json:"-"` /*The guid parameter is used as a part of the request URL: '/v2/jobs/:guid' Required: true In: path */ GUID string }
RetrieveJobThatWasSuccessfulParams contains all the bound params for the retrieve job that was successful operation typically these are obtained from a http.Request
swagger:parameters retrieveJobThatWasSuccessful
func NewRetrieveJobThatWasSuccessfulParams ¶
func NewRetrieveJobThatWasSuccessfulParams() RetrieveJobThatWasSuccessfulParams
NewRetrieveJobThatWasSuccessfulParams creates a new RetrieveJobThatWasSuccessfulParams object no default values defined in spec.
func (*RetrieveJobThatWasSuccessfulParams) BindRequest ¶
func (o *RetrieveJobThatWasSuccessfulParams) BindRequest(r *http.Request, route *middleware.MatchedRoute) error
BindRequest both binds and validates a request, it assumes that complex things implement a Validatable(strfmt.Registry) error interface for simple values it will use straight method calls.
To ensure default values, the struct must have been initialized with NewRetrieveJobThatWasSuccessfulParams() beforehand.
type RetrieveJobThatWasSuccessfulURL ¶
type RetrieveJobThatWasSuccessfulURL struct { GUID string // contains filtered or unexported fields }
RetrieveJobThatWasSuccessfulURL generates an URL for the retrieve job that was successful operation
func (*RetrieveJobThatWasSuccessfulURL) Build ¶
func (o *RetrieveJobThatWasSuccessfulURL) Build() (*url.URL, error)
Build a url path and query string
func (*RetrieveJobThatWasSuccessfulURL) BuildFull ¶
func (o *RetrieveJobThatWasSuccessfulURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*RetrieveJobThatWasSuccessfulURL) Must ¶
Must is a helper function to panic when the url builder returns an error
func (*RetrieveJobThatWasSuccessfulURL) SetBasePath ¶
func (o *RetrieveJobThatWasSuccessfulURL) SetBasePath(bp string)
SetBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string
func (*RetrieveJobThatWasSuccessfulURL) String ¶
func (o *RetrieveJobThatWasSuccessfulURL) String() string
String returns the string representation of the path with query string
func (*RetrieveJobThatWasSuccessfulURL) StringFull ¶
func (o *RetrieveJobThatWasSuccessfulURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*RetrieveJobThatWasSuccessfulURL) WithBasePath ¶
func (o *RetrieveJobThatWasSuccessfulURL) WithBasePath(bp string) *RetrieveJobThatWasSuccessfulURL
WithBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string