users

package
v0.5.0 Latest Latest
Warning

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

Go to latest
Published: Feb 15, 2022 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

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

Client for users API

func (*Client) DeleteUsersID

func (a *Client) DeleteUsersID(params *DeleteUsersIDParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteUsersIDOK, error)

DeleteUsersID deletes user

func (*Client) GetNmsKeepalive

func (a *Client) GetNmsKeepalive(params *GetNmsKeepaliveParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetNmsKeepaliveOK, error)

GetNmsKeepalive extends validity of user token

func (*Client) GetUsers

func (a *Client) GetUsers(params *GetUsersParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetUsersOK, error)

GetUsers returns list of all users

func (*Client) PostUsers

func (a *Client) PostUsers(params *PostUsersParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PostUsersOK, error)

PostUsers creates new user

func (*Client) PostUsersIDReinvite

func (a *Client) PostUsersIDReinvite(params *PostUsersIDReinviteParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PostUsersIDReinviteOK, error)

PostUsersIDReinvite reinvites user by email

func (a *Client) PostUsersIDReinviteLink(params *PostUsersIDReinviteLinkParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PostUsersIDReinviteLinkOK, error)

PostUsersIDReinviteLink generates new invitation link

func (*Client) PostUsersImport

func (a *Client) PostUsersImport(params *PostUsersImportParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PostUsersImportOK, error)

PostUsersImport imports users

func (*Client) PostUsersInvite

func (a *Client) PostUsersInvite(params *PostUsersInviteParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PostUsersInviteOK, error)

PostUsersInvite invites new user

func (*Client) PutUsersID

func (a *Client) PutUsersID(params *PutUsersIDParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PutUsersIDOK, error)

PutUsersID updates user

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 is the option for Client methods

type ClientService

type ClientService interface {
	DeleteUsersID(params *DeleteUsersIDParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteUsersIDOK, error)

	GetNmsKeepalive(params *GetNmsKeepaliveParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetNmsKeepaliveOK, error)

	GetUsers(params *GetUsersParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetUsersOK, error)

	PostUsers(params *PostUsersParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PostUsersOK, error)

	PostUsersIDReinvite(params *PostUsersIDReinviteParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PostUsersIDReinviteOK, error)

	PostUsersIDReinviteLink(params *PostUsersIDReinviteLinkParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PostUsersIDReinviteLinkOK, error)

	PostUsersImport(params *PostUsersImportParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PostUsersImportOK, error)

	PostUsersInvite(params *PostUsersInviteParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PostUsersInviteOK, error)

	PutUsersID(params *PutUsersIDParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PutUsersIDOK, 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 users API client.

type DeleteUsersIDBadRequest

type DeleteUsersIDBadRequest struct {
	Payload *models.Error
}
DeleteUsersIDBadRequest describes a response with status code 400, with default header values.

Bad Request

func NewDeleteUsersIDBadRequest

func NewDeleteUsersIDBadRequest() *DeleteUsersIDBadRequest

NewDeleteUsersIDBadRequest creates a DeleteUsersIDBadRequest with default headers values

func (*DeleteUsersIDBadRequest) Error

func (o *DeleteUsersIDBadRequest) Error() string

func (*DeleteUsersIDBadRequest) GetPayload

func (o *DeleteUsersIDBadRequest) GetPayload() *models.Error

type DeleteUsersIDForbidden

type DeleteUsersIDForbidden struct {
	Payload *models.Error
}
DeleteUsersIDForbidden describes a response with status code 403, with default header values.

Forbidden

func NewDeleteUsersIDForbidden

func NewDeleteUsersIDForbidden() *DeleteUsersIDForbidden

NewDeleteUsersIDForbidden creates a DeleteUsersIDForbidden with default headers values

func (*DeleteUsersIDForbidden) Error

func (o *DeleteUsersIDForbidden) Error() string

func (*DeleteUsersIDForbidden) GetPayload

func (o *DeleteUsersIDForbidden) GetPayload() *models.Error

type DeleteUsersIDInternalServerError

type DeleteUsersIDInternalServerError struct {
	Payload *models.Error
}
DeleteUsersIDInternalServerError describes a response with status code 500, with default header values.

Internal Server Error

func NewDeleteUsersIDInternalServerError

func NewDeleteUsersIDInternalServerError() *DeleteUsersIDInternalServerError

NewDeleteUsersIDInternalServerError creates a DeleteUsersIDInternalServerError with default headers values

func (*DeleteUsersIDInternalServerError) Error

func (*DeleteUsersIDInternalServerError) GetPayload

type DeleteUsersIDNotFound

type DeleteUsersIDNotFound struct {
	Payload *models.Error
}
DeleteUsersIDNotFound describes a response with status code 404, with default header values.

Not Found

func NewDeleteUsersIDNotFound

func NewDeleteUsersIDNotFound() *DeleteUsersIDNotFound

NewDeleteUsersIDNotFound creates a DeleteUsersIDNotFound with default headers values

func (*DeleteUsersIDNotFound) Error

func (o *DeleteUsersIDNotFound) Error() string

func (*DeleteUsersIDNotFound) GetPayload

func (o *DeleteUsersIDNotFound) GetPayload() *models.Error

type DeleteUsersIDOK

type DeleteUsersIDOK struct {
	Payload *models.Status
}
DeleteUsersIDOK describes a response with status code 200, with default header values.

Successful

func NewDeleteUsersIDOK

func NewDeleteUsersIDOK() *DeleteUsersIDOK

NewDeleteUsersIDOK creates a DeleteUsersIDOK with default headers values

func (*DeleteUsersIDOK) Error

func (o *DeleteUsersIDOK) Error() string

func (*DeleteUsersIDOK) GetPayload

func (o *DeleteUsersIDOK) GetPayload() *models.Status

type DeleteUsersIDParams

type DeleteUsersIDParams struct {

	// ID.
	ID string

	// NotifyUser.
	NotifyUser *bool

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

DeleteUsersIDParams contains all the parameters to send to the API endpoint

for the delete users Id operation.

Typically these are written to a http.Request.

func NewDeleteUsersIDParams

func NewDeleteUsersIDParams() *DeleteUsersIDParams

NewDeleteUsersIDParams creates a new DeleteUsersIDParams 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 NewDeleteUsersIDParamsWithContext

func NewDeleteUsersIDParamsWithContext(ctx context.Context) *DeleteUsersIDParams

NewDeleteUsersIDParamsWithContext creates a new DeleteUsersIDParams object with the ability to set a context for a request.

func NewDeleteUsersIDParamsWithHTTPClient

func NewDeleteUsersIDParamsWithHTTPClient(client *http.Client) *DeleteUsersIDParams

NewDeleteUsersIDParamsWithHTTPClient creates a new DeleteUsersIDParams object with the ability to set a custom HTTPClient for a request.

func NewDeleteUsersIDParamsWithTimeout

func NewDeleteUsersIDParamsWithTimeout(timeout time.Duration) *DeleteUsersIDParams

NewDeleteUsersIDParamsWithTimeout creates a new DeleteUsersIDParams object with the ability to set a timeout on a request.

func (*DeleteUsersIDParams) SetContext

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

SetContext adds the context to the delete users Id params

func (*DeleteUsersIDParams) SetDefaults

func (o *DeleteUsersIDParams) SetDefaults()

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

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

func (*DeleteUsersIDParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the delete users Id params

func (*DeleteUsersIDParams) SetID

func (o *DeleteUsersIDParams) SetID(id string)

SetID adds the id to the delete users Id params

func (*DeleteUsersIDParams) SetNotifyUser

func (o *DeleteUsersIDParams) SetNotifyUser(notifyUser *bool)

SetNotifyUser adds the notifyUser to the delete users Id params

func (*DeleteUsersIDParams) SetTimeout

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

SetTimeout adds the timeout to the delete users Id params

func (*DeleteUsersIDParams) WithContext

WithContext adds the context to the delete users Id params

func (*DeleteUsersIDParams) WithDefaults

func (o *DeleteUsersIDParams) WithDefaults() *DeleteUsersIDParams

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

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

func (*DeleteUsersIDParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the delete users Id params

func (*DeleteUsersIDParams) WithID

WithID adds the id to the delete users Id params

func (*DeleteUsersIDParams) WithNotifyUser

func (o *DeleteUsersIDParams) WithNotifyUser(notifyUser *bool) *DeleteUsersIDParams

WithNotifyUser adds the notifyUser to the delete users Id params

func (*DeleteUsersIDParams) WithTimeout

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

WithTimeout adds the timeout to the delete users Id params

func (*DeleteUsersIDParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type DeleteUsersIDReader

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

DeleteUsersIDReader is a Reader for the DeleteUsersID structure.

func (*DeleteUsersIDReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type DeleteUsersIDUnauthorized

type DeleteUsersIDUnauthorized struct {
	Payload *models.Error
}
DeleteUsersIDUnauthorized describes a response with status code 401, with default header values.

Unauthorized

func NewDeleteUsersIDUnauthorized

func NewDeleteUsersIDUnauthorized() *DeleteUsersIDUnauthorized

NewDeleteUsersIDUnauthorized creates a DeleteUsersIDUnauthorized with default headers values

func (*DeleteUsersIDUnauthorized) Error

func (o *DeleteUsersIDUnauthorized) Error() string

func (*DeleteUsersIDUnauthorized) GetPayload

func (o *DeleteUsersIDUnauthorized) GetPayload() *models.Error

type GetNmsKeepaliveInternalServerError

type GetNmsKeepaliveInternalServerError struct {
	Payload *models.Error
}
GetNmsKeepaliveInternalServerError describes a response with status code 500, with default header values.

Internal Server Error

func NewGetNmsKeepaliveInternalServerError

func NewGetNmsKeepaliveInternalServerError() *GetNmsKeepaliveInternalServerError

NewGetNmsKeepaliveInternalServerError creates a GetNmsKeepaliveInternalServerError with default headers values

func (*GetNmsKeepaliveInternalServerError) Error

func (*GetNmsKeepaliveInternalServerError) GetPayload

type GetNmsKeepaliveOK

type GetNmsKeepaliveOK struct {
	Payload *models.Model17
}
GetNmsKeepaliveOK describes a response with status code 200, with default header values.

Successful

func NewGetNmsKeepaliveOK

func NewGetNmsKeepaliveOK() *GetNmsKeepaliveOK

NewGetNmsKeepaliveOK creates a GetNmsKeepaliveOK with default headers values

func (*GetNmsKeepaliveOK) Error

func (o *GetNmsKeepaliveOK) Error() string

func (*GetNmsKeepaliveOK) GetPayload

func (o *GetNmsKeepaliveOK) GetPayload() *models.Model17

type GetNmsKeepaliveParams

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

GetNmsKeepaliveParams contains all the parameters to send to the API endpoint

for the get nms keepalive operation.

Typically these are written to a http.Request.

func NewGetNmsKeepaliveParams

func NewGetNmsKeepaliveParams() *GetNmsKeepaliveParams

NewGetNmsKeepaliveParams creates a new GetNmsKeepaliveParams 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 NewGetNmsKeepaliveParamsWithContext

func NewGetNmsKeepaliveParamsWithContext(ctx context.Context) *GetNmsKeepaliveParams

NewGetNmsKeepaliveParamsWithContext creates a new GetNmsKeepaliveParams object with the ability to set a context for a request.

func NewGetNmsKeepaliveParamsWithHTTPClient

func NewGetNmsKeepaliveParamsWithHTTPClient(client *http.Client) *GetNmsKeepaliveParams

NewGetNmsKeepaliveParamsWithHTTPClient creates a new GetNmsKeepaliveParams object with the ability to set a custom HTTPClient for a request.

func NewGetNmsKeepaliveParamsWithTimeout

func NewGetNmsKeepaliveParamsWithTimeout(timeout time.Duration) *GetNmsKeepaliveParams

NewGetNmsKeepaliveParamsWithTimeout creates a new GetNmsKeepaliveParams object with the ability to set a timeout on a request.

func (*GetNmsKeepaliveParams) SetContext

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

SetContext adds the context to the get nms keepalive params

func (*GetNmsKeepaliveParams) SetDefaults

func (o *GetNmsKeepaliveParams) SetDefaults()

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

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

func (*GetNmsKeepaliveParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get nms keepalive params

func (*GetNmsKeepaliveParams) SetTimeout

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

SetTimeout adds the timeout to the get nms keepalive params

func (*GetNmsKeepaliveParams) WithContext

WithContext adds the context to the get nms keepalive params

func (*GetNmsKeepaliveParams) WithDefaults

func (o *GetNmsKeepaliveParams) WithDefaults() *GetNmsKeepaliveParams

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

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

func (*GetNmsKeepaliveParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the get nms keepalive params

func (*GetNmsKeepaliveParams) WithTimeout

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

WithTimeout adds the timeout to the get nms keepalive params

func (*GetNmsKeepaliveParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type GetNmsKeepaliveReader

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

GetNmsKeepaliveReader is a Reader for the GetNmsKeepalive structure.

func (*GetNmsKeepaliveReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetUsersForbidden

type GetUsersForbidden struct {
	Payload *models.Error
}
GetUsersForbidden describes a response with status code 403, with default header values.

Forbidden

func NewGetUsersForbidden

func NewGetUsersForbidden() *GetUsersForbidden

NewGetUsersForbidden creates a GetUsersForbidden with default headers values

func (*GetUsersForbidden) Error

func (o *GetUsersForbidden) Error() string

func (*GetUsersForbidden) GetPayload

func (o *GetUsersForbidden) GetPayload() *models.Error

type GetUsersInternalServerError

type GetUsersInternalServerError struct {
	Payload *models.Error
}
GetUsersInternalServerError describes a response with status code 500, with default header values.

Internal Server Error

func NewGetUsersInternalServerError

func NewGetUsersInternalServerError() *GetUsersInternalServerError

NewGetUsersInternalServerError creates a GetUsersInternalServerError with default headers values

func (*GetUsersInternalServerError) Error

func (*GetUsersInternalServerError) GetPayload

func (o *GetUsersInternalServerError) GetPayload() *models.Error

type GetUsersOK

type GetUsersOK struct {
	Payload models.UserList
}
GetUsersOK describes a response with status code 200, with default header values.

Successful

func NewGetUsersOK

func NewGetUsersOK() *GetUsersOK

NewGetUsersOK creates a GetUsersOK with default headers values

func (*GetUsersOK) Error

func (o *GetUsersOK) Error() string

func (*GetUsersOK) GetPayload

func (o *GetUsersOK) GetPayload() models.UserList

type GetUsersParams

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

GetUsersParams contains all the parameters to send to the API endpoint

for the get users operation.

Typically these are written to a http.Request.

func NewGetUsersParams

func NewGetUsersParams() *GetUsersParams

NewGetUsersParams creates a new GetUsersParams 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 NewGetUsersParamsWithContext

func NewGetUsersParamsWithContext(ctx context.Context) *GetUsersParams

NewGetUsersParamsWithContext creates a new GetUsersParams object with the ability to set a context for a request.

func NewGetUsersParamsWithHTTPClient

func NewGetUsersParamsWithHTTPClient(client *http.Client) *GetUsersParams

NewGetUsersParamsWithHTTPClient creates a new GetUsersParams object with the ability to set a custom HTTPClient for a request.

func NewGetUsersParamsWithTimeout

func NewGetUsersParamsWithTimeout(timeout time.Duration) *GetUsersParams

NewGetUsersParamsWithTimeout creates a new GetUsersParams object with the ability to set a timeout on a request.

func (*GetUsersParams) SetContext

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

SetContext adds the context to the get users params

func (*GetUsersParams) SetDefaults

func (o *GetUsersParams) SetDefaults()

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

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

func (*GetUsersParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get users params

func (*GetUsersParams) SetTimeout

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

SetTimeout adds the timeout to the get users params

func (*GetUsersParams) WithContext

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

WithContext adds the context to the get users params

func (*GetUsersParams) WithDefaults

func (o *GetUsersParams) WithDefaults() *GetUsersParams

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

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

func (*GetUsersParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the get users params

func (*GetUsersParams) WithTimeout

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

WithTimeout adds the timeout to the get users params

func (*GetUsersParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type GetUsersReader

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

GetUsersReader is a Reader for the GetUsers structure.

func (*GetUsersReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetUsersUnauthorized

type GetUsersUnauthorized struct {
	Payload *models.Error
}
GetUsersUnauthorized describes a response with status code 401, with default header values.

Unauthorized

func NewGetUsersUnauthorized

func NewGetUsersUnauthorized() *GetUsersUnauthorized

NewGetUsersUnauthorized creates a GetUsersUnauthorized with default headers values

func (*GetUsersUnauthorized) Error

func (o *GetUsersUnauthorized) Error() string

func (*GetUsersUnauthorized) GetPayload

func (o *GetUsersUnauthorized) GetPayload() *models.Error

type PostUsersBadRequest

type PostUsersBadRequest struct {
	Payload *models.Error
}
PostUsersBadRequest describes a response with status code 400, with default header values.

Bad Request

func NewPostUsersBadRequest

func NewPostUsersBadRequest() *PostUsersBadRequest

NewPostUsersBadRequest creates a PostUsersBadRequest with default headers values

func (*PostUsersBadRequest) Error

func (o *PostUsersBadRequest) Error() string

func (*PostUsersBadRequest) GetPayload

func (o *PostUsersBadRequest) GetPayload() *models.Error

type PostUsersForbidden

type PostUsersForbidden struct {
	Payload *models.Error
}
PostUsersForbidden describes a response with status code 403, with default header values.

Forbidden

func NewPostUsersForbidden

func NewPostUsersForbidden() *PostUsersForbidden

NewPostUsersForbidden creates a PostUsersForbidden with default headers values

func (*PostUsersForbidden) Error

func (o *PostUsersForbidden) Error() string

func (*PostUsersForbidden) GetPayload

func (o *PostUsersForbidden) GetPayload() *models.Error

type PostUsersIDReinviteBadRequest

type PostUsersIDReinviteBadRequest struct {
	Payload *models.Error
}
PostUsersIDReinviteBadRequest describes a response with status code 400, with default header values.

Bad Request

func NewPostUsersIDReinviteBadRequest

func NewPostUsersIDReinviteBadRequest() *PostUsersIDReinviteBadRequest

NewPostUsersIDReinviteBadRequest creates a PostUsersIDReinviteBadRequest with default headers values

func (*PostUsersIDReinviteBadRequest) Error

func (*PostUsersIDReinviteBadRequest) GetPayload

func (o *PostUsersIDReinviteBadRequest) GetPayload() *models.Error

type PostUsersIDReinviteForbidden

type PostUsersIDReinviteForbidden struct {
	Payload *models.Error
}
PostUsersIDReinviteForbidden describes a response with status code 403, with default header values.

Forbidden

func NewPostUsersIDReinviteForbidden

func NewPostUsersIDReinviteForbidden() *PostUsersIDReinviteForbidden

NewPostUsersIDReinviteForbidden creates a PostUsersIDReinviteForbidden with default headers values

func (*PostUsersIDReinviteForbidden) Error

func (*PostUsersIDReinviteForbidden) GetPayload

func (o *PostUsersIDReinviteForbidden) GetPayload() *models.Error

type PostUsersIDReinviteInternalServerError

type PostUsersIDReinviteInternalServerError struct {
	Payload *models.Error
}
PostUsersIDReinviteInternalServerError describes a response with status code 500, with default header values.

Internal Server Error

func NewPostUsersIDReinviteInternalServerError

func NewPostUsersIDReinviteInternalServerError() *PostUsersIDReinviteInternalServerError

NewPostUsersIDReinviteInternalServerError creates a PostUsersIDReinviteInternalServerError with default headers values

func (*PostUsersIDReinviteInternalServerError) Error

func (*PostUsersIDReinviteInternalServerError) GetPayload

type PostUsersIDReinviteLinkBadRequest

type PostUsersIDReinviteLinkBadRequest struct {
	Payload *models.Error
}
PostUsersIDReinviteLinkBadRequest describes a response with status code 400, with default header values.

Bad Request

func NewPostUsersIDReinviteLinkBadRequest

func NewPostUsersIDReinviteLinkBadRequest() *PostUsersIDReinviteLinkBadRequest

NewPostUsersIDReinviteLinkBadRequest creates a PostUsersIDReinviteLinkBadRequest with default headers values

func (*PostUsersIDReinviteLinkBadRequest) Error

func (*PostUsersIDReinviteLinkBadRequest) GetPayload

type PostUsersIDReinviteLinkForbidden

type PostUsersIDReinviteLinkForbidden struct {
	Payload *models.Error
}
PostUsersIDReinviteLinkForbidden describes a response with status code 403, with default header values.

Forbidden

func NewPostUsersIDReinviteLinkForbidden

func NewPostUsersIDReinviteLinkForbidden() *PostUsersIDReinviteLinkForbidden

NewPostUsersIDReinviteLinkForbidden creates a PostUsersIDReinviteLinkForbidden with default headers values

func (*PostUsersIDReinviteLinkForbidden) Error

func (*PostUsersIDReinviteLinkForbidden) GetPayload

type PostUsersIDReinviteLinkInternalServerError

type PostUsersIDReinviteLinkInternalServerError struct {
	Payload *models.Error
}
PostUsersIDReinviteLinkInternalServerError describes a response with status code 500, with default header values.

Internal Server Error

func NewPostUsersIDReinviteLinkInternalServerError

func NewPostUsersIDReinviteLinkInternalServerError() *PostUsersIDReinviteLinkInternalServerError

NewPostUsersIDReinviteLinkInternalServerError creates a PostUsersIDReinviteLinkInternalServerError with default headers values

func (*PostUsersIDReinviteLinkInternalServerError) Error

func (*PostUsersIDReinviteLinkInternalServerError) GetPayload

type PostUsersIDReinviteLinkOK

type PostUsersIDReinviteLinkOK struct {
	Payload *models.InviteUserResponse
}
PostUsersIDReinviteLinkOK describes a response with status code 200, with default header values.

Successful

func NewPostUsersIDReinviteLinkOK

func NewPostUsersIDReinviteLinkOK() *PostUsersIDReinviteLinkOK

NewPostUsersIDReinviteLinkOK creates a PostUsersIDReinviteLinkOK with default headers values

func (*PostUsersIDReinviteLinkOK) Error

func (o *PostUsersIDReinviteLinkOK) Error() string

func (*PostUsersIDReinviteLinkOK) GetPayload

type PostUsersIDReinviteLinkParams

type PostUsersIDReinviteLinkParams struct {

	// ID.
	ID string

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

PostUsersIDReinviteLinkParams contains all the parameters to send to the API endpoint

for the post users Id reinvite link operation.

Typically these are written to a http.Request.

func NewPostUsersIDReinviteLinkParams

func NewPostUsersIDReinviteLinkParams() *PostUsersIDReinviteLinkParams

NewPostUsersIDReinviteLinkParams creates a new PostUsersIDReinviteLinkParams 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 NewPostUsersIDReinviteLinkParamsWithContext

func NewPostUsersIDReinviteLinkParamsWithContext(ctx context.Context) *PostUsersIDReinviteLinkParams

NewPostUsersIDReinviteLinkParamsWithContext creates a new PostUsersIDReinviteLinkParams object with the ability to set a context for a request.

func NewPostUsersIDReinviteLinkParamsWithHTTPClient

func NewPostUsersIDReinviteLinkParamsWithHTTPClient(client *http.Client) *PostUsersIDReinviteLinkParams

NewPostUsersIDReinviteLinkParamsWithHTTPClient creates a new PostUsersIDReinviteLinkParams object with the ability to set a custom HTTPClient for a request.

func NewPostUsersIDReinviteLinkParamsWithTimeout

func NewPostUsersIDReinviteLinkParamsWithTimeout(timeout time.Duration) *PostUsersIDReinviteLinkParams

NewPostUsersIDReinviteLinkParamsWithTimeout creates a new PostUsersIDReinviteLinkParams object with the ability to set a timeout on a request.

func (*PostUsersIDReinviteLinkParams) SetContext

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

SetContext adds the context to the post users Id reinvite link params

func (*PostUsersIDReinviteLinkParams) SetDefaults

func (o *PostUsersIDReinviteLinkParams) SetDefaults()

SetDefaults hydrates default values in the post users Id reinvite link params (not the query body).

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

func (*PostUsersIDReinviteLinkParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the post users Id reinvite link params

func (*PostUsersIDReinviteLinkParams) SetID

SetID adds the id to the post users Id reinvite link params

func (*PostUsersIDReinviteLinkParams) SetTimeout

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

SetTimeout adds the timeout to the post users Id reinvite link params

func (*PostUsersIDReinviteLinkParams) WithContext

WithContext adds the context to the post users Id reinvite link params

func (*PostUsersIDReinviteLinkParams) WithDefaults

WithDefaults hydrates default values in the post users Id reinvite link params (not the query body).

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

func (*PostUsersIDReinviteLinkParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the post users Id reinvite link params

func (*PostUsersIDReinviteLinkParams) WithID

WithID adds the id to the post users Id reinvite link params

func (*PostUsersIDReinviteLinkParams) WithTimeout

WithTimeout adds the timeout to the post users Id reinvite link params

func (*PostUsersIDReinviteLinkParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type PostUsersIDReinviteLinkReader

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

PostUsersIDReinviteLinkReader is a Reader for the PostUsersIDReinviteLink structure.

func (*PostUsersIDReinviteLinkReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type PostUsersIDReinviteLinkUnauthorized

type PostUsersIDReinviteLinkUnauthorized struct {
	Payload *models.Error
}
PostUsersIDReinviteLinkUnauthorized describes a response with status code 401, with default header values.

Unauthorized

func NewPostUsersIDReinviteLinkUnauthorized

func NewPostUsersIDReinviteLinkUnauthorized() *PostUsersIDReinviteLinkUnauthorized

NewPostUsersIDReinviteLinkUnauthorized creates a PostUsersIDReinviteLinkUnauthorized with default headers values

func (*PostUsersIDReinviteLinkUnauthorized) Error

func (*PostUsersIDReinviteLinkUnauthorized) GetPayload

type PostUsersIDReinviteOK

type PostUsersIDReinviteOK struct {
	Payload *models.InviteUserResponse
}
PostUsersIDReinviteOK describes a response with status code 200, with default header values.

Successful

func NewPostUsersIDReinviteOK

func NewPostUsersIDReinviteOK() *PostUsersIDReinviteOK

NewPostUsersIDReinviteOK creates a PostUsersIDReinviteOK with default headers values

func (*PostUsersIDReinviteOK) Error

func (o *PostUsersIDReinviteOK) Error() string

func (*PostUsersIDReinviteOK) GetPayload

type PostUsersIDReinviteParams

type PostUsersIDReinviteParams struct {

	// ID.
	ID string

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

PostUsersIDReinviteParams contains all the parameters to send to the API endpoint

for the post users Id reinvite operation.

Typically these are written to a http.Request.

func NewPostUsersIDReinviteParams

func NewPostUsersIDReinviteParams() *PostUsersIDReinviteParams

NewPostUsersIDReinviteParams creates a new PostUsersIDReinviteParams 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 NewPostUsersIDReinviteParamsWithContext

func NewPostUsersIDReinviteParamsWithContext(ctx context.Context) *PostUsersIDReinviteParams

NewPostUsersIDReinviteParamsWithContext creates a new PostUsersIDReinviteParams object with the ability to set a context for a request.

func NewPostUsersIDReinviteParamsWithHTTPClient

func NewPostUsersIDReinviteParamsWithHTTPClient(client *http.Client) *PostUsersIDReinviteParams

NewPostUsersIDReinviteParamsWithHTTPClient creates a new PostUsersIDReinviteParams object with the ability to set a custom HTTPClient for a request.

func NewPostUsersIDReinviteParamsWithTimeout

func NewPostUsersIDReinviteParamsWithTimeout(timeout time.Duration) *PostUsersIDReinviteParams

NewPostUsersIDReinviteParamsWithTimeout creates a new PostUsersIDReinviteParams object with the ability to set a timeout on a request.

func (*PostUsersIDReinviteParams) SetContext

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

SetContext adds the context to the post users Id reinvite params

func (*PostUsersIDReinviteParams) SetDefaults

func (o *PostUsersIDReinviteParams) SetDefaults()

SetDefaults hydrates default values in the post users Id reinvite params (not the query body).

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

func (*PostUsersIDReinviteParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the post users Id reinvite params

func (*PostUsersIDReinviteParams) SetID

func (o *PostUsersIDReinviteParams) SetID(id string)

SetID adds the id to the post users Id reinvite params

func (*PostUsersIDReinviteParams) SetTimeout

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

SetTimeout adds the timeout to the post users Id reinvite params

func (*PostUsersIDReinviteParams) WithContext

WithContext adds the context to the post users Id reinvite params

func (*PostUsersIDReinviteParams) WithDefaults

WithDefaults hydrates default values in the post users Id reinvite params (not the query body).

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

func (*PostUsersIDReinviteParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the post users Id reinvite params

func (*PostUsersIDReinviteParams) WithID

WithID adds the id to the post users Id reinvite params

func (*PostUsersIDReinviteParams) WithTimeout

WithTimeout adds the timeout to the post users Id reinvite params

func (*PostUsersIDReinviteParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type PostUsersIDReinviteReader

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

PostUsersIDReinviteReader is a Reader for the PostUsersIDReinvite structure.

func (*PostUsersIDReinviteReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type PostUsersIDReinviteUnauthorized

type PostUsersIDReinviteUnauthorized struct {
	Payload *models.Error
}
PostUsersIDReinviteUnauthorized describes a response with status code 401, with default header values.

Unauthorized

func NewPostUsersIDReinviteUnauthorized

func NewPostUsersIDReinviteUnauthorized() *PostUsersIDReinviteUnauthorized

NewPostUsersIDReinviteUnauthorized creates a PostUsersIDReinviteUnauthorized with default headers values

func (*PostUsersIDReinviteUnauthorized) Error

func (*PostUsersIDReinviteUnauthorized) GetPayload

func (o *PostUsersIDReinviteUnauthorized) GetPayload() *models.Error

type PostUsersImportBadRequest

type PostUsersImportBadRequest struct {
	Payload *models.Error
}
PostUsersImportBadRequest describes a response with status code 400, with default header values.

Bad Request

func NewPostUsersImportBadRequest

func NewPostUsersImportBadRequest() *PostUsersImportBadRequest

NewPostUsersImportBadRequest creates a PostUsersImportBadRequest with default headers values

func (*PostUsersImportBadRequest) Error

func (o *PostUsersImportBadRequest) Error() string

func (*PostUsersImportBadRequest) GetPayload

func (o *PostUsersImportBadRequest) GetPayload() *models.Error

type PostUsersImportForbidden

type PostUsersImportForbidden struct {
	Payload *models.Error
}
PostUsersImportForbidden describes a response with status code 403, with default header values.

Forbidden

func NewPostUsersImportForbidden

func NewPostUsersImportForbidden() *PostUsersImportForbidden

NewPostUsersImportForbidden creates a PostUsersImportForbidden with default headers values

func (*PostUsersImportForbidden) Error

func (o *PostUsersImportForbidden) Error() string

func (*PostUsersImportForbidden) GetPayload

func (o *PostUsersImportForbidden) GetPayload() *models.Error

type PostUsersImportInternalServerError

type PostUsersImportInternalServerError struct {
	Payload *models.Error
}
PostUsersImportInternalServerError describes a response with status code 500, with default header values.

Internal Server Error

func NewPostUsersImportInternalServerError

func NewPostUsersImportInternalServerError() *PostUsersImportInternalServerError

NewPostUsersImportInternalServerError creates a PostUsersImportInternalServerError with default headers values

func (*PostUsersImportInternalServerError) Error

func (*PostUsersImportInternalServerError) GetPayload

type PostUsersImportOK

type PostUsersImportOK struct {
	Payload models.ImportUsersResultListSchema
}
PostUsersImportOK describes a response with status code 200, with default header values.

Successful

func NewPostUsersImportOK

func NewPostUsersImportOK() *PostUsersImportOK

NewPostUsersImportOK creates a PostUsersImportOK with default headers values

func (*PostUsersImportOK) Error

func (o *PostUsersImportOK) Error() string

func (*PostUsersImportOK) GetPayload

type PostUsersImportParams

type PostUsersImportParams struct {

	// Body.
	Body models.ImportUsersListSchema

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

PostUsersImportParams contains all the parameters to send to the API endpoint

for the post users import operation.

Typically these are written to a http.Request.

func NewPostUsersImportParams

func NewPostUsersImportParams() *PostUsersImportParams

NewPostUsersImportParams creates a new PostUsersImportParams 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 NewPostUsersImportParamsWithContext

func NewPostUsersImportParamsWithContext(ctx context.Context) *PostUsersImportParams

NewPostUsersImportParamsWithContext creates a new PostUsersImportParams object with the ability to set a context for a request.

func NewPostUsersImportParamsWithHTTPClient

func NewPostUsersImportParamsWithHTTPClient(client *http.Client) *PostUsersImportParams

NewPostUsersImportParamsWithHTTPClient creates a new PostUsersImportParams object with the ability to set a custom HTTPClient for a request.

func NewPostUsersImportParamsWithTimeout

func NewPostUsersImportParamsWithTimeout(timeout time.Duration) *PostUsersImportParams

NewPostUsersImportParamsWithTimeout creates a new PostUsersImportParams object with the ability to set a timeout on a request.

func (*PostUsersImportParams) SetBody

SetBody adds the body to the post users import params

func (*PostUsersImportParams) SetContext

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

SetContext adds the context to the post users import params

func (*PostUsersImportParams) SetDefaults

func (o *PostUsersImportParams) SetDefaults()

SetDefaults hydrates default values in the post users import params (not the query body).

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

func (*PostUsersImportParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the post users import params

func (*PostUsersImportParams) SetTimeout

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

SetTimeout adds the timeout to the post users import params

func (*PostUsersImportParams) WithBody

WithBody adds the body to the post users import params

func (*PostUsersImportParams) WithContext

WithContext adds the context to the post users import params

func (*PostUsersImportParams) WithDefaults

func (o *PostUsersImportParams) WithDefaults() *PostUsersImportParams

WithDefaults hydrates default values in the post users import params (not the query body).

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

func (*PostUsersImportParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the post users import params

func (*PostUsersImportParams) WithTimeout

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

WithTimeout adds the timeout to the post users import params

func (*PostUsersImportParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type PostUsersImportReader

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

PostUsersImportReader is a Reader for the PostUsersImport structure.

func (*PostUsersImportReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type PostUsersImportUnauthorized

type PostUsersImportUnauthorized struct {
	Payload *models.Error
}
PostUsersImportUnauthorized describes a response with status code 401, with default header values.

Unauthorized

func NewPostUsersImportUnauthorized

func NewPostUsersImportUnauthorized() *PostUsersImportUnauthorized

NewPostUsersImportUnauthorized creates a PostUsersImportUnauthorized with default headers values

func (*PostUsersImportUnauthorized) Error

func (*PostUsersImportUnauthorized) GetPayload

func (o *PostUsersImportUnauthorized) GetPayload() *models.Error

type PostUsersInternalServerError

type PostUsersInternalServerError struct {
	Payload *models.Error
}
PostUsersInternalServerError describes a response with status code 500, with default header values.

Internal Server Error

func NewPostUsersInternalServerError

func NewPostUsersInternalServerError() *PostUsersInternalServerError

NewPostUsersInternalServerError creates a PostUsersInternalServerError with default headers values

func (*PostUsersInternalServerError) Error

func (*PostUsersInternalServerError) GetPayload

func (o *PostUsersInternalServerError) GetPayload() *models.Error

type PostUsersInviteBadRequest

type PostUsersInviteBadRequest struct {
	Payload *models.Error
}
PostUsersInviteBadRequest describes a response with status code 400, with default header values.

Bad Request

func NewPostUsersInviteBadRequest

func NewPostUsersInviteBadRequest() *PostUsersInviteBadRequest

NewPostUsersInviteBadRequest creates a PostUsersInviteBadRequest with default headers values

func (*PostUsersInviteBadRequest) Error

func (o *PostUsersInviteBadRequest) Error() string

func (*PostUsersInviteBadRequest) GetPayload

func (o *PostUsersInviteBadRequest) GetPayload() *models.Error

type PostUsersInviteForbidden

type PostUsersInviteForbidden struct {
	Payload *models.Error
}
PostUsersInviteForbidden describes a response with status code 403, with default header values.

Forbidden

func NewPostUsersInviteForbidden

func NewPostUsersInviteForbidden() *PostUsersInviteForbidden

NewPostUsersInviteForbidden creates a PostUsersInviteForbidden with default headers values

func (*PostUsersInviteForbidden) Error

func (o *PostUsersInviteForbidden) Error() string

func (*PostUsersInviteForbidden) GetPayload

func (o *PostUsersInviteForbidden) GetPayload() *models.Error

type PostUsersInviteInternalServerError

type PostUsersInviteInternalServerError struct {
	Payload *models.Error
}
PostUsersInviteInternalServerError describes a response with status code 500, with default header values.

Internal Server Error

func NewPostUsersInviteInternalServerError

func NewPostUsersInviteInternalServerError() *PostUsersInviteInternalServerError

NewPostUsersInviteInternalServerError creates a PostUsersInviteInternalServerError with default headers values

func (*PostUsersInviteInternalServerError) Error

func (*PostUsersInviteInternalServerError) GetPayload

type PostUsersInviteOK

type PostUsersInviteOK struct {
	Payload *models.InviteUserResponse
}
PostUsersInviteOK describes a response with status code 200, with default header values.

Successful

func NewPostUsersInviteOK

func NewPostUsersInviteOK() *PostUsersInviteOK

NewPostUsersInviteOK creates a PostUsersInviteOK with default headers values

func (*PostUsersInviteOK) Error

func (o *PostUsersInviteOK) Error() string

func (*PostUsersInviteOK) GetPayload

func (o *PostUsersInviteOK) GetPayload() *models.InviteUserResponse

type PostUsersInviteParams

type PostUsersInviteParams struct {

	// Body.
	Body *models.InviteUser

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

PostUsersInviteParams contains all the parameters to send to the API endpoint

for the post users invite operation.

Typically these are written to a http.Request.

func NewPostUsersInviteParams

func NewPostUsersInviteParams() *PostUsersInviteParams

NewPostUsersInviteParams creates a new PostUsersInviteParams 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 NewPostUsersInviteParamsWithContext

func NewPostUsersInviteParamsWithContext(ctx context.Context) *PostUsersInviteParams

NewPostUsersInviteParamsWithContext creates a new PostUsersInviteParams object with the ability to set a context for a request.

func NewPostUsersInviteParamsWithHTTPClient

func NewPostUsersInviteParamsWithHTTPClient(client *http.Client) *PostUsersInviteParams

NewPostUsersInviteParamsWithHTTPClient creates a new PostUsersInviteParams object with the ability to set a custom HTTPClient for a request.

func NewPostUsersInviteParamsWithTimeout

func NewPostUsersInviteParamsWithTimeout(timeout time.Duration) *PostUsersInviteParams

NewPostUsersInviteParamsWithTimeout creates a new PostUsersInviteParams object with the ability to set a timeout on a request.

func (*PostUsersInviteParams) SetBody

func (o *PostUsersInviteParams) SetBody(body *models.InviteUser)

SetBody adds the body to the post users invite params

func (*PostUsersInviteParams) SetContext

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

SetContext adds the context to the post users invite params

func (*PostUsersInviteParams) SetDefaults

func (o *PostUsersInviteParams) SetDefaults()

SetDefaults hydrates default values in the post users invite params (not the query body).

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

func (*PostUsersInviteParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the post users invite params

func (*PostUsersInviteParams) SetTimeout

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

SetTimeout adds the timeout to the post users invite params

func (*PostUsersInviteParams) WithBody

WithBody adds the body to the post users invite params

func (*PostUsersInviteParams) WithContext

WithContext adds the context to the post users invite params

func (*PostUsersInviteParams) WithDefaults

func (o *PostUsersInviteParams) WithDefaults() *PostUsersInviteParams

WithDefaults hydrates default values in the post users invite params (not the query body).

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

func (*PostUsersInviteParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the post users invite params

func (*PostUsersInviteParams) WithTimeout

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

WithTimeout adds the timeout to the post users invite params

func (*PostUsersInviteParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type PostUsersInviteReader

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

PostUsersInviteReader is a Reader for the PostUsersInvite structure.

func (*PostUsersInviteReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type PostUsersInviteUnauthorized

type PostUsersInviteUnauthorized struct {
	Payload *models.Error
}
PostUsersInviteUnauthorized describes a response with status code 401, with default header values.

Unauthorized

func NewPostUsersInviteUnauthorized

func NewPostUsersInviteUnauthorized() *PostUsersInviteUnauthorized

NewPostUsersInviteUnauthorized creates a PostUsersInviteUnauthorized with default headers values

func (*PostUsersInviteUnauthorized) Error

func (*PostUsersInviteUnauthorized) GetPayload

func (o *PostUsersInviteUnauthorized) GetPayload() *models.Error

type PostUsersOK

type PostUsersOK struct {
	Payload *models.User
}
PostUsersOK describes a response with status code 200, with default header values.

Successful

func NewPostUsersOK

func NewPostUsersOK() *PostUsersOK

NewPostUsersOK creates a PostUsersOK with default headers values

func (*PostUsersOK) Error

func (o *PostUsersOK) Error() string

func (*PostUsersOK) GetPayload

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

type PostUsersParams

type PostUsersParams struct {

	// Body.
	Body *models.CreateUser

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

PostUsersParams contains all the parameters to send to the API endpoint

for the post users operation.

Typically these are written to a http.Request.

func NewPostUsersParams

func NewPostUsersParams() *PostUsersParams

NewPostUsersParams creates a new PostUsersParams 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 NewPostUsersParamsWithContext

func NewPostUsersParamsWithContext(ctx context.Context) *PostUsersParams

NewPostUsersParamsWithContext creates a new PostUsersParams object with the ability to set a context for a request.

func NewPostUsersParamsWithHTTPClient

func NewPostUsersParamsWithHTTPClient(client *http.Client) *PostUsersParams

NewPostUsersParamsWithHTTPClient creates a new PostUsersParams object with the ability to set a custom HTTPClient for a request.

func NewPostUsersParamsWithTimeout

func NewPostUsersParamsWithTimeout(timeout time.Duration) *PostUsersParams

NewPostUsersParamsWithTimeout creates a new PostUsersParams object with the ability to set a timeout on a request.

func (*PostUsersParams) SetBody

func (o *PostUsersParams) SetBody(body *models.CreateUser)

SetBody adds the body to the post users params

func (*PostUsersParams) SetContext

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

SetContext adds the context to the post users params

func (*PostUsersParams) SetDefaults

func (o *PostUsersParams) SetDefaults()

SetDefaults hydrates default values in the post users params (not the query body).

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

func (*PostUsersParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the post users params

func (*PostUsersParams) SetTimeout

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

SetTimeout adds the timeout to the post users params

func (*PostUsersParams) WithBody

func (o *PostUsersParams) WithBody(body *models.CreateUser) *PostUsersParams

WithBody adds the body to the post users params

func (*PostUsersParams) WithContext

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

WithContext adds the context to the post users params

func (*PostUsersParams) WithDefaults

func (o *PostUsersParams) WithDefaults() *PostUsersParams

WithDefaults hydrates default values in the post users params (not the query body).

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

func (*PostUsersParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the post users params

func (*PostUsersParams) WithTimeout

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

WithTimeout adds the timeout to the post users params

func (*PostUsersParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type PostUsersReader

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

PostUsersReader is a Reader for the PostUsers structure.

func (*PostUsersReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type PostUsersUnauthorized

type PostUsersUnauthorized struct {
	Payload *models.Error
}
PostUsersUnauthorized describes a response with status code 401, with default header values.

Unauthorized

func NewPostUsersUnauthorized

func NewPostUsersUnauthorized() *PostUsersUnauthorized

NewPostUsersUnauthorized creates a PostUsersUnauthorized with default headers values

func (*PostUsersUnauthorized) Error

func (o *PostUsersUnauthorized) Error() string

func (*PostUsersUnauthorized) GetPayload

func (o *PostUsersUnauthorized) GetPayload() *models.Error

type PutUsersIDBadRequest

type PutUsersIDBadRequest struct {
	Payload *models.Error
}
PutUsersIDBadRequest describes a response with status code 400, with default header values.

Bad Request

func NewPutUsersIDBadRequest

func NewPutUsersIDBadRequest() *PutUsersIDBadRequest

NewPutUsersIDBadRequest creates a PutUsersIDBadRequest with default headers values

func (*PutUsersIDBadRequest) Error

func (o *PutUsersIDBadRequest) Error() string

func (*PutUsersIDBadRequest) GetPayload

func (o *PutUsersIDBadRequest) GetPayload() *models.Error

type PutUsersIDForbidden

type PutUsersIDForbidden struct {
	Payload *models.Error
}
PutUsersIDForbidden describes a response with status code 403, with default header values.

Forbidden

func NewPutUsersIDForbidden

func NewPutUsersIDForbidden() *PutUsersIDForbidden

NewPutUsersIDForbidden creates a PutUsersIDForbidden with default headers values

func (*PutUsersIDForbidden) Error

func (o *PutUsersIDForbidden) Error() string

func (*PutUsersIDForbidden) GetPayload

func (o *PutUsersIDForbidden) GetPayload() *models.Error

type PutUsersIDInternalServerError

type PutUsersIDInternalServerError struct {
	Payload *models.Error
}
PutUsersIDInternalServerError describes a response with status code 500, with default header values.

Internal Server Error

func NewPutUsersIDInternalServerError

func NewPutUsersIDInternalServerError() *PutUsersIDInternalServerError

NewPutUsersIDInternalServerError creates a PutUsersIDInternalServerError with default headers values

func (*PutUsersIDInternalServerError) Error

func (*PutUsersIDInternalServerError) GetPayload

func (o *PutUsersIDInternalServerError) GetPayload() *models.Error

type PutUsersIDOK

type PutUsersIDOK struct {
	Payload *models.User
}
PutUsersIDOK describes a response with status code 200, with default header values.

Successful

func NewPutUsersIDOK

func NewPutUsersIDOK() *PutUsersIDOK

NewPutUsersIDOK creates a PutUsersIDOK with default headers values

func (*PutUsersIDOK) Error

func (o *PutUsersIDOK) Error() string

func (*PutUsersIDOK) GetPayload

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

type PutUsersIDParams

type PutUsersIDParams struct {

	// Body.
	Body *models.UpdateUser

	// ID.
	ID string

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

PutUsersIDParams contains all the parameters to send to the API endpoint

for the put users Id operation.

Typically these are written to a http.Request.

func NewPutUsersIDParams

func NewPutUsersIDParams() *PutUsersIDParams

NewPutUsersIDParams creates a new PutUsersIDParams 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 NewPutUsersIDParamsWithContext

func NewPutUsersIDParamsWithContext(ctx context.Context) *PutUsersIDParams

NewPutUsersIDParamsWithContext creates a new PutUsersIDParams object with the ability to set a context for a request.

func NewPutUsersIDParamsWithHTTPClient

func NewPutUsersIDParamsWithHTTPClient(client *http.Client) *PutUsersIDParams

NewPutUsersIDParamsWithHTTPClient creates a new PutUsersIDParams object with the ability to set a custom HTTPClient for a request.

func NewPutUsersIDParamsWithTimeout

func NewPutUsersIDParamsWithTimeout(timeout time.Duration) *PutUsersIDParams

NewPutUsersIDParamsWithTimeout creates a new PutUsersIDParams object with the ability to set a timeout on a request.

func (*PutUsersIDParams) SetBody

func (o *PutUsersIDParams) SetBody(body *models.UpdateUser)

SetBody adds the body to the put users Id params

func (*PutUsersIDParams) SetContext

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

SetContext adds the context to the put users Id params

func (*PutUsersIDParams) SetDefaults

func (o *PutUsersIDParams) SetDefaults()

SetDefaults hydrates default values in the put users Id params (not the query body).

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

func (*PutUsersIDParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the put users Id params

func (*PutUsersIDParams) SetID

func (o *PutUsersIDParams) SetID(id string)

SetID adds the id to the put users Id params

func (*PutUsersIDParams) SetTimeout

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

SetTimeout adds the timeout to the put users Id params

func (*PutUsersIDParams) WithBody

func (o *PutUsersIDParams) WithBody(body *models.UpdateUser) *PutUsersIDParams

WithBody adds the body to the put users Id params

func (*PutUsersIDParams) WithContext

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

WithContext adds the context to the put users Id params

func (*PutUsersIDParams) WithDefaults

func (o *PutUsersIDParams) WithDefaults() *PutUsersIDParams

WithDefaults hydrates default values in the put users Id params (not the query body).

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

func (*PutUsersIDParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the put users Id params

func (*PutUsersIDParams) WithID

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

WithID adds the id to the put users Id params

func (*PutUsersIDParams) WithTimeout

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

WithTimeout adds the timeout to the put users Id params

func (*PutUsersIDParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type PutUsersIDReader

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

PutUsersIDReader is a Reader for the PutUsersID structure.

func (*PutUsersIDReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type PutUsersIDUnauthorized

type PutUsersIDUnauthorized struct {
	Payload *models.Error
}
PutUsersIDUnauthorized describes a response with status code 401, with default header values.

Unauthorized

func NewPutUsersIDUnauthorized

func NewPutUsersIDUnauthorized() *PutUsersIDUnauthorized

NewPutUsersIDUnauthorized creates a PutUsersIDUnauthorized with default headers values

func (*PutUsersIDUnauthorized) Error

func (o *PutUsersIDUnauthorized) Error() string

func (*PutUsersIDUnauthorized) GetPayload

func (o *PutUsersIDUnauthorized) GetPayload() *models.Error

Jump to

Keyboard shortcuts

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