apps

package
v0.19.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 5, 2025 License: AGPL-3.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func WithContentTypeApplicationJSON

func WithContentTypeApplicationJSON(r *runtime.ClientOperation)

WithContentTypeApplicationJSON sets the Content-Type header to "application/json".

func WithContentTypeApplicationXML

func WithContentTypeApplicationXML(r *runtime.ClientOperation)

WithContentTypeApplicationXML sets the Content-Type header to "application/xml".

func WithContentTypeApplicationxWwwFormUrlencoded

func WithContentTypeApplicationxWwwFormUrlencoded(r *runtime.ClientOperation)

WithContentTypeApplicationxWwwFormUrlencoded sets the Content-Type header to "application/x-www-form-urlencoded".

Types

type AppCreateBadRequest

type AppCreateBadRequest struct {
}

AppCreateBadRequest describes a response with status code 400, with default header values.

bad request

func NewAppCreateBadRequest

func NewAppCreateBadRequest() *AppCreateBadRequest

NewAppCreateBadRequest creates a AppCreateBadRequest with default headers values

func (*AppCreateBadRequest) Code

func (o *AppCreateBadRequest) Code() int

Code gets the status code for the app create bad request response

func (*AppCreateBadRequest) Error

func (o *AppCreateBadRequest) Error() string

func (*AppCreateBadRequest) IsClientError

func (o *AppCreateBadRequest) IsClientError() bool

IsClientError returns true when this app create bad request response has a 4xx status code

func (*AppCreateBadRequest) IsCode

func (o *AppCreateBadRequest) IsCode(code int) bool

IsCode returns true when this app create bad request response a status code equal to that given

func (*AppCreateBadRequest) IsRedirect

func (o *AppCreateBadRequest) IsRedirect() bool

IsRedirect returns true when this app create bad request response has a 3xx status code

func (*AppCreateBadRequest) IsServerError

func (o *AppCreateBadRequest) IsServerError() bool

IsServerError returns true when this app create bad request response has a 5xx status code

func (*AppCreateBadRequest) IsSuccess

func (o *AppCreateBadRequest) IsSuccess() bool

IsSuccess returns true when this app create bad request response has a 2xx status code

func (*AppCreateBadRequest) String

func (o *AppCreateBadRequest) String() string

type AppCreateForbidden

type AppCreateForbidden struct {
}

AppCreateForbidden describes a response with status code 403, with default header values.

forbidden

func NewAppCreateForbidden

func NewAppCreateForbidden() *AppCreateForbidden

NewAppCreateForbidden creates a AppCreateForbidden with default headers values

func (*AppCreateForbidden) Code

func (o *AppCreateForbidden) Code() int

Code gets the status code for the app create forbidden response

func (*AppCreateForbidden) Error

func (o *AppCreateForbidden) Error() string

func (*AppCreateForbidden) IsClientError

func (o *AppCreateForbidden) IsClientError() bool

IsClientError returns true when this app create forbidden response has a 4xx status code

func (*AppCreateForbidden) IsCode

func (o *AppCreateForbidden) IsCode(code int) bool

IsCode returns true when this app create forbidden response a status code equal to that given

func (*AppCreateForbidden) IsRedirect

func (o *AppCreateForbidden) IsRedirect() bool

IsRedirect returns true when this app create forbidden response has a 3xx status code

func (*AppCreateForbidden) IsServerError

func (o *AppCreateForbidden) IsServerError() bool

IsServerError returns true when this app create forbidden response has a 5xx status code

func (*AppCreateForbidden) IsSuccess

func (o *AppCreateForbidden) IsSuccess() bool

IsSuccess returns true when this app create forbidden response has a 2xx status code

func (*AppCreateForbidden) String

func (o *AppCreateForbidden) String() string

type AppCreateInternalServerError

type AppCreateInternalServerError struct {
}

AppCreateInternalServerError describes a response with status code 500, with default header values.

internal server error

func NewAppCreateInternalServerError

func NewAppCreateInternalServerError() *AppCreateInternalServerError

NewAppCreateInternalServerError creates a AppCreateInternalServerError with default headers values

func (*AppCreateInternalServerError) Code

Code gets the status code for the app create internal server error response

func (*AppCreateInternalServerError) Error

func (*AppCreateInternalServerError) IsClientError

func (o *AppCreateInternalServerError) IsClientError() bool

IsClientError returns true when this app create internal server error response has a 4xx status code

func (*AppCreateInternalServerError) IsCode

func (o *AppCreateInternalServerError) IsCode(code int) bool

IsCode returns true when this app create internal server error response a status code equal to that given

func (*AppCreateInternalServerError) IsRedirect

func (o *AppCreateInternalServerError) IsRedirect() bool

IsRedirect returns true when this app create internal server error response has a 3xx status code

func (*AppCreateInternalServerError) IsServerError

func (o *AppCreateInternalServerError) IsServerError() bool

IsServerError returns true when this app create internal server error response has a 5xx status code

func (*AppCreateInternalServerError) IsSuccess

func (o *AppCreateInternalServerError) IsSuccess() bool

IsSuccess returns true when this app create internal server error response has a 2xx status code

func (*AppCreateInternalServerError) String

type AppCreateNotAcceptable

type AppCreateNotAcceptable struct {
}

AppCreateNotAcceptable describes a response with status code 406, with default header values.

not acceptable

func NewAppCreateNotAcceptable

func NewAppCreateNotAcceptable() *AppCreateNotAcceptable

NewAppCreateNotAcceptable creates a AppCreateNotAcceptable with default headers values

func (*AppCreateNotAcceptable) Code

func (o *AppCreateNotAcceptable) Code() int

Code gets the status code for the app create not acceptable response

func (*AppCreateNotAcceptable) Error

func (o *AppCreateNotAcceptable) Error() string

func (*AppCreateNotAcceptable) IsClientError

func (o *AppCreateNotAcceptable) IsClientError() bool

IsClientError returns true when this app create not acceptable response has a 4xx status code

func (*AppCreateNotAcceptable) IsCode

func (o *AppCreateNotAcceptable) IsCode(code int) bool

IsCode returns true when this app create not acceptable response a status code equal to that given

func (*AppCreateNotAcceptable) IsRedirect

func (o *AppCreateNotAcceptable) IsRedirect() bool

IsRedirect returns true when this app create not acceptable response has a 3xx status code

func (*AppCreateNotAcceptable) IsServerError

func (o *AppCreateNotAcceptable) IsServerError() bool

IsServerError returns true when this app create not acceptable response has a 5xx status code

func (*AppCreateNotAcceptable) IsSuccess

func (o *AppCreateNotAcceptable) IsSuccess() bool

IsSuccess returns true when this app create not acceptable response has a 2xx status code

func (*AppCreateNotAcceptable) String

func (o *AppCreateNotAcceptable) String() string

type AppCreateNotFound

type AppCreateNotFound struct {
}

AppCreateNotFound describes a response with status code 404, with default header values.

not found

func NewAppCreateNotFound

func NewAppCreateNotFound() *AppCreateNotFound

NewAppCreateNotFound creates a AppCreateNotFound with default headers values

func (*AppCreateNotFound) Code

func (o *AppCreateNotFound) Code() int

Code gets the status code for the app create not found response

func (*AppCreateNotFound) Error

func (o *AppCreateNotFound) Error() string

func (*AppCreateNotFound) IsClientError

func (o *AppCreateNotFound) IsClientError() bool

IsClientError returns true when this app create not found response has a 4xx status code

func (*AppCreateNotFound) IsCode

func (o *AppCreateNotFound) IsCode(code int) bool

IsCode returns true when this app create not found response a status code equal to that given

func (*AppCreateNotFound) IsRedirect

func (o *AppCreateNotFound) IsRedirect() bool

IsRedirect returns true when this app create not found response has a 3xx status code

func (*AppCreateNotFound) IsServerError

func (o *AppCreateNotFound) IsServerError() bool

IsServerError returns true when this app create not found response has a 5xx status code

func (*AppCreateNotFound) IsSuccess

func (o *AppCreateNotFound) IsSuccess() bool

IsSuccess returns true when this app create not found response has a 2xx status code

func (*AppCreateNotFound) String

func (o *AppCreateNotFound) String() string

type AppCreateOK

type AppCreateOK struct {
	Payload *models.Application
}

AppCreateOK describes a response with status code 200, with default header values.

The newly-created application.

func NewAppCreateOK

func NewAppCreateOK() *AppCreateOK

NewAppCreateOK creates a AppCreateOK with default headers values

func (*AppCreateOK) Code

func (o *AppCreateOK) Code() int

Code gets the status code for the app create o k response

func (*AppCreateOK) Error

func (o *AppCreateOK) Error() string

func (*AppCreateOK) GetPayload

func (o *AppCreateOK) GetPayload() *models.Application

func (*AppCreateOK) IsClientError

func (o *AppCreateOK) IsClientError() bool

IsClientError returns true when this app create o k response has a 4xx status code

func (*AppCreateOK) IsCode

func (o *AppCreateOK) IsCode(code int) bool

IsCode returns true when this app create o k response a status code equal to that given

func (*AppCreateOK) IsRedirect

func (o *AppCreateOK) IsRedirect() bool

IsRedirect returns true when this app create o k response has a 3xx status code

func (*AppCreateOK) IsServerError

func (o *AppCreateOK) IsServerError() bool

IsServerError returns true when this app create o k response has a 5xx status code

func (*AppCreateOK) IsSuccess

func (o *AppCreateOK) IsSuccess() bool

IsSuccess returns true when this app create o k response has a 2xx status code

func (*AppCreateOK) String

func (o *AppCreateOK) String() string

type AppCreateParams

type AppCreateParams struct {

	/* ClientName.

	   The name of the application.
	*/
	ClientName string

	/* RedirectUris.

	     Single redirect URI or newline-separated list of redirect URIs (optional).

	To display the authorization code to the user instead of redirecting to a web page, use `urn:ietf:wg:oauth:2.0:oob` in this parameter.

	If no redirect URIs are provided, defaults to `urn:ietf:wg:oauth:2.0:oob`.
	*/
	RedirectURIs *string

	/* Scopes.

	     Space separated list of scopes (optional).

	If no scopes are provided, defaults to `read`.
	*/
	Scopes *string

	/* Website.

	   A URL to the web page of the app (optional).
	*/
	Website *string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

AppCreateParams contains all the parameters to send to the API endpoint

for the app create operation.

Typically these are written to a http.Request.

func NewAppCreateParams

func NewAppCreateParams() *AppCreateParams

NewAppCreateParams creates a new AppCreateParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewAppCreateParamsWithContext

func NewAppCreateParamsWithContext(ctx context.Context) *AppCreateParams

NewAppCreateParamsWithContext creates a new AppCreateParams object with the ability to set a context for a request.

func NewAppCreateParamsWithHTTPClient

func NewAppCreateParamsWithHTTPClient(client *http.Client) *AppCreateParams

NewAppCreateParamsWithHTTPClient creates a new AppCreateParams object with the ability to set a custom HTTPClient for a request.

func NewAppCreateParamsWithTimeout

func NewAppCreateParamsWithTimeout(timeout time.Duration) *AppCreateParams

NewAppCreateParamsWithTimeout creates a new AppCreateParams object with the ability to set a timeout on a request.

func (*AppCreateParams) SetClientName

func (o *AppCreateParams) SetClientName(clientName string)

SetClientName adds the clientName to the app create params

func (*AppCreateParams) SetContext

func (o *AppCreateParams) SetContext(ctx context.Context)

SetContext adds the context to the app create params

func (*AppCreateParams) SetDefaults

func (o *AppCreateParams) SetDefaults()

SetDefaults hydrates default values in the app create params (not the query body).

All values with no default are reset to their zero value.

func (*AppCreateParams) SetHTTPClient

func (o *AppCreateParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the app create params

func (*AppCreateParams) SetRedirectURIs

func (o *AppCreateParams) SetRedirectURIs(redirectUris *string)

SetRedirectURIs adds the redirectUris to the app create params

func (*AppCreateParams) SetScopes

func (o *AppCreateParams) SetScopes(scopes *string)

SetScopes adds the scopes to the app create params

func (*AppCreateParams) SetTimeout

func (o *AppCreateParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the app create params

func (*AppCreateParams) SetWebsite

func (o *AppCreateParams) SetWebsite(website *string)

SetWebsite adds the website to the app create params

func (*AppCreateParams) WithClientName

func (o *AppCreateParams) WithClientName(clientName string) *AppCreateParams

WithClientName adds the clientName to the app create params

func (*AppCreateParams) WithContext

func (o *AppCreateParams) WithContext(ctx context.Context) *AppCreateParams

WithContext adds the context to the app create params

func (*AppCreateParams) WithDefaults

func (o *AppCreateParams) WithDefaults() *AppCreateParams

WithDefaults hydrates default values in the app create params (not the query body).

All values with no default are reset to their zero value.

func (*AppCreateParams) WithHTTPClient

func (o *AppCreateParams) WithHTTPClient(client *http.Client) *AppCreateParams

WithHTTPClient adds the HTTPClient to the app create params

func (*AppCreateParams) WithRedirectURIs

func (o *AppCreateParams) WithRedirectURIs(redirectUris *string) *AppCreateParams

WithRedirectURIs adds the redirectUris to the app create params

func (*AppCreateParams) WithScopes

func (o *AppCreateParams) WithScopes(scopes *string) *AppCreateParams

WithScopes adds the scopes to the app create params

func (*AppCreateParams) WithTimeout

func (o *AppCreateParams) WithTimeout(timeout time.Duration) *AppCreateParams

WithTimeout adds the timeout to the app create params

func (*AppCreateParams) WithWebsite

func (o *AppCreateParams) WithWebsite(website *string) *AppCreateParams

WithWebsite adds the website to the app create params

func (*AppCreateParams) WriteToRequest

func (o *AppCreateParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type AppCreateReader

type AppCreateReader struct {
	// contains filtered or unexported fields
}

AppCreateReader is a Reader for the AppCreate structure.

func (*AppCreateReader) ReadResponse

func (o *AppCreateReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type AppCreateUnauthorized

type AppCreateUnauthorized struct {
}

AppCreateUnauthorized describes a response with status code 401, with default header values.

unauthorized

func NewAppCreateUnauthorized

func NewAppCreateUnauthorized() *AppCreateUnauthorized

NewAppCreateUnauthorized creates a AppCreateUnauthorized with default headers values

func (*AppCreateUnauthorized) Code

func (o *AppCreateUnauthorized) Code() int

Code gets the status code for the app create unauthorized response

func (*AppCreateUnauthorized) Error

func (o *AppCreateUnauthorized) Error() string

func (*AppCreateUnauthorized) IsClientError

func (o *AppCreateUnauthorized) IsClientError() bool

IsClientError returns true when this app create unauthorized response has a 4xx status code

func (*AppCreateUnauthorized) IsCode

func (o *AppCreateUnauthorized) IsCode(code int) bool

IsCode returns true when this app create unauthorized response a status code equal to that given

func (*AppCreateUnauthorized) IsRedirect

func (o *AppCreateUnauthorized) IsRedirect() bool

IsRedirect returns true when this app create unauthorized response has a 3xx status code

func (*AppCreateUnauthorized) IsServerError

func (o *AppCreateUnauthorized) IsServerError() bool

IsServerError returns true when this app create unauthorized response has a 5xx status code

func (*AppCreateUnauthorized) IsSuccess

func (o *AppCreateUnauthorized) IsSuccess() bool

IsSuccess returns true when this app create unauthorized response has a 2xx status code

func (*AppCreateUnauthorized) String

func (o *AppCreateUnauthorized) String() string

type AppDeleteBadRequest added in v0.19.1

type AppDeleteBadRequest struct {
}

AppDeleteBadRequest describes a response with status code 400, with default header values.

bad request

func NewAppDeleteBadRequest added in v0.19.1

func NewAppDeleteBadRequest() *AppDeleteBadRequest

NewAppDeleteBadRequest creates a AppDeleteBadRequest with default headers values

func (*AppDeleteBadRequest) Code added in v0.19.1

func (o *AppDeleteBadRequest) Code() int

Code gets the status code for the app delete bad request response

func (*AppDeleteBadRequest) Error added in v0.19.1

func (o *AppDeleteBadRequest) Error() string

func (*AppDeleteBadRequest) IsClientError added in v0.19.1

func (o *AppDeleteBadRequest) IsClientError() bool

IsClientError returns true when this app delete bad request response has a 4xx status code

func (*AppDeleteBadRequest) IsCode added in v0.19.1

func (o *AppDeleteBadRequest) IsCode(code int) bool

IsCode returns true when this app delete bad request response a status code equal to that given

func (*AppDeleteBadRequest) IsRedirect added in v0.19.1

func (o *AppDeleteBadRequest) IsRedirect() bool

IsRedirect returns true when this app delete bad request response has a 3xx status code

func (*AppDeleteBadRequest) IsServerError added in v0.19.1

func (o *AppDeleteBadRequest) IsServerError() bool

IsServerError returns true when this app delete bad request response has a 5xx status code

func (*AppDeleteBadRequest) IsSuccess added in v0.19.1

func (o *AppDeleteBadRequest) IsSuccess() bool

IsSuccess returns true when this app delete bad request response has a 2xx status code

func (*AppDeleteBadRequest) String added in v0.19.1

func (o *AppDeleteBadRequest) String() string

type AppDeleteInternalServerError added in v0.19.1

type AppDeleteInternalServerError struct {
}

AppDeleteInternalServerError describes a response with status code 500, with default header values.

internal server error

func NewAppDeleteInternalServerError added in v0.19.1

func NewAppDeleteInternalServerError() *AppDeleteInternalServerError

NewAppDeleteInternalServerError creates a AppDeleteInternalServerError with default headers values

func (*AppDeleteInternalServerError) Code added in v0.19.1

Code gets the status code for the app delete internal server error response

func (*AppDeleteInternalServerError) Error added in v0.19.1

func (*AppDeleteInternalServerError) IsClientError added in v0.19.1

func (o *AppDeleteInternalServerError) IsClientError() bool

IsClientError returns true when this app delete internal server error response has a 4xx status code

func (*AppDeleteInternalServerError) IsCode added in v0.19.1

func (o *AppDeleteInternalServerError) IsCode(code int) bool

IsCode returns true when this app delete internal server error response a status code equal to that given

func (*AppDeleteInternalServerError) IsRedirect added in v0.19.1

func (o *AppDeleteInternalServerError) IsRedirect() bool

IsRedirect returns true when this app delete internal server error response has a 3xx status code

func (*AppDeleteInternalServerError) IsServerError added in v0.19.1

func (o *AppDeleteInternalServerError) IsServerError() bool

IsServerError returns true when this app delete internal server error response has a 5xx status code

func (*AppDeleteInternalServerError) IsSuccess added in v0.19.1

func (o *AppDeleteInternalServerError) IsSuccess() bool

IsSuccess returns true when this app delete internal server error response has a 2xx status code

func (*AppDeleteInternalServerError) String added in v0.19.1

type AppDeleteNotAcceptable added in v0.19.1

type AppDeleteNotAcceptable struct {
}

AppDeleteNotAcceptable describes a response with status code 406, with default header values.

not acceptable

func NewAppDeleteNotAcceptable added in v0.19.1

func NewAppDeleteNotAcceptable() *AppDeleteNotAcceptable

NewAppDeleteNotAcceptable creates a AppDeleteNotAcceptable with default headers values

func (*AppDeleteNotAcceptable) Code added in v0.19.1

func (o *AppDeleteNotAcceptable) Code() int

Code gets the status code for the app delete not acceptable response

func (*AppDeleteNotAcceptable) Error added in v0.19.1

func (o *AppDeleteNotAcceptable) Error() string

func (*AppDeleteNotAcceptable) IsClientError added in v0.19.1

func (o *AppDeleteNotAcceptable) IsClientError() bool

IsClientError returns true when this app delete not acceptable response has a 4xx status code

func (*AppDeleteNotAcceptable) IsCode added in v0.19.1

func (o *AppDeleteNotAcceptable) IsCode(code int) bool

IsCode returns true when this app delete not acceptable response a status code equal to that given

func (*AppDeleteNotAcceptable) IsRedirect added in v0.19.1

func (o *AppDeleteNotAcceptable) IsRedirect() bool

IsRedirect returns true when this app delete not acceptable response has a 3xx status code

func (*AppDeleteNotAcceptable) IsServerError added in v0.19.1

func (o *AppDeleteNotAcceptable) IsServerError() bool

IsServerError returns true when this app delete not acceptable response has a 5xx status code

func (*AppDeleteNotAcceptable) IsSuccess added in v0.19.1

func (o *AppDeleteNotAcceptable) IsSuccess() bool

IsSuccess returns true when this app delete not acceptable response has a 2xx status code

func (*AppDeleteNotAcceptable) String added in v0.19.1

func (o *AppDeleteNotAcceptable) String() string

type AppDeleteNotFound added in v0.19.1

type AppDeleteNotFound struct {
}

AppDeleteNotFound describes a response with status code 404, with default header values.

not found

func NewAppDeleteNotFound added in v0.19.1

func NewAppDeleteNotFound() *AppDeleteNotFound

NewAppDeleteNotFound creates a AppDeleteNotFound with default headers values

func (*AppDeleteNotFound) Code added in v0.19.1

func (o *AppDeleteNotFound) Code() int

Code gets the status code for the app delete not found response

func (*AppDeleteNotFound) Error added in v0.19.1

func (o *AppDeleteNotFound) Error() string

func (*AppDeleteNotFound) IsClientError added in v0.19.1

func (o *AppDeleteNotFound) IsClientError() bool

IsClientError returns true when this app delete not found response has a 4xx status code

func (*AppDeleteNotFound) IsCode added in v0.19.1

func (o *AppDeleteNotFound) IsCode(code int) bool

IsCode returns true when this app delete not found response a status code equal to that given

func (*AppDeleteNotFound) IsRedirect added in v0.19.1

func (o *AppDeleteNotFound) IsRedirect() bool

IsRedirect returns true when this app delete not found response has a 3xx status code

func (*AppDeleteNotFound) IsServerError added in v0.19.1

func (o *AppDeleteNotFound) IsServerError() bool

IsServerError returns true when this app delete not found response has a 5xx status code

func (*AppDeleteNotFound) IsSuccess added in v0.19.1

func (o *AppDeleteNotFound) IsSuccess() bool

IsSuccess returns true when this app delete not found response has a 2xx status code

func (*AppDeleteNotFound) String added in v0.19.1

func (o *AppDeleteNotFound) String() string

type AppDeleteOK added in v0.19.1

type AppDeleteOK struct {
	Payload *models.Application
}

AppDeleteOK describes a response with status code 200, with default header values.

The deleted application.

func NewAppDeleteOK added in v0.19.1

func NewAppDeleteOK() *AppDeleteOK

NewAppDeleteOK creates a AppDeleteOK with default headers values

func (*AppDeleteOK) Code added in v0.19.1

func (o *AppDeleteOK) Code() int

Code gets the status code for the app delete o k response

func (*AppDeleteOK) Error added in v0.19.1

func (o *AppDeleteOK) Error() string

func (*AppDeleteOK) GetPayload added in v0.19.1

func (o *AppDeleteOK) GetPayload() *models.Application

func (*AppDeleteOK) IsClientError added in v0.19.1

func (o *AppDeleteOK) IsClientError() bool

IsClientError returns true when this app delete o k response has a 4xx status code

func (*AppDeleteOK) IsCode added in v0.19.1

func (o *AppDeleteOK) IsCode(code int) bool

IsCode returns true when this app delete o k response a status code equal to that given

func (*AppDeleteOK) IsRedirect added in v0.19.1

func (o *AppDeleteOK) IsRedirect() bool

IsRedirect returns true when this app delete o k response has a 3xx status code

func (*AppDeleteOK) IsServerError added in v0.19.1

func (o *AppDeleteOK) IsServerError() bool

IsServerError returns true when this app delete o k response has a 5xx status code

func (*AppDeleteOK) IsSuccess added in v0.19.1

func (o *AppDeleteOK) IsSuccess() bool

IsSuccess returns true when this app delete o k response has a 2xx status code

func (*AppDeleteOK) String added in v0.19.1

func (o *AppDeleteOK) String() string

type AppDeleteParams added in v0.19.1

type AppDeleteParams struct {

	/* ID.

	   The id of the application to delete.
	*/
	ID string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

AppDeleteParams contains all the parameters to send to the API endpoint

for the app delete operation.

Typically these are written to a http.Request.

func NewAppDeleteParams added in v0.19.1

func NewAppDeleteParams() *AppDeleteParams

NewAppDeleteParams creates a new AppDeleteParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewAppDeleteParamsWithContext added in v0.19.1

func NewAppDeleteParamsWithContext(ctx context.Context) *AppDeleteParams

NewAppDeleteParamsWithContext creates a new AppDeleteParams object with the ability to set a context for a request.

func NewAppDeleteParamsWithHTTPClient added in v0.19.1

func NewAppDeleteParamsWithHTTPClient(client *http.Client) *AppDeleteParams

NewAppDeleteParamsWithHTTPClient creates a new AppDeleteParams object with the ability to set a custom HTTPClient for a request.

func NewAppDeleteParamsWithTimeout added in v0.19.1

func NewAppDeleteParamsWithTimeout(timeout time.Duration) *AppDeleteParams

NewAppDeleteParamsWithTimeout creates a new AppDeleteParams object with the ability to set a timeout on a request.

func (*AppDeleteParams) SetContext added in v0.19.1

func (o *AppDeleteParams) SetContext(ctx context.Context)

SetContext adds the context to the app delete params

func (*AppDeleteParams) SetDefaults added in v0.19.1

func (o *AppDeleteParams) SetDefaults()

SetDefaults hydrates default values in the app delete params (not the query body).

All values with no default are reset to their zero value.

func (*AppDeleteParams) SetHTTPClient added in v0.19.1

func (o *AppDeleteParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the app delete params

func (*AppDeleteParams) SetID added in v0.19.1

func (o *AppDeleteParams) SetID(id string)

SetID adds the id to the app delete params

func (*AppDeleteParams) SetTimeout added in v0.19.1

func (o *AppDeleteParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the app delete params

func (*AppDeleteParams) WithContext added in v0.19.1

func (o *AppDeleteParams) WithContext(ctx context.Context) *AppDeleteParams

WithContext adds the context to the app delete params

func (*AppDeleteParams) WithDefaults added in v0.19.1

func (o *AppDeleteParams) WithDefaults() *AppDeleteParams

WithDefaults hydrates default values in the app delete params (not the query body).

All values with no default are reset to their zero value.

func (*AppDeleteParams) WithHTTPClient added in v0.19.1

func (o *AppDeleteParams) WithHTTPClient(client *http.Client) *AppDeleteParams

WithHTTPClient adds the HTTPClient to the app delete params

func (*AppDeleteParams) WithID added in v0.19.1

func (o *AppDeleteParams) WithID(id string) *AppDeleteParams

WithID adds the id to the app delete params

func (*AppDeleteParams) WithTimeout added in v0.19.1

func (o *AppDeleteParams) WithTimeout(timeout time.Duration) *AppDeleteParams

WithTimeout adds the timeout to the app delete params

func (*AppDeleteParams) WriteToRequest added in v0.19.1

func (o *AppDeleteParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type AppDeleteReader added in v0.19.1

type AppDeleteReader struct {
	// contains filtered or unexported fields
}

AppDeleteReader is a Reader for the AppDelete structure.

func (*AppDeleteReader) ReadResponse added in v0.19.1

func (o *AppDeleteReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type AppDeleteUnauthorized added in v0.19.1

type AppDeleteUnauthorized struct {
}

AppDeleteUnauthorized describes a response with status code 401, with default header values.

unauthorized

func NewAppDeleteUnauthorized added in v0.19.1

func NewAppDeleteUnauthorized() *AppDeleteUnauthorized

NewAppDeleteUnauthorized creates a AppDeleteUnauthorized with default headers values

func (*AppDeleteUnauthorized) Code added in v0.19.1

func (o *AppDeleteUnauthorized) Code() int

Code gets the status code for the app delete unauthorized response

func (*AppDeleteUnauthorized) Error added in v0.19.1

func (o *AppDeleteUnauthorized) Error() string

func (*AppDeleteUnauthorized) IsClientError added in v0.19.1

func (o *AppDeleteUnauthorized) IsClientError() bool

IsClientError returns true when this app delete unauthorized response has a 4xx status code

func (*AppDeleteUnauthorized) IsCode added in v0.19.1

func (o *AppDeleteUnauthorized) IsCode(code int) bool

IsCode returns true when this app delete unauthorized response a status code equal to that given

func (*AppDeleteUnauthorized) IsRedirect added in v0.19.1

func (o *AppDeleteUnauthorized) IsRedirect() bool

IsRedirect returns true when this app delete unauthorized response has a 3xx status code

func (*AppDeleteUnauthorized) IsServerError added in v0.19.1

func (o *AppDeleteUnauthorized) IsServerError() bool

IsServerError returns true when this app delete unauthorized response has a 5xx status code

func (*AppDeleteUnauthorized) IsSuccess added in v0.19.1

func (o *AppDeleteUnauthorized) IsSuccess() bool

IsSuccess returns true when this app delete unauthorized response has a 2xx status code

func (*AppDeleteUnauthorized) String added in v0.19.1

func (o *AppDeleteUnauthorized) String() string

type AppGetBadRequest added in v0.19.1

type AppGetBadRequest struct {
}

AppGetBadRequest describes a response with status code 400, with default header values.

bad request

func NewAppGetBadRequest added in v0.19.1

func NewAppGetBadRequest() *AppGetBadRequest

NewAppGetBadRequest creates a AppGetBadRequest with default headers values

func (*AppGetBadRequest) Code added in v0.19.1

func (o *AppGetBadRequest) Code() int

Code gets the status code for the app get bad request response

func (*AppGetBadRequest) Error added in v0.19.1

func (o *AppGetBadRequest) Error() string

func (*AppGetBadRequest) IsClientError added in v0.19.1

func (o *AppGetBadRequest) IsClientError() bool

IsClientError returns true when this app get bad request response has a 4xx status code

func (*AppGetBadRequest) IsCode added in v0.19.1

func (o *AppGetBadRequest) IsCode(code int) bool

IsCode returns true when this app get bad request response a status code equal to that given

func (*AppGetBadRequest) IsRedirect added in v0.19.1

func (o *AppGetBadRequest) IsRedirect() bool

IsRedirect returns true when this app get bad request response has a 3xx status code

func (*AppGetBadRequest) IsServerError added in v0.19.1

func (o *AppGetBadRequest) IsServerError() bool

IsServerError returns true when this app get bad request response has a 5xx status code

func (*AppGetBadRequest) IsSuccess added in v0.19.1

func (o *AppGetBadRequest) IsSuccess() bool

IsSuccess returns true when this app get bad request response has a 2xx status code

func (*AppGetBadRequest) String added in v0.19.1

func (o *AppGetBadRequest) String() string

type AppGetInternalServerError added in v0.19.1

type AppGetInternalServerError struct {
}

AppGetInternalServerError describes a response with status code 500, with default header values.

internal server error

func NewAppGetInternalServerError added in v0.19.1

func NewAppGetInternalServerError() *AppGetInternalServerError

NewAppGetInternalServerError creates a AppGetInternalServerError with default headers values

func (*AppGetInternalServerError) Code added in v0.19.1

func (o *AppGetInternalServerError) Code() int

Code gets the status code for the app get internal server error response

func (*AppGetInternalServerError) Error added in v0.19.1

func (o *AppGetInternalServerError) Error() string

func (*AppGetInternalServerError) IsClientError added in v0.19.1

func (o *AppGetInternalServerError) IsClientError() bool

IsClientError returns true when this app get internal server error response has a 4xx status code

func (*AppGetInternalServerError) IsCode added in v0.19.1

func (o *AppGetInternalServerError) IsCode(code int) bool

IsCode returns true when this app get internal server error response a status code equal to that given

func (*AppGetInternalServerError) IsRedirect added in v0.19.1

func (o *AppGetInternalServerError) IsRedirect() bool

IsRedirect returns true when this app get internal server error response has a 3xx status code

func (*AppGetInternalServerError) IsServerError added in v0.19.1

func (o *AppGetInternalServerError) IsServerError() bool

IsServerError returns true when this app get internal server error response has a 5xx status code

func (*AppGetInternalServerError) IsSuccess added in v0.19.1

func (o *AppGetInternalServerError) IsSuccess() bool

IsSuccess returns true when this app get internal server error response has a 2xx status code

func (*AppGetInternalServerError) String added in v0.19.1

func (o *AppGetInternalServerError) String() string

type AppGetNotAcceptable added in v0.19.1

type AppGetNotAcceptable struct {
}

AppGetNotAcceptable describes a response with status code 406, with default header values.

not acceptable

func NewAppGetNotAcceptable added in v0.19.1

func NewAppGetNotAcceptable() *AppGetNotAcceptable

NewAppGetNotAcceptable creates a AppGetNotAcceptable with default headers values

func (*AppGetNotAcceptable) Code added in v0.19.1

func (o *AppGetNotAcceptable) Code() int

Code gets the status code for the app get not acceptable response

func (*AppGetNotAcceptable) Error added in v0.19.1

func (o *AppGetNotAcceptable) Error() string

func (*AppGetNotAcceptable) IsClientError added in v0.19.1

func (o *AppGetNotAcceptable) IsClientError() bool

IsClientError returns true when this app get not acceptable response has a 4xx status code

func (*AppGetNotAcceptable) IsCode added in v0.19.1

func (o *AppGetNotAcceptable) IsCode(code int) bool

IsCode returns true when this app get not acceptable response a status code equal to that given

func (*AppGetNotAcceptable) IsRedirect added in v0.19.1

func (o *AppGetNotAcceptable) IsRedirect() bool

IsRedirect returns true when this app get not acceptable response has a 3xx status code

func (*AppGetNotAcceptable) IsServerError added in v0.19.1

func (o *AppGetNotAcceptable) IsServerError() bool

IsServerError returns true when this app get not acceptable response has a 5xx status code

func (*AppGetNotAcceptable) IsSuccess added in v0.19.1

func (o *AppGetNotAcceptable) IsSuccess() bool

IsSuccess returns true when this app get not acceptable response has a 2xx status code

func (*AppGetNotAcceptable) String added in v0.19.1

func (o *AppGetNotAcceptable) String() string

type AppGetNotFound added in v0.19.1

type AppGetNotFound struct {
}

AppGetNotFound describes a response with status code 404, with default header values.

not found

func NewAppGetNotFound added in v0.19.1

func NewAppGetNotFound() *AppGetNotFound

NewAppGetNotFound creates a AppGetNotFound with default headers values

func (*AppGetNotFound) Code added in v0.19.1

func (o *AppGetNotFound) Code() int

Code gets the status code for the app get not found response

func (*AppGetNotFound) Error added in v0.19.1

func (o *AppGetNotFound) Error() string

func (*AppGetNotFound) IsClientError added in v0.19.1

func (o *AppGetNotFound) IsClientError() bool

IsClientError returns true when this app get not found response has a 4xx status code

func (*AppGetNotFound) IsCode added in v0.19.1

func (o *AppGetNotFound) IsCode(code int) bool

IsCode returns true when this app get not found response a status code equal to that given

func (*AppGetNotFound) IsRedirect added in v0.19.1

func (o *AppGetNotFound) IsRedirect() bool

IsRedirect returns true when this app get not found response has a 3xx status code

func (*AppGetNotFound) IsServerError added in v0.19.1

func (o *AppGetNotFound) IsServerError() bool

IsServerError returns true when this app get not found response has a 5xx status code

func (*AppGetNotFound) IsSuccess added in v0.19.1

func (o *AppGetNotFound) IsSuccess() bool

IsSuccess returns true when this app get not found response has a 2xx status code

func (*AppGetNotFound) String added in v0.19.1

func (o *AppGetNotFound) String() string

type AppGetOK added in v0.19.1

type AppGetOK struct {
	Payload *models.Application
}

AppGetOK describes a response with status code 200, with default header values.

The requested application.

func NewAppGetOK added in v0.19.1

func NewAppGetOK() *AppGetOK

NewAppGetOK creates a AppGetOK with default headers values

func (*AppGetOK) Code added in v0.19.1

func (o *AppGetOK) Code() int

Code gets the status code for the app get o k response

func (*AppGetOK) Error added in v0.19.1

func (o *AppGetOK) Error() string

func (*AppGetOK) GetPayload added in v0.19.1

func (o *AppGetOK) GetPayload() *models.Application

func (*AppGetOK) IsClientError added in v0.19.1

func (o *AppGetOK) IsClientError() bool

IsClientError returns true when this app get o k response has a 4xx status code

func (*AppGetOK) IsCode added in v0.19.1

func (o *AppGetOK) IsCode(code int) bool

IsCode returns true when this app get o k response a status code equal to that given

func (*AppGetOK) IsRedirect added in v0.19.1

func (o *AppGetOK) IsRedirect() bool

IsRedirect returns true when this app get o k response has a 3xx status code

func (*AppGetOK) IsServerError added in v0.19.1

func (o *AppGetOK) IsServerError() bool

IsServerError returns true when this app get o k response has a 5xx status code

func (*AppGetOK) IsSuccess added in v0.19.1

func (o *AppGetOK) IsSuccess() bool

IsSuccess returns true when this app get o k response has a 2xx status code

func (*AppGetOK) String added in v0.19.1

func (o *AppGetOK) String() string

type AppGetParams added in v0.19.1

type AppGetParams struct {

	/* ID.

	   The id of the requested application.
	*/
	ID string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

AppGetParams contains all the parameters to send to the API endpoint

for the app get operation.

Typically these are written to a http.Request.

func NewAppGetParams added in v0.19.1

func NewAppGetParams() *AppGetParams

NewAppGetParams creates a new AppGetParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewAppGetParamsWithContext added in v0.19.1

func NewAppGetParamsWithContext(ctx context.Context) *AppGetParams

NewAppGetParamsWithContext creates a new AppGetParams object with the ability to set a context for a request.

func NewAppGetParamsWithHTTPClient added in v0.19.1

func NewAppGetParamsWithHTTPClient(client *http.Client) *AppGetParams

NewAppGetParamsWithHTTPClient creates a new AppGetParams object with the ability to set a custom HTTPClient for a request.

func NewAppGetParamsWithTimeout added in v0.19.1

func NewAppGetParamsWithTimeout(timeout time.Duration) *AppGetParams

NewAppGetParamsWithTimeout creates a new AppGetParams object with the ability to set a timeout on a request.

func (*AppGetParams) SetContext added in v0.19.1

func (o *AppGetParams) SetContext(ctx context.Context)

SetContext adds the context to the app get params

func (*AppGetParams) SetDefaults added in v0.19.1

func (o *AppGetParams) SetDefaults()

SetDefaults hydrates default values in the app get params (not the query body).

All values with no default are reset to their zero value.

func (*AppGetParams) SetHTTPClient added in v0.19.1

func (o *AppGetParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the app get params

func (*AppGetParams) SetID added in v0.19.1

func (o *AppGetParams) SetID(id string)

SetID adds the id to the app get params

func (*AppGetParams) SetTimeout added in v0.19.1

func (o *AppGetParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the app get params

func (*AppGetParams) WithContext added in v0.19.1

func (o *AppGetParams) WithContext(ctx context.Context) *AppGetParams

WithContext adds the context to the app get params

func (*AppGetParams) WithDefaults added in v0.19.1

func (o *AppGetParams) WithDefaults() *AppGetParams

WithDefaults hydrates default values in the app get params (not the query body).

All values with no default are reset to their zero value.

func (*AppGetParams) WithHTTPClient added in v0.19.1

func (o *AppGetParams) WithHTTPClient(client *http.Client) *AppGetParams

WithHTTPClient adds the HTTPClient to the app get params

func (*AppGetParams) WithID added in v0.19.1

func (o *AppGetParams) WithID(id string) *AppGetParams

WithID adds the id to the app get params

func (*AppGetParams) WithTimeout added in v0.19.1

func (o *AppGetParams) WithTimeout(timeout time.Duration) *AppGetParams

WithTimeout adds the timeout to the app get params

func (*AppGetParams) WriteToRequest added in v0.19.1

func (o *AppGetParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type AppGetReader added in v0.19.1

type AppGetReader struct {
	// contains filtered or unexported fields
}

AppGetReader is a Reader for the AppGet structure.

func (*AppGetReader) ReadResponse added in v0.19.1

func (o *AppGetReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type AppGetUnauthorized added in v0.19.1

type AppGetUnauthorized struct {
}

AppGetUnauthorized describes a response with status code 401, with default header values.

unauthorized

func NewAppGetUnauthorized added in v0.19.1

func NewAppGetUnauthorized() *AppGetUnauthorized

NewAppGetUnauthorized creates a AppGetUnauthorized with default headers values

func (*AppGetUnauthorized) Code added in v0.19.1

func (o *AppGetUnauthorized) Code() int

Code gets the status code for the app get unauthorized response

func (*AppGetUnauthorized) Error added in v0.19.1

func (o *AppGetUnauthorized) Error() string

func (*AppGetUnauthorized) IsClientError added in v0.19.1

func (o *AppGetUnauthorized) IsClientError() bool

IsClientError returns true when this app get unauthorized response has a 4xx status code

func (*AppGetUnauthorized) IsCode added in v0.19.1

func (o *AppGetUnauthorized) IsCode(code int) bool

IsCode returns true when this app get unauthorized response a status code equal to that given

func (*AppGetUnauthorized) IsRedirect added in v0.19.1

func (o *AppGetUnauthorized) IsRedirect() bool

IsRedirect returns true when this app get unauthorized response has a 3xx status code

func (*AppGetUnauthorized) IsServerError added in v0.19.1

func (o *AppGetUnauthorized) IsServerError() bool

IsServerError returns true when this app get unauthorized response has a 5xx status code

func (*AppGetUnauthorized) IsSuccess added in v0.19.1

func (o *AppGetUnauthorized) IsSuccess() bool

IsSuccess returns true when this app get unauthorized response has a 2xx status code

func (*AppGetUnauthorized) String added in v0.19.1

func (o *AppGetUnauthorized) String() string

type AppsGetBadRequest added in v0.19.1

type AppsGetBadRequest struct {
}

AppsGetBadRequest describes a response with status code 400, with default header values.

bad request

func NewAppsGetBadRequest added in v0.19.1

func NewAppsGetBadRequest() *AppsGetBadRequest

NewAppsGetBadRequest creates a AppsGetBadRequest with default headers values

func (*AppsGetBadRequest) Code added in v0.19.1

func (o *AppsGetBadRequest) Code() int

Code gets the status code for the apps get bad request response

func (*AppsGetBadRequest) Error added in v0.19.1

func (o *AppsGetBadRequest) Error() string

func (*AppsGetBadRequest) IsClientError added in v0.19.1

func (o *AppsGetBadRequest) IsClientError() bool

IsClientError returns true when this apps get bad request response has a 4xx status code

func (*AppsGetBadRequest) IsCode added in v0.19.1

func (o *AppsGetBadRequest) IsCode(code int) bool

IsCode returns true when this apps get bad request response a status code equal to that given

func (*AppsGetBadRequest) IsRedirect added in v0.19.1

func (o *AppsGetBadRequest) IsRedirect() bool

IsRedirect returns true when this apps get bad request response has a 3xx status code

func (*AppsGetBadRequest) IsServerError added in v0.19.1

func (o *AppsGetBadRequest) IsServerError() bool

IsServerError returns true when this apps get bad request response has a 5xx status code

func (*AppsGetBadRequest) IsSuccess added in v0.19.1

func (o *AppsGetBadRequest) IsSuccess() bool

IsSuccess returns true when this apps get bad request response has a 2xx status code

func (*AppsGetBadRequest) String added in v0.19.1

func (o *AppsGetBadRequest) String() string

type AppsGetInternalServerError added in v0.19.1

type AppsGetInternalServerError struct {
}

AppsGetInternalServerError describes a response with status code 500, with default header values.

internal server error

func NewAppsGetInternalServerError added in v0.19.1

func NewAppsGetInternalServerError() *AppsGetInternalServerError

NewAppsGetInternalServerError creates a AppsGetInternalServerError with default headers values

func (*AppsGetInternalServerError) Code added in v0.19.1

func (o *AppsGetInternalServerError) Code() int

Code gets the status code for the apps get internal server error response

func (*AppsGetInternalServerError) Error added in v0.19.1

func (*AppsGetInternalServerError) IsClientError added in v0.19.1

func (o *AppsGetInternalServerError) IsClientError() bool

IsClientError returns true when this apps get internal server error response has a 4xx status code

func (*AppsGetInternalServerError) IsCode added in v0.19.1

func (o *AppsGetInternalServerError) IsCode(code int) bool

IsCode returns true when this apps get internal server error response a status code equal to that given

func (*AppsGetInternalServerError) IsRedirect added in v0.19.1

func (o *AppsGetInternalServerError) IsRedirect() bool

IsRedirect returns true when this apps get internal server error response has a 3xx status code

func (*AppsGetInternalServerError) IsServerError added in v0.19.1

func (o *AppsGetInternalServerError) IsServerError() bool

IsServerError returns true when this apps get internal server error response has a 5xx status code

func (*AppsGetInternalServerError) IsSuccess added in v0.19.1

func (o *AppsGetInternalServerError) IsSuccess() bool

IsSuccess returns true when this apps get internal server error response has a 2xx status code

func (*AppsGetInternalServerError) String added in v0.19.1

func (o *AppsGetInternalServerError) String() string

type AppsGetNotAcceptable added in v0.19.1

type AppsGetNotAcceptable struct {
}

AppsGetNotAcceptable describes a response with status code 406, with default header values.

not acceptable

func NewAppsGetNotAcceptable added in v0.19.1

func NewAppsGetNotAcceptable() *AppsGetNotAcceptable

NewAppsGetNotAcceptable creates a AppsGetNotAcceptable with default headers values

func (*AppsGetNotAcceptable) Code added in v0.19.1

func (o *AppsGetNotAcceptable) Code() int

Code gets the status code for the apps get not acceptable response

func (*AppsGetNotAcceptable) Error added in v0.19.1

func (o *AppsGetNotAcceptable) Error() string

func (*AppsGetNotAcceptable) IsClientError added in v0.19.1

func (o *AppsGetNotAcceptable) IsClientError() bool

IsClientError returns true when this apps get not acceptable response has a 4xx status code

func (*AppsGetNotAcceptable) IsCode added in v0.19.1

func (o *AppsGetNotAcceptable) IsCode(code int) bool

IsCode returns true when this apps get not acceptable response a status code equal to that given

func (*AppsGetNotAcceptable) IsRedirect added in v0.19.1

func (o *AppsGetNotAcceptable) IsRedirect() bool

IsRedirect returns true when this apps get not acceptable response has a 3xx status code

func (*AppsGetNotAcceptable) IsServerError added in v0.19.1

func (o *AppsGetNotAcceptable) IsServerError() bool

IsServerError returns true when this apps get not acceptable response has a 5xx status code

func (*AppsGetNotAcceptable) IsSuccess added in v0.19.1

func (o *AppsGetNotAcceptable) IsSuccess() bool

IsSuccess returns true when this apps get not acceptable response has a 2xx status code

func (*AppsGetNotAcceptable) String added in v0.19.1

func (o *AppsGetNotAcceptable) String() string

type AppsGetNotFound added in v0.19.1

type AppsGetNotFound struct {
}

AppsGetNotFound describes a response with status code 404, with default header values.

not found

func NewAppsGetNotFound added in v0.19.1

func NewAppsGetNotFound() *AppsGetNotFound

NewAppsGetNotFound creates a AppsGetNotFound with default headers values

func (*AppsGetNotFound) Code added in v0.19.1

func (o *AppsGetNotFound) Code() int

Code gets the status code for the apps get not found response

func (*AppsGetNotFound) Error added in v0.19.1

func (o *AppsGetNotFound) Error() string

func (*AppsGetNotFound) IsClientError added in v0.19.1

func (o *AppsGetNotFound) IsClientError() bool

IsClientError returns true when this apps get not found response has a 4xx status code

func (*AppsGetNotFound) IsCode added in v0.19.1

func (o *AppsGetNotFound) IsCode(code int) bool

IsCode returns true when this apps get not found response a status code equal to that given

func (*AppsGetNotFound) IsRedirect added in v0.19.1

func (o *AppsGetNotFound) IsRedirect() bool

IsRedirect returns true when this apps get not found response has a 3xx status code

func (*AppsGetNotFound) IsServerError added in v0.19.1

func (o *AppsGetNotFound) IsServerError() bool

IsServerError returns true when this apps get not found response has a 5xx status code

func (*AppsGetNotFound) IsSuccess added in v0.19.1

func (o *AppsGetNotFound) IsSuccess() bool

IsSuccess returns true when this apps get not found response has a 2xx status code

func (*AppsGetNotFound) String added in v0.19.1

func (o *AppsGetNotFound) String() string

type AppsGetOK added in v0.19.1

type AppsGetOK struct {

	/* Links to the next and previous queries.
	 */
	Link string

	Payload []*models.Application
}

AppsGetOK describes a response with status code 200, with default header values.

AppsGetOK apps get o k

func NewAppsGetOK added in v0.19.1

func NewAppsGetOK() *AppsGetOK

NewAppsGetOK creates a AppsGetOK with default headers values

func (*AppsGetOK) Code added in v0.19.1

func (o *AppsGetOK) Code() int

Code gets the status code for the apps get o k response

func (*AppsGetOK) Error added in v0.19.1

func (o *AppsGetOK) Error() string

func (*AppsGetOK) GetPayload added in v0.19.1

func (o *AppsGetOK) GetPayload() []*models.Application

func (*AppsGetOK) IsClientError added in v0.19.1

func (o *AppsGetOK) IsClientError() bool

IsClientError returns true when this apps get o k response has a 4xx status code

func (*AppsGetOK) IsCode added in v0.19.1

func (o *AppsGetOK) IsCode(code int) bool

IsCode returns true when this apps get o k response a status code equal to that given

func (*AppsGetOK) IsRedirect added in v0.19.1

func (o *AppsGetOK) IsRedirect() bool

IsRedirect returns true when this apps get o k response has a 3xx status code

func (*AppsGetOK) IsServerError added in v0.19.1

func (o *AppsGetOK) IsServerError() bool

IsServerError returns true when this apps get o k response has a 5xx status code

func (*AppsGetOK) IsSuccess added in v0.19.1

func (o *AppsGetOK) IsSuccess() bool

IsSuccess returns true when this apps get o k response has a 2xx status code

func (*AppsGetOK) String added in v0.19.1

func (o *AppsGetOK) String() string

type AppsGetParams added in v0.19.1

type AppsGetParams struct {

	/* Limit.

	   Number of items to return.

	   Default: 20
	*/
	Limit *int64

	/* MaxID.

	   Return only items *OLDER* than the given max item ID. The item with the specified ID will not be included in the response.
	*/
	MaxID *string

	/* MinID.

	   Return only items *immediately newer* than the given since item ID. The item with the specified ID will not be included in the response.
	*/
	MinID *string

	/* SinceID.

	   Return only items *newer* than the given since item ID. The item with the specified ID will not be included in the response.
	*/
	SinceID *string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

AppsGetParams contains all the parameters to send to the API endpoint

for the apps get operation.

Typically these are written to a http.Request.

func NewAppsGetParams added in v0.19.1

func NewAppsGetParams() *AppsGetParams

NewAppsGetParams creates a new AppsGetParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewAppsGetParamsWithContext added in v0.19.1

func NewAppsGetParamsWithContext(ctx context.Context) *AppsGetParams

NewAppsGetParamsWithContext creates a new AppsGetParams object with the ability to set a context for a request.

func NewAppsGetParamsWithHTTPClient added in v0.19.1

func NewAppsGetParamsWithHTTPClient(client *http.Client) *AppsGetParams

NewAppsGetParamsWithHTTPClient creates a new AppsGetParams object with the ability to set a custom HTTPClient for a request.

func NewAppsGetParamsWithTimeout added in v0.19.1

func NewAppsGetParamsWithTimeout(timeout time.Duration) *AppsGetParams

NewAppsGetParamsWithTimeout creates a new AppsGetParams object with the ability to set a timeout on a request.

func (*AppsGetParams) SetContext added in v0.19.1

func (o *AppsGetParams) SetContext(ctx context.Context)

SetContext adds the context to the apps get params

func (*AppsGetParams) SetDefaults added in v0.19.1

func (o *AppsGetParams) SetDefaults()

SetDefaults hydrates default values in the apps get params (not the query body).

All values with no default are reset to their zero value.

func (*AppsGetParams) SetHTTPClient added in v0.19.1

func (o *AppsGetParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the apps get params

func (*AppsGetParams) SetLimit added in v0.19.1

func (o *AppsGetParams) SetLimit(limit *int64)

SetLimit adds the limit to the apps get params

func (*AppsGetParams) SetMaxID added in v0.19.1

func (o *AppsGetParams) SetMaxID(maxID *string)

SetMaxID adds the maxId to the apps get params

func (*AppsGetParams) SetMinID added in v0.19.1

func (o *AppsGetParams) SetMinID(minID *string)

SetMinID adds the minId to the apps get params

func (*AppsGetParams) SetSinceID added in v0.19.1

func (o *AppsGetParams) SetSinceID(sinceID *string)

SetSinceID adds the sinceId to the apps get params

func (*AppsGetParams) SetTimeout added in v0.19.1

func (o *AppsGetParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the apps get params

func (*AppsGetParams) WithContext added in v0.19.1

func (o *AppsGetParams) WithContext(ctx context.Context) *AppsGetParams

WithContext adds the context to the apps get params

func (*AppsGetParams) WithDefaults added in v0.19.1

func (o *AppsGetParams) WithDefaults() *AppsGetParams

WithDefaults hydrates default values in the apps get params (not the query body).

All values with no default are reset to their zero value.

func (*AppsGetParams) WithHTTPClient added in v0.19.1

func (o *AppsGetParams) WithHTTPClient(client *http.Client) *AppsGetParams

WithHTTPClient adds the HTTPClient to the apps get params

func (*AppsGetParams) WithLimit added in v0.19.1

func (o *AppsGetParams) WithLimit(limit *int64) *AppsGetParams

WithLimit adds the limit to the apps get params

func (*AppsGetParams) WithMaxID added in v0.19.1

func (o *AppsGetParams) WithMaxID(maxID *string) *AppsGetParams

WithMaxID adds the maxID to the apps get params

func (*AppsGetParams) WithMinID added in v0.19.1

func (o *AppsGetParams) WithMinID(minID *string) *AppsGetParams

WithMinID adds the minID to the apps get params

func (*AppsGetParams) WithSinceID added in v0.19.1

func (o *AppsGetParams) WithSinceID(sinceID *string) *AppsGetParams

WithSinceID adds the sinceID to the apps get params

func (*AppsGetParams) WithTimeout added in v0.19.1

func (o *AppsGetParams) WithTimeout(timeout time.Duration) *AppsGetParams

WithTimeout adds the timeout to the apps get params

func (*AppsGetParams) WriteToRequest added in v0.19.1

func (o *AppsGetParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type AppsGetReader added in v0.19.1

type AppsGetReader struct {
	// contains filtered or unexported fields
}

AppsGetReader is a Reader for the AppsGet structure.

func (*AppsGetReader) ReadResponse added in v0.19.1

func (o *AppsGetReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type AppsGetUnauthorized added in v0.19.1

type AppsGetUnauthorized struct {
}

AppsGetUnauthorized describes a response with status code 401, with default header values.

unauthorized

func NewAppsGetUnauthorized added in v0.19.1

func NewAppsGetUnauthorized() *AppsGetUnauthorized

NewAppsGetUnauthorized creates a AppsGetUnauthorized with default headers values

func (*AppsGetUnauthorized) Code added in v0.19.1

func (o *AppsGetUnauthorized) Code() int

Code gets the status code for the apps get unauthorized response

func (*AppsGetUnauthorized) Error added in v0.19.1

func (o *AppsGetUnauthorized) Error() string

func (*AppsGetUnauthorized) IsClientError added in v0.19.1

func (o *AppsGetUnauthorized) IsClientError() bool

IsClientError returns true when this apps get unauthorized response has a 4xx status code

func (*AppsGetUnauthorized) IsCode added in v0.19.1

func (o *AppsGetUnauthorized) IsCode(code int) bool

IsCode returns true when this apps get unauthorized response a status code equal to that given

func (*AppsGetUnauthorized) IsRedirect added in v0.19.1

func (o *AppsGetUnauthorized) IsRedirect() bool

IsRedirect returns true when this apps get unauthorized response has a 3xx status code

func (*AppsGetUnauthorized) IsServerError added in v0.19.1

func (o *AppsGetUnauthorized) IsServerError() bool

IsServerError returns true when this apps get unauthorized response has a 5xx status code

func (*AppsGetUnauthorized) IsSuccess added in v0.19.1

func (o *AppsGetUnauthorized) IsSuccess() bool

IsSuccess returns true when this apps get unauthorized response has a 2xx status code

func (*AppsGetUnauthorized) String added in v0.19.1

func (o *AppsGetUnauthorized) String() string

type Client

type Client struct {
	// contains filtered or unexported fields
}

Client for apps API

func (*Client) AppCreate

func (a *Client) AppCreate(params *AppCreateParams, opts ...ClientOption) (*AppCreateOK, error)
AppCreate registers a new application on this instance

The registered application can be used to obtain an application token.

This can then be used to register a new account, or (through user auth) obtain an access token.

If the application was registered with a Bearer token passed in the Authorization header, the created application will be managed by the authenticated user (must have scope write:applications).

Parameters can also be given in the body of the request, as JSON, if the content-type is set to 'application/json'. Parameters can also be given in the body of the request, as XML, if the content-type is set to 'application/xml'.

func (*Client) AppDelete added in v0.19.1

func (a *Client) AppDelete(params *AppDeleteParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*AppDeleteOK, error)

AppDelete deletes a single application managed by the requester

func (*Client) AppGet added in v0.19.1

func (a *Client) AppGet(params *AppGetParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*AppGetOK, error)

AppGet gets a single application managed by the requester

func (*Client) AppsGet added in v0.19.1

func (a *Client) AppsGet(params *AppsGetParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*AppsGetOK, error)
AppsGet gets an array of applications that are managed by the requester

The next and previous queries can be parsed from the returned Link header.

Example:

``` <https://example.org/api/v1/apps?limit=80&max_id=01FC0SKA48HNSVR6YKZCQGS2V8>; rel="next", <https://example.org/api/v1/apps?limit=80&min_id=01FC0SKW5JK2Q4EVAV2B462YY0>; rel="prev" ````

func (*Client) SetTransport

func (a *Client) SetTransport(transport runtime.ClientTransport)

SetTransport changes the transport on the client

type ClientOption

type ClientOption func(*runtime.ClientOperation)

ClientOption may be used to customize the behavior of Client methods.

func WithContentType

func WithContentType(mime string) ClientOption

WithContentType allows the client to force the Content-Type header to negotiate a specific Consumer from the server.

You may use this option to set arbitrary extensions to your MIME media type.

type ClientService

type ClientService interface {
	AppCreate(params *AppCreateParams, opts ...ClientOption) (*AppCreateOK, error)

	AppDelete(params *AppDeleteParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*AppDeleteOK, error)

	AppGet(params *AppGetParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*AppGetOK, error)

	AppsGet(params *AppsGetParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*AppsGetOK, error)

	SetTransport(transport runtime.ClientTransport)
}

ClientService is the interface for Client methods

func New

func New(transport runtime.ClientTransport, formats strfmt.Registry) ClientService

New creates a new apps API client.

func NewClientWithBasicAuth

func NewClientWithBasicAuth(host, basePath, scheme, user, password string) ClientService

New creates a new apps API client with basic auth credentials. It takes the following parameters: - host: http host (github.com). - basePath: any base path for the API client ("/v1", "/v3"). - scheme: http scheme ("http", "https"). - user: user for basic authentication header. - password: password for basic authentication header.

func NewClientWithBearerToken

func NewClientWithBearerToken(host, basePath, scheme, bearerToken string) ClientService

New creates a new apps API client with a bearer token for authentication. It takes the following parameters: - host: http host (github.com). - basePath: any base path for the API client ("/v1", "/v3"). - scheme: http scheme ("http", "https"). - bearerToken: bearer token for Bearer authentication header.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL