admin

package
v0.0.0-...-078138e Latest Latest
Warning

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

Go to latest
Published: Aug 4, 2024 License: MIT 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 WithContentTypeTextPlain

func WithContentTypeTextPlain(r *runtime.ClientOperation)

WithContentTypeTextPlain sets the Content-Type header to "text/plain".

Types

type AdminAddUserBadgesForbidden

type AdminAddUserBadgesForbidden struct {
	Message string
	URL     string
}

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

APIForbiddenError is a forbidden error response

func NewAdminAddUserBadgesForbidden

func NewAdminAddUserBadgesForbidden() *AdminAddUserBadgesForbidden

NewAdminAddUserBadgesForbidden creates a AdminAddUserBadgesForbidden with default headers values

func (*AdminAddUserBadgesForbidden) Code

func (o *AdminAddUserBadgesForbidden) Code() int

Code gets the status code for the admin add user badges forbidden response

func (*AdminAddUserBadgesForbidden) Error

func (*AdminAddUserBadgesForbidden) IsClientError

func (o *AdminAddUserBadgesForbidden) IsClientError() bool

IsClientError returns true when this admin add user badges forbidden response has a 4xx status code

func (*AdminAddUserBadgesForbidden) IsCode

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

IsCode returns true when this admin add user badges forbidden response a status code equal to that given

func (*AdminAddUserBadgesForbidden) IsRedirect

func (o *AdminAddUserBadgesForbidden) IsRedirect() bool

IsRedirect returns true when this admin add user badges forbidden response has a 3xx status code

func (*AdminAddUserBadgesForbidden) IsServerError

func (o *AdminAddUserBadgesForbidden) IsServerError() bool

IsServerError returns true when this admin add user badges forbidden response has a 5xx status code

func (*AdminAddUserBadgesForbidden) IsSuccess

func (o *AdminAddUserBadgesForbidden) IsSuccess() bool

IsSuccess returns true when this admin add user badges forbidden response has a 2xx status code

func (*AdminAddUserBadgesForbidden) String

func (o *AdminAddUserBadgesForbidden) String() string

type AdminAddUserBadgesNoContent

type AdminAddUserBadgesNoContent struct {
}

AdminAddUserBadgesNoContent describes a response with status code 204, with default header values.

APIEmpty is an empty response

func NewAdminAddUserBadgesNoContent

func NewAdminAddUserBadgesNoContent() *AdminAddUserBadgesNoContent

NewAdminAddUserBadgesNoContent creates a AdminAddUserBadgesNoContent with default headers values

func (*AdminAddUserBadgesNoContent) Code

func (o *AdminAddUserBadgesNoContent) Code() int

Code gets the status code for the admin add user badges no content response

func (*AdminAddUserBadgesNoContent) Error

func (*AdminAddUserBadgesNoContent) IsClientError

func (o *AdminAddUserBadgesNoContent) IsClientError() bool

IsClientError returns true when this admin add user badges no content response has a 4xx status code

func (*AdminAddUserBadgesNoContent) IsCode

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

IsCode returns true when this admin add user badges no content response a status code equal to that given

func (*AdminAddUserBadgesNoContent) IsRedirect

func (o *AdminAddUserBadgesNoContent) IsRedirect() bool

IsRedirect returns true when this admin add user badges no content response has a 3xx status code

func (*AdminAddUserBadgesNoContent) IsServerError

func (o *AdminAddUserBadgesNoContent) IsServerError() bool

IsServerError returns true when this admin add user badges no content response has a 5xx status code

func (*AdminAddUserBadgesNoContent) IsSuccess

func (o *AdminAddUserBadgesNoContent) IsSuccess() bool

IsSuccess returns true when this admin add user badges no content response has a 2xx status code

func (*AdminAddUserBadgesNoContent) String

func (o *AdminAddUserBadgesNoContent) String() string

type AdminAddUserBadgesParams

type AdminAddUserBadgesParams struct {

	// Body.
	Body *models.UserBadgeOption

	/* Username.

	   username of user
	*/
	Username string

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

AdminAddUserBadgesParams contains all the parameters to send to the API endpoint

for the admin add user badges operation.

Typically these are written to a http.Request.

func NewAdminAddUserBadgesParams

func NewAdminAddUserBadgesParams() *AdminAddUserBadgesParams

NewAdminAddUserBadgesParams creates a new AdminAddUserBadgesParams 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 NewAdminAddUserBadgesParamsWithContext

func NewAdminAddUserBadgesParamsWithContext(ctx context.Context) *AdminAddUserBadgesParams

NewAdminAddUserBadgesParamsWithContext creates a new AdminAddUserBadgesParams object with the ability to set a context for a request.

func NewAdminAddUserBadgesParamsWithHTTPClient

func NewAdminAddUserBadgesParamsWithHTTPClient(client *http.Client) *AdminAddUserBadgesParams

NewAdminAddUserBadgesParamsWithHTTPClient creates a new AdminAddUserBadgesParams object with the ability to set a custom HTTPClient for a request.

func NewAdminAddUserBadgesParamsWithTimeout

func NewAdminAddUserBadgesParamsWithTimeout(timeout time.Duration) *AdminAddUserBadgesParams

NewAdminAddUserBadgesParamsWithTimeout creates a new AdminAddUserBadgesParams object with the ability to set a timeout on a request.

func (*AdminAddUserBadgesParams) SetBody

SetBody adds the body to the admin add user badges params

func (*AdminAddUserBadgesParams) SetContext

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

SetContext adds the context to the admin add user badges params

func (*AdminAddUserBadgesParams) SetDefaults

func (o *AdminAddUserBadgesParams) SetDefaults()

SetDefaults hydrates default values in the admin add user badges params (not the query body).

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

func (*AdminAddUserBadgesParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the admin add user badges params

func (*AdminAddUserBadgesParams) SetTimeout

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

SetTimeout adds the timeout to the admin add user badges params

func (*AdminAddUserBadgesParams) SetUsername

func (o *AdminAddUserBadgesParams) SetUsername(username string)

SetUsername adds the username to the admin add user badges params

func (*AdminAddUserBadgesParams) WithBody

WithBody adds the body to the admin add user badges params

func (*AdminAddUserBadgesParams) WithContext

WithContext adds the context to the admin add user badges params

func (*AdminAddUserBadgesParams) WithDefaults

WithDefaults hydrates default values in the admin add user badges params (not the query body).

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

func (*AdminAddUserBadgesParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the admin add user badges params

func (*AdminAddUserBadgesParams) WithTimeout

WithTimeout adds the timeout to the admin add user badges params

func (*AdminAddUserBadgesParams) WithUsername

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

WithUsername adds the username to the admin add user badges params

func (*AdminAddUserBadgesParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type AdminAddUserBadgesReader

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

AdminAddUserBadgesReader is a Reader for the AdminAddUserBadges structure.

func (*AdminAddUserBadgesReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type AdminAdoptRepositoryForbidden

type AdminAdoptRepositoryForbidden struct {
	Message string
	URL     string
}

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

APIForbiddenError is a forbidden error response

func NewAdminAdoptRepositoryForbidden

func NewAdminAdoptRepositoryForbidden() *AdminAdoptRepositoryForbidden

NewAdminAdoptRepositoryForbidden creates a AdminAdoptRepositoryForbidden with default headers values

func (*AdminAdoptRepositoryForbidden) Code

Code gets the status code for the admin adopt repository forbidden response

func (*AdminAdoptRepositoryForbidden) Error

func (*AdminAdoptRepositoryForbidden) IsClientError

func (o *AdminAdoptRepositoryForbidden) IsClientError() bool

IsClientError returns true when this admin adopt repository forbidden response has a 4xx status code

func (*AdminAdoptRepositoryForbidden) IsCode

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

IsCode returns true when this admin adopt repository forbidden response a status code equal to that given

func (*AdminAdoptRepositoryForbidden) IsRedirect

func (o *AdminAdoptRepositoryForbidden) IsRedirect() bool

IsRedirect returns true when this admin adopt repository forbidden response has a 3xx status code

func (*AdminAdoptRepositoryForbidden) IsServerError

func (o *AdminAdoptRepositoryForbidden) IsServerError() bool

IsServerError returns true when this admin adopt repository forbidden response has a 5xx status code

func (*AdminAdoptRepositoryForbidden) IsSuccess

func (o *AdminAdoptRepositoryForbidden) IsSuccess() bool

IsSuccess returns true when this admin adopt repository forbidden response has a 2xx status code

func (*AdminAdoptRepositoryForbidden) String

type AdminAdoptRepositoryNoContent

type AdminAdoptRepositoryNoContent struct {
}

AdminAdoptRepositoryNoContent describes a response with status code 204, with default header values.

APIEmpty is an empty response

func NewAdminAdoptRepositoryNoContent

func NewAdminAdoptRepositoryNoContent() *AdminAdoptRepositoryNoContent

NewAdminAdoptRepositoryNoContent creates a AdminAdoptRepositoryNoContent with default headers values

func (*AdminAdoptRepositoryNoContent) Code

Code gets the status code for the admin adopt repository no content response

func (*AdminAdoptRepositoryNoContent) Error

func (*AdminAdoptRepositoryNoContent) IsClientError

func (o *AdminAdoptRepositoryNoContent) IsClientError() bool

IsClientError returns true when this admin adopt repository no content response has a 4xx status code

func (*AdminAdoptRepositoryNoContent) IsCode

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

IsCode returns true when this admin adopt repository no content response a status code equal to that given

func (*AdminAdoptRepositoryNoContent) IsRedirect

func (o *AdminAdoptRepositoryNoContent) IsRedirect() bool

IsRedirect returns true when this admin adopt repository no content response has a 3xx status code

func (*AdminAdoptRepositoryNoContent) IsServerError

func (o *AdminAdoptRepositoryNoContent) IsServerError() bool

IsServerError returns true when this admin adopt repository no content response has a 5xx status code

func (*AdminAdoptRepositoryNoContent) IsSuccess

func (o *AdminAdoptRepositoryNoContent) IsSuccess() bool

IsSuccess returns true when this admin adopt repository no content response has a 2xx status code

func (*AdminAdoptRepositoryNoContent) String

type AdminAdoptRepositoryNotFound

type AdminAdoptRepositoryNotFound struct {
}

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

APINotFound is a not found empty response

func NewAdminAdoptRepositoryNotFound

func NewAdminAdoptRepositoryNotFound() *AdminAdoptRepositoryNotFound

NewAdminAdoptRepositoryNotFound creates a AdminAdoptRepositoryNotFound with default headers values

func (*AdminAdoptRepositoryNotFound) Code

Code gets the status code for the admin adopt repository not found response

func (*AdminAdoptRepositoryNotFound) Error

func (*AdminAdoptRepositoryNotFound) IsClientError

func (o *AdminAdoptRepositoryNotFound) IsClientError() bool

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

func (*AdminAdoptRepositoryNotFound) IsCode

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

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

func (*AdminAdoptRepositoryNotFound) IsRedirect

func (o *AdminAdoptRepositoryNotFound) IsRedirect() bool

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

func (*AdminAdoptRepositoryNotFound) IsServerError

func (o *AdminAdoptRepositoryNotFound) IsServerError() bool

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

func (*AdminAdoptRepositoryNotFound) IsSuccess

func (o *AdminAdoptRepositoryNotFound) IsSuccess() bool

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

func (*AdminAdoptRepositoryNotFound) String

type AdminAdoptRepositoryParams

type AdminAdoptRepositoryParams struct {

	/* Owner.

	   owner of the repo
	*/
	Owner string

	/* Repo.

	   name of the repo
	*/
	Repo string

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

AdminAdoptRepositoryParams contains all the parameters to send to the API endpoint

for the admin adopt repository operation.

Typically these are written to a http.Request.

func NewAdminAdoptRepositoryParams

func NewAdminAdoptRepositoryParams() *AdminAdoptRepositoryParams

NewAdminAdoptRepositoryParams creates a new AdminAdoptRepositoryParams 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 NewAdminAdoptRepositoryParamsWithContext

func NewAdminAdoptRepositoryParamsWithContext(ctx context.Context) *AdminAdoptRepositoryParams

NewAdminAdoptRepositoryParamsWithContext creates a new AdminAdoptRepositoryParams object with the ability to set a context for a request.

func NewAdminAdoptRepositoryParamsWithHTTPClient

func NewAdminAdoptRepositoryParamsWithHTTPClient(client *http.Client) *AdminAdoptRepositoryParams

NewAdminAdoptRepositoryParamsWithHTTPClient creates a new AdminAdoptRepositoryParams object with the ability to set a custom HTTPClient for a request.

func NewAdminAdoptRepositoryParamsWithTimeout

func NewAdminAdoptRepositoryParamsWithTimeout(timeout time.Duration) *AdminAdoptRepositoryParams

NewAdminAdoptRepositoryParamsWithTimeout creates a new AdminAdoptRepositoryParams object with the ability to set a timeout on a request.

func (*AdminAdoptRepositoryParams) SetContext

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

SetContext adds the context to the admin adopt repository params

func (*AdminAdoptRepositoryParams) SetDefaults

func (o *AdminAdoptRepositoryParams) SetDefaults()

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

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

func (*AdminAdoptRepositoryParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the admin adopt repository params

func (*AdminAdoptRepositoryParams) SetOwner

func (o *AdminAdoptRepositoryParams) SetOwner(owner string)

SetOwner adds the owner to the admin adopt repository params

func (*AdminAdoptRepositoryParams) SetRepo

func (o *AdminAdoptRepositoryParams) SetRepo(repo string)

SetRepo adds the repo to the admin adopt repository params

func (*AdminAdoptRepositoryParams) SetTimeout

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

SetTimeout adds the timeout to the admin adopt repository params

func (*AdminAdoptRepositoryParams) WithContext

WithContext adds the context to the admin adopt repository params

func (*AdminAdoptRepositoryParams) WithDefaults

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

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

func (*AdminAdoptRepositoryParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the admin adopt repository params

func (*AdminAdoptRepositoryParams) WithOwner

WithOwner adds the owner to the admin adopt repository params

func (*AdminAdoptRepositoryParams) WithRepo

WithRepo adds the repo to the admin adopt repository params

func (*AdminAdoptRepositoryParams) WithTimeout

WithTimeout adds the timeout to the admin adopt repository params

func (*AdminAdoptRepositoryParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type AdminAdoptRepositoryReader

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

AdminAdoptRepositoryReader is a Reader for the AdminAdoptRepository structure.

func (*AdminAdoptRepositoryReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type AdminCreateHookCreated

type AdminCreateHookCreated struct {
	Payload *models.Hook
}

AdminCreateHookCreated describes a response with status code 201, with default header values.

Hook

func NewAdminCreateHookCreated

func NewAdminCreateHookCreated() *AdminCreateHookCreated

NewAdminCreateHookCreated creates a AdminCreateHookCreated with default headers values

func (*AdminCreateHookCreated) Code

func (o *AdminCreateHookCreated) Code() int

Code gets the status code for the admin create hook created response

func (*AdminCreateHookCreated) Error

func (o *AdminCreateHookCreated) Error() string

func (*AdminCreateHookCreated) GetPayload

func (o *AdminCreateHookCreated) GetPayload() *models.Hook

func (*AdminCreateHookCreated) IsClientError

func (o *AdminCreateHookCreated) IsClientError() bool

IsClientError returns true when this admin create hook created response has a 4xx status code

func (*AdminCreateHookCreated) IsCode

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

IsCode returns true when this admin create hook created response a status code equal to that given

func (*AdminCreateHookCreated) IsRedirect

func (o *AdminCreateHookCreated) IsRedirect() bool

IsRedirect returns true when this admin create hook created response has a 3xx status code

func (*AdminCreateHookCreated) IsServerError

func (o *AdminCreateHookCreated) IsServerError() bool

IsServerError returns true when this admin create hook created response has a 5xx status code

func (*AdminCreateHookCreated) IsSuccess

func (o *AdminCreateHookCreated) IsSuccess() bool

IsSuccess returns true when this admin create hook created response has a 2xx status code

func (*AdminCreateHookCreated) String

func (o *AdminCreateHookCreated) String() string

type AdminCreateHookParams

type AdminCreateHookParams struct {

	// Body.
	Body *models.CreateHookOption

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

AdminCreateHookParams contains all the parameters to send to the API endpoint

for the admin create hook operation.

Typically these are written to a http.Request.

func NewAdminCreateHookParams

func NewAdminCreateHookParams() *AdminCreateHookParams

NewAdminCreateHookParams creates a new AdminCreateHookParams 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 NewAdminCreateHookParamsWithContext

func NewAdminCreateHookParamsWithContext(ctx context.Context) *AdminCreateHookParams

NewAdminCreateHookParamsWithContext creates a new AdminCreateHookParams object with the ability to set a context for a request.

func NewAdminCreateHookParamsWithHTTPClient

func NewAdminCreateHookParamsWithHTTPClient(client *http.Client) *AdminCreateHookParams

NewAdminCreateHookParamsWithHTTPClient creates a new AdminCreateHookParams object with the ability to set a custom HTTPClient for a request.

func NewAdminCreateHookParamsWithTimeout

func NewAdminCreateHookParamsWithTimeout(timeout time.Duration) *AdminCreateHookParams

NewAdminCreateHookParamsWithTimeout creates a new AdminCreateHookParams object with the ability to set a timeout on a request.

func (*AdminCreateHookParams) SetBody

func (o *AdminCreateHookParams) SetBody(body *models.CreateHookOption)

SetBody adds the body to the admin create hook params

func (*AdminCreateHookParams) SetContext

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

SetContext adds the context to the admin create hook params

func (*AdminCreateHookParams) SetDefaults

func (o *AdminCreateHookParams) SetDefaults()

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

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

func (*AdminCreateHookParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the admin create hook params

func (*AdminCreateHookParams) SetTimeout

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

SetTimeout adds the timeout to the admin create hook params

func (*AdminCreateHookParams) WithBody

WithBody adds the body to the admin create hook params

func (*AdminCreateHookParams) WithContext

WithContext adds the context to the admin create hook params

func (*AdminCreateHookParams) WithDefaults

func (o *AdminCreateHookParams) WithDefaults() *AdminCreateHookParams

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

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

func (*AdminCreateHookParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the admin create hook params

func (*AdminCreateHookParams) WithTimeout

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

WithTimeout adds the timeout to the admin create hook params

func (*AdminCreateHookParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type AdminCreateHookReader

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

AdminCreateHookReader is a Reader for the AdminCreateHook structure.

func (*AdminCreateHookReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type AdminCreateOrgCreated

type AdminCreateOrgCreated struct {
	Payload *models.Organization
}

AdminCreateOrgCreated describes a response with status code 201, with default header values.

Organization

func NewAdminCreateOrgCreated

func NewAdminCreateOrgCreated() *AdminCreateOrgCreated

NewAdminCreateOrgCreated creates a AdminCreateOrgCreated with default headers values

func (*AdminCreateOrgCreated) Code

func (o *AdminCreateOrgCreated) Code() int

Code gets the status code for the admin create org created response

func (*AdminCreateOrgCreated) Error

func (o *AdminCreateOrgCreated) Error() string

func (*AdminCreateOrgCreated) GetPayload

func (o *AdminCreateOrgCreated) GetPayload() *models.Organization

func (*AdminCreateOrgCreated) IsClientError

func (o *AdminCreateOrgCreated) IsClientError() bool

IsClientError returns true when this admin create org created response has a 4xx status code

func (*AdminCreateOrgCreated) IsCode

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

IsCode returns true when this admin create org created response a status code equal to that given

func (*AdminCreateOrgCreated) IsRedirect

func (o *AdminCreateOrgCreated) IsRedirect() bool

IsRedirect returns true when this admin create org created response has a 3xx status code

func (*AdminCreateOrgCreated) IsServerError

func (o *AdminCreateOrgCreated) IsServerError() bool

IsServerError returns true when this admin create org created response has a 5xx status code

func (*AdminCreateOrgCreated) IsSuccess

func (o *AdminCreateOrgCreated) IsSuccess() bool

IsSuccess returns true when this admin create org created response has a 2xx status code

func (*AdminCreateOrgCreated) String

func (o *AdminCreateOrgCreated) String() string

type AdminCreateOrgForbidden

type AdminCreateOrgForbidden struct {
	Message string
	URL     string
}

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

APIForbiddenError is a forbidden error response

func NewAdminCreateOrgForbidden

func NewAdminCreateOrgForbidden() *AdminCreateOrgForbidden

NewAdminCreateOrgForbidden creates a AdminCreateOrgForbidden with default headers values

func (*AdminCreateOrgForbidden) Code

func (o *AdminCreateOrgForbidden) Code() int

Code gets the status code for the admin create org forbidden response

func (*AdminCreateOrgForbidden) Error

func (o *AdminCreateOrgForbidden) Error() string

func (*AdminCreateOrgForbidden) IsClientError

func (o *AdminCreateOrgForbidden) IsClientError() bool

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

func (*AdminCreateOrgForbidden) IsCode

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

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

func (*AdminCreateOrgForbidden) IsRedirect

func (o *AdminCreateOrgForbidden) IsRedirect() bool

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

func (*AdminCreateOrgForbidden) IsServerError

func (o *AdminCreateOrgForbidden) IsServerError() bool

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

func (*AdminCreateOrgForbidden) IsSuccess

func (o *AdminCreateOrgForbidden) IsSuccess() bool

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

func (*AdminCreateOrgForbidden) String

func (o *AdminCreateOrgForbidden) String() string

type AdminCreateOrgParams

type AdminCreateOrgParams struct {

	// Organization.
	Organization *models.CreateOrgOption

	/* Username.

	   username of the user that will own the created organization
	*/
	Username string

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

AdminCreateOrgParams contains all the parameters to send to the API endpoint

for the admin create org operation.

Typically these are written to a http.Request.

func NewAdminCreateOrgParams

func NewAdminCreateOrgParams() *AdminCreateOrgParams

NewAdminCreateOrgParams creates a new AdminCreateOrgParams 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 NewAdminCreateOrgParamsWithContext

func NewAdminCreateOrgParamsWithContext(ctx context.Context) *AdminCreateOrgParams

NewAdminCreateOrgParamsWithContext creates a new AdminCreateOrgParams object with the ability to set a context for a request.

func NewAdminCreateOrgParamsWithHTTPClient

func NewAdminCreateOrgParamsWithHTTPClient(client *http.Client) *AdminCreateOrgParams

NewAdminCreateOrgParamsWithHTTPClient creates a new AdminCreateOrgParams object with the ability to set a custom HTTPClient for a request.

func NewAdminCreateOrgParamsWithTimeout

func NewAdminCreateOrgParamsWithTimeout(timeout time.Duration) *AdminCreateOrgParams

NewAdminCreateOrgParamsWithTimeout creates a new AdminCreateOrgParams object with the ability to set a timeout on a request.

func (*AdminCreateOrgParams) SetContext

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

SetContext adds the context to the admin create org params

func (*AdminCreateOrgParams) SetDefaults

func (o *AdminCreateOrgParams) SetDefaults()

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

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

func (*AdminCreateOrgParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the admin create org params

func (*AdminCreateOrgParams) SetOrganization

func (o *AdminCreateOrgParams) SetOrganization(organization *models.CreateOrgOption)

SetOrganization adds the organization to the admin create org params

func (*AdminCreateOrgParams) SetTimeout

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

SetTimeout adds the timeout to the admin create org params

func (*AdminCreateOrgParams) SetUsername

func (o *AdminCreateOrgParams) SetUsername(username string)

SetUsername adds the username to the admin create org params

func (*AdminCreateOrgParams) WithContext

WithContext adds the context to the admin create org params

func (*AdminCreateOrgParams) WithDefaults

func (o *AdminCreateOrgParams) WithDefaults() *AdminCreateOrgParams

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

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

func (*AdminCreateOrgParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the admin create org params

func (*AdminCreateOrgParams) WithOrganization

func (o *AdminCreateOrgParams) WithOrganization(organization *models.CreateOrgOption) *AdminCreateOrgParams

WithOrganization adds the organization to the admin create org params

func (*AdminCreateOrgParams) WithTimeout

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

WithTimeout adds the timeout to the admin create org params

func (*AdminCreateOrgParams) WithUsername

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

WithUsername adds the username to the admin create org params

func (*AdminCreateOrgParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type AdminCreateOrgReader

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

AdminCreateOrgReader is a Reader for the AdminCreateOrg structure.

func (*AdminCreateOrgReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type AdminCreateOrgUnprocessableEntity

type AdminCreateOrgUnprocessableEntity struct {
	Message string
	URL     string
}

AdminCreateOrgUnprocessableEntity describes a response with status code 422, with default header values.

APIValidationError is error format response related to input validation

func NewAdminCreateOrgUnprocessableEntity

func NewAdminCreateOrgUnprocessableEntity() *AdminCreateOrgUnprocessableEntity

NewAdminCreateOrgUnprocessableEntity creates a AdminCreateOrgUnprocessableEntity with default headers values

func (*AdminCreateOrgUnprocessableEntity) Code

Code gets the status code for the admin create org unprocessable entity response

func (*AdminCreateOrgUnprocessableEntity) Error

func (*AdminCreateOrgUnprocessableEntity) IsClientError

func (o *AdminCreateOrgUnprocessableEntity) IsClientError() bool

IsClientError returns true when this admin create org unprocessable entity response has a 4xx status code

func (*AdminCreateOrgUnprocessableEntity) IsCode

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

IsCode returns true when this admin create org unprocessable entity response a status code equal to that given

func (*AdminCreateOrgUnprocessableEntity) IsRedirect

func (o *AdminCreateOrgUnprocessableEntity) IsRedirect() bool

IsRedirect returns true when this admin create org unprocessable entity response has a 3xx status code

func (*AdminCreateOrgUnprocessableEntity) IsServerError

func (o *AdminCreateOrgUnprocessableEntity) IsServerError() bool

IsServerError returns true when this admin create org unprocessable entity response has a 5xx status code

func (*AdminCreateOrgUnprocessableEntity) IsSuccess

func (o *AdminCreateOrgUnprocessableEntity) IsSuccess() bool

IsSuccess returns true when this admin create org unprocessable entity response has a 2xx status code

func (*AdminCreateOrgUnprocessableEntity) String

type AdminCreatePublicKeyCreated

type AdminCreatePublicKeyCreated struct {
	Payload *models.PublicKey
}

AdminCreatePublicKeyCreated describes a response with status code 201, with default header values.

PublicKey

func NewAdminCreatePublicKeyCreated

func NewAdminCreatePublicKeyCreated() *AdminCreatePublicKeyCreated

NewAdminCreatePublicKeyCreated creates a AdminCreatePublicKeyCreated with default headers values

func (*AdminCreatePublicKeyCreated) Code

func (o *AdminCreatePublicKeyCreated) Code() int

Code gets the status code for the admin create public key created response

func (*AdminCreatePublicKeyCreated) Error

func (*AdminCreatePublicKeyCreated) GetPayload

func (o *AdminCreatePublicKeyCreated) GetPayload() *models.PublicKey

func (*AdminCreatePublicKeyCreated) IsClientError

func (o *AdminCreatePublicKeyCreated) IsClientError() bool

IsClientError returns true when this admin create public key created response has a 4xx status code

func (*AdminCreatePublicKeyCreated) IsCode

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

IsCode returns true when this admin create public key created response a status code equal to that given

func (*AdminCreatePublicKeyCreated) IsRedirect

func (o *AdminCreatePublicKeyCreated) IsRedirect() bool

IsRedirect returns true when this admin create public key created response has a 3xx status code

func (*AdminCreatePublicKeyCreated) IsServerError

func (o *AdminCreatePublicKeyCreated) IsServerError() bool

IsServerError returns true when this admin create public key created response has a 5xx status code

func (*AdminCreatePublicKeyCreated) IsSuccess

func (o *AdminCreatePublicKeyCreated) IsSuccess() bool

IsSuccess returns true when this admin create public key created response has a 2xx status code

func (*AdminCreatePublicKeyCreated) String

func (o *AdminCreatePublicKeyCreated) String() string

type AdminCreatePublicKeyForbidden

type AdminCreatePublicKeyForbidden struct {
	Message string
	URL     string
}

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

APIForbiddenError is a forbidden error response

func NewAdminCreatePublicKeyForbidden

func NewAdminCreatePublicKeyForbidden() *AdminCreatePublicKeyForbidden

NewAdminCreatePublicKeyForbidden creates a AdminCreatePublicKeyForbidden with default headers values

func (*AdminCreatePublicKeyForbidden) Code

Code gets the status code for the admin create public key forbidden response

func (*AdminCreatePublicKeyForbidden) Error

func (*AdminCreatePublicKeyForbidden) IsClientError

func (o *AdminCreatePublicKeyForbidden) IsClientError() bool

IsClientError returns true when this admin create public key forbidden response has a 4xx status code

func (*AdminCreatePublicKeyForbidden) IsCode

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

IsCode returns true when this admin create public key forbidden response a status code equal to that given

func (*AdminCreatePublicKeyForbidden) IsRedirect

func (o *AdminCreatePublicKeyForbidden) IsRedirect() bool

IsRedirect returns true when this admin create public key forbidden response has a 3xx status code

func (*AdminCreatePublicKeyForbidden) IsServerError

func (o *AdminCreatePublicKeyForbidden) IsServerError() bool

IsServerError returns true when this admin create public key forbidden response has a 5xx status code

func (*AdminCreatePublicKeyForbidden) IsSuccess

func (o *AdminCreatePublicKeyForbidden) IsSuccess() bool

IsSuccess returns true when this admin create public key forbidden response has a 2xx status code

func (*AdminCreatePublicKeyForbidden) String

type AdminCreatePublicKeyParams

type AdminCreatePublicKeyParams struct {

	// Key.
	Key *models.CreateKeyOption

	/* Username.

	   username of the user
	*/
	Username string

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

AdminCreatePublicKeyParams contains all the parameters to send to the API endpoint

for the admin create public key operation.

Typically these are written to a http.Request.

func NewAdminCreatePublicKeyParams

func NewAdminCreatePublicKeyParams() *AdminCreatePublicKeyParams

NewAdminCreatePublicKeyParams creates a new AdminCreatePublicKeyParams 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 NewAdminCreatePublicKeyParamsWithContext

func NewAdminCreatePublicKeyParamsWithContext(ctx context.Context) *AdminCreatePublicKeyParams

NewAdminCreatePublicKeyParamsWithContext creates a new AdminCreatePublicKeyParams object with the ability to set a context for a request.

func NewAdminCreatePublicKeyParamsWithHTTPClient

func NewAdminCreatePublicKeyParamsWithHTTPClient(client *http.Client) *AdminCreatePublicKeyParams

NewAdminCreatePublicKeyParamsWithHTTPClient creates a new AdminCreatePublicKeyParams object with the ability to set a custom HTTPClient for a request.

func NewAdminCreatePublicKeyParamsWithTimeout

func NewAdminCreatePublicKeyParamsWithTimeout(timeout time.Duration) *AdminCreatePublicKeyParams

NewAdminCreatePublicKeyParamsWithTimeout creates a new AdminCreatePublicKeyParams object with the ability to set a timeout on a request.

func (*AdminCreatePublicKeyParams) SetContext

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

SetContext adds the context to the admin create public key params

func (*AdminCreatePublicKeyParams) SetDefaults

func (o *AdminCreatePublicKeyParams) SetDefaults()

SetDefaults hydrates default values in the admin create public key params (not the query body).

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

func (*AdminCreatePublicKeyParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the admin create public key params

func (*AdminCreatePublicKeyParams) SetKey

SetKey adds the key to the admin create public key params

func (*AdminCreatePublicKeyParams) SetTimeout

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

SetTimeout adds the timeout to the admin create public key params

func (*AdminCreatePublicKeyParams) SetUsername

func (o *AdminCreatePublicKeyParams) SetUsername(username string)

SetUsername adds the username to the admin create public key params

func (*AdminCreatePublicKeyParams) WithContext

WithContext adds the context to the admin create public key params

func (*AdminCreatePublicKeyParams) WithDefaults

WithDefaults hydrates default values in the admin create public key params (not the query body).

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

func (*AdminCreatePublicKeyParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the admin create public key params

func (*AdminCreatePublicKeyParams) WithKey

WithKey adds the key to the admin create public key params

func (*AdminCreatePublicKeyParams) WithTimeout

WithTimeout adds the timeout to the admin create public key params

func (*AdminCreatePublicKeyParams) WithUsername

WithUsername adds the username to the admin create public key params

func (*AdminCreatePublicKeyParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type AdminCreatePublicKeyReader

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

AdminCreatePublicKeyReader is a Reader for the AdminCreatePublicKey structure.

func (*AdminCreatePublicKeyReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type AdminCreatePublicKeyUnprocessableEntity

type AdminCreatePublicKeyUnprocessableEntity struct {
	Message string
	URL     string
}

AdminCreatePublicKeyUnprocessableEntity describes a response with status code 422, with default header values.

APIValidationError is error format response related to input validation

func NewAdminCreatePublicKeyUnprocessableEntity

func NewAdminCreatePublicKeyUnprocessableEntity() *AdminCreatePublicKeyUnprocessableEntity

NewAdminCreatePublicKeyUnprocessableEntity creates a AdminCreatePublicKeyUnprocessableEntity with default headers values

func (*AdminCreatePublicKeyUnprocessableEntity) Code

Code gets the status code for the admin create public key unprocessable entity response

func (*AdminCreatePublicKeyUnprocessableEntity) Error

func (*AdminCreatePublicKeyUnprocessableEntity) IsClientError

func (o *AdminCreatePublicKeyUnprocessableEntity) IsClientError() bool

IsClientError returns true when this admin create public key unprocessable entity response has a 4xx status code

func (*AdminCreatePublicKeyUnprocessableEntity) IsCode

IsCode returns true when this admin create public key unprocessable entity response a status code equal to that given

func (*AdminCreatePublicKeyUnprocessableEntity) IsRedirect

IsRedirect returns true when this admin create public key unprocessable entity response has a 3xx status code

func (*AdminCreatePublicKeyUnprocessableEntity) IsServerError

func (o *AdminCreatePublicKeyUnprocessableEntity) IsServerError() bool

IsServerError returns true when this admin create public key unprocessable entity response has a 5xx status code

func (*AdminCreatePublicKeyUnprocessableEntity) IsSuccess

IsSuccess returns true when this admin create public key unprocessable entity response has a 2xx status code

func (*AdminCreatePublicKeyUnprocessableEntity) String

type AdminCreateRepoBadRequest

type AdminCreateRepoBadRequest struct {
	Message string
	URL     string
}

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

APIError is error format response

func NewAdminCreateRepoBadRequest

func NewAdminCreateRepoBadRequest() *AdminCreateRepoBadRequest

NewAdminCreateRepoBadRequest creates a AdminCreateRepoBadRequest with default headers values

func (*AdminCreateRepoBadRequest) Code

func (o *AdminCreateRepoBadRequest) Code() int

Code gets the status code for the admin create repo bad request response

func (*AdminCreateRepoBadRequest) Error

func (o *AdminCreateRepoBadRequest) Error() string

func (*AdminCreateRepoBadRequest) IsClientError

func (o *AdminCreateRepoBadRequest) IsClientError() bool

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

func (*AdminCreateRepoBadRequest) IsCode

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

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

func (*AdminCreateRepoBadRequest) IsRedirect

func (o *AdminCreateRepoBadRequest) IsRedirect() bool

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

func (*AdminCreateRepoBadRequest) IsServerError

func (o *AdminCreateRepoBadRequest) IsServerError() bool

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

func (*AdminCreateRepoBadRequest) IsSuccess

func (o *AdminCreateRepoBadRequest) IsSuccess() bool

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

func (*AdminCreateRepoBadRequest) String

func (o *AdminCreateRepoBadRequest) String() string

type AdminCreateRepoConflict

type AdminCreateRepoConflict struct {
	Message string
	URL     string
}

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

APIError is error format response

func NewAdminCreateRepoConflict

func NewAdminCreateRepoConflict() *AdminCreateRepoConflict

NewAdminCreateRepoConflict creates a AdminCreateRepoConflict with default headers values

func (*AdminCreateRepoConflict) Code

func (o *AdminCreateRepoConflict) Code() int

Code gets the status code for the admin create repo conflict response

func (*AdminCreateRepoConflict) Error

func (o *AdminCreateRepoConflict) Error() string

func (*AdminCreateRepoConflict) IsClientError

func (o *AdminCreateRepoConflict) IsClientError() bool

IsClientError returns true when this admin create repo conflict response has a 4xx status code

func (*AdminCreateRepoConflict) IsCode

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

IsCode returns true when this admin create repo conflict response a status code equal to that given

func (*AdminCreateRepoConflict) IsRedirect

func (o *AdminCreateRepoConflict) IsRedirect() bool

IsRedirect returns true when this admin create repo conflict response has a 3xx status code

func (*AdminCreateRepoConflict) IsServerError

func (o *AdminCreateRepoConflict) IsServerError() bool

IsServerError returns true when this admin create repo conflict response has a 5xx status code

func (*AdminCreateRepoConflict) IsSuccess

func (o *AdminCreateRepoConflict) IsSuccess() bool

IsSuccess returns true when this admin create repo conflict response has a 2xx status code

func (*AdminCreateRepoConflict) String

func (o *AdminCreateRepoConflict) String() string

type AdminCreateRepoCreated

type AdminCreateRepoCreated struct {
	Payload *models.Repository
}

AdminCreateRepoCreated describes a response with status code 201, with default header values.

Repository

func NewAdminCreateRepoCreated

func NewAdminCreateRepoCreated() *AdminCreateRepoCreated

NewAdminCreateRepoCreated creates a AdminCreateRepoCreated with default headers values

func (*AdminCreateRepoCreated) Code

func (o *AdminCreateRepoCreated) Code() int

Code gets the status code for the admin create repo created response

func (*AdminCreateRepoCreated) Error

func (o *AdminCreateRepoCreated) Error() string

func (*AdminCreateRepoCreated) GetPayload

func (o *AdminCreateRepoCreated) GetPayload() *models.Repository

func (*AdminCreateRepoCreated) IsClientError

func (o *AdminCreateRepoCreated) IsClientError() bool

IsClientError returns true when this admin create repo created response has a 4xx status code

func (*AdminCreateRepoCreated) IsCode

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

IsCode returns true when this admin create repo created response a status code equal to that given

func (*AdminCreateRepoCreated) IsRedirect

func (o *AdminCreateRepoCreated) IsRedirect() bool

IsRedirect returns true when this admin create repo created response has a 3xx status code

func (*AdminCreateRepoCreated) IsServerError

func (o *AdminCreateRepoCreated) IsServerError() bool

IsServerError returns true when this admin create repo created response has a 5xx status code

func (*AdminCreateRepoCreated) IsSuccess

func (o *AdminCreateRepoCreated) IsSuccess() bool

IsSuccess returns true when this admin create repo created response has a 2xx status code

func (*AdminCreateRepoCreated) String

func (o *AdminCreateRepoCreated) String() string

type AdminCreateRepoForbidden

type AdminCreateRepoForbidden struct {
	Message string
	URL     string
}

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

APIForbiddenError is a forbidden error response

func NewAdminCreateRepoForbidden

func NewAdminCreateRepoForbidden() *AdminCreateRepoForbidden

NewAdminCreateRepoForbidden creates a AdminCreateRepoForbidden with default headers values

func (*AdminCreateRepoForbidden) Code

func (o *AdminCreateRepoForbidden) Code() int

Code gets the status code for the admin create repo forbidden response

func (*AdminCreateRepoForbidden) Error

func (o *AdminCreateRepoForbidden) Error() string

func (*AdminCreateRepoForbidden) IsClientError

func (o *AdminCreateRepoForbidden) IsClientError() bool

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

func (*AdminCreateRepoForbidden) IsCode

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

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

func (*AdminCreateRepoForbidden) IsRedirect

func (o *AdminCreateRepoForbidden) IsRedirect() bool

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

func (*AdminCreateRepoForbidden) IsServerError

func (o *AdminCreateRepoForbidden) IsServerError() bool

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

func (*AdminCreateRepoForbidden) IsSuccess

func (o *AdminCreateRepoForbidden) IsSuccess() bool

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

func (*AdminCreateRepoForbidden) String

func (o *AdminCreateRepoForbidden) String() string

type AdminCreateRepoNotFound

type AdminCreateRepoNotFound struct {
}

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

APINotFound is a not found empty response

func NewAdminCreateRepoNotFound

func NewAdminCreateRepoNotFound() *AdminCreateRepoNotFound

NewAdminCreateRepoNotFound creates a AdminCreateRepoNotFound with default headers values

func (*AdminCreateRepoNotFound) Code

func (o *AdminCreateRepoNotFound) Code() int

Code gets the status code for the admin create repo not found response

func (*AdminCreateRepoNotFound) Error

func (o *AdminCreateRepoNotFound) Error() string

func (*AdminCreateRepoNotFound) IsClientError

func (o *AdminCreateRepoNotFound) IsClientError() bool

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

func (*AdminCreateRepoNotFound) IsCode

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

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

func (*AdminCreateRepoNotFound) IsRedirect

func (o *AdminCreateRepoNotFound) IsRedirect() bool

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

func (*AdminCreateRepoNotFound) IsServerError

func (o *AdminCreateRepoNotFound) IsServerError() bool

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

func (*AdminCreateRepoNotFound) IsSuccess

func (o *AdminCreateRepoNotFound) IsSuccess() bool

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

func (*AdminCreateRepoNotFound) String

func (o *AdminCreateRepoNotFound) String() string

type AdminCreateRepoParams

type AdminCreateRepoParams struct {

	// Repository.
	Repository *models.CreateRepoOption

	/* Username.

	   username of the user. This user will own the created repository
	*/
	Username string

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

AdminCreateRepoParams contains all the parameters to send to the API endpoint

for the admin create repo operation.

Typically these are written to a http.Request.

func NewAdminCreateRepoParams

func NewAdminCreateRepoParams() *AdminCreateRepoParams

NewAdminCreateRepoParams creates a new AdminCreateRepoParams 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 NewAdminCreateRepoParamsWithContext

func NewAdminCreateRepoParamsWithContext(ctx context.Context) *AdminCreateRepoParams

NewAdminCreateRepoParamsWithContext creates a new AdminCreateRepoParams object with the ability to set a context for a request.

func NewAdminCreateRepoParamsWithHTTPClient

func NewAdminCreateRepoParamsWithHTTPClient(client *http.Client) *AdminCreateRepoParams

NewAdminCreateRepoParamsWithHTTPClient creates a new AdminCreateRepoParams object with the ability to set a custom HTTPClient for a request.

func NewAdminCreateRepoParamsWithTimeout

func NewAdminCreateRepoParamsWithTimeout(timeout time.Duration) *AdminCreateRepoParams

NewAdminCreateRepoParamsWithTimeout creates a new AdminCreateRepoParams object with the ability to set a timeout on a request.

func (*AdminCreateRepoParams) SetContext

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

SetContext adds the context to the admin create repo params

func (*AdminCreateRepoParams) SetDefaults

func (o *AdminCreateRepoParams) SetDefaults()

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

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

func (*AdminCreateRepoParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the admin create repo params

func (*AdminCreateRepoParams) SetRepository

func (o *AdminCreateRepoParams) SetRepository(repository *models.CreateRepoOption)

SetRepository adds the repository to the admin create repo params

func (*AdminCreateRepoParams) SetTimeout

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

SetTimeout adds the timeout to the admin create repo params

func (*AdminCreateRepoParams) SetUsername

func (o *AdminCreateRepoParams) SetUsername(username string)

SetUsername adds the username to the admin create repo params

func (*AdminCreateRepoParams) WithContext

WithContext adds the context to the admin create repo params

func (*AdminCreateRepoParams) WithDefaults

func (o *AdminCreateRepoParams) WithDefaults() *AdminCreateRepoParams

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

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

func (*AdminCreateRepoParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the admin create repo params

func (*AdminCreateRepoParams) WithRepository

func (o *AdminCreateRepoParams) WithRepository(repository *models.CreateRepoOption) *AdminCreateRepoParams

WithRepository adds the repository to the admin create repo params

func (*AdminCreateRepoParams) WithTimeout

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

WithTimeout adds the timeout to the admin create repo params

func (*AdminCreateRepoParams) WithUsername

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

WithUsername adds the username to the admin create repo params

func (*AdminCreateRepoParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type AdminCreateRepoReader

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

AdminCreateRepoReader is a Reader for the AdminCreateRepo structure.

func (*AdminCreateRepoReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type AdminCreateRepoUnprocessableEntity

type AdminCreateRepoUnprocessableEntity struct {
	Message string
	URL     string
}

AdminCreateRepoUnprocessableEntity describes a response with status code 422, with default header values.

APIValidationError is error format response related to input validation

func NewAdminCreateRepoUnprocessableEntity

func NewAdminCreateRepoUnprocessableEntity() *AdminCreateRepoUnprocessableEntity

NewAdminCreateRepoUnprocessableEntity creates a AdminCreateRepoUnprocessableEntity with default headers values

func (*AdminCreateRepoUnprocessableEntity) Code

Code gets the status code for the admin create repo unprocessable entity response

func (*AdminCreateRepoUnprocessableEntity) Error

func (*AdminCreateRepoUnprocessableEntity) IsClientError

func (o *AdminCreateRepoUnprocessableEntity) IsClientError() bool

IsClientError returns true when this admin create repo unprocessable entity response has a 4xx status code

func (*AdminCreateRepoUnprocessableEntity) IsCode

IsCode returns true when this admin create repo unprocessable entity response a status code equal to that given

func (*AdminCreateRepoUnprocessableEntity) IsRedirect

func (o *AdminCreateRepoUnprocessableEntity) IsRedirect() bool

IsRedirect returns true when this admin create repo unprocessable entity response has a 3xx status code

func (*AdminCreateRepoUnprocessableEntity) IsServerError

func (o *AdminCreateRepoUnprocessableEntity) IsServerError() bool

IsServerError returns true when this admin create repo unprocessable entity response has a 5xx status code

func (*AdminCreateRepoUnprocessableEntity) IsSuccess

IsSuccess returns true when this admin create repo unprocessable entity response has a 2xx status code

func (*AdminCreateRepoUnprocessableEntity) String

type AdminCreateUserBadRequest

type AdminCreateUserBadRequest struct {
	Message string
	URL     string
}

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

APIError is error format response

func NewAdminCreateUserBadRequest

func NewAdminCreateUserBadRequest() *AdminCreateUserBadRequest

NewAdminCreateUserBadRequest creates a AdminCreateUserBadRequest with default headers values

func (*AdminCreateUserBadRequest) Code

func (o *AdminCreateUserBadRequest) Code() int

Code gets the status code for the admin create user bad request response

func (*AdminCreateUserBadRequest) Error

func (o *AdminCreateUserBadRequest) Error() string

func (*AdminCreateUserBadRequest) IsClientError

func (o *AdminCreateUserBadRequest) IsClientError() bool

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

func (*AdminCreateUserBadRequest) IsCode

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

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

func (*AdminCreateUserBadRequest) IsRedirect

func (o *AdminCreateUserBadRequest) IsRedirect() bool

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

func (*AdminCreateUserBadRequest) IsServerError

func (o *AdminCreateUserBadRequest) IsServerError() bool

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

func (*AdminCreateUserBadRequest) IsSuccess

func (o *AdminCreateUserBadRequest) IsSuccess() bool

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

func (*AdminCreateUserBadRequest) String

func (o *AdminCreateUserBadRequest) String() string

type AdminCreateUserCreated

type AdminCreateUserCreated struct {
	Payload *models.User
}

AdminCreateUserCreated describes a response with status code 201, with default header values.

User

func NewAdminCreateUserCreated

func NewAdminCreateUserCreated() *AdminCreateUserCreated

NewAdminCreateUserCreated creates a AdminCreateUserCreated with default headers values

func (*AdminCreateUserCreated) Code

func (o *AdminCreateUserCreated) Code() int

Code gets the status code for the admin create user created response

func (*AdminCreateUserCreated) Error

func (o *AdminCreateUserCreated) Error() string

func (*AdminCreateUserCreated) GetPayload

func (o *AdminCreateUserCreated) GetPayload() *models.User

func (*AdminCreateUserCreated) IsClientError

func (o *AdminCreateUserCreated) IsClientError() bool

IsClientError returns true when this admin create user created response has a 4xx status code

func (*AdminCreateUserCreated) IsCode

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

IsCode returns true when this admin create user created response a status code equal to that given

func (*AdminCreateUserCreated) IsRedirect

func (o *AdminCreateUserCreated) IsRedirect() bool

IsRedirect returns true when this admin create user created response has a 3xx status code

func (*AdminCreateUserCreated) IsServerError

func (o *AdminCreateUserCreated) IsServerError() bool

IsServerError returns true when this admin create user created response has a 5xx status code

func (*AdminCreateUserCreated) IsSuccess

func (o *AdminCreateUserCreated) IsSuccess() bool

IsSuccess returns true when this admin create user created response has a 2xx status code

func (*AdminCreateUserCreated) String

func (o *AdminCreateUserCreated) String() string

type AdminCreateUserForbidden

type AdminCreateUserForbidden struct {
	Message string
	URL     string
}

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

APIForbiddenError is a forbidden error response

func NewAdminCreateUserForbidden

func NewAdminCreateUserForbidden() *AdminCreateUserForbidden

NewAdminCreateUserForbidden creates a AdminCreateUserForbidden with default headers values

func (*AdminCreateUserForbidden) Code

func (o *AdminCreateUserForbidden) Code() int

Code gets the status code for the admin create user forbidden response

func (*AdminCreateUserForbidden) Error

func (o *AdminCreateUserForbidden) Error() string

func (*AdminCreateUserForbidden) IsClientError

func (o *AdminCreateUserForbidden) IsClientError() bool

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

func (*AdminCreateUserForbidden) IsCode

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

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

func (*AdminCreateUserForbidden) IsRedirect

func (o *AdminCreateUserForbidden) IsRedirect() bool

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

func (*AdminCreateUserForbidden) IsServerError

func (o *AdminCreateUserForbidden) IsServerError() bool

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

func (*AdminCreateUserForbidden) IsSuccess

func (o *AdminCreateUserForbidden) IsSuccess() bool

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

func (*AdminCreateUserForbidden) String

func (o *AdminCreateUserForbidden) String() string

type AdminCreateUserParams

type AdminCreateUserParams struct {

	// Body.
	Body *models.CreateUserOption

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

AdminCreateUserParams contains all the parameters to send to the API endpoint

for the admin create user operation.

Typically these are written to a http.Request.

func NewAdminCreateUserParams

func NewAdminCreateUserParams() *AdminCreateUserParams

NewAdminCreateUserParams creates a new AdminCreateUserParams 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 NewAdminCreateUserParamsWithContext

func NewAdminCreateUserParamsWithContext(ctx context.Context) *AdminCreateUserParams

NewAdminCreateUserParamsWithContext creates a new AdminCreateUserParams object with the ability to set a context for a request.

func NewAdminCreateUserParamsWithHTTPClient

func NewAdminCreateUserParamsWithHTTPClient(client *http.Client) *AdminCreateUserParams

NewAdminCreateUserParamsWithHTTPClient creates a new AdminCreateUserParams object with the ability to set a custom HTTPClient for a request.

func NewAdminCreateUserParamsWithTimeout

func NewAdminCreateUserParamsWithTimeout(timeout time.Duration) *AdminCreateUserParams

NewAdminCreateUserParamsWithTimeout creates a new AdminCreateUserParams object with the ability to set a timeout on a request.

func (*AdminCreateUserParams) SetBody

func (o *AdminCreateUserParams) SetBody(body *models.CreateUserOption)

SetBody adds the body to the admin create user params

func (*AdminCreateUserParams) SetContext

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

SetContext adds the context to the admin create user params

func (*AdminCreateUserParams) SetDefaults

func (o *AdminCreateUserParams) SetDefaults()

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

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

func (*AdminCreateUserParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the admin create user params

func (*AdminCreateUserParams) SetTimeout

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

SetTimeout adds the timeout to the admin create user params

func (*AdminCreateUserParams) WithBody

WithBody adds the body to the admin create user params

func (*AdminCreateUserParams) WithContext

WithContext adds the context to the admin create user params

func (*AdminCreateUserParams) WithDefaults

func (o *AdminCreateUserParams) WithDefaults() *AdminCreateUserParams

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

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

func (*AdminCreateUserParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the admin create user params

func (*AdminCreateUserParams) WithTimeout

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

WithTimeout adds the timeout to the admin create user params

func (*AdminCreateUserParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type AdminCreateUserReader

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

AdminCreateUserReader is a Reader for the AdminCreateUser structure.

func (*AdminCreateUserReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type AdminCreateUserUnprocessableEntity

type AdminCreateUserUnprocessableEntity struct {
	Message string
	URL     string
}

AdminCreateUserUnprocessableEntity describes a response with status code 422, with default header values.

APIValidationError is error format response related to input validation

func NewAdminCreateUserUnprocessableEntity

func NewAdminCreateUserUnprocessableEntity() *AdminCreateUserUnprocessableEntity

NewAdminCreateUserUnprocessableEntity creates a AdminCreateUserUnprocessableEntity with default headers values

func (*AdminCreateUserUnprocessableEntity) Code

Code gets the status code for the admin create user unprocessable entity response

func (*AdminCreateUserUnprocessableEntity) Error

func (*AdminCreateUserUnprocessableEntity) IsClientError

func (o *AdminCreateUserUnprocessableEntity) IsClientError() bool

IsClientError returns true when this admin create user unprocessable entity response has a 4xx status code

func (*AdminCreateUserUnprocessableEntity) IsCode

IsCode returns true when this admin create user unprocessable entity response a status code equal to that given

func (*AdminCreateUserUnprocessableEntity) IsRedirect

func (o *AdminCreateUserUnprocessableEntity) IsRedirect() bool

IsRedirect returns true when this admin create user unprocessable entity response has a 3xx status code

func (*AdminCreateUserUnprocessableEntity) IsServerError

func (o *AdminCreateUserUnprocessableEntity) IsServerError() bool

IsServerError returns true when this admin create user unprocessable entity response has a 5xx status code

func (*AdminCreateUserUnprocessableEntity) IsSuccess

IsSuccess returns true when this admin create user unprocessable entity response has a 2xx status code

func (*AdminCreateUserUnprocessableEntity) String

type AdminCronListForbidden

type AdminCronListForbidden struct {
	Message string
	URL     string
}

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

APIForbiddenError is a forbidden error response

func NewAdminCronListForbidden

func NewAdminCronListForbidden() *AdminCronListForbidden

NewAdminCronListForbidden creates a AdminCronListForbidden with default headers values

func (*AdminCronListForbidden) Code

func (o *AdminCronListForbidden) Code() int

Code gets the status code for the admin cron list forbidden response

func (*AdminCronListForbidden) Error

func (o *AdminCronListForbidden) Error() string

func (*AdminCronListForbidden) IsClientError

func (o *AdminCronListForbidden) IsClientError() bool

IsClientError returns true when this admin cron list forbidden response has a 4xx status code

func (*AdminCronListForbidden) IsCode

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

IsCode returns true when this admin cron list forbidden response a status code equal to that given

func (*AdminCronListForbidden) IsRedirect

func (o *AdminCronListForbidden) IsRedirect() bool

IsRedirect returns true when this admin cron list forbidden response has a 3xx status code

func (*AdminCronListForbidden) IsServerError

func (o *AdminCronListForbidden) IsServerError() bool

IsServerError returns true when this admin cron list forbidden response has a 5xx status code

func (*AdminCronListForbidden) IsSuccess

func (o *AdminCronListForbidden) IsSuccess() bool

IsSuccess returns true when this admin cron list forbidden response has a 2xx status code

func (*AdminCronListForbidden) String

func (o *AdminCronListForbidden) String() string

type AdminCronListOK

type AdminCronListOK struct {
	Payload []*models.Cron
}

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

CronList

func NewAdminCronListOK

func NewAdminCronListOK() *AdminCronListOK

NewAdminCronListOK creates a AdminCronListOK with default headers values

func (*AdminCronListOK) Code

func (o *AdminCronListOK) Code() int

Code gets the status code for the admin cron list o k response

func (*AdminCronListOK) Error

func (o *AdminCronListOK) Error() string

func (*AdminCronListOK) GetPayload

func (o *AdminCronListOK) GetPayload() []*models.Cron

func (*AdminCronListOK) IsClientError

func (o *AdminCronListOK) IsClientError() bool

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

func (*AdminCronListOK) IsCode

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

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

func (*AdminCronListOK) IsRedirect

func (o *AdminCronListOK) IsRedirect() bool

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

func (*AdminCronListOK) IsServerError

func (o *AdminCronListOK) IsServerError() bool

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

func (*AdminCronListOK) IsSuccess

func (o *AdminCronListOK) IsSuccess() bool

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

func (*AdminCronListOK) String

func (o *AdminCronListOK) String() string

type AdminCronListParams

type AdminCronListParams struct {

	/* Limit.

	   page size of results
	*/
	Limit *int64

	/* Page.

	   page number of results to return (1-based)
	*/
	Page *int64

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

AdminCronListParams contains all the parameters to send to the API endpoint

for the admin cron list operation.

Typically these are written to a http.Request.

func NewAdminCronListParams

func NewAdminCronListParams() *AdminCronListParams

NewAdminCronListParams creates a new AdminCronListParams 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 NewAdminCronListParamsWithContext

func NewAdminCronListParamsWithContext(ctx context.Context) *AdminCronListParams

NewAdminCronListParamsWithContext creates a new AdminCronListParams object with the ability to set a context for a request.

func NewAdminCronListParamsWithHTTPClient

func NewAdminCronListParamsWithHTTPClient(client *http.Client) *AdminCronListParams

NewAdminCronListParamsWithHTTPClient creates a new AdminCronListParams object with the ability to set a custom HTTPClient for a request.

func NewAdminCronListParamsWithTimeout

func NewAdminCronListParamsWithTimeout(timeout time.Duration) *AdminCronListParams

NewAdminCronListParamsWithTimeout creates a new AdminCronListParams object with the ability to set a timeout on a request.

func (*AdminCronListParams) SetContext

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

SetContext adds the context to the admin cron list params

func (*AdminCronListParams) SetDefaults

func (o *AdminCronListParams) SetDefaults()

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

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

func (*AdminCronListParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the admin cron list params

func (*AdminCronListParams) SetLimit

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

SetLimit adds the limit to the admin cron list params

func (*AdminCronListParams) SetPage

func (o *AdminCronListParams) SetPage(page *int64)

SetPage adds the page to the admin cron list params

func (*AdminCronListParams) SetTimeout

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

SetTimeout adds the timeout to the admin cron list params

func (*AdminCronListParams) WithContext

WithContext adds the context to the admin cron list params

func (*AdminCronListParams) WithDefaults

func (o *AdminCronListParams) WithDefaults() *AdminCronListParams

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

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

func (*AdminCronListParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the admin cron list params

func (*AdminCronListParams) WithLimit

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

WithLimit adds the limit to the admin cron list params

func (*AdminCronListParams) WithPage

func (o *AdminCronListParams) WithPage(page *int64) *AdminCronListParams

WithPage adds the page to the admin cron list params

func (*AdminCronListParams) WithTimeout

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

WithTimeout adds the timeout to the admin cron list params

func (*AdminCronListParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type AdminCronListReader

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

AdminCronListReader is a Reader for the AdminCronList structure.

func (*AdminCronListReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type AdminCronRunNoContent

type AdminCronRunNoContent struct {
}

AdminCronRunNoContent describes a response with status code 204, with default header values.

APIEmpty is an empty response

func NewAdminCronRunNoContent

func NewAdminCronRunNoContent() *AdminCronRunNoContent

NewAdminCronRunNoContent creates a AdminCronRunNoContent with default headers values

func (*AdminCronRunNoContent) Code

func (o *AdminCronRunNoContent) Code() int

Code gets the status code for the admin cron run no content response

func (*AdminCronRunNoContent) Error

func (o *AdminCronRunNoContent) Error() string

func (*AdminCronRunNoContent) IsClientError

func (o *AdminCronRunNoContent) IsClientError() bool

IsClientError returns true when this admin cron run no content response has a 4xx status code

func (*AdminCronRunNoContent) IsCode

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

IsCode returns true when this admin cron run no content response a status code equal to that given

func (*AdminCronRunNoContent) IsRedirect

func (o *AdminCronRunNoContent) IsRedirect() bool

IsRedirect returns true when this admin cron run no content response has a 3xx status code

func (*AdminCronRunNoContent) IsServerError

func (o *AdminCronRunNoContent) IsServerError() bool

IsServerError returns true when this admin cron run no content response has a 5xx status code

func (*AdminCronRunNoContent) IsSuccess

func (o *AdminCronRunNoContent) IsSuccess() bool

IsSuccess returns true when this admin cron run no content response has a 2xx status code

func (*AdminCronRunNoContent) String

func (o *AdminCronRunNoContent) String() string

type AdminCronRunNotFound

type AdminCronRunNotFound struct {
}

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

APINotFound is a not found empty response

func NewAdminCronRunNotFound

func NewAdminCronRunNotFound() *AdminCronRunNotFound

NewAdminCronRunNotFound creates a AdminCronRunNotFound with default headers values

func (*AdminCronRunNotFound) Code

func (o *AdminCronRunNotFound) Code() int

Code gets the status code for the admin cron run not found response

func (*AdminCronRunNotFound) Error

func (o *AdminCronRunNotFound) Error() string

func (*AdminCronRunNotFound) IsClientError

func (o *AdminCronRunNotFound) IsClientError() bool

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

func (*AdminCronRunNotFound) IsCode

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

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

func (*AdminCronRunNotFound) IsRedirect

func (o *AdminCronRunNotFound) IsRedirect() bool

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

func (*AdminCronRunNotFound) IsServerError

func (o *AdminCronRunNotFound) IsServerError() bool

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

func (*AdminCronRunNotFound) IsSuccess

func (o *AdminCronRunNotFound) IsSuccess() bool

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

func (*AdminCronRunNotFound) String

func (o *AdminCronRunNotFound) String() string

type AdminCronRunParams

type AdminCronRunParams struct {

	/* Task.

	   task to run
	*/
	Task string

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

AdminCronRunParams contains all the parameters to send to the API endpoint

for the admin cron run operation.

Typically these are written to a http.Request.

func NewAdminCronRunParams

func NewAdminCronRunParams() *AdminCronRunParams

NewAdminCronRunParams creates a new AdminCronRunParams 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 NewAdminCronRunParamsWithContext

func NewAdminCronRunParamsWithContext(ctx context.Context) *AdminCronRunParams

NewAdminCronRunParamsWithContext creates a new AdminCronRunParams object with the ability to set a context for a request.

func NewAdminCronRunParamsWithHTTPClient

func NewAdminCronRunParamsWithHTTPClient(client *http.Client) *AdminCronRunParams

NewAdminCronRunParamsWithHTTPClient creates a new AdminCronRunParams object with the ability to set a custom HTTPClient for a request.

func NewAdminCronRunParamsWithTimeout

func NewAdminCronRunParamsWithTimeout(timeout time.Duration) *AdminCronRunParams

NewAdminCronRunParamsWithTimeout creates a new AdminCronRunParams object with the ability to set a timeout on a request.

func (*AdminCronRunParams) SetContext

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

SetContext adds the context to the admin cron run params

func (*AdminCronRunParams) SetDefaults

func (o *AdminCronRunParams) SetDefaults()

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

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

func (*AdminCronRunParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the admin cron run params

func (*AdminCronRunParams) SetTask

func (o *AdminCronRunParams) SetTask(task string)

SetTask adds the task to the admin cron run params

func (*AdminCronRunParams) SetTimeout

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

SetTimeout adds the timeout to the admin cron run params

func (*AdminCronRunParams) WithContext

WithContext adds the context to the admin cron run params

func (*AdminCronRunParams) WithDefaults

func (o *AdminCronRunParams) WithDefaults() *AdminCronRunParams

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

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

func (*AdminCronRunParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the admin cron run params

func (*AdminCronRunParams) WithTask

func (o *AdminCronRunParams) WithTask(task string) *AdminCronRunParams

WithTask adds the task to the admin cron run params

func (*AdminCronRunParams) WithTimeout

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

WithTimeout adds the timeout to the admin cron run params

func (*AdminCronRunParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type AdminCronRunReader

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

AdminCronRunReader is a Reader for the AdminCronRun structure.

func (*AdminCronRunReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type AdminDeleteHookNoContent

type AdminDeleteHookNoContent struct {
}

AdminDeleteHookNoContent describes a response with status code 204, with default header values.

APIEmpty is an empty response

func NewAdminDeleteHookNoContent

func NewAdminDeleteHookNoContent() *AdminDeleteHookNoContent

NewAdminDeleteHookNoContent creates a AdminDeleteHookNoContent with default headers values

func (*AdminDeleteHookNoContent) Code

func (o *AdminDeleteHookNoContent) Code() int

Code gets the status code for the admin delete hook no content response

func (*AdminDeleteHookNoContent) Error

func (o *AdminDeleteHookNoContent) Error() string

func (*AdminDeleteHookNoContent) IsClientError

func (o *AdminDeleteHookNoContent) IsClientError() bool

IsClientError returns true when this admin delete hook no content response has a 4xx status code

func (*AdminDeleteHookNoContent) IsCode

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

IsCode returns true when this admin delete hook no content response a status code equal to that given

func (*AdminDeleteHookNoContent) IsRedirect

func (o *AdminDeleteHookNoContent) IsRedirect() bool

IsRedirect returns true when this admin delete hook no content response has a 3xx status code

func (*AdminDeleteHookNoContent) IsServerError

func (o *AdminDeleteHookNoContent) IsServerError() bool

IsServerError returns true when this admin delete hook no content response has a 5xx status code

func (*AdminDeleteHookNoContent) IsSuccess

func (o *AdminDeleteHookNoContent) IsSuccess() bool

IsSuccess returns true when this admin delete hook no content response has a 2xx status code

func (*AdminDeleteHookNoContent) String

func (o *AdminDeleteHookNoContent) String() string

type AdminDeleteHookParams

type AdminDeleteHookParams struct {

	/* ID.

	   id of the hook to delete

	   Format: int64
	*/
	ID int64

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

AdminDeleteHookParams contains all the parameters to send to the API endpoint

for the admin delete hook operation.

Typically these are written to a http.Request.

func NewAdminDeleteHookParams

func NewAdminDeleteHookParams() *AdminDeleteHookParams

NewAdminDeleteHookParams creates a new AdminDeleteHookParams 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 NewAdminDeleteHookParamsWithContext

func NewAdminDeleteHookParamsWithContext(ctx context.Context) *AdminDeleteHookParams

NewAdminDeleteHookParamsWithContext creates a new AdminDeleteHookParams object with the ability to set a context for a request.

func NewAdminDeleteHookParamsWithHTTPClient

func NewAdminDeleteHookParamsWithHTTPClient(client *http.Client) *AdminDeleteHookParams

NewAdminDeleteHookParamsWithHTTPClient creates a new AdminDeleteHookParams object with the ability to set a custom HTTPClient for a request.

func NewAdminDeleteHookParamsWithTimeout

func NewAdminDeleteHookParamsWithTimeout(timeout time.Duration) *AdminDeleteHookParams

NewAdminDeleteHookParamsWithTimeout creates a new AdminDeleteHookParams object with the ability to set a timeout on a request.

func (*AdminDeleteHookParams) SetContext

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

SetContext adds the context to the admin delete hook params

func (*AdminDeleteHookParams) SetDefaults

func (o *AdminDeleteHookParams) SetDefaults()

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

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

func (*AdminDeleteHookParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the admin delete hook params

func (*AdminDeleteHookParams) SetID

func (o *AdminDeleteHookParams) SetID(id int64)

SetID adds the id to the admin delete hook params

func (*AdminDeleteHookParams) SetTimeout

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

SetTimeout adds the timeout to the admin delete hook params

func (*AdminDeleteHookParams) WithContext

WithContext adds the context to the admin delete hook params

func (*AdminDeleteHookParams) WithDefaults

func (o *AdminDeleteHookParams) WithDefaults() *AdminDeleteHookParams

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

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

func (*AdminDeleteHookParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the admin delete hook params

func (*AdminDeleteHookParams) WithID

WithID adds the id to the admin delete hook params

func (*AdminDeleteHookParams) WithTimeout

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

WithTimeout adds the timeout to the admin delete hook params

func (*AdminDeleteHookParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type AdminDeleteHookReader

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

AdminDeleteHookReader is a Reader for the AdminDeleteHook structure.

func (*AdminDeleteHookReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type AdminDeleteUnadoptedRepositoryForbidden

type AdminDeleteUnadoptedRepositoryForbidden struct {
	Message string
	URL     string
}

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

APIForbiddenError is a forbidden error response

func NewAdminDeleteUnadoptedRepositoryForbidden

func NewAdminDeleteUnadoptedRepositoryForbidden() *AdminDeleteUnadoptedRepositoryForbidden

NewAdminDeleteUnadoptedRepositoryForbidden creates a AdminDeleteUnadoptedRepositoryForbidden with default headers values

func (*AdminDeleteUnadoptedRepositoryForbidden) Code

Code gets the status code for the admin delete unadopted repository forbidden response

func (*AdminDeleteUnadoptedRepositoryForbidden) Error

func (*AdminDeleteUnadoptedRepositoryForbidden) IsClientError

func (o *AdminDeleteUnadoptedRepositoryForbidden) IsClientError() bool

IsClientError returns true when this admin delete unadopted repository forbidden response has a 4xx status code

func (*AdminDeleteUnadoptedRepositoryForbidden) IsCode

IsCode returns true when this admin delete unadopted repository forbidden response a status code equal to that given

func (*AdminDeleteUnadoptedRepositoryForbidden) IsRedirect

IsRedirect returns true when this admin delete unadopted repository forbidden response has a 3xx status code

func (*AdminDeleteUnadoptedRepositoryForbidden) IsServerError

func (o *AdminDeleteUnadoptedRepositoryForbidden) IsServerError() bool

IsServerError returns true when this admin delete unadopted repository forbidden response has a 5xx status code

func (*AdminDeleteUnadoptedRepositoryForbidden) IsSuccess

IsSuccess returns true when this admin delete unadopted repository forbidden response has a 2xx status code

func (*AdminDeleteUnadoptedRepositoryForbidden) String

type AdminDeleteUnadoptedRepositoryNoContent

type AdminDeleteUnadoptedRepositoryNoContent struct {
}

AdminDeleteUnadoptedRepositoryNoContent describes a response with status code 204, with default header values.

APIEmpty is an empty response

func NewAdminDeleteUnadoptedRepositoryNoContent

func NewAdminDeleteUnadoptedRepositoryNoContent() *AdminDeleteUnadoptedRepositoryNoContent

NewAdminDeleteUnadoptedRepositoryNoContent creates a AdminDeleteUnadoptedRepositoryNoContent with default headers values

func (*AdminDeleteUnadoptedRepositoryNoContent) Code

Code gets the status code for the admin delete unadopted repository no content response

func (*AdminDeleteUnadoptedRepositoryNoContent) Error

func (*AdminDeleteUnadoptedRepositoryNoContent) IsClientError

func (o *AdminDeleteUnadoptedRepositoryNoContent) IsClientError() bool

IsClientError returns true when this admin delete unadopted repository no content response has a 4xx status code

func (*AdminDeleteUnadoptedRepositoryNoContent) IsCode

IsCode returns true when this admin delete unadopted repository no content response a status code equal to that given

func (*AdminDeleteUnadoptedRepositoryNoContent) IsRedirect

IsRedirect returns true when this admin delete unadopted repository no content response has a 3xx status code

func (*AdminDeleteUnadoptedRepositoryNoContent) IsServerError

func (o *AdminDeleteUnadoptedRepositoryNoContent) IsServerError() bool

IsServerError returns true when this admin delete unadopted repository no content response has a 5xx status code

func (*AdminDeleteUnadoptedRepositoryNoContent) IsSuccess

IsSuccess returns true when this admin delete unadopted repository no content response has a 2xx status code

func (*AdminDeleteUnadoptedRepositoryNoContent) String

type AdminDeleteUnadoptedRepositoryParams

type AdminDeleteUnadoptedRepositoryParams struct {

	/* Owner.

	   owner of the repo
	*/
	Owner string

	/* Repo.

	   name of the repo
	*/
	Repo string

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

AdminDeleteUnadoptedRepositoryParams contains all the parameters to send to the API endpoint

for the admin delete unadopted repository operation.

Typically these are written to a http.Request.

func NewAdminDeleteUnadoptedRepositoryParams

func NewAdminDeleteUnadoptedRepositoryParams() *AdminDeleteUnadoptedRepositoryParams

NewAdminDeleteUnadoptedRepositoryParams creates a new AdminDeleteUnadoptedRepositoryParams 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 NewAdminDeleteUnadoptedRepositoryParamsWithContext

func NewAdminDeleteUnadoptedRepositoryParamsWithContext(ctx context.Context) *AdminDeleteUnadoptedRepositoryParams

NewAdminDeleteUnadoptedRepositoryParamsWithContext creates a new AdminDeleteUnadoptedRepositoryParams object with the ability to set a context for a request.

func NewAdminDeleteUnadoptedRepositoryParamsWithHTTPClient

func NewAdminDeleteUnadoptedRepositoryParamsWithHTTPClient(client *http.Client) *AdminDeleteUnadoptedRepositoryParams

NewAdminDeleteUnadoptedRepositoryParamsWithHTTPClient creates a new AdminDeleteUnadoptedRepositoryParams object with the ability to set a custom HTTPClient for a request.

func NewAdminDeleteUnadoptedRepositoryParamsWithTimeout

func NewAdminDeleteUnadoptedRepositoryParamsWithTimeout(timeout time.Duration) *AdminDeleteUnadoptedRepositoryParams

NewAdminDeleteUnadoptedRepositoryParamsWithTimeout creates a new AdminDeleteUnadoptedRepositoryParams object with the ability to set a timeout on a request.

func (*AdminDeleteUnadoptedRepositoryParams) SetContext

SetContext adds the context to the admin delete unadopted repository params

func (*AdminDeleteUnadoptedRepositoryParams) SetDefaults

func (o *AdminDeleteUnadoptedRepositoryParams) SetDefaults()

SetDefaults hydrates default values in the admin delete unadopted repository params (not the query body).

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

func (*AdminDeleteUnadoptedRepositoryParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the admin delete unadopted repository params

func (*AdminDeleteUnadoptedRepositoryParams) SetOwner

func (o *AdminDeleteUnadoptedRepositoryParams) SetOwner(owner string)

SetOwner adds the owner to the admin delete unadopted repository params

func (*AdminDeleteUnadoptedRepositoryParams) SetRepo

SetRepo adds the repo to the admin delete unadopted repository params

func (*AdminDeleteUnadoptedRepositoryParams) SetTimeout

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

SetTimeout adds the timeout to the admin delete unadopted repository params

func (*AdminDeleteUnadoptedRepositoryParams) WithContext

WithContext adds the context to the admin delete unadopted repository params

func (*AdminDeleteUnadoptedRepositoryParams) WithDefaults

WithDefaults hydrates default values in the admin delete unadopted repository params (not the query body).

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

func (*AdminDeleteUnadoptedRepositoryParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the admin delete unadopted repository params

func (*AdminDeleteUnadoptedRepositoryParams) WithOwner

WithOwner adds the owner to the admin delete unadopted repository params

func (*AdminDeleteUnadoptedRepositoryParams) WithRepo

WithRepo adds the repo to the admin delete unadopted repository params

func (*AdminDeleteUnadoptedRepositoryParams) WithTimeout

WithTimeout adds the timeout to the admin delete unadopted repository params

func (*AdminDeleteUnadoptedRepositoryParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type AdminDeleteUnadoptedRepositoryReader

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

AdminDeleteUnadoptedRepositoryReader is a Reader for the AdminDeleteUnadoptedRepository structure.

func (*AdminDeleteUnadoptedRepositoryReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type AdminDeleteUserBadgesForbidden

type AdminDeleteUserBadgesForbidden struct {
	Message string
	URL     string
}

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

APIForbiddenError is a forbidden error response

func NewAdminDeleteUserBadgesForbidden

func NewAdminDeleteUserBadgesForbidden() *AdminDeleteUserBadgesForbidden

NewAdminDeleteUserBadgesForbidden creates a AdminDeleteUserBadgesForbidden with default headers values

func (*AdminDeleteUserBadgesForbidden) Code

Code gets the status code for the admin delete user badges forbidden response

func (*AdminDeleteUserBadgesForbidden) Error

func (*AdminDeleteUserBadgesForbidden) IsClientError

func (o *AdminDeleteUserBadgesForbidden) IsClientError() bool

IsClientError returns true when this admin delete user badges forbidden response has a 4xx status code

func (*AdminDeleteUserBadgesForbidden) IsCode

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

IsCode returns true when this admin delete user badges forbidden response a status code equal to that given

func (*AdminDeleteUserBadgesForbidden) IsRedirect

func (o *AdminDeleteUserBadgesForbidden) IsRedirect() bool

IsRedirect returns true when this admin delete user badges forbidden response has a 3xx status code

func (*AdminDeleteUserBadgesForbidden) IsServerError

func (o *AdminDeleteUserBadgesForbidden) IsServerError() bool

IsServerError returns true when this admin delete user badges forbidden response has a 5xx status code

func (*AdminDeleteUserBadgesForbidden) IsSuccess

func (o *AdminDeleteUserBadgesForbidden) IsSuccess() bool

IsSuccess returns true when this admin delete user badges forbidden response has a 2xx status code

func (*AdminDeleteUserBadgesForbidden) String

type AdminDeleteUserBadgesNoContent

type AdminDeleteUserBadgesNoContent struct {
}

AdminDeleteUserBadgesNoContent describes a response with status code 204, with default header values.

APIEmpty is an empty response

func NewAdminDeleteUserBadgesNoContent

func NewAdminDeleteUserBadgesNoContent() *AdminDeleteUserBadgesNoContent

NewAdminDeleteUserBadgesNoContent creates a AdminDeleteUserBadgesNoContent with default headers values

func (*AdminDeleteUserBadgesNoContent) Code

Code gets the status code for the admin delete user badges no content response

func (*AdminDeleteUserBadgesNoContent) Error

func (*AdminDeleteUserBadgesNoContent) IsClientError

func (o *AdminDeleteUserBadgesNoContent) IsClientError() bool

IsClientError returns true when this admin delete user badges no content response has a 4xx status code

func (*AdminDeleteUserBadgesNoContent) IsCode

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

IsCode returns true when this admin delete user badges no content response a status code equal to that given

func (*AdminDeleteUserBadgesNoContent) IsRedirect

func (o *AdminDeleteUserBadgesNoContent) IsRedirect() bool

IsRedirect returns true when this admin delete user badges no content response has a 3xx status code

func (*AdminDeleteUserBadgesNoContent) IsServerError

func (o *AdminDeleteUserBadgesNoContent) IsServerError() bool

IsServerError returns true when this admin delete user badges no content response has a 5xx status code

func (*AdminDeleteUserBadgesNoContent) IsSuccess

func (o *AdminDeleteUserBadgesNoContent) IsSuccess() bool

IsSuccess returns true when this admin delete user badges no content response has a 2xx status code

func (*AdminDeleteUserBadgesNoContent) String

type AdminDeleteUserBadgesParams

type AdminDeleteUserBadgesParams struct {

	// Body.
	Body *models.UserBadgeOption

	/* Username.

	   username of user
	*/
	Username string

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

AdminDeleteUserBadgesParams contains all the parameters to send to the API endpoint

for the admin delete user badges operation.

Typically these are written to a http.Request.

func NewAdminDeleteUserBadgesParams

func NewAdminDeleteUserBadgesParams() *AdminDeleteUserBadgesParams

NewAdminDeleteUserBadgesParams creates a new AdminDeleteUserBadgesParams 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 NewAdminDeleteUserBadgesParamsWithContext

func NewAdminDeleteUserBadgesParamsWithContext(ctx context.Context) *AdminDeleteUserBadgesParams

NewAdminDeleteUserBadgesParamsWithContext creates a new AdminDeleteUserBadgesParams object with the ability to set a context for a request.

func NewAdminDeleteUserBadgesParamsWithHTTPClient

func NewAdminDeleteUserBadgesParamsWithHTTPClient(client *http.Client) *AdminDeleteUserBadgesParams

NewAdminDeleteUserBadgesParamsWithHTTPClient creates a new AdminDeleteUserBadgesParams object with the ability to set a custom HTTPClient for a request.

func NewAdminDeleteUserBadgesParamsWithTimeout

func NewAdminDeleteUserBadgesParamsWithTimeout(timeout time.Duration) *AdminDeleteUserBadgesParams

NewAdminDeleteUserBadgesParamsWithTimeout creates a new AdminDeleteUserBadgesParams object with the ability to set a timeout on a request.

func (*AdminDeleteUserBadgesParams) SetBody

SetBody adds the body to the admin delete user badges params

func (*AdminDeleteUserBadgesParams) SetContext

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

SetContext adds the context to the admin delete user badges params

func (*AdminDeleteUserBadgesParams) SetDefaults

func (o *AdminDeleteUserBadgesParams) SetDefaults()

SetDefaults hydrates default values in the admin delete user badges params (not the query body).

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

func (*AdminDeleteUserBadgesParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the admin delete user badges params

func (*AdminDeleteUserBadgesParams) SetTimeout

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

SetTimeout adds the timeout to the admin delete user badges params

func (*AdminDeleteUserBadgesParams) SetUsername

func (o *AdminDeleteUserBadgesParams) SetUsername(username string)

SetUsername adds the username to the admin delete user badges params

func (*AdminDeleteUserBadgesParams) WithBody

WithBody adds the body to the admin delete user badges params

func (*AdminDeleteUserBadgesParams) WithContext

WithContext adds the context to the admin delete user badges params

func (*AdminDeleteUserBadgesParams) WithDefaults

WithDefaults hydrates default values in the admin delete user badges params (not the query body).

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

func (*AdminDeleteUserBadgesParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the admin delete user badges params

func (*AdminDeleteUserBadgesParams) WithTimeout

WithTimeout adds the timeout to the admin delete user badges params

func (*AdminDeleteUserBadgesParams) WithUsername

WithUsername adds the username to the admin delete user badges params

func (*AdminDeleteUserBadgesParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type AdminDeleteUserBadgesReader

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

AdminDeleteUserBadgesReader is a Reader for the AdminDeleteUserBadges structure.

func (*AdminDeleteUserBadgesReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type AdminDeleteUserBadgesUnprocessableEntity

type AdminDeleteUserBadgesUnprocessableEntity struct {
	Message string
	URL     string
}

AdminDeleteUserBadgesUnprocessableEntity describes a response with status code 422, with default header values.

APIValidationError is error format response related to input validation

func NewAdminDeleteUserBadgesUnprocessableEntity

func NewAdminDeleteUserBadgesUnprocessableEntity() *AdminDeleteUserBadgesUnprocessableEntity

NewAdminDeleteUserBadgesUnprocessableEntity creates a AdminDeleteUserBadgesUnprocessableEntity with default headers values

func (*AdminDeleteUserBadgesUnprocessableEntity) Code

Code gets the status code for the admin delete user badges unprocessable entity response

func (*AdminDeleteUserBadgesUnprocessableEntity) Error

func (*AdminDeleteUserBadgesUnprocessableEntity) IsClientError

IsClientError returns true when this admin delete user badges unprocessable entity response has a 4xx status code

func (*AdminDeleteUserBadgesUnprocessableEntity) IsCode

IsCode returns true when this admin delete user badges unprocessable entity response a status code equal to that given

func (*AdminDeleteUserBadgesUnprocessableEntity) IsRedirect

IsRedirect returns true when this admin delete user badges unprocessable entity response has a 3xx status code

func (*AdminDeleteUserBadgesUnprocessableEntity) IsServerError

IsServerError returns true when this admin delete user badges unprocessable entity response has a 5xx status code

func (*AdminDeleteUserBadgesUnprocessableEntity) IsSuccess

IsSuccess returns true when this admin delete user badges unprocessable entity response has a 2xx status code

func (*AdminDeleteUserBadgesUnprocessableEntity) String

type AdminDeleteUserForbidden

type AdminDeleteUserForbidden struct {
	Message string
	URL     string
}

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

APIForbiddenError is a forbidden error response

func NewAdminDeleteUserForbidden

func NewAdminDeleteUserForbidden() *AdminDeleteUserForbidden

NewAdminDeleteUserForbidden creates a AdminDeleteUserForbidden with default headers values

func (*AdminDeleteUserForbidden) Code

func (o *AdminDeleteUserForbidden) Code() int

Code gets the status code for the admin delete user forbidden response

func (*AdminDeleteUserForbidden) Error

func (o *AdminDeleteUserForbidden) Error() string

func (*AdminDeleteUserForbidden) IsClientError

func (o *AdminDeleteUserForbidden) IsClientError() bool

IsClientError returns true when this admin delete user forbidden response has a 4xx status code

func (*AdminDeleteUserForbidden) IsCode

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

IsCode returns true when this admin delete user forbidden response a status code equal to that given

func (*AdminDeleteUserForbidden) IsRedirect

func (o *AdminDeleteUserForbidden) IsRedirect() bool

IsRedirect returns true when this admin delete user forbidden response has a 3xx status code

func (*AdminDeleteUserForbidden) IsServerError

func (o *AdminDeleteUserForbidden) IsServerError() bool

IsServerError returns true when this admin delete user forbidden response has a 5xx status code

func (*AdminDeleteUserForbidden) IsSuccess

func (o *AdminDeleteUserForbidden) IsSuccess() bool

IsSuccess returns true when this admin delete user forbidden response has a 2xx status code

func (*AdminDeleteUserForbidden) String

func (o *AdminDeleteUserForbidden) String() string

type AdminDeleteUserNoContent

type AdminDeleteUserNoContent struct {
}

AdminDeleteUserNoContent describes a response with status code 204, with default header values.

APIEmpty is an empty response

func NewAdminDeleteUserNoContent

func NewAdminDeleteUserNoContent() *AdminDeleteUserNoContent

NewAdminDeleteUserNoContent creates a AdminDeleteUserNoContent with default headers values

func (*AdminDeleteUserNoContent) Code

func (o *AdminDeleteUserNoContent) Code() int

Code gets the status code for the admin delete user no content response

func (*AdminDeleteUserNoContent) Error

func (o *AdminDeleteUserNoContent) Error() string

func (*AdminDeleteUserNoContent) IsClientError

func (o *AdminDeleteUserNoContent) IsClientError() bool

IsClientError returns true when this admin delete user no content response has a 4xx status code

func (*AdminDeleteUserNoContent) IsCode

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

IsCode returns true when this admin delete user no content response a status code equal to that given

func (*AdminDeleteUserNoContent) IsRedirect

func (o *AdminDeleteUserNoContent) IsRedirect() bool

IsRedirect returns true when this admin delete user no content response has a 3xx status code

func (*AdminDeleteUserNoContent) IsServerError

func (o *AdminDeleteUserNoContent) IsServerError() bool

IsServerError returns true when this admin delete user no content response has a 5xx status code

func (*AdminDeleteUserNoContent) IsSuccess

func (o *AdminDeleteUserNoContent) IsSuccess() bool

IsSuccess returns true when this admin delete user no content response has a 2xx status code

func (*AdminDeleteUserNoContent) String

func (o *AdminDeleteUserNoContent) String() string

type AdminDeleteUserNotFound

type AdminDeleteUserNotFound struct {
}

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

APINotFound is a not found empty response

func NewAdminDeleteUserNotFound

func NewAdminDeleteUserNotFound() *AdminDeleteUserNotFound

NewAdminDeleteUserNotFound creates a AdminDeleteUserNotFound with default headers values

func (*AdminDeleteUserNotFound) Code

func (o *AdminDeleteUserNotFound) Code() int

Code gets the status code for the admin delete user not found response

func (*AdminDeleteUserNotFound) Error

func (o *AdminDeleteUserNotFound) Error() string

func (*AdminDeleteUserNotFound) IsClientError

func (o *AdminDeleteUserNotFound) IsClientError() bool

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

func (*AdminDeleteUserNotFound) IsCode

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

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

func (*AdminDeleteUserNotFound) IsRedirect

func (o *AdminDeleteUserNotFound) IsRedirect() bool

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

func (*AdminDeleteUserNotFound) IsServerError

func (o *AdminDeleteUserNotFound) IsServerError() bool

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

func (*AdminDeleteUserNotFound) IsSuccess

func (o *AdminDeleteUserNotFound) IsSuccess() bool

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

func (*AdminDeleteUserNotFound) String

func (o *AdminDeleteUserNotFound) String() string

type AdminDeleteUserParams

type AdminDeleteUserParams struct {

	/* Purge.

	   purge the user from the system completely
	*/
	Purge *bool

	/* Username.

	   username of user to delete
	*/
	Username string

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

AdminDeleteUserParams contains all the parameters to send to the API endpoint

for the admin delete user operation.

Typically these are written to a http.Request.

func NewAdminDeleteUserParams

func NewAdminDeleteUserParams() *AdminDeleteUserParams

NewAdminDeleteUserParams creates a new AdminDeleteUserParams 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 NewAdminDeleteUserParamsWithContext

func NewAdminDeleteUserParamsWithContext(ctx context.Context) *AdminDeleteUserParams

NewAdminDeleteUserParamsWithContext creates a new AdminDeleteUserParams object with the ability to set a context for a request.

func NewAdminDeleteUserParamsWithHTTPClient

func NewAdminDeleteUserParamsWithHTTPClient(client *http.Client) *AdminDeleteUserParams

NewAdminDeleteUserParamsWithHTTPClient creates a new AdminDeleteUserParams object with the ability to set a custom HTTPClient for a request.

func NewAdminDeleteUserParamsWithTimeout

func NewAdminDeleteUserParamsWithTimeout(timeout time.Duration) *AdminDeleteUserParams

NewAdminDeleteUserParamsWithTimeout creates a new AdminDeleteUserParams object with the ability to set a timeout on a request.

func (*AdminDeleteUserParams) SetContext

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

SetContext adds the context to the admin delete user params

func (*AdminDeleteUserParams) SetDefaults

func (o *AdminDeleteUserParams) SetDefaults()

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

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

func (*AdminDeleteUserParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the admin delete user params

func (*AdminDeleteUserParams) SetPurge

func (o *AdminDeleteUserParams) SetPurge(purge *bool)

SetPurge adds the purge to the admin delete user params

func (*AdminDeleteUserParams) SetTimeout

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

SetTimeout adds the timeout to the admin delete user params

func (*AdminDeleteUserParams) SetUsername

func (o *AdminDeleteUserParams) SetUsername(username string)

SetUsername adds the username to the admin delete user params

func (*AdminDeleteUserParams) WithContext

WithContext adds the context to the admin delete user params

func (*AdminDeleteUserParams) WithDefaults

func (o *AdminDeleteUserParams) WithDefaults() *AdminDeleteUserParams

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

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

func (*AdminDeleteUserParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the admin delete user params

func (*AdminDeleteUserParams) WithPurge

func (o *AdminDeleteUserParams) WithPurge(purge *bool) *AdminDeleteUserParams

WithPurge adds the purge to the admin delete user params

func (*AdminDeleteUserParams) WithTimeout

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

WithTimeout adds the timeout to the admin delete user params

func (*AdminDeleteUserParams) WithUsername

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

WithUsername adds the username to the admin delete user params

func (*AdminDeleteUserParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type AdminDeleteUserPublicKeyForbidden

type AdminDeleteUserPublicKeyForbidden struct {
	Message string
	URL     string
}

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

APIForbiddenError is a forbidden error response

func NewAdminDeleteUserPublicKeyForbidden

func NewAdminDeleteUserPublicKeyForbidden() *AdminDeleteUserPublicKeyForbidden

NewAdminDeleteUserPublicKeyForbidden creates a AdminDeleteUserPublicKeyForbidden with default headers values

func (*AdminDeleteUserPublicKeyForbidden) Code

Code gets the status code for the admin delete user public key forbidden response

func (*AdminDeleteUserPublicKeyForbidden) Error

func (*AdminDeleteUserPublicKeyForbidden) IsClientError

func (o *AdminDeleteUserPublicKeyForbidden) IsClientError() bool

IsClientError returns true when this admin delete user public key forbidden response has a 4xx status code

func (*AdminDeleteUserPublicKeyForbidden) IsCode

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

IsCode returns true when this admin delete user public key forbidden response a status code equal to that given

func (*AdminDeleteUserPublicKeyForbidden) IsRedirect

func (o *AdminDeleteUserPublicKeyForbidden) IsRedirect() bool

IsRedirect returns true when this admin delete user public key forbidden response has a 3xx status code

func (*AdminDeleteUserPublicKeyForbidden) IsServerError

func (o *AdminDeleteUserPublicKeyForbidden) IsServerError() bool

IsServerError returns true when this admin delete user public key forbidden response has a 5xx status code

func (*AdminDeleteUserPublicKeyForbidden) IsSuccess

func (o *AdminDeleteUserPublicKeyForbidden) IsSuccess() bool

IsSuccess returns true when this admin delete user public key forbidden response has a 2xx status code

func (*AdminDeleteUserPublicKeyForbidden) String

type AdminDeleteUserPublicKeyNoContent

type AdminDeleteUserPublicKeyNoContent struct {
}

AdminDeleteUserPublicKeyNoContent describes a response with status code 204, with default header values.

APIEmpty is an empty response

func NewAdminDeleteUserPublicKeyNoContent

func NewAdminDeleteUserPublicKeyNoContent() *AdminDeleteUserPublicKeyNoContent

NewAdminDeleteUserPublicKeyNoContent creates a AdminDeleteUserPublicKeyNoContent with default headers values

func (*AdminDeleteUserPublicKeyNoContent) Code

Code gets the status code for the admin delete user public key no content response

func (*AdminDeleteUserPublicKeyNoContent) Error

func (*AdminDeleteUserPublicKeyNoContent) IsClientError

func (o *AdminDeleteUserPublicKeyNoContent) IsClientError() bool

IsClientError returns true when this admin delete user public key no content response has a 4xx status code

func (*AdminDeleteUserPublicKeyNoContent) IsCode

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

IsCode returns true when this admin delete user public key no content response a status code equal to that given

func (*AdminDeleteUserPublicKeyNoContent) IsRedirect

func (o *AdminDeleteUserPublicKeyNoContent) IsRedirect() bool

IsRedirect returns true when this admin delete user public key no content response has a 3xx status code

func (*AdminDeleteUserPublicKeyNoContent) IsServerError

func (o *AdminDeleteUserPublicKeyNoContent) IsServerError() bool

IsServerError returns true when this admin delete user public key no content response has a 5xx status code

func (*AdminDeleteUserPublicKeyNoContent) IsSuccess

func (o *AdminDeleteUserPublicKeyNoContent) IsSuccess() bool

IsSuccess returns true when this admin delete user public key no content response has a 2xx status code

func (*AdminDeleteUserPublicKeyNoContent) String

type AdminDeleteUserPublicKeyNotFound

type AdminDeleteUserPublicKeyNotFound struct {
}

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

APINotFound is a not found empty response

func NewAdminDeleteUserPublicKeyNotFound

func NewAdminDeleteUserPublicKeyNotFound() *AdminDeleteUserPublicKeyNotFound

NewAdminDeleteUserPublicKeyNotFound creates a AdminDeleteUserPublicKeyNotFound with default headers values

func (*AdminDeleteUserPublicKeyNotFound) Code

Code gets the status code for the admin delete user public key not found response

func (*AdminDeleteUserPublicKeyNotFound) Error

func (*AdminDeleteUserPublicKeyNotFound) IsClientError

func (o *AdminDeleteUserPublicKeyNotFound) IsClientError() bool

IsClientError returns true when this admin delete user public key not found response has a 4xx status code

func (*AdminDeleteUserPublicKeyNotFound) IsCode

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

IsCode returns true when this admin delete user public key not found response a status code equal to that given

func (*AdminDeleteUserPublicKeyNotFound) IsRedirect

func (o *AdminDeleteUserPublicKeyNotFound) IsRedirect() bool

IsRedirect returns true when this admin delete user public key not found response has a 3xx status code

func (*AdminDeleteUserPublicKeyNotFound) IsServerError

func (o *AdminDeleteUserPublicKeyNotFound) IsServerError() bool

IsServerError returns true when this admin delete user public key not found response has a 5xx status code

func (*AdminDeleteUserPublicKeyNotFound) IsSuccess

func (o *AdminDeleteUserPublicKeyNotFound) IsSuccess() bool

IsSuccess returns true when this admin delete user public key not found response has a 2xx status code

func (*AdminDeleteUserPublicKeyNotFound) String

type AdminDeleteUserPublicKeyParams

type AdminDeleteUserPublicKeyParams struct {

	/* ID.

	   id of the key to delete

	   Format: int64
	*/
	ID int64

	/* Username.

	   username of user
	*/
	Username string

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

AdminDeleteUserPublicKeyParams contains all the parameters to send to the API endpoint

for the admin delete user public key operation.

Typically these are written to a http.Request.

func NewAdminDeleteUserPublicKeyParams

func NewAdminDeleteUserPublicKeyParams() *AdminDeleteUserPublicKeyParams

NewAdminDeleteUserPublicKeyParams creates a new AdminDeleteUserPublicKeyParams 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 NewAdminDeleteUserPublicKeyParamsWithContext

func NewAdminDeleteUserPublicKeyParamsWithContext(ctx context.Context) *AdminDeleteUserPublicKeyParams

NewAdminDeleteUserPublicKeyParamsWithContext creates a new AdminDeleteUserPublicKeyParams object with the ability to set a context for a request.

func NewAdminDeleteUserPublicKeyParamsWithHTTPClient

func NewAdminDeleteUserPublicKeyParamsWithHTTPClient(client *http.Client) *AdminDeleteUserPublicKeyParams

NewAdminDeleteUserPublicKeyParamsWithHTTPClient creates a new AdminDeleteUserPublicKeyParams object with the ability to set a custom HTTPClient for a request.

func NewAdminDeleteUserPublicKeyParamsWithTimeout

func NewAdminDeleteUserPublicKeyParamsWithTimeout(timeout time.Duration) *AdminDeleteUserPublicKeyParams

NewAdminDeleteUserPublicKeyParamsWithTimeout creates a new AdminDeleteUserPublicKeyParams object with the ability to set a timeout on a request.

func (*AdminDeleteUserPublicKeyParams) SetContext

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

SetContext adds the context to the admin delete user public key params

func (*AdminDeleteUserPublicKeyParams) SetDefaults

func (o *AdminDeleteUserPublicKeyParams) SetDefaults()

SetDefaults hydrates default values in the admin delete user public key params (not the query body).

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

func (*AdminDeleteUserPublicKeyParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the admin delete user public key params

func (*AdminDeleteUserPublicKeyParams) SetID

SetID adds the id to the admin delete user public key params

func (*AdminDeleteUserPublicKeyParams) SetTimeout

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

SetTimeout adds the timeout to the admin delete user public key params

func (*AdminDeleteUserPublicKeyParams) SetUsername

func (o *AdminDeleteUserPublicKeyParams) SetUsername(username string)

SetUsername adds the username to the admin delete user public key params

func (*AdminDeleteUserPublicKeyParams) WithContext

WithContext adds the context to the admin delete user public key params

func (*AdminDeleteUserPublicKeyParams) WithDefaults

WithDefaults hydrates default values in the admin delete user public key params (not the query body).

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

func (*AdminDeleteUserPublicKeyParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the admin delete user public key params

func (*AdminDeleteUserPublicKeyParams) WithID

WithID adds the id to the admin delete user public key params

func (*AdminDeleteUserPublicKeyParams) WithTimeout

WithTimeout adds the timeout to the admin delete user public key params

func (*AdminDeleteUserPublicKeyParams) WithUsername

WithUsername adds the username to the admin delete user public key params

func (*AdminDeleteUserPublicKeyParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type AdminDeleteUserPublicKeyReader

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

AdminDeleteUserPublicKeyReader is a Reader for the AdminDeleteUserPublicKey structure.

func (*AdminDeleteUserPublicKeyReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type AdminDeleteUserReader

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

AdminDeleteUserReader is a Reader for the AdminDeleteUser structure.

func (*AdminDeleteUserReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type AdminDeleteUserUnprocessableEntity

type AdminDeleteUserUnprocessableEntity struct {
	Message string
	URL     string
}

AdminDeleteUserUnprocessableEntity describes a response with status code 422, with default header values.

APIValidationError is error format response related to input validation

func NewAdminDeleteUserUnprocessableEntity

func NewAdminDeleteUserUnprocessableEntity() *AdminDeleteUserUnprocessableEntity

NewAdminDeleteUserUnprocessableEntity creates a AdminDeleteUserUnprocessableEntity with default headers values

func (*AdminDeleteUserUnprocessableEntity) Code

Code gets the status code for the admin delete user unprocessable entity response

func (*AdminDeleteUserUnprocessableEntity) Error

func (*AdminDeleteUserUnprocessableEntity) IsClientError

func (o *AdminDeleteUserUnprocessableEntity) IsClientError() bool

IsClientError returns true when this admin delete user unprocessable entity response has a 4xx status code

func (*AdminDeleteUserUnprocessableEntity) IsCode

IsCode returns true when this admin delete user unprocessable entity response a status code equal to that given

func (*AdminDeleteUserUnprocessableEntity) IsRedirect

func (o *AdminDeleteUserUnprocessableEntity) IsRedirect() bool

IsRedirect returns true when this admin delete user unprocessable entity response has a 3xx status code

func (*AdminDeleteUserUnprocessableEntity) IsServerError

func (o *AdminDeleteUserUnprocessableEntity) IsServerError() bool

IsServerError returns true when this admin delete user unprocessable entity response has a 5xx status code

func (*AdminDeleteUserUnprocessableEntity) IsSuccess

IsSuccess returns true when this admin delete user unprocessable entity response has a 2xx status code

func (*AdminDeleteUserUnprocessableEntity) String

type AdminEditHookOK

type AdminEditHookOK struct {
	Payload *models.Hook
}

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

Hook

func NewAdminEditHookOK

func NewAdminEditHookOK() *AdminEditHookOK

NewAdminEditHookOK creates a AdminEditHookOK with default headers values

func (*AdminEditHookOK) Code

func (o *AdminEditHookOK) Code() int

Code gets the status code for the admin edit hook o k response

func (*AdminEditHookOK) Error

func (o *AdminEditHookOK) Error() string

func (*AdminEditHookOK) GetPayload

func (o *AdminEditHookOK) GetPayload() *models.Hook

func (*AdminEditHookOK) IsClientError

func (o *AdminEditHookOK) IsClientError() bool

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

func (*AdminEditHookOK) IsCode

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

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

func (*AdminEditHookOK) IsRedirect

func (o *AdminEditHookOK) IsRedirect() bool

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

func (*AdminEditHookOK) IsServerError

func (o *AdminEditHookOK) IsServerError() bool

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

func (*AdminEditHookOK) IsSuccess

func (o *AdminEditHookOK) IsSuccess() bool

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

func (*AdminEditHookOK) String

func (o *AdminEditHookOK) String() string

type AdminEditHookParams

type AdminEditHookParams struct {

	// Body.
	Body *models.EditHookOption

	/* ID.

	   id of the hook to update

	   Format: int64
	*/
	ID int64

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

AdminEditHookParams contains all the parameters to send to the API endpoint

for the admin edit hook operation.

Typically these are written to a http.Request.

func NewAdminEditHookParams

func NewAdminEditHookParams() *AdminEditHookParams

NewAdminEditHookParams creates a new AdminEditHookParams 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 NewAdminEditHookParamsWithContext

func NewAdminEditHookParamsWithContext(ctx context.Context) *AdminEditHookParams

NewAdminEditHookParamsWithContext creates a new AdminEditHookParams object with the ability to set a context for a request.

func NewAdminEditHookParamsWithHTTPClient

func NewAdminEditHookParamsWithHTTPClient(client *http.Client) *AdminEditHookParams

NewAdminEditHookParamsWithHTTPClient creates a new AdminEditHookParams object with the ability to set a custom HTTPClient for a request.

func NewAdminEditHookParamsWithTimeout

func NewAdminEditHookParamsWithTimeout(timeout time.Duration) *AdminEditHookParams

NewAdminEditHookParamsWithTimeout creates a new AdminEditHookParams object with the ability to set a timeout on a request.

func (*AdminEditHookParams) SetBody

func (o *AdminEditHookParams) SetBody(body *models.EditHookOption)

SetBody adds the body to the admin edit hook params

func (*AdminEditHookParams) SetContext

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

SetContext adds the context to the admin edit hook params

func (*AdminEditHookParams) SetDefaults

func (o *AdminEditHookParams) SetDefaults()

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

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

func (*AdminEditHookParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the admin edit hook params

func (*AdminEditHookParams) SetID

func (o *AdminEditHookParams) SetID(id int64)

SetID adds the id to the admin edit hook params

func (*AdminEditHookParams) SetTimeout

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

SetTimeout adds the timeout to the admin edit hook params

func (*AdminEditHookParams) WithBody

WithBody adds the body to the admin edit hook params

func (*AdminEditHookParams) WithContext

WithContext adds the context to the admin edit hook params

func (*AdminEditHookParams) WithDefaults

func (o *AdminEditHookParams) WithDefaults() *AdminEditHookParams

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

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

func (*AdminEditHookParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the admin edit hook params

func (*AdminEditHookParams) WithID

WithID adds the id to the admin edit hook params

func (*AdminEditHookParams) WithTimeout

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

WithTimeout adds the timeout to the admin edit hook params

func (*AdminEditHookParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type AdminEditHookReader

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

AdminEditHookReader is a Reader for the AdminEditHook structure.

func (*AdminEditHookReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type AdminEditUserBadRequest

type AdminEditUserBadRequest struct {
	Message string
	URL     string
}

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

APIError is error format response

func NewAdminEditUserBadRequest

func NewAdminEditUserBadRequest() *AdminEditUserBadRequest

NewAdminEditUserBadRequest creates a AdminEditUserBadRequest with default headers values

func (*AdminEditUserBadRequest) Code

func (o *AdminEditUserBadRequest) Code() int

Code gets the status code for the admin edit user bad request response

func (*AdminEditUserBadRequest) Error

func (o *AdminEditUserBadRequest) Error() string

func (*AdminEditUserBadRequest) IsClientError

func (o *AdminEditUserBadRequest) IsClientError() bool

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

func (*AdminEditUserBadRequest) IsCode

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

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

func (*AdminEditUserBadRequest) IsRedirect

func (o *AdminEditUserBadRequest) IsRedirect() bool

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

func (*AdminEditUserBadRequest) IsServerError

func (o *AdminEditUserBadRequest) IsServerError() bool

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

func (*AdminEditUserBadRequest) IsSuccess

func (o *AdminEditUserBadRequest) IsSuccess() bool

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

func (*AdminEditUserBadRequest) String

func (o *AdminEditUserBadRequest) String() string

type AdminEditUserForbidden

type AdminEditUserForbidden struct {
	Message string
	URL     string
}

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

APIForbiddenError is a forbidden error response

func NewAdminEditUserForbidden

func NewAdminEditUserForbidden() *AdminEditUserForbidden

NewAdminEditUserForbidden creates a AdminEditUserForbidden with default headers values

func (*AdminEditUserForbidden) Code

func (o *AdminEditUserForbidden) Code() int

Code gets the status code for the admin edit user forbidden response

func (*AdminEditUserForbidden) Error

func (o *AdminEditUserForbidden) Error() string

func (*AdminEditUserForbidden) IsClientError

func (o *AdminEditUserForbidden) IsClientError() bool

IsClientError returns true when this admin edit user forbidden response has a 4xx status code

func (*AdminEditUserForbidden) IsCode

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

IsCode returns true when this admin edit user forbidden response a status code equal to that given

func (*AdminEditUserForbidden) IsRedirect

func (o *AdminEditUserForbidden) IsRedirect() bool

IsRedirect returns true when this admin edit user forbidden response has a 3xx status code

func (*AdminEditUserForbidden) IsServerError

func (o *AdminEditUserForbidden) IsServerError() bool

IsServerError returns true when this admin edit user forbidden response has a 5xx status code

func (*AdminEditUserForbidden) IsSuccess

func (o *AdminEditUserForbidden) IsSuccess() bool

IsSuccess returns true when this admin edit user forbidden response has a 2xx status code

func (*AdminEditUserForbidden) String

func (o *AdminEditUserForbidden) String() string

type AdminEditUserOK

type AdminEditUserOK struct {
	Payload *models.User
}

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

User

func NewAdminEditUserOK

func NewAdminEditUserOK() *AdminEditUserOK

NewAdminEditUserOK creates a AdminEditUserOK with default headers values

func (*AdminEditUserOK) Code

func (o *AdminEditUserOK) Code() int

Code gets the status code for the admin edit user o k response

func (*AdminEditUserOK) Error

func (o *AdminEditUserOK) Error() string

func (*AdminEditUserOK) GetPayload

func (o *AdminEditUserOK) GetPayload() *models.User

func (*AdminEditUserOK) IsClientError

func (o *AdminEditUserOK) IsClientError() bool

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

func (*AdminEditUserOK) IsCode

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

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

func (*AdminEditUserOK) IsRedirect

func (o *AdminEditUserOK) IsRedirect() bool

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

func (*AdminEditUserOK) IsServerError

func (o *AdminEditUserOK) IsServerError() bool

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

func (*AdminEditUserOK) IsSuccess

func (o *AdminEditUserOK) IsSuccess() bool

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

func (*AdminEditUserOK) String

func (o *AdminEditUserOK) String() string

type AdminEditUserParams

type AdminEditUserParams struct {

	// Body.
	Body *models.EditUserOption

	/* Username.

	   username of user to edit
	*/
	Username string

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

AdminEditUserParams contains all the parameters to send to the API endpoint

for the admin edit user operation.

Typically these are written to a http.Request.

func NewAdminEditUserParams

func NewAdminEditUserParams() *AdminEditUserParams

NewAdminEditUserParams creates a new AdminEditUserParams 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 NewAdminEditUserParamsWithContext

func NewAdminEditUserParamsWithContext(ctx context.Context) *AdminEditUserParams

NewAdminEditUserParamsWithContext creates a new AdminEditUserParams object with the ability to set a context for a request.

func NewAdminEditUserParamsWithHTTPClient

func NewAdminEditUserParamsWithHTTPClient(client *http.Client) *AdminEditUserParams

NewAdminEditUserParamsWithHTTPClient creates a new AdminEditUserParams object with the ability to set a custom HTTPClient for a request.

func NewAdminEditUserParamsWithTimeout

func NewAdminEditUserParamsWithTimeout(timeout time.Duration) *AdminEditUserParams

NewAdminEditUserParamsWithTimeout creates a new AdminEditUserParams object with the ability to set a timeout on a request.

func (*AdminEditUserParams) SetBody

func (o *AdminEditUserParams) SetBody(body *models.EditUserOption)

SetBody adds the body to the admin edit user params

func (*AdminEditUserParams) SetContext

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

SetContext adds the context to the admin edit user params

func (*AdminEditUserParams) SetDefaults

func (o *AdminEditUserParams) SetDefaults()

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

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

func (*AdminEditUserParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the admin edit user params

func (*AdminEditUserParams) SetTimeout

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

SetTimeout adds the timeout to the admin edit user params

func (*AdminEditUserParams) SetUsername

func (o *AdminEditUserParams) SetUsername(username string)

SetUsername adds the username to the admin edit user params

func (*AdminEditUserParams) WithBody

WithBody adds the body to the admin edit user params

func (*AdminEditUserParams) WithContext

WithContext adds the context to the admin edit user params

func (*AdminEditUserParams) WithDefaults

func (o *AdminEditUserParams) WithDefaults() *AdminEditUserParams

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

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

func (*AdminEditUserParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the admin edit user params

func (*AdminEditUserParams) WithTimeout

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

WithTimeout adds the timeout to the admin edit user params

func (*AdminEditUserParams) WithUsername

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

WithUsername adds the username to the admin edit user params

func (*AdminEditUserParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type AdminEditUserReader

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

AdminEditUserReader is a Reader for the AdminEditUser structure.

func (*AdminEditUserReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type AdminEditUserUnprocessableEntity

type AdminEditUserUnprocessableEntity struct {
	Message string
	URL     string
}

AdminEditUserUnprocessableEntity describes a response with status code 422, with default header values.

APIValidationError is error format response related to input validation

func NewAdminEditUserUnprocessableEntity

func NewAdminEditUserUnprocessableEntity() *AdminEditUserUnprocessableEntity

NewAdminEditUserUnprocessableEntity creates a AdminEditUserUnprocessableEntity with default headers values

func (*AdminEditUserUnprocessableEntity) Code

Code gets the status code for the admin edit user unprocessable entity response

func (*AdminEditUserUnprocessableEntity) Error

func (*AdminEditUserUnprocessableEntity) IsClientError

func (o *AdminEditUserUnprocessableEntity) IsClientError() bool

IsClientError returns true when this admin edit user unprocessable entity response has a 4xx status code

func (*AdminEditUserUnprocessableEntity) IsCode

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

IsCode returns true when this admin edit user unprocessable entity response a status code equal to that given

func (*AdminEditUserUnprocessableEntity) IsRedirect

func (o *AdminEditUserUnprocessableEntity) IsRedirect() bool

IsRedirect returns true when this admin edit user unprocessable entity response has a 3xx status code

func (*AdminEditUserUnprocessableEntity) IsServerError

func (o *AdminEditUserUnprocessableEntity) IsServerError() bool

IsServerError returns true when this admin edit user unprocessable entity response has a 5xx status code

func (*AdminEditUserUnprocessableEntity) IsSuccess

func (o *AdminEditUserUnprocessableEntity) IsSuccess() bool

IsSuccess returns true when this admin edit user unprocessable entity response has a 2xx status code

func (*AdminEditUserUnprocessableEntity) String

type AdminGetAllEmailsForbidden

type AdminGetAllEmailsForbidden struct {
	Message string
	URL     string
}

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

APIForbiddenError is a forbidden error response

func NewAdminGetAllEmailsForbidden

func NewAdminGetAllEmailsForbidden() *AdminGetAllEmailsForbidden

NewAdminGetAllEmailsForbidden creates a AdminGetAllEmailsForbidden with default headers values

func (*AdminGetAllEmailsForbidden) Code

func (o *AdminGetAllEmailsForbidden) Code() int

Code gets the status code for the admin get all emails forbidden response

func (*AdminGetAllEmailsForbidden) Error

func (*AdminGetAllEmailsForbidden) IsClientError

func (o *AdminGetAllEmailsForbidden) IsClientError() bool

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

func (*AdminGetAllEmailsForbidden) IsCode

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

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

func (*AdminGetAllEmailsForbidden) IsRedirect

func (o *AdminGetAllEmailsForbidden) IsRedirect() bool

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

func (*AdminGetAllEmailsForbidden) IsServerError

func (o *AdminGetAllEmailsForbidden) IsServerError() bool

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

func (*AdminGetAllEmailsForbidden) IsSuccess

func (o *AdminGetAllEmailsForbidden) IsSuccess() bool

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

func (*AdminGetAllEmailsForbidden) String

func (o *AdminGetAllEmailsForbidden) String() string

type AdminGetAllEmailsOK

type AdminGetAllEmailsOK struct {
	Payload []*models.Email
}

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

EmailList

func NewAdminGetAllEmailsOK

func NewAdminGetAllEmailsOK() *AdminGetAllEmailsOK

NewAdminGetAllEmailsOK creates a AdminGetAllEmailsOK with default headers values

func (*AdminGetAllEmailsOK) Code

func (o *AdminGetAllEmailsOK) Code() int

Code gets the status code for the admin get all emails o k response

func (*AdminGetAllEmailsOK) Error

func (o *AdminGetAllEmailsOK) Error() string

func (*AdminGetAllEmailsOK) GetPayload

func (o *AdminGetAllEmailsOK) GetPayload() []*models.Email

func (*AdminGetAllEmailsOK) IsClientError

func (o *AdminGetAllEmailsOK) IsClientError() bool

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

func (*AdminGetAllEmailsOK) IsCode

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

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

func (*AdminGetAllEmailsOK) IsRedirect

func (o *AdminGetAllEmailsOK) IsRedirect() bool

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

func (*AdminGetAllEmailsOK) IsServerError

func (o *AdminGetAllEmailsOK) IsServerError() bool

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

func (*AdminGetAllEmailsOK) IsSuccess

func (o *AdminGetAllEmailsOK) IsSuccess() bool

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

func (*AdminGetAllEmailsOK) String

func (o *AdminGetAllEmailsOK) String() string

type AdminGetAllEmailsParams

type AdminGetAllEmailsParams struct {

	/* Limit.

	   page size of results
	*/
	Limit *int64

	/* Page.

	   page number of results to return (1-based)
	*/
	Page *int64

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

AdminGetAllEmailsParams contains all the parameters to send to the API endpoint

for the admin get all emails operation.

Typically these are written to a http.Request.

func NewAdminGetAllEmailsParams

func NewAdminGetAllEmailsParams() *AdminGetAllEmailsParams

NewAdminGetAllEmailsParams creates a new AdminGetAllEmailsParams 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 NewAdminGetAllEmailsParamsWithContext

func NewAdminGetAllEmailsParamsWithContext(ctx context.Context) *AdminGetAllEmailsParams

NewAdminGetAllEmailsParamsWithContext creates a new AdminGetAllEmailsParams object with the ability to set a context for a request.

func NewAdminGetAllEmailsParamsWithHTTPClient

func NewAdminGetAllEmailsParamsWithHTTPClient(client *http.Client) *AdminGetAllEmailsParams

NewAdminGetAllEmailsParamsWithHTTPClient creates a new AdminGetAllEmailsParams object with the ability to set a custom HTTPClient for a request.

func NewAdminGetAllEmailsParamsWithTimeout

func NewAdminGetAllEmailsParamsWithTimeout(timeout time.Duration) *AdminGetAllEmailsParams

NewAdminGetAllEmailsParamsWithTimeout creates a new AdminGetAllEmailsParams object with the ability to set a timeout on a request.

func (*AdminGetAllEmailsParams) SetContext

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

SetContext adds the context to the admin get all emails params

func (*AdminGetAllEmailsParams) SetDefaults

func (o *AdminGetAllEmailsParams) SetDefaults()

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

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

func (*AdminGetAllEmailsParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the admin get all emails params

func (*AdminGetAllEmailsParams) SetLimit

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

SetLimit adds the limit to the admin get all emails params

func (*AdminGetAllEmailsParams) SetPage

func (o *AdminGetAllEmailsParams) SetPage(page *int64)

SetPage adds the page to the admin get all emails params

func (*AdminGetAllEmailsParams) SetTimeout

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

SetTimeout adds the timeout to the admin get all emails params

func (*AdminGetAllEmailsParams) WithContext

WithContext adds the context to the admin get all emails params

func (*AdminGetAllEmailsParams) WithDefaults

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

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

func (*AdminGetAllEmailsParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the admin get all emails params

func (*AdminGetAllEmailsParams) WithLimit

WithLimit adds the limit to the admin get all emails params

func (*AdminGetAllEmailsParams) WithPage

WithPage adds the page to the admin get all emails params

func (*AdminGetAllEmailsParams) WithTimeout

WithTimeout adds the timeout to the admin get all emails params

func (*AdminGetAllEmailsParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type AdminGetAllEmailsReader

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

AdminGetAllEmailsReader is a Reader for the AdminGetAllEmails structure.

func (*AdminGetAllEmailsReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type AdminGetAllOrgsForbidden

type AdminGetAllOrgsForbidden struct {
	Message string
	URL     string
}

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

APIForbiddenError is a forbidden error response

func NewAdminGetAllOrgsForbidden

func NewAdminGetAllOrgsForbidden() *AdminGetAllOrgsForbidden

NewAdminGetAllOrgsForbidden creates a AdminGetAllOrgsForbidden with default headers values

func (*AdminGetAllOrgsForbidden) Code

func (o *AdminGetAllOrgsForbidden) Code() int

Code gets the status code for the admin get all orgs forbidden response

func (*AdminGetAllOrgsForbidden) Error

func (o *AdminGetAllOrgsForbidden) Error() string

func (*AdminGetAllOrgsForbidden) IsClientError

func (o *AdminGetAllOrgsForbidden) IsClientError() bool

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

func (*AdminGetAllOrgsForbidden) IsCode

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

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

func (*AdminGetAllOrgsForbidden) IsRedirect

func (o *AdminGetAllOrgsForbidden) IsRedirect() bool

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

func (*AdminGetAllOrgsForbidden) IsServerError

func (o *AdminGetAllOrgsForbidden) IsServerError() bool

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

func (*AdminGetAllOrgsForbidden) IsSuccess

func (o *AdminGetAllOrgsForbidden) IsSuccess() bool

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

func (*AdminGetAllOrgsForbidden) String

func (o *AdminGetAllOrgsForbidden) String() string

type AdminGetAllOrgsOK

type AdminGetAllOrgsOK struct {
	Payload []*models.Organization
}

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

OrganizationList

func NewAdminGetAllOrgsOK

func NewAdminGetAllOrgsOK() *AdminGetAllOrgsOK

NewAdminGetAllOrgsOK creates a AdminGetAllOrgsOK with default headers values

func (*AdminGetAllOrgsOK) Code

func (o *AdminGetAllOrgsOK) Code() int

Code gets the status code for the admin get all orgs o k response

func (*AdminGetAllOrgsOK) Error

func (o *AdminGetAllOrgsOK) Error() string

func (*AdminGetAllOrgsOK) GetPayload

func (o *AdminGetAllOrgsOK) GetPayload() []*models.Organization

func (*AdminGetAllOrgsOK) IsClientError

func (o *AdminGetAllOrgsOK) IsClientError() bool

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

func (*AdminGetAllOrgsOK) IsCode

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

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

func (*AdminGetAllOrgsOK) IsRedirect

func (o *AdminGetAllOrgsOK) IsRedirect() bool

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

func (*AdminGetAllOrgsOK) IsServerError

func (o *AdminGetAllOrgsOK) IsServerError() bool

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

func (*AdminGetAllOrgsOK) IsSuccess

func (o *AdminGetAllOrgsOK) IsSuccess() bool

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

func (*AdminGetAllOrgsOK) String

func (o *AdminGetAllOrgsOK) String() string

type AdminGetAllOrgsParams

type AdminGetAllOrgsParams struct {

	/* Limit.

	   page size of results
	*/
	Limit *int64

	/* Page.

	   page number of results to return (1-based)
	*/
	Page *int64

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

AdminGetAllOrgsParams contains all the parameters to send to the API endpoint

for the admin get all orgs operation.

Typically these are written to a http.Request.

func NewAdminGetAllOrgsParams

func NewAdminGetAllOrgsParams() *AdminGetAllOrgsParams

NewAdminGetAllOrgsParams creates a new AdminGetAllOrgsParams 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 NewAdminGetAllOrgsParamsWithContext

func NewAdminGetAllOrgsParamsWithContext(ctx context.Context) *AdminGetAllOrgsParams

NewAdminGetAllOrgsParamsWithContext creates a new AdminGetAllOrgsParams object with the ability to set a context for a request.

func NewAdminGetAllOrgsParamsWithHTTPClient

func NewAdminGetAllOrgsParamsWithHTTPClient(client *http.Client) *AdminGetAllOrgsParams

NewAdminGetAllOrgsParamsWithHTTPClient creates a new AdminGetAllOrgsParams object with the ability to set a custom HTTPClient for a request.

func NewAdminGetAllOrgsParamsWithTimeout

func NewAdminGetAllOrgsParamsWithTimeout(timeout time.Duration) *AdminGetAllOrgsParams

NewAdminGetAllOrgsParamsWithTimeout creates a new AdminGetAllOrgsParams object with the ability to set a timeout on a request.

func (*AdminGetAllOrgsParams) SetContext

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

SetContext adds the context to the admin get all orgs params

func (*AdminGetAllOrgsParams) SetDefaults

func (o *AdminGetAllOrgsParams) SetDefaults()

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

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

func (*AdminGetAllOrgsParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the admin get all orgs params

func (*AdminGetAllOrgsParams) SetLimit

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

SetLimit adds the limit to the admin get all orgs params

func (*AdminGetAllOrgsParams) SetPage

func (o *AdminGetAllOrgsParams) SetPage(page *int64)

SetPage adds the page to the admin get all orgs params

func (*AdminGetAllOrgsParams) SetTimeout

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

SetTimeout adds the timeout to the admin get all orgs params

func (*AdminGetAllOrgsParams) WithContext

WithContext adds the context to the admin get all orgs params

func (*AdminGetAllOrgsParams) WithDefaults

func (o *AdminGetAllOrgsParams) WithDefaults() *AdminGetAllOrgsParams

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

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

func (*AdminGetAllOrgsParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the admin get all orgs params

func (*AdminGetAllOrgsParams) WithLimit

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

WithLimit adds the limit to the admin get all orgs params

func (*AdminGetAllOrgsParams) WithPage

WithPage adds the page to the admin get all orgs params

func (*AdminGetAllOrgsParams) WithTimeout

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

WithTimeout adds the timeout to the admin get all orgs params

func (*AdminGetAllOrgsParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type AdminGetAllOrgsReader

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

AdminGetAllOrgsReader is a Reader for the AdminGetAllOrgs structure.

func (*AdminGetAllOrgsReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type AdminGetHookOK

type AdminGetHookOK struct {
	Payload *models.Hook
}

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

Hook

func NewAdminGetHookOK

func NewAdminGetHookOK() *AdminGetHookOK

NewAdminGetHookOK creates a AdminGetHookOK with default headers values

func (*AdminGetHookOK) Code

func (o *AdminGetHookOK) Code() int

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

func (*AdminGetHookOK) Error

func (o *AdminGetHookOK) Error() string

func (*AdminGetHookOK) GetPayload

func (o *AdminGetHookOK) GetPayload() *models.Hook

func (*AdminGetHookOK) IsClientError

func (o *AdminGetHookOK) IsClientError() bool

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

func (*AdminGetHookOK) IsCode

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

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

func (*AdminGetHookOK) IsRedirect

func (o *AdminGetHookOK) IsRedirect() bool

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

func (*AdminGetHookOK) IsServerError

func (o *AdminGetHookOK) IsServerError() bool

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

func (*AdminGetHookOK) IsSuccess

func (o *AdminGetHookOK) IsSuccess() bool

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

func (*AdminGetHookOK) String

func (o *AdminGetHookOK) String() string

type AdminGetHookParams

type AdminGetHookParams struct {

	/* ID.

	   id of the hook to get

	   Format: int64
	*/
	ID int64

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

AdminGetHookParams contains all the parameters to send to the API endpoint

for the admin get hook operation.

Typically these are written to a http.Request.

func NewAdminGetHookParams

func NewAdminGetHookParams() *AdminGetHookParams

NewAdminGetHookParams creates a new AdminGetHookParams 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 NewAdminGetHookParamsWithContext

func NewAdminGetHookParamsWithContext(ctx context.Context) *AdminGetHookParams

NewAdminGetHookParamsWithContext creates a new AdminGetHookParams object with the ability to set a context for a request.

func NewAdminGetHookParamsWithHTTPClient

func NewAdminGetHookParamsWithHTTPClient(client *http.Client) *AdminGetHookParams

NewAdminGetHookParamsWithHTTPClient creates a new AdminGetHookParams object with the ability to set a custom HTTPClient for a request.

func NewAdminGetHookParamsWithTimeout

func NewAdminGetHookParamsWithTimeout(timeout time.Duration) *AdminGetHookParams

NewAdminGetHookParamsWithTimeout creates a new AdminGetHookParams object with the ability to set a timeout on a request.

func (*AdminGetHookParams) SetContext

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

SetContext adds the context to the admin get hook params

func (*AdminGetHookParams) SetDefaults

func (o *AdminGetHookParams) SetDefaults()

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

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

func (*AdminGetHookParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the admin get hook params

func (*AdminGetHookParams) SetID

func (o *AdminGetHookParams) SetID(id int64)

SetID adds the id to the admin get hook params

func (*AdminGetHookParams) SetTimeout

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

SetTimeout adds the timeout to the admin get hook params

func (*AdminGetHookParams) WithContext

WithContext adds the context to the admin get hook params

func (*AdminGetHookParams) WithDefaults

func (o *AdminGetHookParams) WithDefaults() *AdminGetHookParams

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

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

func (*AdminGetHookParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the admin get hook params

func (*AdminGetHookParams) WithID

WithID adds the id to the admin get hook params

func (*AdminGetHookParams) WithTimeout

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

WithTimeout adds the timeout to the admin get hook params

func (*AdminGetHookParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type AdminGetHookReader

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

AdminGetHookReader is a Reader for the AdminGetHook structure.

func (*AdminGetHookReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type AdminGetRunnerRegistrationTokenOK

type AdminGetRunnerRegistrationTokenOK struct {
	Token string
}

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

RegistrationToken is response related to registration token

func NewAdminGetRunnerRegistrationTokenOK

func NewAdminGetRunnerRegistrationTokenOK() *AdminGetRunnerRegistrationTokenOK

NewAdminGetRunnerRegistrationTokenOK creates a AdminGetRunnerRegistrationTokenOK with default headers values

func (*AdminGetRunnerRegistrationTokenOK) Code

Code gets the status code for the admin get runner registration token o k response

func (*AdminGetRunnerRegistrationTokenOK) Error

func (*AdminGetRunnerRegistrationTokenOK) IsClientError

func (o *AdminGetRunnerRegistrationTokenOK) IsClientError() bool

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

func (*AdminGetRunnerRegistrationTokenOK) IsCode

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

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

func (*AdminGetRunnerRegistrationTokenOK) IsRedirect

func (o *AdminGetRunnerRegistrationTokenOK) IsRedirect() bool

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

func (*AdminGetRunnerRegistrationTokenOK) IsServerError

func (o *AdminGetRunnerRegistrationTokenOK) IsServerError() bool

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

func (*AdminGetRunnerRegistrationTokenOK) IsSuccess

func (o *AdminGetRunnerRegistrationTokenOK) IsSuccess() bool

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

func (*AdminGetRunnerRegistrationTokenOK) String

type AdminGetRunnerRegistrationTokenParams

type AdminGetRunnerRegistrationTokenParams struct {
	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

AdminGetRunnerRegistrationTokenParams contains all the parameters to send to the API endpoint

for the admin get runner registration token operation.

Typically these are written to a http.Request.

func NewAdminGetRunnerRegistrationTokenParams

func NewAdminGetRunnerRegistrationTokenParams() *AdminGetRunnerRegistrationTokenParams

NewAdminGetRunnerRegistrationTokenParams creates a new AdminGetRunnerRegistrationTokenParams 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 NewAdminGetRunnerRegistrationTokenParamsWithContext

func NewAdminGetRunnerRegistrationTokenParamsWithContext(ctx context.Context) *AdminGetRunnerRegistrationTokenParams

NewAdminGetRunnerRegistrationTokenParamsWithContext creates a new AdminGetRunnerRegistrationTokenParams object with the ability to set a context for a request.

func NewAdminGetRunnerRegistrationTokenParamsWithHTTPClient

func NewAdminGetRunnerRegistrationTokenParamsWithHTTPClient(client *http.Client) *AdminGetRunnerRegistrationTokenParams

NewAdminGetRunnerRegistrationTokenParamsWithHTTPClient creates a new AdminGetRunnerRegistrationTokenParams object with the ability to set a custom HTTPClient for a request.

func NewAdminGetRunnerRegistrationTokenParamsWithTimeout

func NewAdminGetRunnerRegistrationTokenParamsWithTimeout(timeout time.Duration) *AdminGetRunnerRegistrationTokenParams

NewAdminGetRunnerRegistrationTokenParamsWithTimeout creates a new AdminGetRunnerRegistrationTokenParams object with the ability to set a timeout on a request.

func (*AdminGetRunnerRegistrationTokenParams) SetContext

SetContext adds the context to the admin get runner registration token params

func (*AdminGetRunnerRegistrationTokenParams) SetDefaults

func (o *AdminGetRunnerRegistrationTokenParams) SetDefaults()

SetDefaults hydrates default values in the admin get runner registration token params (not the query body).

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

func (*AdminGetRunnerRegistrationTokenParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the admin get runner registration token params

func (*AdminGetRunnerRegistrationTokenParams) SetTimeout

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

SetTimeout adds the timeout to the admin get runner registration token params

func (*AdminGetRunnerRegistrationTokenParams) WithContext

WithContext adds the context to the admin get runner registration token params

func (*AdminGetRunnerRegistrationTokenParams) WithDefaults

WithDefaults hydrates default values in the admin get runner registration token params (not the query body).

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

func (*AdminGetRunnerRegistrationTokenParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the admin get runner registration token params

func (*AdminGetRunnerRegistrationTokenParams) WithTimeout

WithTimeout adds the timeout to the admin get runner registration token params

func (*AdminGetRunnerRegistrationTokenParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type AdminGetRunnerRegistrationTokenReader

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

AdminGetRunnerRegistrationTokenReader is a Reader for the AdminGetRunnerRegistrationToken structure.

func (*AdminGetRunnerRegistrationTokenReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type AdminListHooksOK

type AdminListHooksOK struct {
	Payload []*models.Hook
}

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

HookList

func NewAdminListHooksOK

func NewAdminListHooksOK() *AdminListHooksOK

NewAdminListHooksOK creates a AdminListHooksOK with default headers values

func (*AdminListHooksOK) Code

func (o *AdminListHooksOK) Code() int

Code gets the status code for the admin list hooks o k response

func (*AdminListHooksOK) Error

func (o *AdminListHooksOK) Error() string

func (*AdminListHooksOK) GetPayload

func (o *AdminListHooksOK) GetPayload() []*models.Hook

func (*AdminListHooksOK) IsClientError

func (o *AdminListHooksOK) IsClientError() bool

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

func (*AdminListHooksOK) IsCode

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

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

func (*AdminListHooksOK) IsRedirect

func (o *AdminListHooksOK) IsRedirect() bool

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

func (*AdminListHooksOK) IsServerError

func (o *AdminListHooksOK) IsServerError() bool

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

func (*AdminListHooksOK) IsSuccess

func (o *AdminListHooksOK) IsSuccess() bool

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

func (*AdminListHooksOK) String

func (o *AdminListHooksOK) String() string

type AdminListHooksParams

type AdminListHooksParams struct {

	/* Limit.

	   page size of results
	*/
	Limit *int64

	/* Page.

	   page number of results to return (1-based)
	*/
	Page *int64

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

AdminListHooksParams contains all the parameters to send to the API endpoint

for the admin list hooks operation.

Typically these are written to a http.Request.

func NewAdminListHooksParams

func NewAdminListHooksParams() *AdminListHooksParams

NewAdminListHooksParams creates a new AdminListHooksParams 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 NewAdminListHooksParamsWithContext

func NewAdminListHooksParamsWithContext(ctx context.Context) *AdminListHooksParams

NewAdminListHooksParamsWithContext creates a new AdminListHooksParams object with the ability to set a context for a request.

func NewAdminListHooksParamsWithHTTPClient

func NewAdminListHooksParamsWithHTTPClient(client *http.Client) *AdminListHooksParams

NewAdminListHooksParamsWithHTTPClient creates a new AdminListHooksParams object with the ability to set a custom HTTPClient for a request.

func NewAdminListHooksParamsWithTimeout

func NewAdminListHooksParamsWithTimeout(timeout time.Duration) *AdminListHooksParams

NewAdminListHooksParamsWithTimeout creates a new AdminListHooksParams object with the ability to set a timeout on a request.

func (*AdminListHooksParams) SetContext

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

SetContext adds the context to the admin list hooks params

func (*AdminListHooksParams) SetDefaults

func (o *AdminListHooksParams) SetDefaults()

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

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

func (*AdminListHooksParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the admin list hooks params

func (*AdminListHooksParams) SetLimit

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

SetLimit adds the limit to the admin list hooks params

func (*AdminListHooksParams) SetPage

func (o *AdminListHooksParams) SetPage(page *int64)

SetPage adds the page to the admin list hooks params

func (*AdminListHooksParams) SetTimeout

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

SetTimeout adds the timeout to the admin list hooks params

func (*AdminListHooksParams) WithContext

WithContext adds the context to the admin list hooks params

func (*AdminListHooksParams) WithDefaults

func (o *AdminListHooksParams) WithDefaults() *AdminListHooksParams

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

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

func (*AdminListHooksParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the admin list hooks params

func (*AdminListHooksParams) WithLimit

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

WithLimit adds the limit to the admin list hooks params

func (*AdminListHooksParams) WithPage

func (o *AdminListHooksParams) WithPage(page *int64) *AdminListHooksParams

WithPage adds the page to the admin list hooks params

func (*AdminListHooksParams) WithTimeout

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

WithTimeout adds the timeout to the admin list hooks params

func (*AdminListHooksParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type AdminListHooksReader

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

AdminListHooksReader is a Reader for the AdminListHooks structure.

func (*AdminListHooksReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type AdminListUserBadgesNotFound

type AdminListUserBadgesNotFound struct {
}

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

APINotFound is a not found empty response

func NewAdminListUserBadgesNotFound

func NewAdminListUserBadgesNotFound() *AdminListUserBadgesNotFound

NewAdminListUserBadgesNotFound creates a AdminListUserBadgesNotFound with default headers values

func (*AdminListUserBadgesNotFound) Code

func (o *AdminListUserBadgesNotFound) Code() int

Code gets the status code for the admin list user badges not found response

func (*AdminListUserBadgesNotFound) Error

func (*AdminListUserBadgesNotFound) IsClientError

func (o *AdminListUserBadgesNotFound) IsClientError() bool

IsClientError returns true when this admin list user badges not found response has a 4xx status code

func (*AdminListUserBadgesNotFound) IsCode

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

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

func (*AdminListUserBadgesNotFound) IsRedirect

func (o *AdminListUserBadgesNotFound) IsRedirect() bool

IsRedirect returns true when this admin list user badges not found response has a 3xx status code

func (*AdminListUserBadgesNotFound) IsServerError

func (o *AdminListUserBadgesNotFound) IsServerError() bool

IsServerError returns true when this admin list user badges not found response has a 5xx status code

func (*AdminListUserBadgesNotFound) IsSuccess

func (o *AdminListUserBadgesNotFound) IsSuccess() bool

IsSuccess returns true when this admin list user badges not found response has a 2xx status code

func (*AdminListUserBadgesNotFound) String

func (o *AdminListUserBadgesNotFound) String() string

type AdminListUserBadgesOK

type AdminListUserBadgesOK struct {
	Payload []*models.Badge
}

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

BadgeList

func NewAdminListUserBadgesOK

func NewAdminListUserBadgesOK() *AdminListUserBadgesOK

NewAdminListUserBadgesOK creates a AdminListUserBadgesOK with default headers values

func (*AdminListUserBadgesOK) Code

func (o *AdminListUserBadgesOK) Code() int

Code gets the status code for the admin list user badges o k response

func (*AdminListUserBadgesOK) Error

func (o *AdminListUserBadgesOK) Error() string

func (*AdminListUserBadgesOK) GetPayload

func (o *AdminListUserBadgesOK) GetPayload() []*models.Badge

func (*AdminListUserBadgesOK) IsClientError

func (o *AdminListUserBadgesOK) IsClientError() bool

IsClientError returns true when this admin list user badges o k response has a 4xx status code

func (*AdminListUserBadgesOK) IsCode

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

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

func (*AdminListUserBadgesOK) IsRedirect

func (o *AdminListUserBadgesOK) IsRedirect() bool

IsRedirect returns true when this admin list user badges o k response has a 3xx status code

func (*AdminListUserBadgesOK) IsServerError

func (o *AdminListUserBadgesOK) IsServerError() bool

IsServerError returns true when this admin list user badges o k response has a 5xx status code

func (*AdminListUserBadgesOK) IsSuccess

func (o *AdminListUserBadgesOK) IsSuccess() bool

IsSuccess returns true when this admin list user badges o k response has a 2xx status code

func (*AdminListUserBadgesOK) String

func (o *AdminListUserBadgesOK) String() string

type AdminListUserBadgesParams

type AdminListUserBadgesParams struct {

	/* Username.

	   username of user
	*/
	Username string

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

AdminListUserBadgesParams contains all the parameters to send to the API endpoint

for the admin list user badges operation.

Typically these are written to a http.Request.

func NewAdminListUserBadgesParams

func NewAdminListUserBadgesParams() *AdminListUserBadgesParams

NewAdminListUserBadgesParams creates a new AdminListUserBadgesParams 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 NewAdminListUserBadgesParamsWithContext

func NewAdminListUserBadgesParamsWithContext(ctx context.Context) *AdminListUserBadgesParams

NewAdminListUserBadgesParamsWithContext creates a new AdminListUserBadgesParams object with the ability to set a context for a request.

func NewAdminListUserBadgesParamsWithHTTPClient

func NewAdminListUserBadgesParamsWithHTTPClient(client *http.Client) *AdminListUserBadgesParams

NewAdminListUserBadgesParamsWithHTTPClient creates a new AdminListUserBadgesParams object with the ability to set a custom HTTPClient for a request.

func NewAdminListUserBadgesParamsWithTimeout

func NewAdminListUserBadgesParamsWithTimeout(timeout time.Duration) *AdminListUserBadgesParams

NewAdminListUserBadgesParamsWithTimeout creates a new AdminListUserBadgesParams object with the ability to set a timeout on a request.

func (*AdminListUserBadgesParams) SetContext

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

SetContext adds the context to the admin list user badges params

func (*AdminListUserBadgesParams) SetDefaults

func (o *AdminListUserBadgesParams) SetDefaults()

SetDefaults hydrates default values in the admin list user badges params (not the query body).

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

func (*AdminListUserBadgesParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the admin list user badges params

func (*AdminListUserBadgesParams) SetTimeout

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

SetTimeout adds the timeout to the admin list user badges params

func (*AdminListUserBadgesParams) SetUsername

func (o *AdminListUserBadgesParams) SetUsername(username string)

SetUsername adds the username to the admin list user badges params

func (*AdminListUserBadgesParams) WithContext

WithContext adds the context to the admin list user badges params

func (*AdminListUserBadgesParams) WithDefaults

WithDefaults hydrates default values in the admin list user badges params (not the query body).

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

func (*AdminListUserBadgesParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the admin list user badges params

func (*AdminListUserBadgesParams) WithTimeout

WithTimeout adds the timeout to the admin list user badges params

func (*AdminListUserBadgesParams) WithUsername

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

WithUsername adds the username to the admin list user badges params

func (*AdminListUserBadgesParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type AdminListUserBadgesReader

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

AdminListUserBadgesReader is a Reader for the AdminListUserBadges structure.

func (*AdminListUserBadgesReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type AdminRenameUserForbidden

type AdminRenameUserForbidden struct {
	Message string
	URL     string
}

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

APIForbiddenError is a forbidden error response

func NewAdminRenameUserForbidden

func NewAdminRenameUserForbidden() *AdminRenameUserForbidden

NewAdminRenameUserForbidden creates a AdminRenameUserForbidden with default headers values

func (*AdminRenameUserForbidden) Code

func (o *AdminRenameUserForbidden) Code() int

Code gets the status code for the admin rename user forbidden response

func (*AdminRenameUserForbidden) Error

func (o *AdminRenameUserForbidden) Error() string

func (*AdminRenameUserForbidden) IsClientError

func (o *AdminRenameUserForbidden) IsClientError() bool

IsClientError returns true when this admin rename user forbidden response has a 4xx status code

func (*AdminRenameUserForbidden) IsCode

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

IsCode returns true when this admin rename user forbidden response a status code equal to that given

func (*AdminRenameUserForbidden) IsRedirect

func (o *AdminRenameUserForbidden) IsRedirect() bool

IsRedirect returns true when this admin rename user forbidden response has a 3xx status code

func (*AdminRenameUserForbidden) IsServerError

func (o *AdminRenameUserForbidden) IsServerError() bool

IsServerError returns true when this admin rename user forbidden response has a 5xx status code

func (*AdminRenameUserForbidden) IsSuccess

func (o *AdminRenameUserForbidden) IsSuccess() bool

IsSuccess returns true when this admin rename user forbidden response has a 2xx status code

func (*AdminRenameUserForbidden) String

func (o *AdminRenameUserForbidden) String() string

type AdminRenameUserNoContent

type AdminRenameUserNoContent struct {
}

AdminRenameUserNoContent describes a response with status code 204, with default header values.

APIEmpty is an empty response

func NewAdminRenameUserNoContent

func NewAdminRenameUserNoContent() *AdminRenameUserNoContent

NewAdminRenameUserNoContent creates a AdminRenameUserNoContent with default headers values

func (*AdminRenameUserNoContent) Code

func (o *AdminRenameUserNoContent) Code() int

Code gets the status code for the admin rename user no content response

func (*AdminRenameUserNoContent) Error

func (o *AdminRenameUserNoContent) Error() string

func (*AdminRenameUserNoContent) IsClientError

func (o *AdminRenameUserNoContent) IsClientError() bool

IsClientError returns true when this admin rename user no content response has a 4xx status code

func (*AdminRenameUserNoContent) IsCode

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

IsCode returns true when this admin rename user no content response a status code equal to that given

func (*AdminRenameUserNoContent) IsRedirect

func (o *AdminRenameUserNoContent) IsRedirect() bool

IsRedirect returns true when this admin rename user no content response has a 3xx status code

func (*AdminRenameUserNoContent) IsServerError

func (o *AdminRenameUserNoContent) IsServerError() bool

IsServerError returns true when this admin rename user no content response has a 5xx status code

func (*AdminRenameUserNoContent) IsSuccess

func (o *AdminRenameUserNoContent) IsSuccess() bool

IsSuccess returns true when this admin rename user no content response has a 2xx status code

func (*AdminRenameUserNoContent) String

func (o *AdminRenameUserNoContent) String() string

type AdminRenameUserParams

type AdminRenameUserParams struct {

	// Body.
	Body *models.RenameUserOption

	/* Username.

	   existing username of user
	*/
	Username string

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

AdminRenameUserParams contains all the parameters to send to the API endpoint

for the admin rename user operation.

Typically these are written to a http.Request.

func NewAdminRenameUserParams

func NewAdminRenameUserParams() *AdminRenameUserParams

NewAdminRenameUserParams creates a new AdminRenameUserParams 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 NewAdminRenameUserParamsWithContext

func NewAdminRenameUserParamsWithContext(ctx context.Context) *AdminRenameUserParams

NewAdminRenameUserParamsWithContext creates a new AdminRenameUserParams object with the ability to set a context for a request.

func NewAdminRenameUserParamsWithHTTPClient

func NewAdminRenameUserParamsWithHTTPClient(client *http.Client) *AdminRenameUserParams

NewAdminRenameUserParamsWithHTTPClient creates a new AdminRenameUserParams object with the ability to set a custom HTTPClient for a request.

func NewAdminRenameUserParamsWithTimeout

func NewAdminRenameUserParamsWithTimeout(timeout time.Duration) *AdminRenameUserParams

NewAdminRenameUserParamsWithTimeout creates a new AdminRenameUserParams object with the ability to set a timeout on a request.

func (*AdminRenameUserParams) SetBody

func (o *AdminRenameUserParams) SetBody(body *models.RenameUserOption)

SetBody adds the body to the admin rename user params

func (*AdminRenameUserParams) SetContext

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

SetContext adds the context to the admin rename user params

func (*AdminRenameUserParams) SetDefaults

func (o *AdminRenameUserParams) SetDefaults()

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

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

func (*AdminRenameUserParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the admin rename user params

func (*AdminRenameUserParams) SetTimeout

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

SetTimeout adds the timeout to the admin rename user params

func (*AdminRenameUserParams) SetUsername

func (o *AdminRenameUserParams) SetUsername(username string)

SetUsername adds the username to the admin rename user params

func (*AdminRenameUserParams) WithBody

WithBody adds the body to the admin rename user params

func (*AdminRenameUserParams) WithContext

WithContext adds the context to the admin rename user params

func (*AdminRenameUserParams) WithDefaults

func (o *AdminRenameUserParams) WithDefaults() *AdminRenameUserParams

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

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

func (*AdminRenameUserParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the admin rename user params

func (*AdminRenameUserParams) WithTimeout

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

WithTimeout adds the timeout to the admin rename user params

func (*AdminRenameUserParams) WithUsername

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

WithUsername adds the username to the admin rename user params

func (*AdminRenameUserParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type AdminRenameUserReader

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

AdminRenameUserReader is a Reader for the AdminRenameUser structure.

func (*AdminRenameUserReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type AdminRenameUserUnprocessableEntity

type AdminRenameUserUnprocessableEntity struct {
	Message string
	URL     string
}

AdminRenameUserUnprocessableEntity describes a response with status code 422, with default header values.

APIValidationError is error format response related to input validation

func NewAdminRenameUserUnprocessableEntity

func NewAdminRenameUserUnprocessableEntity() *AdminRenameUserUnprocessableEntity

NewAdminRenameUserUnprocessableEntity creates a AdminRenameUserUnprocessableEntity with default headers values

func (*AdminRenameUserUnprocessableEntity) Code

Code gets the status code for the admin rename user unprocessable entity response

func (*AdminRenameUserUnprocessableEntity) Error

func (*AdminRenameUserUnprocessableEntity) IsClientError

func (o *AdminRenameUserUnprocessableEntity) IsClientError() bool

IsClientError returns true when this admin rename user unprocessable entity response has a 4xx status code

func (*AdminRenameUserUnprocessableEntity) IsCode

IsCode returns true when this admin rename user unprocessable entity response a status code equal to that given

func (*AdminRenameUserUnprocessableEntity) IsRedirect

func (o *AdminRenameUserUnprocessableEntity) IsRedirect() bool

IsRedirect returns true when this admin rename user unprocessable entity response has a 3xx status code

func (*AdminRenameUserUnprocessableEntity) IsServerError

func (o *AdminRenameUserUnprocessableEntity) IsServerError() bool

IsServerError returns true when this admin rename user unprocessable entity response has a 5xx status code

func (*AdminRenameUserUnprocessableEntity) IsSuccess

IsSuccess returns true when this admin rename user unprocessable entity response has a 2xx status code

func (*AdminRenameUserUnprocessableEntity) String

type AdminSearchEmailsForbidden

type AdminSearchEmailsForbidden struct {
	Message string
	URL     string
}

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

APIForbiddenError is a forbidden error response

func NewAdminSearchEmailsForbidden

func NewAdminSearchEmailsForbidden() *AdminSearchEmailsForbidden

NewAdminSearchEmailsForbidden creates a AdminSearchEmailsForbidden with default headers values

func (*AdminSearchEmailsForbidden) Code

func (o *AdminSearchEmailsForbidden) Code() int

Code gets the status code for the admin search emails forbidden response

func (*AdminSearchEmailsForbidden) Error

func (*AdminSearchEmailsForbidden) IsClientError

func (o *AdminSearchEmailsForbidden) IsClientError() bool

IsClientError returns true when this admin search emails forbidden response has a 4xx status code

func (*AdminSearchEmailsForbidden) IsCode

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

IsCode returns true when this admin search emails forbidden response a status code equal to that given

func (*AdminSearchEmailsForbidden) IsRedirect

func (o *AdminSearchEmailsForbidden) IsRedirect() bool

IsRedirect returns true when this admin search emails forbidden response has a 3xx status code

func (*AdminSearchEmailsForbidden) IsServerError

func (o *AdminSearchEmailsForbidden) IsServerError() bool

IsServerError returns true when this admin search emails forbidden response has a 5xx status code

func (*AdminSearchEmailsForbidden) IsSuccess

func (o *AdminSearchEmailsForbidden) IsSuccess() bool

IsSuccess returns true when this admin search emails forbidden response has a 2xx status code

func (*AdminSearchEmailsForbidden) String

func (o *AdminSearchEmailsForbidden) String() string

type AdminSearchEmailsOK

type AdminSearchEmailsOK struct {
	Payload []*models.Email
}

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

EmailList

func NewAdminSearchEmailsOK

func NewAdminSearchEmailsOK() *AdminSearchEmailsOK

NewAdminSearchEmailsOK creates a AdminSearchEmailsOK with default headers values

func (*AdminSearchEmailsOK) Code

func (o *AdminSearchEmailsOK) Code() int

Code gets the status code for the admin search emails o k response

func (*AdminSearchEmailsOK) Error

func (o *AdminSearchEmailsOK) Error() string

func (*AdminSearchEmailsOK) GetPayload

func (o *AdminSearchEmailsOK) GetPayload() []*models.Email

func (*AdminSearchEmailsOK) IsClientError

func (o *AdminSearchEmailsOK) IsClientError() bool

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

func (*AdminSearchEmailsOK) IsCode

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

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

func (*AdminSearchEmailsOK) IsRedirect

func (o *AdminSearchEmailsOK) IsRedirect() bool

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

func (*AdminSearchEmailsOK) IsServerError

func (o *AdminSearchEmailsOK) IsServerError() bool

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

func (*AdminSearchEmailsOK) IsSuccess

func (o *AdminSearchEmailsOK) IsSuccess() bool

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

func (*AdminSearchEmailsOK) String

func (o *AdminSearchEmailsOK) String() string

type AdminSearchEmailsParams

type AdminSearchEmailsParams struct {

	/* Limit.

	   page size of results
	*/
	Limit *int64

	/* Page.

	   page number of results to return (1-based)
	*/
	Page *int64

	/* Q.

	   keyword
	*/
	Q *string

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

AdminSearchEmailsParams contains all the parameters to send to the API endpoint

for the admin search emails operation.

Typically these are written to a http.Request.

func NewAdminSearchEmailsParams

func NewAdminSearchEmailsParams() *AdminSearchEmailsParams

NewAdminSearchEmailsParams creates a new AdminSearchEmailsParams 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 NewAdminSearchEmailsParamsWithContext

func NewAdminSearchEmailsParamsWithContext(ctx context.Context) *AdminSearchEmailsParams

NewAdminSearchEmailsParamsWithContext creates a new AdminSearchEmailsParams object with the ability to set a context for a request.

func NewAdminSearchEmailsParamsWithHTTPClient

func NewAdminSearchEmailsParamsWithHTTPClient(client *http.Client) *AdminSearchEmailsParams

NewAdminSearchEmailsParamsWithHTTPClient creates a new AdminSearchEmailsParams object with the ability to set a custom HTTPClient for a request.

func NewAdminSearchEmailsParamsWithTimeout

func NewAdminSearchEmailsParamsWithTimeout(timeout time.Duration) *AdminSearchEmailsParams

NewAdminSearchEmailsParamsWithTimeout creates a new AdminSearchEmailsParams object with the ability to set a timeout on a request.

func (*AdminSearchEmailsParams) SetContext

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

SetContext adds the context to the admin search emails params

func (*AdminSearchEmailsParams) SetDefaults

func (o *AdminSearchEmailsParams) SetDefaults()

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

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

func (*AdminSearchEmailsParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the admin search emails params

func (*AdminSearchEmailsParams) SetLimit

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

SetLimit adds the limit to the admin search emails params

func (*AdminSearchEmailsParams) SetPage

func (o *AdminSearchEmailsParams) SetPage(page *int64)

SetPage adds the page to the admin search emails params

func (*AdminSearchEmailsParams) SetQ

func (o *AdminSearchEmailsParams) SetQ(q *string)

SetQ adds the q to the admin search emails params

func (*AdminSearchEmailsParams) SetTimeout

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

SetTimeout adds the timeout to the admin search emails params

func (*AdminSearchEmailsParams) WithContext

WithContext adds the context to the admin search emails params

func (*AdminSearchEmailsParams) WithDefaults

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

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

func (*AdminSearchEmailsParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the admin search emails params

func (*AdminSearchEmailsParams) WithLimit

WithLimit adds the limit to the admin search emails params

func (*AdminSearchEmailsParams) WithPage

WithPage adds the page to the admin search emails params

func (*AdminSearchEmailsParams) WithQ

WithQ adds the q to the admin search emails params

func (*AdminSearchEmailsParams) WithTimeout

WithTimeout adds the timeout to the admin search emails params

func (*AdminSearchEmailsParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type AdminSearchEmailsReader

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

AdminSearchEmailsReader is a Reader for the AdminSearchEmails structure.

func (*AdminSearchEmailsReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type AdminSearchUsersForbidden

type AdminSearchUsersForbidden struct {
	Message string
	URL     string
}

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

APIForbiddenError is a forbidden error response

func NewAdminSearchUsersForbidden

func NewAdminSearchUsersForbidden() *AdminSearchUsersForbidden

NewAdminSearchUsersForbidden creates a AdminSearchUsersForbidden with default headers values

func (*AdminSearchUsersForbidden) Code

func (o *AdminSearchUsersForbidden) Code() int

Code gets the status code for the admin search users forbidden response

func (*AdminSearchUsersForbidden) Error

func (o *AdminSearchUsersForbidden) Error() string

func (*AdminSearchUsersForbidden) IsClientError

func (o *AdminSearchUsersForbidden) IsClientError() bool

IsClientError returns true when this admin search users forbidden response has a 4xx status code

func (*AdminSearchUsersForbidden) IsCode

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

IsCode returns true when this admin search users forbidden response a status code equal to that given

func (*AdminSearchUsersForbidden) IsRedirect

func (o *AdminSearchUsersForbidden) IsRedirect() bool

IsRedirect returns true when this admin search users forbidden response has a 3xx status code

func (*AdminSearchUsersForbidden) IsServerError

func (o *AdminSearchUsersForbidden) IsServerError() bool

IsServerError returns true when this admin search users forbidden response has a 5xx status code

func (*AdminSearchUsersForbidden) IsSuccess

func (o *AdminSearchUsersForbidden) IsSuccess() bool

IsSuccess returns true when this admin search users forbidden response has a 2xx status code

func (*AdminSearchUsersForbidden) String

func (o *AdminSearchUsersForbidden) String() string

type AdminSearchUsersOK

type AdminSearchUsersOK struct {
	Payload []*models.User
}

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

UserList

func NewAdminSearchUsersOK

func NewAdminSearchUsersOK() *AdminSearchUsersOK

NewAdminSearchUsersOK creates a AdminSearchUsersOK with default headers values

func (*AdminSearchUsersOK) Code

func (o *AdminSearchUsersOK) Code() int

Code gets the status code for the admin search users o k response

func (*AdminSearchUsersOK) Error

func (o *AdminSearchUsersOK) Error() string

func (*AdminSearchUsersOK) GetPayload

func (o *AdminSearchUsersOK) GetPayload() []*models.User

func (*AdminSearchUsersOK) IsClientError

func (o *AdminSearchUsersOK) IsClientError() bool

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

func (*AdminSearchUsersOK) IsCode

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

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

func (*AdminSearchUsersOK) IsRedirect

func (o *AdminSearchUsersOK) IsRedirect() bool

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

func (*AdminSearchUsersOK) IsServerError

func (o *AdminSearchUsersOK) IsServerError() bool

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

func (*AdminSearchUsersOK) IsSuccess

func (o *AdminSearchUsersOK) IsSuccess() bool

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

func (*AdminSearchUsersOK) String

func (o *AdminSearchUsersOK) String() string

type AdminSearchUsersParams

type AdminSearchUsersParams struct {

	/* Limit.

	   page size of results
	*/
	Limit *int64

	/* LoginName.

	   user's login name to search for
	*/
	LoginName *string

	/* Page.

	   page number of results to return (1-based)
	*/
	Page *int64

	/* SourceID.

	   ID of the user's login source to search for

	   Format: int64
	*/
	SourceID *int64

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

AdminSearchUsersParams contains all the parameters to send to the API endpoint

for the admin search users operation.

Typically these are written to a http.Request.

func NewAdminSearchUsersParams

func NewAdminSearchUsersParams() *AdminSearchUsersParams

NewAdminSearchUsersParams creates a new AdminSearchUsersParams 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 NewAdminSearchUsersParamsWithContext

func NewAdminSearchUsersParamsWithContext(ctx context.Context) *AdminSearchUsersParams

NewAdminSearchUsersParamsWithContext creates a new AdminSearchUsersParams object with the ability to set a context for a request.

func NewAdminSearchUsersParamsWithHTTPClient

func NewAdminSearchUsersParamsWithHTTPClient(client *http.Client) *AdminSearchUsersParams

NewAdminSearchUsersParamsWithHTTPClient creates a new AdminSearchUsersParams object with the ability to set a custom HTTPClient for a request.

func NewAdminSearchUsersParamsWithTimeout

func NewAdminSearchUsersParamsWithTimeout(timeout time.Duration) *AdminSearchUsersParams

NewAdminSearchUsersParamsWithTimeout creates a new AdminSearchUsersParams object with the ability to set a timeout on a request.

func (*AdminSearchUsersParams) SetContext

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

SetContext adds the context to the admin search users params

func (*AdminSearchUsersParams) SetDefaults

func (o *AdminSearchUsersParams) SetDefaults()

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

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

func (*AdminSearchUsersParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the admin search users params

func (*AdminSearchUsersParams) SetLimit

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

SetLimit adds the limit to the admin search users params

func (*AdminSearchUsersParams) SetLoginName

func (o *AdminSearchUsersParams) SetLoginName(loginName *string)

SetLoginName adds the loginName to the admin search users params

func (*AdminSearchUsersParams) SetPage

func (o *AdminSearchUsersParams) SetPage(page *int64)

SetPage adds the page to the admin search users params

func (*AdminSearchUsersParams) SetSourceID

func (o *AdminSearchUsersParams) SetSourceID(sourceID *int64)

SetSourceID adds the sourceId to the admin search users params

func (*AdminSearchUsersParams) SetTimeout

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

SetTimeout adds the timeout to the admin search users params

func (*AdminSearchUsersParams) WithContext

WithContext adds the context to the admin search users params

func (*AdminSearchUsersParams) WithDefaults

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

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

func (*AdminSearchUsersParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the admin search users params

func (*AdminSearchUsersParams) WithLimit

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

WithLimit adds the limit to the admin search users params

func (*AdminSearchUsersParams) WithLoginName

func (o *AdminSearchUsersParams) WithLoginName(loginName *string) *AdminSearchUsersParams

WithLoginName adds the loginName to the admin search users params

func (*AdminSearchUsersParams) WithPage

WithPage adds the page to the admin search users params

func (*AdminSearchUsersParams) WithSourceID

func (o *AdminSearchUsersParams) WithSourceID(sourceID *int64) *AdminSearchUsersParams

WithSourceID adds the sourceID to the admin search users params

func (*AdminSearchUsersParams) WithTimeout

WithTimeout adds the timeout to the admin search users params

func (*AdminSearchUsersParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type AdminSearchUsersReader

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

AdminSearchUsersReader is a Reader for the AdminSearchUsers structure.

func (*AdminSearchUsersReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type AdminUnadoptedListForbidden

type AdminUnadoptedListForbidden struct {
	Message string
	URL     string
}

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

APIForbiddenError is a forbidden error response

func NewAdminUnadoptedListForbidden

func NewAdminUnadoptedListForbidden() *AdminUnadoptedListForbidden

NewAdminUnadoptedListForbidden creates a AdminUnadoptedListForbidden with default headers values

func (*AdminUnadoptedListForbidden) Code

func (o *AdminUnadoptedListForbidden) Code() int

Code gets the status code for the admin unadopted list forbidden response

func (*AdminUnadoptedListForbidden) Error

func (*AdminUnadoptedListForbidden) IsClientError

func (o *AdminUnadoptedListForbidden) IsClientError() bool

IsClientError returns true when this admin unadopted list forbidden response has a 4xx status code

func (*AdminUnadoptedListForbidden) IsCode

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

IsCode returns true when this admin unadopted list forbidden response a status code equal to that given

func (*AdminUnadoptedListForbidden) IsRedirect

func (o *AdminUnadoptedListForbidden) IsRedirect() bool

IsRedirect returns true when this admin unadopted list forbidden response has a 3xx status code

func (*AdminUnadoptedListForbidden) IsServerError

func (o *AdminUnadoptedListForbidden) IsServerError() bool

IsServerError returns true when this admin unadopted list forbidden response has a 5xx status code

func (*AdminUnadoptedListForbidden) IsSuccess

func (o *AdminUnadoptedListForbidden) IsSuccess() bool

IsSuccess returns true when this admin unadopted list forbidden response has a 2xx status code

func (*AdminUnadoptedListForbidden) String

func (o *AdminUnadoptedListForbidden) String() string

type AdminUnadoptedListOK

type AdminUnadoptedListOK struct {
	Payload []string
}

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

StringSlice

func NewAdminUnadoptedListOK

func NewAdminUnadoptedListOK() *AdminUnadoptedListOK

NewAdminUnadoptedListOK creates a AdminUnadoptedListOK with default headers values

func (*AdminUnadoptedListOK) Code

func (o *AdminUnadoptedListOK) Code() int

Code gets the status code for the admin unadopted list o k response

func (*AdminUnadoptedListOK) Error

func (o *AdminUnadoptedListOK) Error() string

func (*AdminUnadoptedListOK) GetPayload

func (o *AdminUnadoptedListOK) GetPayload() []string

func (*AdminUnadoptedListOK) IsClientError

func (o *AdminUnadoptedListOK) IsClientError() bool

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

func (*AdminUnadoptedListOK) IsCode

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

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

func (*AdminUnadoptedListOK) IsRedirect

func (o *AdminUnadoptedListOK) IsRedirect() bool

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

func (*AdminUnadoptedListOK) IsServerError

func (o *AdminUnadoptedListOK) IsServerError() bool

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

func (*AdminUnadoptedListOK) IsSuccess

func (o *AdminUnadoptedListOK) IsSuccess() bool

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

func (*AdminUnadoptedListOK) String

func (o *AdminUnadoptedListOK) String() string

type AdminUnadoptedListParams

type AdminUnadoptedListParams struct {

	/* Limit.

	   page size of results
	*/
	Limit *int64

	/* Page.

	   page number of results to return (1-based)
	*/
	Page *int64

	/* Pattern.

	   pattern of repositories to search for
	*/
	Pattern *string

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

AdminUnadoptedListParams contains all the parameters to send to the API endpoint

for the admin unadopted list operation.

Typically these are written to a http.Request.

func NewAdminUnadoptedListParams

func NewAdminUnadoptedListParams() *AdminUnadoptedListParams

NewAdminUnadoptedListParams creates a new AdminUnadoptedListParams 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 NewAdminUnadoptedListParamsWithContext

func NewAdminUnadoptedListParamsWithContext(ctx context.Context) *AdminUnadoptedListParams

NewAdminUnadoptedListParamsWithContext creates a new AdminUnadoptedListParams object with the ability to set a context for a request.

func NewAdminUnadoptedListParamsWithHTTPClient

func NewAdminUnadoptedListParamsWithHTTPClient(client *http.Client) *AdminUnadoptedListParams

NewAdminUnadoptedListParamsWithHTTPClient creates a new AdminUnadoptedListParams object with the ability to set a custom HTTPClient for a request.

func NewAdminUnadoptedListParamsWithTimeout

func NewAdminUnadoptedListParamsWithTimeout(timeout time.Duration) *AdminUnadoptedListParams

NewAdminUnadoptedListParamsWithTimeout creates a new AdminUnadoptedListParams object with the ability to set a timeout on a request.

func (*AdminUnadoptedListParams) SetContext

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

SetContext adds the context to the admin unadopted list params

func (*AdminUnadoptedListParams) SetDefaults

func (o *AdminUnadoptedListParams) SetDefaults()

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

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

func (*AdminUnadoptedListParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the admin unadopted list params

func (*AdminUnadoptedListParams) SetLimit

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

SetLimit adds the limit to the admin unadopted list params

func (*AdminUnadoptedListParams) SetPage

func (o *AdminUnadoptedListParams) SetPage(page *int64)

SetPage adds the page to the admin unadopted list params

func (*AdminUnadoptedListParams) SetPattern

func (o *AdminUnadoptedListParams) SetPattern(pattern *string)

SetPattern adds the pattern to the admin unadopted list params

func (*AdminUnadoptedListParams) SetTimeout

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

SetTimeout adds the timeout to the admin unadopted list params

func (*AdminUnadoptedListParams) WithContext

WithContext adds the context to the admin unadopted list params

func (*AdminUnadoptedListParams) WithDefaults

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

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

func (*AdminUnadoptedListParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the admin unadopted list params

func (*AdminUnadoptedListParams) WithLimit

WithLimit adds the limit to the admin unadopted list params

func (*AdminUnadoptedListParams) WithPage

WithPage adds the page to the admin unadopted list params

func (*AdminUnadoptedListParams) WithPattern

func (o *AdminUnadoptedListParams) WithPattern(pattern *string) *AdminUnadoptedListParams

WithPattern adds the pattern to the admin unadopted list params

func (*AdminUnadoptedListParams) WithTimeout

WithTimeout adds the timeout to the admin unadopted list params

func (*AdminUnadoptedListParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type AdminUnadoptedListReader

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

AdminUnadoptedListReader is a Reader for the AdminUnadoptedList structure.

func (*AdminUnadoptedListReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type Client

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

Client for admin API

func (*Client) AdminAddUserBadges

func (a *Client) AdminAddUserBadges(params *AdminAddUserBadgesParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*AdminAddUserBadgesNoContent, error)

AdminAddUserBadges adds a badge to a user

func (*Client) AdminAdoptRepository

func (a *Client) AdminAdoptRepository(params *AdminAdoptRepositoryParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*AdminAdoptRepositoryNoContent, error)

AdminAdoptRepository adopts unadopted files as a repository

func (*Client) AdminCreateHook

func (a *Client) AdminCreateHook(params *AdminCreateHookParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*AdminCreateHookCreated, error)

AdminCreateHook creates a hook

func (*Client) AdminCreateOrg

func (a *Client) AdminCreateOrg(params *AdminCreateOrgParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*AdminCreateOrgCreated, error)

AdminCreateOrg creates an organization

func (*Client) AdminCreatePublicKey

func (a *Client) AdminCreatePublicKey(params *AdminCreatePublicKeyParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*AdminCreatePublicKeyCreated, error)

AdminCreatePublicKey adds a public key on behalf of a user

func (*Client) AdminCreateRepo

func (a *Client) AdminCreateRepo(params *AdminCreateRepoParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*AdminCreateRepoCreated, error)

AdminCreateRepo creates a repository on behalf of a user

func (*Client) AdminCreateUser

func (a *Client) AdminCreateUser(params *AdminCreateUserParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*AdminCreateUserCreated, error)

AdminCreateUser creates a user

func (*Client) AdminCronList

func (a *Client) AdminCronList(params *AdminCronListParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*AdminCronListOK, error)

AdminCronList lists cron tasks

func (*Client) AdminCronRun

func (a *Client) AdminCronRun(params *AdminCronRunParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*AdminCronRunNoContent, error)

AdminCronRun runs cron task

func (*Client) AdminDeleteHook

func (a *Client) AdminDeleteHook(params *AdminDeleteHookParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*AdminDeleteHookNoContent, error)

AdminDeleteHook deletes a hook

func (*Client) AdminDeleteUnadoptedRepository

AdminDeleteUnadoptedRepository deletes unadopted files

func (*Client) AdminDeleteUser

func (a *Client) AdminDeleteUser(params *AdminDeleteUserParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*AdminDeleteUserNoContent, error)

AdminDeleteUser deletes a user

func (*Client) AdminDeleteUserBadges

func (a *Client) AdminDeleteUserBadges(params *AdminDeleteUserBadgesParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*AdminDeleteUserBadgesNoContent, error)

AdminDeleteUserBadges removes a badge from a user

func (*Client) AdminDeleteUserPublicKey

AdminDeleteUserPublicKey deletes a user s public key

func (*Client) AdminEditHook

func (a *Client) AdminEditHook(params *AdminEditHookParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*AdminEditHookOK, error)

AdminEditHook updates a hook

func (*Client) AdminEditUser

func (a *Client) AdminEditUser(params *AdminEditUserParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*AdminEditUserOK, error)

AdminEditUser edits an existing user

func (*Client) AdminGetAllEmails

func (a *Client) AdminGetAllEmails(params *AdminGetAllEmailsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*AdminGetAllEmailsOK, error)

AdminGetAllEmails lists all emails

func (*Client) AdminGetAllOrgs

func (a *Client) AdminGetAllOrgs(params *AdminGetAllOrgsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*AdminGetAllOrgsOK, error)

AdminGetAllOrgs lists all organizations

func (*Client) AdminGetHook

func (a *Client) AdminGetHook(params *AdminGetHookParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*AdminGetHookOK, error)

AdminGetHook gets a hook

func (*Client) AdminGetRunnerRegistrationToken

func (a *Client) AdminGetRunnerRegistrationToken(params *AdminGetRunnerRegistrationTokenParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*AdminGetRunnerRegistrationTokenOK, error)

AdminGetRunnerRegistrationToken gets an global actions runner registration token

func (*Client) AdminListHooks

func (a *Client) AdminListHooks(params *AdminListHooksParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*AdminListHooksOK, error)

AdminListHooks lists system s webhooks

func (*Client) AdminListUserBadges

func (a *Client) AdminListUserBadges(params *AdminListUserBadgesParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*AdminListUserBadgesOK, error)

AdminListUserBadges lists a user s badges

func (*Client) AdminRenameUser

func (a *Client) AdminRenameUser(params *AdminRenameUserParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*AdminRenameUserNoContent, error)

AdminRenameUser renames a user

func (*Client) AdminSearchEmails

func (a *Client) AdminSearchEmails(params *AdminSearchEmailsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*AdminSearchEmailsOK, error)

AdminSearchEmails searches all emails

func (*Client) AdminSearchUsers

func (a *Client) AdminSearchUsers(params *AdminSearchUsersParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*AdminSearchUsersOK, error)

AdminSearchUsers searches users according filter conditions

func (*Client) AdminUnadoptedList

func (a *Client) AdminUnadoptedList(params *AdminUnadoptedListParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*AdminUnadoptedListOK, error)

AdminUnadoptedList lists unadopted repositories

func (*Client) SetTransport

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

SetTransport changes the transport on the client

type ClientOption

type ClientOption func(*runtime.ClientOperation)

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

func WithContentType

func WithContentType(mime string) ClientOption

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

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

type ClientService

type ClientService interface {
	AdminAddUserBadges(params *AdminAddUserBadgesParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*AdminAddUserBadgesNoContent, error)

	AdminAdoptRepository(params *AdminAdoptRepositoryParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*AdminAdoptRepositoryNoContent, error)

	AdminCreateHook(params *AdminCreateHookParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*AdminCreateHookCreated, error)

	AdminCreateOrg(params *AdminCreateOrgParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*AdminCreateOrgCreated, error)

	AdminCreatePublicKey(params *AdminCreatePublicKeyParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*AdminCreatePublicKeyCreated, error)

	AdminCreateRepo(params *AdminCreateRepoParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*AdminCreateRepoCreated, error)

	AdminCreateUser(params *AdminCreateUserParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*AdminCreateUserCreated, error)

	AdminCronList(params *AdminCronListParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*AdminCronListOK, error)

	AdminCronRun(params *AdminCronRunParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*AdminCronRunNoContent, error)

	AdminDeleteHook(params *AdminDeleteHookParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*AdminDeleteHookNoContent, error)

	AdminDeleteUnadoptedRepository(params *AdminDeleteUnadoptedRepositoryParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*AdminDeleteUnadoptedRepositoryNoContent, error)

	AdminDeleteUser(params *AdminDeleteUserParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*AdminDeleteUserNoContent, error)

	AdminDeleteUserBadges(params *AdminDeleteUserBadgesParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*AdminDeleteUserBadgesNoContent, error)

	AdminDeleteUserPublicKey(params *AdminDeleteUserPublicKeyParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*AdminDeleteUserPublicKeyNoContent, error)

	AdminEditHook(params *AdminEditHookParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*AdminEditHookOK, error)

	AdminEditUser(params *AdminEditUserParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*AdminEditUserOK, error)

	AdminGetAllEmails(params *AdminGetAllEmailsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*AdminGetAllEmailsOK, error)

	AdminGetAllOrgs(params *AdminGetAllOrgsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*AdminGetAllOrgsOK, error)

	AdminGetHook(params *AdminGetHookParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*AdminGetHookOK, error)

	AdminGetRunnerRegistrationToken(params *AdminGetRunnerRegistrationTokenParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*AdminGetRunnerRegistrationTokenOK, error)

	AdminListHooks(params *AdminListHooksParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*AdminListHooksOK, error)

	AdminListUserBadges(params *AdminListUserBadgesParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*AdminListUserBadgesOK, error)

	AdminRenameUser(params *AdminRenameUserParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*AdminRenameUserNoContent, error)

	AdminSearchEmails(params *AdminSearchEmailsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*AdminSearchEmailsOK, error)

	AdminSearchUsers(params *AdminSearchUsersParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*AdminSearchUsersOK, error)

	AdminUnadoptedList(params *AdminUnadoptedListParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*AdminUnadoptedListOK, 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.

Source Files

Jump to

Keyboard shortcuts

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