admin

package
v0.0.0-...-6bd88e3 Latest Latest
Warning

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

Go to latest
Published: Aug 1, 2024 License: AGPL-3.0-or-later 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".

func WithContentTypeMultipartFormData

func WithContentTypeMultipartFormData(r *runtime.ClientOperation)

WithContentTypeMultipartFormData sets the Content-Type header to "multipart/form-data".

Types

type AdminAccountActionBadRequest

type AdminAccountActionBadRequest struct {
}

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

bad request

func NewAdminAccountActionBadRequest

func NewAdminAccountActionBadRequest() *AdminAccountActionBadRequest

NewAdminAccountActionBadRequest creates a AdminAccountActionBadRequest with default headers values

func (*AdminAccountActionBadRequest) Code

Code gets the status code for the admin account action bad request response

func (*AdminAccountActionBadRequest) Error

func (*AdminAccountActionBadRequest) IsClientError

func (o *AdminAccountActionBadRequest) IsClientError() bool

IsClientError returns true when this admin account action bad request response has a 4xx status code

func (*AdminAccountActionBadRequest) IsCode

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

IsCode returns true when this admin account action bad request response a status code equal to that given

func (*AdminAccountActionBadRequest) IsRedirect

func (o *AdminAccountActionBadRequest) IsRedirect() bool

IsRedirect returns true when this admin account action bad request response has a 3xx status code

func (*AdminAccountActionBadRequest) IsServerError

func (o *AdminAccountActionBadRequest) IsServerError() bool

IsServerError returns true when this admin account action bad request response has a 5xx status code

func (*AdminAccountActionBadRequest) IsSuccess

func (o *AdminAccountActionBadRequest) IsSuccess() bool

IsSuccess returns true when this admin account action bad request response has a 2xx status code

func (*AdminAccountActionBadRequest) String

type AdminAccountActionConflict

type AdminAccountActionConflict struct {
}

AdminAccountActionConflict describes a response with status code 409, with default header values.

Conflict: There is already an admin action running that conflicts with this action. Check the error message in the response body for more information. This is a temporary error; it should be possible to process this action if you try again in a bit.

func NewAdminAccountActionConflict

func NewAdminAccountActionConflict() *AdminAccountActionConflict

NewAdminAccountActionConflict creates a AdminAccountActionConflict with default headers values

func (*AdminAccountActionConflict) Code

func (o *AdminAccountActionConflict) Code() int

Code gets the status code for the admin account action conflict response

func (*AdminAccountActionConflict) Error

func (*AdminAccountActionConflict) IsClientError

func (o *AdminAccountActionConflict) IsClientError() bool

IsClientError returns true when this admin account action conflict response has a 4xx status code

func (*AdminAccountActionConflict) IsCode

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

IsCode returns true when this admin account action conflict response a status code equal to that given

func (*AdminAccountActionConflict) IsRedirect

func (o *AdminAccountActionConflict) IsRedirect() bool

IsRedirect returns true when this admin account action conflict response has a 3xx status code

func (*AdminAccountActionConflict) IsServerError

func (o *AdminAccountActionConflict) IsServerError() bool

IsServerError returns true when this admin account action conflict response has a 5xx status code

func (*AdminAccountActionConflict) IsSuccess

func (o *AdminAccountActionConflict) IsSuccess() bool

IsSuccess returns true when this admin account action conflict response has a 2xx status code

func (*AdminAccountActionConflict) String

func (o *AdminAccountActionConflict) String() string

type AdminAccountActionForbidden

type AdminAccountActionForbidden struct {
}

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

forbidden

func NewAdminAccountActionForbidden

func NewAdminAccountActionForbidden() *AdminAccountActionForbidden

NewAdminAccountActionForbidden creates a AdminAccountActionForbidden with default headers values

func (*AdminAccountActionForbidden) Code

func (o *AdminAccountActionForbidden) Code() int

Code gets the status code for the admin account action forbidden response

func (*AdminAccountActionForbidden) Error

func (*AdminAccountActionForbidden) IsClientError

func (o *AdminAccountActionForbidden) IsClientError() bool

IsClientError returns true when this admin account action forbidden response has a 4xx status code

func (*AdminAccountActionForbidden) IsCode

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

IsCode returns true when this admin account action forbidden response a status code equal to that given

func (*AdminAccountActionForbidden) IsRedirect

func (o *AdminAccountActionForbidden) IsRedirect() bool

IsRedirect returns true when this admin account action forbidden response has a 3xx status code

func (*AdminAccountActionForbidden) IsServerError

func (o *AdminAccountActionForbidden) IsServerError() bool

IsServerError returns true when this admin account action forbidden response has a 5xx status code

func (*AdminAccountActionForbidden) IsSuccess

func (o *AdminAccountActionForbidden) IsSuccess() bool

IsSuccess returns true when this admin account action forbidden response has a 2xx status code

func (*AdminAccountActionForbidden) String

func (o *AdminAccountActionForbidden) String() string

type AdminAccountActionInternalServerError

type AdminAccountActionInternalServerError struct {
}

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

internal server error

func NewAdminAccountActionInternalServerError

func NewAdminAccountActionInternalServerError() *AdminAccountActionInternalServerError

NewAdminAccountActionInternalServerError creates a AdminAccountActionInternalServerError with default headers values

func (*AdminAccountActionInternalServerError) Code

Code gets the status code for the admin account action internal server error response

func (*AdminAccountActionInternalServerError) Error

func (*AdminAccountActionInternalServerError) IsClientError

func (o *AdminAccountActionInternalServerError) IsClientError() bool

IsClientError returns true when this admin account action internal server error response has a 4xx status code

func (*AdminAccountActionInternalServerError) IsCode

IsCode returns true when this admin account action internal server error response a status code equal to that given

func (*AdminAccountActionInternalServerError) IsRedirect

IsRedirect returns true when this admin account action internal server error response has a 3xx status code

func (*AdminAccountActionInternalServerError) IsServerError

func (o *AdminAccountActionInternalServerError) IsServerError() bool

IsServerError returns true when this admin account action internal server error response has a 5xx status code

func (*AdminAccountActionInternalServerError) IsSuccess

IsSuccess returns true when this admin account action internal server error response has a 2xx status code

func (*AdminAccountActionInternalServerError) String

type AdminAccountActionNotAcceptable

type AdminAccountActionNotAcceptable struct {
}

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

not acceptable

func NewAdminAccountActionNotAcceptable

func NewAdminAccountActionNotAcceptable() *AdminAccountActionNotAcceptable

NewAdminAccountActionNotAcceptable creates a AdminAccountActionNotAcceptable with default headers values

func (*AdminAccountActionNotAcceptable) Code

Code gets the status code for the admin account action not acceptable response

func (*AdminAccountActionNotAcceptable) Error

func (*AdminAccountActionNotAcceptable) IsClientError

func (o *AdminAccountActionNotAcceptable) IsClientError() bool

IsClientError returns true when this admin account action not acceptable response has a 4xx status code

func (*AdminAccountActionNotAcceptable) IsCode

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

IsCode returns true when this admin account action not acceptable response a status code equal to that given

func (*AdminAccountActionNotAcceptable) IsRedirect

func (o *AdminAccountActionNotAcceptable) IsRedirect() bool

IsRedirect returns true when this admin account action not acceptable response has a 3xx status code

func (*AdminAccountActionNotAcceptable) IsServerError

func (o *AdminAccountActionNotAcceptable) IsServerError() bool

IsServerError returns true when this admin account action not acceptable response has a 5xx status code

func (*AdminAccountActionNotAcceptable) IsSuccess

func (o *AdminAccountActionNotAcceptable) IsSuccess() bool

IsSuccess returns true when this admin account action not acceptable response has a 2xx status code

func (*AdminAccountActionNotAcceptable) String

type AdminAccountActionNotFound

type AdminAccountActionNotFound struct {
}

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

not found

func NewAdminAccountActionNotFound

func NewAdminAccountActionNotFound() *AdminAccountActionNotFound

NewAdminAccountActionNotFound creates a AdminAccountActionNotFound with default headers values

func (*AdminAccountActionNotFound) Code

func (o *AdminAccountActionNotFound) Code() int

Code gets the status code for the admin account action not found response

func (*AdminAccountActionNotFound) Error

func (*AdminAccountActionNotFound) IsClientError

func (o *AdminAccountActionNotFound) IsClientError() bool

IsClientError returns true when this admin account action not found response has a 4xx status code

func (*AdminAccountActionNotFound) IsCode

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

IsCode returns true when this admin account action not found response a status code equal to that given

func (*AdminAccountActionNotFound) IsRedirect

func (o *AdminAccountActionNotFound) IsRedirect() bool

IsRedirect returns true when this admin account action not found response has a 3xx status code

func (*AdminAccountActionNotFound) IsServerError

func (o *AdminAccountActionNotFound) IsServerError() bool

IsServerError returns true when this admin account action not found response has a 5xx status code

func (*AdminAccountActionNotFound) IsSuccess

func (o *AdminAccountActionNotFound) IsSuccess() bool

IsSuccess returns true when this admin account action not found response has a 2xx status code

func (*AdminAccountActionNotFound) String

func (o *AdminAccountActionNotFound) String() string

type AdminAccountActionOK

type AdminAccountActionOK struct {
}

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

OK

func NewAdminAccountActionOK

func NewAdminAccountActionOK() *AdminAccountActionOK

NewAdminAccountActionOK creates a AdminAccountActionOK with default headers values

func (*AdminAccountActionOK) Code

func (o *AdminAccountActionOK) Code() int

Code gets the status code for the admin account action o k response

func (*AdminAccountActionOK) Error

func (o *AdminAccountActionOK) Error() string

func (*AdminAccountActionOK) IsClientError

func (o *AdminAccountActionOK) IsClientError() bool

IsClientError returns true when this admin account action o k response has a 4xx status code

func (*AdminAccountActionOK) IsCode

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

IsCode returns true when this admin account action o k response a status code equal to that given

func (*AdminAccountActionOK) IsRedirect

func (o *AdminAccountActionOK) IsRedirect() bool

IsRedirect returns true when this admin account action o k response has a 3xx status code

func (*AdminAccountActionOK) IsServerError

func (o *AdminAccountActionOK) IsServerError() bool

IsServerError returns true when this admin account action o k response has a 5xx status code

func (*AdminAccountActionOK) IsSuccess

func (o *AdminAccountActionOK) IsSuccess() bool

IsSuccess returns true when this admin account action o k response has a 2xx status code

func (*AdminAccountActionOK) String

func (o *AdminAccountActionOK) String() string

type AdminAccountActionParams

type AdminAccountActionParams struct {

	/* ID.

	   ID of the account.
	*/
	ID string

	/* Text.

	   Optional text describing why this action was taken.
	*/
	Text *string

	/* Type.

	   Type of action to be taken, currently only supports `suspend`.
	*/
	Type string

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

AdminAccountActionParams contains all the parameters to send to the API endpoint

for the admin account action operation.

Typically these are written to a http.Request.

func NewAdminAccountActionParams

func NewAdminAccountActionParams() *AdminAccountActionParams

NewAdminAccountActionParams creates a new AdminAccountActionParams 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 NewAdminAccountActionParamsWithContext

func NewAdminAccountActionParamsWithContext(ctx context.Context) *AdminAccountActionParams

NewAdminAccountActionParamsWithContext creates a new AdminAccountActionParams object with the ability to set a context for a request.

func NewAdminAccountActionParamsWithHTTPClient

func NewAdminAccountActionParamsWithHTTPClient(client *http.Client) *AdminAccountActionParams

NewAdminAccountActionParamsWithHTTPClient creates a new AdminAccountActionParams object with the ability to set a custom HTTPClient for a request.

func NewAdminAccountActionParamsWithTimeout

func NewAdminAccountActionParamsWithTimeout(timeout time.Duration) *AdminAccountActionParams

NewAdminAccountActionParamsWithTimeout creates a new AdminAccountActionParams object with the ability to set a timeout on a request.

func (*AdminAccountActionParams) SetContext

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

SetContext adds the context to the admin account action params

func (*AdminAccountActionParams) SetDefaults

func (o *AdminAccountActionParams) SetDefaults()

SetDefaults hydrates default values in the admin account action params (not the query body).

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

func (*AdminAccountActionParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the admin account action params

func (*AdminAccountActionParams) SetID

func (o *AdminAccountActionParams) SetID(id string)

SetID adds the id to the admin account action params

func (*AdminAccountActionParams) SetText

func (o *AdminAccountActionParams) SetText(text *string)

SetText adds the text to the admin account action params

func (*AdminAccountActionParams) SetTimeout

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

SetTimeout adds the timeout to the admin account action params

func (*AdminAccountActionParams) SetType

func (o *AdminAccountActionParams) SetType(typeVar string)

SetType adds the type to the admin account action params

func (*AdminAccountActionParams) WithContext

WithContext adds the context to the admin account action params

func (*AdminAccountActionParams) WithDefaults

WithDefaults hydrates default values in the admin account action params (not the query body).

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

func (*AdminAccountActionParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the admin account action params

func (*AdminAccountActionParams) WithID

WithID adds the id to the admin account action params

func (*AdminAccountActionParams) WithText

WithText adds the text to the admin account action params

func (*AdminAccountActionParams) WithTimeout

WithTimeout adds the timeout to the admin account action params

func (*AdminAccountActionParams) WithType

WithType adds the typeVar to the admin account action params

func (*AdminAccountActionParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type AdminAccountActionReader

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

AdminAccountActionReader is a Reader for the AdminAccountAction structure.

func (*AdminAccountActionReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type AdminAccountActionUnauthorized

type AdminAccountActionUnauthorized struct {
}

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

unauthorized

func NewAdminAccountActionUnauthorized

func NewAdminAccountActionUnauthorized() *AdminAccountActionUnauthorized

NewAdminAccountActionUnauthorized creates a AdminAccountActionUnauthorized with default headers values

func (*AdminAccountActionUnauthorized) Code

Code gets the status code for the admin account action unauthorized response

func (*AdminAccountActionUnauthorized) Error

func (*AdminAccountActionUnauthorized) IsClientError

func (o *AdminAccountActionUnauthorized) IsClientError() bool

IsClientError returns true when this admin account action unauthorized response has a 4xx status code

func (*AdminAccountActionUnauthorized) IsCode

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

IsCode returns true when this admin account action unauthorized response a status code equal to that given

func (*AdminAccountActionUnauthorized) IsRedirect

func (o *AdminAccountActionUnauthorized) IsRedirect() bool

IsRedirect returns true when this admin account action unauthorized response has a 3xx status code

func (*AdminAccountActionUnauthorized) IsServerError

func (o *AdminAccountActionUnauthorized) IsServerError() bool

IsServerError returns true when this admin account action unauthorized response has a 5xx status code

func (*AdminAccountActionUnauthorized) IsSuccess

func (o *AdminAccountActionUnauthorized) IsSuccess() bool

IsSuccess returns true when this admin account action unauthorized response has a 2xx status code

func (*AdminAccountActionUnauthorized) String

type AdminAccountApproveBadRequest

type AdminAccountApproveBadRequest struct {
}

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

bad request

func NewAdminAccountApproveBadRequest

func NewAdminAccountApproveBadRequest() *AdminAccountApproveBadRequest

NewAdminAccountApproveBadRequest creates a AdminAccountApproveBadRequest with default headers values

func (*AdminAccountApproveBadRequest) Code

Code gets the status code for the admin account approve bad request response

func (*AdminAccountApproveBadRequest) Error

func (*AdminAccountApproveBadRequest) IsClientError

func (o *AdminAccountApproveBadRequest) IsClientError() bool

IsClientError returns true when this admin account approve bad request response has a 4xx status code

func (*AdminAccountApproveBadRequest) IsCode

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

IsCode returns true when this admin account approve bad request response a status code equal to that given

func (*AdminAccountApproveBadRequest) IsRedirect

func (o *AdminAccountApproveBadRequest) IsRedirect() bool

IsRedirect returns true when this admin account approve bad request response has a 3xx status code

func (*AdminAccountApproveBadRequest) IsServerError

func (o *AdminAccountApproveBadRequest) IsServerError() bool

IsServerError returns true when this admin account approve bad request response has a 5xx status code

func (*AdminAccountApproveBadRequest) IsSuccess

func (o *AdminAccountApproveBadRequest) IsSuccess() bool

IsSuccess returns true when this admin account approve bad request response has a 2xx status code

func (*AdminAccountApproveBadRequest) String

type AdminAccountApproveForbidden

type AdminAccountApproveForbidden struct {
}

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

forbidden

func NewAdminAccountApproveForbidden

func NewAdminAccountApproveForbidden() *AdminAccountApproveForbidden

NewAdminAccountApproveForbidden creates a AdminAccountApproveForbidden with default headers values

func (*AdminAccountApproveForbidden) Code

Code gets the status code for the admin account approve forbidden response

func (*AdminAccountApproveForbidden) Error

func (*AdminAccountApproveForbidden) IsClientError

func (o *AdminAccountApproveForbidden) IsClientError() bool

IsClientError returns true when this admin account approve forbidden response has a 4xx status code

func (*AdminAccountApproveForbidden) IsCode

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

IsCode returns true when this admin account approve forbidden response a status code equal to that given

func (*AdminAccountApproveForbidden) IsRedirect

func (o *AdminAccountApproveForbidden) IsRedirect() bool

IsRedirect returns true when this admin account approve forbidden response has a 3xx status code

func (*AdminAccountApproveForbidden) IsServerError

func (o *AdminAccountApproveForbidden) IsServerError() bool

IsServerError returns true when this admin account approve forbidden response has a 5xx status code

func (*AdminAccountApproveForbidden) IsSuccess

func (o *AdminAccountApproveForbidden) IsSuccess() bool

IsSuccess returns true when this admin account approve forbidden response has a 2xx status code

func (*AdminAccountApproveForbidden) String

type AdminAccountApproveInternalServerError

type AdminAccountApproveInternalServerError struct {
}

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

internal server error

func NewAdminAccountApproveInternalServerError

func NewAdminAccountApproveInternalServerError() *AdminAccountApproveInternalServerError

NewAdminAccountApproveInternalServerError creates a AdminAccountApproveInternalServerError with default headers values

func (*AdminAccountApproveInternalServerError) Code

Code gets the status code for the admin account approve internal server error response

func (*AdminAccountApproveInternalServerError) Error

func (*AdminAccountApproveInternalServerError) IsClientError

func (o *AdminAccountApproveInternalServerError) IsClientError() bool

IsClientError returns true when this admin account approve internal server error response has a 4xx status code

func (*AdminAccountApproveInternalServerError) IsCode

IsCode returns true when this admin account approve internal server error response a status code equal to that given

func (*AdminAccountApproveInternalServerError) IsRedirect

IsRedirect returns true when this admin account approve internal server error response has a 3xx status code

func (*AdminAccountApproveInternalServerError) IsServerError

func (o *AdminAccountApproveInternalServerError) IsServerError() bool

IsServerError returns true when this admin account approve internal server error response has a 5xx status code

func (*AdminAccountApproveInternalServerError) IsSuccess

IsSuccess returns true when this admin account approve internal server error response has a 2xx status code

func (*AdminAccountApproveInternalServerError) String

type AdminAccountApproveNotAcceptable

type AdminAccountApproveNotAcceptable struct {
}

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

not acceptable

func NewAdminAccountApproveNotAcceptable

func NewAdminAccountApproveNotAcceptable() *AdminAccountApproveNotAcceptable

NewAdminAccountApproveNotAcceptable creates a AdminAccountApproveNotAcceptable with default headers values

func (*AdminAccountApproveNotAcceptable) Code

Code gets the status code for the admin account approve not acceptable response

func (*AdminAccountApproveNotAcceptable) Error

func (*AdminAccountApproveNotAcceptable) IsClientError

func (o *AdminAccountApproveNotAcceptable) IsClientError() bool

IsClientError returns true when this admin account approve not acceptable response has a 4xx status code

func (*AdminAccountApproveNotAcceptable) IsCode

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

IsCode returns true when this admin account approve not acceptable response a status code equal to that given

func (*AdminAccountApproveNotAcceptable) IsRedirect

func (o *AdminAccountApproveNotAcceptable) IsRedirect() bool

IsRedirect returns true when this admin account approve not acceptable response has a 3xx status code

func (*AdminAccountApproveNotAcceptable) IsServerError

func (o *AdminAccountApproveNotAcceptable) IsServerError() bool

IsServerError returns true when this admin account approve not acceptable response has a 5xx status code

func (*AdminAccountApproveNotAcceptable) IsSuccess

func (o *AdminAccountApproveNotAcceptable) IsSuccess() bool

IsSuccess returns true when this admin account approve not acceptable response has a 2xx status code

func (*AdminAccountApproveNotAcceptable) String

type AdminAccountApproveNotFound

type AdminAccountApproveNotFound struct {
}

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

not found

func NewAdminAccountApproveNotFound

func NewAdminAccountApproveNotFound() *AdminAccountApproveNotFound

NewAdminAccountApproveNotFound creates a AdminAccountApproveNotFound with default headers values

func (*AdminAccountApproveNotFound) Code

func (o *AdminAccountApproveNotFound) Code() int

Code gets the status code for the admin account approve not found response

func (*AdminAccountApproveNotFound) Error

func (*AdminAccountApproveNotFound) IsClientError

func (o *AdminAccountApproveNotFound) IsClientError() bool

IsClientError returns true when this admin account approve not found response has a 4xx status code

func (*AdminAccountApproveNotFound) IsCode

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

IsCode returns true when this admin account approve not found response a status code equal to that given

func (*AdminAccountApproveNotFound) IsRedirect

func (o *AdminAccountApproveNotFound) IsRedirect() bool

IsRedirect returns true when this admin account approve not found response has a 3xx status code

func (*AdminAccountApproveNotFound) IsServerError

func (o *AdminAccountApproveNotFound) IsServerError() bool

IsServerError returns true when this admin account approve not found response has a 5xx status code

func (*AdminAccountApproveNotFound) IsSuccess

func (o *AdminAccountApproveNotFound) IsSuccess() bool

IsSuccess returns true when this admin account approve not found response has a 2xx status code

func (*AdminAccountApproveNotFound) String

func (o *AdminAccountApproveNotFound) String() string

type AdminAccountApproveOK

type AdminAccountApproveOK struct {
	Payload *models.AdminAccountInfo
}

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

The now-approved account.

func NewAdminAccountApproveOK

func NewAdminAccountApproveOK() *AdminAccountApproveOK

NewAdminAccountApproveOK creates a AdminAccountApproveOK with default headers values

func (*AdminAccountApproveOK) Code

func (o *AdminAccountApproveOK) Code() int

Code gets the status code for the admin account approve o k response

func (*AdminAccountApproveOK) Error

func (o *AdminAccountApproveOK) Error() string

func (*AdminAccountApproveOK) GetPayload

func (*AdminAccountApproveOK) IsClientError

func (o *AdminAccountApproveOK) IsClientError() bool

IsClientError returns true when this admin account approve o k response has a 4xx status code

func (*AdminAccountApproveOK) IsCode

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

IsCode returns true when this admin account approve o k response a status code equal to that given

func (*AdminAccountApproveOK) IsRedirect

func (o *AdminAccountApproveOK) IsRedirect() bool

IsRedirect returns true when this admin account approve o k response has a 3xx status code

func (*AdminAccountApproveOK) IsServerError

func (o *AdminAccountApproveOK) IsServerError() bool

IsServerError returns true when this admin account approve o k response has a 5xx status code

func (*AdminAccountApproveOK) IsSuccess

func (o *AdminAccountApproveOK) IsSuccess() bool

IsSuccess returns true when this admin account approve o k response has a 2xx status code

func (*AdminAccountApproveOK) String

func (o *AdminAccountApproveOK) String() string

type AdminAccountApproveParams

type AdminAccountApproveParams struct {

	/* ID.

	   ID of the account.
	*/
	ID string

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

AdminAccountApproveParams contains all the parameters to send to the API endpoint

for the admin account approve operation.

Typically these are written to a http.Request.

func NewAdminAccountApproveParams

func NewAdminAccountApproveParams() *AdminAccountApproveParams

NewAdminAccountApproveParams creates a new AdminAccountApproveParams 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 NewAdminAccountApproveParamsWithContext

func NewAdminAccountApproveParamsWithContext(ctx context.Context) *AdminAccountApproveParams

NewAdminAccountApproveParamsWithContext creates a new AdminAccountApproveParams object with the ability to set a context for a request.

func NewAdminAccountApproveParamsWithHTTPClient

func NewAdminAccountApproveParamsWithHTTPClient(client *http.Client) *AdminAccountApproveParams

NewAdminAccountApproveParamsWithHTTPClient creates a new AdminAccountApproveParams object with the ability to set a custom HTTPClient for a request.

func NewAdminAccountApproveParamsWithTimeout

func NewAdminAccountApproveParamsWithTimeout(timeout time.Duration) *AdminAccountApproveParams

NewAdminAccountApproveParamsWithTimeout creates a new AdminAccountApproveParams object with the ability to set a timeout on a request.

func (*AdminAccountApproveParams) SetContext

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

SetContext adds the context to the admin account approve params

func (*AdminAccountApproveParams) SetDefaults

func (o *AdminAccountApproveParams) SetDefaults()

SetDefaults hydrates default values in the admin account approve params (not the query body).

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

func (*AdminAccountApproveParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the admin account approve params

func (*AdminAccountApproveParams) SetID

func (o *AdminAccountApproveParams) SetID(id string)

SetID adds the id to the admin account approve params

func (*AdminAccountApproveParams) SetTimeout

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

SetTimeout adds the timeout to the admin account approve params

func (*AdminAccountApproveParams) WithContext

WithContext adds the context to the admin account approve params

func (*AdminAccountApproveParams) WithDefaults

WithDefaults hydrates default values in the admin account approve params (not the query body).

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

func (*AdminAccountApproveParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the admin account approve params

func (*AdminAccountApproveParams) WithID

WithID adds the id to the admin account approve params

func (*AdminAccountApproveParams) WithTimeout

WithTimeout adds the timeout to the admin account approve params

func (*AdminAccountApproveParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type AdminAccountApproveReader

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

AdminAccountApproveReader is a Reader for the AdminAccountApprove structure.

func (*AdminAccountApproveReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type AdminAccountApproveUnauthorized

type AdminAccountApproveUnauthorized struct {
}

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

unauthorized

func NewAdminAccountApproveUnauthorized

func NewAdminAccountApproveUnauthorized() *AdminAccountApproveUnauthorized

NewAdminAccountApproveUnauthorized creates a AdminAccountApproveUnauthorized with default headers values

func (*AdminAccountApproveUnauthorized) Code

Code gets the status code for the admin account approve unauthorized response

func (*AdminAccountApproveUnauthorized) Error

func (*AdminAccountApproveUnauthorized) IsClientError

func (o *AdminAccountApproveUnauthorized) IsClientError() bool

IsClientError returns true when this admin account approve unauthorized response has a 4xx status code

func (*AdminAccountApproveUnauthorized) IsCode

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

IsCode returns true when this admin account approve unauthorized response a status code equal to that given

func (*AdminAccountApproveUnauthorized) IsRedirect

func (o *AdminAccountApproveUnauthorized) IsRedirect() bool

IsRedirect returns true when this admin account approve unauthorized response has a 3xx status code

func (*AdminAccountApproveUnauthorized) IsServerError

func (o *AdminAccountApproveUnauthorized) IsServerError() bool

IsServerError returns true when this admin account approve unauthorized response has a 5xx status code

func (*AdminAccountApproveUnauthorized) IsSuccess

func (o *AdminAccountApproveUnauthorized) IsSuccess() bool

IsSuccess returns true when this admin account approve unauthorized response has a 2xx status code

func (*AdminAccountApproveUnauthorized) String

type AdminAccountGetBadRequest

type AdminAccountGetBadRequest struct {
}

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

bad request

func NewAdminAccountGetBadRequest

func NewAdminAccountGetBadRequest() *AdminAccountGetBadRequest

NewAdminAccountGetBadRequest creates a AdminAccountGetBadRequest with default headers values

func (*AdminAccountGetBadRequest) Code

func (o *AdminAccountGetBadRequest) Code() int

Code gets the status code for the admin account get bad request response

func (*AdminAccountGetBadRequest) Error

func (o *AdminAccountGetBadRequest) Error() string

func (*AdminAccountGetBadRequest) IsClientError

func (o *AdminAccountGetBadRequest) IsClientError() bool

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

func (*AdminAccountGetBadRequest) IsCode

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

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

func (*AdminAccountGetBadRequest) IsRedirect

func (o *AdminAccountGetBadRequest) IsRedirect() bool

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

func (*AdminAccountGetBadRequest) IsServerError

func (o *AdminAccountGetBadRequest) IsServerError() bool

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

func (*AdminAccountGetBadRequest) IsSuccess

func (o *AdminAccountGetBadRequest) IsSuccess() bool

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

func (*AdminAccountGetBadRequest) String

func (o *AdminAccountGetBadRequest) String() string

type AdminAccountGetForbidden

type AdminAccountGetForbidden struct {
}

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

forbidden

func NewAdminAccountGetForbidden

func NewAdminAccountGetForbidden() *AdminAccountGetForbidden

NewAdminAccountGetForbidden creates a AdminAccountGetForbidden with default headers values

func (*AdminAccountGetForbidden) Code

func (o *AdminAccountGetForbidden) Code() int

Code gets the status code for the admin account get forbidden response

func (*AdminAccountGetForbidden) Error

func (o *AdminAccountGetForbidden) Error() string

func (*AdminAccountGetForbidden) IsClientError

func (o *AdminAccountGetForbidden) IsClientError() bool

IsClientError returns true when this admin account get forbidden response has a 4xx status code

func (*AdminAccountGetForbidden) IsCode

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

IsCode returns true when this admin account get forbidden response a status code equal to that given

func (*AdminAccountGetForbidden) IsRedirect

func (o *AdminAccountGetForbidden) IsRedirect() bool

IsRedirect returns true when this admin account get forbidden response has a 3xx status code

func (*AdminAccountGetForbidden) IsServerError

func (o *AdminAccountGetForbidden) IsServerError() bool

IsServerError returns true when this admin account get forbidden response has a 5xx status code

func (*AdminAccountGetForbidden) IsSuccess

func (o *AdminAccountGetForbidden) IsSuccess() bool

IsSuccess returns true when this admin account get forbidden response has a 2xx status code

func (*AdminAccountGetForbidden) String

func (o *AdminAccountGetForbidden) String() string

type AdminAccountGetInternalServerError

type AdminAccountGetInternalServerError struct {
}

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

internal server error

func NewAdminAccountGetInternalServerError

func NewAdminAccountGetInternalServerError() *AdminAccountGetInternalServerError

NewAdminAccountGetInternalServerError creates a AdminAccountGetInternalServerError with default headers values

func (*AdminAccountGetInternalServerError) Code

Code gets the status code for the admin account get internal server error response

func (*AdminAccountGetInternalServerError) Error

func (*AdminAccountGetInternalServerError) IsClientError

func (o *AdminAccountGetInternalServerError) IsClientError() bool

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

func (*AdminAccountGetInternalServerError) IsCode

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

func (*AdminAccountGetInternalServerError) IsRedirect

func (o *AdminAccountGetInternalServerError) IsRedirect() bool

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

func (*AdminAccountGetInternalServerError) IsServerError

func (o *AdminAccountGetInternalServerError) IsServerError() bool

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

func (*AdminAccountGetInternalServerError) IsSuccess

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

func (*AdminAccountGetInternalServerError) String

type AdminAccountGetNotAcceptable

type AdminAccountGetNotAcceptable struct {
}

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

not acceptable

func NewAdminAccountGetNotAcceptable

func NewAdminAccountGetNotAcceptable() *AdminAccountGetNotAcceptable

NewAdminAccountGetNotAcceptable creates a AdminAccountGetNotAcceptable with default headers values

func (*AdminAccountGetNotAcceptable) Code

Code gets the status code for the admin account get not acceptable response

func (*AdminAccountGetNotAcceptable) Error

func (*AdminAccountGetNotAcceptable) IsClientError

func (o *AdminAccountGetNotAcceptable) IsClientError() bool

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

func (*AdminAccountGetNotAcceptable) IsCode

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

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

func (*AdminAccountGetNotAcceptable) IsRedirect

func (o *AdminAccountGetNotAcceptable) IsRedirect() bool

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

func (*AdminAccountGetNotAcceptable) IsServerError

func (o *AdminAccountGetNotAcceptable) IsServerError() bool

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

func (*AdminAccountGetNotAcceptable) IsSuccess

func (o *AdminAccountGetNotAcceptable) IsSuccess() bool

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

func (*AdminAccountGetNotAcceptable) String

type AdminAccountGetNotFound

type AdminAccountGetNotFound struct {
}

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

not found

func NewAdminAccountGetNotFound

func NewAdminAccountGetNotFound() *AdminAccountGetNotFound

NewAdminAccountGetNotFound creates a AdminAccountGetNotFound with default headers values

func (*AdminAccountGetNotFound) Code

func (o *AdminAccountGetNotFound) Code() int

Code gets the status code for the admin account get not found response

func (*AdminAccountGetNotFound) Error

func (o *AdminAccountGetNotFound) Error() string

func (*AdminAccountGetNotFound) IsClientError

func (o *AdminAccountGetNotFound) IsClientError() bool

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

func (*AdminAccountGetNotFound) IsCode

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

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

func (*AdminAccountGetNotFound) IsRedirect

func (o *AdminAccountGetNotFound) IsRedirect() bool

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

func (*AdminAccountGetNotFound) IsServerError

func (o *AdminAccountGetNotFound) IsServerError() bool

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

func (*AdminAccountGetNotFound) IsSuccess

func (o *AdminAccountGetNotFound) IsSuccess() bool

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

func (*AdminAccountGetNotFound) String

func (o *AdminAccountGetNotFound) String() string

type AdminAccountGetOK

type AdminAccountGetOK struct {
	Payload *models.AdminAccountInfo
}

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

OK

func NewAdminAccountGetOK

func NewAdminAccountGetOK() *AdminAccountGetOK

NewAdminAccountGetOK creates a AdminAccountGetOK with default headers values

func (*AdminAccountGetOK) Code

func (o *AdminAccountGetOK) Code() int

Code gets the status code for the admin account get o k response

func (*AdminAccountGetOK) Error

func (o *AdminAccountGetOK) Error() string

func (*AdminAccountGetOK) GetPayload

func (o *AdminAccountGetOK) GetPayload() *models.AdminAccountInfo

func (*AdminAccountGetOK) IsClientError

func (o *AdminAccountGetOK) IsClientError() bool

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

func (*AdminAccountGetOK) IsCode

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

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

func (*AdminAccountGetOK) IsRedirect

func (o *AdminAccountGetOK) IsRedirect() bool

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

func (*AdminAccountGetOK) IsServerError

func (o *AdminAccountGetOK) IsServerError() bool

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

func (*AdminAccountGetOK) IsSuccess

func (o *AdminAccountGetOK) IsSuccess() bool

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

func (*AdminAccountGetOK) String

func (o *AdminAccountGetOK) String() string

type AdminAccountGetParams

type AdminAccountGetParams struct {

	/* ID.

	   ID of the account.
	*/
	ID string

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

AdminAccountGetParams contains all the parameters to send to the API endpoint

for the admin account get operation.

Typically these are written to a http.Request.

func NewAdminAccountGetParams

func NewAdminAccountGetParams() *AdminAccountGetParams

NewAdminAccountGetParams creates a new AdminAccountGetParams 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 NewAdminAccountGetParamsWithContext

func NewAdminAccountGetParamsWithContext(ctx context.Context) *AdminAccountGetParams

NewAdminAccountGetParamsWithContext creates a new AdminAccountGetParams object with the ability to set a context for a request.

func NewAdminAccountGetParamsWithHTTPClient

func NewAdminAccountGetParamsWithHTTPClient(client *http.Client) *AdminAccountGetParams

NewAdminAccountGetParamsWithHTTPClient creates a new AdminAccountGetParams object with the ability to set a custom HTTPClient for a request.

func NewAdminAccountGetParamsWithTimeout

func NewAdminAccountGetParamsWithTimeout(timeout time.Duration) *AdminAccountGetParams

NewAdminAccountGetParamsWithTimeout creates a new AdminAccountGetParams object with the ability to set a timeout on a request.

func (*AdminAccountGetParams) SetContext

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

SetContext adds the context to the admin account get params

func (*AdminAccountGetParams) SetDefaults

func (o *AdminAccountGetParams) SetDefaults()

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

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

func (*AdminAccountGetParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the admin account get params

func (*AdminAccountGetParams) SetID

func (o *AdminAccountGetParams) SetID(id string)

SetID adds the id to the admin account get params

func (*AdminAccountGetParams) SetTimeout

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

SetTimeout adds the timeout to the admin account get params

func (*AdminAccountGetParams) WithContext

WithContext adds the context to the admin account get params

func (*AdminAccountGetParams) WithDefaults

func (o *AdminAccountGetParams) WithDefaults() *AdminAccountGetParams

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

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

func (*AdminAccountGetParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the admin account get params

func (*AdminAccountGetParams) WithID

WithID adds the id to the admin account get params

func (*AdminAccountGetParams) WithTimeout

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

WithTimeout adds the timeout to the admin account get params

func (*AdminAccountGetParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type AdminAccountGetReader

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

AdminAccountGetReader is a Reader for the AdminAccountGet structure.

func (*AdminAccountGetReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type AdminAccountGetUnauthorized

type AdminAccountGetUnauthorized struct {
}

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

unauthorized

func NewAdminAccountGetUnauthorized

func NewAdminAccountGetUnauthorized() *AdminAccountGetUnauthorized

NewAdminAccountGetUnauthorized creates a AdminAccountGetUnauthorized with default headers values

func (*AdminAccountGetUnauthorized) Code

func (o *AdminAccountGetUnauthorized) Code() int

Code gets the status code for the admin account get unauthorized response

func (*AdminAccountGetUnauthorized) Error

func (*AdminAccountGetUnauthorized) IsClientError

func (o *AdminAccountGetUnauthorized) IsClientError() bool

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

func (*AdminAccountGetUnauthorized) IsCode

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

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

func (*AdminAccountGetUnauthorized) IsRedirect

func (o *AdminAccountGetUnauthorized) IsRedirect() bool

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

func (*AdminAccountGetUnauthorized) IsServerError

func (o *AdminAccountGetUnauthorized) IsServerError() bool

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

func (*AdminAccountGetUnauthorized) IsSuccess

func (o *AdminAccountGetUnauthorized) IsSuccess() bool

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

func (*AdminAccountGetUnauthorized) String

func (o *AdminAccountGetUnauthorized) String() string

type AdminAccountRejectBadRequest

type AdminAccountRejectBadRequest struct {
}

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

bad request

func NewAdminAccountRejectBadRequest

func NewAdminAccountRejectBadRequest() *AdminAccountRejectBadRequest

NewAdminAccountRejectBadRequest creates a AdminAccountRejectBadRequest with default headers values

func (*AdminAccountRejectBadRequest) Code

Code gets the status code for the admin account reject bad request response

func (*AdminAccountRejectBadRequest) Error

func (*AdminAccountRejectBadRequest) IsClientError

func (o *AdminAccountRejectBadRequest) IsClientError() bool

IsClientError returns true when this admin account reject bad request response has a 4xx status code

func (*AdminAccountRejectBadRequest) IsCode

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

IsCode returns true when this admin account reject bad request response a status code equal to that given

func (*AdminAccountRejectBadRequest) IsRedirect

func (o *AdminAccountRejectBadRequest) IsRedirect() bool

IsRedirect returns true when this admin account reject bad request response has a 3xx status code

func (*AdminAccountRejectBadRequest) IsServerError

func (o *AdminAccountRejectBadRequest) IsServerError() bool

IsServerError returns true when this admin account reject bad request response has a 5xx status code

func (*AdminAccountRejectBadRequest) IsSuccess

func (o *AdminAccountRejectBadRequest) IsSuccess() bool

IsSuccess returns true when this admin account reject bad request response has a 2xx status code

func (*AdminAccountRejectBadRequest) String

type AdminAccountRejectForbidden

type AdminAccountRejectForbidden struct {
}

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

forbidden

func NewAdminAccountRejectForbidden

func NewAdminAccountRejectForbidden() *AdminAccountRejectForbidden

NewAdminAccountRejectForbidden creates a AdminAccountRejectForbidden with default headers values

func (*AdminAccountRejectForbidden) Code

func (o *AdminAccountRejectForbidden) Code() int

Code gets the status code for the admin account reject forbidden response

func (*AdminAccountRejectForbidden) Error

func (*AdminAccountRejectForbidden) IsClientError

func (o *AdminAccountRejectForbidden) IsClientError() bool

IsClientError returns true when this admin account reject forbidden response has a 4xx status code

func (*AdminAccountRejectForbidden) IsCode

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

IsCode returns true when this admin account reject forbidden response a status code equal to that given

func (*AdminAccountRejectForbidden) IsRedirect

func (o *AdminAccountRejectForbidden) IsRedirect() bool

IsRedirect returns true when this admin account reject forbidden response has a 3xx status code

func (*AdminAccountRejectForbidden) IsServerError

func (o *AdminAccountRejectForbidden) IsServerError() bool

IsServerError returns true when this admin account reject forbidden response has a 5xx status code

func (*AdminAccountRejectForbidden) IsSuccess

func (o *AdminAccountRejectForbidden) IsSuccess() bool

IsSuccess returns true when this admin account reject forbidden response has a 2xx status code

func (*AdminAccountRejectForbidden) String

func (o *AdminAccountRejectForbidden) String() string

type AdminAccountRejectInternalServerError

type AdminAccountRejectInternalServerError struct {
}

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

internal server error

func NewAdminAccountRejectInternalServerError

func NewAdminAccountRejectInternalServerError() *AdminAccountRejectInternalServerError

NewAdminAccountRejectInternalServerError creates a AdminAccountRejectInternalServerError with default headers values

func (*AdminAccountRejectInternalServerError) Code

Code gets the status code for the admin account reject internal server error response

func (*AdminAccountRejectInternalServerError) Error

func (*AdminAccountRejectInternalServerError) IsClientError

func (o *AdminAccountRejectInternalServerError) IsClientError() bool

IsClientError returns true when this admin account reject internal server error response has a 4xx status code

func (*AdminAccountRejectInternalServerError) IsCode

IsCode returns true when this admin account reject internal server error response a status code equal to that given

func (*AdminAccountRejectInternalServerError) IsRedirect

IsRedirect returns true when this admin account reject internal server error response has a 3xx status code

func (*AdminAccountRejectInternalServerError) IsServerError

func (o *AdminAccountRejectInternalServerError) IsServerError() bool

IsServerError returns true when this admin account reject internal server error response has a 5xx status code

func (*AdminAccountRejectInternalServerError) IsSuccess

IsSuccess returns true when this admin account reject internal server error response has a 2xx status code

func (*AdminAccountRejectInternalServerError) String

type AdminAccountRejectNotAcceptable

type AdminAccountRejectNotAcceptable struct {
}

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

not acceptable

func NewAdminAccountRejectNotAcceptable

func NewAdminAccountRejectNotAcceptable() *AdminAccountRejectNotAcceptable

NewAdminAccountRejectNotAcceptable creates a AdminAccountRejectNotAcceptable with default headers values

func (*AdminAccountRejectNotAcceptable) Code

Code gets the status code for the admin account reject not acceptable response

func (*AdminAccountRejectNotAcceptable) Error

func (*AdminAccountRejectNotAcceptable) IsClientError

func (o *AdminAccountRejectNotAcceptable) IsClientError() bool

IsClientError returns true when this admin account reject not acceptable response has a 4xx status code

func (*AdminAccountRejectNotAcceptable) IsCode

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

IsCode returns true when this admin account reject not acceptable response a status code equal to that given

func (*AdminAccountRejectNotAcceptable) IsRedirect

func (o *AdminAccountRejectNotAcceptable) IsRedirect() bool

IsRedirect returns true when this admin account reject not acceptable response has a 3xx status code

func (*AdminAccountRejectNotAcceptable) IsServerError

func (o *AdminAccountRejectNotAcceptable) IsServerError() bool

IsServerError returns true when this admin account reject not acceptable response has a 5xx status code

func (*AdminAccountRejectNotAcceptable) IsSuccess

func (o *AdminAccountRejectNotAcceptable) IsSuccess() bool

IsSuccess returns true when this admin account reject not acceptable response has a 2xx status code

func (*AdminAccountRejectNotAcceptable) String

type AdminAccountRejectNotFound

type AdminAccountRejectNotFound struct {
}

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

not found

func NewAdminAccountRejectNotFound

func NewAdminAccountRejectNotFound() *AdminAccountRejectNotFound

NewAdminAccountRejectNotFound creates a AdminAccountRejectNotFound with default headers values

func (*AdminAccountRejectNotFound) Code

func (o *AdminAccountRejectNotFound) Code() int

Code gets the status code for the admin account reject not found response

func (*AdminAccountRejectNotFound) Error

func (*AdminAccountRejectNotFound) IsClientError

func (o *AdminAccountRejectNotFound) IsClientError() bool

IsClientError returns true when this admin account reject not found response has a 4xx status code

func (*AdminAccountRejectNotFound) IsCode

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

IsCode returns true when this admin account reject not found response a status code equal to that given

func (*AdminAccountRejectNotFound) IsRedirect

func (o *AdminAccountRejectNotFound) IsRedirect() bool

IsRedirect returns true when this admin account reject not found response has a 3xx status code

func (*AdminAccountRejectNotFound) IsServerError

func (o *AdminAccountRejectNotFound) IsServerError() bool

IsServerError returns true when this admin account reject not found response has a 5xx status code

func (*AdminAccountRejectNotFound) IsSuccess

func (o *AdminAccountRejectNotFound) IsSuccess() bool

IsSuccess returns true when this admin account reject not found response has a 2xx status code

func (*AdminAccountRejectNotFound) String

func (o *AdminAccountRejectNotFound) String() string

type AdminAccountRejectOK

type AdminAccountRejectOK struct {
	Payload *models.AdminAccountInfo
}

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

The now-rejected account.

func NewAdminAccountRejectOK

func NewAdminAccountRejectOK() *AdminAccountRejectOK

NewAdminAccountRejectOK creates a AdminAccountRejectOK with default headers values

func (*AdminAccountRejectOK) Code

func (o *AdminAccountRejectOK) Code() int

Code gets the status code for the admin account reject o k response

func (*AdminAccountRejectOK) Error

func (o *AdminAccountRejectOK) Error() string

func (*AdminAccountRejectOK) GetPayload

func (o *AdminAccountRejectOK) GetPayload() *models.AdminAccountInfo

func (*AdminAccountRejectOK) IsClientError

func (o *AdminAccountRejectOK) IsClientError() bool

IsClientError returns true when this admin account reject o k response has a 4xx status code

func (*AdminAccountRejectOK) IsCode

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

IsCode returns true when this admin account reject o k response a status code equal to that given

func (*AdminAccountRejectOK) IsRedirect

func (o *AdminAccountRejectOK) IsRedirect() bool

IsRedirect returns true when this admin account reject o k response has a 3xx status code

func (*AdminAccountRejectOK) IsServerError

func (o *AdminAccountRejectOK) IsServerError() bool

IsServerError returns true when this admin account reject o k response has a 5xx status code

func (*AdminAccountRejectOK) IsSuccess

func (o *AdminAccountRejectOK) IsSuccess() bool

IsSuccess returns true when this admin account reject o k response has a 2xx status code

func (*AdminAccountRejectOK) String

func (o *AdminAccountRejectOK) String() string

type AdminAccountRejectParams

type AdminAccountRejectParams struct {

	/* ID.

	   ID of the account.
	*/
	ID string

	/* Message.

	   Message to include in email to applicant. Will be included only if send_email is true.
	*/
	Message *string

	/* PrivateComment.

	   Comment to leave on why the account was denied. The comment will be visible to admins only.
	*/
	PrivateComment *string

	/* SendEmail.

	   Send an email to the applicant informing them that their sign-up has been rejected.
	*/
	SendEmail *bool

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

AdminAccountRejectParams contains all the parameters to send to the API endpoint

for the admin account reject operation.

Typically these are written to a http.Request.

func NewAdminAccountRejectParams

func NewAdminAccountRejectParams() *AdminAccountRejectParams

NewAdminAccountRejectParams creates a new AdminAccountRejectParams 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 NewAdminAccountRejectParamsWithContext

func NewAdminAccountRejectParamsWithContext(ctx context.Context) *AdminAccountRejectParams

NewAdminAccountRejectParamsWithContext creates a new AdminAccountRejectParams object with the ability to set a context for a request.

func NewAdminAccountRejectParamsWithHTTPClient

func NewAdminAccountRejectParamsWithHTTPClient(client *http.Client) *AdminAccountRejectParams

NewAdminAccountRejectParamsWithHTTPClient creates a new AdminAccountRejectParams object with the ability to set a custom HTTPClient for a request.

func NewAdminAccountRejectParamsWithTimeout

func NewAdminAccountRejectParamsWithTimeout(timeout time.Duration) *AdminAccountRejectParams

NewAdminAccountRejectParamsWithTimeout creates a new AdminAccountRejectParams object with the ability to set a timeout on a request.

func (*AdminAccountRejectParams) SetContext

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

SetContext adds the context to the admin account reject params

func (*AdminAccountRejectParams) SetDefaults

func (o *AdminAccountRejectParams) SetDefaults()

SetDefaults hydrates default values in the admin account reject params (not the query body).

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

func (*AdminAccountRejectParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the admin account reject params

func (*AdminAccountRejectParams) SetID

func (o *AdminAccountRejectParams) SetID(id string)

SetID adds the id to the admin account reject params

func (*AdminAccountRejectParams) SetMessage

func (o *AdminAccountRejectParams) SetMessage(message *string)

SetMessage adds the message to the admin account reject params

func (*AdminAccountRejectParams) SetPrivateComment

func (o *AdminAccountRejectParams) SetPrivateComment(privateComment *string)

SetPrivateComment adds the privateComment to the admin account reject params

func (*AdminAccountRejectParams) SetSendEmail

func (o *AdminAccountRejectParams) SetSendEmail(sendEmail *bool)

SetSendEmail adds the sendEmail to the admin account reject params

func (*AdminAccountRejectParams) SetTimeout

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

SetTimeout adds the timeout to the admin account reject params

func (*AdminAccountRejectParams) WithContext

WithContext adds the context to the admin account reject params

func (*AdminAccountRejectParams) WithDefaults

WithDefaults hydrates default values in the admin account reject params (not the query body).

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

func (*AdminAccountRejectParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the admin account reject params

func (*AdminAccountRejectParams) WithID

WithID adds the id to the admin account reject params

func (*AdminAccountRejectParams) WithMessage

func (o *AdminAccountRejectParams) WithMessage(message *string) *AdminAccountRejectParams

WithMessage adds the message to the admin account reject params

func (*AdminAccountRejectParams) WithPrivateComment

func (o *AdminAccountRejectParams) WithPrivateComment(privateComment *string) *AdminAccountRejectParams

WithPrivateComment adds the privateComment to the admin account reject params

func (*AdminAccountRejectParams) WithSendEmail

func (o *AdminAccountRejectParams) WithSendEmail(sendEmail *bool) *AdminAccountRejectParams

WithSendEmail adds the sendEmail to the admin account reject params

func (*AdminAccountRejectParams) WithTimeout

WithTimeout adds the timeout to the admin account reject params

func (*AdminAccountRejectParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type AdminAccountRejectReader

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

AdminAccountRejectReader is a Reader for the AdminAccountReject structure.

func (*AdminAccountRejectReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type AdminAccountRejectUnauthorized

type AdminAccountRejectUnauthorized struct {
}

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

unauthorized

func NewAdminAccountRejectUnauthorized

func NewAdminAccountRejectUnauthorized() *AdminAccountRejectUnauthorized

NewAdminAccountRejectUnauthorized creates a AdminAccountRejectUnauthorized with default headers values

func (*AdminAccountRejectUnauthorized) Code

Code gets the status code for the admin account reject unauthorized response

func (*AdminAccountRejectUnauthorized) Error

func (*AdminAccountRejectUnauthorized) IsClientError

func (o *AdminAccountRejectUnauthorized) IsClientError() bool

IsClientError returns true when this admin account reject unauthorized response has a 4xx status code

func (*AdminAccountRejectUnauthorized) IsCode

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

IsCode returns true when this admin account reject unauthorized response a status code equal to that given

func (*AdminAccountRejectUnauthorized) IsRedirect

func (o *AdminAccountRejectUnauthorized) IsRedirect() bool

IsRedirect returns true when this admin account reject unauthorized response has a 3xx status code

func (*AdminAccountRejectUnauthorized) IsServerError

func (o *AdminAccountRejectUnauthorized) IsServerError() bool

IsServerError returns true when this admin account reject unauthorized response has a 5xx status code

func (*AdminAccountRejectUnauthorized) IsSuccess

func (o *AdminAccountRejectUnauthorized) IsSuccess() bool

IsSuccess returns true when this admin account reject unauthorized response has a 2xx status code

func (*AdminAccountRejectUnauthorized) String

type AdminAccountsGetV1BadRequest

type AdminAccountsGetV1BadRequest struct {
}

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

bad request

func NewAdminAccountsGetV1BadRequest

func NewAdminAccountsGetV1BadRequest() *AdminAccountsGetV1BadRequest

NewAdminAccountsGetV1BadRequest creates a AdminAccountsGetV1BadRequest with default headers values

func (*AdminAccountsGetV1BadRequest) Code

Code gets the status code for the admin accounts get v1 bad request response

func (*AdminAccountsGetV1BadRequest) Error

func (*AdminAccountsGetV1BadRequest) IsClientError

func (o *AdminAccountsGetV1BadRequest) IsClientError() bool

IsClientError returns true when this admin accounts get v1 bad request response has a 4xx status code

func (*AdminAccountsGetV1BadRequest) IsCode

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

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

func (*AdminAccountsGetV1BadRequest) IsRedirect

func (o *AdminAccountsGetV1BadRequest) IsRedirect() bool

IsRedirect returns true when this admin accounts get v1 bad request response has a 3xx status code

func (*AdminAccountsGetV1BadRequest) IsServerError

func (o *AdminAccountsGetV1BadRequest) IsServerError() bool

IsServerError returns true when this admin accounts get v1 bad request response has a 5xx status code

func (*AdminAccountsGetV1BadRequest) IsSuccess

func (o *AdminAccountsGetV1BadRequest) IsSuccess() bool

IsSuccess returns true when this admin accounts get v1 bad request response has a 2xx status code

func (*AdminAccountsGetV1BadRequest) String

type AdminAccountsGetV1Forbidden

type AdminAccountsGetV1Forbidden struct {
}

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

forbidden

func NewAdminAccountsGetV1Forbidden

func NewAdminAccountsGetV1Forbidden() *AdminAccountsGetV1Forbidden

NewAdminAccountsGetV1Forbidden creates a AdminAccountsGetV1Forbidden with default headers values

func (*AdminAccountsGetV1Forbidden) Code

func (o *AdminAccountsGetV1Forbidden) Code() int

Code gets the status code for the admin accounts get v1 forbidden response

func (*AdminAccountsGetV1Forbidden) Error

func (*AdminAccountsGetV1Forbidden) IsClientError

func (o *AdminAccountsGetV1Forbidden) IsClientError() bool

IsClientError returns true when this admin accounts get v1 forbidden response has a 4xx status code

func (*AdminAccountsGetV1Forbidden) IsCode

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

IsCode returns true when this admin accounts get v1 forbidden response a status code equal to that given

func (*AdminAccountsGetV1Forbidden) IsRedirect

func (o *AdminAccountsGetV1Forbidden) IsRedirect() bool

IsRedirect returns true when this admin accounts get v1 forbidden response has a 3xx status code

func (*AdminAccountsGetV1Forbidden) IsServerError

func (o *AdminAccountsGetV1Forbidden) IsServerError() bool

IsServerError returns true when this admin accounts get v1 forbidden response has a 5xx status code

func (*AdminAccountsGetV1Forbidden) IsSuccess

func (o *AdminAccountsGetV1Forbidden) IsSuccess() bool

IsSuccess returns true when this admin accounts get v1 forbidden response has a 2xx status code

func (*AdminAccountsGetV1Forbidden) String

func (o *AdminAccountsGetV1Forbidden) String() string

type AdminAccountsGetV1InternalServerError

type AdminAccountsGetV1InternalServerError struct {
}

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

internal server error

func NewAdminAccountsGetV1InternalServerError

func NewAdminAccountsGetV1InternalServerError() *AdminAccountsGetV1InternalServerError

NewAdminAccountsGetV1InternalServerError creates a AdminAccountsGetV1InternalServerError with default headers values

func (*AdminAccountsGetV1InternalServerError) Code

Code gets the status code for the admin accounts get v1 internal server error response

func (*AdminAccountsGetV1InternalServerError) Error

func (*AdminAccountsGetV1InternalServerError) IsClientError

func (o *AdminAccountsGetV1InternalServerError) IsClientError() bool

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

func (*AdminAccountsGetV1InternalServerError) IsCode

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

func (*AdminAccountsGetV1InternalServerError) IsRedirect

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

func (*AdminAccountsGetV1InternalServerError) IsServerError

func (o *AdminAccountsGetV1InternalServerError) IsServerError() bool

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

func (*AdminAccountsGetV1InternalServerError) IsSuccess

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

func (*AdminAccountsGetV1InternalServerError) String

type AdminAccountsGetV1NotAcceptable

type AdminAccountsGetV1NotAcceptable struct {
}

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

not acceptable

func NewAdminAccountsGetV1NotAcceptable

func NewAdminAccountsGetV1NotAcceptable() *AdminAccountsGetV1NotAcceptable

NewAdminAccountsGetV1NotAcceptable creates a AdminAccountsGetV1NotAcceptable with default headers values

func (*AdminAccountsGetV1NotAcceptable) Code

Code gets the status code for the admin accounts get v1 not acceptable response

func (*AdminAccountsGetV1NotAcceptable) Error

func (*AdminAccountsGetV1NotAcceptable) IsClientError

func (o *AdminAccountsGetV1NotAcceptable) IsClientError() bool

IsClientError returns true when this admin accounts get v1 not acceptable response has a 4xx status code

func (*AdminAccountsGetV1NotAcceptable) IsCode

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

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

func (*AdminAccountsGetV1NotAcceptable) IsRedirect

func (o *AdminAccountsGetV1NotAcceptable) IsRedirect() bool

IsRedirect returns true when this admin accounts get v1 not acceptable response has a 3xx status code

func (*AdminAccountsGetV1NotAcceptable) IsServerError

func (o *AdminAccountsGetV1NotAcceptable) IsServerError() bool

IsServerError returns true when this admin accounts get v1 not acceptable response has a 5xx status code

func (*AdminAccountsGetV1NotAcceptable) IsSuccess

func (o *AdminAccountsGetV1NotAcceptable) IsSuccess() bool

IsSuccess returns true when this admin accounts get v1 not acceptable response has a 2xx status code

func (*AdminAccountsGetV1NotAcceptable) String

type AdminAccountsGetV1NotFound

type AdminAccountsGetV1NotFound struct {
}

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

not found

func NewAdminAccountsGetV1NotFound

func NewAdminAccountsGetV1NotFound() *AdminAccountsGetV1NotFound

NewAdminAccountsGetV1NotFound creates a AdminAccountsGetV1NotFound with default headers values

func (*AdminAccountsGetV1NotFound) Code

func (o *AdminAccountsGetV1NotFound) Code() int

Code gets the status code for the admin accounts get v1 not found response

func (*AdminAccountsGetV1NotFound) Error

func (*AdminAccountsGetV1NotFound) IsClientError

func (o *AdminAccountsGetV1NotFound) IsClientError() bool

IsClientError returns true when this admin accounts get v1 not found response has a 4xx status code

func (*AdminAccountsGetV1NotFound) IsCode

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

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

func (*AdminAccountsGetV1NotFound) IsRedirect

func (o *AdminAccountsGetV1NotFound) IsRedirect() bool

IsRedirect returns true when this admin accounts get v1 not found response has a 3xx status code

func (*AdminAccountsGetV1NotFound) IsServerError

func (o *AdminAccountsGetV1NotFound) IsServerError() bool

IsServerError returns true when this admin accounts get v1 not found response has a 5xx status code

func (*AdminAccountsGetV1NotFound) IsSuccess

func (o *AdminAccountsGetV1NotFound) IsSuccess() bool

IsSuccess returns true when this admin accounts get v1 not found response has a 2xx status code

func (*AdminAccountsGetV1NotFound) String

func (o *AdminAccountsGetV1NotFound) String() string

type AdminAccountsGetV1OK

type AdminAccountsGetV1OK struct {

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

	Payload []*models.AdminAccountInfo
}

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

AdminAccountsGetV1OK admin accounts get v1 o k

func NewAdminAccountsGetV1OK

func NewAdminAccountsGetV1OK() *AdminAccountsGetV1OK

NewAdminAccountsGetV1OK creates a AdminAccountsGetV1OK with default headers values

func (*AdminAccountsGetV1OK) Code

func (o *AdminAccountsGetV1OK) Code() int

Code gets the status code for the admin accounts get v1 o k response

func (*AdminAccountsGetV1OK) Error

func (o *AdminAccountsGetV1OK) Error() string

func (*AdminAccountsGetV1OK) GetPayload

func (o *AdminAccountsGetV1OK) GetPayload() []*models.AdminAccountInfo

func (*AdminAccountsGetV1OK) IsClientError

func (o *AdminAccountsGetV1OK) IsClientError() bool

IsClientError returns true when this admin accounts get v1 o k response has a 4xx status code

func (*AdminAccountsGetV1OK) IsCode

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

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

func (*AdminAccountsGetV1OK) IsRedirect

func (o *AdminAccountsGetV1OK) IsRedirect() bool

IsRedirect returns true when this admin accounts get v1 o k response has a 3xx status code

func (*AdminAccountsGetV1OK) IsServerError

func (o *AdminAccountsGetV1OK) IsServerError() bool

IsServerError returns true when this admin accounts get v1 o k response has a 5xx status code

func (*AdminAccountsGetV1OK) IsSuccess

func (o *AdminAccountsGetV1OK) IsSuccess() bool

IsSuccess returns true when this admin accounts get v1 o k response has a 2xx status code

func (*AdminAccountsGetV1OK) String

func (o *AdminAccountsGetV1OK) String() string

type AdminAccountsGetV1Params

type AdminAccountsGetV1Params struct {

	/* Active.

	   Filter for currently active accounts.
	*/
	Active *bool

	/* ByDomain.

	   Filter by the given domain.
	*/
	ByDomain *string

	/* Disabled.

	   Filter for currently disabled accounts.
	*/
	Disabled *bool

	/* DisplayName.

	   Search for the given display name.
	*/
	DisplayName *string

	/* Email.

	   Lookup a user with this email.
	*/
	Email *string

	/* IP.

	   Lookup users with this IP address.
	*/
	IP *string

	/* Limit.

	   Maximum number of results to return.

	   Default: 50
	*/
	Limit *int64

	/* Local.

	   Filter for local accounts.
	*/
	Local *bool

	/* MaxID.

	   max_id in the form `[domain]/@[username]`. All results returned will be later in the alphabet than `[domain]/@[username]`. For example, if max_id = `example.org/@someone` then returned entries might contain `example.org/@someone_else`, `later.example.org/@someone`, etc. Local account IDs in this form use an empty string for the `[domain]` part, for example local account with username `someone` would be `/@someone`.
	*/
	MaxID *string

	/* MinID.

	   min_id in the form `[domain]/@[username]`. All results returned will be earlier in the alphabet than `[domain]/@[username]`. For example, if min_id = `example.org/@someone` then returned entries might contain `example.org/@earlier_account`, `earlier.example.org/@someone`, etc. Local account IDs in this form use an empty string for the `[domain]` part, for example local account with username `someone` would be `/@someone`.
	*/
	MinID *string

	/* Pending.

	   Filter for currently pending accounts.
	*/
	Pending *bool

	/* Remote.

	   Filter for remote accounts.
	*/
	Remote *bool

	/* Sensitized.

	   Filter for accounts force-marked as sensitive.
	*/
	Sensitized *bool

	/* Silenced.

	   Filter for currently silenced accounts.
	*/
	Silenced *bool

	/* Staff.

	   Filter for staff accounts.
	*/
	Staff *bool

	/* Suspended.

	   Filter for currently suspended accounts.
	*/
	Suspended *bool

	/* Username.

	   Search for the given username.
	*/
	Username *string

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

AdminAccountsGetV1Params contains all the parameters to send to the API endpoint

for the admin accounts get v1 operation.

Typically these are written to a http.Request.

func NewAdminAccountsGetV1Params

func NewAdminAccountsGetV1Params() *AdminAccountsGetV1Params

NewAdminAccountsGetV1Params creates a new AdminAccountsGetV1Params 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 NewAdminAccountsGetV1ParamsWithContext

func NewAdminAccountsGetV1ParamsWithContext(ctx context.Context) *AdminAccountsGetV1Params

NewAdminAccountsGetV1ParamsWithContext creates a new AdminAccountsGetV1Params object with the ability to set a context for a request.

func NewAdminAccountsGetV1ParamsWithHTTPClient

func NewAdminAccountsGetV1ParamsWithHTTPClient(client *http.Client) *AdminAccountsGetV1Params

NewAdminAccountsGetV1ParamsWithHTTPClient creates a new AdminAccountsGetV1Params object with the ability to set a custom HTTPClient for a request.

func NewAdminAccountsGetV1ParamsWithTimeout

func NewAdminAccountsGetV1ParamsWithTimeout(timeout time.Duration) *AdminAccountsGetV1Params

NewAdminAccountsGetV1ParamsWithTimeout creates a new AdminAccountsGetV1Params object with the ability to set a timeout on a request.

func (*AdminAccountsGetV1Params) SetActive

func (o *AdminAccountsGetV1Params) SetActive(active *bool)

SetActive adds the active to the admin accounts get v1 params

func (*AdminAccountsGetV1Params) SetByDomain

func (o *AdminAccountsGetV1Params) SetByDomain(byDomain *string)

SetByDomain adds the byDomain to the admin accounts get v1 params

func (*AdminAccountsGetV1Params) SetContext

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

SetContext adds the context to the admin accounts get v1 params

func (*AdminAccountsGetV1Params) SetDefaults

func (o *AdminAccountsGetV1Params) SetDefaults()

SetDefaults hydrates default values in the admin accounts get v1 params (not the query body).

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

func (*AdminAccountsGetV1Params) SetDisabled

func (o *AdminAccountsGetV1Params) SetDisabled(disabled *bool)

SetDisabled adds the disabled to the admin accounts get v1 params

func (*AdminAccountsGetV1Params) SetDisplayName

func (o *AdminAccountsGetV1Params) SetDisplayName(displayName *string)

SetDisplayName adds the displayName to the admin accounts get v1 params

func (*AdminAccountsGetV1Params) SetEmail

func (o *AdminAccountsGetV1Params) SetEmail(email *string)

SetEmail adds the email to the admin accounts get v1 params

func (*AdminAccountsGetV1Params) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the admin accounts get v1 params

func (*AdminAccountsGetV1Params) SetIP

func (o *AdminAccountsGetV1Params) SetIP(ip *string)

SetIP adds the ip to the admin accounts get v1 params

func (*AdminAccountsGetV1Params) SetLimit

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

SetLimit adds the limit to the admin accounts get v1 params

func (*AdminAccountsGetV1Params) SetLocal

func (o *AdminAccountsGetV1Params) SetLocal(local *bool)

SetLocal adds the local to the admin accounts get v1 params

func (*AdminAccountsGetV1Params) SetMaxID

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

SetMaxID adds the maxId to the admin accounts get v1 params

func (*AdminAccountsGetV1Params) SetMinID

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

SetMinID adds the minId to the admin accounts get v1 params

func (*AdminAccountsGetV1Params) SetPending

func (o *AdminAccountsGetV1Params) SetPending(pending *bool)

SetPending adds the pending to the admin accounts get v1 params

func (*AdminAccountsGetV1Params) SetRemote

func (o *AdminAccountsGetV1Params) SetRemote(remote *bool)

SetRemote adds the remote to the admin accounts get v1 params

func (*AdminAccountsGetV1Params) SetSensitized

func (o *AdminAccountsGetV1Params) SetSensitized(sensitized *bool)

SetSensitized adds the sensitized to the admin accounts get v1 params

func (*AdminAccountsGetV1Params) SetSilenced

func (o *AdminAccountsGetV1Params) SetSilenced(silenced *bool)

SetSilenced adds the silenced to the admin accounts get v1 params

func (*AdminAccountsGetV1Params) SetStaff

func (o *AdminAccountsGetV1Params) SetStaff(staff *bool)

SetStaff adds the staff to the admin accounts get v1 params

func (*AdminAccountsGetV1Params) SetSuspended

func (o *AdminAccountsGetV1Params) SetSuspended(suspended *bool)

SetSuspended adds the suspended to the admin accounts get v1 params

func (*AdminAccountsGetV1Params) SetTimeout

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

SetTimeout adds the timeout to the admin accounts get v1 params

func (*AdminAccountsGetV1Params) SetUsername

func (o *AdminAccountsGetV1Params) SetUsername(username *string)

SetUsername adds the username to the admin accounts get v1 params

func (*AdminAccountsGetV1Params) WithActive

func (o *AdminAccountsGetV1Params) WithActive(active *bool) *AdminAccountsGetV1Params

WithActive adds the active to the admin accounts get v1 params

func (*AdminAccountsGetV1Params) WithByDomain

func (o *AdminAccountsGetV1Params) WithByDomain(byDomain *string) *AdminAccountsGetV1Params

WithByDomain adds the byDomain to the admin accounts get v1 params

func (*AdminAccountsGetV1Params) WithContext

WithContext adds the context to the admin accounts get v1 params

func (*AdminAccountsGetV1Params) WithDefaults

WithDefaults hydrates default values in the admin accounts get v1 params (not the query body).

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

func (*AdminAccountsGetV1Params) WithDisabled

func (o *AdminAccountsGetV1Params) WithDisabled(disabled *bool) *AdminAccountsGetV1Params

WithDisabled adds the disabled to the admin accounts get v1 params

func (*AdminAccountsGetV1Params) WithDisplayName

func (o *AdminAccountsGetV1Params) WithDisplayName(displayName *string) *AdminAccountsGetV1Params

WithDisplayName adds the displayName to the admin accounts get v1 params

func (*AdminAccountsGetV1Params) WithEmail

WithEmail adds the email to the admin accounts get v1 params

func (*AdminAccountsGetV1Params) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the admin accounts get v1 params

func (*AdminAccountsGetV1Params) WithIP

WithIP adds the ip to the admin accounts get v1 params

func (*AdminAccountsGetV1Params) WithLimit

WithLimit adds the limit to the admin accounts get v1 params

func (*AdminAccountsGetV1Params) WithLocal

WithLocal adds the local to the admin accounts get v1 params

func (*AdminAccountsGetV1Params) WithMaxID

WithMaxID adds the maxID to the admin accounts get v1 params

func (*AdminAccountsGetV1Params) WithMinID

WithMinID adds the minID to the admin accounts get v1 params

func (*AdminAccountsGetV1Params) WithPending

func (o *AdminAccountsGetV1Params) WithPending(pending *bool) *AdminAccountsGetV1Params

WithPending adds the pending to the admin accounts get v1 params

func (*AdminAccountsGetV1Params) WithRemote

func (o *AdminAccountsGetV1Params) WithRemote(remote *bool) *AdminAccountsGetV1Params

WithRemote adds the remote to the admin accounts get v1 params

func (*AdminAccountsGetV1Params) WithSensitized

func (o *AdminAccountsGetV1Params) WithSensitized(sensitized *bool) *AdminAccountsGetV1Params

WithSensitized adds the sensitized to the admin accounts get v1 params

func (*AdminAccountsGetV1Params) WithSilenced

func (o *AdminAccountsGetV1Params) WithSilenced(silenced *bool) *AdminAccountsGetV1Params

WithSilenced adds the silenced to the admin accounts get v1 params

func (*AdminAccountsGetV1Params) WithStaff

WithStaff adds the staff to the admin accounts get v1 params

func (*AdminAccountsGetV1Params) WithSuspended

func (o *AdminAccountsGetV1Params) WithSuspended(suspended *bool) *AdminAccountsGetV1Params

WithSuspended adds the suspended to the admin accounts get v1 params

func (*AdminAccountsGetV1Params) WithTimeout

WithTimeout adds the timeout to the admin accounts get v1 params

func (*AdminAccountsGetV1Params) WithUsername

func (o *AdminAccountsGetV1Params) WithUsername(username *string) *AdminAccountsGetV1Params

WithUsername adds the username to the admin accounts get v1 params

func (*AdminAccountsGetV1Params) WriteToRequest

WriteToRequest writes these params to a swagger request

type AdminAccountsGetV1Reader

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

AdminAccountsGetV1Reader is a Reader for the AdminAccountsGetV1 structure.

func (*AdminAccountsGetV1Reader) ReadResponse

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

ReadResponse reads a server response into the received o.

type AdminAccountsGetV1Unauthorized

type AdminAccountsGetV1Unauthorized struct {
}

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

unauthorized

func NewAdminAccountsGetV1Unauthorized

func NewAdminAccountsGetV1Unauthorized() *AdminAccountsGetV1Unauthorized

NewAdminAccountsGetV1Unauthorized creates a AdminAccountsGetV1Unauthorized with default headers values

func (*AdminAccountsGetV1Unauthorized) Code

Code gets the status code for the admin accounts get v1 unauthorized response

func (*AdminAccountsGetV1Unauthorized) Error

func (*AdminAccountsGetV1Unauthorized) IsClientError

func (o *AdminAccountsGetV1Unauthorized) IsClientError() bool

IsClientError returns true when this admin accounts get v1 unauthorized response has a 4xx status code

func (*AdminAccountsGetV1Unauthorized) IsCode

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

IsCode returns true when this admin accounts get v1 unauthorized response a status code equal to that given

func (*AdminAccountsGetV1Unauthorized) IsRedirect

func (o *AdminAccountsGetV1Unauthorized) IsRedirect() bool

IsRedirect returns true when this admin accounts get v1 unauthorized response has a 3xx status code

func (*AdminAccountsGetV1Unauthorized) IsServerError

func (o *AdminAccountsGetV1Unauthorized) IsServerError() bool

IsServerError returns true when this admin accounts get v1 unauthorized response has a 5xx status code

func (*AdminAccountsGetV1Unauthorized) IsSuccess

func (o *AdminAccountsGetV1Unauthorized) IsSuccess() bool

IsSuccess returns true when this admin accounts get v1 unauthorized response has a 2xx status code

func (*AdminAccountsGetV1Unauthorized) String

type AdminAccountsGetV2BadRequest

type AdminAccountsGetV2BadRequest struct {
}

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

bad request

func NewAdminAccountsGetV2BadRequest

func NewAdminAccountsGetV2BadRequest() *AdminAccountsGetV2BadRequest

NewAdminAccountsGetV2BadRequest creates a AdminAccountsGetV2BadRequest with default headers values

func (*AdminAccountsGetV2BadRequest) Code

Code gets the status code for the admin accounts get v2 bad request response

func (*AdminAccountsGetV2BadRequest) Error

func (*AdminAccountsGetV2BadRequest) IsClientError

func (o *AdminAccountsGetV2BadRequest) IsClientError() bool

IsClientError returns true when this admin accounts get v2 bad request response has a 4xx status code

func (*AdminAccountsGetV2BadRequest) IsCode

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

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

func (*AdminAccountsGetV2BadRequest) IsRedirect

func (o *AdminAccountsGetV2BadRequest) IsRedirect() bool

IsRedirect returns true when this admin accounts get v2 bad request response has a 3xx status code

func (*AdminAccountsGetV2BadRequest) IsServerError

func (o *AdminAccountsGetV2BadRequest) IsServerError() bool

IsServerError returns true when this admin accounts get v2 bad request response has a 5xx status code

func (*AdminAccountsGetV2BadRequest) IsSuccess

func (o *AdminAccountsGetV2BadRequest) IsSuccess() bool

IsSuccess returns true when this admin accounts get v2 bad request response has a 2xx status code

func (*AdminAccountsGetV2BadRequest) String

type AdminAccountsGetV2Forbidden

type AdminAccountsGetV2Forbidden struct {
}

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

forbidden

func NewAdminAccountsGetV2Forbidden

func NewAdminAccountsGetV2Forbidden() *AdminAccountsGetV2Forbidden

NewAdminAccountsGetV2Forbidden creates a AdminAccountsGetV2Forbidden with default headers values

func (*AdminAccountsGetV2Forbidden) Code

func (o *AdminAccountsGetV2Forbidden) Code() int

Code gets the status code for the admin accounts get v2 forbidden response

func (*AdminAccountsGetV2Forbidden) Error

func (*AdminAccountsGetV2Forbidden) IsClientError

func (o *AdminAccountsGetV2Forbidden) IsClientError() bool

IsClientError returns true when this admin accounts get v2 forbidden response has a 4xx status code

func (*AdminAccountsGetV2Forbidden) IsCode

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

IsCode returns true when this admin accounts get v2 forbidden response a status code equal to that given

func (*AdminAccountsGetV2Forbidden) IsRedirect

func (o *AdminAccountsGetV2Forbidden) IsRedirect() bool

IsRedirect returns true when this admin accounts get v2 forbidden response has a 3xx status code

func (*AdminAccountsGetV2Forbidden) IsServerError

func (o *AdminAccountsGetV2Forbidden) IsServerError() bool

IsServerError returns true when this admin accounts get v2 forbidden response has a 5xx status code

func (*AdminAccountsGetV2Forbidden) IsSuccess

func (o *AdminAccountsGetV2Forbidden) IsSuccess() bool

IsSuccess returns true when this admin accounts get v2 forbidden response has a 2xx status code

func (*AdminAccountsGetV2Forbidden) String

func (o *AdminAccountsGetV2Forbidden) String() string

type AdminAccountsGetV2InternalServerError

type AdminAccountsGetV2InternalServerError struct {
}

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

internal server error

func NewAdminAccountsGetV2InternalServerError

func NewAdminAccountsGetV2InternalServerError() *AdminAccountsGetV2InternalServerError

NewAdminAccountsGetV2InternalServerError creates a AdminAccountsGetV2InternalServerError with default headers values

func (*AdminAccountsGetV2InternalServerError) Code

Code gets the status code for the admin accounts get v2 internal server error response

func (*AdminAccountsGetV2InternalServerError) Error

func (*AdminAccountsGetV2InternalServerError) IsClientError

func (o *AdminAccountsGetV2InternalServerError) IsClientError() bool

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

func (*AdminAccountsGetV2InternalServerError) IsCode

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

func (*AdminAccountsGetV2InternalServerError) IsRedirect

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

func (*AdminAccountsGetV2InternalServerError) IsServerError

func (o *AdminAccountsGetV2InternalServerError) IsServerError() bool

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

func (*AdminAccountsGetV2InternalServerError) IsSuccess

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

func (*AdminAccountsGetV2InternalServerError) String

type AdminAccountsGetV2NotAcceptable

type AdminAccountsGetV2NotAcceptable struct {
}

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

not acceptable

func NewAdminAccountsGetV2NotAcceptable

func NewAdminAccountsGetV2NotAcceptable() *AdminAccountsGetV2NotAcceptable

NewAdminAccountsGetV2NotAcceptable creates a AdminAccountsGetV2NotAcceptable with default headers values

func (*AdminAccountsGetV2NotAcceptable) Code

Code gets the status code for the admin accounts get v2 not acceptable response

func (*AdminAccountsGetV2NotAcceptable) Error

func (*AdminAccountsGetV2NotAcceptable) IsClientError

func (o *AdminAccountsGetV2NotAcceptable) IsClientError() bool

IsClientError returns true when this admin accounts get v2 not acceptable response has a 4xx status code

func (*AdminAccountsGetV2NotAcceptable) IsCode

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

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

func (*AdminAccountsGetV2NotAcceptable) IsRedirect

func (o *AdminAccountsGetV2NotAcceptable) IsRedirect() bool

IsRedirect returns true when this admin accounts get v2 not acceptable response has a 3xx status code

func (*AdminAccountsGetV2NotAcceptable) IsServerError

func (o *AdminAccountsGetV2NotAcceptable) IsServerError() bool

IsServerError returns true when this admin accounts get v2 not acceptable response has a 5xx status code

func (*AdminAccountsGetV2NotAcceptable) IsSuccess

func (o *AdminAccountsGetV2NotAcceptable) IsSuccess() bool

IsSuccess returns true when this admin accounts get v2 not acceptable response has a 2xx status code

func (*AdminAccountsGetV2NotAcceptable) String

type AdminAccountsGetV2NotFound

type AdminAccountsGetV2NotFound struct {
}

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

not found

func NewAdminAccountsGetV2NotFound

func NewAdminAccountsGetV2NotFound() *AdminAccountsGetV2NotFound

NewAdminAccountsGetV2NotFound creates a AdminAccountsGetV2NotFound with default headers values

func (*AdminAccountsGetV2NotFound) Code

func (o *AdminAccountsGetV2NotFound) Code() int

Code gets the status code for the admin accounts get v2 not found response

func (*AdminAccountsGetV2NotFound) Error

func (*AdminAccountsGetV2NotFound) IsClientError

func (o *AdminAccountsGetV2NotFound) IsClientError() bool

IsClientError returns true when this admin accounts get v2 not found response has a 4xx status code

func (*AdminAccountsGetV2NotFound) IsCode

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

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

func (*AdminAccountsGetV2NotFound) IsRedirect

func (o *AdminAccountsGetV2NotFound) IsRedirect() bool

IsRedirect returns true when this admin accounts get v2 not found response has a 3xx status code

func (*AdminAccountsGetV2NotFound) IsServerError

func (o *AdminAccountsGetV2NotFound) IsServerError() bool

IsServerError returns true when this admin accounts get v2 not found response has a 5xx status code

func (*AdminAccountsGetV2NotFound) IsSuccess

func (o *AdminAccountsGetV2NotFound) IsSuccess() bool

IsSuccess returns true when this admin accounts get v2 not found response has a 2xx status code

func (*AdminAccountsGetV2NotFound) String

func (o *AdminAccountsGetV2NotFound) String() string

type AdminAccountsGetV2OK

type AdminAccountsGetV2OK struct {

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

	Payload []*models.AdminAccountInfo
}

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

AdminAccountsGetV2OK admin accounts get v2 o k

func NewAdminAccountsGetV2OK

func NewAdminAccountsGetV2OK() *AdminAccountsGetV2OK

NewAdminAccountsGetV2OK creates a AdminAccountsGetV2OK with default headers values

func (*AdminAccountsGetV2OK) Code

func (o *AdminAccountsGetV2OK) Code() int

Code gets the status code for the admin accounts get v2 o k response

func (*AdminAccountsGetV2OK) Error

func (o *AdminAccountsGetV2OK) Error() string

func (*AdminAccountsGetV2OK) GetPayload

func (o *AdminAccountsGetV2OK) GetPayload() []*models.AdminAccountInfo

func (*AdminAccountsGetV2OK) IsClientError

func (o *AdminAccountsGetV2OK) IsClientError() bool

IsClientError returns true when this admin accounts get v2 o k response has a 4xx status code

func (*AdminAccountsGetV2OK) IsCode

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

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

func (*AdminAccountsGetV2OK) IsRedirect

func (o *AdminAccountsGetV2OK) IsRedirect() bool

IsRedirect returns true when this admin accounts get v2 o k response has a 3xx status code

func (*AdminAccountsGetV2OK) IsServerError

func (o *AdminAccountsGetV2OK) IsServerError() bool

IsServerError returns true when this admin accounts get v2 o k response has a 5xx status code

func (*AdminAccountsGetV2OK) IsSuccess

func (o *AdminAccountsGetV2OK) IsSuccess() bool

IsSuccess returns true when this admin accounts get v2 o k response has a 2xx status code

func (*AdminAccountsGetV2OK) String

func (o *AdminAccountsGetV2OK) String() string

type AdminAccountsGetV2Params

type AdminAccountsGetV2Params struct {

	/* ByDomain.

	   Filter by the given domain.
	*/
	ByDomain *string

	/* DisplayName.

	   Search for the given display name.
	*/
	DisplayName *string

	/* Email.

	   Lookup a user with this email.
	*/
	Email *string

	/* InvitedBy.

	   Lookup users invited by the account with this ID.
	*/
	InvitedBy *string

	/* IP.

	   Lookup users with this IP address.
	*/
	IP *string

	/* Limit.

	   Maximum number of results to return.

	   Default: 50
	*/
	Limit *int64

	/* MaxID.

	   max_id in the form `[domain]/@[username]`. All results returned will be later in the alphabet than `[domain]/@[username]`. For example, if max_id = `example.org/@someone` then returned entries might contain `example.org/@someone_else`, `later.example.org/@someone`, etc. Local account IDs in this form use an empty string for the `[domain]` part, for example local account with username `someone` would be `/@someone`.
	*/
	MaxID *string

	/* MinID.

	   min_id in the form `[domain]/@[username]`. All results returned will be earlier in the alphabet than `[domain]/@[username]`. For example, if min_id = `example.org/@someone` then returned entries might contain `example.org/@earlier_account`, `earlier.example.org/@someone`, etc. Local account IDs in this form use an empty string for the `[domain]` part, for example local account with username `someone` would be `/@someone`.
	*/
	MinID *string

	/* Origin.

	   Filter for `local` or `remote` accounts.
	*/
	Origin *string

	/* Permissions.

	   Filter for accounts with staff permissions (users that can manage reports).
	*/
	Permissions *string

	/* RoleIds.

	   Filter for users with these roles.
	*/
	RoleIds []string

	/* Status.

	   Filter for `active`, `pending`, `disabled`, `silenced`, or `suspended` accounts.
	*/
	Status *string

	/* Username.

	   Search for the given username.
	*/
	Username *string

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

AdminAccountsGetV2Params contains all the parameters to send to the API endpoint

for the admin accounts get v2 operation.

Typically these are written to a http.Request.

func NewAdminAccountsGetV2Params

func NewAdminAccountsGetV2Params() *AdminAccountsGetV2Params

NewAdminAccountsGetV2Params creates a new AdminAccountsGetV2Params 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 NewAdminAccountsGetV2ParamsWithContext

func NewAdminAccountsGetV2ParamsWithContext(ctx context.Context) *AdminAccountsGetV2Params

NewAdminAccountsGetV2ParamsWithContext creates a new AdminAccountsGetV2Params object with the ability to set a context for a request.

func NewAdminAccountsGetV2ParamsWithHTTPClient

func NewAdminAccountsGetV2ParamsWithHTTPClient(client *http.Client) *AdminAccountsGetV2Params

NewAdminAccountsGetV2ParamsWithHTTPClient creates a new AdminAccountsGetV2Params object with the ability to set a custom HTTPClient for a request.

func NewAdminAccountsGetV2ParamsWithTimeout

func NewAdminAccountsGetV2ParamsWithTimeout(timeout time.Duration) *AdminAccountsGetV2Params

NewAdminAccountsGetV2ParamsWithTimeout creates a new AdminAccountsGetV2Params object with the ability to set a timeout on a request.

func (*AdminAccountsGetV2Params) SetByDomain

func (o *AdminAccountsGetV2Params) SetByDomain(byDomain *string)

SetByDomain adds the byDomain to the admin accounts get v2 params

func (*AdminAccountsGetV2Params) SetContext

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

SetContext adds the context to the admin accounts get v2 params

func (*AdminAccountsGetV2Params) SetDefaults

func (o *AdminAccountsGetV2Params) SetDefaults()

SetDefaults hydrates default values in the admin accounts get v2 params (not the query body).

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

func (*AdminAccountsGetV2Params) SetDisplayName

func (o *AdminAccountsGetV2Params) SetDisplayName(displayName *string)

SetDisplayName adds the displayName to the admin accounts get v2 params

func (*AdminAccountsGetV2Params) SetEmail

func (o *AdminAccountsGetV2Params) SetEmail(email *string)

SetEmail adds the email to the admin accounts get v2 params

func (*AdminAccountsGetV2Params) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the admin accounts get v2 params

func (*AdminAccountsGetV2Params) SetIP

func (o *AdminAccountsGetV2Params) SetIP(ip *string)

SetIP adds the ip to the admin accounts get v2 params

func (*AdminAccountsGetV2Params) SetInvitedBy

func (o *AdminAccountsGetV2Params) SetInvitedBy(invitedBy *string)

SetInvitedBy adds the invitedBy to the admin accounts get v2 params

func (*AdminAccountsGetV2Params) SetLimit

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

SetLimit adds the limit to the admin accounts get v2 params

func (*AdminAccountsGetV2Params) SetMaxID

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

SetMaxID adds the maxId to the admin accounts get v2 params

func (*AdminAccountsGetV2Params) SetMinID

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

SetMinID adds the minId to the admin accounts get v2 params

func (*AdminAccountsGetV2Params) SetOrigin

func (o *AdminAccountsGetV2Params) SetOrigin(origin *string)

SetOrigin adds the origin to the admin accounts get v2 params

func (*AdminAccountsGetV2Params) SetPermissions

func (o *AdminAccountsGetV2Params) SetPermissions(permissions *string)

SetPermissions adds the permissions to the admin accounts get v2 params

func (*AdminAccountsGetV2Params) SetRoleIds

func (o *AdminAccountsGetV2Params) SetRoleIds(roleIds []string)

SetRoleIds adds the roleIds to the admin accounts get v2 params

func (*AdminAccountsGetV2Params) SetStatus

func (o *AdminAccountsGetV2Params) SetStatus(status *string)

SetStatus adds the status to the admin accounts get v2 params

func (*AdminAccountsGetV2Params) SetTimeout

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

SetTimeout adds the timeout to the admin accounts get v2 params

func (*AdminAccountsGetV2Params) SetUsername

func (o *AdminAccountsGetV2Params) SetUsername(username *string)

SetUsername adds the username to the admin accounts get v2 params

func (*AdminAccountsGetV2Params) WithByDomain

func (o *AdminAccountsGetV2Params) WithByDomain(byDomain *string) *AdminAccountsGetV2Params

WithByDomain adds the byDomain to the admin accounts get v2 params

func (*AdminAccountsGetV2Params) WithContext

WithContext adds the context to the admin accounts get v2 params

func (*AdminAccountsGetV2Params) WithDefaults

WithDefaults hydrates default values in the admin accounts get v2 params (not the query body).

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

func (*AdminAccountsGetV2Params) WithDisplayName

func (o *AdminAccountsGetV2Params) WithDisplayName(displayName *string) *AdminAccountsGetV2Params

WithDisplayName adds the displayName to the admin accounts get v2 params

func (*AdminAccountsGetV2Params) WithEmail

WithEmail adds the email to the admin accounts get v2 params

func (*AdminAccountsGetV2Params) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the admin accounts get v2 params

func (*AdminAccountsGetV2Params) WithIP

WithIP adds the ip to the admin accounts get v2 params

func (*AdminAccountsGetV2Params) WithInvitedBy

func (o *AdminAccountsGetV2Params) WithInvitedBy(invitedBy *string) *AdminAccountsGetV2Params

WithInvitedBy adds the invitedBy to the admin accounts get v2 params

func (*AdminAccountsGetV2Params) WithLimit

WithLimit adds the limit to the admin accounts get v2 params

func (*AdminAccountsGetV2Params) WithMaxID

WithMaxID adds the maxID to the admin accounts get v2 params

func (*AdminAccountsGetV2Params) WithMinID

WithMinID adds the minID to the admin accounts get v2 params

func (*AdminAccountsGetV2Params) WithOrigin

WithOrigin adds the origin to the admin accounts get v2 params

func (*AdminAccountsGetV2Params) WithPermissions

func (o *AdminAccountsGetV2Params) WithPermissions(permissions *string) *AdminAccountsGetV2Params

WithPermissions adds the permissions to the admin accounts get v2 params

func (*AdminAccountsGetV2Params) WithRoleIds

func (o *AdminAccountsGetV2Params) WithRoleIds(roleIds []string) *AdminAccountsGetV2Params

WithRoleIds adds the roleIds to the admin accounts get v2 params

func (*AdminAccountsGetV2Params) WithStatus

WithStatus adds the status to the admin accounts get v2 params

func (*AdminAccountsGetV2Params) WithTimeout

WithTimeout adds the timeout to the admin accounts get v2 params

func (*AdminAccountsGetV2Params) WithUsername

func (o *AdminAccountsGetV2Params) WithUsername(username *string) *AdminAccountsGetV2Params

WithUsername adds the username to the admin accounts get v2 params

func (*AdminAccountsGetV2Params) WriteToRequest

WriteToRequest writes these params to a swagger request

type AdminAccountsGetV2Reader

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

AdminAccountsGetV2Reader is a Reader for the AdminAccountsGetV2 structure.

func (*AdminAccountsGetV2Reader) ReadResponse

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

ReadResponse reads a server response into the received o.

type AdminAccountsGetV2Unauthorized

type AdminAccountsGetV2Unauthorized struct {
}

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

unauthorized

func NewAdminAccountsGetV2Unauthorized

func NewAdminAccountsGetV2Unauthorized() *AdminAccountsGetV2Unauthorized

NewAdminAccountsGetV2Unauthorized creates a AdminAccountsGetV2Unauthorized with default headers values

func (*AdminAccountsGetV2Unauthorized) Code

Code gets the status code for the admin accounts get v2 unauthorized response

func (*AdminAccountsGetV2Unauthorized) Error

func (*AdminAccountsGetV2Unauthorized) IsClientError

func (o *AdminAccountsGetV2Unauthorized) IsClientError() bool

IsClientError returns true when this admin accounts get v2 unauthorized response has a 4xx status code

func (*AdminAccountsGetV2Unauthorized) IsCode

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

IsCode returns true when this admin accounts get v2 unauthorized response a status code equal to that given

func (*AdminAccountsGetV2Unauthorized) IsRedirect

func (o *AdminAccountsGetV2Unauthorized) IsRedirect() bool

IsRedirect returns true when this admin accounts get v2 unauthorized response has a 3xx status code

func (*AdminAccountsGetV2Unauthorized) IsServerError

func (o *AdminAccountsGetV2Unauthorized) IsServerError() bool

IsServerError returns true when this admin accounts get v2 unauthorized response has a 5xx status code

func (*AdminAccountsGetV2Unauthorized) IsSuccess

func (o *AdminAccountsGetV2Unauthorized) IsSuccess() bool

IsSuccess returns true when this admin accounts get v2 unauthorized response has a 2xx status code

func (*AdminAccountsGetV2Unauthorized) String

type AdminReportGetBadRequest

type AdminReportGetBadRequest struct {
}

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

bad request

func NewAdminReportGetBadRequest

func NewAdminReportGetBadRequest() *AdminReportGetBadRequest

NewAdminReportGetBadRequest creates a AdminReportGetBadRequest with default headers values

func (*AdminReportGetBadRequest) Code

func (o *AdminReportGetBadRequest) Code() int

Code gets the status code for the admin report get bad request response

func (*AdminReportGetBadRequest) Error

func (o *AdminReportGetBadRequest) Error() string

func (*AdminReportGetBadRequest) IsClientError

func (o *AdminReportGetBadRequest) IsClientError() bool

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

func (*AdminReportGetBadRequest) IsCode

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

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

func (*AdminReportGetBadRequest) IsRedirect

func (o *AdminReportGetBadRequest) IsRedirect() bool

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

func (*AdminReportGetBadRequest) IsServerError

func (o *AdminReportGetBadRequest) IsServerError() bool

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

func (*AdminReportGetBadRequest) IsSuccess

func (o *AdminReportGetBadRequest) IsSuccess() bool

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

func (*AdminReportGetBadRequest) String

func (o *AdminReportGetBadRequest) String() string

type AdminReportGetInternalServerError

type AdminReportGetInternalServerError struct {
}

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

internal server error

func NewAdminReportGetInternalServerError

func NewAdminReportGetInternalServerError() *AdminReportGetInternalServerError

NewAdminReportGetInternalServerError creates a AdminReportGetInternalServerError with default headers values

func (*AdminReportGetInternalServerError) Code

Code gets the status code for the admin report get internal server error response

func (*AdminReportGetInternalServerError) Error

func (*AdminReportGetInternalServerError) IsClientError

func (o *AdminReportGetInternalServerError) IsClientError() bool

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

func (*AdminReportGetInternalServerError) IsCode

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

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

func (*AdminReportGetInternalServerError) IsRedirect

func (o *AdminReportGetInternalServerError) IsRedirect() bool

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

func (*AdminReportGetInternalServerError) IsServerError

func (o *AdminReportGetInternalServerError) IsServerError() bool

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

func (*AdminReportGetInternalServerError) IsSuccess

func (o *AdminReportGetInternalServerError) IsSuccess() bool

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

func (*AdminReportGetInternalServerError) String

type AdminReportGetNotAcceptable

type AdminReportGetNotAcceptable struct {
}

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

not acceptable

func NewAdminReportGetNotAcceptable

func NewAdminReportGetNotAcceptable() *AdminReportGetNotAcceptable

NewAdminReportGetNotAcceptable creates a AdminReportGetNotAcceptable with default headers values

func (*AdminReportGetNotAcceptable) Code

func (o *AdminReportGetNotAcceptable) Code() int

Code gets the status code for the admin report get not acceptable response

func (*AdminReportGetNotAcceptable) Error

func (*AdminReportGetNotAcceptable) IsClientError

func (o *AdminReportGetNotAcceptable) IsClientError() bool

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

func (*AdminReportGetNotAcceptable) IsCode

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

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

func (*AdminReportGetNotAcceptable) IsRedirect

func (o *AdminReportGetNotAcceptable) IsRedirect() bool

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

func (*AdminReportGetNotAcceptable) IsServerError

func (o *AdminReportGetNotAcceptable) IsServerError() bool

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

func (*AdminReportGetNotAcceptable) IsSuccess

func (o *AdminReportGetNotAcceptable) IsSuccess() bool

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

func (*AdminReportGetNotAcceptable) String

func (o *AdminReportGetNotAcceptable) String() string

type AdminReportGetNotFound

type AdminReportGetNotFound struct {
}

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

not found

func NewAdminReportGetNotFound

func NewAdminReportGetNotFound() *AdminReportGetNotFound

NewAdminReportGetNotFound creates a AdminReportGetNotFound with default headers values

func (*AdminReportGetNotFound) Code

func (o *AdminReportGetNotFound) Code() int

Code gets the status code for the admin report get not found response

func (*AdminReportGetNotFound) Error

func (o *AdminReportGetNotFound) Error() string

func (*AdminReportGetNotFound) IsClientError

func (o *AdminReportGetNotFound) IsClientError() bool

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

func (*AdminReportGetNotFound) IsCode

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

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

func (*AdminReportGetNotFound) IsRedirect

func (o *AdminReportGetNotFound) IsRedirect() bool

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

func (*AdminReportGetNotFound) IsServerError

func (o *AdminReportGetNotFound) IsServerError() bool

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

func (*AdminReportGetNotFound) IsSuccess

func (o *AdminReportGetNotFound) IsSuccess() bool

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

func (*AdminReportGetNotFound) String

func (o *AdminReportGetNotFound) String() string

type AdminReportGetOK

type AdminReportGetOK struct {
	Payload *models.AdminReport
}

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

The requested report.

func NewAdminReportGetOK

func NewAdminReportGetOK() *AdminReportGetOK

NewAdminReportGetOK creates a AdminReportGetOK with default headers values

func (*AdminReportGetOK) Code

func (o *AdminReportGetOK) Code() int

Code gets the status code for the admin report get o k response

func (*AdminReportGetOK) Error

func (o *AdminReportGetOK) Error() string

func (*AdminReportGetOK) GetPayload

func (o *AdminReportGetOK) GetPayload() *models.AdminReport

func (*AdminReportGetOK) IsClientError

func (o *AdminReportGetOK) IsClientError() bool

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

func (*AdminReportGetOK) IsCode

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

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

func (*AdminReportGetOK) IsRedirect

func (o *AdminReportGetOK) IsRedirect() bool

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

func (*AdminReportGetOK) IsServerError

func (o *AdminReportGetOK) IsServerError() bool

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

func (*AdminReportGetOK) IsSuccess

func (o *AdminReportGetOK) IsSuccess() bool

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

func (*AdminReportGetOK) String

func (o *AdminReportGetOK) String() string

type AdminReportGetParams

type AdminReportGetParams struct {

	/* ID.

	   The id of the report.
	*/
	ID string

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

AdminReportGetParams contains all the parameters to send to the API endpoint

for the admin report get operation.

Typically these are written to a http.Request.

func NewAdminReportGetParams

func NewAdminReportGetParams() *AdminReportGetParams

NewAdminReportGetParams creates a new AdminReportGetParams 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 NewAdminReportGetParamsWithContext

func NewAdminReportGetParamsWithContext(ctx context.Context) *AdminReportGetParams

NewAdminReportGetParamsWithContext creates a new AdminReportGetParams object with the ability to set a context for a request.

func NewAdminReportGetParamsWithHTTPClient

func NewAdminReportGetParamsWithHTTPClient(client *http.Client) *AdminReportGetParams

NewAdminReportGetParamsWithHTTPClient creates a new AdminReportGetParams object with the ability to set a custom HTTPClient for a request.

func NewAdminReportGetParamsWithTimeout

func NewAdminReportGetParamsWithTimeout(timeout time.Duration) *AdminReportGetParams

NewAdminReportGetParamsWithTimeout creates a new AdminReportGetParams object with the ability to set a timeout on a request.

func (*AdminReportGetParams) SetContext

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

SetContext adds the context to the admin report get params

func (*AdminReportGetParams) SetDefaults

func (o *AdminReportGetParams) SetDefaults()

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

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

func (*AdminReportGetParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the admin report get params

func (*AdminReportGetParams) SetID

func (o *AdminReportGetParams) SetID(id string)

SetID adds the id to the admin report get params

func (*AdminReportGetParams) SetTimeout

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

SetTimeout adds the timeout to the admin report get params

func (*AdminReportGetParams) WithContext

WithContext adds the context to the admin report get params

func (*AdminReportGetParams) WithDefaults

func (o *AdminReportGetParams) WithDefaults() *AdminReportGetParams

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

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

func (*AdminReportGetParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the admin report get params

func (*AdminReportGetParams) WithID

WithID adds the id to the admin report get params

func (*AdminReportGetParams) WithTimeout

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

WithTimeout adds the timeout to the admin report get params

func (*AdminReportGetParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type AdminReportGetReader

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

AdminReportGetReader is a Reader for the AdminReportGet structure.

func (*AdminReportGetReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type AdminReportGetUnauthorized

type AdminReportGetUnauthorized struct {
}

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

unauthorized

func NewAdminReportGetUnauthorized

func NewAdminReportGetUnauthorized() *AdminReportGetUnauthorized

NewAdminReportGetUnauthorized creates a AdminReportGetUnauthorized with default headers values

func (*AdminReportGetUnauthorized) Code

func (o *AdminReportGetUnauthorized) Code() int

Code gets the status code for the admin report get unauthorized response

func (*AdminReportGetUnauthorized) Error

func (*AdminReportGetUnauthorized) IsClientError

func (o *AdminReportGetUnauthorized) IsClientError() bool

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

func (*AdminReportGetUnauthorized) IsCode

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

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

func (*AdminReportGetUnauthorized) IsRedirect

func (o *AdminReportGetUnauthorized) IsRedirect() bool

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

func (*AdminReportGetUnauthorized) IsServerError

func (o *AdminReportGetUnauthorized) IsServerError() bool

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

func (*AdminReportGetUnauthorized) IsSuccess

func (o *AdminReportGetUnauthorized) IsSuccess() bool

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

func (*AdminReportGetUnauthorized) String

func (o *AdminReportGetUnauthorized) String() string

type AdminReportResolveBadRequest

type AdminReportResolveBadRequest struct {
}

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

bad request

func NewAdminReportResolveBadRequest

func NewAdminReportResolveBadRequest() *AdminReportResolveBadRequest

NewAdminReportResolveBadRequest creates a AdminReportResolveBadRequest with default headers values

func (*AdminReportResolveBadRequest) Code

Code gets the status code for the admin report resolve bad request response

func (*AdminReportResolveBadRequest) Error

func (*AdminReportResolveBadRequest) IsClientError

func (o *AdminReportResolveBadRequest) IsClientError() bool

IsClientError returns true when this admin report resolve bad request response has a 4xx status code

func (*AdminReportResolveBadRequest) IsCode

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

IsCode returns true when this admin report resolve bad request response a status code equal to that given

func (*AdminReportResolveBadRequest) IsRedirect

func (o *AdminReportResolveBadRequest) IsRedirect() bool

IsRedirect returns true when this admin report resolve bad request response has a 3xx status code

func (*AdminReportResolveBadRequest) IsServerError

func (o *AdminReportResolveBadRequest) IsServerError() bool

IsServerError returns true when this admin report resolve bad request response has a 5xx status code

func (*AdminReportResolveBadRequest) IsSuccess

func (o *AdminReportResolveBadRequest) IsSuccess() bool

IsSuccess returns true when this admin report resolve bad request response has a 2xx status code

func (*AdminReportResolveBadRequest) String

type AdminReportResolveInternalServerError

type AdminReportResolveInternalServerError struct {
}

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

internal server error

func NewAdminReportResolveInternalServerError

func NewAdminReportResolveInternalServerError() *AdminReportResolveInternalServerError

NewAdminReportResolveInternalServerError creates a AdminReportResolveInternalServerError with default headers values

func (*AdminReportResolveInternalServerError) Code

Code gets the status code for the admin report resolve internal server error response

func (*AdminReportResolveInternalServerError) Error

func (*AdminReportResolveInternalServerError) IsClientError

func (o *AdminReportResolveInternalServerError) IsClientError() bool

IsClientError returns true when this admin report resolve internal server error response has a 4xx status code

func (*AdminReportResolveInternalServerError) IsCode

IsCode returns true when this admin report resolve internal server error response a status code equal to that given

func (*AdminReportResolveInternalServerError) IsRedirect

IsRedirect returns true when this admin report resolve internal server error response has a 3xx status code

func (*AdminReportResolveInternalServerError) IsServerError

func (o *AdminReportResolveInternalServerError) IsServerError() bool

IsServerError returns true when this admin report resolve internal server error response has a 5xx status code

func (*AdminReportResolveInternalServerError) IsSuccess

IsSuccess returns true when this admin report resolve internal server error response has a 2xx status code

func (*AdminReportResolveInternalServerError) String

type AdminReportResolveNotAcceptable

type AdminReportResolveNotAcceptable struct {
}

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

not acceptable

func NewAdminReportResolveNotAcceptable

func NewAdminReportResolveNotAcceptable() *AdminReportResolveNotAcceptable

NewAdminReportResolveNotAcceptable creates a AdminReportResolveNotAcceptable with default headers values

func (*AdminReportResolveNotAcceptable) Code

Code gets the status code for the admin report resolve not acceptable response

func (*AdminReportResolveNotAcceptable) Error

func (*AdminReportResolveNotAcceptable) IsClientError

func (o *AdminReportResolveNotAcceptable) IsClientError() bool

IsClientError returns true when this admin report resolve not acceptable response has a 4xx status code

func (*AdminReportResolveNotAcceptable) IsCode

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

IsCode returns true when this admin report resolve not acceptable response a status code equal to that given

func (*AdminReportResolveNotAcceptable) IsRedirect

func (o *AdminReportResolveNotAcceptable) IsRedirect() bool

IsRedirect returns true when this admin report resolve not acceptable response has a 3xx status code

func (*AdminReportResolveNotAcceptable) IsServerError

func (o *AdminReportResolveNotAcceptable) IsServerError() bool

IsServerError returns true when this admin report resolve not acceptable response has a 5xx status code

func (*AdminReportResolveNotAcceptable) IsSuccess

func (o *AdminReportResolveNotAcceptable) IsSuccess() bool

IsSuccess returns true when this admin report resolve not acceptable response has a 2xx status code

func (*AdminReportResolveNotAcceptable) String

type AdminReportResolveNotFound

type AdminReportResolveNotFound struct {
}

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

not found

func NewAdminReportResolveNotFound

func NewAdminReportResolveNotFound() *AdminReportResolveNotFound

NewAdminReportResolveNotFound creates a AdminReportResolveNotFound with default headers values

func (*AdminReportResolveNotFound) Code

func (o *AdminReportResolveNotFound) Code() int

Code gets the status code for the admin report resolve not found response

func (*AdminReportResolveNotFound) Error

func (*AdminReportResolveNotFound) IsClientError

func (o *AdminReportResolveNotFound) IsClientError() bool

IsClientError returns true when this admin report resolve not found response has a 4xx status code

func (*AdminReportResolveNotFound) IsCode

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

IsCode returns true when this admin report resolve not found response a status code equal to that given

func (*AdminReportResolveNotFound) IsRedirect

func (o *AdminReportResolveNotFound) IsRedirect() bool

IsRedirect returns true when this admin report resolve not found response has a 3xx status code

func (*AdminReportResolveNotFound) IsServerError

func (o *AdminReportResolveNotFound) IsServerError() bool

IsServerError returns true when this admin report resolve not found response has a 5xx status code

func (*AdminReportResolveNotFound) IsSuccess

func (o *AdminReportResolveNotFound) IsSuccess() bool

IsSuccess returns true when this admin report resolve not found response has a 2xx status code

func (*AdminReportResolveNotFound) String

func (o *AdminReportResolveNotFound) String() string

type AdminReportResolveOK

type AdminReportResolveOK struct {
	Payload *models.AdminReport
}

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

The resolved report.

func NewAdminReportResolveOK

func NewAdminReportResolveOK() *AdminReportResolveOK

NewAdminReportResolveOK creates a AdminReportResolveOK with default headers values

func (*AdminReportResolveOK) Code

func (o *AdminReportResolveOK) Code() int

Code gets the status code for the admin report resolve o k response

func (*AdminReportResolveOK) Error

func (o *AdminReportResolveOK) Error() string

func (*AdminReportResolveOK) GetPayload

func (o *AdminReportResolveOK) GetPayload() *models.AdminReport

func (*AdminReportResolveOK) IsClientError

func (o *AdminReportResolveOK) IsClientError() bool

IsClientError returns true when this admin report resolve o k response has a 4xx status code

func (*AdminReportResolveOK) IsCode

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

IsCode returns true when this admin report resolve o k response a status code equal to that given

func (*AdminReportResolveOK) IsRedirect

func (o *AdminReportResolveOK) IsRedirect() bool

IsRedirect returns true when this admin report resolve o k response has a 3xx status code

func (*AdminReportResolveOK) IsServerError

func (o *AdminReportResolveOK) IsServerError() bool

IsServerError returns true when this admin report resolve o k response has a 5xx status code

func (*AdminReportResolveOK) IsSuccess

func (o *AdminReportResolveOK) IsSuccess() bool

IsSuccess returns true when this admin report resolve o k response has a 2xx status code

func (*AdminReportResolveOK) String

func (o *AdminReportResolveOK) String() string

type AdminReportResolveParams

type AdminReportResolveParams struct {

	/* ActionTakenComment.

	     Optional admin comment on the action taken in response to this report. Useful for providing an explanation about what action was taken (if any) before the report was marked as resolved. This will be visible to the user that created the report!
	Sample: The reported account was suspended.
	*/
	ActionTakenComment *string

	/* ID.

	   The id of the report.
	*/
	ID string

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

AdminReportResolveParams contains all the parameters to send to the API endpoint

for the admin report resolve operation.

Typically these are written to a http.Request.

func NewAdminReportResolveParams

func NewAdminReportResolveParams() *AdminReportResolveParams

NewAdminReportResolveParams creates a new AdminReportResolveParams 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 NewAdminReportResolveParamsWithContext

func NewAdminReportResolveParamsWithContext(ctx context.Context) *AdminReportResolveParams

NewAdminReportResolveParamsWithContext creates a new AdminReportResolveParams object with the ability to set a context for a request.

func NewAdminReportResolveParamsWithHTTPClient

func NewAdminReportResolveParamsWithHTTPClient(client *http.Client) *AdminReportResolveParams

NewAdminReportResolveParamsWithHTTPClient creates a new AdminReportResolveParams object with the ability to set a custom HTTPClient for a request.

func NewAdminReportResolveParamsWithTimeout

func NewAdminReportResolveParamsWithTimeout(timeout time.Duration) *AdminReportResolveParams

NewAdminReportResolveParamsWithTimeout creates a new AdminReportResolveParams object with the ability to set a timeout on a request.

func (*AdminReportResolveParams) SetActionTakenComment

func (o *AdminReportResolveParams) SetActionTakenComment(actionTakenComment *string)

SetActionTakenComment adds the actionTakenComment to the admin report resolve params

func (*AdminReportResolveParams) SetContext

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

SetContext adds the context to the admin report resolve params

func (*AdminReportResolveParams) SetDefaults

func (o *AdminReportResolveParams) SetDefaults()

SetDefaults hydrates default values in the admin report resolve params (not the query body).

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

func (*AdminReportResolveParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the admin report resolve params

func (*AdminReportResolveParams) SetID

func (o *AdminReportResolveParams) SetID(id string)

SetID adds the id to the admin report resolve params

func (*AdminReportResolveParams) SetTimeout

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

SetTimeout adds the timeout to the admin report resolve params

func (*AdminReportResolveParams) WithActionTakenComment

func (o *AdminReportResolveParams) WithActionTakenComment(actionTakenComment *string) *AdminReportResolveParams

WithActionTakenComment adds the actionTakenComment to the admin report resolve params

func (*AdminReportResolveParams) WithContext

WithContext adds the context to the admin report resolve params

func (*AdminReportResolveParams) WithDefaults

WithDefaults hydrates default values in the admin report resolve params (not the query body).

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

func (*AdminReportResolveParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the admin report resolve params

func (*AdminReportResolveParams) WithID

WithID adds the id to the admin report resolve params

func (*AdminReportResolveParams) WithTimeout

WithTimeout adds the timeout to the admin report resolve params

func (*AdminReportResolveParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type AdminReportResolveReader

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

AdminReportResolveReader is a Reader for the AdminReportResolve structure.

func (*AdminReportResolveReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type AdminReportResolveUnauthorized

type AdminReportResolveUnauthorized struct {
}

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

unauthorized

func NewAdminReportResolveUnauthorized

func NewAdminReportResolveUnauthorized() *AdminReportResolveUnauthorized

NewAdminReportResolveUnauthorized creates a AdminReportResolveUnauthorized with default headers values

func (*AdminReportResolveUnauthorized) Code

Code gets the status code for the admin report resolve unauthorized response

func (*AdminReportResolveUnauthorized) Error

func (*AdminReportResolveUnauthorized) IsClientError

func (o *AdminReportResolveUnauthorized) IsClientError() bool

IsClientError returns true when this admin report resolve unauthorized response has a 4xx status code

func (*AdminReportResolveUnauthorized) IsCode

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

IsCode returns true when this admin report resolve unauthorized response a status code equal to that given

func (*AdminReportResolveUnauthorized) IsRedirect

func (o *AdminReportResolveUnauthorized) IsRedirect() bool

IsRedirect returns true when this admin report resolve unauthorized response has a 3xx status code

func (*AdminReportResolveUnauthorized) IsServerError

func (o *AdminReportResolveUnauthorized) IsServerError() bool

IsServerError returns true when this admin report resolve unauthorized response has a 5xx status code

func (*AdminReportResolveUnauthorized) IsSuccess

func (o *AdminReportResolveUnauthorized) IsSuccess() bool

IsSuccess returns true when this admin report resolve unauthorized response has a 2xx status code

func (*AdminReportResolveUnauthorized) String

type AdminReportsBadRequest

type AdminReportsBadRequest struct {
}

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

bad request

func NewAdminReportsBadRequest

func NewAdminReportsBadRequest() *AdminReportsBadRequest

NewAdminReportsBadRequest creates a AdminReportsBadRequest with default headers values

func (*AdminReportsBadRequest) Code

func (o *AdminReportsBadRequest) Code() int

Code gets the status code for the admin reports bad request response

func (*AdminReportsBadRequest) Error

func (o *AdminReportsBadRequest) Error() string

func (*AdminReportsBadRequest) IsClientError

func (o *AdminReportsBadRequest) IsClientError() bool

IsClientError returns true when this admin reports bad request response has a 4xx status code

func (*AdminReportsBadRequest) IsCode

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

IsCode returns true when this admin reports bad request response a status code equal to that given

func (*AdminReportsBadRequest) IsRedirect

func (o *AdminReportsBadRequest) IsRedirect() bool

IsRedirect returns true when this admin reports bad request response has a 3xx status code

func (*AdminReportsBadRequest) IsServerError

func (o *AdminReportsBadRequest) IsServerError() bool

IsServerError returns true when this admin reports bad request response has a 5xx status code

func (*AdminReportsBadRequest) IsSuccess

func (o *AdminReportsBadRequest) IsSuccess() bool

IsSuccess returns true when this admin reports bad request response has a 2xx status code

func (*AdminReportsBadRequest) String

func (o *AdminReportsBadRequest) String() string

type AdminReportsInternalServerError

type AdminReportsInternalServerError struct {
}

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

internal server error

func NewAdminReportsInternalServerError

func NewAdminReportsInternalServerError() *AdminReportsInternalServerError

NewAdminReportsInternalServerError creates a AdminReportsInternalServerError with default headers values

func (*AdminReportsInternalServerError) Code

Code gets the status code for the admin reports internal server error response

func (*AdminReportsInternalServerError) Error

func (*AdminReportsInternalServerError) IsClientError

func (o *AdminReportsInternalServerError) IsClientError() bool

IsClientError returns true when this admin reports internal server error response has a 4xx status code

func (*AdminReportsInternalServerError) IsCode

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

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

func (*AdminReportsInternalServerError) IsRedirect

func (o *AdminReportsInternalServerError) IsRedirect() bool

IsRedirect returns true when this admin reports internal server error response has a 3xx status code

func (*AdminReportsInternalServerError) IsServerError

func (o *AdminReportsInternalServerError) IsServerError() bool

IsServerError returns true when this admin reports internal server error response has a 5xx status code

func (*AdminReportsInternalServerError) IsSuccess

func (o *AdminReportsInternalServerError) IsSuccess() bool

IsSuccess returns true when this admin reports internal server error response has a 2xx status code

func (*AdminReportsInternalServerError) String

type AdminReportsNotAcceptable

type AdminReportsNotAcceptable struct {
}

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

not acceptable

func NewAdminReportsNotAcceptable

func NewAdminReportsNotAcceptable() *AdminReportsNotAcceptable

NewAdminReportsNotAcceptable creates a AdminReportsNotAcceptable with default headers values

func (*AdminReportsNotAcceptable) Code

func (o *AdminReportsNotAcceptable) Code() int

Code gets the status code for the admin reports not acceptable response

func (*AdminReportsNotAcceptable) Error

func (o *AdminReportsNotAcceptable) Error() string

func (*AdminReportsNotAcceptable) IsClientError

func (o *AdminReportsNotAcceptable) IsClientError() bool

IsClientError returns true when this admin reports not acceptable response has a 4xx status code

func (*AdminReportsNotAcceptable) IsCode

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

IsCode returns true when this admin reports not acceptable response a status code equal to that given

func (*AdminReportsNotAcceptable) IsRedirect

func (o *AdminReportsNotAcceptable) IsRedirect() bool

IsRedirect returns true when this admin reports not acceptable response has a 3xx status code

func (*AdminReportsNotAcceptable) IsServerError

func (o *AdminReportsNotAcceptable) IsServerError() bool

IsServerError returns true when this admin reports not acceptable response has a 5xx status code

func (*AdminReportsNotAcceptable) IsSuccess

func (o *AdminReportsNotAcceptable) IsSuccess() bool

IsSuccess returns true when this admin reports not acceptable response has a 2xx status code

func (*AdminReportsNotAcceptable) String

func (o *AdminReportsNotAcceptable) String() string

type AdminReportsNotFound

type AdminReportsNotFound struct {
}

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

not found

func NewAdminReportsNotFound

func NewAdminReportsNotFound() *AdminReportsNotFound

NewAdminReportsNotFound creates a AdminReportsNotFound with default headers values

func (*AdminReportsNotFound) Code

func (o *AdminReportsNotFound) Code() int

Code gets the status code for the admin reports not found response

func (*AdminReportsNotFound) Error

func (o *AdminReportsNotFound) Error() string

func (*AdminReportsNotFound) IsClientError

func (o *AdminReportsNotFound) IsClientError() bool

IsClientError returns true when this admin reports not found response has a 4xx status code

func (*AdminReportsNotFound) IsCode

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

IsCode returns true when this admin reports not found response a status code equal to that given

func (*AdminReportsNotFound) IsRedirect

func (o *AdminReportsNotFound) IsRedirect() bool

IsRedirect returns true when this admin reports not found response has a 3xx status code

func (*AdminReportsNotFound) IsServerError

func (o *AdminReportsNotFound) IsServerError() bool

IsServerError returns true when this admin reports not found response has a 5xx status code

func (*AdminReportsNotFound) IsSuccess

func (o *AdminReportsNotFound) IsSuccess() bool

IsSuccess returns true when this admin reports not found response has a 2xx status code

func (*AdminReportsNotFound) String

func (o *AdminReportsNotFound) String() string

type AdminReportsOK

type AdminReportsOK struct {

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

	Payload []*models.AdminReport
}

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

Array of reports.

func NewAdminReportsOK

func NewAdminReportsOK() *AdminReportsOK

NewAdminReportsOK creates a AdminReportsOK with default headers values

func (*AdminReportsOK) Code

func (o *AdminReportsOK) Code() int

Code gets the status code for the admin reports o k response

func (*AdminReportsOK) Error

func (o *AdminReportsOK) Error() string

func (*AdminReportsOK) GetPayload

func (o *AdminReportsOK) GetPayload() []*models.AdminReport

func (*AdminReportsOK) IsClientError

func (o *AdminReportsOK) IsClientError() bool

IsClientError returns true when this admin reports o k response has a 4xx status code

func (*AdminReportsOK) IsCode

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

IsCode returns true when this admin reports o k response a status code equal to that given

func (*AdminReportsOK) IsRedirect

func (o *AdminReportsOK) IsRedirect() bool

IsRedirect returns true when this admin reports o k response has a 3xx status code

func (*AdminReportsOK) IsServerError

func (o *AdminReportsOK) IsServerError() bool

IsServerError returns true when this admin reports o k response has a 5xx status code

func (*AdminReportsOK) IsSuccess

func (o *AdminReportsOK) IsSuccess() bool

IsSuccess returns true when this admin reports o k response has a 2xx status code

func (*AdminReportsOK) String

func (o *AdminReportsOK) String() string

type AdminReportsParams

type AdminReportsParams struct {

	/* AccountID.

	   Return only reports created by the given account id.
	*/
	AccountID *string

	/* Limit.

	   Number of reports to return.

	   Default: 20
	*/
	Limit *int64

	/* MaxID.

	   Return only reports *OLDER* than the given max ID (for paging downwards). The report with the specified ID will not be included in the response.
	*/
	MaxID *string

	/* MinID.

	   Return only reports immediately *NEWER* than the given min ID (for paging upwards). The report with the specified ID will not be included in the response.
	*/
	MinID *string

	/* Resolved.

	   If set to true, only resolved reports will be returned. If false, only unresolved reports will be returned. If unset, reports will not be filtered on their resolved status.
	*/
	Resolved *bool

	/* SinceID.

	   Return only reports *NEWER* than the given since ID. The report with the specified ID will not be included in the response.
	*/
	SinceID *string

	/* TargetAccountID.

	   Return only reports that target the given account id.
	*/
	TargetAccountID *string

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

AdminReportsParams contains all the parameters to send to the API endpoint

for the admin reports operation.

Typically these are written to a http.Request.

func NewAdminReportsParams

func NewAdminReportsParams() *AdminReportsParams

NewAdminReportsParams creates a new AdminReportsParams 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 NewAdminReportsParamsWithContext

func NewAdminReportsParamsWithContext(ctx context.Context) *AdminReportsParams

NewAdminReportsParamsWithContext creates a new AdminReportsParams object with the ability to set a context for a request.

func NewAdminReportsParamsWithHTTPClient

func NewAdminReportsParamsWithHTTPClient(client *http.Client) *AdminReportsParams

NewAdminReportsParamsWithHTTPClient creates a new AdminReportsParams object with the ability to set a custom HTTPClient for a request.

func NewAdminReportsParamsWithTimeout

func NewAdminReportsParamsWithTimeout(timeout time.Duration) *AdminReportsParams

NewAdminReportsParamsWithTimeout creates a new AdminReportsParams object with the ability to set a timeout on a request.

func (*AdminReportsParams) SetAccountID

func (o *AdminReportsParams) SetAccountID(accountID *string)

SetAccountID adds the accountId to the admin reports params

func (*AdminReportsParams) SetContext

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

SetContext adds the context to the admin reports params

func (*AdminReportsParams) SetDefaults

func (o *AdminReportsParams) SetDefaults()

SetDefaults hydrates default values in the admin reports params (not the query body).

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

func (*AdminReportsParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the admin reports params

func (*AdminReportsParams) SetLimit

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

SetLimit adds the limit to the admin reports params

func (*AdminReportsParams) SetMaxID

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

SetMaxID adds the maxId to the admin reports params

func (*AdminReportsParams) SetMinID

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

SetMinID adds the minId to the admin reports params

func (*AdminReportsParams) SetResolved

func (o *AdminReportsParams) SetResolved(resolved *bool)

SetResolved adds the resolved to the admin reports params

func (*AdminReportsParams) SetSinceID

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

SetSinceID adds the sinceId to the admin reports params

func (*AdminReportsParams) SetTargetAccountID

func (o *AdminReportsParams) SetTargetAccountID(targetAccountID *string)

SetTargetAccountID adds the targetAccountId to the admin reports params

func (*AdminReportsParams) SetTimeout

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

SetTimeout adds the timeout to the admin reports params

func (*AdminReportsParams) WithAccountID

func (o *AdminReportsParams) WithAccountID(accountID *string) *AdminReportsParams

WithAccountID adds the accountID to the admin reports params

func (*AdminReportsParams) WithContext

WithContext adds the context to the admin reports params

func (*AdminReportsParams) WithDefaults

func (o *AdminReportsParams) WithDefaults() *AdminReportsParams

WithDefaults hydrates default values in the admin reports params (not the query body).

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

func (*AdminReportsParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the admin reports params

func (*AdminReportsParams) WithLimit

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

WithLimit adds the limit to the admin reports params

func (*AdminReportsParams) WithMaxID

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

WithMaxID adds the maxID to the admin reports params

func (*AdminReportsParams) WithMinID

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

WithMinID adds the minID to the admin reports params

func (*AdminReportsParams) WithResolved

func (o *AdminReportsParams) WithResolved(resolved *bool) *AdminReportsParams

WithResolved adds the resolved to the admin reports params

func (*AdminReportsParams) WithSinceID

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

WithSinceID adds the sinceID to the admin reports params

func (*AdminReportsParams) WithTargetAccountID

func (o *AdminReportsParams) WithTargetAccountID(targetAccountID *string) *AdminReportsParams

WithTargetAccountID adds the targetAccountID to the admin reports params

func (*AdminReportsParams) WithTimeout

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

WithTimeout adds the timeout to the admin reports params

func (*AdminReportsParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type AdminReportsReader

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

AdminReportsReader is a Reader for the AdminReports structure.

func (*AdminReportsReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type AdminReportsUnauthorized

type AdminReportsUnauthorized struct {
}

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

unauthorized

func NewAdminReportsUnauthorized

func NewAdminReportsUnauthorized() *AdminReportsUnauthorized

NewAdminReportsUnauthorized creates a AdminReportsUnauthorized with default headers values

func (*AdminReportsUnauthorized) Code

func (o *AdminReportsUnauthorized) Code() int

Code gets the status code for the admin reports unauthorized response

func (*AdminReportsUnauthorized) Error

func (o *AdminReportsUnauthorized) Error() string

func (*AdminReportsUnauthorized) IsClientError

func (o *AdminReportsUnauthorized) IsClientError() bool

IsClientError returns true when this admin reports unauthorized response has a 4xx status code

func (*AdminReportsUnauthorized) IsCode

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

IsCode returns true when this admin reports unauthorized response a status code equal to that given

func (*AdminReportsUnauthorized) IsRedirect

func (o *AdminReportsUnauthorized) IsRedirect() bool

IsRedirect returns true when this admin reports unauthorized response has a 3xx status code

func (*AdminReportsUnauthorized) IsServerError

func (o *AdminReportsUnauthorized) IsServerError() bool

IsServerError returns true when this admin reports unauthorized response has a 5xx status code

func (*AdminReportsUnauthorized) IsSuccess

func (o *AdminReportsUnauthorized) IsSuccess() bool

IsSuccess returns true when this admin reports unauthorized response has a 2xx status code

func (*AdminReportsUnauthorized) String

func (o *AdminReportsUnauthorized) String() string

type AdminRuleGetBadRequest

type AdminRuleGetBadRequest struct {
}

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

bad request

func NewAdminRuleGetBadRequest

func NewAdminRuleGetBadRequest() *AdminRuleGetBadRequest

NewAdminRuleGetBadRequest creates a AdminRuleGetBadRequest with default headers values

func (*AdminRuleGetBadRequest) Code

func (o *AdminRuleGetBadRequest) Code() int

Code gets the status code for the admin rule get bad request response

func (*AdminRuleGetBadRequest) Error

func (o *AdminRuleGetBadRequest) Error() string

func (*AdminRuleGetBadRequest) IsClientError

func (o *AdminRuleGetBadRequest) IsClientError() bool

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

func (*AdminRuleGetBadRequest) IsCode

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

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

func (*AdminRuleGetBadRequest) IsRedirect

func (o *AdminRuleGetBadRequest) IsRedirect() bool

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

func (*AdminRuleGetBadRequest) IsServerError

func (o *AdminRuleGetBadRequest) IsServerError() bool

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

func (*AdminRuleGetBadRequest) IsSuccess

func (o *AdminRuleGetBadRequest) IsSuccess() bool

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

func (*AdminRuleGetBadRequest) String

func (o *AdminRuleGetBadRequest) String() string

type AdminRuleGetInternalServerError

type AdminRuleGetInternalServerError struct {
}

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

internal server error

func NewAdminRuleGetInternalServerError

func NewAdminRuleGetInternalServerError() *AdminRuleGetInternalServerError

NewAdminRuleGetInternalServerError creates a AdminRuleGetInternalServerError with default headers values

func (*AdminRuleGetInternalServerError) Code

Code gets the status code for the admin rule get internal server error response

func (*AdminRuleGetInternalServerError) Error

func (*AdminRuleGetInternalServerError) IsClientError

func (o *AdminRuleGetInternalServerError) IsClientError() bool

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

func (*AdminRuleGetInternalServerError) IsCode

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

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

func (*AdminRuleGetInternalServerError) IsRedirect

func (o *AdminRuleGetInternalServerError) IsRedirect() bool

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

func (*AdminRuleGetInternalServerError) IsServerError

func (o *AdminRuleGetInternalServerError) IsServerError() bool

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

func (*AdminRuleGetInternalServerError) IsSuccess

func (o *AdminRuleGetInternalServerError) IsSuccess() bool

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

func (*AdminRuleGetInternalServerError) String

type AdminRuleGetNotAcceptable

type AdminRuleGetNotAcceptable struct {
}

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

not acceptable

func NewAdminRuleGetNotAcceptable

func NewAdminRuleGetNotAcceptable() *AdminRuleGetNotAcceptable

NewAdminRuleGetNotAcceptable creates a AdminRuleGetNotAcceptable with default headers values

func (*AdminRuleGetNotAcceptable) Code

func (o *AdminRuleGetNotAcceptable) Code() int

Code gets the status code for the admin rule get not acceptable response

func (*AdminRuleGetNotAcceptable) Error

func (o *AdminRuleGetNotAcceptable) Error() string

func (*AdminRuleGetNotAcceptable) IsClientError

func (o *AdminRuleGetNotAcceptable) IsClientError() bool

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

func (*AdminRuleGetNotAcceptable) IsCode

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

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

func (*AdminRuleGetNotAcceptable) IsRedirect

func (o *AdminRuleGetNotAcceptable) IsRedirect() bool

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

func (*AdminRuleGetNotAcceptable) IsServerError

func (o *AdminRuleGetNotAcceptable) IsServerError() bool

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

func (*AdminRuleGetNotAcceptable) IsSuccess

func (o *AdminRuleGetNotAcceptable) IsSuccess() bool

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

func (*AdminRuleGetNotAcceptable) String

func (o *AdminRuleGetNotAcceptable) String() string

type AdminRuleGetNotFound

type AdminRuleGetNotFound struct {
}

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

not found

func NewAdminRuleGetNotFound

func NewAdminRuleGetNotFound() *AdminRuleGetNotFound

NewAdminRuleGetNotFound creates a AdminRuleGetNotFound with default headers values

func (*AdminRuleGetNotFound) Code

func (o *AdminRuleGetNotFound) Code() int

Code gets the status code for the admin rule get not found response

func (*AdminRuleGetNotFound) Error

func (o *AdminRuleGetNotFound) Error() string

func (*AdminRuleGetNotFound) IsClientError

func (o *AdminRuleGetNotFound) IsClientError() bool

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

func (*AdminRuleGetNotFound) IsCode

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

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

func (*AdminRuleGetNotFound) IsRedirect

func (o *AdminRuleGetNotFound) IsRedirect() bool

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

func (*AdminRuleGetNotFound) IsServerError

func (o *AdminRuleGetNotFound) IsServerError() bool

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

func (*AdminRuleGetNotFound) IsSuccess

func (o *AdminRuleGetNotFound) IsSuccess() bool

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

func (*AdminRuleGetNotFound) String

func (o *AdminRuleGetNotFound) String() string

type AdminRuleGetOK

type AdminRuleGetOK struct {
	Payload *models.InstanceRule
}

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

The requested rule.

func NewAdminRuleGetOK

func NewAdminRuleGetOK() *AdminRuleGetOK

NewAdminRuleGetOK creates a AdminRuleGetOK with default headers values

func (*AdminRuleGetOK) Code

func (o *AdminRuleGetOK) Code() int

Code gets the status code for the admin rule get o k response

func (*AdminRuleGetOK) Error

func (o *AdminRuleGetOK) Error() string

func (*AdminRuleGetOK) GetPayload

func (o *AdminRuleGetOK) GetPayload() *models.InstanceRule

func (*AdminRuleGetOK) IsClientError

func (o *AdminRuleGetOK) IsClientError() bool

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

func (*AdminRuleGetOK) IsCode

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

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

func (*AdminRuleGetOK) IsRedirect

func (o *AdminRuleGetOK) IsRedirect() bool

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

func (*AdminRuleGetOK) IsServerError

func (o *AdminRuleGetOK) IsServerError() bool

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

func (*AdminRuleGetOK) IsSuccess

func (o *AdminRuleGetOK) IsSuccess() bool

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

func (*AdminRuleGetOK) String

func (o *AdminRuleGetOK) String() string

type AdminRuleGetParams

type AdminRuleGetParams struct {

	/* ID.

	   The id of the rule.
	*/
	ID string

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

AdminRuleGetParams contains all the parameters to send to the API endpoint

for the admin rule get operation.

Typically these are written to a http.Request.

func NewAdminRuleGetParams

func NewAdminRuleGetParams() *AdminRuleGetParams

NewAdminRuleGetParams creates a new AdminRuleGetParams 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 NewAdminRuleGetParamsWithContext

func NewAdminRuleGetParamsWithContext(ctx context.Context) *AdminRuleGetParams

NewAdminRuleGetParamsWithContext creates a new AdminRuleGetParams object with the ability to set a context for a request.

func NewAdminRuleGetParamsWithHTTPClient

func NewAdminRuleGetParamsWithHTTPClient(client *http.Client) *AdminRuleGetParams

NewAdminRuleGetParamsWithHTTPClient creates a new AdminRuleGetParams object with the ability to set a custom HTTPClient for a request.

func NewAdminRuleGetParamsWithTimeout

func NewAdminRuleGetParamsWithTimeout(timeout time.Duration) *AdminRuleGetParams

NewAdminRuleGetParamsWithTimeout creates a new AdminRuleGetParams object with the ability to set a timeout on a request.

func (*AdminRuleGetParams) SetContext

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

SetContext adds the context to the admin rule get params

func (*AdminRuleGetParams) SetDefaults

func (o *AdminRuleGetParams) SetDefaults()

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

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

func (*AdminRuleGetParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the admin rule get params

func (*AdminRuleGetParams) SetID

func (o *AdminRuleGetParams) SetID(id string)

SetID adds the id to the admin rule get params

func (*AdminRuleGetParams) SetTimeout

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

SetTimeout adds the timeout to the admin rule get params

func (*AdminRuleGetParams) WithContext

WithContext adds the context to the admin rule get params

func (*AdminRuleGetParams) WithDefaults

func (o *AdminRuleGetParams) WithDefaults() *AdminRuleGetParams

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

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

func (*AdminRuleGetParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the admin rule get params

func (*AdminRuleGetParams) WithID

WithID adds the id to the admin rule get params

func (*AdminRuleGetParams) WithTimeout

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

WithTimeout adds the timeout to the admin rule get params

func (*AdminRuleGetParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type AdminRuleGetReader

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

AdminRuleGetReader is a Reader for the AdminRuleGet structure.

func (*AdminRuleGetReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type AdminRuleGetUnauthorized

type AdminRuleGetUnauthorized struct {
}

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

unauthorized

func NewAdminRuleGetUnauthorized

func NewAdminRuleGetUnauthorized() *AdminRuleGetUnauthorized

NewAdminRuleGetUnauthorized creates a AdminRuleGetUnauthorized with default headers values

func (*AdminRuleGetUnauthorized) Code

func (o *AdminRuleGetUnauthorized) Code() int

Code gets the status code for the admin rule get unauthorized response

func (*AdminRuleGetUnauthorized) Error

func (o *AdminRuleGetUnauthorized) Error() string

func (*AdminRuleGetUnauthorized) IsClientError

func (o *AdminRuleGetUnauthorized) IsClientError() bool

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

func (*AdminRuleGetUnauthorized) IsCode

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

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

func (*AdminRuleGetUnauthorized) IsRedirect

func (o *AdminRuleGetUnauthorized) IsRedirect() bool

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

func (*AdminRuleGetUnauthorized) IsServerError

func (o *AdminRuleGetUnauthorized) IsServerError() bool

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

func (*AdminRuleGetUnauthorized) IsSuccess

func (o *AdminRuleGetUnauthorized) IsSuccess() bool

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

func (*AdminRuleGetUnauthorized) String

func (o *AdminRuleGetUnauthorized) String() string

type AdminsRuleGetBadRequest

type AdminsRuleGetBadRequest struct {
}

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

bad request

func NewAdminsRuleGetBadRequest

func NewAdminsRuleGetBadRequest() *AdminsRuleGetBadRequest

NewAdminsRuleGetBadRequest creates a AdminsRuleGetBadRequest with default headers values

func (*AdminsRuleGetBadRequest) Code

func (o *AdminsRuleGetBadRequest) Code() int

Code gets the status code for the admins rule get bad request response

func (*AdminsRuleGetBadRequest) Error

func (o *AdminsRuleGetBadRequest) Error() string

func (*AdminsRuleGetBadRequest) IsClientError

func (o *AdminsRuleGetBadRequest) IsClientError() bool

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

func (*AdminsRuleGetBadRequest) IsCode

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

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

func (*AdminsRuleGetBadRequest) IsRedirect

func (o *AdminsRuleGetBadRequest) IsRedirect() bool

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

func (*AdminsRuleGetBadRequest) IsServerError

func (o *AdminsRuleGetBadRequest) IsServerError() bool

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

func (*AdminsRuleGetBadRequest) IsSuccess

func (o *AdminsRuleGetBadRequest) IsSuccess() bool

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

func (*AdminsRuleGetBadRequest) String

func (o *AdminsRuleGetBadRequest) String() string

type AdminsRuleGetInternalServerError

type AdminsRuleGetInternalServerError struct {
}

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

internal server error

func NewAdminsRuleGetInternalServerError

func NewAdminsRuleGetInternalServerError() *AdminsRuleGetInternalServerError

NewAdminsRuleGetInternalServerError creates a AdminsRuleGetInternalServerError with default headers values

func (*AdminsRuleGetInternalServerError) Code

Code gets the status code for the admins rule get internal server error response

func (*AdminsRuleGetInternalServerError) Error

func (*AdminsRuleGetInternalServerError) IsClientError

func (o *AdminsRuleGetInternalServerError) IsClientError() bool

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

func (*AdminsRuleGetInternalServerError) IsCode

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

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

func (*AdminsRuleGetInternalServerError) IsRedirect

func (o *AdminsRuleGetInternalServerError) IsRedirect() bool

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

func (*AdminsRuleGetInternalServerError) IsServerError

func (o *AdminsRuleGetInternalServerError) IsServerError() bool

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

func (*AdminsRuleGetInternalServerError) IsSuccess

func (o *AdminsRuleGetInternalServerError) IsSuccess() bool

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

func (*AdminsRuleGetInternalServerError) String

type AdminsRuleGetNotAcceptable

type AdminsRuleGetNotAcceptable struct {
}

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

not acceptable

func NewAdminsRuleGetNotAcceptable

func NewAdminsRuleGetNotAcceptable() *AdminsRuleGetNotAcceptable

NewAdminsRuleGetNotAcceptable creates a AdminsRuleGetNotAcceptable with default headers values

func (*AdminsRuleGetNotAcceptable) Code

func (o *AdminsRuleGetNotAcceptable) Code() int

Code gets the status code for the admins rule get not acceptable response

func (*AdminsRuleGetNotAcceptable) Error

func (*AdminsRuleGetNotAcceptable) IsClientError

func (o *AdminsRuleGetNotAcceptable) IsClientError() bool

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

func (*AdminsRuleGetNotAcceptable) IsCode

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

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

func (*AdminsRuleGetNotAcceptable) IsRedirect

func (o *AdminsRuleGetNotAcceptable) IsRedirect() bool

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

func (*AdminsRuleGetNotAcceptable) IsServerError

func (o *AdminsRuleGetNotAcceptable) IsServerError() bool

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

func (*AdminsRuleGetNotAcceptable) IsSuccess

func (o *AdminsRuleGetNotAcceptable) IsSuccess() bool

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

func (*AdminsRuleGetNotAcceptable) String

func (o *AdminsRuleGetNotAcceptable) String() string

type AdminsRuleGetNotFound

type AdminsRuleGetNotFound struct {
}

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

not found

func NewAdminsRuleGetNotFound

func NewAdminsRuleGetNotFound() *AdminsRuleGetNotFound

NewAdminsRuleGetNotFound creates a AdminsRuleGetNotFound with default headers values

func (*AdminsRuleGetNotFound) Code

func (o *AdminsRuleGetNotFound) Code() int

Code gets the status code for the admins rule get not found response

func (*AdminsRuleGetNotFound) Error

func (o *AdminsRuleGetNotFound) Error() string

func (*AdminsRuleGetNotFound) IsClientError

func (o *AdminsRuleGetNotFound) IsClientError() bool

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

func (*AdminsRuleGetNotFound) IsCode

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

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

func (*AdminsRuleGetNotFound) IsRedirect

func (o *AdminsRuleGetNotFound) IsRedirect() bool

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

func (*AdminsRuleGetNotFound) IsServerError

func (o *AdminsRuleGetNotFound) IsServerError() bool

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

func (*AdminsRuleGetNotFound) IsSuccess

func (o *AdminsRuleGetNotFound) IsSuccess() bool

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

func (*AdminsRuleGetNotFound) String

func (o *AdminsRuleGetNotFound) String() string

type AdminsRuleGetOK

type AdminsRuleGetOK struct {
	Payload []*models.InstanceRule
}

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

An array with all the rules for the local instance.

func NewAdminsRuleGetOK

func NewAdminsRuleGetOK() *AdminsRuleGetOK

NewAdminsRuleGetOK creates a AdminsRuleGetOK with default headers values

func (*AdminsRuleGetOK) Code

func (o *AdminsRuleGetOK) Code() int

Code gets the status code for the admins rule get o k response

func (*AdminsRuleGetOK) Error

func (o *AdminsRuleGetOK) Error() string

func (*AdminsRuleGetOK) GetPayload

func (o *AdminsRuleGetOK) GetPayload() []*models.InstanceRule

func (*AdminsRuleGetOK) IsClientError

func (o *AdminsRuleGetOK) IsClientError() bool

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

func (*AdminsRuleGetOK) IsCode

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

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

func (*AdminsRuleGetOK) IsRedirect

func (o *AdminsRuleGetOK) IsRedirect() bool

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

func (*AdminsRuleGetOK) IsServerError

func (o *AdminsRuleGetOK) IsServerError() bool

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

func (*AdminsRuleGetOK) IsSuccess

func (o *AdminsRuleGetOK) IsSuccess() bool

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

func (*AdminsRuleGetOK) String

func (o *AdminsRuleGetOK) String() string

type AdminsRuleGetParams

type AdminsRuleGetParams struct {
	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

AdminsRuleGetParams contains all the parameters to send to the API endpoint

for the admins rule get operation.

Typically these are written to a http.Request.

func NewAdminsRuleGetParams

func NewAdminsRuleGetParams() *AdminsRuleGetParams

NewAdminsRuleGetParams creates a new AdminsRuleGetParams 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 NewAdminsRuleGetParamsWithContext

func NewAdminsRuleGetParamsWithContext(ctx context.Context) *AdminsRuleGetParams

NewAdminsRuleGetParamsWithContext creates a new AdminsRuleGetParams object with the ability to set a context for a request.

func NewAdminsRuleGetParamsWithHTTPClient

func NewAdminsRuleGetParamsWithHTTPClient(client *http.Client) *AdminsRuleGetParams

NewAdminsRuleGetParamsWithHTTPClient creates a new AdminsRuleGetParams object with the ability to set a custom HTTPClient for a request.

func NewAdminsRuleGetParamsWithTimeout

func NewAdminsRuleGetParamsWithTimeout(timeout time.Duration) *AdminsRuleGetParams

NewAdminsRuleGetParamsWithTimeout creates a new AdminsRuleGetParams object with the ability to set a timeout on a request.

func (*AdminsRuleGetParams) SetContext

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

SetContext adds the context to the admins rule get params

func (*AdminsRuleGetParams) SetDefaults

func (o *AdminsRuleGetParams) SetDefaults()

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

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

func (*AdminsRuleGetParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the admins rule get params

func (*AdminsRuleGetParams) SetTimeout

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

SetTimeout adds the timeout to the admins rule get params

func (*AdminsRuleGetParams) WithContext

WithContext adds the context to the admins rule get params

func (*AdminsRuleGetParams) WithDefaults

func (o *AdminsRuleGetParams) WithDefaults() *AdminsRuleGetParams

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

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

func (*AdminsRuleGetParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the admins rule get params

func (*AdminsRuleGetParams) WithTimeout

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

WithTimeout adds the timeout to the admins rule get params

func (*AdminsRuleGetParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type AdminsRuleGetReader

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

AdminsRuleGetReader is a Reader for the AdminsRuleGet structure.

func (*AdminsRuleGetReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type AdminsRuleGetUnauthorized

type AdminsRuleGetUnauthorized struct {
}

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

unauthorized

func NewAdminsRuleGetUnauthorized

func NewAdminsRuleGetUnauthorized() *AdminsRuleGetUnauthorized

NewAdminsRuleGetUnauthorized creates a AdminsRuleGetUnauthorized with default headers values

func (*AdminsRuleGetUnauthorized) Code

func (o *AdminsRuleGetUnauthorized) Code() int

Code gets the status code for the admins rule get unauthorized response

func (*AdminsRuleGetUnauthorized) Error

func (o *AdminsRuleGetUnauthorized) Error() string

func (*AdminsRuleGetUnauthorized) IsClientError

func (o *AdminsRuleGetUnauthorized) IsClientError() bool

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

func (*AdminsRuleGetUnauthorized) IsCode

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

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

func (*AdminsRuleGetUnauthorized) IsRedirect

func (o *AdminsRuleGetUnauthorized) IsRedirect() bool

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

func (*AdminsRuleGetUnauthorized) IsServerError

func (o *AdminsRuleGetUnauthorized) IsServerError() bool

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

func (*AdminsRuleGetUnauthorized) IsSuccess

func (o *AdminsRuleGetUnauthorized) IsSuccess() bool

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

func (*AdminsRuleGetUnauthorized) String

func (o *AdminsRuleGetUnauthorized) String() string

type Client

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

Client for admin API

func (*Client) AdminAccountAction

func (a *Client) AdminAccountAction(params *AdminAccountActionParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*AdminAccountActionOK, error)

AdminAccountAction performs an admin action on an account

func (*Client) AdminAccountApprove

func (a *Client) AdminAccountApprove(params *AdminAccountApproveParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*AdminAccountApproveOK, error)

AdminAccountApprove approves pending account

func (*Client) AdminAccountGet

func (a *Client) AdminAccountGet(params *AdminAccountGetParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*AdminAccountGetOK, error)

AdminAccountGet views one account

func (*Client) AdminAccountReject

func (a *Client) AdminAccountReject(params *AdminAccountRejectParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*AdminAccountRejectOK, error)

AdminAccountReject rejects pending account

func (*Client) AdminAccountsGetV1

func (a *Client) AdminAccountsGetV1(params *AdminAccountsGetV1Params, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*AdminAccountsGetV1OK, error)
AdminAccountsGetV1 views page through known accounts according to given filters

Returned accounts will be ordered alphabetically (a-z) by domain + username.

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

``` <https://example.org/api/v1/admin/accounts?limit=80&max_id=example.org%2F%40someone>; rel="next", <https://example.org/api/v1/admin/accounts?limit=80&min_id=example.org%2F%40someone_else>; rel="prev" ````

func (*Client) AdminAccountsGetV2

func (a *Client) AdminAccountsGetV2(params *AdminAccountsGetV2Params, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*AdminAccountsGetV2OK, error)
AdminAccountsGetV2 views page through known accounts according to given filters

Returned accounts will be ordered alphabetically (a-z) by domain + username.

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

``` <https://example.org/api/v2/admin/accounts?limit=80&max_id=example.org%2F%40someone>; rel="next", <https://example.org/api/v2/admin/accounts?limit=80&min_id=example.org%2F%40someone_else>; rel="prev" ````

func (*Client) AdminReportGet

func (a *Client) AdminReportGet(params *AdminReportGetParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*AdminReportGetOK, error)

AdminReportGet views user moderation report with the given id

func (*Client) AdminReportResolve

func (a *Client) AdminReportResolve(params *AdminReportResolveParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*AdminReportResolveOK, error)

AdminReportResolve marks a report as resolved

func (*Client) AdminReports

func (a *Client) AdminReports(params *AdminReportsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*AdminReportsOK, error)
AdminReports views user moderation reports

The reports will be returned in descending chronological order (newest first), with sequential IDs (bigger = newer).

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

Example:

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

func (*Client) AdminRuleGet

func (a *Client) AdminRuleGet(params *AdminRuleGetParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*AdminRuleGetOK, error)

AdminRuleGet views instance rule with the given id

func (*Client) AdminsRuleGet

func (a *Client) AdminsRuleGet(params *AdminsRuleGetParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*AdminsRuleGetOK, error)

AdminsRuleGet views instance rules with i ds

The rules will be returned in order (sorted by Order ascending).

func (*Client) DomainAllowCreate

func (a *Client) DomainAllowCreate(params *DomainAllowCreateParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DomainAllowCreateOK, error)
DomainAllowCreate creates one or more domain allows from a string or a file

You have two options when using this endpoint: either you can set `import` to `true` and

upload a file containing multiple domain allows, JSON-formatted, or you can leave import as `false`, and just add one domain allow.

The format of the json file should be something like: `[{"domain":"example.org"},{"domain":"whatever.com","public_comment":"they smell"}]`

func (*Client) DomainAllowDelete

func (a *Client) DomainAllowDelete(params *DomainAllowDeleteParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DomainAllowDeleteOK, error)

DomainAllowDelete deletes domain allow with the given ID

func (*Client) DomainAllowGet

func (a *Client) DomainAllowGet(params *DomainAllowGetParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DomainAllowGetOK, error)

DomainAllowGet views domain allow with the given ID

func (*Client) DomainAllowsGet

func (a *Client) DomainAllowsGet(params *DomainAllowsGetParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DomainAllowsGetOK, error)

DomainAllowsGet views all domain allows currently in place

func (*Client) DomainBlockCreate

func (a *Client) DomainBlockCreate(params *DomainBlockCreateParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DomainBlockCreateOK, error)
DomainBlockCreate creates one or more domain blocks from a string or a file

You have two options when using this endpoint: either you can set `import` to `true` and

upload a file containing multiple domain blocks, JSON-formatted, or you can leave import as `false`, and just add one domain block.

The format of the json file should be something like: `[{"domain":"example.org"},{"domain":"whatever.com","public_comment":"they smell"}]`

func (*Client) DomainBlockDelete

func (a *Client) DomainBlockDelete(params *DomainBlockDeleteParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DomainBlockDeleteOK, error)

DomainBlockDelete deletes domain block with the given ID

func (*Client) DomainBlockGet

func (a *Client) DomainBlockGet(params *DomainBlockGetParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DomainBlockGetOK, error)

DomainBlockGet views domain block with the given ID

func (*Client) DomainBlocksGet

func (a *Client) DomainBlocksGet(params *DomainBlocksGetParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DomainBlocksGetOK, error)

DomainBlocksGet views all domain blocks currently in place

func (*Client) DomainKeysExpire

func (a *Client) DomainKeysExpire(params *DomainKeysExpireParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DomainKeysExpireAccepted, error)
DomainKeysExpire forces expiry of cached public keys for all accounts on the given domain stored in your database

This is useful in cases where the remote domain has had to rotate their keys for whatever

reason (security issue, data leak, routine safety procedure, etc), and your instance can no longer communicate with theirs properly using cached keys. A key marked as expired in this way will be lazily refetched next time a request is made to your instance signed by the owner of that key, so no further action should be required in order to reestablish communication with that domain.

This endpoint is explicitly not for rotating your *own* keys, it only works for remote instances.

Using this endpoint to expire keys for a domain that hasn't rotated all of their keys is not harmful and won't break federation, but it is pointless and will cause unnecessary requests to be performed.

func (*Client) EmojiCategoriesGet

func (a *Client) EmojiCategoriesGet(params *EmojiCategoriesGetParams, opts ...ClientOption) (*EmojiCategoriesGetOK, error)

EmojiCategoriesGet gets a list of existing emoji categories

func (*Client) EmojiCreate

func (a *Client) EmojiCreate(params *EmojiCreateParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*EmojiCreateOK, error)

EmojiCreate uploads and create a new instance emoji

func (*Client) EmojiDelete

func (a *Client) EmojiDelete(params *EmojiDeleteParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*EmojiDeleteOK, error)
EmojiDelete deletes a local emoji with the given ID from the instance

Emoji with the given ID will no longer be available to use on the instance.

If you just want to update the emoji image instead, use the `/api/v1/admin/custom_emojis/{id}` PATCH route.

To disable emojis from **remote** instances, use the `/api/v1/admin/custom_emojis/{id}` PATCH route.

func (*Client) EmojiGet

func (a *Client) EmojiGet(params *EmojiGetParams, opts ...ClientOption) (*EmojiGetOK, error)

EmojiGet gets the admin view of a single emoji

func (*Client) EmojiUpdate

func (a *Client) EmojiUpdate(params *EmojiUpdateParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*EmojiUpdateOK, error)
EmojiUpdate performs admin action on a local or remote emoji known to this instance

Action performed depends upon the action `type` provided.

`disable`: disable a REMOTE emoji from being used/displayed on this instance. Does not work for local emojis.

`copy`: copy a REMOTE emoji to this instance. When doing this action, a shortcode MUST be provided, and it must be unique among emojis already present on this instance. A category MAY be provided, and the copied emoji will then be put into the provided category.

`modify`: modify a LOCAL emoji. You can provide a new image for the emoji and/or update the category.

Local emojis cannot be deleted using this endpoint. To delete a local emoji, check DELETE /api/v1/admin/custom_emojis/{id} instead.

func (*Client) EmojisGet

func (a *Client) EmojisGet(params *EmojisGetParams, opts ...ClientOption) (*EmojisGetOK, error)
EmojisGet views local and remote emojis available to known by this instance

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

Example:

`<http://localhost:8080/api/v1/admin/custom_emojis?limit=30&max_shortcode_domain=yell@fossbros-anonymous.io&filter=domain:all>; rel="next", <http://localhost:8080/api/v1/admin/custom_emojis?limit=30&min_shortcode_domain=rainbow@&filter=domain:all>; rel="prev"`

func (*Client) HeaderFilterAllowCreate

func (a *Client) HeaderFilterAllowCreate(params *HeaderFilterAllowCreateParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*HeaderFilterAllowCreateOK, error)
HeaderFilterAllowCreate creates new allow HTTP request header filter

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

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

func (*Client) HeaderFilterAllowDelete

func (a *Client) HeaderFilterAllowDelete(params *HeaderFilterAllowDeleteParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*HeaderFilterAllowDeleteAccepted, error)

HeaderFilterAllowDelete deletes the allow header filter with the given ID

func (*Client) HeaderFilterAllowGet

func (a *Client) HeaderFilterAllowGet(params *HeaderFilterAllowGetParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*HeaderFilterAllowGetOK, error)

HeaderFilterAllowGet gets allow header filter with the given ID

func (*Client) HeaderFilterAllowsGet

func (a *Client) HeaderFilterAllowsGet(params *HeaderFilterAllowsGetParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*HeaderFilterAllowsGetOK, error)

HeaderFilterAllowsGet gets all allow header filters currently in place

func (*Client) HeaderFilterBlockCreate

func (a *Client) HeaderFilterBlockCreate(params *HeaderFilterBlockCreateParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*HeaderFilterBlockCreateOK, error)
HeaderFilterBlockCreate creates new block HTTP request header filter

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

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

func (*Client) HeaderFilterBlockDelete

func (a *Client) HeaderFilterBlockDelete(params *HeaderFilterBlockDeleteParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*HeaderFilterBlockDeleteAccepted, error)

HeaderFilterBlockDelete deletes the block header filter with the given ID

func (*Client) HeaderFilterBlockGet

func (a *Client) HeaderFilterBlockGet(params *HeaderFilterBlockGetParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*HeaderFilterBlockGetOK, error)

HeaderFilterBlockGet gets block header filter with the given ID

func (*Client) HeaderFilterBlocksGet

func (a *Client) HeaderFilterBlocksGet(params *HeaderFilterBlocksGetParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*HeaderFilterBlocksGetOK, error)

HeaderFilterBlocksGet gets all allow header filters currently in place

func (*Client) MediaCleanup

func (a *Client) MediaCleanup(params *MediaCleanupParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*MediaCleanupOK, error)

MediaCleanup cleans up remote media older than the specified number of days

Also cleans up unused headers + avatars from the media cache and prunes orphaned items from storage.

func (*Client) MediaRefetch

func (a *Client) MediaRefetch(params *MediaRefetchParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*MediaRefetchAccepted, error)
MediaRefetch refetches media specified in the database but missing from storage

Currently, this only includes remote emojis.

This endpoint is useful when data loss has occurred, and you want to try to recover to a working state.

func (*Client) RuleCreate

func (a *Client) RuleCreate(params *RuleCreateParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*RuleCreateOK, error)

RuleCreate creates a new instance rule

func (*Client) RuleDelete

func (a *Client) RuleDelete(params *RuleDeleteParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*RuleDeleteOK, error)

RuleDelete deletes an existing instance rule

func (*Client) RuleUpdate

func (a *Client) RuleUpdate(params *RuleUpdateParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*RuleUpdateOK, error)

RuleUpdate updates an existing instance rule

func (*Client) SetTransport

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

SetTransport changes the transport on the client

func (*Client) TestEmailSend

func (a *Client) TestEmailSend(params *TestEmailSendParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*TestEmailSendAccepted, error)
TestEmailSend sends a generic test email to a specified email address

This can be used to validate an instance's SMTP configuration, and to debug any potential issues.

If an error is returned by the SMTP connection, this handler will return code 422 to indicate that the request could not be processed, and the SMTP error will be returned to the caller.

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 {
	AdminAccountAction(params *AdminAccountActionParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*AdminAccountActionOK, error)

	AdminAccountApprove(params *AdminAccountApproveParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*AdminAccountApproveOK, error)

	AdminAccountGet(params *AdminAccountGetParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*AdminAccountGetOK, error)

	AdminAccountReject(params *AdminAccountRejectParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*AdminAccountRejectOK, error)

	AdminAccountsGetV1(params *AdminAccountsGetV1Params, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*AdminAccountsGetV1OK, error)

	AdminAccountsGetV2(params *AdminAccountsGetV2Params, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*AdminAccountsGetV2OK, error)

	AdminReportGet(params *AdminReportGetParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*AdminReportGetOK, error)

	AdminReportResolve(params *AdminReportResolveParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*AdminReportResolveOK, error)

	AdminReports(params *AdminReportsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*AdminReportsOK, error)

	AdminRuleGet(params *AdminRuleGetParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*AdminRuleGetOK, error)

	AdminsRuleGet(params *AdminsRuleGetParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*AdminsRuleGetOK, error)

	DomainAllowCreate(params *DomainAllowCreateParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DomainAllowCreateOK, error)

	DomainAllowDelete(params *DomainAllowDeleteParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DomainAllowDeleteOK, error)

	DomainAllowGet(params *DomainAllowGetParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DomainAllowGetOK, error)

	DomainAllowsGet(params *DomainAllowsGetParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DomainAllowsGetOK, error)

	DomainBlockCreate(params *DomainBlockCreateParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DomainBlockCreateOK, error)

	DomainBlockDelete(params *DomainBlockDeleteParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DomainBlockDeleteOK, error)

	DomainBlockGet(params *DomainBlockGetParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DomainBlockGetOK, error)

	DomainBlocksGet(params *DomainBlocksGetParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DomainBlocksGetOK, error)

	DomainKeysExpire(params *DomainKeysExpireParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DomainKeysExpireAccepted, error)

	EmojiCategoriesGet(params *EmojiCategoriesGetParams, opts ...ClientOption) (*EmojiCategoriesGetOK, error)

	EmojiCreate(params *EmojiCreateParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*EmojiCreateOK, error)

	EmojiDelete(params *EmojiDeleteParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*EmojiDeleteOK, error)

	EmojiGet(params *EmojiGetParams, opts ...ClientOption) (*EmojiGetOK, error)

	EmojiUpdate(params *EmojiUpdateParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*EmojiUpdateOK, error)

	EmojisGet(params *EmojisGetParams, opts ...ClientOption) (*EmojisGetOK, error)

	HeaderFilterAllowCreate(params *HeaderFilterAllowCreateParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*HeaderFilterAllowCreateOK, error)

	HeaderFilterAllowDelete(params *HeaderFilterAllowDeleteParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*HeaderFilterAllowDeleteAccepted, error)

	HeaderFilterAllowGet(params *HeaderFilterAllowGetParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*HeaderFilterAllowGetOK, error)

	HeaderFilterAllowsGet(params *HeaderFilterAllowsGetParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*HeaderFilterAllowsGetOK, error)

	HeaderFilterBlockCreate(params *HeaderFilterBlockCreateParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*HeaderFilterBlockCreateOK, error)

	HeaderFilterBlockDelete(params *HeaderFilterBlockDeleteParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*HeaderFilterBlockDeleteAccepted, error)

	HeaderFilterBlockGet(params *HeaderFilterBlockGetParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*HeaderFilterBlockGetOK, error)

	HeaderFilterBlocksGet(params *HeaderFilterBlocksGetParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*HeaderFilterBlocksGetOK, error)

	MediaCleanup(params *MediaCleanupParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*MediaCleanupOK, error)

	MediaRefetch(params *MediaRefetchParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*MediaRefetchAccepted, error)

	RuleCreate(params *RuleCreateParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*RuleCreateOK, error)

	RuleDelete(params *RuleDeleteParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*RuleDeleteOK, error)

	RuleUpdate(params *RuleUpdateParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*RuleUpdateOK, error)

	TestEmailSend(params *TestEmailSendParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*TestEmailSendAccepted, 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 admin API client.

func NewClientWithBasicAuth

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

New creates a new admin 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 admin 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.

type DomainAllowCreateBadRequest

type DomainAllowCreateBadRequest struct {
}

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

bad request

func NewDomainAllowCreateBadRequest

func NewDomainAllowCreateBadRequest() *DomainAllowCreateBadRequest

NewDomainAllowCreateBadRequest creates a DomainAllowCreateBadRequest with default headers values

func (*DomainAllowCreateBadRequest) Code

func (o *DomainAllowCreateBadRequest) Code() int

Code gets the status code for the domain allow create bad request response

func (*DomainAllowCreateBadRequest) Error

func (*DomainAllowCreateBadRequest) IsClientError

func (o *DomainAllowCreateBadRequest) IsClientError() bool

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

func (*DomainAllowCreateBadRequest) IsCode

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

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

func (*DomainAllowCreateBadRequest) IsRedirect

func (o *DomainAllowCreateBadRequest) IsRedirect() bool

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

func (*DomainAllowCreateBadRequest) IsServerError

func (o *DomainAllowCreateBadRequest) IsServerError() bool

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

func (*DomainAllowCreateBadRequest) IsSuccess

func (o *DomainAllowCreateBadRequest) IsSuccess() bool

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

func (*DomainAllowCreateBadRequest) String

func (o *DomainAllowCreateBadRequest) String() string

type DomainAllowCreateConflict

type DomainAllowCreateConflict struct {
}

DomainAllowCreateConflict describes a response with status code 409, with default header values.

Conflict: There is already an admin action running that conflicts with this action. Check the error message in the response body for more information. This is a temporary error; it should be possible to process this action if you try again in a bit.

func NewDomainAllowCreateConflict

func NewDomainAllowCreateConflict() *DomainAllowCreateConflict

NewDomainAllowCreateConflict creates a DomainAllowCreateConflict with default headers values

func (*DomainAllowCreateConflict) Code

func (o *DomainAllowCreateConflict) Code() int

Code gets the status code for the domain allow create conflict response

func (*DomainAllowCreateConflict) Error

func (o *DomainAllowCreateConflict) Error() string

func (*DomainAllowCreateConflict) IsClientError

func (o *DomainAllowCreateConflict) IsClientError() bool

IsClientError returns true when this domain allow create conflict response has a 4xx status code

func (*DomainAllowCreateConflict) IsCode

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

IsCode returns true when this domain allow create conflict response a status code equal to that given

func (*DomainAllowCreateConflict) IsRedirect

func (o *DomainAllowCreateConflict) IsRedirect() bool

IsRedirect returns true when this domain allow create conflict response has a 3xx status code

func (*DomainAllowCreateConflict) IsServerError

func (o *DomainAllowCreateConflict) IsServerError() bool

IsServerError returns true when this domain allow create conflict response has a 5xx status code

func (*DomainAllowCreateConflict) IsSuccess

func (o *DomainAllowCreateConflict) IsSuccess() bool

IsSuccess returns true when this domain allow create conflict response has a 2xx status code

func (*DomainAllowCreateConflict) String

func (o *DomainAllowCreateConflict) String() string

type DomainAllowCreateForbidden

type DomainAllowCreateForbidden struct {
}

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

forbidden

func NewDomainAllowCreateForbidden

func NewDomainAllowCreateForbidden() *DomainAllowCreateForbidden

NewDomainAllowCreateForbidden creates a DomainAllowCreateForbidden with default headers values

func (*DomainAllowCreateForbidden) Code

func (o *DomainAllowCreateForbidden) Code() int

Code gets the status code for the domain allow create forbidden response

func (*DomainAllowCreateForbidden) Error

func (*DomainAllowCreateForbidden) IsClientError

func (o *DomainAllowCreateForbidden) IsClientError() bool

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

func (*DomainAllowCreateForbidden) IsCode

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

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

func (*DomainAllowCreateForbidden) IsRedirect

func (o *DomainAllowCreateForbidden) IsRedirect() bool

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

func (*DomainAllowCreateForbidden) IsServerError

func (o *DomainAllowCreateForbidden) IsServerError() bool

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

func (*DomainAllowCreateForbidden) IsSuccess

func (o *DomainAllowCreateForbidden) IsSuccess() bool

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

func (*DomainAllowCreateForbidden) String

func (o *DomainAllowCreateForbidden) String() string

type DomainAllowCreateInternalServerError

type DomainAllowCreateInternalServerError struct {
}

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

internal server error

func NewDomainAllowCreateInternalServerError

func NewDomainAllowCreateInternalServerError() *DomainAllowCreateInternalServerError

NewDomainAllowCreateInternalServerError creates a DomainAllowCreateInternalServerError with default headers values

func (*DomainAllowCreateInternalServerError) Code

Code gets the status code for the domain allow create internal server error response

func (*DomainAllowCreateInternalServerError) Error

func (*DomainAllowCreateInternalServerError) IsClientError

func (o *DomainAllowCreateInternalServerError) IsClientError() bool

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

func (*DomainAllowCreateInternalServerError) IsCode

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

func (*DomainAllowCreateInternalServerError) IsRedirect

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

func (*DomainAllowCreateInternalServerError) IsServerError

func (o *DomainAllowCreateInternalServerError) IsServerError() bool

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

func (*DomainAllowCreateInternalServerError) IsSuccess

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

func (*DomainAllowCreateInternalServerError) String

type DomainAllowCreateNotAcceptable

type DomainAllowCreateNotAcceptable struct {
}

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

not acceptable

func NewDomainAllowCreateNotAcceptable

func NewDomainAllowCreateNotAcceptable() *DomainAllowCreateNotAcceptable

NewDomainAllowCreateNotAcceptable creates a DomainAllowCreateNotAcceptable with default headers values

func (*DomainAllowCreateNotAcceptable) Code

Code gets the status code for the domain allow create not acceptable response

func (*DomainAllowCreateNotAcceptable) Error

func (*DomainAllowCreateNotAcceptable) IsClientError

func (o *DomainAllowCreateNotAcceptable) IsClientError() bool

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

func (*DomainAllowCreateNotAcceptable) IsCode

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

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

func (*DomainAllowCreateNotAcceptable) IsRedirect

func (o *DomainAllowCreateNotAcceptable) IsRedirect() bool

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

func (*DomainAllowCreateNotAcceptable) IsServerError

func (o *DomainAllowCreateNotAcceptable) IsServerError() bool

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

func (*DomainAllowCreateNotAcceptable) IsSuccess

func (o *DomainAllowCreateNotAcceptable) IsSuccess() bool

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

func (*DomainAllowCreateNotAcceptable) String

type DomainAllowCreateNotFound

type DomainAllowCreateNotFound struct {
}

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

not found

func NewDomainAllowCreateNotFound

func NewDomainAllowCreateNotFound() *DomainAllowCreateNotFound

NewDomainAllowCreateNotFound creates a DomainAllowCreateNotFound with default headers values

func (*DomainAllowCreateNotFound) Code

func (o *DomainAllowCreateNotFound) Code() int

Code gets the status code for the domain allow create not found response

func (*DomainAllowCreateNotFound) Error

func (o *DomainAllowCreateNotFound) Error() string

func (*DomainAllowCreateNotFound) IsClientError

func (o *DomainAllowCreateNotFound) IsClientError() bool

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

func (*DomainAllowCreateNotFound) IsCode

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

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

func (*DomainAllowCreateNotFound) IsRedirect

func (o *DomainAllowCreateNotFound) IsRedirect() bool

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

func (*DomainAllowCreateNotFound) IsServerError

func (o *DomainAllowCreateNotFound) IsServerError() bool

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

func (*DomainAllowCreateNotFound) IsSuccess

func (o *DomainAllowCreateNotFound) IsSuccess() bool

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

func (*DomainAllowCreateNotFound) String

func (o *DomainAllowCreateNotFound) String() string

type DomainAllowCreateOK

type DomainAllowCreateOK struct {
	Payload *models.DomainPermission
}

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

The newly created domain allow, if `import` != `true`. If a list has been imported, then an `array` of newly created domain allows will be returned instead.

func NewDomainAllowCreateOK

func NewDomainAllowCreateOK() *DomainAllowCreateOK

NewDomainAllowCreateOK creates a DomainAllowCreateOK with default headers values

func (*DomainAllowCreateOK) Code

func (o *DomainAllowCreateOK) Code() int

Code gets the status code for the domain allow create o k response

func (*DomainAllowCreateOK) Error

func (o *DomainAllowCreateOK) Error() string

func (*DomainAllowCreateOK) GetPayload

func (o *DomainAllowCreateOK) GetPayload() *models.DomainPermission

func (*DomainAllowCreateOK) IsClientError

func (o *DomainAllowCreateOK) IsClientError() bool

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

func (*DomainAllowCreateOK) IsCode

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

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

func (*DomainAllowCreateOK) IsRedirect

func (o *DomainAllowCreateOK) IsRedirect() bool

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

func (*DomainAllowCreateOK) IsServerError

func (o *DomainAllowCreateOK) IsServerError() bool

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

func (*DomainAllowCreateOK) IsSuccess

func (o *DomainAllowCreateOK) IsSuccess() bool

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

func (*DomainAllowCreateOK) String

func (o *DomainAllowCreateOK) String() string

type DomainAllowCreateParams

type DomainAllowCreateParams struct {

	/* Domain.

	   Single domain to allow. Used only if `import` is not `true`.
	*/
	Domain *string

	/* Domains.

	   JSON-formatted list of domain allows to import. This is only used if `import` is set to `true`.
	*/
	Domains runtime.NamedReadCloser

	/* Import.

	   Signal that a list of domain allows is being imported as a file. If set to `true`, then 'domains' must be present as a JSON-formatted file. If set to `false`, then `domains` will be ignored, and `domain` must be present.
	*/
	Import *bool

	/* Obfuscate.

	   Obfuscate the name of the domain when serving it publicly. Eg., `example.org` becomes something like `ex***e.org`. Used only if `import` is not `true`.
	*/
	Obfuscate *bool

	/* PrivateComment.

	   Private comment about this domain allow. Will only be shown to other admins, so this is a useful way of internally keeping track of why a certain domain ended up allowed. Used only if `import` is not `true`.
	*/
	PrivateComment *string

	/* PublicComment.

	   Public comment about this domain allow. This will be displayed alongside the domain allow if you choose to share allows. Used only if `import` is not `true`.
	*/
	PublicComment *string

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

DomainAllowCreateParams contains all the parameters to send to the API endpoint

for the domain allow create operation.

Typically these are written to a http.Request.

func NewDomainAllowCreateParams

func NewDomainAllowCreateParams() *DomainAllowCreateParams

NewDomainAllowCreateParams creates a new DomainAllowCreateParams 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 NewDomainAllowCreateParamsWithContext

func NewDomainAllowCreateParamsWithContext(ctx context.Context) *DomainAllowCreateParams

NewDomainAllowCreateParamsWithContext creates a new DomainAllowCreateParams object with the ability to set a context for a request.

func NewDomainAllowCreateParamsWithHTTPClient

func NewDomainAllowCreateParamsWithHTTPClient(client *http.Client) *DomainAllowCreateParams

NewDomainAllowCreateParamsWithHTTPClient creates a new DomainAllowCreateParams object with the ability to set a custom HTTPClient for a request.

func NewDomainAllowCreateParamsWithTimeout

func NewDomainAllowCreateParamsWithTimeout(timeout time.Duration) *DomainAllowCreateParams

NewDomainAllowCreateParamsWithTimeout creates a new DomainAllowCreateParams object with the ability to set a timeout on a request.

func (*DomainAllowCreateParams) SetContext

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

SetContext adds the context to the domain allow create params

func (*DomainAllowCreateParams) SetDefaults

func (o *DomainAllowCreateParams) SetDefaults()

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

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

func (*DomainAllowCreateParams) SetDomain

func (o *DomainAllowCreateParams) SetDomain(domain *string)

SetDomain adds the domain to the domain allow create params

func (*DomainAllowCreateParams) SetDomains

func (o *DomainAllowCreateParams) SetDomains(domains runtime.NamedReadCloser)

SetDomains adds the domains to the domain allow create params

func (*DomainAllowCreateParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the domain allow create params

func (*DomainAllowCreateParams) SetImport

func (o *DomainAllowCreateParams) SetImport(importVar *bool)

SetImport adds the import to the domain allow create params

func (*DomainAllowCreateParams) SetObfuscate

func (o *DomainAllowCreateParams) SetObfuscate(obfuscate *bool)

SetObfuscate adds the obfuscate to the domain allow create params

func (*DomainAllowCreateParams) SetPrivateComment

func (o *DomainAllowCreateParams) SetPrivateComment(privateComment *string)

SetPrivateComment adds the privateComment to the domain allow create params

func (*DomainAllowCreateParams) SetPublicComment

func (o *DomainAllowCreateParams) SetPublicComment(publicComment *string)

SetPublicComment adds the publicComment to the domain allow create params

func (*DomainAllowCreateParams) SetTimeout

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

SetTimeout adds the timeout to the domain allow create params

func (*DomainAllowCreateParams) WithContext

WithContext adds the context to the domain allow create params

func (*DomainAllowCreateParams) WithDefaults

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

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

func (*DomainAllowCreateParams) WithDomain

func (o *DomainAllowCreateParams) WithDomain(domain *string) *DomainAllowCreateParams

WithDomain adds the domain to the domain allow create params

func (*DomainAllowCreateParams) WithDomains

WithDomains adds the domains to the domain allow create params

func (*DomainAllowCreateParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the domain allow create params

func (*DomainAllowCreateParams) WithImport

func (o *DomainAllowCreateParams) WithImport(importVar *bool) *DomainAllowCreateParams

WithImport adds the importVar to the domain allow create params

func (*DomainAllowCreateParams) WithObfuscate

func (o *DomainAllowCreateParams) WithObfuscate(obfuscate *bool) *DomainAllowCreateParams

WithObfuscate adds the obfuscate to the domain allow create params

func (*DomainAllowCreateParams) WithPrivateComment

func (o *DomainAllowCreateParams) WithPrivateComment(privateComment *string) *DomainAllowCreateParams

WithPrivateComment adds the privateComment to the domain allow create params

func (*DomainAllowCreateParams) WithPublicComment

func (o *DomainAllowCreateParams) WithPublicComment(publicComment *string) *DomainAllowCreateParams

WithPublicComment adds the publicComment to the domain allow create params

func (*DomainAllowCreateParams) WithTimeout

WithTimeout adds the timeout to the domain allow create params

func (*DomainAllowCreateParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type DomainAllowCreateReader

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

DomainAllowCreateReader is a Reader for the DomainAllowCreate structure.

func (*DomainAllowCreateReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type DomainAllowCreateUnauthorized

type DomainAllowCreateUnauthorized struct {
}

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

unauthorized

func NewDomainAllowCreateUnauthorized

func NewDomainAllowCreateUnauthorized() *DomainAllowCreateUnauthorized

NewDomainAllowCreateUnauthorized creates a DomainAllowCreateUnauthorized with default headers values

func (*DomainAllowCreateUnauthorized) Code

Code gets the status code for the domain allow create unauthorized response

func (*DomainAllowCreateUnauthorized) Error

func (*DomainAllowCreateUnauthorized) IsClientError

func (o *DomainAllowCreateUnauthorized) IsClientError() bool

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

func (*DomainAllowCreateUnauthorized) IsCode

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

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

func (*DomainAllowCreateUnauthorized) IsRedirect

func (o *DomainAllowCreateUnauthorized) IsRedirect() bool

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

func (*DomainAllowCreateUnauthorized) IsServerError

func (o *DomainAllowCreateUnauthorized) IsServerError() bool

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

func (*DomainAllowCreateUnauthorized) IsSuccess

func (o *DomainAllowCreateUnauthorized) IsSuccess() bool

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

func (*DomainAllowCreateUnauthorized) String

type DomainAllowDeleteBadRequest

type DomainAllowDeleteBadRequest struct {
}

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

bad request

func NewDomainAllowDeleteBadRequest

func NewDomainAllowDeleteBadRequest() *DomainAllowDeleteBadRequest

NewDomainAllowDeleteBadRequest creates a DomainAllowDeleteBadRequest with default headers values

func (*DomainAllowDeleteBadRequest) Code

func (o *DomainAllowDeleteBadRequest) Code() int

Code gets the status code for the domain allow delete bad request response

func (*DomainAllowDeleteBadRequest) Error

func (*DomainAllowDeleteBadRequest) IsClientError

func (o *DomainAllowDeleteBadRequest) IsClientError() bool

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

func (*DomainAllowDeleteBadRequest) IsCode

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

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

func (*DomainAllowDeleteBadRequest) IsRedirect

func (o *DomainAllowDeleteBadRequest) IsRedirect() bool

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

func (*DomainAllowDeleteBadRequest) IsServerError

func (o *DomainAllowDeleteBadRequest) IsServerError() bool

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

func (*DomainAllowDeleteBadRequest) IsSuccess

func (o *DomainAllowDeleteBadRequest) IsSuccess() bool

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

func (*DomainAllowDeleteBadRequest) String

func (o *DomainAllowDeleteBadRequest) String() string

type DomainAllowDeleteConflict

type DomainAllowDeleteConflict struct {
}

DomainAllowDeleteConflict describes a response with status code 409, with default header values.

Conflict: There is already an admin action running that conflicts with this action. Check the error message in the response body for more information. This is a temporary error; it should be possible to process this action if you try again in a bit.

func NewDomainAllowDeleteConflict

func NewDomainAllowDeleteConflict() *DomainAllowDeleteConflict

NewDomainAllowDeleteConflict creates a DomainAllowDeleteConflict with default headers values

func (*DomainAllowDeleteConflict) Code

func (o *DomainAllowDeleteConflict) Code() int

Code gets the status code for the domain allow delete conflict response

func (*DomainAllowDeleteConflict) Error

func (o *DomainAllowDeleteConflict) Error() string

func (*DomainAllowDeleteConflict) IsClientError

func (o *DomainAllowDeleteConflict) IsClientError() bool

IsClientError returns true when this domain allow delete conflict response has a 4xx status code

func (*DomainAllowDeleteConflict) IsCode

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

IsCode returns true when this domain allow delete conflict response a status code equal to that given

func (*DomainAllowDeleteConflict) IsRedirect

func (o *DomainAllowDeleteConflict) IsRedirect() bool

IsRedirect returns true when this domain allow delete conflict response has a 3xx status code

func (*DomainAllowDeleteConflict) IsServerError

func (o *DomainAllowDeleteConflict) IsServerError() bool

IsServerError returns true when this domain allow delete conflict response has a 5xx status code

func (*DomainAllowDeleteConflict) IsSuccess

func (o *DomainAllowDeleteConflict) IsSuccess() bool

IsSuccess returns true when this domain allow delete conflict response has a 2xx status code

func (*DomainAllowDeleteConflict) String

func (o *DomainAllowDeleteConflict) String() string

type DomainAllowDeleteForbidden

type DomainAllowDeleteForbidden struct {
}

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

forbidden

func NewDomainAllowDeleteForbidden

func NewDomainAllowDeleteForbidden() *DomainAllowDeleteForbidden

NewDomainAllowDeleteForbidden creates a DomainAllowDeleteForbidden with default headers values

func (*DomainAllowDeleteForbidden) Code

func (o *DomainAllowDeleteForbidden) Code() int

Code gets the status code for the domain allow delete forbidden response

func (*DomainAllowDeleteForbidden) Error

func (*DomainAllowDeleteForbidden) IsClientError

func (o *DomainAllowDeleteForbidden) IsClientError() bool

IsClientError returns true when this domain allow delete forbidden response has a 4xx status code

func (*DomainAllowDeleteForbidden) IsCode

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

IsCode returns true when this domain allow delete forbidden response a status code equal to that given

func (*DomainAllowDeleteForbidden) IsRedirect

func (o *DomainAllowDeleteForbidden) IsRedirect() bool

IsRedirect returns true when this domain allow delete forbidden response has a 3xx status code

func (*DomainAllowDeleteForbidden) IsServerError

func (o *DomainAllowDeleteForbidden) IsServerError() bool

IsServerError returns true when this domain allow delete forbidden response has a 5xx status code

func (*DomainAllowDeleteForbidden) IsSuccess

func (o *DomainAllowDeleteForbidden) IsSuccess() bool

IsSuccess returns true when this domain allow delete forbidden response has a 2xx status code

func (*DomainAllowDeleteForbidden) String

func (o *DomainAllowDeleteForbidden) String() string

type DomainAllowDeleteInternalServerError

type DomainAllowDeleteInternalServerError struct {
}

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

internal server error

func NewDomainAllowDeleteInternalServerError

func NewDomainAllowDeleteInternalServerError() *DomainAllowDeleteInternalServerError

NewDomainAllowDeleteInternalServerError creates a DomainAllowDeleteInternalServerError with default headers values

func (*DomainAllowDeleteInternalServerError) Code

Code gets the status code for the domain allow delete internal server error response

func (*DomainAllowDeleteInternalServerError) Error

func (*DomainAllowDeleteInternalServerError) IsClientError

func (o *DomainAllowDeleteInternalServerError) IsClientError() bool

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

func (*DomainAllowDeleteInternalServerError) IsCode

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

func (*DomainAllowDeleteInternalServerError) IsRedirect

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

func (*DomainAllowDeleteInternalServerError) IsServerError

func (o *DomainAllowDeleteInternalServerError) IsServerError() bool

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

func (*DomainAllowDeleteInternalServerError) IsSuccess

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

func (*DomainAllowDeleteInternalServerError) String

type DomainAllowDeleteNotAcceptable

type DomainAllowDeleteNotAcceptable struct {
}

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

not acceptable

func NewDomainAllowDeleteNotAcceptable

func NewDomainAllowDeleteNotAcceptable() *DomainAllowDeleteNotAcceptable

NewDomainAllowDeleteNotAcceptable creates a DomainAllowDeleteNotAcceptable with default headers values

func (*DomainAllowDeleteNotAcceptable) Code

Code gets the status code for the domain allow delete not acceptable response

func (*DomainAllowDeleteNotAcceptable) Error

func (*DomainAllowDeleteNotAcceptable) IsClientError

func (o *DomainAllowDeleteNotAcceptable) IsClientError() bool

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

func (*DomainAllowDeleteNotAcceptable) IsCode

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

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

func (*DomainAllowDeleteNotAcceptable) IsRedirect

func (o *DomainAllowDeleteNotAcceptable) IsRedirect() bool

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

func (*DomainAllowDeleteNotAcceptable) IsServerError

func (o *DomainAllowDeleteNotAcceptable) IsServerError() bool

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

func (*DomainAllowDeleteNotAcceptable) IsSuccess

func (o *DomainAllowDeleteNotAcceptable) IsSuccess() bool

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

func (*DomainAllowDeleteNotAcceptable) String

type DomainAllowDeleteNotFound

type DomainAllowDeleteNotFound struct {
}

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

not found

func NewDomainAllowDeleteNotFound

func NewDomainAllowDeleteNotFound() *DomainAllowDeleteNotFound

NewDomainAllowDeleteNotFound creates a DomainAllowDeleteNotFound with default headers values

func (*DomainAllowDeleteNotFound) Code

func (o *DomainAllowDeleteNotFound) Code() int

Code gets the status code for the domain allow delete not found response

func (*DomainAllowDeleteNotFound) Error

func (o *DomainAllowDeleteNotFound) Error() string

func (*DomainAllowDeleteNotFound) IsClientError

func (o *DomainAllowDeleteNotFound) IsClientError() bool

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

func (*DomainAllowDeleteNotFound) IsCode

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

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

func (*DomainAllowDeleteNotFound) IsRedirect

func (o *DomainAllowDeleteNotFound) IsRedirect() bool

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

func (*DomainAllowDeleteNotFound) IsServerError

func (o *DomainAllowDeleteNotFound) IsServerError() bool

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

func (*DomainAllowDeleteNotFound) IsSuccess

func (o *DomainAllowDeleteNotFound) IsSuccess() bool

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

func (*DomainAllowDeleteNotFound) String

func (o *DomainAllowDeleteNotFound) String() string

type DomainAllowDeleteOK

type DomainAllowDeleteOK struct {
	Payload *models.DomainPermission
}

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

The domain allow that was just deleted.

func NewDomainAllowDeleteOK

func NewDomainAllowDeleteOK() *DomainAllowDeleteOK

NewDomainAllowDeleteOK creates a DomainAllowDeleteOK with default headers values

func (*DomainAllowDeleteOK) Code

func (o *DomainAllowDeleteOK) Code() int

Code gets the status code for the domain allow delete o k response

func (*DomainAllowDeleteOK) Error

func (o *DomainAllowDeleteOK) Error() string

func (*DomainAllowDeleteOK) GetPayload

func (o *DomainAllowDeleteOK) GetPayload() *models.DomainPermission

func (*DomainAllowDeleteOK) IsClientError

func (o *DomainAllowDeleteOK) IsClientError() bool

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

func (*DomainAllowDeleteOK) IsCode

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

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

func (*DomainAllowDeleteOK) IsRedirect

func (o *DomainAllowDeleteOK) IsRedirect() bool

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

func (*DomainAllowDeleteOK) IsServerError

func (o *DomainAllowDeleteOK) IsServerError() bool

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

func (*DomainAllowDeleteOK) IsSuccess

func (o *DomainAllowDeleteOK) IsSuccess() bool

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

func (*DomainAllowDeleteOK) String

func (o *DomainAllowDeleteOK) String() string

type DomainAllowDeleteParams

type DomainAllowDeleteParams struct {

	/* ID.

	   The id of the domain allow.
	*/
	ID string

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

DomainAllowDeleteParams contains all the parameters to send to the API endpoint

for the domain allow delete operation.

Typically these are written to a http.Request.

func NewDomainAllowDeleteParams

func NewDomainAllowDeleteParams() *DomainAllowDeleteParams

NewDomainAllowDeleteParams creates a new DomainAllowDeleteParams 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 NewDomainAllowDeleteParamsWithContext

func NewDomainAllowDeleteParamsWithContext(ctx context.Context) *DomainAllowDeleteParams

NewDomainAllowDeleteParamsWithContext creates a new DomainAllowDeleteParams object with the ability to set a context for a request.

func NewDomainAllowDeleteParamsWithHTTPClient

func NewDomainAllowDeleteParamsWithHTTPClient(client *http.Client) *DomainAllowDeleteParams

NewDomainAllowDeleteParamsWithHTTPClient creates a new DomainAllowDeleteParams object with the ability to set a custom HTTPClient for a request.

func NewDomainAllowDeleteParamsWithTimeout

func NewDomainAllowDeleteParamsWithTimeout(timeout time.Duration) *DomainAllowDeleteParams

NewDomainAllowDeleteParamsWithTimeout creates a new DomainAllowDeleteParams object with the ability to set a timeout on a request.

func (*DomainAllowDeleteParams) SetContext

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

SetContext adds the context to the domain allow delete params

func (*DomainAllowDeleteParams) SetDefaults

func (o *DomainAllowDeleteParams) SetDefaults()

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

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

func (*DomainAllowDeleteParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the domain allow delete params

func (*DomainAllowDeleteParams) SetID

func (o *DomainAllowDeleteParams) SetID(id string)

SetID adds the id to the domain allow delete params

func (*DomainAllowDeleteParams) SetTimeout

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

SetTimeout adds the timeout to the domain allow delete params

func (*DomainAllowDeleteParams) WithContext

WithContext adds the context to the domain allow delete params

func (*DomainAllowDeleteParams) WithDefaults

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

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

func (*DomainAllowDeleteParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the domain allow delete params

func (*DomainAllowDeleteParams) WithID

WithID adds the id to the domain allow delete params

func (*DomainAllowDeleteParams) WithTimeout

WithTimeout adds the timeout to the domain allow delete params

func (*DomainAllowDeleteParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type DomainAllowDeleteReader

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

DomainAllowDeleteReader is a Reader for the DomainAllowDelete structure.

func (*DomainAllowDeleteReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type DomainAllowDeleteUnauthorized

type DomainAllowDeleteUnauthorized struct {
}

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

unauthorized

func NewDomainAllowDeleteUnauthorized

func NewDomainAllowDeleteUnauthorized() *DomainAllowDeleteUnauthorized

NewDomainAllowDeleteUnauthorized creates a DomainAllowDeleteUnauthorized with default headers values

func (*DomainAllowDeleteUnauthorized) Code

Code gets the status code for the domain allow delete unauthorized response

func (*DomainAllowDeleteUnauthorized) Error

func (*DomainAllowDeleteUnauthorized) IsClientError

func (o *DomainAllowDeleteUnauthorized) IsClientError() bool

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

func (*DomainAllowDeleteUnauthorized) IsCode

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

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

func (*DomainAllowDeleteUnauthorized) IsRedirect

func (o *DomainAllowDeleteUnauthorized) IsRedirect() bool

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

func (*DomainAllowDeleteUnauthorized) IsServerError

func (o *DomainAllowDeleteUnauthorized) IsServerError() bool

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

func (*DomainAllowDeleteUnauthorized) IsSuccess

func (o *DomainAllowDeleteUnauthorized) IsSuccess() bool

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

func (*DomainAllowDeleteUnauthorized) String

type DomainAllowGetBadRequest

type DomainAllowGetBadRequest struct {
}

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

bad request

func NewDomainAllowGetBadRequest

func NewDomainAllowGetBadRequest() *DomainAllowGetBadRequest

NewDomainAllowGetBadRequest creates a DomainAllowGetBadRequest with default headers values

func (*DomainAllowGetBadRequest) Code

func (o *DomainAllowGetBadRequest) Code() int

Code gets the status code for the domain allow get bad request response

func (*DomainAllowGetBadRequest) Error

func (o *DomainAllowGetBadRequest) Error() string

func (*DomainAllowGetBadRequest) IsClientError

func (o *DomainAllowGetBadRequest) IsClientError() bool

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

func (*DomainAllowGetBadRequest) IsCode

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

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

func (*DomainAllowGetBadRequest) IsRedirect

func (o *DomainAllowGetBadRequest) IsRedirect() bool

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

func (*DomainAllowGetBadRequest) IsServerError

func (o *DomainAllowGetBadRequest) IsServerError() bool

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

func (*DomainAllowGetBadRequest) IsSuccess

func (o *DomainAllowGetBadRequest) IsSuccess() bool

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

func (*DomainAllowGetBadRequest) String

func (o *DomainAllowGetBadRequest) String() string

type DomainAllowGetForbidden

type DomainAllowGetForbidden struct {
}

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

forbidden

func NewDomainAllowGetForbidden

func NewDomainAllowGetForbidden() *DomainAllowGetForbidden

NewDomainAllowGetForbidden creates a DomainAllowGetForbidden with default headers values

func (*DomainAllowGetForbidden) Code

func (o *DomainAllowGetForbidden) Code() int

Code gets the status code for the domain allow get forbidden response

func (*DomainAllowGetForbidden) Error

func (o *DomainAllowGetForbidden) Error() string

func (*DomainAllowGetForbidden) IsClientError

func (o *DomainAllowGetForbidden) IsClientError() bool

IsClientError returns true when this domain allow get forbidden response has a 4xx status code

func (*DomainAllowGetForbidden) IsCode

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

IsCode returns true when this domain allow get forbidden response a status code equal to that given

func (*DomainAllowGetForbidden) IsRedirect

func (o *DomainAllowGetForbidden) IsRedirect() bool

IsRedirect returns true when this domain allow get forbidden response has a 3xx status code

func (*DomainAllowGetForbidden) IsServerError

func (o *DomainAllowGetForbidden) IsServerError() bool

IsServerError returns true when this domain allow get forbidden response has a 5xx status code

func (*DomainAllowGetForbidden) IsSuccess

func (o *DomainAllowGetForbidden) IsSuccess() bool

IsSuccess returns true when this domain allow get forbidden response has a 2xx status code

func (*DomainAllowGetForbidden) String

func (o *DomainAllowGetForbidden) String() string

type DomainAllowGetInternalServerError

type DomainAllowGetInternalServerError struct {
}

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

internal server error

func NewDomainAllowGetInternalServerError

func NewDomainAllowGetInternalServerError() *DomainAllowGetInternalServerError

NewDomainAllowGetInternalServerError creates a DomainAllowGetInternalServerError with default headers values

func (*DomainAllowGetInternalServerError) Code

Code gets the status code for the domain allow get internal server error response

func (*DomainAllowGetInternalServerError) Error

func (*DomainAllowGetInternalServerError) IsClientError

func (o *DomainAllowGetInternalServerError) IsClientError() bool

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

func (*DomainAllowGetInternalServerError) IsCode

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

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

func (*DomainAllowGetInternalServerError) IsRedirect

func (o *DomainAllowGetInternalServerError) IsRedirect() bool

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

func (*DomainAllowGetInternalServerError) IsServerError

func (o *DomainAllowGetInternalServerError) IsServerError() bool

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

func (*DomainAllowGetInternalServerError) IsSuccess

func (o *DomainAllowGetInternalServerError) IsSuccess() bool

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

func (*DomainAllowGetInternalServerError) String

type DomainAllowGetNotAcceptable

type DomainAllowGetNotAcceptable struct {
}

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

not acceptable

func NewDomainAllowGetNotAcceptable

func NewDomainAllowGetNotAcceptable() *DomainAllowGetNotAcceptable

NewDomainAllowGetNotAcceptable creates a DomainAllowGetNotAcceptable with default headers values

func (*DomainAllowGetNotAcceptable) Code

func (o *DomainAllowGetNotAcceptable) Code() int

Code gets the status code for the domain allow get not acceptable response

func (*DomainAllowGetNotAcceptable) Error

func (*DomainAllowGetNotAcceptable) IsClientError

func (o *DomainAllowGetNotAcceptable) IsClientError() bool

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

func (*DomainAllowGetNotAcceptable) IsCode

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

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

func (*DomainAllowGetNotAcceptable) IsRedirect

func (o *DomainAllowGetNotAcceptable) IsRedirect() bool

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

func (*DomainAllowGetNotAcceptable) IsServerError

func (o *DomainAllowGetNotAcceptable) IsServerError() bool

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

func (*DomainAllowGetNotAcceptable) IsSuccess

func (o *DomainAllowGetNotAcceptable) IsSuccess() bool

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

func (*DomainAllowGetNotAcceptable) String

func (o *DomainAllowGetNotAcceptable) String() string

type DomainAllowGetNotFound

type DomainAllowGetNotFound struct {
}

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

not found

func NewDomainAllowGetNotFound

func NewDomainAllowGetNotFound() *DomainAllowGetNotFound

NewDomainAllowGetNotFound creates a DomainAllowGetNotFound with default headers values

func (*DomainAllowGetNotFound) Code

func (o *DomainAllowGetNotFound) Code() int

Code gets the status code for the domain allow get not found response

func (*DomainAllowGetNotFound) Error

func (o *DomainAllowGetNotFound) Error() string

func (*DomainAllowGetNotFound) IsClientError

func (o *DomainAllowGetNotFound) IsClientError() bool

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

func (*DomainAllowGetNotFound) IsCode

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

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

func (*DomainAllowGetNotFound) IsRedirect

func (o *DomainAllowGetNotFound) IsRedirect() bool

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

func (*DomainAllowGetNotFound) IsServerError

func (o *DomainAllowGetNotFound) IsServerError() bool

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

func (*DomainAllowGetNotFound) IsSuccess

func (o *DomainAllowGetNotFound) IsSuccess() bool

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

func (*DomainAllowGetNotFound) String

func (o *DomainAllowGetNotFound) String() string

type DomainAllowGetOK

type DomainAllowGetOK struct {
	Payload *models.DomainPermission
}

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

The requested domain allow.

func NewDomainAllowGetOK

func NewDomainAllowGetOK() *DomainAllowGetOK

NewDomainAllowGetOK creates a DomainAllowGetOK with default headers values

func (*DomainAllowGetOK) Code

func (o *DomainAllowGetOK) Code() int

Code gets the status code for the domain allow get o k response

func (*DomainAllowGetOK) Error

func (o *DomainAllowGetOK) Error() string

func (*DomainAllowGetOK) GetPayload

func (o *DomainAllowGetOK) GetPayload() *models.DomainPermission

func (*DomainAllowGetOK) IsClientError

func (o *DomainAllowGetOK) IsClientError() bool

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

func (*DomainAllowGetOK) IsCode

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

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

func (*DomainAllowGetOK) IsRedirect

func (o *DomainAllowGetOK) IsRedirect() bool

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

func (*DomainAllowGetOK) IsServerError

func (o *DomainAllowGetOK) IsServerError() bool

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

func (*DomainAllowGetOK) IsSuccess

func (o *DomainAllowGetOK) IsSuccess() bool

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

func (*DomainAllowGetOK) String

func (o *DomainAllowGetOK) String() string

type DomainAllowGetParams

type DomainAllowGetParams struct {

	/* ID.

	   The id of the domain allow.
	*/
	ID string

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

DomainAllowGetParams contains all the parameters to send to the API endpoint

for the domain allow get operation.

Typically these are written to a http.Request.

func NewDomainAllowGetParams

func NewDomainAllowGetParams() *DomainAllowGetParams

NewDomainAllowGetParams creates a new DomainAllowGetParams 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 NewDomainAllowGetParamsWithContext

func NewDomainAllowGetParamsWithContext(ctx context.Context) *DomainAllowGetParams

NewDomainAllowGetParamsWithContext creates a new DomainAllowGetParams object with the ability to set a context for a request.

func NewDomainAllowGetParamsWithHTTPClient

func NewDomainAllowGetParamsWithHTTPClient(client *http.Client) *DomainAllowGetParams

NewDomainAllowGetParamsWithHTTPClient creates a new DomainAllowGetParams object with the ability to set a custom HTTPClient for a request.

func NewDomainAllowGetParamsWithTimeout

func NewDomainAllowGetParamsWithTimeout(timeout time.Duration) *DomainAllowGetParams

NewDomainAllowGetParamsWithTimeout creates a new DomainAllowGetParams object with the ability to set a timeout on a request.

func (*DomainAllowGetParams) SetContext

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

SetContext adds the context to the domain allow get params

func (*DomainAllowGetParams) SetDefaults

func (o *DomainAllowGetParams) SetDefaults()

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

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

func (*DomainAllowGetParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the domain allow get params

func (*DomainAllowGetParams) SetID

func (o *DomainAllowGetParams) SetID(id string)

SetID adds the id to the domain allow get params

func (*DomainAllowGetParams) SetTimeout

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

SetTimeout adds the timeout to the domain allow get params

func (*DomainAllowGetParams) WithContext

WithContext adds the context to the domain allow get params

func (*DomainAllowGetParams) WithDefaults

func (o *DomainAllowGetParams) WithDefaults() *DomainAllowGetParams

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

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

func (*DomainAllowGetParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the domain allow get params

func (*DomainAllowGetParams) WithID

WithID adds the id to the domain allow get params

func (*DomainAllowGetParams) WithTimeout

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

WithTimeout adds the timeout to the domain allow get params

func (*DomainAllowGetParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type DomainAllowGetReader

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

DomainAllowGetReader is a Reader for the DomainAllowGet structure.

func (*DomainAllowGetReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type DomainAllowGetUnauthorized

type DomainAllowGetUnauthorized struct {
}

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

unauthorized

func NewDomainAllowGetUnauthorized

func NewDomainAllowGetUnauthorized() *DomainAllowGetUnauthorized

NewDomainAllowGetUnauthorized creates a DomainAllowGetUnauthorized with default headers values

func (*DomainAllowGetUnauthorized) Code

func (o *DomainAllowGetUnauthorized) Code() int

Code gets the status code for the domain allow get unauthorized response

func (*DomainAllowGetUnauthorized) Error

func (*DomainAllowGetUnauthorized) IsClientError

func (o *DomainAllowGetUnauthorized) IsClientError() bool

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

func (*DomainAllowGetUnauthorized) IsCode

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

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

func (*DomainAllowGetUnauthorized) IsRedirect

func (o *DomainAllowGetUnauthorized) IsRedirect() bool

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

func (*DomainAllowGetUnauthorized) IsServerError

func (o *DomainAllowGetUnauthorized) IsServerError() bool

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

func (*DomainAllowGetUnauthorized) IsSuccess

func (o *DomainAllowGetUnauthorized) IsSuccess() bool

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

func (*DomainAllowGetUnauthorized) String

func (o *DomainAllowGetUnauthorized) String() string

type DomainAllowsGetBadRequest

type DomainAllowsGetBadRequest struct {
}

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

bad request

func NewDomainAllowsGetBadRequest

func NewDomainAllowsGetBadRequest() *DomainAllowsGetBadRequest

NewDomainAllowsGetBadRequest creates a DomainAllowsGetBadRequest with default headers values

func (*DomainAllowsGetBadRequest) Code

func (o *DomainAllowsGetBadRequest) Code() int

Code gets the status code for the domain allows get bad request response

func (*DomainAllowsGetBadRequest) Error

func (o *DomainAllowsGetBadRequest) Error() string

func (*DomainAllowsGetBadRequest) IsClientError

func (o *DomainAllowsGetBadRequest) IsClientError() bool

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

func (*DomainAllowsGetBadRequest) IsCode

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

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

func (*DomainAllowsGetBadRequest) IsRedirect

func (o *DomainAllowsGetBadRequest) IsRedirect() bool

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

func (*DomainAllowsGetBadRequest) IsServerError

func (o *DomainAllowsGetBadRequest) IsServerError() bool

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

func (*DomainAllowsGetBadRequest) IsSuccess

func (o *DomainAllowsGetBadRequest) IsSuccess() bool

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

func (*DomainAllowsGetBadRequest) String

func (o *DomainAllowsGetBadRequest) String() string

type DomainAllowsGetForbidden

type DomainAllowsGetForbidden struct {
}

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

forbidden

func NewDomainAllowsGetForbidden

func NewDomainAllowsGetForbidden() *DomainAllowsGetForbidden

NewDomainAllowsGetForbidden creates a DomainAllowsGetForbidden with default headers values

func (*DomainAllowsGetForbidden) Code

func (o *DomainAllowsGetForbidden) Code() int

Code gets the status code for the domain allows get forbidden response

func (*DomainAllowsGetForbidden) Error

func (o *DomainAllowsGetForbidden) Error() string

func (*DomainAllowsGetForbidden) IsClientError

func (o *DomainAllowsGetForbidden) IsClientError() bool

IsClientError returns true when this domain allows get forbidden response has a 4xx status code

func (*DomainAllowsGetForbidden) IsCode

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

IsCode returns true when this domain allows get forbidden response a status code equal to that given

func (*DomainAllowsGetForbidden) IsRedirect

func (o *DomainAllowsGetForbidden) IsRedirect() bool

IsRedirect returns true when this domain allows get forbidden response has a 3xx status code

func (*DomainAllowsGetForbidden) IsServerError

func (o *DomainAllowsGetForbidden) IsServerError() bool

IsServerError returns true when this domain allows get forbidden response has a 5xx status code

func (*DomainAllowsGetForbidden) IsSuccess

func (o *DomainAllowsGetForbidden) IsSuccess() bool

IsSuccess returns true when this domain allows get forbidden response has a 2xx status code

func (*DomainAllowsGetForbidden) String

func (o *DomainAllowsGetForbidden) String() string

type DomainAllowsGetInternalServerError

type DomainAllowsGetInternalServerError struct {
}

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

internal server error

func NewDomainAllowsGetInternalServerError

func NewDomainAllowsGetInternalServerError() *DomainAllowsGetInternalServerError

NewDomainAllowsGetInternalServerError creates a DomainAllowsGetInternalServerError with default headers values

func (*DomainAllowsGetInternalServerError) Code

Code gets the status code for the domain allows get internal server error response

func (*DomainAllowsGetInternalServerError) Error

func (*DomainAllowsGetInternalServerError) IsClientError

func (o *DomainAllowsGetInternalServerError) IsClientError() bool

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

func (*DomainAllowsGetInternalServerError) IsCode

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

func (*DomainAllowsGetInternalServerError) IsRedirect

func (o *DomainAllowsGetInternalServerError) IsRedirect() bool

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

func (*DomainAllowsGetInternalServerError) IsServerError

func (o *DomainAllowsGetInternalServerError) IsServerError() bool

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

func (*DomainAllowsGetInternalServerError) IsSuccess

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

func (*DomainAllowsGetInternalServerError) String

type DomainAllowsGetNotAcceptable

type DomainAllowsGetNotAcceptable struct {
}

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

not acceptable

func NewDomainAllowsGetNotAcceptable

func NewDomainAllowsGetNotAcceptable() *DomainAllowsGetNotAcceptable

NewDomainAllowsGetNotAcceptable creates a DomainAllowsGetNotAcceptable with default headers values

func (*DomainAllowsGetNotAcceptable) Code

Code gets the status code for the domain allows get not acceptable response

func (*DomainAllowsGetNotAcceptable) Error

func (*DomainAllowsGetNotAcceptable) IsClientError

func (o *DomainAllowsGetNotAcceptable) IsClientError() bool

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

func (*DomainAllowsGetNotAcceptable) IsCode

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

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

func (*DomainAllowsGetNotAcceptable) IsRedirect

func (o *DomainAllowsGetNotAcceptable) IsRedirect() bool

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

func (*DomainAllowsGetNotAcceptable) IsServerError

func (o *DomainAllowsGetNotAcceptable) IsServerError() bool

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

func (*DomainAllowsGetNotAcceptable) IsSuccess

func (o *DomainAllowsGetNotAcceptable) IsSuccess() bool

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

func (*DomainAllowsGetNotAcceptable) String

type DomainAllowsGetNotFound

type DomainAllowsGetNotFound struct {
}

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

not found

func NewDomainAllowsGetNotFound

func NewDomainAllowsGetNotFound() *DomainAllowsGetNotFound

NewDomainAllowsGetNotFound creates a DomainAllowsGetNotFound with default headers values

func (*DomainAllowsGetNotFound) Code

func (o *DomainAllowsGetNotFound) Code() int

Code gets the status code for the domain allows get not found response

func (*DomainAllowsGetNotFound) Error

func (o *DomainAllowsGetNotFound) Error() string

func (*DomainAllowsGetNotFound) IsClientError

func (o *DomainAllowsGetNotFound) IsClientError() bool

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

func (*DomainAllowsGetNotFound) IsCode

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

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

func (*DomainAllowsGetNotFound) IsRedirect

func (o *DomainAllowsGetNotFound) IsRedirect() bool

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

func (*DomainAllowsGetNotFound) IsServerError

func (o *DomainAllowsGetNotFound) IsServerError() bool

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

func (*DomainAllowsGetNotFound) IsSuccess

func (o *DomainAllowsGetNotFound) IsSuccess() bool

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

func (*DomainAllowsGetNotFound) String

func (o *DomainAllowsGetNotFound) String() string

type DomainAllowsGetOK

type DomainAllowsGetOK struct {
	Payload []*models.DomainPermission
}

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

All domain allows currently in place.

func NewDomainAllowsGetOK

func NewDomainAllowsGetOK() *DomainAllowsGetOK

NewDomainAllowsGetOK creates a DomainAllowsGetOK with default headers values

func (*DomainAllowsGetOK) Code

func (o *DomainAllowsGetOK) Code() int

Code gets the status code for the domain allows get o k response

func (*DomainAllowsGetOK) Error

func (o *DomainAllowsGetOK) Error() string

func (*DomainAllowsGetOK) GetPayload

func (o *DomainAllowsGetOK) GetPayload() []*models.DomainPermission

func (*DomainAllowsGetOK) IsClientError

func (o *DomainAllowsGetOK) IsClientError() bool

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

func (*DomainAllowsGetOK) IsCode

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

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

func (*DomainAllowsGetOK) IsRedirect

func (o *DomainAllowsGetOK) IsRedirect() bool

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

func (*DomainAllowsGetOK) IsServerError

func (o *DomainAllowsGetOK) IsServerError() bool

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

func (*DomainAllowsGetOK) IsSuccess

func (o *DomainAllowsGetOK) IsSuccess() bool

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

func (*DomainAllowsGetOK) String

func (o *DomainAllowsGetOK) String() string

type DomainAllowsGetParams

type DomainAllowsGetParams struct {

	/* Export.

	   If set to `true`, then each entry in the returned list of domain allows will only consist of the fields `domain` and `public_comment`. This is perfect for when you want to save and share a list of all the domains you have allowed on your instance, so that someone else can easily import them, but you don't want them to see the database IDs of your allows, or private comments etc.
	*/
	Export *bool

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

DomainAllowsGetParams contains all the parameters to send to the API endpoint

for the domain allows get operation.

Typically these are written to a http.Request.

func NewDomainAllowsGetParams

func NewDomainAllowsGetParams() *DomainAllowsGetParams

NewDomainAllowsGetParams creates a new DomainAllowsGetParams 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 NewDomainAllowsGetParamsWithContext

func NewDomainAllowsGetParamsWithContext(ctx context.Context) *DomainAllowsGetParams

NewDomainAllowsGetParamsWithContext creates a new DomainAllowsGetParams object with the ability to set a context for a request.

func NewDomainAllowsGetParamsWithHTTPClient

func NewDomainAllowsGetParamsWithHTTPClient(client *http.Client) *DomainAllowsGetParams

NewDomainAllowsGetParamsWithHTTPClient creates a new DomainAllowsGetParams object with the ability to set a custom HTTPClient for a request.

func NewDomainAllowsGetParamsWithTimeout

func NewDomainAllowsGetParamsWithTimeout(timeout time.Duration) *DomainAllowsGetParams

NewDomainAllowsGetParamsWithTimeout creates a new DomainAllowsGetParams object with the ability to set a timeout on a request.

func (*DomainAllowsGetParams) SetContext

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

SetContext adds the context to the domain allows get params

func (*DomainAllowsGetParams) SetDefaults

func (o *DomainAllowsGetParams) SetDefaults()

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

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

func (*DomainAllowsGetParams) SetExport

func (o *DomainAllowsGetParams) SetExport(export *bool)

SetExport adds the export to the domain allows get params

func (*DomainAllowsGetParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the domain allows get params

func (*DomainAllowsGetParams) SetTimeout

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

SetTimeout adds the timeout to the domain allows get params

func (*DomainAllowsGetParams) WithContext

WithContext adds the context to the domain allows get params

func (*DomainAllowsGetParams) WithDefaults

func (o *DomainAllowsGetParams) WithDefaults() *DomainAllowsGetParams

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

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

func (*DomainAllowsGetParams) WithExport

func (o *DomainAllowsGetParams) WithExport(export *bool) *DomainAllowsGetParams

WithExport adds the export to the domain allows get params

func (*DomainAllowsGetParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the domain allows get params

func (*DomainAllowsGetParams) WithTimeout

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

WithTimeout adds the timeout to the domain allows get params

func (*DomainAllowsGetParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type DomainAllowsGetReader

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

DomainAllowsGetReader is a Reader for the DomainAllowsGet structure.

func (*DomainAllowsGetReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type DomainAllowsGetUnauthorized

type DomainAllowsGetUnauthorized struct {
}

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

unauthorized

func NewDomainAllowsGetUnauthorized

func NewDomainAllowsGetUnauthorized() *DomainAllowsGetUnauthorized

NewDomainAllowsGetUnauthorized creates a DomainAllowsGetUnauthorized with default headers values

func (*DomainAllowsGetUnauthorized) Code

func (o *DomainAllowsGetUnauthorized) Code() int

Code gets the status code for the domain allows get unauthorized response

func (*DomainAllowsGetUnauthorized) Error

func (*DomainAllowsGetUnauthorized) IsClientError

func (o *DomainAllowsGetUnauthorized) IsClientError() bool

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

func (*DomainAllowsGetUnauthorized) IsCode

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

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

func (*DomainAllowsGetUnauthorized) IsRedirect

func (o *DomainAllowsGetUnauthorized) IsRedirect() bool

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

func (*DomainAllowsGetUnauthorized) IsServerError

func (o *DomainAllowsGetUnauthorized) IsServerError() bool

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

func (*DomainAllowsGetUnauthorized) IsSuccess

func (o *DomainAllowsGetUnauthorized) IsSuccess() bool

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

func (*DomainAllowsGetUnauthorized) String

func (o *DomainAllowsGetUnauthorized) String() string

type DomainBlockCreateBadRequest

type DomainBlockCreateBadRequest struct {
}

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

bad request

func NewDomainBlockCreateBadRequest

func NewDomainBlockCreateBadRequest() *DomainBlockCreateBadRequest

NewDomainBlockCreateBadRequest creates a DomainBlockCreateBadRequest with default headers values

func (*DomainBlockCreateBadRequest) Code

func (o *DomainBlockCreateBadRequest) Code() int

Code gets the status code for the domain block create bad request response

func (*DomainBlockCreateBadRequest) Error

func (*DomainBlockCreateBadRequest) IsClientError

func (o *DomainBlockCreateBadRequest) IsClientError() bool

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

func (*DomainBlockCreateBadRequest) IsCode

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

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

func (*DomainBlockCreateBadRequest) IsRedirect

func (o *DomainBlockCreateBadRequest) IsRedirect() bool

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

func (*DomainBlockCreateBadRequest) IsServerError

func (o *DomainBlockCreateBadRequest) IsServerError() bool

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

func (*DomainBlockCreateBadRequest) IsSuccess

func (o *DomainBlockCreateBadRequest) IsSuccess() bool

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

func (*DomainBlockCreateBadRequest) String

func (o *DomainBlockCreateBadRequest) String() string

type DomainBlockCreateConflict

type DomainBlockCreateConflict struct {
}

DomainBlockCreateConflict describes a response with status code 409, with default header values.

Conflict: There is already an admin action running that conflicts with this action. Check the error message in the response body for more information. This is a temporary error; it should be possible to process this action if you try again in a bit.

func NewDomainBlockCreateConflict

func NewDomainBlockCreateConflict() *DomainBlockCreateConflict

NewDomainBlockCreateConflict creates a DomainBlockCreateConflict with default headers values

func (*DomainBlockCreateConflict) Code

func (o *DomainBlockCreateConflict) Code() int

Code gets the status code for the domain block create conflict response

func (*DomainBlockCreateConflict) Error

func (o *DomainBlockCreateConflict) Error() string

func (*DomainBlockCreateConflict) IsClientError

func (o *DomainBlockCreateConflict) IsClientError() bool

IsClientError returns true when this domain block create conflict response has a 4xx status code

func (*DomainBlockCreateConflict) IsCode

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

IsCode returns true when this domain block create conflict response a status code equal to that given

func (*DomainBlockCreateConflict) IsRedirect

func (o *DomainBlockCreateConflict) IsRedirect() bool

IsRedirect returns true when this domain block create conflict response has a 3xx status code

func (*DomainBlockCreateConflict) IsServerError

func (o *DomainBlockCreateConflict) IsServerError() bool

IsServerError returns true when this domain block create conflict response has a 5xx status code

func (*DomainBlockCreateConflict) IsSuccess

func (o *DomainBlockCreateConflict) IsSuccess() bool

IsSuccess returns true when this domain block create conflict response has a 2xx status code

func (*DomainBlockCreateConflict) String

func (o *DomainBlockCreateConflict) String() string

type DomainBlockCreateForbidden

type DomainBlockCreateForbidden struct {
}

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

forbidden

func NewDomainBlockCreateForbidden

func NewDomainBlockCreateForbidden() *DomainBlockCreateForbidden

NewDomainBlockCreateForbidden creates a DomainBlockCreateForbidden with default headers values

func (*DomainBlockCreateForbidden) Code

func (o *DomainBlockCreateForbidden) Code() int

Code gets the status code for the domain block create forbidden response

func (*DomainBlockCreateForbidden) Error

func (*DomainBlockCreateForbidden) IsClientError

func (o *DomainBlockCreateForbidden) IsClientError() bool

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

func (*DomainBlockCreateForbidden) IsCode

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

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

func (*DomainBlockCreateForbidden) IsRedirect

func (o *DomainBlockCreateForbidden) IsRedirect() bool

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

func (*DomainBlockCreateForbidden) IsServerError

func (o *DomainBlockCreateForbidden) IsServerError() bool

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

func (*DomainBlockCreateForbidden) IsSuccess

func (o *DomainBlockCreateForbidden) IsSuccess() bool

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

func (*DomainBlockCreateForbidden) String

func (o *DomainBlockCreateForbidden) String() string

type DomainBlockCreateInternalServerError

type DomainBlockCreateInternalServerError struct {
}

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

internal server error

func NewDomainBlockCreateInternalServerError

func NewDomainBlockCreateInternalServerError() *DomainBlockCreateInternalServerError

NewDomainBlockCreateInternalServerError creates a DomainBlockCreateInternalServerError with default headers values

func (*DomainBlockCreateInternalServerError) Code

Code gets the status code for the domain block create internal server error response

func (*DomainBlockCreateInternalServerError) Error

func (*DomainBlockCreateInternalServerError) IsClientError

func (o *DomainBlockCreateInternalServerError) IsClientError() bool

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

func (*DomainBlockCreateInternalServerError) IsCode

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

func (*DomainBlockCreateInternalServerError) IsRedirect

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

func (*DomainBlockCreateInternalServerError) IsServerError

func (o *DomainBlockCreateInternalServerError) IsServerError() bool

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

func (*DomainBlockCreateInternalServerError) IsSuccess

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

func (*DomainBlockCreateInternalServerError) String

type DomainBlockCreateNotAcceptable

type DomainBlockCreateNotAcceptable struct {
}

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

not acceptable

func NewDomainBlockCreateNotAcceptable

func NewDomainBlockCreateNotAcceptable() *DomainBlockCreateNotAcceptable

NewDomainBlockCreateNotAcceptable creates a DomainBlockCreateNotAcceptable with default headers values

func (*DomainBlockCreateNotAcceptable) Code

Code gets the status code for the domain block create not acceptable response

func (*DomainBlockCreateNotAcceptable) Error

func (*DomainBlockCreateNotAcceptable) IsClientError

func (o *DomainBlockCreateNotAcceptable) IsClientError() bool

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

func (*DomainBlockCreateNotAcceptable) IsCode

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

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

func (*DomainBlockCreateNotAcceptable) IsRedirect

func (o *DomainBlockCreateNotAcceptable) IsRedirect() bool

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

func (*DomainBlockCreateNotAcceptable) IsServerError

func (o *DomainBlockCreateNotAcceptable) IsServerError() bool

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

func (*DomainBlockCreateNotAcceptable) IsSuccess

func (o *DomainBlockCreateNotAcceptable) IsSuccess() bool

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

func (*DomainBlockCreateNotAcceptable) String

type DomainBlockCreateNotFound

type DomainBlockCreateNotFound struct {
}

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

not found

func NewDomainBlockCreateNotFound

func NewDomainBlockCreateNotFound() *DomainBlockCreateNotFound

NewDomainBlockCreateNotFound creates a DomainBlockCreateNotFound with default headers values

func (*DomainBlockCreateNotFound) Code

func (o *DomainBlockCreateNotFound) Code() int

Code gets the status code for the domain block create not found response

func (*DomainBlockCreateNotFound) Error

func (o *DomainBlockCreateNotFound) Error() string

func (*DomainBlockCreateNotFound) IsClientError

func (o *DomainBlockCreateNotFound) IsClientError() bool

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

func (*DomainBlockCreateNotFound) IsCode

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

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

func (*DomainBlockCreateNotFound) IsRedirect

func (o *DomainBlockCreateNotFound) IsRedirect() bool

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

func (*DomainBlockCreateNotFound) IsServerError

func (o *DomainBlockCreateNotFound) IsServerError() bool

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

func (*DomainBlockCreateNotFound) IsSuccess

func (o *DomainBlockCreateNotFound) IsSuccess() bool

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

func (*DomainBlockCreateNotFound) String

func (o *DomainBlockCreateNotFound) String() string

type DomainBlockCreateOK

type DomainBlockCreateOK struct {
	Payload *models.DomainPermission
}

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

The newly created domain block, if `import` != `true`. If a list has been imported, then an `array` of newly created domain blocks will be returned instead.

func NewDomainBlockCreateOK

func NewDomainBlockCreateOK() *DomainBlockCreateOK

NewDomainBlockCreateOK creates a DomainBlockCreateOK with default headers values

func (*DomainBlockCreateOK) Code

func (o *DomainBlockCreateOK) Code() int

Code gets the status code for the domain block create o k response

func (*DomainBlockCreateOK) Error

func (o *DomainBlockCreateOK) Error() string

func (*DomainBlockCreateOK) GetPayload

func (o *DomainBlockCreateOK) GetPayload() *models.DomainPermission

func (*DomainBlockCreateOK) IsClientError

func (o *DomainBlockCreateOK) IsClientError() bool

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

func (*DomainBlockCreateOK) IsCode

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

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

func (*DomainBlockCreateOK) IsRedirect

func (o *DomainBlockCreateOK) IsRedirect() bool

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

func (*DomainBlockCreateOK) IsServerError

func (o *DomainBlockCreateOK) IsServerError() bool

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

func (*DomainBlockCreateOK) IsSuccess

func (o *DomainBlockCreateOK) IsSuccess() bool

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

func (*DomainBlockCreateOK) String

func (o *DomainBlockCreateOK) String() string

type DomainBlockCreateParams

type DomainBlockCreateParams struct {

	/* Domain.

	   Single domain to block. Used only if `import` is not `true`.
	*/
	Domain *string

	/* Domains.

	   JSON-formatted list of domain blocks to import. This is only used if `import` is set to `true`.
	*/
	Domains runtime.NamedReadCloser

	/* Import.

	   Signal that a list of domain blocks is being imported as a file. If set to `true`, then 'domains' must be present as a JSON-formatted file. If set to `false`, then `domains` will be ignored, and `domain` must be present.
	*/
	Import *bool

	/* Obfuscate.

	   Obfuscate the name of the domain when serving it publicly. Eg., `example.org` becomes something like `ex***e.org`. Used only if `import` is not `true`.
	*/
	Obfuscate *bool

	/* PrivateComment.

	   Private comment about this domain block. Will only be shown to other admins, so this is a useful way of internally keeping track of why a certain domain ended up blocked. Used only if `import` is not `true`.
	*/
	PrivateComment *string

	/* PublicComment.

	   Public comment about this domain block. This will be displayed alongside the domain block if you choose to share blocks. Used only if `import` is not `true`.
	*/
	PublicComment *string

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

DomainBlockCreateParams contains all the parameters to send to the API endpoint

for the domain block create operation.

Typically these are written to a http.Request.

func NewDomainBlockCreateParams

func NewDomainBlockCreateParams() *DomainBlockCreateParams

NewDomainBlockCreateParams creates a new DomainBlockCreateParams 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 NewDomainBlockCreateParamsWithContext

func NewDomainBlockCreateParamsWithContext(ctx context.Context) *DomainBlockCreateParams

NewDomainBlockCreateParamsWithContext creates a new DomainBlockCreateParams object with the ability to set a context for a request.

func NewDomainBlockCreateParamsWithHTTPClient

func NewDomainBlockCreateParamsWithHTTPClient(client *http.Client) *DomainBlockCreateParams

NewDomainBlockCreateParamsWithHTTPClient creates a new DomainBlockCreateParams object with the ability to set a custom HTTPClient for a request.

func NewDomainBlockCreateParamsWithTimeout

func NewDomainBlockCreateParamsWithTimeout(timeout time.Duration) *DomainBlockCreateParams

NewDomainBlockCreateParamsWithTimeout creates a new DomainBlockCreateParams object with the ability to set a timeout on a request.

func (*DomainBlockCreateParams) SetContext

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

SetContext adds the context to the domain block create params

func (*DomainBlockCreateParams) SetDefaults

func (o *DomainBlockCreateParams) SetDefaults()

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

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

func (*DomainBlockCreateParams) SetDomain

func (o *DomainBlockCreateParams) SetDomain(domain *string)

SetDomain adds the domain to the domain block create params

func (*DomainBlockCreateParams) SetDomains

func (o *DomainBlockCreateParams) SetDomains(domains runtime.NamedReadCloser)

SetDomains adds the domains to the domain block create params

func (*DomainBlockCreateParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the domain block create params

func (*DomainBlockCreateParams) SetImport

func (o *DomainBlockCreateParams) SetImport(importVar *bool)

SetImport adds the import to the domain block create params

func (*DomainBlockCreateParams) SetObfuscate

func (o *DomainBlockCreateParams) SetObfuscate(obfuscate *bool)

SetObfuscate adds the obfuscate to the domain block create params

func (*DomainBlockCreateParams) SetPrivateComment

func (o *DomainBlockCreateParams) SetPrivateComment(privateComment *string)

SetPrivateComment adds the privateComment to the domain block create params

func (*DomainBlockCreateParams) SetPublicComment

func (o *DomainBlockCreateParams) SetPublicComment(publicComment *string)

SetPublicComment adds the publicComment to the domain block create params

func (*DomainBlockCreateParams) SetTimeout

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

SetTimeout adds the timeout to the domain block create params

func (*DomainBlockCreateParams) WithContext

WithContext adds the context to the domain block create params

func (*DomainBlockCreateParams) WithDefaults

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

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

func (*DomainBlockCreateParams) WithDomain

func (o *DomainBlockCreateParams) WithDomain(domain *string) *DomainBlockCreateParams

WithDomain adds the domain to the domain block create params

func (*DomainBlockCreateParams) WithDomains

WithDomains adds the domains to the domain block create params

func (*DomainBlockCreateParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the domain block create params

func (*DomainBlockCreateParams) WithImport

func (o *DomainBlockCreateParams) WithImport(importVar *bool) *DomainBlockCreateParams

WithImport adds the importVar to the domain block create params

func (*DomainBlockCreateParams) WithObfuscate

func (o *DomainBlockCreateParams) WithObfuscate(obfuscate *bool) *DomainBlockCreateParams

WithObfuscate adds the obfuscate to the domain block create params

func (*DomainBlockCreateParams) WithPrivateComment

func (o *DomainBlockCreateParams) WithPrivateComment(privateComment *string) *DomainBlockCreateParams

WithPrivateComment adds the privateComment to the domain block create params

func (*DomainBlockCreateParams) WithPublicComment

func (o *DomainBlockCreateParams) WithPublicComment(publicComment *string) *DomainBlockCreateParams

WithPublicComment adds the publicComment to the domain block create params

func (*DomainBlockCreateParams) WithTimeout

WithTimeout adds the timeout to the domain block create params

func (*DomainBlockCreateParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type DomainBlockCreateReader

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

DomainBlockCreateReader is a Reader for the DomainBlockCreate structure.

func (*DomainBlockCreateReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type DomainBlockCreateUnauthorized

type DomainBlockCreateUnauthorized struct {
}

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

unauthorized

func NewDomainBlockCreateUnauthorized

func NewDomainBlockCreateUnauthorized() *DomainBlockCreateUnauthorized

NewDomainBlockCreateUnauthorized creates a DomainBlockCreateUnauthorized with default headers values

func (*DomainBlockCreateUnauthorized) Code

Code gets the status code for the domain block create unauthorized response

func (*DomainBlockCreateUnauthorized) Error

func (*DomainBlockCreateUnauthorized) IsClientError

func (o *DomainBlockCreateUnauthorized) IsClientError() bool

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

func (*DomainBlockCreateUnauthorized) IsCode

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

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

func (*DomainBlockCreateUnauthorized) IsRedirect

func (o *DomainBlockCreateUnauthorized) IsRedirect() bool

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

func (*DomainBlockCreateUnauthorized) IsServerError

func (o *DomainBlockCreateUnauthorized) IsServerError() bool

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

func (*DomainBlockCreateUnauthorized) IsSuccess

func (o *DomainBlockCreateUnauthorized) IsSuccess() bool

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

func (*DomainBlockCreateUnauthorized) String

type DomainBlockDeleteBadRequest

type DomainBlockDeleteBadRequest struct {
}

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

bad request

func NewDomainBlockDeleteBadRequest

func NewDomainBlockDeleteBadRequest() *DomainBlockDeleteBadRequest

NewDomainBlockDeleteBadRequest creates a DomainBlockDeleteBadRequest with default headers values

func (*DomainBlockDeleteBadRequest) Code

func (o *DomainBlockDeleteBadRequest) Code() int

Code gets the status code for the domain block delete bad request response

func (*DomainBlockDeleteBadRequest) Error

func (*DomainBlockDeleteBadRequest) IsClientError

func (o *DomainBlockDeleteBadRequest) IsClientError() bool

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

func (*DomainBlockDeleteBadRequest) IsCode

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

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

func (*DomainBlockDeleteBadRequest) IsRedirect

func (o *DomainBlockDeleteBadRequest) IsRedirect() bool

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

func (*DomainBlockDeleteBadRequest) IsServerError

func (o *DomainBlockDeleteBadRequest) IsServerError() bool

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

func (*DomainBlockDeleteBadRequest) IsSuccess

func (o *DomainBlockDeleteBadRequest) IsSuccess() bool

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

func (*DomainBlockDeleteBadRequest) String

func (o *DomainBlockDeleteBadRequest) String() string

type DomainBlockDeleteConflict

type DomainBlockDeleteConflict struct {
}

DomainBlockDeleteConflict describes a response with status code 409, with default header values.

Conflict: There is already an admin action running that conflicts with this action. Check the error message in the response body for more information. This is a temporary error; it should be possible to process this action if you try again in a bit.

func NewDomainBlockDeleteConflict

func NewDomainBlockDeleteConflict() *DomainBlockDeleteConflict

NewDomainBlockDeleteConflict creates a DomainBlockDeleteConflict with default headers values

func (*DomainBlockDeleteConflict) Code

func (o *DomainBlockDeleteConflict) Code() int

Code gets the status code for the domain block delete conflict response

func (*DomainBlockDeleteConflict) Error

func (o *DomainBlockDeleteConflict) Error() string

func (*DomainBlockDeleteConflict) IsClientError

func (o *DomainBlockDeleteConflict) IsClientError() bool

IsClientError returns true when this domain block delete conflict response has a 4xx status code

func (*DomainBlockDeleteConflict) IsCode

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

IsCode returns true when this domain block delete conflict response a status code equal to that given

func (*DomainBlockDeleteConflict) IsRedirect

func (o *DomainBlockDeleteConflict) IsRedirect() bool

IsRedirect returns true when this domain block delete conflict response has a 3xx status code

func (*DomainBlockDeleteConflict) IsServerError

func (o *DomainBlockDeleteConflict) IsServerError() bool

IsServerError returns true when this domain block delete conflict response has a 5xx status code

func (*DomainBlockDeleteConflict) IsSuccess

func (o *DomainBlockDeleteConflict) IsSuccess() bool

IsSuccess returns true when this domain block delete conflict response has a 2xx status code

func (*DomainBlockDeleteConflict) String

func (o *DomainBlockDeleteConflict) String() string

type DomainBlockDeleteForbidden

type DomainBlockDeleteForbidden struct {
}

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

forbidden

func NewDomainBlockDeleteForbidden

func NewDomainBlockDeleteForbidden() *DomainBlockDeleteForbidden

NewDomainBlockDeleteForbidden creates a DomainBlockDeleteForbidden with default headers values

func (*DomainBlockDeleteForbidden) Code

func (o *DomainBlockDeleteForbidden) Code() int

Code gets the status code for the domain block delete forbidden response

func (*DomainBlockDeleteForbidden) Error

func (*DomainBlockDeleteForbidden) IsClientError

func (o *DomainBlockDeleteForbidden) IsClientError() bool

IsClientError returns true when this domain block delete forbidden response has a 4xx status code

func (*DomainBlockDeleteForbidden) IsCode

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

IsCode returns true when this domain block delete forbidden response a status code equal to that given

func (*DomainBlockDeleteForbidden) IsRedirect

func (o *DomainBlockDeleteForbidden) IsRedirect() bool

IsRedirect returns true when this domain block delete forbidden response has a 3xx status code

func (*DomainBlockDeleteForbidden) IsServerError

func (o *DomainBlockDeleteForbidden) IsServerError() bool

IsServerError returns true when this domain block delete forbidden response has a 5xx status code

func (*DomainBlockDeleteForbidden) IsSuccess

func (o *DomainBlockDeleteForbidden) IsSuccess() bool

IsSuccess returns true when this domain block delete forbidden response has a 2xx status code

func (*DomainBlockDeleteForbidden) String

func (o *DomainBlockDeleteForbidden) String() string

type DomainBlockDeleteInternalServerError

type DomainBlockDeleteInternalServerError struct {
}

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

internal server error

func NewDomainBlockDeleteInternalServerError

func NewDomainBlockDeleteInternalServerError() *DomainBlockDeleteInternalServerError

NewDomainBlockDeleteInternalServerError creates a DomainBlockDeleteInternalServerError with default headers values

func (*DomainBlockDeleteInternalServerError) Code

Code gets the status code for the domain block delete internal server error response

func (*DomainBlockDeleteInternalServerError) Error

func (*DomainBlockDeleteInternalServerError) IsClientError

func (o *DomainBlockDeleteInternalServerError) IsClientError() bool

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

func (*DomainBlockDeleteInternalServerError) IsCode

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

func (*DomainBlockDeleteInternalServerError) IsRedirect

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

func (*DomainBlockDeleteInternalServerError) IsServerError

func (o *DomainBlockDeleteInternalServerError) IsServerError() bool

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

func (*DomainBlockDeleteInternalServerError) IsSuccess

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

func (*DomainBlockDeleteInternalServerError) String

type DomainBlockDeleteNotAcceptable

type DomainBlockDeleteNotAcceptable struct {
}

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

not acceptable

func NewDomainBlockDeleteNotAcceptable

func NewDomainBlockDeleteNotAcceptable() *DomainBlockDeleteNotAcceptable

NewDomainBlockDeleteNotAcceptable creates a DomainBlockDeleteNotAcceptable with default headers values

func (*DomainBlockDeleteNotAcceptable) Code

Code gets the status code for the domain block delete not acceptable response

func (*DomainBlockDeleteNotAcceptable) Error

func (*DomainBlockDeleteNotAcceptable) IsClientError

func (o *DomainBlockDeleteNotAcceptable) IsClientError() bool

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

func (*DomainBlockDeleteNotAcceptable) IsCode

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

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

func (*DomainBlockDeleteNotAcceptable) IsRedirect

func (o *DomainBlockDeleteNotAcceptable) IsRedirect() bool

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

func (*DomainBlockDeleteNotAcceptable) IsServerError

func (o *DomainBlockDeleteNotAcceptable) IsServerError() bool

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

func (*DomainBlockDeleteNotAcceptable) IsSuccess

func (o *DomainBlockDeleteNotAcceptable) IsSuccess() bool

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

func (*DomainBlockDeleteNotAcceptable) String

type DomainBlockDeleteNotFound

type DomainBlockDeleteNotFound struct {
}

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

not found

func NewDomainBlockDeleteNotFound

func NewDomainBlockDeleteNotFound() *DomainBlockDeleteNotFound

NewDomainBlockDeleteNotFound creates a DomainBlockDeleteNotFound with default headers values

func (*DomainBlockDeleteNotFound) Code

func (o *DomainBlockDeleteNotFound) Code() int

Code gets the status code for the domain block delete not found response

func (*DomainBlockDeleteNotFound) Error

func (o *DomainBlockDeleteNotFound) Error() string

func (*DomainBlockDeleteNotFound) IsClientError

func (o *DomainBlockDeleteNotFound) IsClientError() bool

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

func (*DomainBlockDeleteNotFound) IsCode

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

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

func (*DomainBlockDeleteNotFound) IsRedirect

func (o *DomainBlockDeleteNotFound) IsRedirect() bool

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

func (*DomainBlockDeleteNotFound) IsServerError

func (o *DomainBlockDeleteNotFound) IsServerError() bool

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

func (*DomainBlockDeleteNotFound) IsSuccess

func (o *DomainBlockDeleteNotFound) IsSuccess() bool

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

func (*DomainBlockDeleteNotFound) String

func (o *DomainBlockDeleteNotFound) String() string

type DomainBlockDeleteOK

type DomainBlockDeleteOK struct {
	Payload *models.DomainPermission
}

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

The domain block that was just deleted.

func NewDomainBlockDeleteOK

func NewDomainBlockDeleteOK() *DomainBlockDeleteOK

NewDomainBlockDeleteOK creates a DomainBlockDeleteOK with default headers values

func (*DomainBlockDeleteOK) Code

func (o *DomainBlockDeleteOK) Code() int

Code gets the status code for the domain block delete o k response

func (*DomainBlockDeleteOK) Error

func (o *DomainBlockDeleteOK) Error() string

func (*DomainBlockDeleteOK) GetPayload

func (o *DomainBlockDeleteOK) GetPayload() *models.DomainPermission

func (*DomainBlockDeleteOK) IsClientError

func (o *DomainBlockDeleteOK) IsClientError() bool

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

func (*DomainBlockDeleteOK) IsCode

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

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

func (*DomainBlockDeleteOK) IsRedirect

func (o *DomainBlockDeleteOK) IsRedirect() bool

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

func (*DomainBlockDeleteOK) IsServerError

func (o *DomainBlockDeleteOK) IsServerError() bool

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

func (*DomainBlockDeleteOK) IsSuccess

func (o *DomainBlockDeleteOK) IsSuccess() bool

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

func (*DomainBlockDeleteOK) String

func (o *DomainBlockDeleteOK) String() string

type DomainBlockDeleteParams

type DomainBlockDeleteParams struct {

	/* ID.

	   The id of the domain block.
	*/
	ID string

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

DomainBlockDeleteParams contains all the parameters to send to the API endpoint

for the domain block delete operation.

Typically these are written to a http.Request.

func NewDomainBlockDeleteParams

func NewDomainBlockDeleteParams() *DomainBlockDeleteParams

NewDomainBlockDeleteParams creates a new DomainBlockDeleteParams 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 NewDomainBlockDeleteParamsWithContext

func NewDomainBlockDeleteParamsWithContext(ctx context.Context) *DomainBlockDeleteParams

NewDomainBlockDeleteParamsWithContext creates a new DomainBlockDeleteParams object with the ability to set a context for a request.

func NewDomainBlockDeleteParamsWithHTTPClient

func NewDomainBlockDeleteParamsWithHTTPClient(client *http.Client) *DomainBlockDeleteParams

NewDomainBlockDeleteParamsWithHTTPClient creates a new DomainBlockDeleteParams object with the ability to set a custom HTTPClient for a request.

func NewDomainBlockDeleteParamsWithTimeout

func NewDomainBlockDeleteParamsWithTimeout(timeout time.Duration) *DomainBlockDeleteParams

NewDomainBlockDeleteParamsWithTimeout creates a new DomainBlockDeleteParams object with the ability to set a timeout on a request.

func (*DomainBlockDeleteParams) SetContext

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

SetContext adds the context to the domain block delete params

func (*DomainBlockDeleteParams) SetDefaults

func (o *DomainBlockDeleteParams) SetDefaults()

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

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

func (*DomainBlockDeleteParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the domain block delete params

func (*DomainBlockDeleteParams) SetID

func (o *DomainBlockDeleteParams) SetID(id string)

SetID adds the id to the domain block delete params

func (*DomainBlockDeleteParams) SetTimeout

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

SetTimeout adds the timeout to the domain block delete params

func (*DomainBlockDeleteParams) WithContext

WithContext adds the context to the domain block delete params

func (*DomainBlockDeleteParams) WithDefaults

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

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

func (*DomainBlockDeleteParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the domain block delete params

func (*DomainBlockDeleteParams) WithID

WithID adds the id to the domain block delete params

func (*DomainBlockDeleteParams) WithTimeout

WithTimeout adds the timeout to the domain block delete params

func (*DomainBlockDeleteParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type DomainBlockDeleteReader

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

DomainBlockDeleteReader is a Reader for the DomainBlockDelete structure.

func (*DomainBlockDeleteReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type DomainBlockDeleteUnauthorized

type DomainBlockDeleteUnauthorized struct {
}

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

unauthorized

func NewDomainBlockDeleteUnauthorized

func NewDomainBlockDeleteUnauthorized() *DomainBlockDeleteUnauthorized

NewDomainBlockDeleteUnauthorized creates a DomainBlockDeleteUnauthorized with default headers values

func (*DomainBlockDeleteUnauthorized) Code

Code gets the status code for the domain block delete unauthorized response

func (*DomainBlockDeleteUnauthorized) Error

func (*DomainBlockDeleteUnauthorized) IsClientError

func (o *DomainBlockDeleteUnauthorized) IsClientError() bool

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

func (*DomainBlockDeleteUnauthorized) IsCode

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

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

func (*DomainBlockDeleteUnauthorized) IsRedirect

func (o *DomainBlockDeleteUnauthorized) IsRedirect() bool

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

func (*DomainBlockDeleteUnauthorized) IsServerError

func (o *DomainBlockDeleteUnauthorized) IsServerError() bool

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

func (*DomainBlockDeleteUnauthorized) IsSuccess

func (o *DomainBlockDeleteUnauthorized) IsSuccess() bool

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

func (*DomainBlockDeleteUnauthorized) String

type DomainBlockGetBadRequest

type DomainBlockGetBadRequest struct {
}

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

bad request

func NewDomainBlockGetBadRequest

func NewDomainBlockGetBadRequest() *DomainBlockGetBadRequest

NewDomainBlockGetBadRequest creates a DomainBlockGetBadRequest with default headers values

func (*DomainBlockGetBadRequest) Code

func (o *DomainBlockGetBadRequest) Code() int

Code gets the status code for the domain block get bad request response

func (*DomainBlockGetBadRequest) Error

func (o *DomainBlockGetBadRequest) Error() string

func (*DomainBlockGetBadRequest) IsClientError

func (o *DomainBlockGetBadRequest) IsClientError() bool

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

func (*DomainBlockGetBadRequest) IsCode

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

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

func (*DomainBlockGetBadRequest) IsRedirect

func (o *DomainBlockGetBadRequest) IsRedirect() bool

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

func (*DomainBlockGetBadRequest) IsServerError

func (o *DomainBlockGetBadRequest) IsServerError() bool

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

func (*DomainBlockGetBadRequest) IsSuccess

func (o *DomainBlockGetBadRequest) IsSuccess() bool

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

func (*DomainBlockGetBadRequest) String

func (o *DomainBlockGetBadRequest) String() string

type DomainBlockGetForbidden

type DomainBlockGetForbidden struct {
}

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

forbidden

func NewDomainBlockGetForbidden

func NewDomainBlockGetForbidden() *DomainBlockGetForbidden

NewDomainBlockGetForbidden creates a DomainBlockGetForbidden with default headers values

func (*DomainBlockGetForbidden) Code

func (o *DomainBlockGetForbidden) Code() int

Code gets the status code for the domain block get forbidden response

func (*DomainBlockGetForbidden) Error

func (o *DomainBlockGetForbidden) Error() string

func (*DomainBlockGetForbidden) IsClientError

func (o *DomainBlockGetForbidden) IsClientError() bool

IsClientError returns true when this domain block get forbidden response has a 4xx status code

func (*DomainBlockGetForbidden) IsCode

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

IsCode returns true when this domain block get forbidden response a status code equal to that given

func (*DomainBlockGetForbidden) IsRedirect

func (o *DomainBlockGetForbidden) IsRedirect() bool

IsRedirect returns true when this domain block get forbidden response has a 3xx status code

func (*DomainBlockGetForbidden) IsServerError

func (o *DomainBlockGetForbidden) IsServerError() bool

IsServerError returns true when this domain block get forbidden response has a 5xx status code

func (*DomainBlockGetForbidden) IsSuccess

func (o *DomainBlockGetForbidden) IsSuccess() bool

IsSuccess returns true when this domain block get forbidden response has a 2xx status code

func (*DomainBlockGetForbidden) String

func (o *DomainBlockGetForbidden) String() string

type DomainBlockGetInternalServerError

type DomainBlockGetInternalServerError struct {
}

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

internal server error

func NewDomainBlockGetInternalServerError

func NewDomainBlockGetInternalServerError() *DomainBlockGetInternalServerError

NewDomainBlockGetInternalServerError creates a DomainBlockGetInternalServerError with default headers values

func (*DomainBlockGetInternalServerError) Code

Code gets the status code for the domain block get internal server error response

func (*DomainBlockGetInternalServerError) Error

func (*DomainBlockGetInternalServerError) IsClientError

func (o *DomainBlockGetInternalServerError) IsClientError() bool

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

func (*DomainBlockGetInternalServerError) IsCode

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

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

func (*DomainBlockGetInternalServerError) IsRedirect

func (o *DomainBlockGetInternalServerError) IsRedirect() bool

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

func (*DomainBlockGetInternalServerError) IsServerError

func (o *DomainBlockGetInternalServerError) IsServerError() bool

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

func (*DomainBlockGetInternalServerError) IsSuccess

func (o *DomainBlockGetInternalServerError) IsSuccess() bool

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

func (*DomainBlockGetInternalServerError) String

type DomainBlockGetNotAcceptable

type DomainBlockGetNotAcceptable struct {
}

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

not acceptable

func NewDomainBlockGetNotAcceptable

func NewDomainBlockGetNotAcceptable() *DomainBlockGetNotAcceptable

NewDomainBlockGetNotAcceptable creates a DomainBlockGetNotAcceptable with default headers values

func (*DomainBlockGetNotAcceptable) Code

func (o *DomainBlockGetNotAcceptable) Code() int

Code gets the status code for the domain block get not acceptable response

func (*DomainBlockGetNotAcceptable) Error

func (*DomainBlockGetNotAcceptable) IsClientError

func (o *DomainBlockGetNotAcceptable) IsClientError() bool

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

func (*DomainBlockGetNotAcceptable) IsCode

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

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

func (*DomainBlockGetNotAcceptable) IsRedirect

func (o *DomainBlockGetNotAcceptable) IsRedirect() bool

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

func (*DomainBlockGetNotAcceptable) IsServerError

func (o *DomainBlockGetNotAcceptable) IsServerError() bool

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

func (*DomainBlockGetNotAcceptable) IsSuccess

func (o *DomainBlockGetNotAcceptable) IsSuccess() bool

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

func (*DomainBlockGetNotAcceptable) String

func (o *DomainBlockGetNotAcceptable) String() string

type DomainBlockGetNotFound

type DomainBlockGetNotFound struct {
}

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

not found

func NewDomainBlockGetNotFound

func NewDomainBlockGetNotFound() *DomainBlockGetNotFound

NewDomainBlockGetNotFound creates a DomainBlockGetNotFound with default headers values

func (*DomainBlockGetNotFound) Code

func (o *DomainBlockGetNotFound) Code() int

Code gets the status code for the domain block get not found response

func (*DomainBlockGetNotFound) Error

func (o *DomainBlockGetNotFound) Error() string

func (*DomainBlockGetNotFound) IsClientError

func (o *DomainBlockGetNotFound) IsClientError() bool

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

func (*DomainBlockGetNotFound) IsCode

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

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

func (*DomainBlockGetNotFound) IsRedirect

func (o *DomainBlockGetNotFound) IsRedirect() bool

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

func (*DomainBlockGetNotFound) IsServerError

func (o *DomainBlockGetNotFound) IsServerError() bool

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

func (*DomainBlockGetNotFound) IsSuccess

func (o *DomainBlockGetNotFound) IsSuccess() bool

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

func (*DomainBlockGetNotFound) String

func (o *DomainBlockGetNotFound) String() string

type DomainBlockGetOK

type DomainBlockGetOK struct {
	Payload *models.DomainPermission
}

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

The requested domain block.

func NewDomainBlockGetOK

func NewDomainBlockGetOK() *DomainBlockGetOK

NewDomainBlockGetOK creates a DomainBlockGetOK with default headers values

func (*DomainBlockGetOK) Code

func (o *DomainBlockGetOK) Code() int

Code gets the status code for the domain block get o k response

func (*DomainBlockGetOK) Error

func (o *DomainBlockGetOK) Error() string

func (*DomainBlockGetOK) GetPayload

func (o *DomainBlockGetOK) GetPayload() *models.DomainPermission

func (*DomainBlockGetOK) IsClientError

func (o *DomainBlockGetOK) IsClientError() bool

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

func (*DomainBlockGetOK) IsCode

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

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

func (*DomainBlockGetOK) IsRedirect

func (o *DomainBlockGetOK) IsRedirect() bool

IsRedirect returns true when this domain block get o k response has a 3xx status code

func (*DomainBlockGetOK) IsServerError

func (o *DomainBlockGetOK) IsServerError() bool

IsServerError returns true when this domain block get o k response has a 5xx status code

func (*DomainBlockGetOK) IsSuccess

func (o *DomainBlockGetOK) IsSuccess() bool

IsSuccess returns true when this domain block get o k response has a 2xx status code

func (*DomainBlockGetOK) String

func (o *DomainBlockGetOK) String() string

type DomainBlockGetParams

type DomainBlockGetParams struct {

	/* ID.

	   The id of the domain block.
	*/
	ID string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

DomainBlockGetParams contains all the parameters to send to the API endpoint

for the domain block get operation.

Typically these are written to a http.Request.

func NewDomainBlockGetParams

func NewDomainBlockGetParams() *DomainBlockGetParams

NewDomainBlockGetParams creates a new DomainBlockGetParams 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 NewDomainBlockGetParamsWithContext

func NewDomainBlockGetParamsWithContext(ctx context.Context) *DomainBlockGetParams

NewDomainBlockGetParamsWithContext creates a new DomainBlockGetParams object with the ability to set a context for a request.

func NewDomainBlockGetParamsWithHTTPClient

func NewDomainBlockGetParamsWithHTTPClient(client *http.Client) *DomainBlockGetParams

NewDomainBlockGetParamsWithHTTPClient creates a new DomainBlockGetParams object with the ability to set a custom HTTPClient for a request.

func NewDomainBlockGetParamsWithTimeout

func NewDomainBlockGetParamsWithTimeout(timeout time.Duration) *DomainBlockGetParams

NewDomainBlockGetParamsWithTimeout creates a new DomainBlockGetParams object with the ability to set a timeout on a request.

func (*DomainBlockGetParams) SetContext

func (o *DomainBlockGetParams) SetContext(ctx context.Context)

SetContext adds the context to the domain block get params

func (*DomainBlockGetParams) SetDefaults

func (o *DomainBlockGetParams) SetDefaults()

SetDefaults hydrates default values in the domain block get params (not the query body).

All values with no default are reset to their zero value.

func (*DomainBlockGetParams) SetHTTPClient

func (o *DomainBlockGetParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the domain block get params

func (*DomainBlockGetParams) SetID

func (o *DomainBlockGetParams) SetID(id string)

SetID adds the id to the domain block get params

func (*DomainBlockGetParams) SetTimeout

func (o *DomainBlockGetParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the domain block get params

func (*DomainBlockGetParams) WithContext

WithContext adds the context to the domain block get params

func (*DomainBlockGetParams) WithDefaults

func (o *DomainBlockGetParams) WithDefaults() *DomainBlockGetParams

WithDefaults hydrates default values in the domain block get params (not the query body).

All values with no default are reset to their zero value.

func (*DomainBlockGetParams) WithHTTPClient

func (o *DomainBlockGetParams) WithHTTPClient(client *http.Client) *DomainBlockGetParams

WithHTTPClient adds the HTTPClient to the domain block get params

func (*DomainBlockGetParams) WithID

WithID adds the id to the domain block get params

func (*DomainBlockGetParams) WithTimeout

func (o *DomainBlockGetParams) WithTimeout(timeout time.Duration) *DomainBlockGetParams

WithTimeout adds the timeout to the domain block get params

func (*DomainBlockGetParams) WriteToRequest

func (o *DomainBlockGetParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type DomainBlockGetReader

type DomainBlockGetReader struct {
	// contains filtered or unexported fields
}

DomainBlockGetReader is a Reader for the DomainBlockGet structure.

func (*DomainBlockGetReader) ReadResponse

func (o *DomainBlockGetReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type DomainBlockGetUnauthorized

type DomainBlockGetUnauthorized struct {
}

DomainBlockGetUnauthorized describes a response with status code 401, with default header values.

unauthorized

func NewDomainBlockGetUnauthorized

func NewDomainBlockGetUnauthorized() *DomainBlockGetUnauthorized

NewDomainBlockGetUnauthorized creates a DomainBlockGetUnauthorized with default headers values

func (*DomainBlockGetUnauthorized) Code

func (o *DomainBlockGetUnauthorized) Code() int

Code gets the status code for the domain block get unauthorized response

func (*DomainBlockGetUnauthorized) Error

func (*DomainBlockGetUnauthorized) IsClientError

func (o *DomainBlockGetUnauthorized) IsClientError() bool

IsClientError returns true when this domain block get unauthorized response has a 4xx status code

func (*DomainBlockGetUnauthorized) IsCode

func (o *DomainBlockGetUnauthorized) IsCode(code int) bool

IsCode returns true when this domain block get unauthorized response a status code equal to that given

func (*DomainBlockGetUnauthorized) IsRedirect

func (o *DomainBlockGetUnauthorized) IsRedirect() bool

IsRedirect returns true when this domain block get unauthorized response has a 3xx status code

func (*DomainBlockGetUnauthorized) IsServerError

func (o *DomainBlockGetUnauthorized) IsServerError() bool

IsServerError returns true when this domain block get unauthorized response has a 5xx status code

func (*DomainBlockGetUnauthorized) IsSuccess

func (o *DomainBlockGetUnauthorized) IsSuccess() bool

IsSuccess returns true when this domain block get unauthorized response has a 2xx status code

func (*DomainBlockGetUnauthorized) String

func (o *DomainBlockGetUnauthorized) String() string

type DomainBlocksGetBadRequest

type DomainBlocksGetBadRequest struct {
}

DomainBlocksGetBadRequest describes a response with status code 400, with default header values.

bad request

func NewDomainBlocksGetBadRequest

func NewDomainBlocksGetBadRequest() *DomainBlocksGetBadRequest

NewDomainBlocksGetBadRequest creates a DomainBlocksGetBadRequest with default headers values

func (*DomainBlocksGetBadRequest) Code

func (o *DomainBlocksGetBadRequest) Code() int

Code gets the status code for the domain blocks get bad request response

func (*DomainBlocksGetBadRequest) Error

func (o *DomainBlocksGetBadRequest) Error() string

func (*DomainBlocksGetBadRequest) IsClientError

func (o *DomainBlocksGetBadRequest) IsClientError() bool

IsClientError returns true when this domain blocks get bad request response has a 4xx status code

func (*DomainBlocksGetBadRequest) IsCode

func (o *DomainBlocksGetBadRequest) IsCode(code int) bool

IsCode returns true when this domain blocks get bad request response a status code equal to that given

func (*DomainBlocksGetBadRequest) IsRedirect

func (o *DomainBlocksGetBadRequest) IsRedirect() bool

IsRedirect returns true when this domain blocks get bad request response has a 3xx status code

func (*DomainBlocksGetBadRequest) IsServerError

func (o *DomainBlocksGetBadRequest) IsServerError() bool

IsServerError returns true when this domain blocks get bad request response has a 5xx status code

func (*DomainBlocksGetBadRequest) IsSuccess

func (o *DomainBlocksGetBadRequest) IsSuccess() bool

IsSuccess returns true when this domain blocks get bad request response has a 2xx status code

func (*DomainBlocksGetBadRequest) String

func (o *DomainBlocksGetBadRequest) String() string

type DomainBlocksGetForbidden

type DomainBlocksGetForbidden struct {
}

DomainBlocksGetForbidden describes a response with status code 403, with default header values.

forbidden

func NewDomainBlocksGetForbidden

func NewDomainBlocksGetForbidden() *DomainBlocksGetForbidden

NewDomainBlocksGetForbidden creates a DomainBlocksGetForbidden with default headers values

func (*DomainBlocksGetForbidden) Code

func (o *DomainBlocksGetForbidden) Code() int

Code gets the status code for the domain blocks get forbidden response

func (*DomainBlocksGetForbidden) Error

func (o *DomainBlocksGetForbidden) Error() string

func (*DomainBlocksGetForbidden) IsClientError

func (o *DomainBlocksGetForbidden) IsClientError() bool

IsClientError returns true when this domain blocks get forbidden response has a 4xx status code

func (*DomainBlocksGetForbidden) IsCode

func (o *DomainBlocksGetForbidden) IsCode(code int) bool

IsCode returns true when this domain blocks get forbidden response a status code equal to that given

func (*DomainBlocksGetForbidden) IsRedirect

func (o *DomainBlocksGetForbidden) IsRedirect() bool

IsRedirect returns true when this domain blocks get forbidden response has a 3xx status code

func (*DomainBlocksGetForbidden) IsServerError

func (o *DomainBlocksGetForbidden) IsServerError() bool

IsServerError returns true when this domain blocks get forbidden response has a 5xx status code

func (*DomainBlocksGetForbidden) IsSuccess

func (o *DomainBlocksGetForbidden) IsSuccess() bool

IsSuccess returns true when this domain blocks get forbidden response has a 2xx status code

func (*DomainBlocksGetForbidden) String

func (o *DomainBlocksGetForbidden) String() string

type DomainBlocksGetInternalServerError

type DomainBlocksGetInternalServerError struct {
}

DomainBlocksGetInternalServerError describes a response with status code 500, with default header values.

internal server error

func NewDomainBlocksGetInternalServerError

func NewDomainBlocksGetInternalServerError() *DomainBlocksGetInternalServerError

NewDomainBlocksGetInternalServerError creates a DomainBlocksGetInternalServerError with default headers values

func (*DomainBlocksGetInternalServerError) Code

Code gets the status code for the domain blocks get internal server error response

func (*DomainBlocksGetInternalServerError) Error

func (*DomainBlocksGetInternalServerError) IsClientError

func (o *DomainBlocksGetInternalServerError) IsClientError() bool

IsClientError returns true when this domain blocks get internal server error response has a 4xx status code

func (*DomainBlocksGetInternalServerError) IsCode

IsCode returns true when this domain blocks get internal server error response a status code equal to that given

func (*DomainBlocksGetInternalServerError) IsRedirect

func (o *DomainBlocksGetInternalServerError) IsRedirect() bool

IsRedirect returns true when this domain blocks get internal server error response has a 3xx status code

func (*DomainBlocksGetInternalServerError) IsServerError

func (o *DomainBlocksGetInternalServerError) IsServerError() bool

IsServerError returns true when this domain blocks get internal server error response has a 5xx status code

func (*DomainBlocksGetInternalServerError) IsSuccess

IsSuccess returns true when this domain blocks get internal server error response has a 2xx status code

func (*DomainBlocksGetInternalServerError) String

type DomainBlocksGetNotAcceptable

type DomainBlocksGetNotAcceptable struct {
}

DomainBlocksGetNotAcceptable describes a response with status code 406, with default header values.

not acceptable

func NewDomainBlocksGetNotAcceptable

func NewDomainBlocksGetNotAcceptable() *DomainBlocksGetNotAcceptable

NewDomainBlocksGetNotAcceptable creates a DomainBlocksGetNotAcceptable with default headers values

func (*DomainBlocksGetNotAcceptable) Code

Code gets the status code for the domain blocks get not acceptable response

func (*DomainBlocksGetNotAcceptable) Error

func (*DomainBlocksGetNotAcceptable) IsClientError

func (o *DomainBlocksGetNotAcceptable) IsClientError() bool

IsClientError returns true when this domain blocks get not acceptable response has a 4xx status code

func (*DomainBlocksGetNotAcceptable) IsCode

func (o *DomainBlocksGetNotAcceptable) IsCode(code int) bool

IsCode returns true when this domain blocks get not acceptable response a status code equal to that given

func (*DomainBlocksGetNotAcceptable) IsRedirect

func (o *DomainBlocksGetNotAcceptable) IsRedirect() bool

IsRedirect returns true when this domain blocks get not acceptable response has a 3xx status code

func (*DomainBlocksGetNotAcceptable) IsServerError

func (o *DomainBlocksGetNotAcceptable) IsServerError() bool

IsServerError returns true when this domain blocks get not acceptable response has a 5xx status code

func (*DomainBlocksGetNotAcceptable) IsSuccess

func (o *DomainBlocksGetNotAcceptable) IsSuccess() bool

IsSuccess returns true when this domain blocks get not acceptable response has a 2xx status code

func (*DomainBlocksGetNotAcceptable) String

type DomainBlocksGetNotFound

type DomainBlocksGetNotFound struct {
}

DomainBlocksGetNotFound describes a response with status code 404, with default header values.

not found

func NewDomainBlocksGetNotFound

func NewDomainBlocksGetNotFound() *DomainBlocksGetNotFound

NewDomainBlocksGetNotFound creates a DomainBlocksGetNotFound with default headers values

func (*DomainBlocksGetNotFound) Code

func (o *DomainBlocksGetNotFound) Code() int

Code gets the status code for the domain blocks get not found response

func (*DomainBlocksGetNotFound) Error

func (o *DomainBlocksGetNotFound) Error() string

func (*DomainBlocksGetNotFound) IsClientError

func (o *DomainBlocksGetNotFound) IsClientError() bool

IsClientError returns true when this domain blocks get not found response has a 4xx status code

func (*DomainBlocksGetNotFound) IsCode

func (o *DomainBlocksGetNotFound) IsCode(code int) bool

IsCode returns true when this domain blocks get not found response a status code equal to that given

func (*DomainBlocksGetNotFound) IsRedirect

func (o *DomainBlocksGetNotFound) IsRedirect() bool

IsRedirect returns true when this domain blocks get not found response has a 3xx status code

func (*DomainBlocksGetNotFound) IsServerError

func (o *DomainBlocksGetNotFound) IsServerError() bool

IsServerError returns true when this domain blocks get not found response has a 5xx status code

func (*DomainBlocksGetNotFound) IsSuccess

func (o *DomainBlocksGetNotFound) IsSuccess() bool

IsSuccess returns true when this domain blocks get not found response has a 2xx status code

func (*DomainBlocksGetNotFound) String

func (o *DomainBlocksGetNotFound) String() string

type DomainBlocksGetOK

type DomainBlocksGetOK struct {
	Payload []*models.DomainPermission
}

DomainBlocksGetOK describes a response with status code 200, with default header values.

All domain blocks currently in place.

func NewDomainBlocksGetOK

func NewDomainBlocksGetOK() *DomainBlocksGetOK

NewDomainBlocksGetOK creates a DomainBlocksGetOK with default headers values

func (*DomainBlocksGetOK) Code

func (o *DomainBlocksGetOK) Code() int

Code gets the status code for the domain blocks get o k response

func (*DomainBlocksGetOK) Error

func (o *DomainBlocksGetOK) Error() string

func (*DomainBlocksGetOK) GetPayload

func (o *DomainBlocksGetOK) GetPayload() []*models.DomainPermission

func (*DomainBlocksGetOK) IsClientError

func (o *DomainBlocksGetOK) IsClientError() bool

IsClientError returns true when this domain blocks get o k response has a 4xx status code

func (*DomainBlocksGetOK) IsCode

func (o *DomainBlocksGetOK) IsCode(code int) bool

IsCode returns true when this domain blocks get o k response a status code equal to that given

func (*DomainBlocksGetOK) IsRedirect

func (o *DomainBlocksGetOK) IsRedirect() bool

IsRedirect returns true when this domain blocks get o k response has a 3xx status code

func (*DomainBlocksGetOK) IsServerError

func (o *DomainBlocksGetOK) IsServerError() bool

IsServerError returns true when this domain blocks get o k response has a 5xx status code

func (*DomainBlocksGetOK) IsSuccess

func (o *DomainBlocksGetOK) IsSuccess() bool

IsSuccess returns true when this domain blocks get o k response has a 2xx status code

func (*DomainBlocksGetOK) String

func (o *DomainBlocksGetOK) String() string

type DomainBlocksGetParams

type DomainBlocksGetParams struct {

	/* Export.

	   If set to `true`, then each entry in the returned list of domain blocks will only consist of the fields `domain` and `public_comment`. This is perfect for when you want to save and share a list of all the domains you have blocked on your instance, so that someone else can easily import them, but you don't want them to see the database IDs of your blocks, or private comments etc.
	*/
	Export *bool

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

DomainBlocksGetParams contains all the parameters to send to the API endpoint

for the domain blocks get operation.

Typically these are written to a http.Request.

func NewDomainBlocksGetParams

func NewDomainBlocksGetParams() *DomainBlocksGetParams

NewDomainBlocksGetParams creates a new DomainBlocksGetParams 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 NewDomainBlocksGetParamsWithContext

func NewDomainBlocksGetParamsWithContext(ctx context.Context) *DomainBlocksGetParams

NewDomainBlocksGetParamsWithContext creates a new DomainBlocksGetParams object with the ability to set a context for a request.

func NewDomainBlocksGetParamsWithHTTPClient

func NewDomainBlocksGetParamsWithHTTPClient(client *http.Client) *DomainBlocksGetParams

NewDomainBlocksGetParamsWithHTTPClient creates a new DomainBlocksGetParams object with the ability to set a custom HTTPClient for a request.

func NewDomainBlocksGetParamsWithTimeout

func NewDomainBlocksGetParamsWithTimeout(timeout time.Duration) *DomainBlocksGetParams

NewDomainBlocksGetParamsWithTimeout creates a new DomainBlocksGetParams object with the ability to set a timeout on a request.

func (*DomainBlocksGetParams) SetContext

func (o *DomainBlocksGetParams) SetContext(ctx context.Context)

SetContext adds the context to the domain blocks get params

func (*DomainBlocksGetParams) SetDefaults

func (o *DomainBlocksGetParams) SetDefaults()

SetDefaults hydrates default values in the domain blocks get params (not the query body).

All values with no default are reset to their zero value.

func (*DomainBlocksGetParams) SetExport

func (o *DomainBlocksGetParams) SetExport(export *bool)

SetExport adds the export to the domain blocks get params

func (*DomainBlocksGetParams) SetHTTPClient

func (o *DomainBlocksGetParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the domain blocks get params

func (*DomainBlocksGetParams) SetTimeout

func (o *DomainBlocksGetParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the domain blocks get params

func (*DomainBlocksGetParams) WithContext

WithContext adds the context to the domain blocks get params

func (*DomainBlocksGetParams) WithDefaults

func (o *DomainBlocksGetParams) WithDefaults() *DomainBlocksGetParams

WithDefaults hydrates default values in the domain blocks get params (not the query body).

All values with no default are reset to their zero value.

func (*DomainBlocksGetParams) WithExport

func (o *DomainBlocksGetParams) WithExport(export *bool) *DomainBlocksGetParams

WithExport adds the export to the domain blocks get params

func (*DomainBlocksGetParams) WithHTTPClient

func (o *DomainBlocksGetParams) WithHTTPClient(client *http.Client) *DomainBlocksGetParams

WithHTTPClient adds the HTTPClient to the domain blocks get params

func (*DomainBlocksGetParams) WithTimeout

func (o *DomainBlocksGetParams) WithTimeout(timeout time.Duration) *DomainBlocksGetParams

WithTimeout adds the timeout to the domain blocks get params

func (*DomainBlocksGetParams) WriteToRequest

func (o *DomainBlocksGetParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type DomainBlocksGetReader

type DomainBlocksGetReader struct {
	// contains filtered or unexported fields
}

DomainBlocksGetReader is a Reader for the DomainBlocksGet structure.

func (*DomainBlocksGetReader) ReadResponse

func (o *DomainBlocksGetReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type DomainBlocksGetUnauthorized

type DomainBlocksGetUnauthorized struct {
}

DomainBlocksGetUnauthorized describes a response with status code 401, with default header values.

unauthorized

func NewDomainBlocksGetUnauthorized

func NewDomainBlocksGetUnauthorized() *DomainBlocksGetUnauthorized

NewDomainBlocksGetUnauthorized creates a DomainBlocksGetUnauthorized with default headers values

func (*DomainBlocksGetUnauthorized) Code

func (o *DomainBlocksGetUnauthorized) Code() int

Code gets the status code for the domain blocks get unauthorized response

func (*DomainBlocksGetUnauthorized) Error

func (*DomainBlocksGetUnauthorized) IsClientError

func (o *DomainBlocksGetUnauthorized) IsClientError() bool

IsClientError returns true when this domain blocks get unauthorized response has a 4xx status code

func (*DomainBlocksGetUnauthorized) IsCode

func (o *DomainBlocksGetUnauthorized) IsCode(code int) bool

IsCode returns true when this domain blocks get unauthorized response a status code equal to that given

func (*DomainBlocksGetUnauthorized) IsRedirect

func (o *DomainBlocksGetUnauthorized) IsRedirect() bool

IsRedirect returns true when this domain blocks get unauthorized response has a 3xx status code

func (*DomainBlocksGetUnauthorized) IsServerError

func (o *DomainBlocksGetUnauthorized) IsServerError() bool

IsServerError returns true when this domain blocks get unauthorized response has a 5xx status code

func (*DomainBlocksGetUnauthorized) IsSuccess

func (o *DomainBlocksGetUnauthorized) IsSuccess() bool

IsSuccess returns true when this domain blocks get unauthorized response has a 2xx status code

func (*DomainBlocksGetUnauthorized) String

func (o *DomainBlocksGetUnauthorized) String() string

type DomainKeysExpireAccepted

type DomainKeysExpireAccepted struct {
	Payload *models.AdminActionResponse
}

DomainKeysExpireAccepted describes a response with status code 202, with default header values.

Request accepted and will be processed. Check the logs for progress / errors.

func NewDomainKeysExpireAccepted

func NewDomainKeysExpireAccepted() *DomainKeysExpireAccepted

NewDomainKeysExpireAccepted creates a DomainKeysExpireAccepted with default headers values

func (*DomainKeysExpireAccepted) Code

func (o *DomainKeysExpireAccepted) Code() int

Code gets the status code for the domain keys expire accepted response

func (*DomainKeysExpireAccepted) Error

func (o *DomainKeysExpireAccepted) Error() string

func (*DomainKeysExpireAccepted) GetPayload

func (*DomainKeysExpireAccepted) IsClientError

func (o *DomainKeysExpireAccepted) IsClientError() bool

IsClientError returns true when this domain keys expire accepted response has a 4xx status code

func (*DomainKeysExpireAccepted) IsCode

func (o *DomainKeysExpireAccepted) IsCode(code int) bool

IsCode returns true when this domain keys expire accepted response a status code equal to that given

func (*DomainKeysExpireAccepted) IsRedirect

func (o *DomainKeysExpireAccepted) IsRedirect() bool

IsRedirect returns true when this domain keys expire accepted response has a 3xx status code

func (*DomainKeysExpireAccepted) IsServerError

func (o *DomainKeysExpireAccepted) IsServerError() bool

IsServerError returns true when this domain keys expire accepted response has a 5xx status code

func (*DomainKeysExpireAccepted) IsSuccess

func (o *DomainKeysExpireAccepted) IsSuccess() bool

IsSuccess returns true when this domain keys expire accepted response has a 2xx status code

func (*DomainKeysExpireAccepted) String

func (o *DomainKeysExpireAccepted) String() string

type DomainKeysExpireBadRequest

type DomainKeysExpireBadRequest struct {
}

DomainKeysExpireBadRequest describes a response with status code 400, with default header values.

bad request

func NewDomainKeysExpireBadRequest

func NewDomainKeysExpireBadRequest() *DomainKeysExpireBadRequest

NewDomainKeysExpireBadRequest creates a DomainKeysExpireBadRequest with default headers values

func (*DomainKeysExpireBadRequest) Code

func (o *DomainKeysExpireBadRequest) Code() int

Code gets the status code for the domain keys expire bad request response

func (*DomainKeysExpireBadRequest) Error

func (*DomainKeysExpireBadRequest) IsClientError

func (o *DomainKeysExpireBadRequest) IsClientError() bool

IsClientError returns true when this domain keys expire bad request response has a 4xx status code

func (*DomainKeysExpireBadRequest) IsCode

func (o *DomainKeysExpireBadRequest) IsCode(code int) bool

IsCode returns true when this domain keys expire bad request response a status code equal to that given

func (*DomainKeysExpireBadRequest) IsRedirect

func (o *DomainKeysExpireBadRequest) IsRedirect() bool

IsRedirect returns true when this domain keys expire bad request response has a 3xx status code

func (*DomainKeysExpireBadRequest) IsServerError

func (o *DomainKeysExpireBadRequest) IsServerError() bool

IsServerError returns true when this domain keys expire bad request response has a 5xx status code

func (*DomainKeysExpireBadRequest) IsSuccess

func (o *DomainKeysExpireBadRequest) IsSuccess() bool

IsSuccess returns true when this domain keys expire bad request response has a 2xx status code

func (*DomainKeysExpireBadRequest) String

func (o *DomainKeysExpireBadRequest) String() string

type DomainKeysExpireConflict

type DomainKeysExpireConflict struct {
}

DomainKeysExpireConflict describes a response with status code 409, with default header values.

Conflict: There is already an admin action running that conflicts with this action. Check the error message in the response body for more information. This is a temporary error; it should be possible to process this action if you try again in a bit.

func NewDomainKeysExpireConflict

func NewDomainKeysExpireConflict() *DomainKeysExpireConflict

NewDomainKeysExpireConflict creates a DomainKeysExpireConflict with default headers values

func (*DomainKeysExpireConflict) Code

func (o *DomainKeysExpireConflict) Code() int

Code gets the status code for the domain keys expire conflict response

func (*DomainKeysExpireConflict) Error

func (o *DomainKeysExpireConflict) Error() string

func (*DomainKeysExpireConflict) IsClientError

func (o *DomainKeysExpireConflict) IsClientError() bool

IsClientError returns true when this domain keys expire conflict response has a 4xx status code

func (*DomainKeysExpireConflict) IsCode

func (o *DomainKeysExpireConflict) IsCode(code int) bool

IsCode returns true when this domain keys expire conflict response a status code equal to that given

func (*DomainKeysExpireConflict) IsRedirect

func (o *DomainKeysExpireConflict) IsRedirect() bool

IsRedirect returns true when this domain keys expire conflict response has a 3xx status code

func (*DomainKeysExpireConflict) IsServerError

func (o *DomainKeysExpireConflict) IsServerError() bool

IsServerError returns true when this domain keys expire conflict response has a 5xx status code

func (*DomainKeysExpireConflict) IsSuccess

func (o *DomainKeysExpireConflict) IsSuccess() bool

IsSuccess returns true when this domain keys expire conflict response has a 2xx status code

func (*DomainKeysExpireConflict) String

func (o *DomainKeysExpireConflict) String() string

type DomainKeysExpireForbidden

type DomainKeysExpireForbidden struct {
}

DomainKeysExpireForbidden describes a response with status code 403, with default header values.

forbidden

func NewDomainKeysExpireForbidden

func NewDomainKeysExpireForbidden() *DomainKeysExpireForbidden

NewDomainKeysExpireForbidden creates a DomainKeysExpireForbidden with default headers values

func (*DomainKeysExpireForbidden) Code

func (o *DomainKeysExpireForbidden) Code() int

Code gets the status code for the domain keys expire forbidden response

func (*DomainKeysExpireForbidden) Error

func (o *DomainKeysExpireForbidden) Error() string

func (*DomainKeysExpireForbidden) IsClientError

func (o *DomainKeysExpireForbidden) IsClientError() bool

IsClientError returns true when this domain keys expire forbidden response has a 4xx status code

func (*DomainKeysExpireForbidden) IsCode

func (o *DomainKeysExpireForbidden) IsCode(code int) bool

IsCode returns true when this domain keys expire forbidden response a status code equal to that given

func (*DomainKeysExpireForbidden) IsRedirect

func (o *DomainKeysExpireForbidden) IsRedirect() bool

IsRedirect returns true when this domain keys expire forbidden response has a 3xx status code

func (*DomainKeysExpireForbidden) IsServerError

func (o *DomainKeysExpireForbidden) IsServerError() bool

IsServerError returns true when this domain keys expire forbidden response has a 5xx status code

func (*DomainKeysExpireForbidden) IsSuccess

func (o *DomainKeysExpireForbidden) IsSuccess() bool

IsSuccess returns true when this domain keys expire forbidden response has a 2xx status code

func (*DomainKeysExpireForbidden) String

func (o *DomainKeysExpireForbidden) String() string

type DomainKeysExpireInternalServerError

type DomainKeysExpireInternalServerError struct {
}

DomainKeysExpireInternalServerError describes a response with status code 500, with default header values.

internal server error

func NewDomainKeysExpireInternalServerError

func NewDomainKeysExpireInternalServerError() *DomainKeysExpireInternalServerError

NewDomainKeysExpireInternalServerError creates a DomainKeysExpireInternalServerError with default headers values

func (*DomainKeysExpireInternalServerError) Code

Code gets the status code for the domain keys expire internal server error response

func (*DomainKeysExpireInternalServerError) Error

func (*DomainKeysExpireInternalServerError) IsClientError

func (o *DomainKeysExpireInternalServerError) IsClientError() bool

IsClientError returns true when this domain keys expire internal server error response has a 4xx status code

func (*DomainKeysExpireInternalServerError) IsCode

IsCode returns true when this domain keys expire internal server error response a status code equal to that given

func (*DomainKeysExpireInternalServerError) IsRedirect

func (o *DomainKeysExpireInternalServerError) IsRedirect() bool

IsRedirect returns true when this domain keys expire internal server error response has a 3xx status code

func (*DomainKeysExpireInternalServerError) IsServerError

func (o *DomainKeysExpireInternalServerError) IsServerError() bool

IsServerError returns true when this domain keys expire internal server error response has a 5xx status code

func (*DomainKeysExpireInternalServerError) IsSuccess

IsSuccess returns true when this domain keys expire internal server error response has a 2xx status code

func (*DomainKeysExpireInternalServerError) String

type DomainKeysExpireNotAcceptable

type DomainKeysExpireNotAcceptable struct {
}

DomainKeysExpireNotAcceptable describes a response with status code 406, with default header values.

not acceptable

func NewDomainKeysExpireNotAcceptable

func NewDomainKeysExpireNotAcceptable() *DomainKeysExpireNotAcceptable

NewDomainKeysExpireNotAcceptable creates a DomainKeysExpireNotAcceptable with default headers values

func (*DomainKeysExpireNotAcceptable) Code

Code gets the status code for the domain keys expire not acceptable response

func (*DomainKeysExpireNotAcceptable) Error

func (*DomainKeysExpireNotAcceptable) IsClientError

func (o *DomainKeysExpireNotAcceptable) IsClientError() bool

IsClientError returns true when this domain keys expire not acceptable response has a 4xx status code

func (*DomainKeysExpireNotAcceptable) IsCode

func (o *DomainKeysExpireNotAcceptable) IsCode(code int) bool

IsCode returns true when this domain keys expire not acceptable response a status code equal to that given

func (*DomainKeysExpireNotAcceptable) IsRedirect

func (o *DomainKeysExpireNotAcceptable) IsRedirect() bool

IsRedirect returns true when this domain keys expire not acceptable response has a 3xx status code

func (*DomainKeysExpireNotAcceptable) IsServerError

func (o *DomainKeysExpireNotAcceptable) IsServerError() bool

IsServerError returns true when this domain keys expire not acceptable response has a 5xx status code

func (*DomainKeysExpireNotAcceptable) IsSuccess

func (o *DomainKeysExpireNotAcceptable) IsSuccess() bool

IsSuccess returns true when this domain keys expire not acceptable response has a 2xx status code

func (*DomainKeysExpireNotAcceptable) String

type DomainKeysExpireNotFound

type DomainKeysExpireNotFound struct {
}

DomainKeysExpireNotFound describes a response with status code 404, with default header values.

not found

func NewDomainKeysExpireNotFound

func NewDomainKeysExpireNotFound() *DomainKeysExpireNotFound

NewDomainKeysExpireNotFound creates a DomainKeysExpireNotFound with default headers values

func (*DomainKeysExpireNotFound) Code

func (o *DomainKeysExpireNotFound) Code() int

Code gets the status code for the domain keys expire not found response

func (*DomainKeysExpireNotFound) Error

func (o *DomainKeysExpireNotFound) Error() string

func (*DomainKeysExpireNotFound) IsClientError

func (o *DomainKeysExpireNotFound) IsClientError() bool

IsClientError returns true when this domain keys expire not found response has a 4xx status code

func (*DomainKeysExpireNotFound) IsCode

func (o *DomainKeysExpireNotFound) IsCode(code int) bool

IsCode returns true when this domain keys expire not found response a status code equal to that given

func (*DomainKeysExpireNotFound) IsRedirect

func (o *DomainKeysExpireNotFound) IsRedirect() bool

IsRedirect returns true when this domain keys expire not found response has a 3xx status code

func (*DomainKeysExpireNotFound) IsServerError

func (o *DomainKeysExpireNotFound) IsServerError() bool

IsServerError returns true when this domain keys expire not found response has a 5xx status code

func (*DomainKeysExpireNotFound) IsSuccess

func (o *DomainKeysExpireNotFound) IsSuccess() bool

IsSuccess returns true when this domain keys expire not found response has a 2xx status code

func (*DomainKeysExpireNotFound) String

func (o *DomainKeysExpireNotFound) String() string

type DomainKeysExpireParams

type DomainKeysExpireParams struct {

	/* Domain.

	     Domain to expire keys for.
	Sample: example.org
	*/
	Domain *string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

DomainKeysExpireParams contains all the parameters to send to the API endpoint

for the domain keys expire operation.

Typically these are written to a http.Request.

func NewDomainKeysExpireParams

func NewDomainKeysExpireParams() *DomainKeysExpireParams

NewDomainKeysExpireParams creates a new DomainKeysExpireParams 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 NewDomainKeysExpireParamsWithContext

func NewDomainKeysExpireParamsWithContext(ctx context.Context) *DomainKeysExpireParams

NewDomainKeysExpireParamsWithContext creates a new DomainKeysExpireParams object with the ability to set a context for a request.

func NewDomainKeysExpireParamsWithHTTPClient

func NewDomainKeysExpireParamsWithHTTPClient(client *http.Client) *DomainKeysExpireParams

NewDomainKeysExpireParamsWithHTTPClient creates a new DomainKeysExpireParams object with the ability to set a custom HTTPClient for a request.

func NewDomainKeysExpireParamsWithTimeout

func NewDomainKeysExpireParamsWithTimeout(timeout time.Duration) *DomainKeysExpireParams

NewDomainKeysExpireParamsWithTimeout creates a new DomainKeysExpireParams object with the ability to set a timeout on a request.

func (*DomainKeysExpireParams) SetContext

func (o *DomainKeysExpireParams) SetContext(ctx context.Context)

SetContext adds the context to the domain keys expire params

func (*DomainKeysExpireParams) SetDefaults

func (o *DomainKeysExpireParams) SetDefaults()

SetDefaults hydrates default values in the domain keys expire params (not the query body).

All values with no default are reset to their zero value.

func (*DomainKeysExpireParams) SetDomain

func (o *DomainKeysExpireParams) SetDomain(domain *string)

SetDomain adds the domain to the domain keys expire params

func (*DomainKeysExpireParams) SetHTTPClient

func (o *DomainKeysExpireParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the domain keys expire params

func (*DomainKeysExpireParams) SetTimeout

func (o *DomainKeysExpireParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the domain keys expire params

func (*DomainKeysExpireParams) WithContext

WithContext adds the context to the domain keys expire params

func (*DomainKeysExpireParams) WithDefaults

WithDefaults hydrates default values in the domain keys expire params (not the query body).

All values with no default are reset to their zero value.

func (*DomainKeysExpireParams) WithDomain

func (o *DomainKeysExpireParams) WithDomain(domain *string) *DomainKeysExpireParams

WithDomain adds the domain to the domain keys expire params

func (*DomainKeysExpireParams) WithHTTPClient

func (o *DomainKeysExpireParams) WithHTTPClient(client *http.Client) *DomainKeysExpireParams

WithHTTPClient adds the HTTPClient to the domain keys expire params

func (*DomainKeysExpireParams) WithTimeout

WithTimeout adds the timeout to the domain keys expire params

func (*DomainKeysExpireParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type DomainKeysExpireReader

type DomainKeysExpireReader struct {
	// contains filtered or unexported fields
}

DomainKeysExpireReader is a Reader for the DomainKeysExpire structure.

func (*DomainKeysExpireReader) ReadResponse

func (o *DomainKeysExpireReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type DomainKeysExpireUnauthorized

type DomainKeysExpireUnauthorized struct {
}

DomainKeysExpireUnauthorized describes a response with status code 401, with default header values.

unauthorized

func NewDomainKeysExpireUnauthorized

func NewDomainKeysExpireUnauthorized() *DomainKeysExpireUnauthorized

NewDomainKeysExpireUnauthorized creates a DomainKeysExpireUnauthorized with default headers values

func (*DomainKeysExpireUnauthorized) Code

Code gets the status code for the domain keys expire unauthorized response

func (*DomainKeysExpireUnauthorized) Error

func (*DomainKeysExpireUnauthorized) IsClientError

func (o *DomainKeysExpireUnauthorized) IsClientError() bool

IsClientError returns true when this domain keys expire unauthorized response has a 4xx status code

func (*DomainKeysExpireUnauthorized) IsCode

func (o *DomainKeysExpireUnauthorized) IsCode(code int) bool

IsCode returns true when this domain keys expire unauthorized response a status code equal to that given

func (*DomainKeysExpireUnauthorized) IsRedirect

func (o *DomainKeysExpireUnauthorized) IsRedirect() bool

IsRedirect returns true when this domain keys expire unauthorized response has a 3xx status code

func (*DomainKeysExpireUnauthorized) IsServerError

func (o *DomainKeysExpireUnauthorized) IsServerError() bool

IsServerError returns true when this domain keys expire unauthorized response has a 5xx status code

func (*DomainKeysExpireUnauthorized) IsSuccess

func (o *DomainKeysExpireUnauthorized) IsSuccess() bool

IsSuccess returns true when this domain keys expire unauthorized response has a 2xx status code

func (*DomainKeysExpireUnauthorized) String

type EmojiCategoriesGetBadRequest

type EmojiCategoriesGetBadRequest struct {
}

EmojiCategoriesGetBadRequest describes a response with status code 400, with default header values.

bad request

func NewEmojiCategoriesGetBadRequest

func NewEmojiCategoriesGetBadRequest() *EmojiCategoriesGetBadRequest

NewEmojiCategoriesGetBadRequest creates a EmojiCategoriesGetBadRequest with default headers values

func (*EmojiCategoriesGetBadRequest) Code

Code gets the status code for the emoji categories get bad request response

func (*EmojiCategoriesGetBadRequest) Error

func (*EmojiCategoriesGetBadRequest) IsClientError

func (o *EmojiCategoriesGetBadRequest) IsClientError() bool

IsClientError returns true when this emoji categories get bad request response has a 4xx status code

func (*EmojiCategoriesGetBadRequest) IsCode

func (o *EmojiCategoriesGetBadRequest) IsCode(code int) bool

IsCode returns true when this emoji categories get bad request response a status code equal to that given

func (*EmojiCategoriesGetBadRequest) IsRedirect

func (o *EmojiCategoriesGetBadRequest) IsRedirect() bool

IsRedirect returns true when this emoji categories get bad request response has a 3xx status code

func (*EmojiCategoriesGetBadRequest) IsServerError

func (o *EmojiCategoriesGetBadRequest) IsServerError() bool

IsServerError returns true when this emoji categories get bad request response has a 5xx status code

func (*EmojiCategoriesGetBadRequest) IsSuccess

func (o *EmojiCategoriesGetBadRequest) IsSuccess() bool

IsSuccess returns true when this emoji categories get bad request response has a 2xx status code

func (*EmojiCategoriesGetBadRequest) String

type EmojiCategoriesGetForbidden

type EmojiCategoriesGetForbidden struct {
}

EmojiCategoriesGetForbidden describes a response with status code 403, with default header values.

forbidden

func NewEmojiCategoriesGetForbidden

func NewEmojiCategoriesGetForbidden() *EmojiCategoriesGetForbidden

NewEmojiCategoriesGetForbidden creates a EmojiCategoriesGetForbidden with default headers values

func (*EmojiCategoriesGetForbidden) Code

func (o *EmojiCategoriesGetForbidden) Code() int

Code gets the status code for the emoji categories get forbidden response

func (*EmojiCategoriesGetForbidden) Error

func (*EmojiCategoriesGetForbidden) IsClientError

func (o *EmojiCategoriesGetForbidden) IsClientError() bool

IsClientError returns true when this emoji categories get forbidden response has a 4xx status code

func (*EmojiCategoriesGetForbidden) IsCode

func (o *EmojiCategoriesGetForbidden) IsCode(code int) bool

IsCode returns true when this emoji categories get forbidden response a status code equal to that given

func (*EmojiCategoriesGetForbidden) IsRedirect

func (o *EmojiCategoriesGetForbidden) IsRedirect() bool

IsRedirect returns true when this emoji categories get forbidden response has a 3xx status code

func (*EmojiCategoriesGetForbidden) IsServerError

func (o *EmojiCategoriesGetForbidden) IsServerError() bool

IsServerError returns true when this emoji categories get forbidden response has a 5xx status code

func (*EmojiCategoriesGetForbidden) IsSuccess

func (o *EmojiCategoriesGetForbidden) IsSuccess() bool

IsSuccess returns true when this emoji categories get forbidden response has a 2xx status code

func (*EmojiCategoriesGetForbidden) String

func (o *EmojiCategoriesGetForbidden) String() string

type EmojiCategoriesGetInternalServerError

type EmojiCategoriesGetInternalServerError struct {
}

EmojiCategoriesGetInternalServerError describes a response with status code 500, with default header values.

internal server error

func NewEmojiCategoriesGetInternalServerError

func NewEmojiCategoriesGetInternalServerError() *EmojiCategoriesGetInternalServerError

NewEmojiCategoriesGetInternalServerError creates a EmojiCategoriesGetInternalServerError with default headers values

func (*EmojiCategoriesGetInternalServerError) Code

Code gets the status code for the emoji categories get internal server error response

func (*EmojiCategoriesGetInternalServerError) Error

func (*EmojiCategoriesGetInternalServerError) IsClientError

func (o *EmojiCategoriesGetInternalServerError) IsClientError() bool

IsClientError returns true when this emoji categories get internal server error response has a 4xx status code

func (*EmojiCategoriesGetInternalServerError) IsCode

IsCode returns true when this emoji categories get internal server error response a status code equal to that given

func (*EmojiCategoriesGetInternalServerError) IsRedirect

IsRedirect returns true when this emoji categories get internal server error response has a 3xx status code

func (*EmojiCategoriesGetInternalServerError) IsServerError

func (o *EmojiCategoriesGetInternalServerError) IsServerError() bool

IsServerError returns true when this emoji categories get internal server error response has a 5xx status code

func (*EmojiCategoriesGetInternalServerError) IsSuccess

IsSuccess returns true when this emoji categories get internal server error response has a 2xx status code

func (*EmojiCategoriesGetInternalServerError) String

type EmojiCategoriesGetNotAcceptable

type EmojiCategoriesGetNotAcceptable struct {
}

EmojiCategoriesGetNotAcceptable describes a response with status code 406, with default header values.

not acceptable

func NewEmojiCategoriesGetNotAcceptable

func NewEmojiCategoriesGetNotAcceptable() *EmojiCategoriesGetNotAcceptable

NewEmojiCategoriesGetNotAcceptable creates a EmojiCategoriesGetNotAcceptable with default headers values

func (*EmojiCategoriesGetNotAcceptable) Code

Code gets the status code for the emoji categories get not acceptable response

func (*EmojiCategoriesGetNotAcceptable) Error

func (*EmojiCategoriesGetNotAcceptable) IsClientError

func (o *EmojiCategoriesGetNotAcceptable) IsClientError() bool

IsClientError returns true when this emoji categories get not acceptable response has a 4xx status code

func (*EmojiCategoriesGetNotAcceptable) IsCode

func (o *EmojiCategoriesGetNotAcceptable) IsCode(code int) bool

IsCode returns true when this emoji categories get not acceptable response a status code equal to that given

func (*EmojiCategoriesGetNotAcceptable) IsRedirect

func (o *EmojiCategoriesGetNotAcceptable) IsRedirect() bool

IsRedirect returns true when this emoji categories get not acceptable response has a 3xx status code

func (*EmojiCategoriesGetNotAcceptable) IsServerError

func (o *EmojiCategoriesGetNotAcceptable) IsServerError() bool

IsServerError returns true when this emoji categories get not acceptable response has a 5xx status code

func (*EmojiCategoriesGetNotAcceptable) IsSuccess

func (o *EmojiCategoriesGetNotAcceptable) IsSuccess() bool

IsSuccess returns true when this emoji categories get not acceptable response has a 2xx status code

func (*EmojiCategoriesGetNotAcceptable) String

type EmojiCategoriesGetNotFound

type EmojiCategoriesGetNotFound struct {
}

EmojiCategoriesGetNotFound describes a response with status code 404, with default header values.

not found

func NewEmojiCategoriesGetNotFound

func NewEmojiCategoriesGetNotFound() *EmojiCategoriesGetNotFound

NewEmojiCategoriesGetNotFound creates a EmojiCategoriesGetNotFound with default headers values

func (*EmojiCategoriesGetNotFound) Code

func (o *EmojiCategoriesGetNotFound) Code() int

Code gets the status code for the emoji categories get not found response

func (*EmojiCategoriesGetNotFound) Error

func (*EmojiCategoriesGetNotFound) IsClientError

func (o *EmojiCategoriesGetNotFound) IsClientError() bool

IsClientError returns true when this emoji categories get not found response has a 4xx status code

func (*EmojiCategoriesGetNotFound) IsCode

func (o *EmojiCategoriesGetNotFound) IsCode(code int) bool

IsCode returns true when this emoji categories get not found response a status code equal to that given

func (*EmojiCategoriesGetNotFound) IsRedirect

func (o *EmojiCategoriesGetNotFound) IsRedirect() bool

IsRedirect returns true when this emoji categories get not found response has a 3xx status code

func (*EmojiCategoriesGetNotFound) IsServerError

func (o *EmojiCategoriesGetNotFound) IsServerError() bool

IsServerError returns true when this emoji categories get not found response has a 5xx status code

func (*EmojiCategoriesGetNotFound) IsSuccess

func (o *EmojiCategoriesGetNotFound) IsSuccess() bool

IsSuccess returns true when this emoji categories get not found response has a 2xx status code

func (*EmojiCategoriesGetNotFound) String

func (o *EmojiCategoriesGetNotFound) String() string

type EmojiCategoriesGetOK

type EmojiCategoriesGetOK struct {
	Payload []*models.EmojiCategory
}

EmojiCategoriesGetOK describes a response with status code 200, with default header values.

Array of existing emoji categories.

func NewEmojiCategoriesGetOK

func NewEmojiCategoriesGetOK() *EmojiCategoriesGetOK

NewEmojiCategoriesGetOK creates a EmojiCategoriesGetOK with default headers values

func (*EmojiCategoriesGetOK) Code

func (o *EmojiCategoriesGetOK) Code() int

Code gets the status code for the emoji categories get o k response

func (*EmojiCategoriesGetOK) Error

func (o *EmojiCategoriesGetOK) Error() string

func (*EmojiCategoriesGetOK) GetPayload

func (o *EmojiCategoriesGetOK) GetPayload() []*models.EmojiCategory

func (*EmojiCategoriesGetOK) IsClientError

func (o *EmojiCategoriesGetOK) IsClientError() bool

IsClientError returns true when this emoji categories get o k response has a 4xx status code

func (*EmojiCategoriesGetOK) IsCode

func (o *EmojiCategoriesGetOK) IsCode(code int) bool

IsCode returns true when this emoji categories get o k response a status code equal to that given

func (*EmojiCategoriesGetOK) IsRedirect

func (o *EmojiCategoriesGetOK) IsRedirect() bool

IsRedirect returns true when this emoji categories get o k response has a 3xx status code

func (*EmojiCategoriesGetOK) IsServerError

func (o *EmojiCategoriesGetOK) IsServerError() bool

IsServerError returns true when this emoji categories get o k response has a 5xx status code

func (*EmojiCategoriesGetOK) IsSuccess

func (o *EmojiCategoriesGetOK) IsSuccess() bool

IsSuccess returns true when this emoji categories get o k response has a 2xx status code

func (*EmojiCategoriesGetOK) String

func (o *EmojiCategoriesGetOK) String() string

type EmojiCategoriesGetParams

type EmojiCategoriesGetParams struct {
	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

EmojiCategoriesGetParams contains all the parameters to send to the API endpoint

for the emoji categories get operation.

Typically these are written to a http.Request.

func NewEmojiCategoriesGetParams

func NewEmojiCategoriesGetParams() *EmojiCategoriesGetParams

NewEmojiCategoriesGetParams creates a new EmojiCategoriesGetParams 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 NewEmojiCategoriesGetParamsWithContext

func NewEmojiCategoriesGetParamsWithContext(ctx context.Context) *EmojiCategoriesGetParams

NewEmojiCategoriesGetParamsWithContext creates a new EmojiCategoriesGetParams object with the ability to set a context for a request.

func NewEmojiCategoriesGetParamsWithHTTPClient

func NewEmojiCategoriesGetParamsWithHTTPClient(client *http.Client) *EmojiCategoriesGetParams

NewEmojiCategoriesGetParamsWithHTTPClient creates a new EmojiCategoriesGetParams object with the ability to set a custom HTTPClient for a request.

func NewEmojiCategoriesGetParamsWithTimeout

func NewEmojiCategoriesGetParamsWithTimeout(timeout time.Duration) *EmojiCategoriesGetParams

NewEmojiCategoriesGetParamsWithTimeout creates a new EmojiCategoriesGetParams object with the ability to set a timeout on a request.

func (*EmojiCategoriesGetParams) SetContext

func (o *EmojiCategoriesGetParams) SetContext(ctx context.Context)

SetContext adds the context to the emoji categories get params

func (*EmojiCategoriesGetParams) SetDefaults

func (o *EmojiCategoriesGetParams) SetDefaults()

SetDefaults hydrates default values in the emoji categories get params (not the query body).

All values with no default are reset to their zero value.

func (*EmojiCategoriesGetParams) SetHTTPClient

func (o *EmojiCategoriesGetParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the emoji categories get params

func (*EmojiCategoriesGetParams) SetTimeout

func (o *EmojiCategoriesGetParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the emoji categories get params

func (*EmojiCategoriesGetParams) WithContext

WithContext adds the context to the emoji categories get params

func (*EmojiCategoriesGetParams) WithDefaults

WithDefaults hydrates default values in the emoji categories get params (not the query body).

All values with no default are reset to their zero value.

func (*EmojiCategoriesGetParams) WithHTTPClient

func (o *EmojiCategoriesGetParams) WithHTTPClient(client *http.Client) *EmojiCategoriesGetParams

WithHTTPClient adds the HTTPClient to the emoji categories get params

func (*EmojiCategoriesGetParams) WithTimeout

WithTimeout adds the timeout to the emoji categories get params

func (*EmojiCategoriesGetParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type EmojiCategoriesGetReader

type EmojiCategoriesGetReader struct {
	// contains filtered or unexported fields
}

EmojiCategoriesGetReader is a Reader for the EmojiCategoriesGet structure.

func (*EmojiCategoriesGetReader) ReadResponse

func (o *EmojiCategoriesGetReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type EmojiCategoriesGetUnauthorized

type EmojiCategoriesGetUnauthorized struct {
}

EmojiCategoriesGetUnauthorized describes a response with status code 401, with default header values.

unauthorized

func NewEmojiCategoriesGetUnauthorized

func NewEmojiCategoriesGetUnauthorized() *EmojiCategoriesGetUnauthorized

NewEmojiCategoriesGetUnauthorized creates a EmojiCategoriesGetUnauthorized with default headers values

func (*EmojiCategoriesGetUnauthorized) Code

Code gets the status code for the emoji categories get unauthorized response

func (*EmojiCategoriesGetUnauthorized) Error

func (*EmojiCategoriesGetUnauthorized) IsClientError

func (o *EmojiCategoriesGetUnauthorized) IsClientError() bool

IsClientError returns true when this emoji categories get unauthorized response has a 4xx status code

func (*EmojiCategoriesGetUnauthorized) IsCode

func (o *EmojiCategoriesGetUnauthorized) IsCode(code int) bool

IsCode returns true when this emoji categories get unauthorized response a status code equal to that given

func (*EmojiCategoriesGetUnauthorized) IsRedirect

func (o *EmojiCategoriesGetUnauthorized) IsRedirect() bool

IsRedirect returns true when this emoji categories get unauthorized response has a 3xx status code

func (*EmojiCategoriesGetUnauthorized) IsServerError

func (o *EmojiCategoriesGetUnauthorized) IsServerError() bool

IsServerError returns true when this emoji categories get unauthorized response has a 5xx status code

func (*EmojiCategoriesGetUnauthorized) IsSuccess

func (o *EmojiCategoriesGetUnauthorized) IsSuccess() bool

IsSuccess returns true when this emoji categories get unauthorized response has a 2xx status code

func (*EmojiCategoriesGetUnauthorized) String

type EmojiCreateBadRequest

type EmojiCreateBadRequest struct {
}

EmojiCreateBadRequest describes a response with status code 400, with default header values.

bad request

func NewEmojiCreateBadRequest

func NewEmojiCreateBadRequest() *EmojiCreateBadRequest

NewEmojiCreateBadRequest creates a EmojiCreateBadRequest with default headers values

func (*EmojiCreateBadRequest) Code

func (o *EmojiCreateBadRequest) Code() int

Code gets the status code for the emoji create bad request response

func (*EmojiCreateBadRequest) Error

func (o *EmojiCreateBadRequest) Error() string

func (*EmojiCreateBadRequest) IsClientError

func (o *EmojiCreateBadRequest) IsClientError() bool

IsClientError returns true when this emoji create bad request response has a 4xx status code

func (*EmojiCreateBadRequest) IsCode

func (o *EmojiCreateBadRequest) IsCode(code int) bool

IsCode returns true when this emoji create bad request response a status code equal to that given

func (*EmojiCreateBadRequest) IsRedirect

func (o *EmojiCreateBadRequest) IsRedirect() bool

IsRedirect returns true when this emoji create bad request response has a 3xx status code

func (*EmojiCreateBadRequest) IsServerError

func (o *EmojiCreateBadRequest) IsServerError() bool

IsServerError returns true when this emoji create bad request response has a 5xx status code

func (*EmojiCreateBadRequest) IsSuccess

func (o *EmojiCreateBadRequest) IsSuccess() bool

IsSuccess returns true when this emoji create bad request response has a 2xx status code

func (*EmojiCreateBadRequest) String

func (o *EmojiCreateBadRequest) String() string

type EmojiCreateConflict

type EmojiCreateConflict struct {
}

EmojiCreateConflict describes a response with status code 409, with default header values.

conflict -- shortcode for this emoji is already in use

func NewEmojiCreateConflict

func NewEmojiCreateConflict() *EmojiCreateConflict

NewEmojiCreateConflict creates a EmojiCreateConflict with default headers values

func (*EmojiCreateConflict) Code

func (o *EmojiCreateConflict) Code() int

Code gets the status code for the emoji create conflict response

func (*EmojiCreateConflict) Error

func (o *EmojiCreateConflict) Error() string

func (*EmojiCreateConflict) IsClientError

func (o *EmojiCreateConflict) IsClientError() bool

IsClientError returns true when this emoji create conflict response has a 4xx status code

func (*EmojiCreateConflict) IsCode

func (o *EmojiCreateConflict) IsCode(code int) bool

IsCode returns true when this emoji create conflict response a status code equal to that given

func (*EmojiCreateConflict) IsRedirect

func (o *EmojiCreateConflict) IsRedirect() bool

IsRedirect returns true when this emoji create conflict response has a 3xx status code

func (*EmojiCreateConflict) IsServerError

func (o *EmojiCreateConflict) IsServerError() bool

IsServerError returns true when this emoji create conflict response has a 5xx status code

func (*EmojiCreateConflict) IsSuccess

func (o *EmojiCreateConflict) IsSuccess() bool

IsSuccess returns true when this emoji create conflict response has a 2xx status code

func (*EmojiCreateConflict) String

func (o *EmojiCreateConflict) String() string

type EmojiCreateForbidden

type EmojiCreateForbidden struct {
}

EmojiCreateForbidden describes a response with status code 403, with default header values.

forbidden

func NewEmojiCreateForbidden

func NewEmojiCreateForbidden() *EmojiCreateForbidden

NewEmojiCreateForbidden creates a EmojiCreateForbidden with default headers values

func (*EmojiCreateForbidden) Code

func (o *EmojiCreateForbidden) Code() int

Code gets the status code for the emoji create forbidden response

func (*EmojiCreateForbidden) Error

func (o *EmojiCreateForbidden) Error() string

func (*EmojiCreateForbidden) IsClientError

func (o *EmojiCreateForbidden) IsClientError() bool

IsClientError returns true when this emoji create forbidden response has a 4xx status code

func (*EmojiCreateForbidden) IsCode

func (o *EmojiCreateForbidden) IsCode(code int) bool

IsCode returns true when this emoji create forbidden response a status code equal to that given

func (*EmojiCreateForbidden) IsRedirect

func (o *EmojiCreateForbidden) IsRedirect() bool

IsRedirect returns true when this emoji create forbidden response has a 3xx status code

func (*EmojiCreateForbidden) IsServerError

func (o *EmojiCreateForbidden) IsServerError() bool

IsServerError returns true when this emoji create forbidden response has a 5xx status code

func (*EmojiCreateForbidden) IsSuccess

func (o *EmojiCreateForbidden) IsSuccess() bool

IsSuccess returns true when this emoji create forbidden response has a 2xx status code

func (*EmojiCreateForbidden) String

func (o *EmojiCreateForbidden) String() string

type EmojiCreateInternalServerError

type EmojiCreateInternalServerError struct {
}

EmojiCreateInternalServerError describes a response with status code 500, with default header values.

internal server error

func NewEmojiCreateInternalServerError

func NewEmojiCreateInternalServerError() *EmojiCreateInternalServerError

NewEmojiCreateInternalServerError creates a EmojiCreateInternalServerError with default headers values

func (*EmojiCreateInternalServerError) Code

Code gets the status code for the emoji create internal server error response

func (*EmojiCreateInternalServerError) Error

func (*EmojiCreateInternalServerError) IsClientError

func (o *EmojiCreateInternalServerError) IsClientError() bool

IsClientError returns true when this emoji create internal server error response has a 4xx status code

func (*EmojiCreateInternalServerError) IsCode

func (o *EmojiCreateInternalServerError) IsCode(code int) bool

IsCode returns true when this emoji create internal server error response a status code equal to that given

func (*EmojiCreateInternalServerError) IsRedirect

func (o *EmojiCreateInternalServerError) IsRedirect() bool

IsRedirect returns true when this emoji create internal server error response has a 3xx status code

func (*EmojiCreateInternalServerError) IsServerError

func (o *EmojiCreateInternalServerError) IsServerError() bool

IsServerError returns true when this emoji create internal server error response has a 5xx status code

func (*EmojiCreateInternalServerError) IsSuccess

func (o *EmojiCreateInternalServerError) IsSuccess() bool

IsSuccess returns true when this emoji create internal server error response has a 2xx status code

func (*EmojiCreateInternalServerError) String

type EmojiCreateNotAcceptable

type EmojiCreateNotAcceptable struct {
}

EmojiCreateNotAcceptable describes a response with status code 406, with default header values.

not acceptable

func NewEmojiCreateNotAcceptable

func NewEmojiCreateNotAcceptable() *EmojiCreateNotAcceptable

NewEmojiCreateNotAcceptable creates a EmojiCreateNotAcceptable with default headers values

func (*EmojiCreateNotAcceptable) Code

func (o *EmojiCreateNotAcceptable) Code() int

Code gets the status code for the emoji create not acceptable response

func (*EmojiCreateNotAcceptable) Error

func (o *EmojiCreateNotAcceptable) Error() string

func (*EmojiCreateNotAcceptable) IsClientError

func (o *EmojiCreateNotAcceptable) IsClientError() bool

IsClientError returns true when this emoji create not acceptable response has a 4xx status code

func (*EmojiCreateNotAcceptable) IsCode

func (o *EmojiCreateNotAcceptable) IsCode(code int) bool

IsCode returns true when this emoji create not acceptable response a status code equal to that given

func (*EmojiCreateNotAcceptable) IsRedirect

func (o *EmojiCreateNotAcceptable) IsRedirect() bool

IsRedirect returns true when this emoji create not acceptable response has a 3xx status code

func (*EmojiCreateNotAcceptable) IsServerError

func (o *EmojiCreateNotAcceptable) IsServerError() bool

IsServerError returns true when this emoji create not acceptable response has a 5xx status code

func (*EmojiCreateNotAcceptable) IsSuccess

func (o *EmojiCreateNotAcceptable) IsSuccess() bool

IsSuccess returns true when this emoji create not acceptable response has a 2xx status code

func (*EmojiCreateNotAcceptable) String

func (o *EmojiCreateNotAcceptable) String() string

type EmojiCreateNotFound

type EmojiCreateNotFound struct {
}

EmojiCreateNotFound describes a response with status code 404, with default header values.

not found

func NewEmojiCreateNotFound

func NewEmojiCreateNotFound() *EmojiCreateNotFound

NewEmojiCreateNotFound creates a EmojiCreateNotFound with default headers values

func (*EmojiCreateNotFound) Code

func (o *EmojiCreateNotFound) Code() int

Code gets the status code for the emoji create not found response

func (*EmojiCreateNotFound) Error

func (o *EmojiCreateNotFound) Error() string

func (*EmojiCreateNotFound) IsClientError

func (o *EmojiCreateNotFound) IsClientError() bool

IsClientError returns true when this emoji create not found response has a 4xx status code

func (*EmojiCreateNotFound) IsCode

func (o *EmojiCreateNotFound) IsCode(code int) bool

IsCode returns true when this emoji create not found response a status code equal to that given

func (*EmojiCreateNotFound) IsRedirect

func (o *EmojiCreateNotFound) IsRedirect() bool

IsRedirect returns true when this emoji create not found response has a 3xx status code

func (*EmojiCreateNotFound) IsServerError

func (o *EmojiCreateNotFound) IsServerError() bool

IsServerError returns true when this emoji create not found response has a 5xx status code

func (*EmojiCreateNotFound) IsSuccess

func (o *EmojiCreateNotFound) IsSuccess() bool

IsSuccess returns true when this emoji create not found response has a 2xx status code

func (*EmojiCreateNotFound) String

func (o *EmojiCreateNotFound) String() string

type EmojiCreateOK

type EmojiCreateOK struct {
	Payload *models.Emoji
}

EmojiCreateOK describes a response with status code 200, with default header values.

The newly-created emoji.

func NewEmojiCreateOK

func NewEmojiCreateOK() *EmojiCreateOK

NewEmojiCreateOK creates a EmojiCreateOK with default headers values

func (*EmojiCreateOK) Code

func (o *EmojiCreateOK) Code() int

Code gets the status code for the emoji create o k response

func (*EmojiCreateOK) Error

func (o *EmojiCreateOK) Error() string

func (*EmojiCreateOK) GetPayload

func (o *EmojiCreateOK) GetPayload() *models.Emoji

func (*EmojiCreateOK) IsClientError

func (o *EmojiCreateOK) IsClientError() bool

IsClientError returns true when this emoji create o k response has a 4xx status code

func (*EmojiCreateOK) IsCode

func (o *EmojiCreateOK) IsCode(code int) bool

IsCode returns true when this emoji create o k response a status code equal to that given

func (*EmojiCreateOK) IsRedirect

func (o *EmojiCreateOK) IsRedirect() bool

IsRedirect returns true when this emoji create o k response has a 3xx status code

func (*EmojiCreateOK) IsServerError

func (o *EmojiCreateOK) IsServerError() bool

IsServerError returns true when this emoji create o k response has a 5xx status code

func (*EmojiCreateOK) IsSuccess

func (o *EmojiCreateOK) IsSuccess() bool

IsSuccess returns true when this emoji create o k response has a 2xx status code

func (*EmojiCreateOK) String

func (o *EmojiCreateOK) String() string

type EmojiCreateParams

type EmojiCreateParams struct {

	/* Category.

	   Category in which to place the new emoji. If left blank, emoji will be uncategorized. If a category with the given name doesn't exist yet, it will be created.
	*/
	Category *string

	/* Image.

	   A png or gif image of the emoji. Animated pngs work too! To ensure compatibility with other fedi implementations, emoji size limit is 50kb by default.
	*/
	Image runtime.NamedReadCloser

	/* Shortcode.

	   The code to use for the emoji, which will be used by instance denizens to select it. This must be unique on the instance.
	*/
	Shortcode string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

EmojiCreateParams contains all the parameters to send to the API endpoint

for the emoji create operation.

Typically these are written to a http.Request.

func NewEmojiCreateParams

func NewEmojiCreateParams() *EmojiCreateParams

NewEmojiCreateParams creates a new EmojiCreateParams 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 NewEmojiCreateParamsWithContext

func NewEmojiCreateParamsWithContext(ctx context.Context) *EmojiCreateParams

NewEmojiCreateParamsWithContext creates a new EmojiCreateParams object with the ability to set a context for a request.

func NewEmojiCreateParamsWithHTTPClient

func NewEmojiCreateParamsWithHTTPClient(client *http.Client) *EmojiCreateParams

NewEmojiCreateParamsWithHTTPClient creates a new EmojiCreateParams object with the ability to set a custom HTTPClient for a request.

func NewEmojiCreateParamsWithTimeout

func NewEmojiCreateParamsWithTimeout(timeout time.Duration) *EmojiCreateParams

NewEmojiCreateParamsWithTimeout creates a new EmojiCreateParams object with the ability to set a timeout on a request.

func (*EmojiCreateParams) SetCategory

func (o *EmojiCreateParams) SetCategory(category *string)

SetCategory adds the category to the emoji create params

func (*EmojiCreateParams) SetContext

func (o *EmojiCreateParams) SetContext(ctx context.Context)

SetContext adds the context to the emoji create params

func (*EmojiCreateParams) SetDefaults

func (o *EmojiCreateParams) SetDefaults()

SetDefaults hydrates default values in the emoji create params (not the query body).

All values with no default are reset to their zero value.

func (*EmojiCreateParams) SetHTTPClient

func (o *EmojiCreateParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the emoji create params

func (*EmojiCreateParams) SetImage

func (o *EmojiCreateParams) SetImage(image runtime.NamedReadCloser)

SetImage adds the image to the emoji create params

func (*EmojiCreateParams) SetShortcode

func (o *EmojiCreateParams) SetShortcode(shortcode string)

SetShortcode adds the shortcode to the emoji create params

func (*EmojiCreateParams) SetTimeout

func (o *EmojiCreateParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the emoji create params

func (*EmojiCreateParams) WithCategory

func (o *EmojiCreateParams) WithCategory(category *string) *EmojiCreateParams

WithCategory adds the category to the emoji create params

func (*EmojiCreateParams) WithContext

func (o *EmojiCreateParams) WithContext(ctx context.Context) *EmojiCreateParams

WithContext adds the context to the emoji create params

func (*EmojiCreateParams) WithDefaults

func (o *EmojiCreateParams) WithDefaults() *EmojiCreateParams

WithDefaults hydrates default values in the emoji create params (not the query body).

All values with no default are reset to their zero value.

func (*EmojiCreateParams) WithHTTPClient

func (o *EmojiCreateParams) WithHTTPClient(client *http.Client) *EmojiCreateParams

WithHTTPClient adds the HTTPClient to the emoji create params

func (*EmojiCreateParams) WithImage

WithImage adds the image to the emoji create params

func (*EmojiCreateParams) WithShortcode

func (o *EmojiCreateParams) WithShortcode(shortcode string) *EmojiCreateParams

WithShortcode adds the shortcode to the emoji create params

func (*EmojiCreateParams) WithTimeout

func (o *EmojiCreateParams) WithTimeout(timeout time.Duration) *EmojiCreateParams

WithTimeout adds the timeout to the emoji create params

func (*EmojiCreateParams) WriteToRequest

func (o *EmojiCreateParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type EmojiCreateReader

type EmojiCreateReader struct {
	// contains filtered or unexported fields
}

EmojiCreateReader is a Reader for the EmojiCreate structure.

func (*EmojiCreateReader) ReadResponse

func (o *EmojiCreateReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type EmojiCreateUnauthorized

type EmojiCreateUnauthorized struct {
}

EmojiCreateUnauthorized describes a response with status code 401, with default header values.

unauthorized

func NewEmojiCreateUnauthorized

func NewEmojiCreateUnauthorized() *EmojiCreateUnauthorized

NewEmojiCreateUnauthorized creates a EmojiCreateUnauthorized with default headers values

func (*EmojiCreateUnauthorized) Code

func (o *EmojiCreateUnauthorized) Code() int

Code gets the status code for the emoji create unauthorized response

func (*EmojiCreateUnauthorized) Error

func (o *EmojiCreateUnauthorized) Error() string

func (*EmojiCreateUnauthorized) IsClientError

func (o *EmojiCreateUnauthorized) IsClientError() bool

IsClientError returns true when this emoji create unauthorized response has a 4xx status code

func (*EmojiCreateUnauthorized) IsCode

func (o *EmojiCreateUnauthorized) IsCode(code int) bool

IsCode returns true when this emoji create unauthorized response a status code equal to that given

func (*EmojiCreateUnauthorized) IsRedirect

func (o *EmojiCreateUnauthorized) IsRedirect() bool

IsRedirect returns true when this emoji create unauthorized response has a 3xx status code

func (*EmojiCreateUnauthorized) IsServerError

func (o *EmojiCreateUnauthorized) IsServerError() bool

IsServerError returns true when this emoji create unauthorized response has a 5xx status code

func (*EmojiCreateUnauthorized) IsSuccess

func (o *EmojiCreateUnauthorized) IsSuccess() bool

IsSuccess returns true when this emoji create unauthorized response has a 2xx status code

func (*EmojiCreateUnauthorized) String

func (o *EmojiCreateUnauthorized) String() string

type EmojiDeleteBadRequest

type EmojiDeleteBadRequest struct {
}

EmojiDeleteBadRequest describes a response with status code 400, with default header values.

bad request

func NewEmojiDeleteBadRequest

func NewEmojiDeleteBadRequest() *EmojiDeleteBadRequest

NewEmojiDeleteBadRequest creates a EmojiDeleteBadRequest with default headers values

func (*EmojiDeleteBadRequest) Code

func (o *EmojiDeleteBadRequest) Code() int

Code gets the status code for the emoji delete bad request response

func (*EmojiDeleteBadRequest) Error

func (o *EmojiDeleteBadRequest) Error() string

func (*EmojiDeleteBadRequest) IsClientError

func (o *EmojiDeleteBadRequest) IsClientError() bool

IsClientError returns true when this emoji delete bad request response has a 4xx status code

func (*EmojiDeleteBadRequest) IsCode

func (o *EmojiDeleteBadRequest) IsCode(code int) bool

IsCode returns true when this emoji delete bad request response a status code equal to that given

func (*EmojiDeleteBadRequest) IsRedirect

func (o *EmojiDeleteBadRequest) IsRedirect() bool

IsRedirect returns true when this emoji delete bad request response has a 3xx status code

func (*EmojiDeleteBadRequest) IsServerError

func (o *EmojiDeleteBadRequest) IsServerError() bool

IsServerError returns true when this emoji delete bad request response has a 5xx status code

func (*EmojiDeleteBadRequest) IsSuccess

func (o *EmojiDeleteBadRequest) IsSuccess() bool

IsSuccess returns true when this emoji delete bad request response has a 2xx status code

func (*EmojiDeleteBadRequest) String

func (o *EmojiDeleteBadRequest) String() string

type EmojiDeleteForbidden

type EmojiDeleteForbidden struct {
}

EmojiDeleteForbidden describes a response with status code 403, with default header values.

forbidden

func NewEmojiDeleteForbidden

func NewEmojiDeleteForbidden() *EmojiDeleteForbidden

NewEmojiDeleteForbidden creates a EmojiDeleteForbidden with default headers values

func (*EmojiDeleteForbidden) Code

func (o *EmojiDeleteForbidden) Code() int

Code gets the status code for the emoji delete forbidden response

func (*EmojiDeleteForbidden) Error

func (o *EmojiDeleteForbidden) Error() string

func (*EmojiDeleteForbidden) IsClientError

func (o *EmojiDeleteForbidden) IsClientError() bool

IsClientError returns true when this emoji delete forbidden response has a 4xx status code

func (*EmojiDeleteForbidden) IsCode

func (o *EmojiDeleteForbidden) IsCode(code int) bool

IsCode returns true when this emoji delete forbidden response a status code equal to that given

func (*EmojiDeleteForbidden) IsRedirect

func (o *EmojiDeleteForbidden) IsRedirect() bool

IsRedirect returns true when this emoji delete forbidden response has a 3xx status code

func (*EmojiDeleteForbidden) IsServerError

func (o *EmojiDeleteForbidden) IsServerError() bool

IsServerError returns true when this emoji delete forbidden response has a 5xx status code

func (*EmojiDeleteForbidden) IsSuccess

func (o *EmojiDeleteForbidden) IsSuccess() bool

IsSuccess returns true when this emoji delete forbidden response has a 2xx status code

func (*EmojiDeleteForbidden) String

func (o *EmojiDeleteForbidden) String() string

type EmojiDeleteInternalServerError

type EmojiDeleteInternalServerError struct {
}

EmojiDeleteInternalServerError describes a response with status code 500, with default header values.

internal server error

func NewEmojiDeleteInternalServerError

func NewEmojiDeleteInternalServerError() *EmojiDeleteInternalServerError

NewEmojiDeleteInternalServerError creates a EmojiDeleteInternalServerError with default headers values

func (*EmojiDeleteInternalServerError) Code

Code gets the status code for the emoji delete internal server error response

func (*EmojiDeleteInternalServerError) Error

func (*EmojiDeleteInternalServerError) IsClientError

func (o *EmojiDeleteInternalServerError) IsClientError() bool

IsClientError returns true when this emoji delete internal server error response has a 4xx status code

func (*EmojiDeleteInternalServerError) IsCode

func (o *EmojiDeleteInternalServerError) IsCode(code int) bool

IsCode returns true when this emoji delete internal server error response a status code equal to that given

func (*EmojiDeleteInternalServerError) IsRedirect

func (o *EmojiDeleteInternalServerError) IsRedirect() bool

IsRedirect returns true when this emoji delete internal server error response has a 3xx status code

func (*EmojiDeleteInternalServerError) IsServerError

func (o *EmojiDeleteInternalServerError) IsServerError() bool

IsServerError returns true when this emoji delete internal server error response has a 5xx status code

func (*EmojiDeleteInternalServerError) IsSuccess

func (o *EmojiDeleteInternalServerError) IsSuccess() bool

IsSuccess returns true when this emoji delete internal server error response has a 2xx status code

func (*EmojiDeleteInternalServerError) String

type EmojiDeleteNotAcceptable

type EmojiDeleteNotAcceptable struct {
}

EmojiDeleteNotAcceptable describes a response with status code 406, with default header values.

not acceptable

func NewEmojiDeleteNotAcceptable

func NewEmojiDeleteNotAcceptable() *EmojiDeleteNotAcceptable

NewEmojiDeleteNotAcceptable creates a EmojiDeleteNotAcceptable with default headers values

func (*EmojiDeleteNotAcceptable) Code

func (o *EmojiDeleteNotAcceptable) Code() int

Code gets the status code for the emoji delete not acceptable response

func (*EmojiDeleteNotAcceptable) Error

func (o *EmojiDeleteNotAcceptable) Error() string

func (*EmojiDeleteNotAcceptable) IsClientError

func (o *EmojiDeleteNotAcceptable) IsClientError() bool

IsClientError returns true when this emoji delete not acceptable response has a 4xx status code

func (*EmojiDeleteNotAcceptable) IsCode

func (o *EmojiDeleteNotAcceptable) IsCode(code int) bool

IsCode returns true when this emoji delete not acceptable response a status code equal to that given

func (*EmojiDeleteNotAcceptable) IsRedirect

func (o *EmojiDeleteNotAcceptable) IsRedirect() bool

IsRedirect returns true when this emoji delete not acceptable response has a 3xx status code

func (*EmojiDeleteNotAcceptable) IsServerError

func (o *EmojiDeleteNotAcceptable) IsServerError() bool

IsServerError returns true when this emoji delete not acceptable response has a 5xx status code

func (*EmojiDeleteNotAcceptable) IsSuccess

func (o *EmojiDeleteNotAcceptable) IsSuccess() bool

IsSuccess returns true when this emoji delete not acceptable response has a 2xx status code

func (*EmojiDeleteNotAcceptable) String

func (o *EmojiDeleteNotAcceptable) String() string

type EmojiDeleteNotFound

type EmojiDeleteNotFound struct {
}

EmojiDeleteNotFound describes a response with status code 404, with default header values.

not found

func NewEmojiDeleteNotFound

func NewEmojiDeleteNotFound() *EmojiDeleteNotFound

NewEmojiDeleteNotFound creates a EmojiDeleteNotFound with default headers values

func (*EmojiDeleteNotFound) Code

func (o *EmojiDeleteNotFound) Code() int

Code gets the status code for the emoji delete not found response

func (*EmojiDeleteNotFound) Error

func (o *EmojiDeleteNotFound) Error() string

func (*EmojiDeleteNotFound) IsClientError

func (o *EmojiDeleteNotFound) IsClientError() bool

IsClientError returns true when this emoji delete not found response has a 4xx status code

func (*EmojiDeleteNotFound) IsCode

func (o *EmojiDeleteNotFound) IsCode(code int) bool

IsCode returns true when this emoji delete not found response a status code equal to that given

func (*EmojiDeleteNotFound) IsRedirect

func (o *EmojiDeleteNotFound) IsRedirect() bool

IsRedirect returns true when this emoji delete not found response has a 3xx status code

func (*EmojiDeleteNotFound) IsServerError

func (o *EmojiDeleteNotFound) IsServerError() bool

IsServerError returns true when this emoji delete not found response has a 5xx status code

func (*EmojiDeleteNotFound) IsSuccess

func (o *EmojiDeleteNotFound) IsSuccess() bool

IsSuccess returns true when this emoji delete not found response has a 2xx status code

func (*EmojiDeleteNotFound) String

func (o *EmojiDeleteNotFound) String() string

type EmojiDeleteOK

type EmojiDeleteOK struct {
	Payload *models.AdminEmoji
}

EmojiDeleteOK describes a response with status code 200, with default header values.

The deleted emoji will be returned to the caller in case further processing is necessary.

func NewEmojiDeleteOK

func NewEmojiDeleteOK() *EmojiDeleteOK

NewEmojiDeleteOK creates a EmojiDeleteOK with default headers values

func (*EmojiDeleteOK) Code

func (o *EmojiDeleteOK) Code() int

Code gets the status code for the emoji delete o k response

func (*EmojiDeleteOK) Error

func (o *EmojiDeleteOK) Error() string

func (*EmojiDeleteOK) GetPayload

func (o *EmojiDeleteOK) GetPayload() *models.AdminEmoji

func (*EmojiDeleteOK) IsClientError

func (o *EmojiDeleteOK) IsClientError() bool

IsClientError returns true when this emoji delete o k response has a 4xx status code

func (*EmojiDeleteOK) IsCode

func (o *EmojiDeleteOK) IsCode(code int) bool

IsCode returns true when this emoji delete o k response a status code equal to that given

func (*EmojiDeleteOK) IsRedirect

func (o *EmojiDeleteOK) IsRedirect() bool

IsRedirect returns true when this emoji delete o k response has a 3xx status code

func (*EmojiDeleteOK) IsServerError

func (o *EmojiDeleteOK) IsServerError() bool

IsServerError returns true when this emoji delete o k response has a 5xx status code

func (*EmojiDeleteOK) IsSuccess

func (o *EmojiDeleteOK) IsSuccess() bool

IsSuccess returns true when this emoji delete o k response has a 2xx status code

func (*EmojiDeleteOK) String

func (o *EmojiDeleteOK) String() string

type EmojiDeleteParams

type EmojiDeleteParams struct {

	/* ID.

	   The id of the emoji.
	*/
	ID string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

EmojiDeleteParams contains all the parameters to send to the API endpoint

for the emoji delete operation.

Typically these are written to a http.Request.

func NewEmojiDeleteParams

func NewEmojiDeleteParams() *EmojiDeleteParams

NewEmojiDeleteParams creates a new EmojiDeleteParams 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 NewEmojiDeleteParamsWithContext

func NewEmojiDeleteParamsWithContext(ctx context.Context) *EmojiDeleteParams

NewEmojiDeleteParamsWithContext creates a new EmojiDeleteParams object with the ability to set a context for a request.

func NewEmojiDeleteParamsWithHTTPClient

func NewEmojiDeleteParamsWithHTTPClient(client *http.Client) *EmojiDeleteParams

NewEmojiDeleteParamsWithHTTPClient creates a new EmojiDeleteParams object with the ability to set a custom HTTPClient for a request.

func NewEmojiDeleteParamsWithTimeout

func NewEmojiDeleteParamsWithTimeout(timeout time.Duration) *EmojiDeleteParams

NewEmojiDeleteParamsWithTimeout creates a new EmojiDeleteParams object with the ability to set a timeout on a request.

func (*EmojiDeleteParams) SetContext

func (o *EmojiDeleteParams) SetContext(ctx context.Context)

SetContext adds the context to the emoji delete params

func (*EmojiDeleteParams) SetDefaults

func (o *EmojiDeleteParams) SetDefaults()

SetDefaults hydrates default values in the emoji delete params (not the query body).

All values with no default are reset to their zero value.

func (*EmojiDeleteParams) SetHTTPClient

func (o *EmojiDeleteParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the emoji delete params

func (*EmojiDeleteParams) SetID

func (o *EmojiDeleteParams) SetID(id string)

SetID adds the id to the emoji delete params

func (*EmojiDeleteParams) SetTimeout

func (o *EmojiDeleteParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the emoji delete params

func (*EmojiDeleteParams) WithContext

func (o *EmojiDeleteParams) WithContext(ctx context.Context) *EmojiDeleteParams

WithContext adds the context to the emoji delete params

func (*EmojiDeleteParams) WithDefaults

func (o *EmojiDeleteParams) WithDefaults() *EmojiDeleteParams

WithDefaults hydrates default values in the emoji delete params (not the query body).

All values with no default are reset to their zero value.

func (*EmojiDeleteParams) WithHTTPClient

func (o *EmojiDeleteParams) WithHTTPClient(client *http.Client) *EmojiDeleteParams

WithHTTPClient adds the HTTPClient to the emoji delete params

func (*EmojiDeleteParams) WithID

WithID adds the id to the emoji delete params

func (*EmojiDeleteParams) WithTimeout

func (o *EmojiDeleteParams) WithTimeout(timeout time.Duration) *EmojiDeleteParams

WithTimeout adds the timeout to the emoji delete params

func (*EmojiDeleteParams) WriteToRequest

func (o *EmojiDeleteParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type EmojiDeleteReader

type EmojiDeleteReader struct {
	// contains filtered or unexported fields
}

EmojiDeleteReader is a Reader for the EmojiDelete structure.

func (*EmojiDeleteReader) ReadResponse

func (o *EmojiDeleteReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type EmojiDeleteUnauthorized

type EmojiDeleteUnauthorized struct {
}

EmojiDeleteUnauthorized describes a response with status code 401, with default header values.

unauthorized

func NewEmojiDeleteUnauthorized

func NewEmojiDeleteUnauthorized() *EmojiDeleteUnauthorized

NewEmojiDeleteUnauthorized creates a EmojiDeleteUnauthorized with default headers values

func (*EmojiDeleteUnauthorized) Code

func (o *EmojiDeleteUnauthorized) Code() int

Code gets the status code for the emoji delete unauthorized response

func (*EmojiDeleteUnauthorized) Error

func (o *EmojiDeleteUnauthorized) Error() string

func (*EmojiDeleteUnauthorized) IsClientError

func (o *EmojiDeleteUnauthorized) IsClientError() bool

IsClientError returns true when this emoji delete unauthorized response has a 4xx status code

func (*EmojiDeleteUnauthorized) IsCode

func (o *EmojiDeleteUnauthorized) IsCode(code int) bool

IsCode returns true when this emoji delete unauthorized response a status code equal to that given

func (*EmojiDeleteUnauthorized) IsRedirect

func (o *EmojiDeleteUnauthorized) IsRedirect() bool

IsRedirect returns true when this emoji delete unauthorized response has a 3xx status code

func (*EmojiDeleteUnauthorized) IsServerError

func (o *EmojiDeleteUnauthorized) IsServerError() bool

IsServerError returns true when this emoji delete unauthorized response has a 5xx status code

func (*EmojiDeleteUnauthorized) IsSuccess

func (o *EmojiDeleteUnauthorized) IsSuccess() bool

IsSuccess returns true when this emoji delete unauthorized response has a 2xx status code

func (*EmojiDeleteUnauthorized) String

func (o *EmojiDeleteUnauthorized) String() string

type EmojiGetBadRequest

type EmojiGetBadRequest struct {
}

EmojiGetBadRequest describes a response with status code 400, with default header values.

bad request

func NewEmojiGetBadRequest

func NewEmojiGetBadRequest() *EmojiGetBadRequest

NewEmojiGetBadRequest creates a EmojiGetBadRequest with default headers values

func (*EmojiGetBadRequest) Code

func (o *EmojiGetBadRequest) Code() int

Code gets the status code for the emoji get bad request response

func (*EmojiGetBadRequest) Error

func (o *EmojiGetBadRequest) Error() string

func (*EmojiGetBadRequest) IsClientError

func (o *EmojiGetBadRequest) IsClientError() bool

IsClientError returns true when this emoji get bad request response has a 4xx status code

func (*EmojiGetBadRequest) IsCode

func (o *EmojiGetBadRequest) IsCode(code int) bool

IsCode returns true when this emoji get bad request response a status code equal to that given

func (*EmojiGetBadRequest) IsRedirect

func (o *EmojiGetBadRequest) IsRedirect() bool

IsRedirect returns true when this emoji get bad request response has a 3xx status code

func (*EmojiGetBadRequest) IsServerError

func (o *EmojiGetBadRequest) IsServerError() bool

IsServerError returns true when this emoji get bad request response has a 5xx status code

func (*EmojiGetBadRequest) IsSuccess

func (o *EmojiGetBadRequest) IsSuccess() bool

IsSuccess returns true when this emoji get bad request response has a 2xx status code

func (*EmojiGetBadRequest) String

func (o *EmojiGetBadRequest) String() string

type EmojiGetForbidden

type EmojiGetForbidden struct {
}

EmojiGetForbidden describes a response with status code 403, with default header values.

forbidden

func NewEmojiGetForbidden

func NewEmojiGetForbidden() *EmojiGetForbidden

NewEmojiGetForbidden creates a EmojiGetForbidden with default headers values

func (*EmojiGetForbidden) Code

func (o *EmojiGetForbidden) Code() int

Code gets the status code for the emoji get forbidden response

func (*EmojiGetForbidden) Error

func (o *EmojiGetForbidden) Error() string

func (*EmojiGetForbidden) IsClientError

func (o *EmojiGetForbidden) IsClientError() bool

IsClientError returns true when this emoji get forbidden response has a 4xx status code

func (*EmojiGetForbidden) IsCode

func (o *EmojiGetForbidden) IsCode(code int) bool

IsCode returns true when this emoji get forbidden response a status code equal to that given

func (*EmojiGetForbidden) IsRedirect

func (o *EmojiGetForbidden) IsRedirect() bool

IsRedirect returns true when this emoji get forbidden response has a 3xx status code

func (*EmojiGetForbidden) IsServerError

func (o *EmojiGetForbidden) IsServerError() bool

IsServerError returns true when this emoji get forbidden response has a 5xx status code

func (*EmojiGetForbidden) IsSuccess

func (o *EmojiGetForbidden) IsSuccess() bool

IsSuccess returns true when this emoji get forbidden response has a 2xx status code

func (*EmojiGetForbidden) String

func (o *EmojiGetForbidden) String() string

type EmojiGetInternalServerError

type EmojiGetInternalServerError struct {
}

EmojiGetInternalServerError describes a response with status code 500, with default header values.

internal server error

func NewEmojiGetInternalServerError

func NewEmojiGetInternalServerError() *EmojiGetInternalServerError

NewEmojiGetInternalServerError creates a EmojiGetInternalServerError with default headers values

func (*EmojiGetInternalServerError) Code

func (o *EmojiGetInternalServerError) Code() int

Code gets the status code for the emoji get internal server error response

func (*EmojiGetInternalServerError) Error

func (*EmojiGetInternalServerError) IsClientError

func (o *EmojiGetInternalServerError) IsClientError() bool

IsClientError returns true when this emoji get internal server error response has a 4xx status code

func (*EmojiGetInternalServerError) IsCode

func (o *EmojiGetInternalServerError) IsCode(code int) bool

IsCode returns true when this emoji get internal server error response a status code equal to that given

func (*EmojiGetInternalServerError) IsRedirect

func (o *EmojiGetInternalServerError) IsRedirect() bool

IsRedirect returns true when this emoji get internal server error response has a 3xx status code

func (*EmojiGetInternalServerError) IsServerError

func (o *EmojiGetInternalServerError) IsServerError() bool

IsServerError returns true when this emoji get internal server error response has a 5xx status code

func (*EmojiGetInternalServerError) IsSuccess

func (o *EmojiGetInternalServerError) IsSuccess() bool

IsSuccess returns true when this emoji get internal server error response has a 2xx status code

func (*EmojiGetInternalServerError) String

func (o *EmojiGetInternalServerError) String() string

type EmojiGetNotAcceptable

type EmojiGetNotAcceptable struct {
}

EmojiGetNotAcceptable describes a response with status code 406, with default header values.

not acceptable

func NewEmojiGetNotAcceptable

func NewEmojiGetNotAcceptable() *EmojiGetNotAcceptable

NewEmojiGetNotAcceptable creates a EmojiGetNotAcceptable with default headers values

func (*EmojiGetNotAcceptable) Code

func (o *EmojiGetNotAcceptable) Code() int

Code gets the status code for the emoji get not acceptable response

func (*EmojiGetNotAcceptable) Error

func (o *EmojiGetNotAcceptable) Error() string

func (*EmojiGetNotAcceptable) IsClientError

func (o *EmojiGetNotAcceptable) IsClientError() bool

IsClientError returns true when this emoji get not acceptable response has a 4xx status code

func (*EmojiGetNotAcceptable) IsCode

func (o *EmojiGetNotAcceptable) IsCode(code int) bool

IsCode returns true when this emoji get not acceptable response a status code equal to that given

func (*EmojiGetNotAcceptable) IsRedirect

func (o *EmojiGetNotAcceptable) IsRedirect() bool

IsRedirect returns true when this emoji get not acceptable response has a 3xx status code

func (*EmojiGetNotAcceptable) IsServerError

func (o *EmojiGetNotAcceptable) IsServerError() bool

IsServerError returns true when this emoji get not acceptable response has a 5xx status code

func (*EmojiGetNotAcceptable) IsSuccess

func (o *EmojiGetNotAcceptable) IsSuccess() bool

IsSuccess returns true when this emoji get not acceptable response has a 2xx status code

func (*EmojiGetNotAcceptable) String

func (o *EmojiGetNotAcceptable) String() string

type EmojiGetNotFound

type EmojiGetNotFound struct {
}

EmojiGetNotFound describes a response with status code 404, with default header values.

not found

func NewEmojiGetNotFound

func NewEmojiGetNotFound() *EmojiGetNotFound

NewEmojiGetNotFound creates a EmojiGetNotFound with default headers values

func (*EmojiGetNotFound) Code

func (o *EmojiGetNotFound) Code() int

Code gets the status code for the emoji get not found response

func (*EmojiGetNotFound) Error

func (o *EmojiGetNotFound) Error() string

func (*EmojiGetNotFound) IsClientError

func (o *EmojiGetNotFound) IsClientError() bool

IsClientError returns true when this emoji get not found response has a 4xx status code

func (*EmojiGetNotFound) IsCode

func (o *EmojiGetNotFound) IsCode(code int) bool

IsCode returns true when this emoji get not found response a status code equal to that given

func (*EmojiGetNotFound) IsRedirect

func (o *EmojiGetNotFound) IsRedirect() bool

IsRedirect returns true when this emoji get not found response has a 3xx status code

func (*EmojiGetNotFound) IsServerError

func (o *EmojiGetNotFound) IsServerError() bool

IsServerError returns true when this emoji get not found response has a 5xx status code

func (*EmojiGetNotFound) IsSuccess

func (o *EmojiGetNotFound) IsSuccess() bool

IsSuccess returns true when this emoji get not found response has a 2xx status code

func (*EmojiGetNotFound) String

func (o *EmojiGetNotFound) String() string

type EmojiGetOK

type EmojiGetOK struct {
	Payload *models.AdminEmoji
}

EmojiGetOK describes a response with status code 200, with default header values.

A single emoji.

func NewEmojiGetOK

func NewEmojiGetOK() *EmojiGetOK

NewEmojiGetOK creates a EmojiGetOK with default headers values

func (*EmojiGetOK) Code

func (o *EmojiGetOK) Code() int

Code gets the status code for the emoji get o k response

func (*EmojiGetOK) Error

func (o *EmojiGetOK) Error() string

func (*EmojiGetOK) GetPayload

func (o *EmojiGetOK) GetPayload() *models.AdminEmoji

func (*EmojiGetOK) IsClientError

func (o *EmojiGetOK) IsClientError() bool

IsClientError returns true when this emoji get o k response has a 4xx status code

func (*EmojiGetOK) IsCode

func (o *EmojiGetOK) IsCode(code int) bool

IsCode returns true when this emoji get o k response a status code equal to that given

func (*EmojiGetOK) IsRedirect

func (o *EmojiGetOK) IsRedirect() bool

IsRedirect returns true when this emoji get o k response has a 3xx status code

func (*EmojiGetOK) IsServerError

func (o *EmojiGetOK) IsServerError() bool

IsServerError returns true when this emoji get o k response has a 5xx status code

func (*EmojiGetOK) IsSuccess

func (o *EmojiGetOK) IsSuccess() bool

IsSuccess returns true when this emoji get o k response has a 2xx status code

func (*EmojiGetOK) String

func (o *EmojiGetOK) String() string

type EmojiGetParams

type EmojiGetParams struct {

	/* ID.

	   The id of the emoji.
	*/
	ID string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

EmojiGetParams contains all the parameters to send to the API endpoint

for the emoji get operation.

Typically these are written to a http.Request.

func NewEmojiGetParams

func NewEmojiGetParams() *EmojiGetParams

NewEmojiGetParams creates a new EmojiGetParams 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 NewEmojiGetParamsWithContext

func NewEmojiGetParamsWithContext(ctx context.Context) *EmojiGetParams

NewEmojiGetParamsWithContext creates a new EmojiGetParams object with the ability to set a context for a request.

func NewEmojiGetParamsWithHTTPClient

func NewEmojiGetParamsWithHTTPClient(client *http.Client) *EmojiGetParams

NewEmojiGetParamsWithHTTPClient creates a new EmojiGetParams object with the ability to set a custom HTTPClient for a request.

func NewEmojiGetParamsWithTimeout

func NewEmojiGetParamsWithTimeout(timeout time.Duration) *EmojiGetParams

NewEmojiGetParamsWithTimeout creates a new EmojiGetParams object with the ability to set a timeout on a request.

func (*EmojiGetParams) SetContext

func (o *EmojiGetParams) SetContext(ctx context.Context)

SetContext adds the context to the emoji get params

func (*EmojiGetParams) SetDefaults

func (o *EmojiGetParams) SetDefaults()

SetDefaults hydrates default values in the emoji get params (not the query body).

All values with no default are reset to their zero value.

func (*EmojiGetParams) SetHTTPClient

func (o *EmojiGetParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the emoji get params

func (*EmojiGetParams) SetID

func (o *EmojiGetParams) SetID(id string)

SetID adds the id to the emoji get params

func (*EmojiGetParams) SetTimeout

func (o *EmojiGetParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the emoji get params

func (*EmojiGetParams) WithContext

func (o *EmojiGetParams) WithContext(ctx context.Context) *EmojiGetParams

WithContext adds the context to the emoji get params

func (*EmojiGetParams) WithDefaults

func (o *EmojiGetParams) WithDefaults() *EmojiGetParams

WithDefaults hydrates default values in the emoji get params (not the query body).

All values with no default are reset to their zero value.

func (*EmojiGetParams) WithHTTPClient

func (o *EmojiGetParams) WithHTTPClient(client *http.Client) *EmojiGetParams

WithHTTPClient adds the HTTPClient to the emoji get params

func (*EmojiGetParams) WithID

func (o *EmojiGetParams) WithID(id string) *EmojiGetParams

WithID adds the id to the emoji get params

func (*EmojiGetParams) WithTimeout

func (o *EmojiGetParams) WithTimeout(timeout time.Duration) *EmojiGetParams

WithTimeout adds the timeout to the emoji get params

func (*EmojiGetParams) WriteToRequest

func (o *EmojiGetParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type EmojiGetReader

type EmojiGetReader struct {
	// contains filtered or unexported fields
}

EmojiGetReader is a Reader for the EmojiGet structure.

func (*EmojiGetReader) ReadResponse

func (o *EmojiGetReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type EmojiGetUnauthorized

type EmojiGetUnauthorized struct {
}

EmojiGetUnauthorized describes a response with status code 401, with default header values.

unauthorized

func NewEmojiGetUnauthorized

func NewEmojiGetUnauthorized() *EmojiGetUnauthorized

NewEmojiGetUnauthorized creates a EmojiGetUnauthorized with default headers values

func (*EmojiGetUnauthorized) Code

func (o *EmojiGetUnauthorized) Code() int

Code gets the status code for the emoji get unauthorized response

func (*EmojiGetUnauthorized) Error

func (o *EmojiGetUnauthorized) Error() string

func (*EmojiGetUnauthorized) IsClientError

func (o *EmojiGetUnauthorized) IsClientError() bool

IsClientError returns true when this emoji get unauthorized response has a 4xx status code

func (*EmojiGetUnauthorized) IsCode

func (o *EmojiGetUnauthorized) IsCode(code int) bool

IsCode returns true when this emoji get unauthorized response a status code equal to that given

func (*EmojiGetUnauthorized) IsRedirect

func (o *EmojiGetUnauthorized) IsRedirect() bool

IsRedirect returns true when this emoji get unauthorized response has a 3xx status code

func (*EmojiGetUnauthorized) IsServerError

func (o *EmojiGetUnauthorized) IsServerError() bool

IsServerError returns true when this emoji get unauthorized response has a 5xx status code

func (*EmojiGetUnauthorized) IsSuccess

func (o *EmojiGetUnauthorized) IsSuccess() bool

IsSuccess returns true when this emoji get unauthorized response has a 2xx status code

func (*EmojiGetUnauthorized) String

func (o *EmojiGetUnauthorized) String() string

type EmojiUpdateBadRequest

type EmojiUpdateBadRequest struct {
}

EmojiUpdateBadRequest describes a response with status code 400, with default header values.

bad request

func NewEmojiUpdateBadRequest

func NewEmojiUpdateBadRequest() *EmojiUpdateBadRequest

NewEmojiUpdateBadRequest creates a EmojiUpdateBadRequest with default headers values

func (*EmojiUpdateBadRequest) Code

func (o *EmojiUpdateBadRequest) Code() int

Code gets the status code for the emoji update bad request response

func (*EmojiUpdateBadRequest) Error

func (o *EmojiUpdateBadRequest) Error() string

func (*EmojiUpdateBadRequest) IsClientError

func (o *EmojiUpdateBadRequest) IsClientError() bool

IsClientError returns true when this emoji update bad request response has a 4xx status code

func (*EmojiUpdateBadRequest) IsCode

func (o *EmojiUpdateBadRequest) IsCode(code int) bool

IsCode returns true when this emoji update bad request response a status code equal to that given

func (*EmojiUpdateBadRequest) IsRedirect

func (o *EmojiUpdateBadRequest) IsRedirect() bool

IsRedirect returns true when this emoji update bad request response has a 3xx status code

func (*EmojiUpdateBadRequest) IsServerError

func (o *EmojiUpdateBadRequest) IsServerError() bool

IsServerError returns true when this emoji update bad request response has a 5xx status code

func (*EmojiUpdateBadRequest) IsSuccess

func (o *EmojiUpdateBadRequest) IsSuccess() bool

IsSuccess returns true when this emoji update bad request response has a 2xx status code

func (*EmojiUpdateBadRequest) String

func (o *EmojiUpdateBadRequest) String() string

type EmojiUpdateForbidden

type EmojiUpdateForbidden struct {
}

EmojiUpdateForbidden describes a response with status code 403, with default header values.

forbidden

func NewEmojiUpdateForbidden

func NewEmojiUpdateForbidden() *EmojiUpdateForbidden

NewEmojiUpdateForbidden creates a EmojiUpdateForbidden with default headers values

func (*EmojiUpdateForbidden) Code

func (o *EmojiUpdateForbidden) Code() int

Code gets the status code for the emoji update forbidden response

func (*EmojiUpdateForbidden) Error

func (o *EmojiUpdateForbidden) Error() string

func (*EmojiUpdateForbidden) IsClientError

func (o *EmojiUpdateForbidden) IsClientError() bool

IsClientError returns true when this emoji update forbidden response has a 4xx status code

func (*EmojiUpdateForbidden) IsCode

func (o *EmojiUpdateForbidden) IsCode(code int) bool

IsCode returns true when this emoji update forbidden response a status code equal to that given

func (*EmojiUpdateForbidden) IsRedirect

func (o *EmojiUpdateForbidden) IsRedirect() bool

IsRedirect returns true when this emoji update forbidden response has a 3xx status code

func (*EmojiUpdateForbidden) IsServerError

func (o *EmojiUpdateForbidden) IsServerError() bool

IsServerError returns true when this emoji update forbidden response has a 5xx status code

func (*EmojiUpdateForbidden) IsSuccess

func (o *EmojiUpdateForbidden) IsSuccess() bool

IsSuccess returns true when this emoji update forbidden response has a 2xx status code

func (*EmojiUpdateForbidden) String

func (o *EmojiUpdateForbidden) String() string

type EmojiUpdateInternalServerError

type EmojiUpdateInternalServerError struct {
}

EmojiUpdateInternalServerError describes a response with status code 500, with default header values.

internal server error

func NewEmojiUpdateInternalServerError

func NewEmojiUpdateInternalServerError() *EmojiUpdateInternalServerError

NewEmojiUpdateInternalServerError creates a EmojiUpdateInternalServerError with default headers values

func (*EmojiUpdateInternalServerError) Code

Code gets the status code for the emoji update internal server error response

func (*EmojiUpdateInternalServerError) Error

func (*EmojiUpdateInternalServerError) IsClientError

func (o *EmojiUpdateInternalServerError) IsClientError() bool

IsClientError returns true when this emoji update internal server error response has a 4xx status code

func (*EmojiUpdateInternalServerError) IsCode

func (o *EmojiUpdateInternalServerError) IsCode(code int) bool

IsCode returns true when this emoji update internal server error response a status code equal to that given

func (*EmojiUpdateInternalServerError) IsRedirect

func (o *EmojiUpdateInternalServerError) IsRedirect() bool

IsRedirect returns true when this emoji update internal server error response has a 3xx status code

func (*EmojiUpdateInternalServerError) IsServerError

func (o *EmojiUpdateInternalServerError) IsServerError() bool

IsServerError returns true when this emoji update internal server error response has a 5xx status code

func (*EmojiUpdateInternalServerError) IsSuccess

func (o *EmojiUpdateInternalServerError) IsSuccess() bool

IsSuccess returns true when this emoji update internal server error response has a 2xx status code

func (*EmojiUpdateInternalServerError) String

type EmojiUpdateNotAcceptable

type EmojiUpdateNotAcceptable struct {
}

EmojiUpdateNotAcceptable describes a response with status code 406, with default header values.

not acceptable

func NewEmojiUpdateNotAcceptable

func NewEmojiUpdateNotAcceptable() *EmojiUpdateNotAcceptable

NewEmojiUpdateNotAcceptable creates a EmojiUpdateNotAcceptable with default headers values

func (*EmojiUpdateNotAcceptable) Code

func (o *EmojiUpdateNotAcceptable) Code() int

Code gets the status code for the emoji update not acceptable response

func (*EmojiUpdateNotAcceptable) Error

func (o *EmojiUpdateNotAcceptable) Error() string

func (*EmojiUpdateNotAcceptable) IsClientError

func (o *EmojiUpdateNotAcceptable) IsClientError() bool

IsClientError returns true when this emoji update not acceptable response has a 4xx status code

func (*EmojiUpdateNotAcceptable) IsCode

func (o *EmojiUpdateNotAcceptable) IsCode(code int) bool

IsCode returns true when this emoji update not acceptable response a status code equal to that given

func (*EmojiUpdateNotAcceptable) IsRedirect

func (o *EmojiUpdateNotAcceptable) IsRedirect() bool

IsRedirect returns true when this emoji update not acceptable response has a 3xx status code

func (*EmojiUpdateNotAcceptable) IsServerError

func (o *EmojiUpdateNotAcceptable) IsServerError() bool

IsServerError returns true when this emoji update not acceptable response has a 5xx status code

func (*EmojiUpdateNotAcceptable) IsSuccess

func (o *EmojiUpdateNotAcceptable) IsSuccess() bool

IsSuccess returns true when this emoji update not acceptable response has a 2xx status code

func (*EmojiUpdateNotAcceptable) String

func (o *EmojiUpdateNotAcceptable) String() string

type EmojiUpdateNotFound

type EmojiUpdateNotFound struct {
}

EmojiUpdateNotFound describes a response with status code 404, with default header values.

not found

func NewEmojiUpdateNotFound

func NewEmojiUpdateNotFound() *EmojiUpdateNotFound

NewEmojiUpdateNotFound creates a EmojiUpdateNotFound with default headers values

func (*EmojiUpdateNotFound) Code

func (o *EmojiUpdateNotFound) Code() int

Code gets the status code for the emoji update not found response

func (*EmojiUpdateNotFound) Error

func (o *EmojiUpdateNotFound) Error() string

func (*EmojiUpdateNotFound) IsClientError

func (o *EmojiUpdateNotFound) IsClientError() bool

IsClientError returns true when this emoji update not found response has a 4xx status code

func (*EmojiUpdateNotFound) IsCode

func (o *EmojiUpdateNotFound) IsCode(code int) bool

IsCode returns true when this emoji update not found response a status code equal to that given

func (*EmojiUpdateNotFound) IsRedirect

func (o *EmojiUpdateNotFound) IsRedirect() bool

IsRedirect returns true when this emoji update not found response has a 3xx status code

func (*EmojiUpdateNotFound) IsServerError

func (o *EmojiUpdateNotFound) IsServerError() bool

IsServerError returns true when this emoji update not found response has a 5xx status code

func (*EmojiUpdateNotFound) IsSuccess

func (o *EmojiUpdateNotFound) IsSuccess() bool

IsSuccess returns true when this emoji update not found response has a 2xx status code

func (*EmojiUpdateNotFound) String

func (o *EmojiUpdateNotFound) String() string

type EmojiUpdateOK

type EmojiUpdateOK struct {
	Payload *models.AdminEmoji
}

EmojiUpdateOK describes a response with status code 200, with default header values.

The updated emoji.

func NewEmojiUpdateOK

func NewEmojiUpdateOK() *EmojiUpdateOK

NewEmojiUpdateOK creates a EmojiUpdateOK with default headers values

func (*EmojiUpdateOK) Code

func (o *EmojiUpdateOK) Code() int

Code gets the status code for the emoji update o k response

func (*EmojiUpdateOK) Error

func (o *EmojiUpdateOK) Error() string

func (*EmojiUpdateOK) GetPayload

func (o *EmojiUpdateOK) GetPayload() *models.AdminEmoji

func (*EmojiUpdateOK) IsClientError

func (o *EmojiUpdateOK) IsClientError() bool

IsClientError returns true when this emoji update o k response has a 4xx status code

func (*EmojiUpdateOK) IsCode

func (o *EmojiUpdateOK) IsCode(code int) bool

IsCode returns true when this emoji update o k response a status code equal to that given

func (*EmojiUpdateOK) IsRedirect

func (o *EmojiUpdateOK) IsRedirect() bool

IsRedirect returns true when this emoji update o k response has a 3xx status code

func (*EmojiUpdateOK) IsServerError

func (o *EmojiUpdateOK) IsServerError() bool

IsServerError returns true when this emoji update o k response has a 5xx status code

func (*EmojiUpdateOK) IsSuccess

func (o *EmojiUpdateOK) IsSuccess() bool

IsSuccess returns true when this emoji update o k response has a 2xx status code

func (*EmojiUpdateOK) String

func (o *EmojiUpdateOK) String() string

type EmojiUpdateParams

type EmojiUpdateParams struct {

	/* Category.

	   Category in which to place the emoji. If a category with the given name doesn't exist yet, it will be created.
	*/
	Category *string

	/* ID.

	   The id of the emoji.
	*/
	ID string

	/* Image.

	   A new png or gif image to use for the emoji. Animated pngs work too! To ensure compatibility with other fedi implementations, emoji size limit is 50kb by default. Works for LOCAL emojis only.
	*/
	Image runtime.NamedReadCloser

	/* Shortcode.

	   The code to use for the emoji, which will be used by instance denizens to select it. This must be unique on the instance. Works for the `copy` action type only.
	*/
	Shortcode *string

	/* Type.

	     Type of action to be taken. One of: (`disable`, `copy`, `modify`).
	For REMOTE emojis, `copy` or `disable` are supported.
	For LOCAL emojis, only `modify` is supported.
	*/
	Type string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

EmojiUpdateParams contains all the parameters to send to the API endpoint

for the emoji update operation.

Typically these are written to a http.Request.

func NewEmojiUpdateParams

func NewEmojiUpdateParams() *EmojiUpdateParams

NewEmojiUpdateParams creates a new EmojiUpdateParams 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 NewEmojiUpdateParamsWithContext

func NewEmojiUpdateParamsWithContext(ctx context.Context) *EmojiUpdateParams

NewEmojiUpdateParamsWithContext creates a new EmojiUpdateParams object with the ability to set a context for a request.

func NewEmojiUpdateParamsWithHTTPClient

func NewEmojiUpdateParamsWithHTTPClient(client *http.Client) *EmojiUpdateParams

NewEmojiUpdateParamsWithHTTPClient creates a new EmojiUpdateParams object with the ability to set a custom HTTPClient for a request.

func NewEmojiUpdateParamsWithTimeout

func NewEmojiUpdateParamsWithTimeout(timeout time.Duration) *EmojiUpdateParams

NewEmojiUpdateParamsWithTimeout creates a new EmojiUpdateParams object with the ability to set a timeout on a request.

func (*EmojiUpdateParams) SetCategory

func (o *EmojiUpdateParams) SetCategory(category *string)

SetCategory adds the category to the emoji update params

func (*EmojiUpdateParams) SetContext

func (o *EmojiUpdateParams) SetContext(ctx context.Context)

SetContext adds the context to the emoji update params

func (*EmojiUpdateParams) SetDefaults

func (o *EmojiUpdateParams) SetDefaults()

SetDefaults hydrates default values in the emoji update params (not the query body).

All values with no default are reset to their zero value.

func (*EmojiUpdateParams) SetHTTPClient

func (o *EmojiUpdateParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the emoji update params

func (*EmojiUpdateParams) SetID

func (o *EmojiUpdateParams) SetID(id string)

SetID adds the id to the emoji update params

func (*EmojiUpdateParams) SetImage

func (o *EmojiUpdateParams) SetImage(image runtime.NamedReadCloser)

SetImage adds the image to the emoji update params

func (*EmojiUpdateParams) SetShortcode

func (o *EmojiUpdateParams) SetShortcode(shortcode *string)

SetShortcode adds the shortcode to the emoji update params

func (*EmojiUpdateParams) SetTimeout

func (o *EmojiUpdateParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the emoji update params

func (*EmojiUpdateParams) SetType

func (o *EmojiUpdateParams) SetType(typeVar string)

SetType adds the type to the emoji update params

func (*EmojiUpdateParams) WithCategory

func (o *EmojiUpdateParams) WithCategory(category *string) *EmojiUpdateParams

WithCategory adds the category to the emoji update params

func (*EmojiUpdateParams) WithContext

func (o *EmojiUpdateParams) WithContext(ctx context.Context) *EmojiUpdateParams

WithContext adds the context to the emoji update params

func (*EmojiUpdateParams) WithDefaults

func (o *EmojiUpdateParams) WithDefaults() *EmojiUpdateParams

WithDefaults hydrates default values in the emoji update params (not the query body).

All values with no default are reset to their zero value.

func (*EmojiUpdateParams) WithHTTPClient

func (o *EmojiUpdateParams) WithHTTPClient(client *http.Client) *EmojiUpdateParams

WithHTTPClient adds the HTTPClient to the emoji update params

func (*EmojiUpdateParams) WithID

WithID adds the id to the emoji update params

func (*EmojiUpdateParams) WithImage

WithImage adds the image to the emoji update params

func (*EmojiUpdateParams) WithShortcode

func (o *EmojiUpdateParams) WithShortcode(shortcode *string) *EmojiUpdateParams

WithShortcode adds the shortcode to the emoji update params

func (*EmojiUpdateParams) WithTimeout

func (o *EmojiUpdateParams) WithTimeout(timeout time.Duration) *EmojiUpdateParams

WithTimeout adds the timeout to the emoji update params

func (*EmojiUpdateParams) WithType

func (o *EmojiUpdateParams) WithType(typeVar string) *EmojiUpdateParams

WithType adds the typeVar to the emoji update params

func (*EmojiUpdateParams) WriteToRequest

func (o *EmojiUpdateParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type EmojiUpdateReader

type EmojiUpdateReader struct {
	// contains filtered or unexported fields
}

EmojiUpdateReader is a Reader for the EmojiUpdate structure.

func (*EmojiUpdateReader) ReadResponse

func (o *EmojiUpdateReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type EmojiUpdateUnauthorized

type EmojiUpdateUnauthorized struct {
}

EmojiUpdateUnauthorized describes a response with status code 401, with default header values.

unauthorized

func NewEmojiUpdateUnauthorized

func NewEmojiUpdateUnauthorized() *EmojiUpdateUnauthorized

NewEmojiUpdateUnauthorized creates a EmojiUpdateUnauthorized with default headers values

func (*EmojiUpdateUnauthorized) Code

func (o *EmojiUpdateUnauthorized) Code() int

Code gets the status code for the emoji update unauthorized response

func (*EmojiUpdateUnauthorized) Error

func (o *EmojiUpdateUnauthorized) Error() string

func (*EmojiUpdateUnauthorized) IsClientError

func (o *EmojiUpdateUnauthorized) IsClientError() bool

IsClientError returns true when this emoji update unauthorized response has a 4xx status code

func (*EmojiUpdateUnauthorized) IsCode

func (o *EmojiUpdateUnauthorized) IsCode(code int) bool

IsCode returns true when this emoji update unauthorized response a status code equal to that given

func (*EmojiUpdateUnauthorized) IsRedirect

func (o *EmojiUpdateUnauthorized) IsRedirect() bool

IsRedirect returns true when this emoji update unauthorized response has a 3xx status code

func (*EmojiUpdateUnauthorized) IsServerError

func (o *EmojiUpdateUnauthorized) IsServerError() bool

IsServerError returns true when this emoji update unauthorized response has a 5xx status code

func (*EmojiUpdateUnauthorized) IsSuccess

func (o *EmojiUpdateUnauthorized) IsSuccess() bool

IsSuccess returns true when this emoji update unauthorized response has a 2xx status code

func (*EmojiUpdateUnauthorized) String

func (o *EmojiUpdateUnauthorized) String() string

type EmojisGetBadRequest

type EmojisGetBadRequest struct {
}

EmojisGetBadRequest describes a response with status code 400, with default header values.

bad request

func NewEmojisGetBadRequest

func NewEmojisGetBadRequest() *EmojisGetBadRequest

NewEmojisGetBadRequest creates a EmojisGetBadRequest with default headers values

func (*EmojisGetBadRequest) Code

func (o *EmojisGetBadRequest) Code() int

Code gets the status code for the emojis get bad request response

func (*EmojisGetBadRequest) Error

func (o *EmojisGetBadRequest) Error() string

func (*EmojisGetBadRequest) IsClientError

func (o *EmojisGetBadRequest) IsClientError() bool

IsClientError returns true when this emojis get bad request response has a 4xx status code

func (*EmojisGetBadRequest) IsCode

func (o *EmojisGetBadRequest) IsCode(code int) bool

IsCode returns true when this emojis get bad request response a status code equal to that given

func (*EmojisGetBadRequest) IsRedirect

func (o *EmojisGetBadRequest) IsRedirect() bool

IsRedirect returns true when this emojis get bad request response has a 3xx status code

func (*EmojisGetBadRequest) IsServerError

func (o *EmojisGetBadRequest) IsServerError() bool

IsServerError returns true when this emojis get bad request response has a 5xx status code

func (*EmojisGetBadRequest) IsSuccess

func (o *EmojisGetBadRequest) IsSuccess() bool

IsSuccess returns true when this emojis get bad request response has a 2xx status code

func (*EmojisGetBadRequest) String

func (o *EmojisGetBadRequest) String() string

type EmojisGetForbidden

type EmojisGetForbidden struct {
}

EmojisGetForbidden describes a response with status code 403, with default header values.

forbidden

func NewEmojisGetForbidden

func NewEmojisGetForbidden() *EmojisGetForbidden

NewEmojisGetForbidden creates a EmojisGetForbidden with default headers values

func (*EmojisGetForbidden) Code

func (o *EmojisGetForbidden) Code() int

Code gets the status code for the emojis get forbidden response

func (*EmojisGetForbidden) Error

func (o *EmojisGetForbidden) Error() string

func (*EmojisGetForbidden) IsClientError

func (o *EmojisGetForbidden) IsClientError() bool

IsClientError returns true when this emojis get forbidden response has a 4xx status code

func (*EmojisGetForbidden) IsCode

func (o *EmojisGetForbidden) IsCode(code int) bool

IsCode returns true when this emojis get forbidden response a status code equal to that given

func (*EmojisGetForbidden) IsRedirect

func (o *EmojisGetForbidden) IsRedirect() bool

IsRedirect returns true when this emojis get forbidden response has a 3xx status code

func (*EmojisGetForbidden) IsServerError

func (o *EmojisGetForbidden) IsServerError() bool

IsServerError returns true when this emojis get forbidden response has a 5xx status code

func (*EmojisGetForbidden) IsSuccess

func (o *EmojisGetForbidden) IsSuccess() bool

IsSuccess returns true when this emojis get forbidden response has a 2xx status code

func (*EmojisGetForbidden) String

func (o *EmojisGetForbidden) String() string

type EmojisGetInternalServerError

type EmojisGetInternalServerError struct {
}

EmojisGetInternalServerError describes a response with status code 500, with default header values.

internal server error

func NewEmojisGetInternalServerError

func NewEmojisGetInternalServerError() *EmojisGetInternalServerError

NewEmojisGetInternalServerError creates a EmojisGetInternalServerError with default headers values

func (*EmojisGetInternalServerError) Code

Code gets the status code for the emojis get internal server error response

func (*EmojisGetInternalServerError) Error

func (*EmojisGetInternalServerError) IsClientError

func (o *EmojisGetInternalServerError) IsClientError() bool

IsClientError returns true when this emojis get internal server error response has a 4xx status code

func (*EmojisGetInternalServerError) IsCode

func (o *EmojisGetInternalServerError) IsCode(code int) bool

IsCode returns true when this emojis get internal server error response a status code equal to that given

func (*EmojisGetInternalServerError) IsRedirect

func (o *EmojisGetInternalServerError) IsRedirect() bool

IsRedirect returns true when this emojis get internal server error response has a 3xx status code

func (*EmojisGetInternalServerError) IsServerError

func (o *EmojisGetInternalServerError) IsServerError() bool

IsServerError returns true when this emojis get internal server error response has a 5xx status code

func (*EmojisGetInternalServerError) IsSuccess

func (o *EmojisGetInternalServerError) IsSuccess() bool

IsSuccess returns true when this emojis get internal server error response has a 2xx status code

func (*EmojisGetInternalServerError) String

type EmojisGetNotAcceptable

type EmojisGetNotAcceptable struct {
}

EmojisGetNotAcceptable describes a response with status code 406, with default header values.

not acceptable

func NewEmojisGetNotAcceptable

func NewEmojisGetNotAcceptable() *EmojisGetNotAcceptable

NewEmojisGetNotAcceptable creates a EmojisGetNotAcceptable with default headers values

func (*EmojisGetNotAcceptable) Code

func (o *EmojisGetNotAcceptable) Code() int

Code gets the status code for the emojis get not acceptable response

func (*EmojisGetNotAcceptable) Error

func (o *EmojisGetNotAcceptable) Error() string

func (*EmojisGetNotAcceptable) IsClientError

func (o *EmojisGetNotAcceptable) IsClientError() bool

IsClientError returns true when this emojis get not acceptable response has a 4xx status code

func (*EmojisGetNotAcceptable) IsCode

func (o *EmojisGetNotAcceptable) IsCode(code int) bool

IsCode returns true when this emojis get not acceptable response a status code equal to that given

func (*EmojisGetNotAcceptable) IsRedirect

func (o *EmojisGetNotAcceptable) IsRedirect() bool

IsRedirect returns true when this emojis get not acceptable response has a 3xx status code

func (*EmojisGetNotAcceptable) IsServerError

func (o *EmojisGetNotAcceptable) IsServerError() bool

IsServerError returns true when this emojis get not acceptable response has a 5xx status code

func (*EmojisGetNotAcceptable) IsSuccess

func (o *EmojisGetNotAcceptable) IsSuccess() bool

IsSuccess returns true when this emojis get not acceptable response has a 2xx status code

func (*EmojisGetNotAcceptable) String

func (o *EmojisGetNotAcceptable) String() string

type EmojisGetNotFound

type EmojisGetNotFound struct {
}

EmojisGetNotFound describes a response with status code 404, with default header values.

not found

func NewEmojisGetNotFound

func NewEmojisGetNotFound() *EmojisGetNotFound

NewEmojisGetNotFound creates a EmojisGetNotFound with default headers values

func (*EmojisGetNotFound) Code

func (o *EmojisGetNotFound) Code() int

Code gets the status code for the emojis get not found response

func (*EmojisGetNotFound) Error

func (o *EmojisGetNotFound) Error() string

func (*EmojisGetNotFound) IsClientError

func (o *EmojisGetNotFound) IsClientError() bool

IsClientError returns true when this emojis get not found response has a 4xx status code

func (*EmojisGetNotFound) IsCode

func (o *EmojisGetNotFound) IsCode(code int) bool

IsCode returns true when this emojis get not found response a status code equal to that given

func (*EmojisGetNotFound) IsRedirect

func (o *EmojisGetNotFound) IsRedirect() bool

IsRedirect returns true when this emojis get not found response has a 3xx status code

func (*EmojisGetNotFound) IsServerError

func (o *EmojisGetNotFound) IsServerError() bool

IsServerError returns true when this emojis get not found response has a 5xx status code

func (*EmojisGetNotFound) IsSuccess

func (o *EmojisGetNotFound) IsSuccess() bool

IsSuccess returns true when this emojis get not found response has a 2xx status code

func (*EmojisGetNotFound) String

func (o *EmojisGetNotFound) String() string

type EmojisGetOK

type EmojisGetOK struct {

	/* Links to the next and previous queries.
	 */
	Link string

	Payload []*models.AdminEmoji
}

EmojisGetOK describes a response with status code 200, with default header values.

An array of emojis, arranged alphabetically by shortcode and domain.

func NewEmojisGetOK

func NewEmojisGetOK() *EmojisGetOK

NewEmojisGetOK creates a EmojisGetOK with default headers values

func (*EmojisGetOK) Code

func (o *EmojisGetOK) Code() int

Code gets the status code for the emojis get o k response

func (*EmojisGetOK) Error

func (o *EmojisGetOK) Error() string

func (*EmojisGetOK) GetPayload

func (o *EmojisGetOK) GetPayload() []*models.AdminEmoji

func (*EmojisGetOK) IsClientError

func (o *EmojisGetOK) IsClientError() bool

IsClientError returns true when this emojis get o k response has a 4xx status code

func (*EmojisGetOK) IsCode

func (o *EmojisGetOK) IsCode(code int) bool

IsCode returns true when this emojis get o k response a status code equal to that given

func (*EmojisGetOK) IsRedirect

func (o *EmojisGetOK) IsRedirect() bool

IsRedirect returns true when this emojis get o k response has a 3xx status code

func (*EmojisGetOK) IsServerError

func (o *EmojisGetOK) IsServerError() bool

IsServerError returns true when this emojis get o k response has a 5xx status code

func (*EmojisGetOK) IsSuccess

func (o *EmojisGetOK) IsSuccess() bool

IsSuccess returns true when this emojis get o k response has a 2xx status code

func (*EmojisGetOK) String

func (o *EmojisGetOK) String() string

type EmojisGetParams

type EmojisGetParams struct {

	/* Filter.

	     Comma-separated list of filters to apply to results. Recognized filters are:

	`domain:[domain]` -- show emojis from the given domain, eg `?filter=domain:example.org` will show emojis from `example.org` only.
	Instead of giving a specific domain, you can also give either one of the key words `local` or `all` to show either local emojis only (`domain:local`) or show all emojis from all domains (`domain:all`).
	Note: `domain:*` is equivalent to `domain:all` (including local).
	If no domain filter is provided, `domain:all` will be assumed.

	`disabled` -- include emojis that have been disabled.

	`enabled` -- include emojis that are enabled.

	`shortcode:[shortcode]` -- show only emojis with the given shortcode, eg `?filter=shortcode:blob_cat_uwu` will show only emojis with the shortcode `blob_cat_uwu` (case sensitive).

	If neither `disabled` or `enabled` are provided, both disabled and enabled emojis will be shown.

	If no filter query string is provided, the default `domain:all` will be used, which will show all emojis from all domains.

	     Default: "domain:all"
	*/
	Filter *string

	/* Limit.

	   Number of emojis to return. Less than 1, or not set, means unlimited (all emojis).

	   Default: 50
	*/
	Limit *int64

	/* MaxShortcodeDomain.

	     Return only emojis with `[shortcode]@[domain]` *LOWER* (alphabetically) than given `[shortcode]@[domain]`. For example, if `max_shortcode_domain=beep@example.org`, then returned values might include emojis with `[shortcode]@[domain]`s like `car@example.org`, `debian@aaa.com`, `test@` (local emoji), etc.
	Emoji with the given `[shortcode]@[domain]` will not be included in the result set.
	*/
	MaxShortcodeDomain *string

	/* MinShortcodeDomain.

	     Return only emojis with `[shortcode]@[domain]` *HIGHER* (alphabetically) than given `[shortcode]@[domain]`. For example, if `max_shortcode_domain=beep@example.org`, then returned values might include emojis with `[shortcode]@[domain]`s like `arse@test.com`, `0101_binary@hackers.net`, `bee@` (local emoji), etc.
	Emoji with the given `[shortcode]@[domain]` will not be included in the result set.
	*/
	MinShortcodeDomain *string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

EmojisGetParams contains all the parameters to send to the API endpoint

for the emojis get operation.

Typically these are written to a http.Request.

func NewEmojisGetParams

func NewEmojisGetParams() *EmojisGetParams

NewEmojisGetParams creates a new EmojisGetParams 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 NewEmojisGetParamsWithContext

func NewEmojisGetParamsWithContext(ctx context.Context) *EmojisGetParams

NewEmojisGetParamsWithContext creates a new EmojisGetParams object with the ability to set a context for a request.

func NewEmojisGetParamsWithHTTPClient

func NewEmojisGetParamsWithHTTPClient(client *http.Client) *EmojisGetParams

NewEmojisGetParamsWithHTTPClient creates a new EmojisGetParams object with the ability to set a custom HTTPClient for a request.

func NewEmojisGetParamsWithTimeout

func NewEmojisGetParamsWithTimeout(timeout time.Duration) *EmojisGetParams

NewEmojisGetParamsWithTimeout creates a new EmojisGetParams object with the ability to set a timeout on a request.

func (*EmojisGetParams) SetContext

func (o *EmojisGetParams) SetContext(ctx context.Context)

SetContext adds the context to the emojis get params

func (*EmojisGetParams) SetDefaults

func (o *EmojisGetParams) SetDefaults()

SetDefaults hydrates default values in the emojis get params (not the query body).

All values with no default are reset to their zero value.

func (*EmojisGetParams) SetFilter

func (o *EmojisGetParams) SetFilter(filter *string)

SetFilter adds the filter to the emojis get params

func (*EmojisGetParams) SetHTTPClient

func (o *EmojisGetParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the emojis get params

func (*EmojisGetParams) SetLimit

func (o *EmojisGetParams) SetLimit(limit *int64)

SetLimit adds the limit to the emojis get params

func (*EmojisGetParams) SetMaxShortcodeDomain

func (o *EmojisGetParams) SetMaxShortcodeDomain(maxShortcodeDomain *string)

SetMaxShortcodeDomain adds the maxShortcodeDomain to the emojis get params

func (*EmojisGetParams) SetMinShortcodeDomain

func (o *EmojisGetParams) SetMinShortcodeDomain(minShortcodeDomain *string)

SetMinShortcodeDomain adds the minShortcodeDomain to the emojis get params

func (*EmojisGetParams) SetTimeout

func (o *EmojisGetParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the emojis get params

func (*EmojisGetParams) WithContext

func (o *EmojisGetParams) WithContext(ctx context.Context) *EmojisGetParams

WithContext adds the context to the emojis get params

func (*EmojisGetParams) WithDefaults

func (o *EmojisGetParams) WithDefaults() *EmojisGetParams

WithDefaults hydrates default values in the emojis get params (not the query body).

All values with no default are reset to their zero value.

func (*EmojisGetParams) WithFilter

func (o *EmojisGetParams) WithFilter(filter *string) *EmojisGetParams

WithFilter adds the filter to the emojis get params

func (*EmojisGetParams) WithHTTPClient

func (o *EmojisGetParams) WithHTTPClient(client *http.Client) *EmojisGetParams

WithHTTPClient adds the HTTPClient to the emojis get params

func (*EmojisGetParams) WithLimit

func (o *EmojisGetParams) WithLimit(limit *int64) *EmojisGetParams

WithLimit adds the limit to the emojis get params

func (*EmojisGetParams) WithMaxShortcodeDomain

func (o *EmojisGetParams) WithMaxShortcodeDomain(maxShortcodeDomain *string) *EmojisGetParams

WithMaxShortcodeDomain adds the maxShortcodeDomain to the emojis get params

func (*EmojisGetParams) WithMinShortcodeDomain

func (o *EmojisGetParams) WithMinShortcodeDomain(minShortcodeDomain *string) *EmojisGetParams

WithMinShortcodeDomain adds the minShortcodeDomain to the emojis get params

func (*EmojisGetParams) WithTimeout

func (o *EmojisGetParams) WithTimeout(timeout time.Duration) *EmojisGetParams

WithTimeout adds the timeout to the emojis get params

func (*EmojisGetParams) WriteToRequest

func (o *EmojisGetParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type EmojisGetReader

type EmojisGetReader struct {
	// contains filtered or unexported fields
}

EmojisGetReader is a Reader for the EmojisGet structure.

func (*EmojisGetReader) ReadResponse

func (o *EmojisGetReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type EmojisGetUnauthorized

type EmojisGetUnauthorized struct {
}

EmojisGetUnauthorized describes a response with status code 401, with default header values.

unauthorized

func NewEmojisGetUnauthorized

func NewEmojisGetUnauthorized() *EmojisGetUnauthorized

NewEmojisGetUnauthorized creates a EmojisGetUnauthorized with default headers values

func (*EmojisGetUnauthorized) Code

func (o *EmojisGetUnauthorized) Code() int

Code gets the status code for the emojis get unauthorized response

func (*EmojisGetUnauthorized) Error

func (o *EmojisGetUnauthorized) Error() string

func (*EmojisGetUnauthorized) IsClientError

func (o *EmojisGetUnauthorized) IsClientError() bool

IsClientError returns true when this emojis get unauthorized response has a 4xx status code

func (*EmojisGetUnauthorized) IsCode

func (o *EmojisGetUnauthorized) IsCode(code int) bool

IsCode returns true when this emojis get unauthorized response a status code equal to that given

func (*EmojisGetUnauthorized) IsRedirect

func (o *EmojisGetUnauthorized) IsRedirect() bool

IsRedirect returns true when this emojis get unauthorized response has a 3xx status code

func (*EmojisGetUnauthorized) IsServerError

func (o *EmojisGetUnauthorized) IsServerError() bool

IsServerError returns true when this emojis get unauthorized response has a 5xx status code

func (*EmojisGetUnauthorized) IsSuccess

func (o *EmojisGetUnauthorized) IsSuccess() bool

IsSuccess returns true when this emojis get unauthorized response has a 2xx status code

func (*EmojisGetUnauthorized) String

func (o *EmojisGetUnauthorized) String() string

type HeaderFilterAllowCreateBadRequest

type HeaderFilterAllowCreateBadRequest struct {
}

HeaderFilterAllowCreateBadRequest describes a response with status code 400, with default header values.

bad request

func NewHeaderFilterAllowCreateBadRequest

func NewHeaderFilterAllowCreateBadRequest() *HeaderFilterAllowCreateBadRequest

NewHeaderFilterAllowCreateBadRequest creates a HeaderFilterAllowCreateBadRequest with default headers values

func (*HeaderFilterAllowCreateBadRequest) Code

Code gets the status code for the header filter allow create bad request response

func (*HeaderFilterAllowCreateBadRequest) Error

func (*HeaderFilterAllowCreateBadRequest) IsClientError

func (o *HeaderFilterAllowCreateBadRequest) IsClientError() bool

IsClientError returns true when this header filter allow create bad request response has a 4xx status code

func (*HeaderFilterAllowCreateBadRequest) IsCode

func (o *HeaderFilterAllowCreateBadRequest) IsCode(code int) bool

IsCode returns true when this header filter allow create bad request response a status code equal to that given

func (*HeaderFilterAllowCreateBadRequest) IsRedirect

func (o *HeaderFilterAllowCreateBadRequest) IsRedirect() bool

IsRedirect returns true when this header filter allow create bad request response has a 3xx status code

func (*HeaderFilterAllowCreateBadRequest) IsServerError

func (o *HeaderFilterAllowCreateBadRequest) IsServerError() bool

IsServerError returns true when this header filter allow create bad request response has a 5xx status code

func (*HeaderFilterAllowCreateBadRequest) IsSuccess

func (o *HeaderFilterAllowCreateBadRequest) IsSuccess() bool

IsSuccess returns true when this header filter allow create bad request response has a 2xx status code

func (*HeaderFilterAllowCreateBadRequest) String

type HeaderFilterAllowCreateForbidden

type HeaderFilterAllowCreateForbidden struct {
}

HeaderFilterAllowCreateForbidden describes a response with status code 403, with default header values.

forbidden

func NewHeaderFilterAllowCreateForbidden

func NewHeaderFilterAllowCreateForbidden() *HeaderFilterAllowCreateForbidden

NewHeaderFilterAllowCreateForbidden creates a HeaderFilterAllowCreateForbidden with default headers values

func (*HeaderFilterAllowCreateForbidden) Code

Code gets the status code for the header filter allow create forbidden response

func (*HeaderFilterAllowCreateForbidden) Error

func (*HeaderFilterAllowCreateForbidden) IsClientError

func (o *HeaderFilterAllowCreateForbidden) IsClientError() bool

IsClientError returns true when this header filter allow create forbidden response has a 4xx status code

func (*HeaderFilterAllowCreateForbidden) IsCode

func (o *HeaderFilterAllowCreateForbidden) IsCode(code int) bool

IsCode returns true when this header filter allow create forbidden response a status code equal to that given

func (*HeaderFilterAllowCreateForbidden) IsRedirect

func (o *HeaderFilterAllowCreateForbidden) IsRedirect() bool

IsRedirect returns true when this header filter allow create forbidden response has a 3xx status code

func (*HeaderFilterAllowCreateForbidden) IsServerError

func (o *HeaderFilterAllowCreateForbidden) IsServerError() bool

IsServerError returns true when this header filter allow create forbidden response has a 5xx status code

func (*HeaderFilterAllowCreateForbidden) IsSuccess

func (o *HeaderFilterAllowCreateForbidden) IsSuccess() bool

IsSuccess returns true when this header filter allow create forbidden response has a 2xx status code

func (*HeaderFilterAllowCreateForbidden) String

type HeaderFilterAllowCreateInternalServerError

type HeaderFilterAllowCreateInternalServerError struct {
}

HeaderFilterAllowCreateInternalServerError describes a response with status code 500, with default header values.

internal server error

func NewHeaderFilterAllowCreateInternalServerError

func NewHeaderFilterAllowCreateInternalServerError() *HeaderFilterAllowCreateInternalServerError

NewHeaderFilterAllowCreateInternalServerError creates a HeaderFilterAllowCreateInternalServerError with default headers values

func (*HeaderFilterAllowCreateInternalServerError) Code

Code gets the status code for the header filter allow create internal server error response

func (*HeaderFilterAllowCreateInternalServerError) Error

func (*HeaderFilterAllowCreateInternalServerError) IsClientError

IsClientError returns true when this header filter allow create internal server error response has a 4xx status code

func (*HeaderFilterAllowCreateInternalServerError) IsCode

IsCode returns true when this header filter allow create internal server error response a status code equal to that given

func (*HeaderFilterAllowCreateInternalServerError) IsRedirect

IsRedirect returns true when this header filter allow create internal server error response has a 3xx status code

func (*HeaderFilterAllowCreateInternalServerError) IsServerError

IsServerError returns true when this header filter allow create internal server error response has a 5xx status code

func (*HeaderFilterAllowCreateInternalServerError) IsSuccess

IsSuccess returns true when this header filter allow create internal server error response has a 2xx status code

func (*HeaderFilterAllowCreateInternalServerError) String

type HeaderFilterAllowCreateOK

type HeaderFilterAllowCreateOK struct {
	Payload *models.HeaderFilter
}

HeaderFilterAllowCreateOK describes a response with status code 200, with default header values.

The newly created "allow" header filter.

func NewHeaderFilterAllowCreateOK

func NewHeaderFilterAllowCreateOK() *HeaderFilterAllowCreateOK

NewHeaderFilterAllowCreateOK creates a HeaderFilterAllowCreateOK with default headers values

func (*HeaderFilterAllowCreateOK) Code

func (o *HeaderFilterAllowCreateOK) Code() int

Code gets the status code for the header filter allow create o k response

func (*HeaderFilterAllowCreateOK) Error

func (o *HeaderFilterAllowCreateOK) Error() string

func (*HeaderFilterAllowCreateOK) GetPayload

func (*HeaderFilterAllowCreateOK) IsClientError

func (o *HeaderFilterAllowCreateOK) IsClientError() bool

IsClientError returns true when this header filter allow create o k response has a 4xx status code

func (*HeaderFilterAllowCreateOK) IsCode

func (o *HeaderFilterAllowCreateOK) IsCode(code int) bool

IsCode returns true when this header filter allow create o k response a status code equal to that given

func (*HeaderFilterAllowCreateOK) IsRedirect

func (o *HeaderFilterAllowCreateOK) IsRedirect() bool

IsRedirect returns true when this header filter allow create o k response has a 3xx status code

func (*HeaderFilterAllowCreateOK) IsServerError

func (o *HeaderFilterAllowCreateOK) IsServerError() bool

IsServerError returns true when this header filter allow create o k response has a 5xx status code

func (*HeaderFilterAllowCreateOK) IsSuccess

func (o *HeaderFilterAllowCreateOK) IsSuccess() bool

IsSuccess returns true when this header filter allow create o k response has a 2xx status code

func (*HeaderFilterAllowCreateOK) String

func (o *HeaderFilterAllowCreateOK) String() string

type HeaderFilterAllowCreateParams

type HeaderFilterAllowCreateParams struct {

	/* Header.

	   The HTTP header to match against (e.g. User-Agent).
	*/
	Header string

	/* Regex.

	   The header value matching regular expression.
	*/
	Regex string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

HeaderFilterAllowCreateParams contains all the parameters to send to the API endpoint

for the header filter allow create operation.

Typically these are written to a http.Request.

func NewHeaderFilterAllowCreateParams

func NewHeaderFilterAllowCreateParams() *HeaderFilterAllowCreateParams

NewHeaderFilterAllowCreateParams creates a new HeaderFilterAllowCreateParams 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 NewHeaderFilterAllowCreateParamsWithContext

func NewHeaderFilterAllowCreateParamsWithContext(ctx context.Context) *HeaderFilterAllowCreateParams

NewHeaderFilterAllowCreateParamsWithContext creates a new HeaderFilterAllowCreateParams object with the ability to set a context for a request.

func NewHeaderFilterAllowCreateParamsWithHTTPClient

func NewHeaderFilterAllowCreateParamsWithHTTPClient(client *http.Client) *HeaderFilterAllowCreateParams

NewHeaderFilterAllowCreateParamsWithHTTPClient creates a new HeaderFilterAllowCreateParams object with the ability to set a custom HTTPClient for a request.

func NewHeaderFilterAllowCreateParamsWithTimeout

func NewHeaderFilterAllowCreateParamsWithTimeout(timeout time.Duration) *HeaderFilterAllowCreateParams

NewHeaderFilterAllowCreateParamsWithTimeout creates a new HeaderFilterAllowCreateParams object with the ability to set a timeout on a request.

func (*HeaderFilterAllowCreateParams) SetContext

func (o *HeaderFilterAllowCreateParams) SetContext(ctx context.Context)

SetContext adds the context to the header filter allow create params

func (*HeaderFilterAllowCreateParams) SetDefaults

func (o *HeaderFilterAllowCreateParams) SetDefaults()

SetDefaults hydrates default values in the header filter allow create params (not the query body).

All values with no default are reset to their zero value.

func (*HeaderFilterAllowCreateParams) SetHTTPClient

func (o *HeaderFilterAllowCreateParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the header filter allow create params

func (*HeaderFilterAllowCreateParams) SetHeader

func (o *HeaderFilterAllowCreateParams) SetHeader(header string)

SetHeader adds the header to the header filter allow create params

func (*HeaderFilterAllowCreateParams) SetRegex

func (o *HeaderFilterAllowCreateParams) SetRegex(regex string)

SetRegex adds the regex to the header filter allow create params

func (*HeaderFilterAllowCreateParams) SetTimeout

func (o *HeaderFilterAllowCreateParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the header filter allow create params

func (*HeaderFilterAllowCreateParams) WithContext

WithContext adds the context to the header filter allow create params

func (*HeaderFilterAllowCreateParams) WithDefaults

WithDefaults hydrates default values in the header filter allow create params (not the query body).

All values with no default are reset to their zero value.

func (*HeaderFilterAllowCreateParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the header filter allow create params

func (*HeaderFilterAllowCreateParams) WithHeader

WithHeader adds the header to the header filter allow create params

func (*HeaderFilterAllowCreateParams) WithRegex

WithRegex adds the regex to the header filter allow create params

func (*HeaderFilterAllowCreateParams) WithTimeout

WithTimeout adds the timeout to the header filter allow create params

func (*HeaderFilterAllowCreateParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type HeaderFilterAllowCreateReader

type HeaderFilterAllowCreateReader struct {
	// contains filtered or unexported fields
}

HeaderFilterAllowCreateReader is a Reader for the HeaderFilterAllowCreate structure.

func (*HeaderFilterAllowCreateReader) ReadResponse

func (o *HeaderFilterAllowCreateReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type HeaderFilterAllowCreateUnauthorized

type HeaderFilterAllowCreateUnauthorized struct {
}

HeaderFilterAllowCreateUnauthorized describes a response with status code 401, with default header values.

unauthorized

func NewHeaderFilterAllowCreateUnauthorized

func NewHeaderFilterAllowCreateUnauthorized() *HeaderFilterAllowCreateUnauthorized

NewHeaderFilterAllowCreateUnauthorized creates a HeaderFilterAllowCreateUnauthorized with default headers values

func (*HeaderFilterAllowCreateUnauthorized) Code

Code gets the status code for the header filter allow create unauthorized response

func (*HeaderFilterAllowCreateUnauthorized) Error

func (*HeaderFilterAllowCreateUnauthorized) IsClientError

func (o *HeaderFilterAllowCreateUnauthorized) IsClientError() bool

IsClientError returns true when this header filter allow create unauthorized response has a 4xx status code

func (*HeaderFilterAllowCreateUnauthorized) IsCode

IsCode returns true when this header filter allow create unauthorized response a status code equal to that given

func (*HeaderFilterAllowCreateUnauthorized) IsRedirect

func (o *HeaderFilterAllowCreateUnauthorized) IsRedirect() bool

IsRedirect returns true when this header filter allow create unauthorized response has a 3xx status code

func (*HeaderFilterAllowCreateUnauthorized) IsServerError

func (o *HeaderFilterAllowCreateUnauthorized) IsServerError() bool

IsServerError returns true when this header filter allow create unauthorized response has a 5xx status code

func (*HeaderFilterAllowCreateUnauthorized) IsSuccess

IsSuccess returns true when this header filter allow create unauthorized response has a 2xx status code

func (*HeaderFilterAllowCreateUnauthorized) String

type HeaderFilterAllowDeleteAccepted

type HeaderFilterAllowDeleteAccepted struct {
}

HeaderFilterAllowDeleteAccepted describes a response with status code 202, with default header values.

Accepted

func NewHeaderFilterAllowDeleteAccepted

func NewHeaderFilterAllowDeleteAccepted() *HeaderFilterAllowDeleteAccepted

NewHeaderFilterAllowDeleteAccepted creates a HeaderFilterAllowDeleteAccepted with default headers values

func (*HeaderFilterAllowDeleteAccepted) Code

Code gets the status code for the header filter allow delete accepted response

func (*HeaderFilterAllowDeleteAccepted) Error

func (*HeaderFilterAllowDeleteAccepted) IsClientError

func (o *HeaderFilterAllowDeleteAccepted) IsClientError() bool

IsClientError returns true when this header filter allow delete accepted response has a 4xx status code

func (*HeaderFilterAllowDeleteAccepted) IsCode

func (o *HeaderFilterAllowDeleteAccepted) IsCode(code int) bool

IsCode returns true when this header filter allow delete accepted response a status code equal to that given

func (*HeaderFilterAllowDeleteAccepted) IsRedirect

func (o *HeaderFilterAllowDeleteAccepted) IsRedirect() bool

IsRedirect returns true when this header filter allow delete accepted response has a 3xx status code

func (*HeaderFilterAllowDeleteAccepted) IsServerError

func (o *HeaderFilterAllowDeleteAccepted) IsServerError() bool

IsServerError returns true when this header filter allow delete accepted response has a 5xx status code

func (*HeaderFilterAllowDeleteAccepted) IsSuccess

func (o *HeaderFilterAllowDeleteAccepted) IsSuccess() bool

IsSuccess returns true when this header filter allow delete accepted response has a 2xx status code

func (*HeaderFilterAllowDeleteAccepted) String

type HeaderFilterAllowDeleteBadRequest

type HeaderFilterAllowDeleteBadRequest struct {
}

HeaderFilterAllowDeleteBadRequest describes a response with status code 400, with default header values.

bad request

func NewHeaderFilterAllowDeleteBadRequest

func NewHeaderFilterAllowDeleteBadRequest() *HeaderFilterAllowDeleteBadRequest

NewHeaderFilterAllowDeleteBadRequest creates a HeaderFilterAllowDeleteBadRequest with default headers values

func (*HeaderFilterAllowDeleteBadRequest) Code

Code gets the status code for the header filter allow delete bad request response

func (*HeaderFilterAllowDeleteBadRequest) Error

func (*HeaderFilterAllowDeleteBadRequest) IsClientError

func (o *HeaderFilterAllowDeleteBadRequest) IsClientError() bool

IsClientError returns true when this header filter allow delete bad request response has a 4xx status code

func (*HeaderFilterAllowDeleteBadRequest) IsCode

func (o *HeaderFilterAllowDeleteBadRequest) IsCode(code int) bool

IsCode returns true when this header filter allow delete bad request response a status code equal to that given

func (*HeaderFilterAllowDeleteBadRequest) IsRedirect

func (o *HeaderFilterAllowDeleteBadRequest) IsRedirect() bool

IsRedirect returns true when this header filter allow delete bad request response has a 3xx status code

func (*HeaderFilterAllowDeleteBadRequest) IsServerError

func (o *HeaderFilterAllowDeleteBadRequest) IsServerError() bool

IsServerError returns true when this header filter allow delete bad request response has a 5xx status code

func (*HeaderFilterAllowDeleteBadRequest) IsSuccess

func (o *HeaderFilterAllowDeleteBadRequest) IsSuccess() bool

IsSuccess returns true when this header filter allow delete bad request response has a 2xx status code

func (*HeaderFilterAllowDeleteBadRequest) String

type HeaderFilterAllowDeleteForbidden

type HeaderFilterAllowDeleteForbidden struct {
}

HeaderFilterAllowDeleteForbidden describes a response with status code 403, with default header values.

forbidden

func NewHeaderFilterAllowDeleteForbidden

func NewHeaderFilterAllowDeleteForbidden() *HeaderFilterAllowDeleteForbidden

NewHeaderFilterAllowDeleteForbidden creates a HeaderFilterAllowDeleteForbidden with default headers values

func (*HeaderFilterAllowDeleteForbidden) Code

Code gets the status code for the header filter allow delete forbidden response

func (*HeaderFilterAllowDeleteForbidden) Error

func (*HeaderFilterAllowDeleteForbidden) IsClientError

func (o *HeaderFilterAllowDeleteForbidden) IsClientError() bool

IsClientError returns true when this header filter allow delete forbidden response has a 4xx status code

func (*HeaderFilterAllowDeleteForbidden) IsCode

func (o *HeaderFilterAllowDeleteForbidden) IsCode(code int) bool

IsCode returns true when this header filter allow delete forbidden response a status code equal to that given

func (*HeaderFilterAllowDeleteForbidden) IsRedirect

func (o *HeaderFilterAllowDeleteForbidden) IsRedirect() bool

IsRedirect returns true when this header filter allow delete forbidden response has a 3xx status code

func (*HeaderFilterAllowDeleteForbidden) IsServerError

func (o *HeaderFilterAllowDeleteForbidden) IsServerError() bool

IsServerError returns true when this header filter allow delete forbidden response has a 5xx status code

func (*HeaderFilterAllowDeleteForbidden) IsSuccess

func (o *HeaderFilterAllowDeleteForbidden) IsSuccess() bool

IsSuccess returns true when this header filter allow delete forbidden response has a 2xx status code

func (*HeaderFilterAllowDeleteForbidden) String

type HeaderFilterAllowDeleteInternalServerError

type HeaderFilterAllowDeleteInternalServerError struct {
}

HeaderFilterAllowDeleteInternalServerError describes a response with status code 500, with default header values.

internal server error

func NewHeaderFilterAllowDeleteInternalServerError

func NewHeaderFilterAllowDeleteInternalServerError() *HeaderFilterAllowDeleteInternalServerError

NewHeaderFilterAllowDeleteInternalServerError creates a HeaderFilterAllowDeleteInternalServerError with default headers values

func (*HeaderFilterAllowDeleteInternalServerError) Code

Code gets the status code for the header filter allow delete internal server error response

func (*HeaderFilterAllowDeleteInternalServerError) Error

func (*HeaderFilterAllowDeleteInternalServerError) IsClientError

IsClientError returns true when this header filter allow delete internal server error response has a 4xx status code

func (*HeaderFilterAllowDeleteInternalServerError) IsCode

IsCode returns true when this header filter allow delete internal server error response a status code equal to that given

func (*HeaderFilterAllowDeleteInternalServerError) IsRedirect

IsRedirect returns true when this header filter allow delete internal server error response has a 3xx status code

func (*HeaderFilterAllowDeleteInternalServerError) IsServerError

IsServerError returns true when this header filter allow delete internal server error response has a 5xx status code

func (*HeaderFilterAllowDeleteInternalServerError) IsSuccess

IsSuccess returns true when this header filter allow delete internal server error response has a 2xx status code

func (*HeaderFilterAllowDeleteInternalServerError) String

type HeaderFilterAllowDeleteNotFound

type HeaderFilterAllowDeleteNotFound struct {
}

HeaderFilterAllowDeleteNotFound describes a response with status code 404, with default header values.

not found

func NewHeaderFilterAllowDeleteNotFound

func NewHeaderFilterAllowDeleteNotFound() *HeaderFilterAllowDeleteNotFound

NewHeaderFilterAllowDeleteNotFound creates a HeaderFilterAllowDeleteNotFound with default headers values

func (*HeaderFilterAllowDeleteNotFound) Code

Code gets the status code for the header filter allow delete not found response

func (*HeaderFilterAllowDeleteNotFound) Error

func (*HeaderFilterAllowDeleteNotFound) IsClientError

func (o *HeaderFilterAllowDeleteNotFound) IsClientError() bool

IsClientError returns true when this header filter allow delete not found response has a 4xx status code

func (*HeaderFilterAllowDeleteNotFound) IsCode

func (o *HeaderFilterAllowDeleteNotFound) IsCode(code int) bool

IsCode returns true when this header filter allow delete not found response a status code equal to that given

func (*HeaderFilterAllowDeleteNotFound) IsRedirect

func (o *HeaderFilterAllowDeleteNotFound) IsRedirect() bool

IsRedirect returns true when this header filter allow delete not found response has a 3xx status code

func (*HeaderFilterAllowDeleteNotFound) IsServerError

func (o *HeaderFilterAllowDeleteNotFound) IsServerError() bool

IsServerError returns true when this header filter allow delete not found response has a 5xx status code

func (*HeaderFilterAllowDeleteNotFound) IsSuccess

func (o *HeaderFilterAllowDeleteNotFound) IsSuccess() bool

IsSuccess returns true when this header filter allow delete not found response has a 2xx status code

func (*HeaderFilterAllowDeleteNotFound) String

type HeaderFilterAllowDeleteParams

type HeaderFilterAllowDeleteParams struct {

	/* ID.

	   Target header filter ID.
	*/
	ID string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

HeaderFilterAllowDeleteParams contains all the parameters to send to the API endpoint

for the header filter allow delete operation.

Typically these are written to a http.Request.

func NewHeaderFilterAllowDeleteParams

func NewHeaderFilterAllowDeleteParams() *HeaderFilterAllowDeleteParams

NewHeaderFilterAllowDeleteParams creates a new HeaderFilterAllowDeleteParams 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 NewHeaderFilterAllowDeleteParamsWithContext

func NewHeaderFilterAllowDeleteParamsWithContext(ctx context.Context) *HeaderFilterAllowDeleteParams

NewHeaderFilterAllowDeleteParamsWithContext creates a new HeaderFilterAllowDeleteParams object with the ability to set a context for a request.

func NewHeaderFilterAllowDeleteParamsWithHTTPClient

func NewHeaderFilterAllowDeleteParamsWithHTTPClient(client *http.Client) *HeaderFilterAllowDeleteParams

NewHeaderFilterAllowDeleteParamsWithHTTPClient creates a new HeaderFilterAllowDeleteParams object with the ability to set a custom HTTPClient for a request.

func NewHeaderFilterAllowDeleteParamsWithTimeout

func NewHeaderFilterAllowDeleteParamsWithTimeout(timeout time.Duration) *HeaderFilterAllowDeleteParams

NewHeaderFilterAllowDeleteParamsWithTimeout creates a new HeaderFilterAllowDeleteParams object with the ability to set a timeout on a request.

func (*HeaderFilterAllowDeleteParams) SetContext

func (o *HeaderFilterAllowDeleteParams) SetContext(ctx context.Context)

SetContext adds the context to the header filter allow delete params

func (*HeaderFilterAllowDeleteParams) SetDefaults

func (o *HeaderFilterAllowDeleteParams) SetDefaults()

SetDefaults hydrates default values in the header filter allow delete params (not the query body).

All values with no default are reset to their zero value.

func (*HeaderFilterAllowDeleteParams) SetHTTPClient

func (o *HeaderFilterAllowDeleteParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the header filter allow delete params

func (*HeaderFilterAllowDeleteParams) SetID

SetID adds the id to the header filter allow delete params

func (*HeaderFilterAllowDeleteParams) SetTimeout

func (o *HeaderFilterAllowDeleteParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the header filter allow delete params

func (*HeaderFilterAllowDeleteParams) WithContext

WithContext adds the context to the header filter allow delete params

func (*HeaderFilterAllowDeleteParams) WithDefaults

WithDefaults hydrates default values in the header filter allow delete params (not the query body).

All values with no default are reset to their zero value.

func (*HeaderFilterAllowDeleteParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the header filter allow delete params

func (*HeaderFilterAllowDeleteParams) WithID

WithID adds the id to the header filter allow delete params

func (*HeaderFilterAllowDeleteParams) WithTimeout

WithTimeout adds the timeout to the header filter allow delete params

func (*HeaderFilterAllowDeleteParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type HeaderFilterAllowDeleteReader

type HeaderFilterAllowDeleteReader struct {
	// contains filtered or unexported fields
}

HeaderFilterAllowDeleteReader is a Reader for the HeaderFilterAllowDelete structure.

func (*HeaderFilterAllowDeleteReader) ReadResponse

func (o *HeaderFilterAllowDeleteReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type HeaderFilterAllowDeleteUnauthorized

type HeaderFilterAllowDeleteUnauthorized struct {
}

HeaderFilterAllowDeleteUnauthorized describes a response with status code 401, with default header values.

unauthorized

func NewHeaderFilterAllowDeleteUnauthorized

func NewHeaderFilterAllowDeleteUnauthorized() *HeaderFilterAllowDeleteUnauthorized

NewHeaderFilterAllowDeleteUnauthorized creates a HeaderFilterAllowDeleteUnauthorized with default headers values

func (*HeaderFilterAllowDeleteUnauthorized) Code

Code gets the status code for the header filter allow delete unauthorized response

func (*HeaderFilterAllowDeleteUnauthorized) Error

func (*HeaderFilterAllowDeleteUnauthorized) IsClientError

func (o *HeaderFilterAllowDeleteUnauthorized) IsClientError() bool

IsClientError returns true when this header filter allow delete unauthorized response has a 4xx status code

func (*HeaderFilterAllowDeleteUnauthorized) IsCode

IsCode returns true when this header filter allow delete unauthorized response a status code equal to that given

func (*HeaderFilterAllowDeleteUnauthorized) IsRedirect

func (o *HeaderFilterAllowDeleteUnauthorized) IsRedirect() bool

IsRedirect returns true when this header filter allow delete unauthorized response has a 3xx status code

func (*HeaderFilterAllowDeleteUnauthorized) IsServerError

func (o *HeaderFilterAllowDeleteUnauthorized) IsServerError() bool

IsServerError returns true when this header filter allow delete unauthorized response has a 5xx status code

func (*HeaderFilterAllowDeleteUnauthorized) IsSuccess

IsSuccess returns true when this header filter allow delete unauthorized response has a 2xx status code

func (*HeaderFilterAllowDeleteUnauthorized) String

type HeaderFilterAllowGetBadRequest

type HeaderFilterAllowGetBadRequest struct {
}

HeaderFilterAllowGetBadRequest describes a response with status code 400, with default header values.

bad request

func NewHeaderFilterAllowGetBadRequest

func NewHeaderFilterAllowGetBadRequest() *HeaderFilterAllowGetBadRequest

NewHeaderFilterAllowGetBadRequest creates a HeaderFilterAllowGetBadRequest with default headers values

func (*HeaderFilterAllowGetBadRequest) Code

Code gets the status code for the header filter allow get bad request response

func (*HeaderFilterAllowGetBadRequest) Error

func (*HeaderFilterAllowGetBadRequest) IsClientError

func (o *HeaderFilterAllowGetBadRequest) IsClientError() bool

IsClientError returns true when this header filter allow get bad request response has a 4xx status code

func (*HeaderFilterAllowGetBadRequest) IsCode

func (o *HeaderFilterAllowGetBadRequest) IsCode(code int) bool

IsCode returns true when this header filter allow get bad request response a status code equal to that given

func (*HeaderFilterAllowGetBadRequest) IsRedirect

func (o *HeaderFilterAllowGetBadRequest) IsRedirect() bool

IsRedirect returns true when this header filter allow get bad request response has a 3xx status code

func (*HeaderFilterAllowGetBadRequest) IsServerError

func (o *HeaderFilterAllowGetBadRequest) IsServerError() bool

IsServerError returns true when this header filter allow get bad request response has a 5xx status code

func (*HeaderFilterAllowGetBadRequest) IsSuccess

func (o *HeaderFilterAllowGetBadRequest) IsSuccess() bool

IsSuccess returns true when this header filter allow get bad request response has a 2xx status code

func (*HeaderFilterAllowGetBadRequest) String

type HeaderFilterAllowGetForbidden

type HeaderFilterAllowGetForbidden struct {
}

HeaderFilterAllowGetForbidden describes a response with status code 403, with default header values.

forbidden

func NewHeaderFilterAllowGetForbidden

func NewHeaderFilterAllowGetForbidden() *HeaderFilterAllowGetForbidden

NewHeaderFilterAllowGetForbidden creates a HeaderFilterAllowGetForbidden with default headers values

func (*HeaderFilterAllowGetForbidden) Code

Code gets the status code for the header filter allow get forbidden response

func (*HeaderFilterAllowGetForbidden) Error

func (*HeaderFilterAllowGetForbidden) IsClientError

func (o *HeaderFilterAllowGetForbidden) IsClientError() bool

IsClientError returns true when this header filter allow get forbidden response has a 4xx status code

func (*HeaderFilterAllowGetForbidden) IsCode

func (o *HeaderFilterAllowGetForbidden) IsCode(code int) bool

IsCode returns true when this header filter allow get forbidden response a status code equal to that given

func (*HeaderFilterAllowGetForbidden) IsRedirect

func (o *HeaderFilterAllowGetForbidden) IsRedirect() bool

IsRedirect returns true when this header filter allow get forbidden response has a 3xx status code

func (*HeaderFilterAllowGetForbidden) IsServerError

func (o *HeaderFilterAllowGetForbidden) IsServerError() bool

IsServerError returns true when this header filter allow get forbidden response has a 5xx status code

func (*HeaderFilterAllowGetForbidden) IsSuccess

func (o *HeaderFilterAllowGetForbidden) IsSuccess() bool

IsSuccess returns true when this header filter allow get forbidden response has a 2xx status code

func (*HeaderFilterAllowGetForbidden) String

type HeaderFilterAllowGetInternalServerError

type HeaderFilterAllowGetInternalServerError struct {
}

HeaderFilterAllowGetInternalServerError describes a response with status code 500, with default header values.

internal server error

func NewHeaderFilterAllowGetInternalServerError

func NewHeaderFilterAllowGetInternalServerError() *HeaderFilterAllowGetInternalServerError

NewHeaderFilterAllowGetInternalServerError creates a HeaderFilterAllowGetInternalServerError with default headers values

func (*HeaderFilterAllowGetInternalServerError) Code

Code gets the status code for the header filter allow get internal server error response

func (*HeaderFilterAllowGetInternalServerError) Error

func (*HeaderFilterAllowGetInternalServerError) IsClientError

func (o *HeaderFilterAllowGetInternalServerError) IsClientError() bool

IsClientError returns true when this header filter allow get internal server error response has a 4xx status code

func (*HeaderFilterAllowGetInternalServerError) IsCode

IsCode returns true when this header filter allow get internal server error response a status code equal to that given

func (*HeaderFilterAllowGetInternalServerError) IsRedirect

IsRedirect returns true when this header filter allow get internal server error response has a 3xx status code

func (*HeaderFilterAllowGetInternalServerError) IsServerError

func (o *HeaderFilterAllowGetInternalServerError) IsServerError() bool

IsServerError returns true when this header filter allow get internal server error response has a 5xx status code

func (*HeaderFilterAllowGetInternalServerError) IsSuccess

IsSuccess returns true when this header filter allow get internal server error response has a 2xx status code

func (*HeaderFilterAllowGetInternalServerError) String

type HeaderFilterAllowGetNotFound

type HeaderFilterAllowGetNotFound struct {
}

HeaderFilterAllowGetNotFound describes a response with status code 404, with default header values.

not found

func NewHeaderFilterAllowGetNotFound

func NewHeaderFilterAllowGetNotFound() *HeaderFilterAllowGetNotFound

NewHeaderFilterAllowGetNotFound creates a HeaderFilterAllowGetNotFound with default headers values

func (*HeaderFilterAllowGetNotFound) Code

Code gets the status code for the header filter allow get not found response

func (*HeaderFilterAllowGetNotFound) Error

func (*HeaderFilterAllowGetNotFound) IsClientError

func (o *HeaderFilterAllowGetNotFound) IsClientError() bool

IsClientError returns true when this header filter allow get not found response has a 4xx status code

func (*HeaderFilterAllowGetNotFound) IsCode

func (o *HeaderFilterAllowGetNotFound) IsCode(code int) bool

IsCode returns true when this header filter allow get not found response a status code equal to that given

func (*HeaderFilterAllowGetNotFound) IsRedirect

func (o *HeaderFilterAllowGetNotFound) IsRedirect() bool

IsRedirect returns true when this header filter allow get not found response has a 3xx status code

func (*HeaderFilterAllowGetNotFound) IsServerError

func (o *HeaderFilterAllowGetNotFound) IsServerError() bool

IsServerError returns true when this header filter allow get not found response has a 5xx status code

func (*HeaderFilterAllowGetNotFound) IsSuccess

func (o *HeaderFilterAllowGetNotFound) IsSuccess() bool

IsSuccess returns true when this header filter allow get not found response has a 2xx status code

func (*HeaderFilterAllowGetNotFound) String

type HeaderFilterAllowGetOK

type HeaderFilterAllowGetOK struct {
	Payload *models.HeaderFilter
}

HeaderFilterAllowGetOK describes a response with status code 200, with default header values.

The requested "allow" header filter.

func NewHeaderFilterAllowGetOK

func NewHeaderFilterAllowGetOK() *HeaderFilterAllowGetOK

NewHeaderFilterAllowGetOK creates a HeaderFilterAllowGetOK with default headers values

func (*HeaderFilterAllowGetOK) Code

func (o *HeaderFilterAllowGetOK) Code() int

Code gets the status code for the header filter allow get o k response

func (*HeaderFilterAllowGetOK) Error

func (o *HeaderFilterAllowGetOK) Error() string

func (*HeaderFilterAllowGetOK) GetPayload

func (o *HeaderFilterAllowGetOK) GetPayload() *models.HeaderFilter

func (*HeaderFilterAllowGetOK) IsClientError

func (o *HeaderFilterAllowGetOK) IsClientError() bool

IsClientError returns true when this header filter allow get o k response has a 4xx status code

func (*HeaderFilterAllowGetOK) IsCode

func (o *HeaderFilterAllowGetOK) IsCode(code int) bool

IsCode returns true when this header filter allow get o k response a status code equal to that given

func (*HeaderFilterAllowGetOK) IsRedirect

func (o *HeaderFilterAllowGetOK) IsRedirect() bool

IsRedirect returns true when this header filter allow get o k response has a 3xx status code

func (*HeaderFilterAllowGetOK) IsServerError

func (o *HeaderFilterAllowGetOK) IsServerError() bool

IsServerError returns true when this header filter allow get o k response has a 5xx status code

func (*HeaderFilterAllowGetOK) IsSuccess

func (o *HeaderFilterAllowGetOK) IsSuccess() bool

IsSuccess returns true when this header filter allow get o k response has a 2xx status code

func (*HeaderFilterAllowGetOK) String

func (o *HeaderFilterAllowGetOK) String() string

type HeaderFilterAllowGetParams

type HeaderFilterAllowGetParams struct {

	/* ID.

	   Target header filter ID.
	*/
	ID string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

HeaderFilterAllowGetParams contains all the parameters to send to the API endpoint

for the header filter allow get operation.

Typically these are written to a http.Request.

func NewHeaderFilterAllowGetParams

func NewHeaderFilterAllowGetParams() *HeaderFilterAllowGetParams

NewHeaderFilterAllowGetParams creates a new HeaderFilterAllowGetParams 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 NewHeaderFilterAllowGetParamsWithContext

func NewHeaderFilterAllowGetParamsWithContext(ctx context.Context) *HeaderFilterAllowGetParams

NewHeaderFilterAllowGetParamsWithContext creates a new HeaderFilterAllowGetParams object with the ability to set a context for a request.

func NewHeaderFilterAllowGetParamsWithHTTPClient

func NewHeaderFilterAllowGetParamsWithHTTPClient(client *http.Client) *HeaderFilterAllowGetParams

NewHeaderFilterAllowGetParamsWithHTTPClient creates a new HeaderFilterAllowGetParams object with the ability to set a custom HTTPClient for a request.

func NewHeaderFilterAllowGetParamsWithTimeout

func NewHeaderFilterAllowGetParamsWithTimeout(timeout time.Duration) *HeaderFilterAllowGetParams

NewHeaderFilterAllowGetParamsWithTimeout creates a new HeaderFilterAllowGetParams object with the ability to set a timeout on a request.

func (*HeaderFilterAllowGetParams) SetContext

func (o *HeaderFilterAllowGetParams) SetContext(ctx context.Context)

SetContext adds the context to the header filter allow get params

func (*HeaderFilterAllowGetParams) SetDefaults

func (o *HeaderFilterAllowGetParams) SetDefaults()

SetDefaults hydrates default values in the header filter allow get params (not the query body).

All values with no default are reset to their zero value.

func (*HeaderFilterAllowGetParams) SetHTTPClient

func (o *HeaderFilterAllowGetParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the header filter allow get params

func (*HeaderFilterAllowGetParams) SetID

func (o *HeaderFilterAllowGetParams) SetID(id string)

SetID adds the id to the header filter allow get params

func (*HeaderFilterAllowGetParams) SetTimeout

func (o *HeaderFilterAllowGetParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the header filter allow get params

func (*HeaderFilterAllowGetParams) WithContext

WithContext adds the context to the header filter allow get params

func (*HeaderFilterAllowGetParams) WithDefaults

WithDefaults hydrates default values in the header filter allow get params (not the query body).

All values with no default are reset to their zero value.

func (*HeaderFilterAllowGetParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the header filter allow get params

func (*HeaderFilterAllowGetParams) WithID

WithID adds the id to the header filter allow get params

func (*HeaderFilterAllowGetParams) WithTimeout

WithTimeout adds the timeout to the header filter allow get params

func (*HeaderFilterAllowGetParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type HeaderFilterAllowGetReader

type HeaderFilterAllowGetReader struct {
	// contains filtered or unexported fields
}

HeaderFilterAllowGetReader is a Reader for the HeaderFilterAllowGet structure.

func (*HeaderFilterAllowGetReader) ReadResponse

func (o *HeaderFilterAllowGetReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type HeaderFilterAllowGetUnauthorized

type HeaderFilterAllowGetUnauthorized struct {
}

HeaderFilterAllowGetUnauthorized describes a response with status code 401, with default header values.

unauthorized

func NewHeaderFilterAllowGetUnauthorized

func NewHeaderFilterAllowGetUnauthorized() *HeaderFilterAllowGetUnauthorized

NewHeaderFilterAllowGetUnauthorized creates a HeaderFilterAllowGetUnauthorized with default headers values

func (*HeaderFilterAllowGetUnauthorized) Code

Code gets the status code for the header filter allow get unauthorized response

func (*HeaderFilterAllowGetUnauthorized) Error

func (*HeaderFilterAllowGetUnauthorized) IsClientError

func (o *HeaderFilterAllowGetUnauthorized) IsClientError() bool

IsClientError returns true when this header filter allow get unauthorized response has a 4xx status code

func (*HeaderFilterAllowGetUnauthorized) IsCode

func (o *HeaderFilterAllowGetUnauthorized) IsCode(code int) bool

IsCode returns true when this header filter allow get unauthorized response a status code equal to that given

func (*HeaderFilterAllowGetUnauthorized) IsRedirect

func (o *HeaderFilterAllowGetUnauthorized) IsRedirect() bool

IsRedirect returns true when this header filter allow get unauthorized response has a 3xx status code

func (*HeaderFilterAllowGetUnauthorized) IsServerError

func (o *HeaderFilterAllowGetUnauthorized) IsServerError() bool

IsServerError returns true when this header filter allow get unauthorized response has a 5xx status code

func (*HeaderFilterAllowGetUnauthorized) IsSuccess

func (o *HeaderFilterAllowGetUnauthorized) IsSuccess() bool

IsSuccess returns true when this header filter allow get unauthorized response has a 2xx status code

func (*HeaderFilterAllowGetUnauthorized) String

type HeaderFilterAllowsGetBadRequest

type HeaderFilterAllowsGetBadRequest struct {
}

HeaderFilterAllowsGetBadRequest describes a response with status code 400, with default header values.

bad request

func NewHeaderFilterAllowsGetBadRequest

func NewHeaderFilterAllowsGetBadRequest() *HeaderFilterAllowsGetBadRequest

NewHeaderFilterAllowsGetBadRequest creates a HeaderFilterAllowsGetBadRequest with default headers values

func (*HeaderFilterAllowsGetBadRequest) Code

Code gets the status code for the header filter allows get bad request response

func (*HeaderFilterAllowsGetBadRequest) Error

func (*HeaderFilterAllowsGetBadRequest) IsClientError

func (o *HeaderFilterAllowsGetBadRequest) IsClientError() bool

IsClientError returns true when this header filter allows get bad request response has a 4xx status code

func (*HeaderFilterAllowsGetBadRequest) IsCode

func (o *HeaderFilterAllowsGetBadRequest) IsCode(code int) bool

IsCode returns true when this header filter allows get bad request response a status code equal to that given

func (*HeaderFilterAllowsGetBadRequest) IsRedirect

func (o *HeaderFilterAllowsGetBadRequest) IsRedirect() bool

IsRedirect returns true when this header filter allows get bad request response has a 3xx status code

func (*HeaderFilterAllowsGetBadRequest) IsServerError

func (o *HeaderFilterAllowsGetBadRequest) IsServerError() bool

IsServerError returns true when this header filter allows get bad request response has a 5xx status code

func (*HeaderFilterAllowsGetBadRequest) IsSuccess

func (o *HeaderFilterAllowsGetBadRequest) IsSuccess() bool

IsSuccess returns true when this header filter allows get bad request response has a 2xx status code

func (*HeaderFilterAllowsGetBadRequest) String

type HeaderFilterAllowsGetForbidden

type HeaderFilterAllowsGetForbidden struct {
}

HeaderFilterAllowsGetForbidden describes a response with status code 403, with default header values.

forbidden

func NewHeaderFilterAllowsGetForbidden

func NewHeaderFilterAllowsGetForbidden() *HeaderFilterAllowsGetForbidden

NewHeaderFilterAllowsGetForbidden creates a HeaderFilterAllowsGetForbidden with default headers values

func (*HeaderFilterAllowsGetForbidden) Code

Code gets the status code for the header filter allows get forbidden response

func (*HeaderFilterAllowsGetForbidden) Error

func (*HeaderFilterAllowsGetForbidden) IsClientError

func (o *HeaderFilterAllowsGetForbidden) IsClientError() bool

IsClientError returns true when this header filter allows get forbidden response has a 4xx status code

func (*HeaderFilterAllowsGetForbidden) IsCode

func (o *HeaderFilterAllowsGetForbidden) IsCode(code int) bool

IsCode returns true when this header filter allows get forbidden response a status code equal to that given

func (*HeaderFilterAllowsGetForbidden) IsRedirect

func (o *HeaderFilterAllowsGetForbidden) IsRedirect() bool

IsRedirect returns true when this header filter allows get forbidden response has a 3xx status code

func (*HeaderFilterAllowsGetForbidden) IsServerError

func (o *HeaderFilterAllowsGetForbidden) IsServerError() bool

IsServerError returns true when this header filter allows get forbidden response has a 5xx status code

func (*HeaderFilterAllowsGetForbidden) IsSuccess

func (o *HeaderFilterAllowsGetForbidden) IsSuccess() bool

IsSuccess returns true when this header filter allows get forbidden response has a 2xx status code

func (*HeaderFilterAllowsGetForbidden) String

type HeaderFilterAllowsGetInternalServerError

type HeaderFilterAllowsGetInternalServerError struct {
}

HeaderFilterAllowsGetInternalServerError describes a response with status code 500, with default header values.

internal server error

func NewHeaderFilterAllowsGetInternalServerError

func NewHeaderFilterAllowsGetInternalServerError() *HeaderFilterAllowsGetInternalServerError

NewHeaderFilterAllowsGetInternalServerError creates a HeaderFilterAllowsGetInternalServerError with default headers values

func (*HeaderFilterAllowsGetInternalServerError) Code

Code gets the status code for the header filter allows get internal server error response

func (*HeaderFilterAllowsGetInternalServerError) Error

func (*HeaderFilterAllowsGetInternalServerError) IsClientError

IsClientError returns true when this header filter allows get internal server error response has a 4xx status code

func (*HeaderFilterAllowsGetInternalServerError) IsCode

IsCode returns true when this header filter allows get internal server error response a status code equal to that given

func (*HeaderFilterAllowsGetInternalServerError) IsRedirect

IsRedirect returns true when this header filter allows get internal server error response has a 3xx status code

func (*HeaderFilterAllowsGetInternalServerError) IsServerError

IsServerError returns true when this header filter allows get internal server error response has a 5xx status code

func (*HeaderFilterAllowsGetInternalServerError) IsSuccess

IsSuccess returns true when this header filter allows get internal server error response has a 2xx status code

func (*HeaderFilterAllowsGetInternalServerError) String

type HeaderFilterAllowsGetNotFound

type HeaderFilterAllowsGetNotFound struct {
}

HeaderFilterAllowsGetNotFound describes a response with status code 404, with default header values.

not found

func NewHeaderFilterAllowsGetNotFound

func NewHeaderFilterAllowsGetNotFound() *HeaderFilterAllowsGetNotFound

NewHeaderFilterAllowsGetNotFound creates a HeaderFilterAllowsGetNotFound with default headers values

func (*HeaderFilterAllowsGetNotFound) Code

Code gets the status code for the header filter allows get not found response

func (*HeaderFilterAllowsGetNotFound) Error

func (*HeaderFilterAllowsGetNotFound) IsClientError

func (o *HeaderFilterAllowsGetNotFound) IsClientError() bool

IsClientError returns true when this header filter allows get not found response has a 4xx status code

func (*HeaderFilterAllowsGetNotFound) IsCode

func (o *HeaderFilterAllowsGetNotFound) IsCode(code int) bool

IsCode returns true when this header filter allows get not found response a status code equal to that given

func (*HeaderFilterAllowsGetNotFound) IsRedirect

func (o *HeaderFilterAllowsGetNotFound) IsRedirect() bool

IsRedirect returns true when this header filter allows get not found response has a 3xx status code

func (*HeaderFilterAllowsGetNotFound) IsServerError

func (o *HeaderFilterAllowsGetNotFound) IsServerError() bool

IsServerError returns true when this header filter allows get not found response has a 5xx status code

func (*HeaderFilterAllowsGetNotFound) IsSuccess

func (o *HeaderFilterAllowsGetNotFound) IsSuccess() bool

IsSuccess returns true when this header filter allows get not found response has a 2xx status code

func (*HeaderFilterAllowsGetNotFound) String

type HeaderFilterAllowsGetOK

type HeaderFilterAllowsGetOK struct {
	Payload []*models.HeaderFilter
}

HeaderFilterAllowsGetOK describes a response with status code 200, with default header values.

All "allow" header filters currently in place.

func NewHeaderFilterAllowsGetOK

func NewHeaderFilterAllowsGetOK() *HeaderFilterAllowsGetOK

NewHeaderFilterAllowsGetOK creates a HeaderFilterAllowsGetOK with default headers values

func (*HeaderFilterAllowsGetOK) Code

func (o *HeaderFilterAllowsGetOK) Code() int

Code gets the status code for the header filter allows get o k response

func (*HeaderFilterAllowsGetOK) Error

func (o *HeaderFilterAllowsGetOK) Error() string

func (*HeaderFilterAllowsGetOK) GetPayload

func (o *HeaderFilterAllowsGetOK) GetPayload() []*models.HeaderFilter

func (*HeaderFilterAllowsGetOK) IsClientError

func (o *HeaderFilterAllowsGetOK) IsClientError() bool

IsClientError returns true when this header filter allows get o k response has a 4xx status code

func (*HeaderFilterAllowsGetOK) IsCode

func (o *HeaderFilterAllowsGetOK) IsCode(code int) bool

IsCode returns true when this header filter allows get o k response a status code equal to that given

func (*HeaderFilterAllowsGetOK) IsRedirect

func (o *HeaderFilterAllowsGetOK) IsRedirect() bool

IsRedirect returns true when this header filter allows get o k response has a 3xx status code

func (*HeaderFilterAllowsGetOK) IsServerError

func (o *HeaderFilterAllowsGetOK) IsServerError() bool

IsServerError returns true when this header filter allows get o k response has a 5xx status code

func (*HeaderFilterAllowsGetOK) IsSuccess

func (o *HeaderFilterAllowsGetOK) IsSuccess() bool

IsSuccess returns true when this header filter allows get o k response has a 2xx status code

func (*HeaderFilterAllowsGetOK) String

func (o *HeaderFilterAllowsGetOK) String() string

type HeaderFilterAllowsGetParams

type HeaderFilterAllowsGetParams struct {
	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

HeaderFilterAllowsGetParams contains all the parameters to send to the API endpoint

for the header filter allows get operation.

Typically these are written to a http.Request.

func NewHeaderFilterAllowsGetParams

func NewHeaderFilterAllowsGetParams() *HeaderFilterAllowsGetParams

NewHeaderFilterAllowsGetParams creates a new HeaderFilterAllowsGetParams 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 NewHeaderFilterAllowsGetParamsWithContext

func NewHeaderFilterAllowsGetParamsWithContext(ctx context.Context) *HeaderFilterAllowsGetParams

NewHeaderFilterAllowsGetParamsWithContext creates a new HeaderFilterAllowsGetParams object with the ability to set a context for a request.

func NewHeaderFilterAllowsGetParamsWithHTTPClient

func NewHeaderFilterAllowsGetParamsWithHTTPClient(client *http.Client) *HeaderFilterAllowsGetParams

NewHeaderFilterAllowsGetParamsWithHTTPClient creates a new HeaderFilterAllowsGetParams object with the ability to set a custom HTTPClient for a request.

func NewHeaderFilterAllowsGetParamsWithTimeout

func NewHeaderFilterAllowsGetParamsWithTimeout(timeout time.Duration) *HeaderFilterAllowsGetParams

NewHeaderFilterAllowsGetParamsWithTimeout creates a new HeaderFilterAllowsGetParams object with the ability to set a timeout on a request.

func (*HeaderFilterAllowsGetParams) SetContext

func (o *HeaderFilterAllowsGetParams) SetContext(ctx context.Context)

SetContext adds the context to the header filter allows get params

func (*HeaderFilterAllowsGetParams) SetDefaults

func (o *HeaderFilterAllowsGetParams) SetDefaults()

SetDefaults hydrates default values in the header filter allows get params (not the query body).

All values with no default are reset to their zero value.

func (*HeaderFilterAllowsGetParams) SetHTTPClient

func (o *HeaderFilterAllowsGetParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the header filter allows get params

func (*HeaderFilterAllowsGetParams) SetTimeout

func (o *HeaderFilterAllowsGetParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the header filter allows get params

func (*HeaderFilterAllowsGetParams) WithContext

WithContext adds the context to the header filter allows get params

func (*HeaderFilterAllowsGetParams) WithDefaults

WithDefaults hydrates default values in the header filter allows get params (not the query body).

All values with no default are reset to their zero value.

func (*HeaderFilterAllowsGetParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the header filter allows get params

func (*HeaderFilterAllowsGetParams) WithTimeout

WithTimeout adds the timeout to the header filter allows get params

func (*HeaderFilterAllowsGetParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type HeaderFilterAllowsGetReader

type HeaderFilterAllowsGetReader struct {
	// contains filtered or unexported fields
}

HeaderFilterAllowsGetReader is a Reader for the HeaderFilterAllowsGet structure.

func (*HeaderFilterAllowsGetReader) ReadResponse

func (o *HeaderFilterAllowsGetReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type HeaderFilterAllowsGetUnauthorized

type HeaderFilterAllowsGetUnauthorized struct {
}

HeaderFilterAllowsGetUnauthorized describes a response with status code 401, with default header values.

unauthorized

func NewHeaderFilterAllowsGetUnauthorized

func NewHeaderFilterAllowsGetUnauthorized() *HeaderFilterAllowsGetUnauthorized

NewHeaderFilterAllowsGetUnauthorized creates a HeaderFilterAllowsGetUnauthorized with default headers values

func (*HeaderFilterAllowsGetUnauthorized) Code

Code gets the status code for the header filter allows get unauthorized response

func (*HeaderFilterAllowsGetUnauthorized) Error

func (*HeaderFilterAllowsGetUnauthorized) IsClientError

func (o *HeaderFilterAllowsGetUnauthorized) IsClientError() bool

IsClientError returns true when this header filter allows get unauthorized response has a 4xx status code

func (*HeaderFilterAllowsGetUnauthorized) IsCode

func (o *HeaderFilterAllowsGetUnauthorized) IsCode(code int) bool

IsCode returns true when this header filter allows get unauthorized response a status code equal to that given

func (*HeaderFilterAllowsGetUnauthorized) IsRedirect

func (o *HeaderFilterAllowsGetUnauthorized) IsRedirect() bool

IsRedirect returns true when this header filter allows get unauthorized response has a 3xx status code

func (*HeaderFilterAllowsGetUnauthorized) IsServerError

func (o *HeaderFilterAllowsGetUnauthorized) IsServerError() bool

IsServerError returns true when this header filter allows get unauthorized response has a 5xx status code

func (*HeaderFilterAllowsGetUnauthorized) IsSuccess

func (o *HeaderFilterAllowsGetUnauthorized) IsSuccess() bool

IsSuccess returns true when this header filter allows get unauthorized response has a 2xx status code

func (*HeaderFilterAllowsGetUnauthorized) String

type HeaderFilterBlockCreateBadRequest

type HeaderFilterBlockCreateBadRequest struct {
}

HeaderFilterBlockCreateBadRequest describes a response with status code 400, with default header values.

bad request

func NewHeaderFilterBlockCreateBadRequest

func NewHeaderFilterBlockCreateBadRequest() *HeaderFilterBlockCreateBadRequest

NewHeaderFilterBlockCreateBadRequest creates a HeaderFilterBlockCreateBadRequest with default headers values

func (*HeaderFilterBlockCreateBadRequest) Code

Code gets the status code for the header filter block create bad request response

func (*HeaderFilterBlockCreateBadRequest) Error

func (*HeaderFilterBlockCreateBadRequest) IsClientError

func (o *HeaderFilterBlockCreateBadRequest) IsClientError() bool

IsClientError returns true when this header filter block create bad request response has a 4xx status code

func (*HeaderFilterBlockCreateBadRequest) IsCode

func (o *HeaderFilterBlockCreateBadRequest) IsCode(code int) bool

IsCode returns true when this header filter block create bad request response a status code equal to that given

func (*HeaderFilterBlockCreateBadRequest) IsRedirect

func (o *HeaderFilterBlockCreateBadRequest) IsRedirect() bool

IsRedirect returns true when this header filter block create bad request response has a 3xx status code

func (*HeaderFilterBlockCreateBadRequest) IsServerError

func (o *HeaderFilterBlockCreateBadRequest) IsServerError() bool

IsServerError returns true when this header filter block create bad request response has a 5xx status code

func (*HeaderFilterBlockCreateBadRequest) IsSuccess

func (o *HeaderFilterBlockCreateBadRequest) IsSuccess() bool

IsSuccess returns true when this header filter block create bad request response has a 2xx status code

func (*HeaderFilterBlockCreateBadRequest) String

type HeaderFilterBlockCreateForbidden

type HeaderFilterBlockCreateForbidden struct {
}

HeaderFilterBlockCreateForbidden describes a response with status code 403, with default header values.

forbidden

func NewHeaderFilterBlockCreateForbidden

func NewHeaderFilterBlockCreateForbidden() *HeaderFilterBlockCreateForbidden

NewHeaderFilterBlockCreateForbidden creates a HeaderFilterBlockCreateForbidden with default headers values

func (*HeaderFilterBlockCreateForbidden) Code

Code gets the status code for the header filter block create forbidden response

func (*HeaderFilterBlockCreateForbidden) Error

func (*HeaderFilterBlockCreateForbidden) IsClientError

func (o *HeaderFilterBlockCreateForbidden) IsClientError() bool

IsClientError returns true when this header filter block create forbidden response has a 4xx status code

func (*HeaderFilterBlockCreateForbidden) IsCode

func (o *HeaderFilterBlockCreateForbidden) IsCode(code int) bool

IsCode returns true when this header filter block create forbidden response a status code equal to that given

func (*HeaderFilterBlockCreateForbidden) IsRedirect

func (o *HeaderFilterBlockCreateForbidden) IsRedirect() bool

IsRedirect returns true when this header filter block create forbidden response has a 3xx status code

func (*HeaderFilterBlockCreateForbidden) IsServerError

func (o *HeaderFilterBlockCreateForbidden) IsServerError() bool

IsServerError returns true when this header filter block create forbidden response has a 5xx status code

func (*HeaderFilterBlockCreateForbidden) IsSuccess

func (o *HeaderFilterBlockCreateForbidden) IsSuccess() bool

IsSuccess returns true when this header filter block create forbidden response has a 2xx status code

func (*HeaderFilterBlockCreateForbidden) String

type HeaderFilterBlockCreateInternalServerError

type HeaderFilterBlockCreateInternalServerError struct {
}

HeaderFilterBlockCreateInternalServerError describes a response with status code 500, with default header values.

internal server error

func NewHeaderFilterBlockCreateInternalServerError

func NewHeaderFilterBlockCreateInternalServerError() *HeaderFilterBlockCreateInternalServerError

NewHeaderFilterBlockCreateInternalServerError creates a HeaderFilterBlockCreateInternalServerError with default headers values

func (*HeaderFilterBlockCreateInternalServerError) Code

Code gets the status code for the header filter block create internal server error response

func (*HeaderFilterBlockCreateInternalServerError) Error

func (*HeaderFilterBlockCreateInternalServerError) IsClientError

IsClientError returns true when this header filter block create internal server error response has a 4xx status code

func (*HeaderFilterBlockCreateInternalServerError) IsCode

IsCode returns true when this header filter block create internal server error response a status code equal to that given

func (*HeaderFilterBlockCreateInternalServerError) IsRedirect

IsRedirect returns true when this header filter block create internal server error response has a 3xx status code

func (*HeaderFilterBlockCreateInternalServerError) IsServerError

IsServerError returns true when this header filter block create internal server error response has a 5xx status code

func (*HeaderFilterBlockCreateInternalServerError) IsSuccess

IsSuccess returns true when this header filter block create internal server error response has a 2xx status code

func (*HeaderFilterBlockCreateInternalServerError) String

type HeaderFilterBlockCreateOK

type HeaderFilterBlockCreateOK struct {
	Payload *models.HeaderFilter
}

HeaderFilterBlockCreateOK describes a response with status code 200, with default header values.

The newly created "block" header filter.

func NewHeaderFilterBlockCreateOK

func NewHeaderFilterBlockCreateOK() *HeaderFilterBlockCreateOK

NewHeaderFilterBlockCreateOK creates a HeaderFilterBlockCreateOK with default headers values

func (*HeaderFilterBlockCreateOK) Code

func (o *HeaderFilterBlockCreateOK) Code() int

Code gets the status code for the header filter block create o k response

func (*HeaderFilterBlockCreateOK) Error

func (o *HeaderFilterBlockCreateOK) Error() string

func (*HeaderFilterBlockCreateOK) GetPayload

func (*HeaderFilterBlockCreateOK) IsClientError

func (o *HeaderFilterBlockCreateOK) IsClientError() bool

IsClientError returns true when this header filter block create o k response has a 4xx status code

func (*HeaderFilterBlockCreateOK) IsCode

func (o *HeaderFilterBlockCreateOK) IsCode(code int) bool

IsCode returns true when this header filter block create o k response a status code equal to that given

func (*HeaderFilterBlockCreateOK) IsRedirect

func (o *HeaderFilterBlockCreateOK) IsRedirect() bool

IsRedirect returns true when this header filter block create o k response has a 3xx status code

func (*HeaderFilterBlockCreateOK) IsServerError

func (o *HeaderFilterBlockCreateOK) IsServerError() bool

IsServerError returns true when this header filter block create o k response has a 5xx status code

func (*HeaderFilterBlockCreateOK) IsSuccess

func (o *HeaderFilterBlockCreateOK) IsSuccess() bool

IsSuccess returns true when this header filter block create o k response has a 2xx status code

func (*HeaderFilterBlockCreateOK) String

func (o *HeaderFilterBlockCreateOK) String() string

type HeaderFilterBlockCreateParams

type HeaderFilterBlockCreateParams struct {

	/* Header.

	   The HTTP header to match against (e.g. User-Agent).
	*/
	Header string

	/* Regex.

	   The header value matching regular expression.
	*/
	Regex string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

HeaderFilterBlockCreateParams contains all the parameters to send to the API endpoint

for the header filter block create operation.

Typically these are written to a http.Request.

func NewHeaderFilterBlockCreateParams

func NewHeaderFilterBlockCreateParams() *HeaderFilterBlockCreateParams

NewHeaderFilterBlockCreateParams creates a new HeaderFilterBlockCreateParams 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 NewHeaderFilterBlockCreateParamsWithContext

func NewHeaderFilterBlockCreateParamsWithContext(ctx context.Context) *HeaderFilterBlockCreateParams

NewHeaderFilterBlockCreateParamsWithContext creates a new HeaderFilterBlockCreateParams object with the ability to set a context for a request.

func NewHeaderFilterBlockCreateParamsWithHTTPClient

func NewHeaderFilterBlockCreateParamsWithHTTPClient(client *http.Client) *HeaderFilterBlockCreateParams

NewHeaderFilterBlockCreateParamsWithHTTPClient creates a new HeaderFilterBlockCreateParams object with the ability to set a custom HTTPClient for a request.

func NewHeaderFilterBlockCreateParamsWithTimeout

func NewHeaderFilterBlockCreateParamsWithTimeout(timeout time.Duration) *HeaderFilterBlockCreateParams

NewHeaderFilterBlockCreateParamsWithTimeout creates a new HeaderFilterBlockCreateParams object with the ability to set a timeout on a request.

func (*HeaderFilterBlockCreateParams) SetContext

func (o *HeaderFilterBlockCreateParams) SetContext(ctx context.Context)

SetContext adds the context to the header filter block create params

func (*HeaderFilterBlockCreateParams) SetDefaults

func (o *HeaderFilterBlockCreateParams) SetDefaults()

SetDefaults hydrates default values in the header filter block create params (not the query body).

All values with no default are reset to their zero value.

func (*HeaderFilterBlockCreateParams) SetHTTPClient

func (o *HeaderFilterBlockCreateParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the header filter block create params

func (*HeaderFilterBlockCreateParams) SetHeader

func (o *HeaderFilterBlockCreateParams) SetHeader(header string)

SetHeader adds the header to the header filter block create params

func (*HeaderFilterBlockCreateParams) SetRegex

func (o *HeaderFilterBlockCreateParams) SetRegex(regex string)

SetRegex adds the regex to the header filter block create params

func (*HeaderFilterBlockCreateParams) SetTimeout

func (o *HeaderFilterBlockCreateParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the header filter block create params

func (*HeaderFilterBlockCreateParams) WithContext

WithContext adds the context to the header filter block create params

func (*HeaderFilterBlockCreateParams) WithDefaults

WithDefaults hydrates default values in the header filter block create params (not the query body).

All values with no default are reset to their zero value.

func (*HeaderFilterBlockCreateParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the header filter block create params

func (*HeaderFilterBlockCreateParams) WithHeader

WithHeader adds the header to the header filter block create params

func (*HeaderFilterBlockCreateParams) WithRegex

WithRegex adds the regex to the header filter block create params

func (*HeaderFilterBlockCreateParams) WithTimeout

WithTimeout adds the timeout to the header filter block create params

func (*HeaderFilterBlockCreateParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type HeaderFilterBlockCreateReader

type HeaderFilterBlockCreateReader struct {
	// contains filtered or unexported fields
}

HeaderFilterBlockCreateReader is a Reader for the HeaderFilterBlockCreate structure.

func (*HeaderFilterBlockCreateReader) ReadResponse

func (o *HeaderFilterBlockCreateReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type HeaderFilterBlockCreateUnauthorized

type HeaderFilterBlockCreateUnauthorized struct {
}

HeaderFilterBlockCreateUnauthorized describes a response with status code 401, with default header values.

unauthorized

func NewHeaderFilterBlockCreateUnauthorized

func NewHeaderFilterBlockCreateUnauthorized() *HeaderFilterBlockCreateUnauthorized

NewHeaderFilterBlockCreateUnauthorized creates a HeaderFilterBlockCreateUnauthorized with default headers values

func (*HeaderFilterBlockCreateUnauthorized) Code

Code gets the status code for the header filter block create unauthorized response

func (*HeaderFilterBlockCreateUnauthorized) Error

func (*HeaderFilterBlockCreateUnauthorized) IsClientError

func (o *HeaderFilterBlockCreateUnauthorized) IsClientError() bool

IsClientError returns true when this header filter block create unauthorized response has a 4xx status code

func (*HeaderFilterBlockCreateUnauthorized) IsCode

IsCode returns true when this header filter block create unauthorized response a status code equal to that given

func (*HeaderFilterBlockCreateUnauthorized) IsRedirect

func (o *HeaderFilterBlockCreateUnauthorized) IsRedirect() bool

IsRedirect returns true when this header filter block create unauthorized response has a 3xx status code

func (*HeaderFilterBlockCreateUnauthorized) IsServerError

func (o *HeaderFilterBlockCreateUnauthorized) IsServerError() bool

IsServerError returns true when this header filter block create unauthorized response has a 5xx status code

func (*HeaderFilterBlockCreateUnauthorized) IsSuccess

IsSuccess returns true when this header filter block create unauthorized response has a 2xx status code

func (*HeaderFilterBlockCreateUnauthorized) String

type HeaderFilterBlockDeleteAccepted

type HeaderFilterBlockDeleteAccepted struct {
}

HeaderFilterBlockDeleteAccepted describes a response with status code 202, with default header values.

Accepted

func NewHeaderFilterBlockDeleteAccepted

func NewHeaderFilterBlockDeleteAccepted() *HeaderFilterBlockDeleteAccepted

NewHeaderFilterBlockDeleteAccepted creates a HeaderFilterBlockDeleteAccepted with default headers values

func (*HeaderFilterBlockDeleteAccepted) Code

Code gets the status code for the header filter block delete accepted response

func (*HeaderFilterBlockDeleteAccepted) Error

func (*HeaderFilterBlockDeleteAccepted) IsClientError

func (o *HeaderFilterBlockDeleteAccepted) IsClientError() bool

IsClientError returns true when this header filter block delete accepted response has a 4xx status code

func (*HeaderFilterBlockDeleteAccepted) IsCode

func (o *HeaderFilterBlockDeleteAccepted) IsCode(code int) bool

IsCode returns true when this header filter block delete accepted response a status code equal to that given

func (*HeaderFilterBlockDeleteAccepted) IsRedirect

func (o *HeaderFilterBlockDeleteAccepted) IsRedirect() bool

IsRedirect returns true when this header filter block delete accepted response has a 3xx status code

func (*HeaderFilterBlockDeleteAccepted) IsServerError

func (o *HeaderFilterBlockDeleteAccepted) IsServerError() bool

IsServerError returns true when this header filter block delete accepted response has a 5xx status code

func (*HeaderFilterBlockDeleteAccepted) IsSuccess

func (o *HeaderFilterBlockDeleteAccepted) IsSuccess() bool

IsSuccess returns true when this header filter block delete accepted response has a 2xx status code

func (*HeaderFilterBlockDeleteAccepted) String

type HeaderFilterBlockDeleteBadRequest

type HeaderFilterBlockDeleteBadRequest struct {
}

HeaderFilterBlockDeleteBadRequest describes a response with status code 400, with default header values.

bad request

func NewHeaderFilterBlockDeleteBadRequest

func NewHeaderFilterBlockDeleteBadRequest() *HeaderFilterBlockDeleteBadRequest

NewHeaderFilterBlockDeleteBadRequest creates a HeaderFilterBlockDeleteBadRequest with default headers values

func (*HeaderFilterBlockDeleteBadRequest) Code

Code gets the status code for the header filter block delete bad request response

func (*HeaderFilterBlockDeleteBadRequest) Error

func (*HeaderFilterBlockDeleteBadRequest) IsClientError

func (o *HeaderFilterBlockDeleteBadRequest) IsClientError() bool

IsClientError returns true when this header filter block delete bad request response has a 4xx status code

func (*HeaderFilterBlockDeleteBadRequest) IsCode

func (o *HeaderFilterBlockDeleteBadRequest) IsCode(code int) bool

IsCode returns true when this header filter block delete bad request response a status code equal to that given

func (*HeaderFilterBlockDeleteBadRequest) IsRedirect

func (o *HeaderFilterBlockDeleteBadRequest) IsRedirect() bool

IsRedirect returns true when this header filter block delete bad request response has a 3xx status code

func (*HeaderFilterBlockDeleteBadRequest) IsServerError

func (o *HeaderFilterBlockDeleteBadRequest) IsServerError() bool

IsServerError returns true when this header filter block delete bad request response has a 5xx status code

func (*HeaderFilterBlockDeleteBadRequest) IsSuccess

func (o *HeaderFilterBlockDeleteBadRequest) IsSuccess() bool

IsSuccess returns true when this header filter block delete bad request response has a 2xx status code

func (*HeaderFilterBlockDeleteBadRequest) String

type HeaderFilterBlockDeleteForbidden

type HeaderFilterBlockDeleteForbidden struct {
}

HeaderFilterBlockDeleteForbidden describes a response with status code 403, with default header values.

forbidden

func NewHeaderFilterBlockDeleteForbidden

func NewHeaderFilterBlockDeleteForbidden() *HeaderFilterBlockDeleteForbidden

NewHeaderFilterBlockDeleteForbidden creates a HeaderFilterBlockDeleteForbidden with default headers values

func (*HeaderFilterBlockDeleteForbidden) Code

Code gets the status code for the header filter block delete forbidden response

func (*HeaderFilterBlockDeleteForbidden) Error

func (*HeaderFilterBlockDeleteForbidden) IsClientError

func (o *HeaderFilterBlockDeleteForbidden) IsClientError() bool

IsClientError returns true when this header filter block delete forbidden response has a 4xx status code

func (*HeaderFilterBlockDeleteForbidden) IsCode

func (o *HeaderFilterBlockDeleteForbidden) IsCode(code int) bool

IsCode returns true when this header filter block delete forbidden response a status code equal to that given

func (*HeaderFilterBlockDeleteForbidden) IsRedirect

func (o *HeaderFilterBlockDeleteForbidden) IsRedirect() bool

IsRedirect returns true when this header filter block delete forbidden response has a 3xx status code

func (*HeaderFilterBlockDeleteForbidden) IsServerError

func (o *HeaderFilterBlockDeleteForbidden) IsServerError() bool

IsServerError returns true when this header filter block delete forbidden response has a 5xx status code

func (*HeaderFilterBlockDeleteForbidden) IsSuccess

func (o *HeaderFilterBlockDeleteForbidden) IsSuccess() bool

IsSuccess returns true when this header filter block delete forbidden response has a 2xx status code

func (*HeaderFilterBlockDeleteForbidden) String

type HeaderFilterBlockDeleteInternalServerError

type HeaderFilterBlockDeleteInternalServerError struct {
}

HeaderFilterBlockDeleteInternalServerError describes a response with status code 500, with default header values.

internal server error

func NewHeaderFilterBlockDeleteInternalServerError

func NewHeaderFilterBlockDeleteInternalServerError() *HeaderFilterBlockDeleteInternalServerError

NewHeaderFilterBlockDeleteInternalServerError creates a HeaderFilterBlockDeleteInternalServerError with default headers values

func (*HeaderFilterBlockDeleteInternalServerError) Code

Code gets the status code for the header filter block delete internal server error response

func (*HeaderFilterBlockDeleteInternalServerError) Error

func (*HeaderFilterBlockDeleteInternalServerError) IsClientError

IsClientError returns true when this header filter block delete internal server error response has a 4xx status code

func (*HeaderFilterBlockDeleteInternalServerError) IsCode

IsCode returns true when this header filter block delete internal server error response a status code equal to that given

func (*HeaderFilterBlockDeleteInternalServerError) IsRedirect

IsRedirect returns true when this header filter block delete internal server error response has a 3xx status code

func (*HeaderFilterBlockDeleteInternalServerError) IsServerError

IsServerError returns true when this header filter block delete internal server error response has a 5xx status code

func (*HeaderFilterBlockDeleteInternalServerError) IsSuccess

IsSuccess returns true when this header filter block delete internal server error response has a 2xx status code

func (*HeaderFilterBlockDeleteInternalServerError) String

type HeaderFilterBlockDeleteNotFound

type HeaderFilterBlockDeleteNotFound struct {
}

HeaderFilterBlockDeleteNotFound describes a response with status code 404, with default header values.

not found

func NewHeaderFilterBlockDeleteNotFound

func NewHeaderFilterBlockDeleteNotFound() *HeaderFilterBlockDeleteNotFound

NewHeaderFilterBlockDeleteNotFound creates a HeaderFilterBlockDeleteNotFound with default headers values

func (*HeaderFilterBlockDeleteNotFound) Code

Code gets the status code for the header filter block delete not found response

func (*HeaderFilterBlockDeleteNotFound) Error

func (*HeaderFilterBlockDeleteNotFound) IsClientError

func (o *HeaderFilterBlockDeleteNotFound) IsClientError() bool

IsClientError returns true when this header filter block delete not found response has a 4xx status code

func (*HeaderFilterBlockDeleteNotFound) IsCode

func (o *HeaderFilterBlockDeleteNotFound) IsCode(code int) bool

IsCode returns true when this header filter block delete not found response a status code equal to that given

func (*HeaderFilterBlockDeleteNotFound) IsRedirect

func (o *HeaderFilterBlockDeleteNotFound) IsRedirect() bool

IsRedirect returns true when this header filter block delete not found response has a 3xx status code

func (*HeaderFilterBlockDeleteNotFound) IsServerError

func (o *HeaderFilterBlockDeleteNotFound) IsServerError() bool

IsServerError returns true when this header filter block delete not found response has a 5xx status code

func (*HeaderFilterBlockDeleteNotFound) IsSuccess

func (o *HeaderFilterBlockDeleteNotFound) IsSuccess() bool

IsSuccess returns true when this header filter block delete not found response has a 2xx status code

func (*HeaderFilterBlockDeleteNotFound) String

type HeaderFilterBlockDeleteParams

type HeaderFilterBlockDeleteParams struct {

	/* ID.

	   Target header filter ID.
	*/
	ID string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

HeaderFilterBlockDeleteParams contains all the parameters to send to the API endpoint

for the header filter block delete operation.

Typically these are written to a http.Request.

func NewHeaderFilterBlockDeleteParams

func NewHeaderFilterBlockDeleteParams() *HeaderFilterBlockDeleteParams

NewHeaderFilterBlockDeleteParams creates a new HeaderFilterBlockDeleteParams 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 NewHeaderFilterBlockDeleteParamsWithContext

func NewHeaderFilterBlockDeleteParamsWithContext(ctx context.Context) *HeaderFilterBlockDeleteParams

NewHeaderFilterBlockDeleteParamsWithContext creates a new HeaderFilterBlockDeleteParams object with the ability to set a context for a request.

func NewHeaderFilterBlockDeleteParamsWithHTTPClient

func NewHeaderFilterBlockDeleteParamsWithHTTPClient(client *http.Client) *HeaderFilterBlockDeleteParams

NewHeaderFilterBlockDeleteParamsWithHTTPClient creates a new HeaderFilterBlockDeleteParams object with the ability to set a custom HTTPClient for a request.

func NewHeaderFilterBlockDeleteParamsWithTimeout

func NewHeaderFilterBlockDeleteParamsWithTimeout(timeout time.Duration) *HeaderFilterBlockDeleteParams

NewHeaderFilterBlockDeleteParamsWithTimeout creates a new HeaderFilterBlockDeleteParams object with the ability to set a timeout on a request.

func (*HeaderFilterBlockDeleteParams) SetContext

func (o *HeaderFilterBlockDeleteParams) SetContext(ctx context.Context)

SetContext adds the context to the header filter block delete params

func (*HeaderFilterBlockDeleteParams) SetDefaults

func (o *HeaderFilterBlockDeleteParams) SetDefaults()

SetDefaults hydrates default values in the header filter block delete params (not the query body).

All values with no default are reset to their zero value.

func (*HeaderFilterBlockDeleteParams) SetHTTPClient

func (o *HeaderFilterBlockDeleteParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the header filter block delete params

func (*HeaderFilterBlockDeleteParams) SetID

SetID adds the id to the header filter block delete params

func (*HeaderFilterBlockDeleteParams) SetTimeout

func (o *HeaderFilterBlockDeleteParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the header filter block delete params

func (*HeaderFilterBlockDeleteParams) WithContext

WithContext adds the context to the header filter block delete params

func (*HeaderFilterBlockDeleteParams) WithDefaults

WithDefaults hydrates default values in the header filter block delete params (not the query body).

All values with no default are reset to their zero value.

func (*HeaderFilterBlockDeleteParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the header filter block delete params

func (*HeaderFilterBlockDeleteParams) WithID

WithID adds the id to the header filter block delete params

func (*HeaderFilterBlockDeleteParams) WithTimeout

WithTimeout adds the timeout to the header filter block delete params

func (*HeaderFilterBlockDeleteParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type HeaderFilterBlockDeleteReader

type HeaderFilterBlockDeleteReader struct {
	// contains filtered or unexported fields
}

HeaderFilterBlockDeleteReader is a Reader for the HeaderFilterBlockDelete structure.

func (*HeaderFilterBlockDeleteReader) ReadResponse

func (o *HeaderFilterBlockDeleteReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type HeaderFilterBlockDeleteUnauthorized

type HeaderFilterBlockDeleteUnauthorized struct {
}

HeaderFilterBlockDeleteUnauthorized describes a response with status code 401, with default header values.

unauthorized

func NewHeaderFilterBlockDeleteUnauthorized

func NewHeaderFilterBlockDeleteUnauthorized() *HeaderFilterBlockDeleteUnauthorized

NewHeaderFilterBlockDeleteUnauthorized creates a HeaderFilterBlockDeleteUnauthorized with default headers values

func (*HeaderFilterBlockDeleteUnauthorized) Code

Code gets the status code for the header filter block delete unauthorized response

func (*HeaderFilterBlockDeleteUnauthorized) Error

func (*HeaderFilterBlockDeleteUnauthorized) IsClientError

func (o *HeaderFilterBlockDeleteUnauthorized) IsClientError() bool

IsClientError returns true when this header filter block delete unauthorized response has a 4xx status code

func (*HeaderFilterBlockDeleteUnauthorized) IsCode

IsCode returns true when this header filter block delete unauthorized response a status code equal to that given

func (*HeaderFilterBlockDeleteUnauthorized) IsRedirect

func (o *HeaderFilterBlockDeleteUnauthorized) IsRedirect() bool

IsRedirect returns true when this header filter block delete unauthorized response has a 3xx status code

func (*HeaderFilterBlockDeleteUnauthorized) IsServerError

func (o *HeaderFilterBlockDeleteUnauthorized) IsServerError() bool

IsServerError returns true when this header filter block delete unauthorized response has a 5xx status code

func (*HeaderFilterBlockDeleteUnauthorized) IsSuccess

IsSuccess returns true when this header filter block delete unauthorized response has a 2xx status code

func (*HeaderFilterBlockDeleteUnauthorized) String

type HeaderFilterBlockGetBadRequest

type HeaderFilterBlockGetBadRequest struct {
}

HeaderFilterBlockGetBadRequest describes a response with status code 400, with default header values.

bad request

func NewHeaderFilterBlockGetBadRequest

func NewHeaderFilterBlockGetBadRequest() *HeaderFilterBlockGetBadRequest

NewHeaderFilterBlockGetBadRequest creates a HeaderFilterBlockGetBadRequest with default headers values

func (*HeaderFilterBlockGetBadRequest) Code

Code gets the status code for the header filter block get bad request response

func (*HeaderFilterBlockGetBadRequest) Error

func (*HeaderFilterBlockGetBadRequest) IsClientError

func (o *HeaderFilterBlockGetBadRequest) IsClientError() bool

IsClientError returns true when this header filter block get bad request response has a 4xx status code

func (*HeaderFilterBlockGetBadRequest) IsCode

func (o *HeaderFilterBlockGetBadRequest) IsCode(code int) bool

IsCode returns true when this header filter block get bad request response a status code equal to that given

func (*HeaderFilterBlockGetBadRequest) IsRedirect

func (o *HeaderFilterBlockGetBadRequest) IsRedirect() bool

IsRedirect returns true when this header filter block get bad request response has a 3xx status code

func (*HeaderFilterBlockGetBadRequest) IsServerError

func (o *HeaderFilterBlockGetBadRequest) IsServerError() bool

IsServerError returns true when this header filter block get bad request response has a 5xx status code

func (*HeaderFilterBlockGetBadRequest) IsSuccess

func (o *HeaderFilterBlockGetBadRequest) IsSuccess() bool

IsSuccess returns true when this header filter block get bad request response has a 2xx status code

func (*HeaderFilterBlockGetBadRequest) String

type HeaderFilterBlockGetForbidden

type HeaderFilterBlockGetForbidden struct {
}

HeaderFilterBlockGetForbidden describes a response with status code 403, with default header values.

forbidden

func NewHeaderFilterBlockGetForbidden

func NewHeaderFilterBlockGetForbidden() *HeaderFilterBlockGetForbidden

NewHeaderFilterBlockGetForbidden creates a HeaderFilterBlockGetForbidden with default headers values

func (*HeaderFilterBlockGetForbidden) Code

Code gets the status code for the header filter block get forbidden response

func (*HeaderFilterBlockGetForbidden) Error

func (*HeaderFilterBlockGetForbidden) IsClientError

func (o *HeaderFilterBlockGetForbidden) IsClientError() bool

IsClientError returns true when this header filter block get forbidden response has a 4xx status code

func (*HeaderFilterBlockGetForbidden) IsCode

func (o *HeaderFilterBlockGetForbidden) IsCode(code int) bool

IsCode returns true when this header filter block get forbidden response a status code equal to that given

func (*HeaderFilterBlockGetForbidden) IsRedirect

func (o *HeaderFilterBlockGetForbidden) IsRedirect() bool

IsRedirect returns true when this header filter block get forbidden response has a 3xx status code

func (*HeaderFilterBlockGetForbidden) IsServerError

func (o *HeaderFilterBlockGetForbidden) IsServerError() bool

IsServerError returns true when this header filter block get forbidden response has a 5xx status code

func (*HeaderFilterBlockGetForbidden) IsSuccess

func (o *HeaderFilterBlockGetForbidden) IsSuccess() bool

IsSuccess returns true when this header filter block get forbidden response has a 2xx status code

func (*HeaderFilterBlockGetForbidden) String

type HeaderFilterBlockGetInternalServerError

type HeaderFilterBlockGetInternalServerError struct {
}

HeaderFilterBlockGetInternalServerError describes a response with status code 500, with default header values.

internal server error

func NewHeaderFilterBlockGetInternalServerError

func NewHeaderFilterBlockGetInternalServerError() *HeaderFilterBlockGetInternalServerError

NewHeaderFilterBlockGetInternalServerError creates a HeaderFilterBlockGetInternalServerError with default headers values

func (*HeaderFilterBlockGetInternalServerError) Code

Code gets the status code for the header filter block get internal server error response

func (*HeaderFilterBlockGetInternalServerError) Error

func (*HeaderFilterBlockGetInternalServerError) IsClientError

func (o *HeaderFilterBlockGetInternalServerError) IsClientError() bool

IsClientError returns true when this header filter block get internal server error response has a 4xx status code

func (*HeaderFilterBlockGetInternalServerError) IsCode

IsCode returns true when this header filter block get internal server error response a status code equal to that given

func (*HeaderFilterBlockGetInternalServerError) IsRedirect

IsRedirect returns true when this header filter block get internal server error response has a 3xx status code

func (*HeaderFilterBlockGetInternalServerError) IsServerError

func (o *HeaderFilterBlockGetInternalServerError) IsServerError() bool

IsServerError returns true when this header filter block get internal server error response has a 5xx status code

func (*HeaderFilterBlockGetInternalServerError) IsSuccess

IsSuccess returns true when this header filter block get internal server error response has a 2xx status code

func (*HeaderFilterBlockGetInternalServerError) String

type HeaderFilterBlockGetNotFound

type HeaderFilterBlockGetNotFound struct {
}

HeaderFilterBlockGetNotFound describes a response with status code 404, with default header values.

not found

func NewHeaderFilterBlockGetNotFound

func NewHeaderFilterBlockGetNotFound() *HeaderFilterBlockGetNotFound

NewHeaderFilterBlockGetNotFound creates a HeaderFilterBlockGetNotFound with default headers values

func (*HeaderFilterBlockGetNotFound) Code

Code gets the status code for the header filter block get not found response

func (*HeaderFilterBlockGetNotFound) Error

func (*HeaderFilterBlockGetNotFound) IsClientError

func (o *HeaderFilterBlockGetNotFound) IsClientError() bool

IsClientError returns true when this header filter block get not found response has a 4xx status code

func (*HeaderFilterBlockGetNotFound) IsCode

func (o *HeaderFilterBlockGetNotFound) IsCode(code int) bool

IsCode returns true when this header filter block get not found response a status code equal to that given

func (*HeaderFilterBlockGetNotFound) IsRedirect

func (o *HeaderFilterBlockGetNotFound) IsRedirect() bool

IsRedirect returns true when this header filter block get not found response has a 3xx status code

func (*HeaderFilterBlockGetNotFound) IsServerError

func (o *HeaderFilterBlockGetNotFound) IsServerError() bool

IsServerError returns true when this header filter block get not found response has a 5xx status code

func (*HeaderFilterBlockGetNotFound) IsSuccess

func (o *HeaderFilterBlockGetNotFound) IsSuccess() bool

IsSuccess returns true when this header filter block get not found response has a 2xx status code

func (*HeaderFilterBlockGetNotFound) String

type HeaderFilterBlockGetOK

type HeaderFilterBlockGetOK struct {
	Payload *models.HeaderFilter
}

HeaderFilterBlockGetOK describes a response with status code 200, with default header values.

The requested "block" header filter.

func NewHeaderFilterBlockGetOK

func NewHeaderFilterBlockGetOK() *HeaderFilterBlockGetOK

NewHeaderFilterBlockGetOK creates a HeaderFilterBlockGetOK with default headers values

func (*HeaderFilterBlockGetOK) Code

func (o *HeaderFilterBlockGetOK) Code() int

Code gets the status code for the header filter block get o k response

func (*HeaderFilterBlockGetOK) Error

func (o *HeaderFilterBlockGetOK) Error() string

func (*HeaderFilterBlockGetOK) GetPayload

func (o *HeaderFilterBlockGetOK) GetPayload() *models.HeaderFilter

func (*HeaderFilterBlockGetOK) IsClientError

func (o *HeaderFilterBlockGetOK) IsClientError() bool

IsClientError returns true when this header filter block get o k response has a 4xx status code

func (*HeaderFilterBlockGetOK) IsCode

func (o *HeaderFilterBlockGetOK) IsCode(code int) bool

IsCode returns true when this header filter block get o k response a status code equal to that given

func (*HeaderFilterBlockGetOK) IsRedirect

func (o *HeaderFilterBlockGetOK) IsRedirect() bool

IsRedirect returns true when this header filter block get o k response has a 3xx status code

func (*HeaderFilterBlockGetOK) IsServerError

func (o *HeaderFilterBlockGetOK) IsServerError() bool

IsServerError returns true when this header filter block get o k response has a 5xx status code

func (*HeaderFilterBlockGetOK) IsSuccess

func (o *HeaderFilterBlockGetOK) IsSuccess() bool

IsSuccess returns true when this header filter block get o k response has a 2xx status code

func (*HeaderFilterBlockGetOK) String

func (o *HeaderFilterBlockGetOK) String() string

type HeaderFilterBlockGetParams

type HeaderFilterBlockGetParams struct {

	/* ID.

	   Target header filter ID.
	*/
	ID string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

HeaderFilterBlockGetParams contains all the parameters to send to the API endpoint

for the header filter block get operation.

Typically these are written to a http.Request.

func NewHeaderFilterBlockGetParams

func NewHeaderFilterBlockGetParams() *HeaderFilterBlockGetParams

NewHeaderFilterBlockGetParams creates a new HeaderFilterBlockGetParams 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 NewHeaderFilterBlockGetParamsWithContext

func NewHeaderFilterBlockGetParamsWithContext(ctx context.Context) *HeaderFilterBlockGetParams

NewHeaderFilterBlockGetParamsWithContext creates a new HeaderFilterBlockGetParams object with the ability to set a context for a request.

func NewHeaderFilterBlockGetParamsWithHTTPClient

func NewHeaderFilterBlockGetParamsWithHTTPClient(client *http.Client) *HeaderFilterBlockGetParams

NewHeaderFilterBlockGetParamsWithHTTPClient creates a new HeaderFilterBlockGetParams object with the ability to set a custom HTTPClient for a request.

func NewHeaderFilterBlockGetParamsWithTimeout

func NewHeaderFilterBlockGetParamsWithTimeout(timeout time.Duration) *HeaderFilterBlockGetParams

NewHeaderFilterBlockGetParamsWithTimeout creates a new HeaderFilterBlockGetParams object with the ability to set a timeout on a request.

func (*HeaderFilterBlockGetParams) SetContext

func (o *HeaderFilterBlockGetParams) SetContext(ctx context.Context)

SetContext adds the context to the header filter block get params

func (*HeaderFilterBlockGetParams) SetDefaults

func (o *HeaderFilterBlockGetParams) SetDefaults()

SetDefaults hydrates default values in the header filter block get params (not the query body).

All values with no default are reset to their zero value.

func (*HeaderFilterBlockGetParams) SetHTTPClient

func (o *HeaderFilterBlockGetParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the header filter block get params

func (*HeaderFilterBlockGetParams) SetID

func (o *HeaderFilterBlockGetParams) SetID(id string)

SetID adds the id to the header filter block get params

func (*HeaderFilterBlockGetParams) SetTimeout

func (o *HeaderFilterBlockGetParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the header filter block get params

func (*HeaderFilterBlockGetParams) WithContext

WithContext adds the context to the header filter block get params

func (*HeaderFilterBlockGetParams) WithDefaults

WithDefaults hydrates default values in the header filter block get params (not the query body).

All values with no default are reset to their zero value.

func (*HeaderFilterBlockGetParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the header filter block get params

func (*HeaderFilterBlockGetParams) WithID

WithID adds the id to the header filter block get params

func (*HeaderFilterBlockGetParams) WithTimeout

WithTimeout adds the timeout to the header filter block get params

func (*HeaderFilterBlockGetParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type HeaderFilterBlockGetReader

type HeaderFilterBlockGetReader struct {
	// contains filtered or unexported fields
}

HeaderFilterBlockGetReader is a Reader for the HeaderFilterBlockGet structure.

func (*HeaderFilterBlockGetReader) ReadResponse

func (o *HeaderFilterBlockGetReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type HeaderFilterBlockGetUnauthorized

type HeaderFilterBlockGetUnauthorized struct {
}

HeaderFilterBlockGetUnauthorized describes a response with status code 401, with default header values.

unauthorized

func NewHeaderFilterBlockGetUnauthorized

func NewHeaderFilterBlockGetUnauthorized() *HeaderFilterBlockGetUnauthorized

NewHeaderFilterBlockGetUnauthorized creates a HeaderFilterBlockGetUnauthorized with default headers values

func (*HeaderFilterBlockGetUnauthorized) Code

Code gets the status code for the header filter block get unauthorized response

func (*HeaderFilterBlockGetUnauthorized) Error

func (*HeaderFilterBlockGetUnauthorized) IsClientError

func (o *HeaderFilterBlockGetUnauthorized) IsClientError() bool

IsClientError returns true when this header filter block get unauthorized response has a 4xx status code

func (*HeaderFilterBlockGetUnauthorized) IsCode

func (o *HeaderFilterBlockGetUnauthorized) IsCode(code int) bool

IsCode returns true when this header filter block get unauthorized response a status code equal to that given

func (*HeaderFilterBlockGetUnauthorized) IsRedirect

func (o *HeaderFilterBlockGetUnauthorized) IsRedirect() bool

IsRedirect returns true when this header filter block get unauthorized response has a 3xx status code

func (*HeaderFilterBlockGetUnauthorized) IsServerError

func (o *HeaderFilterBlockGetUnauthorized) IsServerError() bool

IsServerError returns true when this header filter block get unauthorized response has a 5xx status code

func (*HeaderFilterBlockGetUnauthorized) IsSuccess

func (o *HeaderFilterBlockGetUnauthorized) IsSuccess() bool

IsSuccess returns true when this header filter block get unauthorized response has a 2xx status code

func (*HeaderFilterBlockGetUnauthorized) String

type HeaderFilterBlocksGetBadRequest

type HeaderFilterBlocksGetBadRequest struct {
}

HeaderFilterBlocksGetBadRequest describes a response with status code 400, with default header values.

bad request

func NewHeaderFilterBlocksGetBadRequest

func NewHeaderFilterBlocksGetBadRequest() *HeaderFilterBlocksGetBadRequest

NewHeaderFilterBlocksGetBadRequest creates a HeaderFilterBlocksGetBadRequest with default headers values

func (*HeaderFilterBlocksGetBadRequest) Code

Code gets the status code for the header filter blocks get bad request response

func (*HeaderFilterBlocksGetBadRequest) Error

func (*HeaderFilterBlocksGetBadRequest) IsClientError

func (o *HeaderFilterBlocksGetBadRequest) IsClientError() bool

IsClientError returns true when this header filter blocks get bad request response has a 4xx status code

func (*HeaderFilterBlocksGetBadRequest) IsCode

func (o *HeaderFilterBlocksGetBadRequest) IsCode(code int) bool

IsCode returns true when this header filter blocks get bad request response a status code equal to that given

func (*HeaderFilterBlocksGetBadRequest) IsRedirect

func (o *HeaderFilterBlocksGetBadRequest) IsRedirect() bool

IsRedirect returns true when this header filter blocks get bad request response has a 3xx status code

func (*HeaderFilterBlocksGetBadRequest) IsServerError

func (o *HeaderFilterBlocksGetBadRequest) IsServerError() bool

IsServerError returns true when this header filter blocks get bad request response has a 5xx status code

func (*HeaderFilterBlocksGetBadRequest) IsSuccess

func (o *HeaderFilterBlocksGetBadRequest) IsSuccess() bool

IsSuccess returns true when this header filter blocks get bad request response has a 2xx status code

func (*HeaderFilterBlocksGetBadRequest) String

type HeaderFilterBlocksGetForbidden

type HeaderFilterBlocksGetForbidden struct {
}

HeaderFilterBlocksGetForbidden describes a response with status code 403, with default header values.

forbidden

func NewHeaderFilterBlocksGetForbidden

func NewHeaderFilterBlocksGetForbidden() *HeaderFilterBlocksGetForbidden

NewHeaderFilterBlocksGetForbidden creates a HeaderFilterBlocksGetForbidden with default headers values

func (*HeaderFilterBlocksGetForbidden) Code

Code gets the status code for the header filter blocks get forbidden response

func (*HeaderFilterBlocksGetForbidden) Error

func (*HeaderFilterBlocksGetForbidden) IsClientError

func (o *HeaderFilterBlocksGetForbidden) IsClientError() bool

IsClientError returns true when this header filter blocks get forbidden response has a 4xx status code

func (*HeaderFilterBlocksGetForbidden) IsCode

func (o *HeaderFilterBlocksGetForbidden) IsCode(code int) bool

IsCode returns true when this header filter blocks get forbidden response a status code equal to that given

func (*HeaderFilterBlocksGetForbidden) IsRedirect

func (o *HeaderFilterBlocksGetForbidden) IsRedirect() bool

IsRedirect returns true when this header filter blocks get forbidden response has a 3xx status code

func (*HeaderFilterBlocksGetForbidden) IsServerError

func (o *HeaderFilterBlocksGetForbidden) IsServerError() bool

IsServerError returns true when this header filter blocks get forbidden response has a 5xx status code

func (*HeaderFilterBlocksGetForbidden) IsSuccess

func (o *HeaderFilterBlocksGetForbidden) IsSuccess() bool

IsSuccess returns true when this header filter blocks get forbidden response has a 2xx status code

func (*HeaderFilterBlocksGetForbidden) String

type HeaderFilterBlocksGetInternalServerError

type HeaderFilterBlocksGetInternalServerError struct {
}

HeaderFilterBlocksGetInternalServerError describes a response with status code 500, with default header values.

internal server error

func NewHeaderFilterBlocksGetInternalServerError

func NewHeaderFilterBlocksGetInternalServerError() *HeaderFilterBlocksGetInternalServerError

NewHeaderFilterBlocksGetInternalServerError creates a HeaderFilterBlocksGetInternalServerError with default headers values

func (*HeaderFilterBlocksGetInternalServerError) Code

Code gets the status code for the header filter blocks get internal server error response

func (*HeaderFilterBlocksGetInternalServerError) Error

func (*HeaderFilterBlocksGetInternalServerError) IsClientError

IsClientError returns true when this header filter blocks get internal server error response has a 4xx status code

func (*HeaderFilterBlocksGetInternalServerError) IsCode

IsCode returns true when this header filter blocks get internal server error response a status code equal to that given

func (*HeaderFilterBlocksGetInternalServerError) IsRedirect

IsRedirect returns true when this header filter blocks get internal server error response has a 3xx status code

func (*HeaderFilterBlocksGetInternalServerError) IsServerError

IsServerError returns true when this header filter blocks get internal server error response has a 5xx status code

func (*HeaderFilterBlocksGetInternalServerError) IsSuccess

IsSuccess returns true when this header filter blocks get internal server error response has a 2xx status code

func (*HeaderFilterBlocksGetInternalServerError) String

type HeaderFilterBlocksGetNotFound

type HeaderFilterBlocksGetNotFound struct {
}

HeaderFilterBlocksGetNotFound describes a response with status code 404, with default header values.

not found

func NewHeaderFilterBlocksGetNotFound

func NewHeaderFilterBlocksGetNotFound() *HeaderFilterBlocksGetNotFound

NewHeaderFilterBlocksGetNotFound creates a HeaderFilterBlocksGetNotFound with default headers values

func (*HeaderFilterBlocksGetNotFound) Code

Code gets the status code for the header filter blocks get not found response

func (*HeaderFilterBlocksGetNotFound) Error

func (*HeaderFilterBlocksGetNotFound) IsClientError

func (o *HeaderFilterBlocksGetNotFound) IsClientError() bool

IsClientError returns true when this header filter blocks get not found response has a 4xx status code

func (*HeaderFilterBlocksGetNotFound) IsCode

func (o *HeaderFilterBlocksGetNotFound) IsCode(code int) bool

IsCode returns true when this header filter blocks get not found response a status code equal to that given

func (*HeaderFilterBlocksGetNotFound) IsRedirect

func (o *HeaderFilterBlocksGetNotFound) IsRedirect() bool

IsRedirect returns true when this header filter blocks get not found response has a 3xx status code

func (*HeaderFilterBlocksGetNotFound) IsServerError

func (o *HeaderFilterBlocksGetNotFound) IsServerError() bool

IsServerError returns true when this header filter blocks get not found response has a 5xx status code

func (*HeaderFilterBlocksGetNotFound) IsSuccess

func (o *HeaderFilterBlocksGetNotFound) IsSuccess() bool

IsSuccess returns true when this header filter blocks get not found response has a 2xx status code

func (*HeaderFilterBlocksGetNotFound) String

type HeaderFilterBlocksGetOK

type HeaderFilterBlocksGetOK struct {
	Payload []*models.HeaderFilter
}

HeaderFilterBlocksGetOK describes a response with status code 200, with default header values.

All "block" header filters currently in place.

func NewHeaderFilterBlocksGetOK

func NewHeaderFilterBlocksGetOK() *HeaderFilterBlocksGetOK

NewHeaderFilterBlocksGetOK creates a HeaderFilterBlocksGetOK with default headers values

func (*HeaderFilterBlocksGetOK) Code

func (o *HeaderFilterBlocksGetOK) Code() int

Code gets the status code for the header filter blocks get o k response

func (*HeaderFilterBlocksGetOK) Error

func (o *HeaderFilterBlocksGetOK) Error() string

func (*HeaderFilterBlocksGetOK) GetPayload

func (o *HeaderFilterBlocksGetOK) GetPayload() []*models.HeaderFilter

func (*HeaderFilterBlocksGetOK) IsClientError

func (o *HeaderFilterBlocksGetOK) IsClientError() bool

IsClientError returns true when this header filter blocks get o k response has a 4xx status code

func (*HeaderFilterBlocksGetOK) IsCode

func (o *HeaderFilterBlocksGetOK) IsCode(code int) bool

IsCode returns true when this header filter blocks get o k response a status code equal to that given

func (*HeaderFilterBlocksGetOK) IsRedirect

func (o *HeaderFilterBlocksGetOK) IsRedirect() bool

IsRedirect returns true when this header filter blocks get o k response has a 3xx status code

func (*HeaderFilterBlocksGetOK) IsServerError

func (o *HeaderFilterBlocksGetOK) IsServerError() bool

IsServerError returns true when this header filter blocks get o k response has a 5xx status code

func (*HeaderFilterBlocksGetOK) IsSuccess

func (o *HeaderFilterBlocksGetOK) IsSuccess() bool

IsSuccess returns true when this header filter blocks get o k response has a 2xx status code

func (*HeaderFilterBlocksGetOK) String

func (o *HeaderFilterBlocksGetOK) String() string

type HeaderFilterBlocksGetParams

type HeaderFilterBlocksGetParams struct {
	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

HeaderFilterBlocksGetParams contains all the parameters to send to the API endpoint

for the header filter blocks get operation.

Typically these are written to a http.Request.

func NewHeaderFilterBlocksGetParams

func NewHeaderFilterBlocksGetParams() *HeaderFilterBlocksGetParams

NewHeaderFilterBlocksGetParams creates a new HeaderFilterBlocksGetParams 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 NewHeaderFilterBlocksGetParamsWithContext

func NewHeaderFilterBlocksGetParamsWithContext(ctx context.Context) *HeaderFilterBlocksGetParams

NewHeaderFilterBlocksGetParamsWithContext creates a new HeaderFilterBlocksGetParams object with the ability to set a context for a request.

func NewHeaderFilterBlocksGetParamsWithHTTPClient

func NewHeaderFilterBlocksGetParamsWithHTTPClient(client *http.Client) *HeaderFilterBlocksGetParams

NewHeaderFilterBlocksGetParamsWithHTTPClient creates a new HeaderFilterBlocksGetParams object with the ability to set a custom HTTPClient for a request.

func NewHeaderFilterBlocksGetParamsWithTimeout

func NewHeaderFilterBlocksGetParamsWithTimeout(timeout time.Duration) *HeaderFilterBlocksGetParams

NewHeaderFilterBlocksGetParamsWithTimeout creates a new HeaderFilterBlocksGetParams object with the ability to set a timeout on a request.

func (*HeaderFilterBlocksGetParams) SetContext

func (o *HeaderFilterBlocksGetParams) SetContext(ctx context.Context)

SetContext adds the context to the header filter blocks get params

func (*HeaderFilterBlocksGetParams) SetDefaults

func (o *HeaderFilterBlocksGetParams) SetDefaults()

SetDefaults hydrates default values in the header filter blocks get params (not the query body).

All values with no default are reset to their zero value.

func (*HeaderFilterBlocksGetParams) SetHTTPClient

func (o *HeaderFilterBlocksGetParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the header filter blocks get params

func (*HeaderFilterBlocksGetParams) SetTimeout

func (o *HeaderFilterBlocksGetParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the header filter blocks get params

func (*HeaderFilterBlocksGetParams) WithContext

WithContext adds the context to the header filter blocks get params

func (*HeaderFilterBlocksGetParams) WithDefaults

WithDefaults hydrates default values in the header filter blocks get params (not the query body).

All values with no default are reset to their zero value.

func (*HeaderFilterBlocksGetParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the header filter blocks get params

func (*HeaderFilterBlocksGetParams) WithTimeout

WithTimeout adds the timeout to the header filter blocks get params

func (*HeaderFilterBlocksGetParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type HeaderFilterBlocksGetReader

type HeaderFilterBlocksGetReader struct {
	// contains filtered or unexported fields
}

HeaderFilterBlocksGetReader is a Reader for the HeaderFilterBlocksGet structure.

func (*HeaderFilterBlocksGetReader) ReadResponse

func (o *HeaderFilterBlocksGetReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type HeaderFilterBlocksGetUnauthorized

type HeaderFilterBlocksGetUnauthorized struct {
}

HeaderFilterBlocksGetUnauthorized describes a response with status code 401, with default header values.

unauthorized

func NewHeaderFilterBlocksGetUnauthorized

func NewHeaderFilterBlocksGetUnauthorized() *HeaderFilterBlocksGetUnauthorized

NewHeaderFilterBlocksGetUnauthorized creates a HeaderFilterBlocksGetUnauthorized with default headers values

func (*HeaderFilterBlocksGetUnauthorized) Code

Code gets the status code for the header filter blocks get unauthorized response

func (*HeaderFilterBlocksGetUnauthorized) Error

func (*HeaderFilterBlocksGetUnauthorized) IsClientError

func (o *HeaderFilterBlocksGetUnauthorized) IsClientError() bool

IsClientError returns true when this header filter blocks get unauthorized response has a 4xx status code

func (*HeaderFilterBlocksGetUnauthorized) IsCode

func (o *HeaderFilterBlocksGetUnauthorized) IsCode(code int) bool

IsCode returns true when this header filter blocks get unauthorized response a status code equal to that given

func (*HeaderFilterBlocksGetUnauthorized) IsRedirect

func (o *HeaderFilterBlocksGetUnauthorized) IsRedirect() bool

IsRedirect returns true when this header filter blocks get unauthorized response has a 3xx status code

func (*HeaderFilterBlocksGetUnauthorized) IsServerError

func (o *HeaderFilterBlocksGetUnauthorized) IsServerError() bool

IsServerError returns true when this header filter blocks get unauthorized response has a 5xx status code

func (*HeaderFilterBlocksGetUnauthorized) IsSuccess

func (o *HeaderFilterBlocksGetUnauthorized) IsSuccess() bool

IsSuccess returns true when this header filter blocks get unauthorized response has a 2xx status code

func (*HeaderFilterBlocksGetUnauthorized) String

type MediaCleanupBadRequest

type MediaCleanupBadRequest struct {
}

MediaCleanupBadRequest describes a response with status code 400, with default header values.

bad request

func NewMediaCleanupBadRequest

func NewMediaCleanupBadRequest() *MediaCleanupBadRequest

NewMediaCleanupBadRequest creates a MediaCleanupBadRequest with default headers values

func (*MediaCleanupBadRequest) Code

func (o *MediaCleanupBadRequest) Code() int

Code gets the status code for the media cleanup bad request response

func (*MediaCleanupBadRequest) Error

func (o *MediaCleanupBadRequest) Error() string

func (*MediaCleanupBadRequest) IsClientError

func (o *MediaCleanupBadRequest) IsClientError() bool

IsClientError returns true when this media cleanup bad request response has a 4xx status code

func (*MediaCleanupBadRequest) IsCode

func (o *MediaCleanupBadRequest) IsCode(code int) bool

IsCode returns true when this media cleanup bad request response a status code equal to that given

func (*MediaCleanupBadRequest) IsRedirect

func (o *MediaCleanupBadRequest) IsRedirect() bool

IsRedirect returns true when this media cleanup bad request response has a 3xx status code

func (*MediaCleanupBadRequest) IsServerError

func (o *MediaCleanupBadRequest) IsServerError() bool

IsServerError returns true when this media cleanup bad request response has a 5xx status code

func (*MediaCleanupBadRequest) IsSuccess

func (o *MediaCleanupBadRequest) IsSuccess() bool

IsSuccess returns true when this media cleanup bad request response has a 2xx status code

func (*MediaCleanupBadRequest) String

func (o *MediaCleanupBadRequest) String() string

type MediaCleanupForbidden

type MediaCleanupForbidden struct {
}

MediaCleanupForbidden describes a response with status code 403, with default header values.

forbidden

func NewMediaCleanupForbidden

func NewMediaCleanupForbidden() *MediaCleanupForbidden

NewMediaCleanupForbidden creates a MediaCleanupForbidden with default headers values

func (*MediaCleanupForbidden) Code

func (o *MediaCleanupForbidden) Code() int

Code gets the status code for the media cleanup forbidden response

func (*MediaCleanupForbidden) Error

func (o *MediaCleanupForbidden) Error() string

func (*MediaCleanupForbidden) IsClientError

func (o *MediaCleanupForbidden) IsClientError() bool

IsClientError returns true when this media cleanup forbidden response has a 4xx status code

func (*MediaCleanupForbidden) IsCode

func (o *MediaCleanupForbidden) IsCode(code int) bool

IsCode returns true when this media cleanup forbidden response a status code equal to that given

func (*MediaCleanupForbidden) IsRedirect

func (o *MediaCleanupForbidden) IsRedirect() bool

IsRedirect returns true when this media cleanup forbidden response has a 3xx status code

func (*MediaCleanupForbidden) IsServerError

func (o *MediaCleanupForbidden) IsServerError() bool

IsServerError returns true when this media cleanup forbidden response has a 5xx status code

func (*MediaCleanupForbidden) IsSuccess

func (o *MediaCleanupForbidden) IsSuccess() bool

IsSuccess returns true when this media cleanup forbidden response has a 2xx status code

func (*MediaCleanupForbidden) String

func (o *MediaCleanupForbidden) String() string

type MediaCleanupInternalServerError

type MediaCleanupInternalServerError struct {
}

MediaCleanupInternalServerError describes a response with status code 500, with default header values.

internal server error

func NewMediaCleanupInternalServerError

func NewMediaCleanupInternalServerError() *MediaCleanupInternalServerError

NewMediaCleanupInternalServerError creates a MediaCleanupInternalServerError with default headers values

func (*MediaCleanupInternalServerError) Code

Code gets the status code for the media cleanup internal server error response

func (*MediaCleanupInternalServerError) Error

func (*MediaCleanupInternalServerError) IsClientError

func (o *MediaCleanupInternalServerError) IsClientError() bool

IsClientError returns true when this media cleanup internal server error response has a 4xx status code

func (*MediaCleanupInternalServerError) IsCode

func (o *MediaCleanupInternalServerError) IsCode(code int) bool

IsCode returns true when this media cleanup internal server error response a status code equal to that given

func (*MediaCleanupInternalServerError) IsRedirect

func (o *MediaCleanupInternalServerError) IsRedirect() bool

IsRedirect returns true when this media cleanup internal server error response has a 3xx status code

func (*MediaCleanupInternalServerError) IsServerError

func (o *MediaCleanupInternalServerError) IsServerError() bool

IsServerError returns true when this media cleanup internal server error response has a 5xx status code

func (*MediaCleanupInternalServerError) IsSuccess

func (o *MediaCleanupInternalServerError) IsSuccess() bool

IsSuccess returns true when this media cleanup internal server error response has a 2xx status code

func (*MediaCleanupInternalServerError) String

type MediaCleanupNotAcceptable

type MediaCleanupNotAcceptable struct {
}

MediaCleanupNotAcceptable describes a response with status code 406, with default header values.

not acceptable

func NewMediaCleanupNotAcceptable

func NewMediaCleanupNotAcceptable() *MediaCleanupNotAcceptable

NewMediaCleanupNotAcceptable creates a MediaCleanupNotAcceptable with default headers values

func (*MediaCleanupNotAcceptable) Code

func (o *MediaCleanupNotAcceptable) Code() int

Code gets the status code for the media cleanup not acceptable response

func (*MediaCleanupNotAcceptable) Error

func (o *MediaCleanupNotAcceptable) Error() string

func (*MediaCleanupNotAcceptable) IsClientError

func (o *MediaCleanupNotAcceptable) IsClientError() bool

IsClientError returns true when this media cleanup not acceptable response has a 4xx status code

func (*MediaCleanupNotAcceptable) IsCode

func (o *MediaCleanupNotAcceptable) IsCode(code int) bool

IsCode returns true when this media cleanup not acceptable response a status code equal to that given

func (*MediaCleanupNotAcceptable) IsRedirect

func (o *MediaCleanupNotAcceptable) IsRedirect() bool

IsRedirect returns true when this media cleanup not acceptable response has a 3xx status code

func (*MediaCleanupNotAcceptable) IsServerError

func (o *MediaCleanupNotAcceptable) IsServerError() bool

IsServerError returns true when this media cleanup not acceptable response has a 5xx status code

func (*MediaCleanupNotAcceptable) IsSuccess

func (o *MediaCleanupNotAcceptable) IsSuccess() bool

IsSuccess returns true when this media cleanup not acceptable response has a 2xx status code

func (*MediaCleanupNotAcceptable) String

func (o *MediaCleanupNotAcceptable) String() string

type MediaCleanupNotFound

type MediaCleanupNotFound struct {
}

MediaCleanupNotFound describes a response with status code 404, with default header values.

not found

func NewMediaCleanupNotFound

func NewMediaCleanupNotFound() *MediaCleanupNotFound

NewMediaCleanupNotFound creates a MediaCleanupNotFound with default headers values

func (*MediaCleanupNotFound) Code

func (o *MediaCleanupNotFound) Code() int

Code gets the status code for the media cleanup not found response

func (*MediaCleanupNotFound) Error

func (o *MediaCleanupNotFound) Error() string

func (*MediaCleanupNotFound) IsClientError

func (o *MediaCleanupNotFound) IsClientError() bool

IsClientError returns true when this media cleanup not found response has a 4xx status code

func (*MediaCleanupNotFound) IsCode

func (o *MediaCleanupNotFound) IsCode(code int) bool

IsCode returns true when this media cleanup not found response a status code equal to that given

func (*MediaCleanupNotFound) IsRedirect

func (o *MediaCleanupNotFound) IsRedirect() bool

IsRedirect returns true when this media cleanup not found response has a 3xx status code

func (*MediaCleanupNotFound) IsServerError

func (o *MediaCleanupNotFound) IsServerError() bool

IsServerError returns true when this media cleanup not found response has a 5xx status code

func (*MediaCleanupNotFound) IsSuccess

func (o *MediaCleanupNotFound) IsSuccess() bool

IsSuccess returns true when this media cleanup not found response has a 2xx status code

func (*MediaCleanupNotFound) String

func (o *MediaCleanupNotFound) String() string

type MediaCleanupOK

type MediaCleanupOK struct {
}

MediaCleanupOK describes a response with status code 200, with default header values.

Echos the number of days requested. The cleanup is performed asynchronously after the request completes.

func NewMediaCleanupOK

func NewMediaCleanupOK() *MediaCleanupOK

NewMediaCleanupOK creates a MediaCleanupOK with default headers values

func (*MediaCleanupOK) Code

func (o *MediaCleanupOK) Code() int

Code gets the status code for the media cleanup o k response

func (*MediaCleanupOK) Error

func (o *MediaCleanupOK) Error() string

func (*MediaCleanupOK) IsClientError

func (o *MediaCleanupOK) IsClientError() bool

IsClientError returns true when this media cleanup o k response has a 4xx status code

func (*MediaCleanupOK) IsCode

func (o *MediaCleanupOK) IsCode(code int) bool

IsCode returns true when this media cleanup o k response a status code equal to that given

func (*MediaCleanupOK) IsRedirect

func (o *MediaCleanupOK) IsRedirect() bool

IsRedirect returns true when this media cleanup o k response has a 3xx status code

func (*MediaCleanupOK) IsServerError

func (o *MediaCleanupOK) IsServerError() bool

IsServerError returns true when this media cleanup o k response has a 5xx status code

func (*MediaCleanupOK) IsSuccess

func (o *MediaCleanupOK) IsSuccess() bool

IsSuccess returns true when this media cleanup o k response has a 2xx status code

func (*MediaCleanupOK) String

func (o *MediaCleanupOK) String() string

type MediaCleanupParams

type MediaCleanupParams struct {

	/* RemoteCacheDays.

	     Number of days of remote media to keep. Native values will be treated as 0.
	If value is not specified, the value of media-remote-cache-days in the server config will be used.

	     Format: int64
	*/
	RemoteCacheDays *int64

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

MediaCleanupParams contains all the parameters to send to the API endpoint

for the media cleanup operation.

Typically these are written to a http.Request.

func NewMediaCleanupParams

func NewMediaCleanupParams() *MediaCleanupParams

NewMediaCleanupParams creates a new MediaCleanupParams 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 NewMediaCleanupParamsWithContext

func NewMediaCleanupParamsWithContext(ctx context.Context) *MediaCleanupParams

NewMediaCleanupParamsWithContext creates a new MediaCleanupParams object with the ability to set a context for a request.

func NewMediaCleanupParamsWithHTTPClient

func NewMediaCleanupParamsWithHTTPClient(client *http.Client) *MediaCleanupParams

NewMediaCleanupParamsWithHTTPClient creates a new MediaCleanupParams object with the ability to set a custom HTTPClient for a request.

func NewMediaCleanupParamsWithTimeout

func NewMediaCleanupParamsWithTimeout(timeout time.Duration) *MediaCleanupParams

NewMediaCleanupParamsWithTimeout creates a new MediaCleanupParams object with the ability to set a timeout on a request.

func (*MediaCleanupParams) SetContext

func (o *MediaCleanupParams) SetContext(ctx context.Context)

SetContext adds the context to the media cleanup params

func (*MediaCleanupParams) SetDefaults

func (o *MediaCleanupParams) SetDefaults()

SetDefaults hydrates default values in the media cleanup params (not the query body).

All values with no default are reset to their zero value.

func (*MediaCleanupParams) SetHTTPClient

func (o *MediaCleanupParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the media cleanup params

func (*MediaCleanupParams) SetRemoteCacheDays

func (o *MediaCleanupParams) SetRemoteCacheDays(remoteCacheDays *int64)

SetRemoteCacheDays adds the remoteCacheDays to the media cleanup params

func (*MediaCleanupParams) SetTimeout

func (o *MediaCleanupParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the media cleanup params

func (*MediaCleanupParams) WithContext

WithContext adds the context to the media cleanup params

func (*MediaCleanupParams) WithDefaults

func (o *MediaCleanupParams) WithDefaults() *MediaCleanupParams

WithDefaults hydrates default values in the media cleanup params (not the query body).

All values with no default are reset to their zero value.

func (*MediaCleanupParams) WithHTTPClient

func (o *MediaCleanupParams) WithHTTPClient(client *http.Client) *MediaCleanupParams

WithHTTPClient adds the HTTPClient to the media cleanup params

func (*MediaCleanupParams) WithRemoteCacheDays

func (o *MediaCleanupParams) WithRemoteCacheDays(remoteCacheDays *int64) *MediaCleanupParams

WithRemoteCacheDays adds the remoteCacheDays to the media cleanup params

func (*MediaCleanupParams) WithTimeout

func (o *MediaCleanupParams) WithTimeout(timeout time.Duration) *MediaCleanupParams

WithTimeout adds the timeout to the media cleanup params

func (*MediaCleanupParams) WriteToRequest

func (o *MediaCleanupParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type MediaCleanupReader

type MediaCleanupReader struct {
	// contains filtered or unexported fields
}

MediaCleanupReader is a Reader for the MediaCleanup structure.

func (*MediaCleanupReader) ReadResponse

func (o *MediaCleanupReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type MediaCleanupUnauthorized

type MediaCleanupUnauthorized struct {
}

MediaCleanupUnauthorized describes a response with status code 401, with default header values.

unauthorized

func NewMediaCleanupUnauthorized

func NewMediaCleanupUnauthorized() *MediaCleanupUnauthorized

NewMediaCleanupUnauthorized creates a MediaCleanupUnauthorized with default headers values

func (*MediaCleanupUnauthorized) Code

func (o *MediaCleanupUnauthorized) Code() int

Code gets the status code for the media cleanup unauthorized response

func (*MediaCleanupUnauthorized) Error

func (o *MediaCleanupUnauthorized) Error() string

func (*MediaCleanupUnauthorized) IsClientError

func (o *MediaCleanupUnauthorized) IsClientError() bool

IsClientError returns true when this media cleanup unauthorized response has a 4xx status code

func (*MediaCleanupUnauthorized) IsCode

func (o *MediaCleanupUnauthorized) IsCode(code int) bool

IsCode returns true when this media cleanup unauthorized response a status code equal to that given

func (*MediaCleanupUnauthorized) IsRedirect

func (o *MediaCleanupUnauthorized) IsRedirect() bool

IsRedirect returns true when this media cleanup unauthorized response has a 3xx status code

func (*MediaCleanupUnauthorized) IsServerError

func (o *MediaCleanupUnauthorized) IsServerError() bool

IsServerError returns true when this media cleanup unauthorized response has a 5xx status code

func (*MediaCleanupUnauthorized) IsSuccess

func (o *MediaCleanupUnauthorized) IsSuccess() bool

IsSuccess returns true when this media cleanup unauthorized response has a 2xx status code

func (*MediaCleanupUnauthorized) String

func (o *MediaCleanupUnauthorized) String() string

type MediaRefetchAccepted

type MediaRefetchAccepted struct {
}

MediaRefetchAccepted describes a response with status code 202, with default header values.

Request accepted and will be processed. Check the logs for progress / errors.

func NewMediaRefetchAccepted

func NewMediaRefetchAccepted() *MediaRefetchAccepted

NewMediaRefetchAccepted creates a MediaRefetchAccepted with default headers values

func (*MediaRefetchAccepted) Code

func (o *MediaRefetchAccepted) Code() int

Code gets the status code for the media refetch accepted response

func (*MediaRefetchAccepted) Error

func (o *MediaRefetchAccepted) Error() string

func (*MediaRefetchAccepted) IsClientError

func (o *MediaRefetchAccepted) IsClientError() bool

IsClientError returns true when this media refetch accepted response has a 4xx status code

func (*MediaRefetchAccepted) IsCode

func (o *MediaRefetchAccepted) IsCode(code int) bool

IsCode returns true when this media refetch accepted response a status code equal to that given

func (*MediaRefetchAccepted) IsRedirect

func (o *MediaRefetchAccepted) IsRedirect() bool

IsRedirect returns true when this media refetch accepted response has a 3xx status code

func (*MediaRefetchAccepted) IsServerError

func (o *MediaRefetchAccepted) IsServerError() bool

IsServerError returns true when this media refetch accepted response has a 5xx status code

func (*MediaRefetchAccepted) IsSuccess

func (o *MediaRefetchAccepted) IsSuccess() bool

IsSuccess returns true when this media refetch accepted response has a 2xx status code

func (*MediaRefetchAccepted) String

func (o *MediaRefetchAccepted) String() string

type MediaRefetchBadRequest

type MediaRefetchBadRequest struct {
}

MediaRefetchBadRequest describes a response with status code 400, with default header values.

bad request

func NewMediaRefetchBadRequest

func NewMediaRefetchBadRequest() *MediaRefetchBadRequest

NewMediaRefetchBadRequest creates a MediaRefetchBadRequest with default headers values

func (*MediaRefetchBadRequest) Code

func (o *MediaRefetchBadRequest) Code() int

Code gets the status code for the media refetch bad request response

func (*MediaRefetchBadRequest) Error

func (o *MediaRefetchBadRequest) Error() string

func (*MediaRefetchBadRequest) IsClientError

func (o *MediaRefetchBadRequest) IsClientError() bool

IsClientError returns true when this media refetch bad request response has a 4xx status code

func (*MediaRefetchBadRequest) IsCode

func (o *MediaRefetchBadRequest) IsCode(code int) bool

IsCode returns true when this media refetch bad request response a status code equal to that given

func (*MediaRefetchBadRequest) IsRedirect

func (o *MediaRefetchBadRequest) IsRedirect() bool

IsRedirect returns true when this media refetch bad request response has a 3xx status code

func (*MediaRefetchBadRequest) IsServerError

func (o *MediaRefetchBadRequest) IsServerError() bool

IsServerError returns true when this media refetch bad request response has a 5xx status code

func (*MediaRefetchBadRequest) IsSuccess

func (o *MediaRefetchBadRequest) IsSuccess() bool

IsSuccess returns true when this media refetch bad request response has a 2xx status code

func (*MediaRefetchBadRequest) String

func (o *MediaRefetchBadRequest) String() string

type MediaRefetchForbidden

type MediaRefetchForbidden struct {
}

MediaRefetchForbidden describes a response with status code 403, with default header values.

forbidden

func NewMediaRefetchForbidden

func NewMediaRefetchForbidden() *MediaRefetchForbidden

NewMediaRefetchForbidden creates a MediaRefetchForbidden with default headers values

func (*MediaRefetchForbidden) Code

func (o *MediaRefetchForbidden) Code() int

Code gets the status code for the media refetch forbidden response

func (*MediaRefetchForbidden) Error

func (o *MediaRefetchForbidden) Error() string

func (*MediaRefetchForbidden) IsClientError

func (o *MediaRefetchForbidden) IsClientError() bool

IsClientError returns true when this media refetch forbidden response has a 4xx status code

func (*MediaRefetchForbidden) IsCode

func (o *MediaRefetchForbidden) IsCode(code int) bool

IsCode returns true when this media refetch forbidden response a status code equal to that given

func (*MediaRefetchForbidden) IsRedirect

func (o *MediaRefetchForbidden) IsRedirect() bool

IsRedirect returns true when this media refetch forbidden response has a 3xx status code

func (*MediaRefetchForbidden) IsServerError

func (o *MediaRefetchForbidden) IsServerError() bool

IsServerError returns true when this media refetch forbidden response has a 5xx status code

func (*MediaRefetchForbidden) IsSuccess

func (o *MediaRefetchForbidden) IsSuccess() bool

IsSuccess returns true when this media refetch forbidden response has a 2xx status code

func (*MediaRefetchForbidden) String

func (o *MediaRefetchForbidden) String() string

type MediaRefetchInternalServerError

type MediaRefetchInternalServerError struct {
}

MediaRefetchInternalServerError describes a response with status code 500, with default header values.

internal server error

func NewMediaRefetchInternalServerError

func NewMediaRefetchInternalServerError() *MediaRefetchInternalServerError

NewMediaRefetchInternalServerError creates a MediaRefetchInternalServerError with default headers values

func (*MediaRefetchInternalServerError) Code

Code gets the status code for the media refetch internal server error response

func (*MediaRefetchInternalServerError) Error

func (*MediaRefetchInternalServerError) IsClientError

func (o *MediaRefetchInternalServerError) IsClientError() bool

IsClientError returns true when this media refetch internal server error response has a 4xx status code

func (*MediaRefetchInternalServerError) IsCode

func (o *MediaRefetchInternalServerError) IsCode(code int) bool

IsCode returns true when this media refetch internal server error response a status code equal to that given

func (*MediaRefetchInternalServerError) IsRedirect

func (o *MediaRefetchInternalServerError) IsRedirect() bool

IsRedirect returns true when this media refetch internal server error response has a 3xx status code

func (*MediaRefetchInternalServerError) IsServerError

func (o *MediaRefetchInternalServerError) IsServerError() bool

IsServerError returns true when this media refetch internal server error response has a 5xx status code

func (*MediaRefetchInternalServerError) IsSuccess

func (o *MediaRefetchInternalServerError) IsSuccess() bool

IsSuccess returns true when this media refetch internal server error response has a 2xx status code

func (*MediaRefetchInternalServerError) String

type MediaRefetchNotAcceptable

type MediaRefetchNotAcceptable struct {
}

MediaRefetchNotAcceptable describes a response with status code 406, with default header values.

not acceptable

func NewMediaRefetchNotAcceptable

func NewMediaRefetchNotAcceptable() *MediaRefetchNotAcceptable

NewMediaRefetchNotAcceptable creates a MediaRefetchNotAcceptable with default headers values

func (*MediaRefetchNotAcceptable) Code

func (o *MediaRefetchNotAcceptable) Code() int

Code gets the status code for the media refetch not acceptable response

func (*MediaRefetchNotAcceptable) Error

func (o *MediaRefetchNotAcceptable) Error() string

func (*MediaRefetchNotAcceptable) IsClientError

func (o *MediaRefetchNotAcceptable) IsClientError() bool

IsClientError returns true when this media refetch not acceptable response has a 4xx status code

func (*MediaRefetchNotAcceptable) IsCode

func (o *MediaRefetchNotAcceptable) IsCode(code int) bool

IsCode returns true when this media refetch not acceptable response a status code equal to that given

func (*MediaRefetchNotAcceptable) IsRedirect

func (o *MediaRefetchNotAcceptable) IsRedirect() bool

IsRedirect returns true when this media refetch not acceptable response has a 3xx status code

func (*MediaRefetchNotAcceptable) IsServerError

func (o *MediaRefetchNotAcceptable) IsServerError() bool

IsServerError returns true when this media refetch not acceptable response has a 5xx status code

func (*MediaRefetchNotAcceptable) IsSuccess

func (o *MediaRefetchNotAcceptable) IsSuccess() bool

IsSuccess returns true when this media refetch not acceptable response has a 2xx status code

func (*MediaRefetchNotAcceptable) String

func (o *MediaRefetchNotAcceptable) String() string

type MediaRefetchNotFound

type MediaRefetchNotFound struct {
}

MediaRefetchNotFound describes a response with status code 404, with default header values.

not found

func NewMediaRefetchNotFound

func NewMediaRefetchNotFound() *MediaRefetchNotFound

NewMediaRefetchNotFound creates a MediaRefetchNotFound with default headers values

func (*MediaRefetchNotFound) Code

func (o *MediaRefetchNotFound) Code() int

Code gets the status code for the media refetch not found response

func (*MediaRefetchNotFound) Error

func (o *MediaRefetchNotFound) Error() string

func (*MediaRefetchNotFound) IsClientError

func (o *MediaRefetchNotFound) IsClientError() bool

IsClientError returns true when this media refetch not found response has a 4xx status code

func (*MediaRefetchNotFound) IsCode

func (o *MediaRefetchNotFound) IsCode(code int) bool

IsCode returns true when this media refetch not found response a status code equal to that given

func (*MediaRefetchNotFound) IsRedirect

func (o *MediaRefetchNotFound) IsRedirect() bool

IsRedirect returns true when this media refetch not found response has a 3xx status code

func (*MediaRefetchNotFound) IsServerError

func (o *MediaRefetchNotFound) IsServerError() bool

IsServerError returns true when this media refetch not found response has a 5xx status code

func (*MediaRefetchNotFound) IsSuccess

func (o *MediaRefetchNotFound) IsSuccess() bool

IsSuccess returns true when this media refetch not found response has a 2xx status code

func (*MediaRefetchNotFound) String

func (o *MediaRefetchNotFound) String() string

type MediaRefetchParams

type MediaRefetchParams struct {

	/* Domain.

	   Domain to refetch media from. If empty, all domains will be refetched.
	*/
	Domain *string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

MediaRefetchParams contains all the parameters to send to the API endpoint

for the media refetch operation.

Typically these are written to a http.Request.

func NewMediaRefetchParams

func NewMediaRefetchParams() *MediaRefetchParams

NewMediaRefetchParams creates a new MediaRefetchParams 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 NewMediaRefetchParamsWithContext

func NewMediaRefetchParamsWithContext(ctx context.Context) *MediaRefetchParams

NewMediaRefetchParamsWithContext creates a new MediaRefetchParams object with the ability to set a context for a request.

func NewMediaRefetchParamsWithHTTPClient

func NewMediaRefetchParamsWithHTTPClient(client *http.Client) *MediaRefetchParams

NewMediaRefetchParamsWithHTTPClient creates a new MediaRefetchParams object with the ability to set a custom HTTPClient for a request.

func NewMediaRefetchParamsWithTimeout

func NewMediaRefetchParamsWithTimeout(timeout time.Duration) *MediaRefetchParams

NewMediaRefetchParamsWithTimeout creates a new MediaRefetchParams object with the ability to set a timeout on a request.

func (*MediaRefetchParams) SetContext

func (o *MediaRefetchParams) SetContext(ctx context.Context)

SetContext adds the context to the media refetch params

func (*MediaRefetchParams) SetDefaults

func (o *MediaRefetchParams) SetDefaults()

SetDefaults hydrates default values in the media refetch params (not the query body).

All values with no default are reset to their zero value.

func (*MediaRefetchParams) SetDomain

func (o *MediaRefetchParams) SetDomain(domain *string)

SetDomain adds the domain to the media refetch params

func (*MediaRefetchParams) SetHTTPClient

func (o *MediaRefetchParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the media refetch params

func (*MediaRefetchParams) SetTimeout

func (o *MediaRefetchParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the media refetch params

func (*MediaRefetchParams) WithContext

WithContext adds the context to the media refetch params

func (*MediaRefetchParams) WithDefaults

func (o *MediaRefetchParams) WithDefaults() *MediaRefetchParams

WithDefaults hydrates default values in the media refetch params (not the query body).

All values with no default are reset to their zero value.

func (*MediaRefetchParams) WithDomain

func (o *MediaRefetchParams) WithDomain(domain *string) *MediaRefetchParams

WithDomain adds the domain to the media refetch params

func (*MediaRefetchParams) WithHTTPClient

func (o *MediaRefetchParams) WithHTTPClient(client *http.Client) *MediaRefetchParams

WithHTTPClient adds the HTTPClient to the media refetch params

func (*MediaRefetchParams) WithTimeout

func (o *MediaRefetchParams) WithTimeout(timeout time.Duration) *MediaRefetchParams

WithTimeout adds the timeout to the media refetch params

func (*MediaRefetchParams) WriteToRequest

func (o *MediaRefetchParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type MediaRefetchReader

type MediaRefetchReader struct {
	// contains filtered or unexported fields
}

MediaRefetchReader is a Reader for the MediaRefetch structure.

func (*MediaRefetchReader) ReadResponse

func (o *MediaRefetchReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type MediaRefetchUnauthorized

type MediaRefetchUnauthorized struct {
}

MediaRefetchUnauthorized describes a response with status code 401, with default header values.

unauthorized

func NewMediaRefetchUnauthorized

func NewMediaRefetchUnauthorized() *MediaRefetchUnauthorized

NewMediaRefetchUnauthorized creates a MediaRefetchUnauthorized with default headers values

func (*MediaRefetchUnauthorized) Code

func (o *MediaRefetchUnauthorized) Code() int

Code gets the status code for the media refetch unauthorized response

func (*MediaRefetchUnauthorized) Error

func (o *MediaRefetchUnauthorized) Error() string

func (*MediaRefetchUnauthorized) IsClientError

func (o *MediaRefetchUnauthorized) IsClientError() bool

IsClientError returns true when this media refetch unauthorized response has a 4xx status code

func (*MediaRefetchUnauthorized) IsCode

func (o *MediaRefetchUnauthorized) IsCode(code int) bool

IsCode returns true when this media refetch unauthorized response a status code equal to that given

func (*MediaRefetchUnauthorized) IsRedirect

func (o *MediaRefetchUnauthorized) IsRedirect() bool

IsRedirect returns true when this media refetch unauthorized response has a 3xx status code

func (*MediaRefetchUnauthorized) IsServerError

func (o *MediaRefetchUnauthorized) IsServerError() bool

IsServerError returns true when this media refetch unauthorized response has a 5xx status code

func (*MediaRefetchUnauthorized) IsSuccess

func (o *MediaRefetchUnauthorized) IsSuccess() bool

IsSuccess returns true when this media refetch unauthorized response has a 2xx status code

func (*MediaRefetchUnauthorized) String

func (o *MediaRefetchUnauthorized) String() string

type RuleCreateBadRequest

type RuleCreateBadRequest struct {
}

RuleCreateBadRequest describes a response with status code 400, with default header values.

bad request

func NewRuleCreateBadRequest

func NewRuleCreateBadRequest() *RuleCreateBadRequest

NewRuleCreateBadRequest creates a RuleCreateBadRequest with default headers values

func (*RuleCreateBadRequest) Code

func (o *RuleCreateBadRequest) Code() int

Code gets the status code for the rule create bad request response

func (*RuleCreateBadRequest) Error

func (o *RuleCreateBadRequest) Error() string

func (*RuleCreateBadRequest) IsClientError

func (o *RuleCreateBadRequest) IsClientError() bool

IsClientError returns true when this rule create bad request response has a 4xx status code

func (*RuleCreateBadRequest) IsCode

func (o *RuleCreateBadRequest) IsCode(code int) bool

IsCode returns true when this rule create bad request response a status code equal to that given

func (*RuleCreateBadRequest) IsRedirect

func (o *RuleCreateBadRequest) IsRedirect() bool

IsRedirect returns true when this rule create bad request response has a 3xx status code

func (*RuleCreateBadRequest) IsServerError

func (o *RuleCreateBadRequest) IsServerError() bool

IsServerError returns true when this rule create bad request response has a 5xx status code

func (*RuleCreateBadRequest) IsSuccess

func (o *RuleCreateBadRequest) IsSuccess() bool

IsSuccess returns true when this rule create bad request response has a 2xx status code

func (*RuleCreateBadRequest) String

func (o *RuleCreateBadRequest) String() string

type RuleCreateForbidden

type RuleCreateForbidden struct {
}

RuleCreateForbidden describes a response with status code 403, with default header values.

forbidden

func NewRuleCreateForbidden

func NewRuleCreateForbidden() *RuleCreateForbidden

NewRuleCreateForbidden creates a RuleCreateForbidden with default headers values

func (*RuleCreateForbidden) Code

func (o *RuleCreateForbidden) Code() int

Code gets the status code for the rule create forbidden response

func (*RuleCreateForbidden) Error

func (o *RuleCreateForbidden) Error() string

func (*RuleCreateForbidden) IsClientError

func (o *RuleCreateForbidden) IsClientError() bool

IsClientError returns true when this rule create forbidden response has a 4xx status code

func (*RuleCreateForbidden) IsCode

func (o *RuleCreateForbidden) IsCode(code int) bool

IsCode returns true when this rule create forbidden response a status code equal to that given

func (*RuleCreateForbidden) IsRedirect

func (o *RuleCreateForbidden) IsRedirect() bool

IsRedirect returns true when this rule create forbidden response has a 3xx status code

func (*RuleCreateForbidden) IsServerError

func (o *RuleCreateForbidden) IsServerError() bool

IsServerError returns true when this rule create forbidden response has a 5xx status code

func (*RuleCreateForbidden) IsSuccess

func (o *RuleCreateForbidden) IsSuccess() bool

IsSuccess returns true when this rule create forbidden response has a 2xx status code

func (*RuleCreateForbidden) String

func (o *RuleCreateForbidden) String() string

type RuleCreateInternalServerError

type RuleCreateInternalServerError struct {
}

RuleCreateInternalServerError describes a response with status code 500, with default header values.

internal server error

func NewRuleCreateInternalServerError

func NewRuleCreateInternalServerError() *RuleCreateInternalServerError

NewRuleCreateInternalServerError creates a RuleCreateInternalServerError with default headers values

func (*RuleCreateInternalServerError) Code

Code gets the status code for the rule create internal server error response

func (*RuleCreateInternalServerError) Error

func (*RuleCreateInternalServerError) IsClientError

func (o *RuleCreateInternalServerError) IsClientError() bool

IsClientError returns true when this rule create internal server error response has a 4xx status code

func (*RuleCreateInternalServerError) IsCode

func (o *RuleCreateInternalServerError) IsCode(code int) bool

IsCode returns true when this rule create internal server error response a status code equal to that given

func (*RuleCreateInternalServerError) IsRedirect

func (o *RuleCreateInternalServerError) IsRedirect() bool

IsRedirect returns true when this rule create internal server error response has a 3xx status code

func (*RuleCreateInternalServerError) IsServerError

func (o *RuleCreateInternalServerError) IsServerError() bool

IsServerError returns true when this rule create internal server error response has a 5xx status code

func (*RuleCreateInternalServerError) IsSuccess

func (o *RuleCreateInternalServerError) IsSuccess() bool

IsSuccess returns true when this rule create internal server error response has a 2xx status code

func (*RuleCreateInternalServerError) String

type RuleCreateNotAcceptable

type RuleCreateNotAcceptable struct {
}

RuleCreateNotAcceptable describes a response with status code 406, with default header values.

not acceptable

func NewRuleCreateNotAcceptable

func NewRuleCreateNotAcceptable() *RuleCreateNotAcceptable

NewRuleCreateNotAcceptable creates a RuleCreateNotAcceptable with default headers values

func (*RuleCreateNotAcceptable) Code

func (o *RuleCreateNotAcceptable) Code() int

Code gets the status code for the rule create not acceptable response

func (*RuleCreateNotAcceptable) Error

func (o *RuleCreateNotAcceptable) Error() string

func (*RuleCreateNotAcceptable) IsClientError

func (o *RuleCreateNotAcceptable) IsClientError() bool

IsClientError returns true when this rule create not acceptable response has a 4xx status code

func (*RuleCreateNotAcceptable) IsCode

func (o *RuleCreateNotAcceptable) IsCode(code int) bool

IsCode returns true when this rule create not acceptable response a status code equal to that given

func (*RuleCreateNotAcceptable) IsRedirect

func (o *RuleCreateNotAcceptable) IsRedirect() bool

IsRedirect returns true when this rule create not acceptable response has a 3xx status code

func (*RuleCreateNotAcceptable) IsServerError

func (o *RuleCreateNotAcceptable) IsServerError() bool

IsServerError returns true when this rule create not acceptable response has a 5xx status code

func (*RuleCreateNotAcceptable) IsSuccess

func (o *RuleCreateNotAcceptable) IsSuccess() bool

IsSuccess returns true when this rule create not acceptable response has a 2xx status code

func (*RuleCreateNotAcceptable) String

func (o *RuleCreateNotAcceptable) String() string

type RuleCreateNotFound

type RuleCreateNotFound struct {
}

RuleCreateNotFound describes a response with status code 404, with default header values.

not found

func NewRuleCreateNotFound

func NewRuleCreateNotFound() *RuleCreateNotFound

NewRuleCreateNotFound creates a RuleCreateNotFound with default headers values

func (*RuleCreateNotFound) Code

func (o *RuleCreateNotFound) Code() int

Code gets the status code for the rule create not found response

func (*RuleCreateNotFound) Error

func (o *RuleCreateNotFound) Error() string

func (*RuleCreateNotFound) IsClientError

func (o *RuleCreateNotFound) IsClientError() bool

IsClientError returns true when this rule create not found response has a 4xx status code

func (*RuleCreateNotFound) IsCode

func (o *RuleCreateNotFound) IsCode(code int) bool

IsCode returns true when this rule create not found response a status code equal to that given

func (*RuleCreateNotFound) IsRedirect

func (o *RuleCreateNotFound) IsRedirect() bool

IsRedirect returns true when this rule create not found response has a 3xx status code

func (*RuleCreateNotFound) IsServerError

func (o *RuleCreateNotFound) IsServerError() bool

IsServerError returns true when this rule create not found response has a 5xx status code

func (*RuleCreateNotFound) IsSuccess

func (o *RuleCreateNotFound) IsSuccess() bool

IsSuccess returns true when this rule create not found response has a 2xx status code

func (*RuleCreateNotFound) String

func (o *RuleCreateNotFound) String() string

type RuleCreateOK

type RuleCreateOK struct {
	Payload *models.InstanceRule
}

RuleCreateOK describes a response with status code 200, with default header values.

The newly-created instance rule.

func NewRuleCreateOK

func NewRuleCreateOK() *RuleCreateOK

NewRuleCreateOK creates a RuleCreateOK with default headers values

func (*RuleCreateOK) Code

func (o *RuleCreateOK) Code() int

Code gets the status code for the rule create o k response

func (*RuleCreateOK) Error

func (o *RuleCreateOK) Error() string

func (*RuleCreateOK) GetPayload

func (o *RuleCreateOK) GetPayload() *models.InstanceRule

func (*RuleCreateOK) IsClientError

func (o *RuleCreateOK) IsClientError() bool

IsClientError returns true when this rule create o k response has a 4xx status code

func (*RuleCreateOK) IsCode

func (o *RuleCreateOK) IsCode(code int) bool

IsCode returns true when this rule create o k response a status code equal to that given

func (*RuleCreateOK) IsRedirect

func (o *RuleCreateOK) IsRedirect() bool

IsRedirect returns true when this rule create o k response has a 3xx status code

func (*RuleCreateOK) IsServerError

func (o *RuleCreateOK) IsServerError() bool

IsServerError returns true when this rule create o k response has a 5xx status code

func (*RuleCreateOK) IsSuccess

func (o *RuleCreateOK) IsSuccess() bool

IsSuccess returns true when this rule create o k response has a 2xx status code

func (*RuleCreateOK) String

func (o *RuleCreateOK) String() string

type RuleCreateParams

type RuleCreateParams struct {

	/* Text.

	   Text body for the instance rule, plaintext.
	*/
	Text string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

RuleCreateParams contains all the parameters to send to the API endpoint

for the rule create operation.

Typically these are written to a http.Request.

func NewRuleCreateParams

func NewRuleCreateParams() *RuleCreateParams

NewRuleCreateParams creates a new RuleCreateParams 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 NewRuleCreateParamsWithContext

func NewRuleCreateParamsWithContext(ctx context.Context) *RuleCreateParams

NewRuleCreateParamsWithContext creates a new RuleCreateParams object with the ability to set a context for a request.

func NewRuleCreateParamsWithHTTPClient

func NewRuleCreateParamsWithHTTPClient(client *http.Client) *RuleCreateParams

NewRuleCreateParamsWithHTTPClient creates a new RuleCreateParams object with the ability to set a custom HTTPClient for a request.

func NewRuleCreateParamsWithTimeout

func NewRuleCreateParamsWithTimeout(timeout time.Duration) *RuleCreateParams

NewRuleCreateParamsWithTimeout creates a new RuleCreateParams object with the ability to set a timeout on a request.

func (*RuleCreateParams) SetContext

func (o *RuleCreateParams) SetContext(ctx context.Context)

SetContext adds the context to the rule create params

func (*RuleCreateParams) SetDefaults

func (o *RuleCreateParams) SetDefaults()

SetDefaults hydrates default values in the rule create params (not the query body).

All values with no default are reset to their zero value.

func (*RuleCreateParams) SetHTTPClient

func (o *RuleCreateParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the rule create params

func (*RuleCreateParams) SetText

func (o *RuleCreateParams) SetText(text string)

SetText adds the text to the rule create params

func (*RuleCreateParams) SetTimeout

func (o *RuleCreateParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the rule create params

func (*RuleCreateParams) WithContext

func (o *RuleCreateParams) WithContext(ctx context.Context) *RuleCreateParams

WithContext adds the context to the rule create params

func (*RuleCreateParams) WithDefaults

func (o *RuleCreateParams) WithDefaults() *RuleCreateParams

WithDefaults hydrates default values in the rule create params (not the query body).

All values with no default are reset to their zero value.

func (*RuleCreateParams) WithHTTPClient

func (o *RuleCreateParams) WithHTTPClient(client *http.Client) *RuleCreateParams

WithHTTPClient adds the HTTPClient to the rule create params

func (*RuleCreateParams) WithText

func (o *RuleCreateParams) WithText(text string) *RuleCreateParams

WithText adds the text to the rule create params

func (*RuleCreateParams) WithTimeout

func (o *RuleCreateParams) WithTimeout(timeout time.Duration) *RuleCreateParams

WithTimeout adds the timeout to the rule create params

func (*RuleCreateParams) WriteToRequest

func (o *RuleCreateParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type RuleCreateReader

type RuleCreateReader struct {
	// contains filtered or unexported fields
}

RuleCreateReader is a Reader for the RuleCreate structure.

func (*RuleCreateReader) ReadResponse

func (o *RuleCreateReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type RuleCreateUnauthorized

type RuleCreateUnauthorized struct {
}

RuleCreateUnauthorized describes a response with status code 401, with default header values.

unauthorized

func NewRuleCreateUnauthorized

func NewRuleCreateUnauthorized() *RuleCreateUnauthorized

NewRuleCreateUnauthorized creates a RuleCreateUnauthorized with default headers values

func (*RuleCreateUnauthorized) Code

func (o *RuleCreateUnauthorized) Code() int

Code gets the status code for the rule create unauthorized response

func (*RuleCreateUnauthorized) Error

func (o *RuleCreateUnauthorized) Error() string

func (*RuleCreateUnauthorized) IsClientError

func (o *RuleCreateUnauthorized) IsClientError() bool

IsClientError returns true when this rule create unauthorized response has a 4xx status code

func (*RuleCreateUnauthorized) IsCode

func (o *RuleCreateUnauthorized) IsCode(code int) bool

IsCode returns true when this rule create unauthorized response a status code equal to that given

func (*RuleCreateUnauthorized) IsRedirect

func (o *RuleCreateUnauthorized) IsRedirect() bool

IsRedirect returns true when this rule create unauthorized response has a 3xx status code

func (*RuleCreateUnauthorized) IsServerError

func (o *RuleCreateUnauthorized) IsServerError() bool

IsServerError returns true when this rule create unauthorized response has a 5xx status code

func (*RuleCreateUnauthorized) IsSuccess

func (o *RuleCreateUnauthorized) IsSuccess() bool

IsSuccess returns true when this rule create unauthorized response has a 2xx status code

func (*RuleCreateUnauthorized) String

func (o *RuleCreateUnauthorized) String() string

type RuleDeleteBadRequest

type RuleDeleteBadRequest struct {
}

RuleDeleteBadRequest describes a response with status code 400, with default header values.

bad request

func NewRuleDeleteBadRequest

func NewRuleDeleteBadRequest() *RuleDeleteBadRequest

NewRuleDeleteBadRequest creates a RuleDeleteBadRequest with default headers values

func (*RuleDeleteBadRequest) Code

func (o *RuleDeleteBadRequest) Code() int

Code gets the status code for the rule delete bad request response

func (*RuleDeleteBadRequest) Error

func (o *RuleDeleteBadRequest) Error() string

func (*RuleDeleteBadRequest) IsClientError

func (o *RuleDeleteBadRequest) IsClientError() bool

IsClientError returns true when this rule delete bad request response has a 4xx status code

func (*RuleDeleteBadRequest) IsCode

func (o *RuleDeleteBadRequest) IsCode(code int) bool

IsCode returns true when this rule delete bad request response a status code equal to that given

func (*RuleDeleteBadRequest) IsRedirect

func (o *RuleDeleteBadRequest) IsRedirect() bool

IsRedirect returns true when this rule delete bad request response has a 3xx status code

func (*RuleDeleteBadRequest) IsServerError

func (o *RuleDeleteBadRequest) IsServerError() bool

IsServerError returns true when this rule delete bad request response has a 5xx status code

func (*RuleDeleteBadRequest) IsSuccess

func (o *RuleDeleteBadRequest) IsSuccess() bool

IsSuccess returns true when this rule delete bad request response has a 2xx status code

func (*RuleDeleteBadRequest) String

func (o *RuleDeleteBadRequest) String() string

type RuleDeleteForbidden

type RuleDeleteForbidden struct {
}

RuleDeleteForbidden describes a response with status code 403, with default header values.

forbidden

func NewRuleDeleteForbidden

func NewRuleDeleteForbidden() *RuleDeleteForbidden

NewRuleDeleteForbidden creates a RuleDeleteForbidden with default headers values

func (*RuleDeleteForbidden) Code

func (o *RuleDeleteForbidden) Code() int

Code gets the status code for the rule delete forbidden response

func (*RuleDeleteForbidden) Error

func (o *RuleDeleteForbidden) Error() string

func (*RuleDeleteForbidden) IsClientError

func (o *RuleDeleteForbidden) IsClientError() bool

IsClientError returns true when this rule delete forbidden response has a 4xx status code

func (*RuleDeleteForbidden) IsCode

func (o *RuleDeleteForbidden) IsCode(code int) bool

IsCode returns true when this rule delete forbidden response a status code equal to that given

func (*RuleDeleteForbidden) IsRedirect

func (o *RuleDeleteForbidden) IsRedirect() bool

IsRedirect returns true when this rule delete forbidden response has a 3xx status code

func (*RuleDeleteForbidden) IsServerError

func (o *RuleDeleteForbidden) IsServerError() bool

IsServerError returns true when this rule delete forbidden response has a 5xx status code

func (*RuleDeleteForbidden) IsSuccess

func (o *RuleDeleteForbidden) IsSuccess() bool

IsSuccess returns true when this rule delete forbidden response has a 2xx status code

func (*RuleDeleteForbidden) String

func (o *RuleDeleteForbidden) String() string

type RuleDeleteInternalServerError

type RuleDeleteInternalServerError struct {
}

RuleDeleteInternalServerError describes a response with status code 500, with default header values.

internal server error

func NewRuleDeleteInternalServerError

func NewRuleDeleteInternalServerError() *RuleDeleteInternalServerError

NewRuleDeleteInternalServerError creates a RuleDeleteInternalServerError with default headers values

func (*RuleDeleteInternalServerError) Code

Code gets the status code for the rule delete internal server error response

func (*RuleDeleteInternalServerError) Error

func (*RuleDeleteInternalServerError) IsClientError

func (o *RuleDeleteInternalServerError) IsClientError() bool

IsClientError returns true when this rule delete internal server error response has a 4xx status code

func (*RuleDeleteInternalServerError) IsCode

func (o *RuleDeleteInternalServerError) IsCode(code int) bool

IsCode returns true when this rule delete internal server error response a status code equal to that given

func (*RuleDeleteInternalServerError) IsRedirect

func (o *RuleDeleteInternalServerError) IsRedirect() bool

IsRedirect returns true when this rule delete internal server error response has a 3xx status code

func (*RuleDeleteInternalServerError) IsServerError

func (o *RuleDeleteInternalServerError) IsServerError() bool

IsServerError returns true when this rule delete internal server error response has a 5xx status code

func (*RuleDeleteInternalServerError) IsSuccess

func (o *RuleDeleteInternalServerError) IsSuccess() bool

IsSuccess returns true when this rule delete internal server error response has a 2xx status code

func (*RuleDeleteInternalServerError) String

type RuleDeleteNotAcceptable

type RuleDeleteNotAcceptable struct {
}

RuleDeleteNotAcceptable describes a response with status code 406, with default header values.

not acceptable

func NewRuleDeleteNotAcceptable

func NewRuleDeleteNotAcceptable() *RuleDeleteNotAcceptable

NewRuleDeleteNotAcceptable creates a RuleDeleteNotAcceptable with default headers values

func (*RuleDeleteNotAcceptable) Code

func (o *RuleDeleteNotAcceptable) Code() int

Code gets the status code for the rule delete not acceptable response

func (*RuleDeleteNotAcceptable) Error

func (o *RuleDeleteNotAcceptable) Error() string

func (*RuleDeleteNotAcceptable) IsClientError

func (o *RuleDeleteNotAcceptable) IsClientError() bool

IsClientError returns true when this rule delete not acceptable response has a 4xx status code

func (*RuleDeleteNotAcceptable) IsCode

func (o *RuleDeleteNotAcceptable) IsCode(code int) bool

IsCode returns true when this rule delete not acceptable response a status code equal to that given

func (*RuleDeleteNotAcceptable) IsRedirect

func (o *RuleDeleteNotAcceptable) IsRedirect() bool

IsRedirect returns true when this rule delete not acceptable response has a 3xx status code

func (*RuleDeleteNotAcceptable) IsServerError

func (o *RuleDeleteNotAcceptable) IsServerError() bool

IsServerError returns true when this rule delete not acceptable response has a 5xx status code

func (*RuleDeleteNotAcceptable) IsSuccess

func (o *RuleDeleteNotAcceptable) IsSuccess() bool

IsSuccess returns true when this rule delete not acceptable response has a 2xx status code

func (*RuleDeleteNotAcceptable) String

func (o *RuleDeleteNotAcceptable) String() string

type RuleDeleteNotFound

type RuleDeleteNotFound struct {
}

RuleDeleteNotFound describes a response with status code 404, with default header values.

not found

func NewRuleDeleteNotFound

func NewRuleDeleteNotFound() *RuleDeleteNotFound

NewRuleDeleteNotFound creates a RuleDeleteNotFound with default headers values

func (*RuleDeleteNotFound) Code

func (o *RuleDeleteNotFound) Code() int

Code gets the status code for the rule delete not found response

func (*RuleDeleteNotFound) Error

func (o *RuleDeleteNotFound) Error() string

func (*RuleDeleteNotFound) IsClientError

func (o *RuleDeleteNotFound) IsClientError() bool

IsClientError returns true when this rule delete not found response has a 4xx status code

func (*RuleDeleteNotFound) IsCode

func (o *RuleDeleteNotFound) IsCode(code int) bool

IsCode returns true when this rule delete not found response a status code equal to that given

func (*RuleDeleteNotFound) IsRedirect

func (o *RuleDeleteNotFound) IsRedirect() bool

IsRedirect returns true when this rule delete not found response has a 3xx status code

func (*RuleDeleteNotFound) IsServerError

func (o *RuleDeleteNotFound) IsServerError() bool

IsServerError returns true when this rule delete not found response has a 5xx status code

func (*RuleDeleteNotFound) IsSuccess

func (o *RuleDeleteNotFound) IsSuccess() bool

IsSuccess returns true when this rule delete not found response has a 2xx status code

func (*RuleDeleteNotFound) String

func (o *RuleDeleteNotFound) String() string

type RuleDeleteOK

type RuleDeleteOK struct {
	Payload *models.InstanceRule
}

RuleDeleteOK describes a response with status code 200, with default header values.

The deleted instance rule.

func NewRuleDeleteOK

func NewRuleDeleteOK() *RuleDeleteOK

NewRuleDeleteOK creates a RuleDeleteOK with default headers values

func (*RuleDeleteOK) Code

func (o *RuleDeleteOK) Code() int

Code gets the status code for the rule delete o k response

func (*RuleDeleteOK) Error

func (o *RuleDeleteOK) Error() string

func (*RuleDeleteOK) GetPayload

func (o *RuleDeleteOK) GetPayload() *models.InstanceRule

func (*RuleDeleteOK) IsClientError

func (o *RuleDeleteOK) IsClientError() bool

IsClientError returns true when this rule delete o k response has a 4xx status code

func (*RuleDeleteOK) IsCode

func (o *RuleDeleteOK) IsCode(code int) bool

IsCode returns true when this rule delete o k response a status code equal to that given

func (*RuleDeleteOK) IsRedirect

func (o *RuleDeleteOK) IsRedirect() bool

IsRedirect returns true when this rule delete o k response has a 3xx status code

func (*RuleDeleteOK) IsServerError

func (o *RuleDeleteOK) IsServerError() bool

IsServerError returns true when this rule delete o k response has a 5xx status code

func (*RuleDeleteOK) IsSuccess

func (o *RuleDeleteOK) IsSuccess() bool

IsSuccess returns true when this rule delete o k response has a 2xx status code

func (*RuleDeleteOK) String

func (o *RuleDeleteOK) String() string

type RuleDeleteParams

type RuleDeleteParams struct {

	/* ID.

	   The id of the rule to delete.
	*/
	ID string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

RuleDeleteParams contains all the parameters to send to the API endpoint

for the rule delete operation.

Typically these are written to a http.Request.

func NewRuleDeleteParams

func NewRuleDeleteParams() *RuleDeleteParams

NewRuleDeleteParams creates a new RuleDeleteParams 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 NewRuleDeleteParamsWithContext

func NewRuleDeleteParamsWithContext(ctx context.Context) *RuleDeleteParams

NewRuleDeleteParamsWithContext creates a new RuleDeleteParams object with the ability to set a context for a request.

func NewRuleDeleteParamsWithHTTPClient

func NewRuleDeleteParamsWithHTTPClient(client *http.Client) *RuleDeleteParams

NewRuleDeleteParamsWithHTTPClient creates a new RuleDeleteParams object with the ability to set a custom HTTPClient for a request.

func NewRuleDeleteParamsWithTimeout

func NewRuleDeleteParamsWithTimeout(timeout time.Duration) *RuleDeleteParams

NewRuleDeleteParamsWithTimeout creates a new RuleDeleteParams object with the ability to set a timeout on a request.

func (*RuleDeleteParams) SetContext

func (o *RuleDeleteParams) SetContext(ctx context.Context)

SetContext adds the context to the rule delete params

func (*RuleDeleteParams) SetDefaults

func (o *RuleDeleteParams) SetDefaults()

SetDefaults hydrates default values in the rule delete params (not the query body).

All values with no default are reset to their zero value.

func (*RuleDeleteParams) SetHTTPClient

func (o *RuleDeleteParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the rule delete params

func (*RuleDeleteParams) SetID

func (o *RuleDeleteParams) SetID(id string)

SetID adds the id to the rule delete params

func (*RuleDeleteParams) SetTimeout

func (o *RuleDeleteParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the rule delete params

func (*RuleDeleteParams) WithContext

func (o *RuleDeleteParams) WithContext(ctx context.Context) *RuleDeleteParams

WithContext adds the context to the rule delete params

func (*RuleDeleteParams) WithDefaults

func (o *RuleDeleteParams) WithDefaults() *RuleDeleteParams

WithDefaults hydrates default values in the rule delete params (not the query body).

All values with no default are reset to their zero value.

func (*RuleDeleteParams) WithHTTPClient

func (o *RuleDeleteParams) WithHTTPClient(client *http.Client) *RuleDeleteParams

WithHTTPClient adds the HTTPClient to the rule delete params

func (*RuleDeleteParams) WithID

func (o *RuleDeleteParams) WithID(id string) *RuleDeleteParams

WithID adds the id to the rule delete params

func (*RuleDeleteParams) WithTimeout

func (o *RuleDeleteParams) WithTimeout(timeout time.Duration) *RuleDeleteParams

WithTimeout adds the timeout to the rule delete params

func (*RuleDeleteParams) WriteToRequest

func (o *RuleDeleteParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type RuleDeleteReader

type RuleDeleteReader struct {
	// contains filtered or unexported fields
}

RuleDeleteReader is a Reader for the RuleDelete structure.

func (*RuleDeleteReader) ReadResponse

func (o *RuleDeleteReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type RuleDeleteUnauthorized

type RuleDeleteUnauthorized struct {
}

RuleDeleteUnauthorized describes a response with status code 401, with default header values.

unauthorized

func NewRuleDeleteUnauthorized

func NewRuleDeleteUnauthorized() *RuleDeleteUnauthorized

NewRuleDeleteUnauthorized creates a RuleDeleteUnauthorized with default headers values

func (*RuleDeleteUnauthorized) Code

func (o *RuleDeleteUnauthorized) Code() int

Code gets the status code for the rule delete unauthorized response

func (*RuleDeleteUnauthorized) Error

func (o *RuleDeleteUnauthorized) Error() string

func (*RuleDeleteUnauthorized) IsClientError

func (o *RuleDeleteUnauthorized) IsClientError() bool

IsClientError returns true when this rule delete unauthorized response has a 4xx status code

func (*RuleDeleteUnauthorized) IsCode

func (o *RuleDeleteUnauthorized) IsCode(code int) bool

IsCode returns true when this rule delete unauthorized response a status code equal to that given

func (*RuleDeleteUnauthorized) IsRedirect

func (o *RuleDeleteUnauthorized) IsRedirect() bool

IsRedirect returns true when this rule delete unauthorized response has a 3xx status code

func (*RuleDeleteUnauthorized) IsServerError

func (o *RuleDeleteUnauthorized) IsServerError() bool

IsServerError returns true when this rule delete unauthorized response has a 5xx status code

func (*RuleDeleteUnauthorized) IsSuccess

func (o *RuleDeleteUnauthorized) IsSuccess() bool

IsSuccess returns true when this rule delete unauthorized response has a 2xx status code

func (*RuleDeleteUnauthorized) String

func (o *RuleDeleteUnauthorized) String() string

type RuleUpdateBadRequest

type RuleUpdateBadRequest struct {
}

RuleUpdateBadRequest describes a response with status code 400, with default header values.

bad request

func NewRuleUpdateBadRequest

func NewRuleUpdateBadRequest() *RuleUpdateBadRequest

NewRuleUpdateBadRequest creates a RuleUpdateBadRequest with default headers values

func (*RuleUpdateBadRequest) Code

func (o *RuleUpdateBadRequest) Code() int

Code gets the status code for the rule update bad request response

func (*RuleUpdateBadRequest) Error

func (o *RuleUpdateBadRequest) Error() string

func (*RuleUpdateBadRequest) IsClientError

func (o *RuleUpdateBadRequest) IsClientError() bool

IsClientError returns true when this rule update bad request response has a 4xx status code

func (*RuleUpdateBadRequest) IsCode

func (o *RuleUpdateBadRequest) IsCode(code int) bool

IsCode returns true when this rule update bad request response a status code equal to that given

func (*RuleUpdateBadRequest) IsRedirect

func (o *RuleUpdateBadRequest) IsRedirect() bool

IsRedirect returns true when this rule update bad request response has a 3xx status code

func (*RuleUpdateBadRequest) IsServerError

func (o *RuleUpdateBadRequest) IsServerError() bool

IsServerError returns true when this rule update bad request response has a 5xx status code

func (*RuleUpdateBadRequest) IsSuccess

func (o *RuleUpdateBadRequest) IsSuccess() bool

IsSuccess returns true when this rule update bad request response has a 2xx status code

func (*RuleUpdateBadRequest) String

func (o *RuleUpdateBadRequest) String() string

type RuleUpdateForbidden

type RuleUpdateForbidden struct {
}

RuleUpdateForbidden describes a response with status code 403, with default header values.

forbidden

func NewRuleUpdateForbidden

func NewRuleUpdateForbidden() *RuleUpdateForbidden

NewRuleUpdateForbidden creates a RuleUpdateForbidden with default headers values

func (*RuleUpdateForbidden) Code

func (o *RuleUpdateForbidden) Code() int

Code gets the status code for the rule update forbidden response

func (*RuleUpdateForbidden) Error

func (o *RuleUpdateForbidden) Error() string

func (*RuleUpdateForbidden) IsClientError

func (o *RuleUpdateForbidden) IsClientError() bool

IsClientError returns true when this rule update forbidden response has a 4xx status code

func (*RuleUpdateForbidden) IsCode

func (o *RuleUpdateForbidden) IsCode(code int) bool

IsCode returns true when this rule update forbidden response a status code equal to that given

func (*RuleUpdateForbidden) IsRedirect

func (o *RuleUpdateForbidden) IsRedirect() bool

IsRedirect returns true when this rule update forbidden response has a 3xx status code

func (*RuleUpdateForbidden) IsServerError

func (o *RuleUpdateForbidden) IsServerError() bool

IsServerError returns true when this rule update forbidden response has a 5xx status code

func (*RuleUpdateForbidden) IsSuccess

func (o *RuleUpdateForbidden) IsSuccess() bool

IsSuccess returns true when this rule update forbidden response has a 2xx status code

func (*RuleUpdateForbidden) String

func (o *RuleUpdateForbidden) String() string

type RuleUpdateInternalServerError

type RuleUpdateInternalServerError struct {
}

RuleUpdateInternalServerError describes a response with status code 500, with default header values.

internal server error

func NewRuleUpdateInternalServerError

func NewRuleUpdateInternalServerError() *RuleUpdateInternalServerError

NewRuleUpdateInternalServerError creates a RuleUpdateInternalServerError with default headers values

func (*RuleUpdateInternalServerError) Code

Code gets the status code for the rule update internal server error response

func (*RuleUpdateInternalServerError) Error

func (*RuleUpdateInternalServerError) IsClientError

func (o *RuleUpdateInternalServerError) IsClientError() bool

IsClientError returns true when this rule update internal server error response has a 4xx status code

func (*RuleUpdateInternalServerError) IsCode

func (o *RuleUpdateInternalServerError) IsCode(code int) bool

IsCode returns true when this rule update internal server error response a status code equal to that given

func (*RuleUpdateInternalServerError) IsRedirect

func (o *RuleUpdateInternalServerError) IsRedirect() bool

IsRedirect returns true when this rule update internal server error response has a 3xx status code

func (*RuleUpdateInternalServerError) IsServerError

func (o *RuleUpdateInternalServerError) IsServerError() bool

IsServerError returns true when this rule update internal server error response has a 5xx status code

func (*RuleUpdateInternalServerError) IsSuccess

func (o *RuleUpdateInternalServerError) IsSuccess() bool

IsSuccess returns true when this rule update internal server error response has a 2xx status code

func (*RuleUpdateInternalServerError) String

type RuleUpdateNotAcceptable

type RuleUpdateNotAcceptable struct {
}

RuleUpdateNotAcceptable describes a response with status code 406, with default header values.

not acceptable

func NewRuleUpdateNotAcceptable

func NewRuleUpdateNotAcceptable() *RuleUpdateNotAcceptable

NewRuleUpdateNotAcceptable creates a RuleUpdateNotAcceptable with default headers values

func (*RuleUpdateNotAcceptable) Code

func (o *RuleUpdateNotAcceptable) Code() int

Code gets the status code for the rule update not acceptable response

func (*RuleUpdateNotAcceptable) Error

func (o *RuleUpdateNotAcceptable) Error() string

func (*RuleUpdateNotAcceptable) IsClientError

func (o *RuleUpdateNotAcceptable) IsClientError() bool

IsClientError returns true when this rule update not acceptable response has a 4xx status code

func (*RuleUpdateNotAcceptable) IsCode

func (o *RuleUpdateNotAcceptable) IsCode(code int) bool

IsCode returns true when this rule update not acceptable response a status code equal to that given

func (*RuleUpdateNotAcceptable) IsRedirect

func (o *RuleUpdateNotAcceptable) IsRedirect() bool

IsRedirect returns true when this rule update not acceptable response has a 3xx status code

func (*RuleUpdateNotAcceptable) IsServerError

func (o *RuleUpdateNotAcceptable) IsServerError() bool

IsServerError returns true when this rule update not acceptable response has a 5xx status code

func (*RuleUpdateNotAcceptable) IsSuccess

func (o *RuleUpdateNotAcceptable) IsSuccess() bool

IsSuccess returns true when this rule update not acceptable response has a 2xx status code

func (*RuleUpdateNotAcceptable) String

func (o *RuleUpdateNotAcceptable) String() string

type RuleUpdateNotFound

type RuleUpdateNotFound struct {
}

RuleUpdateNotFound describes a response with status code 404, with default header values.

not found

func NewRuleUpdateNotFound

func NewRuleUpdateNotFound() *RuleUpdateNotFound

NewRuleUpdateNotFound creates a RuleUpdateNotFound with default headers values

func (*RuleUpdateNotFound) Code

func (o *RuleUpdateNotFound) Code() int

Code gets the status code for the rule update not found response

func (*RuleUpdateNotFound) Error

func (o *RuleUpdateNotFound) Error() string

func (*RuleUpdateNotFound) IsClientError

func (o *RuleUpdateNotFound) IsClientError() bool

IsClientError returns true when this rule update not found response has a 4xx status code

func (*RuleUpdateNotFound) IsCode

func (o *RuleUpdateNotFound) IsCode(code int) bool

IsCode returns true when this rule update not found response a status code equal to that given

func (*RuleUpdateNotFound) IsRedirect

func (o *RuleUpdateNotFound) IsRedirect() bool

IsRedirect returns true when this rule update not found response has a 3xx status code

func (*RuleUpdateNotFound) IsServerError

func (o *RuleUpdateNotFound) IsServerError() bool

IsServerError returns true when this rule update not found response has a 5xx status code

func (*RuleUpdateNotFound) IsSuccess

func (o *RuleUpdateNotFound) IsSuccess() bool

IsSuccess returns true when this rule update not found response has a 2xx status code

func (*RuleUpdateNotFound) String

func (o *RuleUpdateNotFound) String() string

type RuleUpdateOK

type RuleUpdateOK struct {
	Payload *models.InstanceRule
}

RuleUpdateOK describes a response with status code 200, with default header values.

The updated instance rule.

func NewRuleUpdateOK

func NewRuleUpdateOK() *RuleUpdateOK

NewRuleUpdateOK creates a RuleUpdateOK with default headers values

func (*RuleUpdateOK) Code

func (o *RuleUpdateOK) Code() int

Code gets the status code for the rule update o k response

func (*RuleUpdateOK) Error

func (o *RuleUpdateOK) Error() string

func (*RuleUpdateOK) GetPayload

func (o *RuleUpdateOK) GetPayload() *models.InstanceRule

func (*RuleUpdateOK) IsClientError

func (o *RuleUpdateOK) IsClientError() bool

IsClientError returns true when this rule update o k response has a 4xx status code

func (*RuleUpdateOK) IsCode

func (o *RuleUpdateOK) IsCode(code int) bool

IsCode returns true when this rule update o k response a status code equal to that given

func (*RuleUpdateOK) IsRedirect

func (o *RuleUpdateOK) IsRedirect() bool

IsRedirect returns true when this rule update o k response has a 3xx status code

func (*RuleUpdateOK) IsServerError

func (o *RuleUpdateOK) IsServerError() bool

IsServerError returns true when this rule update o k response has a 5xx status code

func (*RuleUpdateOK) IsSuccess

func (o *RuleUpdateOK) IsSuccess() bool

IsSuccess returns true when this rule update o k response has a 2xx status code

func (*RuleUpdateOK) String

func (o *RuleUpdateOK) String() string

type RuleUpdateParams

type RuleUpdateParams struct {

	/* ID.

	   The id of the rule to update.
	*/
	ID string

	/* Text.

	   Text body for the updated instance rule, plaintext.
	*/
	Text string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

RuleUpdateParams contains all the parameters to send to the API endpoint

for the rule update operation.

Typically these are written to a http.Request.

func NewRuleUpdateParams

func NewRuleUpdateParams() *RuleUpdateParams

NewRuleUpdateParams creates a new RuleUpdateParams 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 NewRuleUpdateParamsWithContext

func NewRuleUpdateParamsWithContext(ctx context.Context) *RuleUpdateParams

NewRuleUpdateParamsWithContext creates a new RuleUpdateParams object with the ability to set a context for a request.

func NewRuleUpdateParamsWithHTTPClient

func NewRuleUpdateParamsWithHTTPClient(client *http.Client) *RuleUpdateParams

NewRuleUpdateParamsWithHTTPClient creates a new RuleUpdateParams object with the ability to set a custom HTTPClient for a request.

func NewRuleUpdateParamsWithTimeout

func NewRuleUpdateParamsWithTimeout(timeout time.Duration) *RuleUpdateParams

NewRuleUpdateParamsWithTimeout creates a new RuleUpdateParams object with the ability to set a timeout on a request.

func (*RuleUpdateParams) SetContext

func (o *RuleUpdateParams) SetContext(ctx context.Context)

SetContext adds the context to the rule update params

func (*RuleUpdateParams) SetDefaults

func (o *RuleUpdateParams) SetDefaults()

SetDefaults hydrates default values in the rule update params (not the query body).

All values with no default are reset to their zero value.

func (*RuleUpdateParams) SetHTTPClient

func (o *RuleUpdateParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the rule update params

func (*RuleUpdateParams) SetID

func (o *RuleUpdateParams) SetID(id string)

SetID adds the id to the rule update params

func (*RuleUpdateParams) SetText

func (o *RuleUpdateParams) SetText(text string)

SetText adds the text to the rule update params

func (*RuleUpdateParams) SetTimeout

func (o *RuleUpdateParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the rule update params

func (*RuleUpdateParams) WithContext

func (o *RuleUpdateParams) WithContext(ctx context.Context) *RuleUpdateParams

WithContext adds the context to the rule update params

func (*RuleUpdateParams) WithDefaults

func (o *RuleUpdateParams) WithDefaults() *RuleUpdateParams

WithDefaults hydrates default values in the rule update params (not the query body).

All values with no default are reset to their zero value.

func (*RuleUpdateParams) WithHTTPClient

func (o *RuleUpdateParams) WithHTTPClient(client *http.Client) *RuleUpdateParams

WithHTTPClient adds the HTTPClient to the rule update params

func (*RuleUpdateParams) WithID

func (o *RuleUpdateParams) WithID(id string) *RuleUpdateParams

WithID adds the id to the rule update params

func (*RuleUpdateParams) WithText

func (o *RuleUpdateParams) WithText(text string) *RuleUpdateParams

WithText adds the text to the rule update params

func (*RuleUpdateParams) WithTimeout

func (o *RuleUpdateParams) WithTimeout(timeout time.Duration) *RuleUpdateParams

WithTimeout adds the timeout to the rule update params

func (*RuleUpdateParams) WriteToRequest

func (o *RuleUpdateParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type RuleUpdateReader

type RuleUpdateReader struct {
	// contains filtered or unexported fields
}

RuleUpdateReader is a Reader for the RuleUpdate structure.

func (*RuleUpdateReader) ReadResponse

func (o *RuleUpdateReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type RuleUpdateUnauthorized

type RuleUpdateUnauthorized struct {
}

RuleUpdateUnauthorized describes a response with status code 401, with default header values.

unauthorized

func NewRuleUpdateUnauthorized

func NewRuleUpdateUnauthorized() *RuleUpdateUnauthorized

NewRuleUpdateUnauthorized creates a RuleUpdateUnauthorized with default headers values

func (*RuleUpdateUnauthorized) Code

func (o *RuleUpdateUnauthorized) Code() int

Code gets the status code for the rule update unauthorized response

func (*RuleUpdateUnauthorized) Error

func (o *RuleUpdateUnauthorized) Error() string

func (*RuleUpdateUnauthorized) IsClientError

func (o *RuleUpdateUnauthorized) IsClientError() bool

IsClientError returns true when this rule update unauthorized response has a 4xx status code

func (*RuleUpdateUnauthorized) IsCode

func (o *RuleUpdateUnauthorized) IsCode(code int) bool

IsCode returns true when this rule update unauthorized response a status code equal to that given

func (*RuleUpdateUnauthorized) IsRedirect

func (o *RuleUpdateUnauthorized) IsRedirect() bool

IsRedirect returns true when this rule update unauthorized response has a 3xx status code

func (*RuleUpdateUnauthorized) IsServerError

func (o *RuleUpdateUnauthorized) IsServerError() bool

IsServerError returns true when this rule update unauthorized response has a 5xx status code

func (*RuleUpdateUnauthorized) IsSuccess

func (o *RuleUpdateUnauthorized) IsSuccess() bool

IsSuccess returns true when this rule update unauthorized response has a 2xx status code

func (*RuleUpdateUnauthorized) String

func (o *RuleUpdateUnauthorized) String() string

type TestEmailSendAccepted

type TestEmailSendAccepted struct {
}

TestEmailSendAccepted describes a response with status code 202, with default header values.

Test email was sent.

func NewTestEmailSendAccepted

func NewTestEmailSendAccepted() *TestEmailSendAccepted

NewTestEmailSendAccepted creates a TestEmailSendAccepted with default headers values

func (*TestEmailSendAccepted) Code

func (o *TestEmailSendAccepted) Code() int

Code gets the status code for the test email send accepted response

func (*TestEmailSendAccepted) Error

func (o *TestEmailSendAccepted) Error() string

func (*TestEmailSendAccepted) IsClientError

func (o *TestEmailSendAccepted) IsClientError() bool

IsClientError returns true when this test email send accepted response has a 4xx status code

func (*TestEmailSendAccepted) IsCode

func (o *TestEmailSendAccepted) IsCode(code int) bool

IsCode returns true when this test email send accepted response a status code equal to that given

func (*TestEmailSendAccepted) IsRedirect

func (o *TestEmailSendAccepted) IsRedirect() bool

IsRedirect returns true when this test email send accepted response has a 3xx status code

func (*TestEmailSendAccepted) IsServerError

func (o *TestEmailSendAccepted) IsServerError() bool

IsServerError returns true when this test email send accepted response has a 5xx status code

func (*TestEmailSendAccepted) IsSuccess

func (o *TestEmailSendAccepted) IsSuccess() bool

IsSuccess returns true when this test email send accepted response has a 2xx status code

func (*TestEmailSendAccepted) String

func (o *TestEmailSendAccepted) String() string

type TestEmailSendBadRequest

type TestEmailSendBadRequest struct {
}

TestEmailSendBadRequest describes a response with status code 400, with default header values.

bad request

func NewTestEmailSendBadRequest

func NewTestEmailSendBadRequest() *TestEmailSendBadRequest

NewTestEmailSendBadRequest creates a TestEmailSendBadRequest with default headers values

func (*TestEmailSendBadRequest) Code

func (o *TestEmailSendBadRequest) Code() int

Code gets the status code for the test email send bad request response

func (*TestEmailSendBadRequest) Error

func (o *TestEmailSendBadRequest) Error() string

func (*TestEmailSendBadRequest) IsClientError

func (o *TestEmailSendBadRequest) IsClientError() bool

IsClientError returns true when this test email send bad request response has a 4xx status code

func (*TestEmailSendBadRequest) IsCode

func (o *TestEmailSendBadRequest) IsCode(code int) bool

IsCode returns true when this test email send bad request response a status code equal to that given

func (*TestEmailSendBadRequest) IsRedirect

func (o *TestEmailSendBadRequest) IsRedirect() bool

IsRedirect returns true when this test email send bad request response has a 3xx status code

func (*TestEmailSendBadRequest) IsServerError

func (o *TestEmailSendBadRequest) IsServerError() bool

IsServerError returns true when this test email send bad request response has a 5xx status code

func (*TestEmailSendBadRequest) IsSuccess

func (o *TestEmailSendBadRequest) IsSuccess() bool

IsSuccess returns true when this test email send bad request response has a 2xx status code

func (*TestEmailSendBadRequest) String

func (o *TestEmailSendBadRequest) String() string

type TestEmailSendForbidden

type TestEmailSendForbidden struct {
}

TestEmailSendForbidden describes a response with status code 403, with default header values.

forbidden

func NewTestEmailSendForbidden

func NewTestEmailSendForbidden() *TestEmailSendForbidden

NewTestEmailSendForbidden creates a TestEmailSendForbidden with default headers values

func (*TestEmailSendForbidden) Code

func (o *TestEmailSendForbidden) Code() int

Code gets the status code for the test email send forbidden response

func (*TestEmailSendForbidden) Error

func (o *TestEmailSendForbidden) Error() string

func (*TestEmailSendForbidden) IsClientError

func (o *TestEmailSendForbidden) IsClientError() bool

IsClientError returns true when this test email send forbidden response has a 4xx status code

func (*TestEmailSendForbidden) IsCode

func (o *TestEmailSendForbidden) IsCode(code int) bool

IsCode returns true when this test email send forbidden response a status code equal to that given

func (*TestEmailSendForbidden) IsRedirect

func (o *TestEmailSendForbidden) IsRedirect() bool

IsRedirect returns true when this test email send forbidden response has a 3xx status code

func (*TestEmailSendForbidden) IsServerError

func (o *TestEmailSendForbidden) IsServerError() bool

IsServerError returns true when this test email send forbidden response has a 5xx status code

func (*TestEmailSendForbidden) IsSuccess

func (o *TestEmailSendForbidden) IsSuccess() bool

IsSuccess returns true when this test email send forbidden response has a 2xx status code

func (*TestEmailSendForbidden) String

func (o *TestEmailSendForbidden) String() string

type TestEmailSendInternalServerError

type TestEmailSendInternalServerError struct {
}

TestEmailSendInternalServerError describes a response with status code 500, with default header values.

internal server error

func NewTestEmailSendInternalServerError

func NewTestEmailSendInternalServerError() *TestEmailSendInternalServerError

NewTestEmailSendInternalServerError creates a TestEmailSendInternalServerError with default headers values

func (*TestEmailSendInternalServerError) Code

Code gets the status code for the test email send internal server error response

func (*TestEmailSendInternalServerError) Error

func (*TestEmailSendInternalServerError) IsClientError

func (o *TestEmailSendInternalServerError) IsClientError() bool

IsClientError returns true when this test email send internal server error response has a 4xx status code

func (*TestEmailSendInternalServerError) IsCode

func (o *TestEmailSendInternalServerError) IsCode(code int) bool

IsCode returns true when this test email send internal server error response a status code equal to that given

func (*TestEmailSendInternalServerError) IsRedirect

func (o *TestEmailSendInternalServerError) IsRedirect() bool

IsRedirect returns true when this test email send internal server error response has a 3xx status code

func (*TestEmailSendInternalServerError) IsServerError

func (o *TestEmailSendInternalServerError) IsServerError() bool

IsServerError returns true when this test email send internal server error response has a 5xx status code

func (*TestEmailSendInternalServerError) IsSuccess

func (o *TestEmailSendInternalServerError) IsSuccess() bool

IsSuccess returns true when this test email send internal server error response has a 2xx status code

func (*TestEmailSendInternalServerError) String

type TestEmailSendNotAcceptable

type TestEmailSendNotAcceptable struct {
}

TestEmailSendNotAcceptable describes a response with status code 406, with default header values.

not acceptable

func NewTestEmailSendNotAcceptable

func NewTestEmailSendNotAcceptable() *TestEmailSendNotAcceptable

NewTestEmailSendNotAcceptable creates a TestEmailSendNotAcceptable with default headers values

func (*TestEmailSendNotAcceptable) Code

func (o *TestEmailSendNotAcceptable) Code() int

Code gets the status code for the test email send not acceptable response

func (*TestEmailSendNotAcceptable) Error

func (*TestEmailSendNotAcceptable) IsClientError

func (o *TestEmailSendNotAcceptable) IsClientError() bool

IsClientError returns true when this test email send not acceptable response has a 4xx status code

func (*TestEmailSendNotAcceptable) IsCode

func (o *TestEmailSendNotAcceptable) IsCode(code int) bool

IsCode returns true when this test email send not acceptable response a status code equal to that given

func (*TestEmailSendNotAcceptable) IsRedirect

func (o *TestEmailSendNotAcceptable) IsRedirect() bool

IsRedirect returns true when this test email send not acceptable response has a 3xx status code

func (*TestEmailSendNotAcceptable) IsServerError

func (o *TestEmailSendNotAcceptable) IsServerError() bool

IsServerError returns true when this test email send not acceptable response has a 5xx status code

func (*TestEmailSendNotAcceptable) IsSuccess

func (o *TestEmailSendNotAcceptable) IsSuccess() bool

IsSuccess returns true when this test email send not acceptable response has a 2xx status code

func (*TestEmailSendNotAcceptable) String

func (o *TestEmailSendNotAcceptable) String() string

type TestEmailSendNotFound

type TestEmailSendNotFound struct {
}

TestEmailSendNotFound describes a response with status code 404, with default header values.

not found

func NewTestEmailSendNotFound

func NewTestEmailSendNotFound() *TestEmailSendNotFound

NewTestEmailSendNotFound creates a TestEmailSendNotFound with default headers values

func (*TestEmailSendNotFound) Code

func (o *TestEmailSendNotFound) Code() int

Code gets the status code for the test email send not found response

func (*TestEmailSendNotFound) Error

func (o *TestEmailSendNotFound) Error() string

func (*TestEmailSendNotFound) IsClientError

func (o *TestEmailSendNotFound) IsClientError() bool

IsClientError returns true when this test email send not found response has a 4xx status code

func (*TestEmailSendNotFound) IsCode

func (o *TestEmailSendNotFound) IsCode(code int) bool

IsCode returns true when this test email send not found response a status code equal to that given

func (*TestEmailSendNotFound) IsRedirect

func (o *TestEmailSendNotFound) IsRedirect() bool

IsRedirect returns true when this test email send not found response has a 3xx status code

func (*TestEmailSendNotFound) IsServerError

func (o *TestEmailSendNotFound) IsServerError() bool

IsServerError returns true when this test email send not found response has a 5xx status code

func (*TestEmailSendNotFound) IsSuccess

func (o *TestEmailSendNotFound) IsSuccess() bool

IsSuccess returns true when this test email send not found response has a 2xx status code

func (*TestEmailSendNotFound) String

func (o *TestEmailSendNotFound) String() string

type TestEmailSendParams

type TestEmailSendParams struct {

	/* Email.

	   The email address that the test email should be sent to.
	*/
	Email string

	/* Message.

	   Optional message to include in the email.
	*/
	Message *string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

TestEmailSendParams contains all the parameters to send to the API endpoint

for the test email send operation.

Typically these are written to a http.Request.

func NewTestEmailSendParams

func NewTestEmailSendParams() *TestEmailSendParams

NewTestEmailSendParams creates a new TestEmailSendParams 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 NewTestEmailSendParamsWithContext

func NewTestEmailSendParamsWithContext(ctx context.Context) *TestEmailSendParams

NewTestEmailSendParamsWithContext creates a new TestEmailSendParams object with the ability to set a context for a request.

func NewTestEmailSendParamsWithHTTPClient

func NewTestEmailSendParamsWithHTTPClient(client *http.Client) *TestEmailSendParams

NewTestEmailSendParamsWithHTTPClient creates a new TestEmailSendParams object with the ability to set a custom HTTPClient for a request.

func NewTestEmailSendParamsWithTimeout

func NewTestEmailSendParamsWithTimeout(timeout time.Duration) *TestEmailSendParams

NewTestEmailSendParamsWithTimeout creates a new TestEmailSendParams object with the ability to set a timeout on a request.

func (*TestEmailSendParams) SetContext

func (o *TestEmailSendParams) SetContext(ctx context.Context)

SetContext adds the context to the test email send params

func (*TestEmailSendParams) SetDefaults

func (o *TestEmailSendParams) SetDefaults()

SetDefaults hydrates default values in the test email send params (not the query body).

All values with no default are reset to their zero value.

func (*TestEmailSendParams) SetEmail

func (o *TestEmailSendParams) SetEmail(email string)

SetEmail adds the email to the test email send params

func (*TestEmailSendParams) SetHTTPClient

func (o *TestEmailSendParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the test email send params

func (*TestEmailSendParams) SetMessage

func (o *TestEmailSendParams) SetMessage(message *string)

SetMessage adds the message to the test email send params

func (*TestEmailSendParams) SetTimeout

func (o *TestEmailSendParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the test email send params

func (*TestEmailSendParams) WithContext

WithContext adds the context to the test email send params

func (*TestEmailSendParams) WithDefaults

func (o *TestEmailSendParams) WithDefaults() *TestEmailSendParams

WithDefaults hydrates default values in the test email send params (not the query body).

All values with no default are reset to their zero value.

func (*TestEmailSendParams) WithEmail

func (o *TestEmailSendParams) WithEmail(email string) *TestEmailSendParams

WithEmail adds the email to the test email send params

func (*TestEmailSendParams) WithHTTPClient

func (o *TestEmailSendParams) WithHTTPClient(client *http.Client) *TestEmailSendParams

WithHTTPClient adds the HTTPClient to the test email send params

func (*TestEmailSendParams) WithMessage

func (o *TestEmailSendParams) WithMessage(message *string) *TestEmailSendParams

WithMessage adds the message to the test email send params

func (*TestEmailSendParams) WithTimeout

func (o *TestEmailSendParams) WithTimeout(timeout time.Duration) *TestEmailSendParams

WithTimeout adds the timeout to the test email send params

func (*TestEmailSendParams) WriteToRequest

func (o *TestEmailSendParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type TestEmailSendReader

type TestEmailSendReader struct {
	// contains filtered or unexported fields
}

TestEmailSendReader is a Reader for the TestEmailSend structure.

func (*TestEmailSendReader) ReadResponse

func (o *TestEmailSendReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type TestEmailSendUnauthorized

type TestEmailSendUnauthorized struct {
}

TestEmailSendUnauthorized describes a response with status code 401, with default header values.

unauthorized

func NewTestEmailSendUnauthorized

func NewTestEmailSendUnauthorized() *TestEmailSendUnauthorized

NewTestEmailSendUnauthorized creates a TestEmailSendUnauthorized with default headers values

func (*TestEmailSendUnauthorized) Code

func (o *TestEmailSendUnauthorized) Code() int

Code gets the status code for the test email send unauthorized response

func (*TestEmailSendUnauthorized) Error

func (o *TestEmailSendUnauthorized) Error() string

func (*TestEmailSendUnauthorized) IsClientError

func (o *TestEmailSendUnauthorized) IsClientError() bool

IsClientError returns true when this test email send unauthorized response has a 4xx status code

func (*TestEmailSendUnauthorized) IsCode

func (o *TestEmailSendUnauthorized) IsCode(code int) bool

IsCode returns true when this test email send unauthorized response a status code equal to that given

func (*TestEmailSendUnauthorized) IsRedirect

func (o *TestEmailSendUnauthorized) IsRedirect() bool

IsRedirect returns true when this test email send unauthorized response has a 3xx status code

func (*TestEmailSendUnauthorized) IsServerError

func (o *TestEmailSendUnauthorized) IsServerError() bool

IsServerError returns true when this test email send unauthorized response has a 5xx status code

func (*TestEmailSendUnauthorized) IsSuccess

func (o *TestEmailSendUnauthorized) IsSuccess() bool

IsSuccess returns true when this test email send unauthorized response has a 2xx status code

func (*TestEmailSendUnauthorized) String

func (o *TestEmailSendUnauthorized) String() string

type TestEmailSendUnprocessableEntity

type TestEmailSendUnprocessableEntity struct {
}

TestEmailSendUnprocessableEntity describes a response with status code 422, with default header values.

An smtp occurred while the email attempt was in progress. Check the returned json for more information. The smtp error will be included, to help you debug communication with the smtp server.

func NewTestEmailSendUnprocessableEntity

func NewTestEmailSendUnprocessableEntity() *TestEmailSendUnprocessableEntity

NewTestEmailSendUnprocessableEntity creates a TestEmailSendUnprocessableEntity with default headers values

func (*TestEmailSendUnprocessableEntity) Code

Code gets the status code for the test email send unprocessable entity response

func (*TestEmailSendUnprocessableEntity) Error

func (*TestEmailSendUnprocessableEntity) IsClientError

func (o *TestEmailSendUnprocessableEntity) IsClientError() bool

IsClientError returns true when this test email send unprocessable entity response has a 4xx status code

func (*TestEmailSendUnprocessableEntity) IsCode

func (o *TestEmailSendUnprocessableEntity) IsCode(code int) bool

IsCode returns true when this test email send unprocessable entity response a status code equal to that given

func (*TestEmailSendUnprocessableEntity) IsRedirect

func (o *TestEmailSendUnprocessableEntity) IsRedirect() bool

IsRedirect returns true when this test email send unprocessable entity response has a 3xx status code

func (*TestEmailSendUnprocessableEntity) IsServerError

func (o *TestEmailSendUnprocessableEntity) IsServerError() bool

IsServerError returns true when this test email send unprocessable entity response has a 5xx status code

func (*TestEmailSendUnprocessableEntity) IsSuccess

func (o *TestEmailSendUnprocessableEntity) IsSuccess() bool

IsSuccess returns true when this test email send unprocessable entity response has a 2xx status code

func (*TestEmailSendUnprocessableEntity) String

Source Files

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL