userlist

package
v1.1.6 Latest Latest
Warning

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

Go to latest
Published: Oct 11, 2023 License: Apache-2.0 Imports: 12 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 userlist API

func (*Client) CreateUserlist

CreateUserlist adds a new userlist

Adds a new userlist to the configuration file.

func (*Client) DeleteUserlist

DeleteUserlist deletes a userlist

Deletes a userlist configuration by it's name.

func (*Client) GetUserlist

func (a *Client) GetUserlist(params *GetUserlistParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetUserlistOK, error)

GetUserlist returns one userlist

Returns one userlist configuration by it's name.

func (*Client) GetUserlists

func (a *Client) GetUserlists(params *GetUserlistsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetUserlistsOK, error)

GetUserlists returns an array of userlists

Returns an array of all configured userlists.

func (*Client) SetTransport

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

SetTransport changes the transport on the client

type ClientOption added in v1.0.0

type ClientOption func(*runtime.ClientOperation)

ClientOption is the option for Client methods

type ClientService

type ClientService interface {
	CreateUserlist(params *CreateUserlistParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CreateUserlistCreated, *CreateUserlistAccepted, error)

	DeleteUserlist(params *DeleteUserlistParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteUserlistAccepted, *DeleteUserlistNoContent, error)

	GetUserlist(params *GetUserlistParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetUserlistOK, error)

	GetUserlists(params *GetUserlistsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetUserlistsOK, 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 userlist API client.

type CreateUserlistAccepted

type CreateUserlistAccepted struct {

	/* ID of the requested reload
	 */
	ReloadID string

	Payload *models.Userlist
}

CreateUserlistAccepted describes a response with status code 202, with default header values.

Configuration change accepted and reload requested

func NewCreateUserlistAccepted

func NewCreateUserlistAccepted() *CreateUserlistAccepted

NewCreateUserlistAccepted creates a CreateUserlistAccepted with default headers values

func (*CreateUserlistAccepted) Code added in v1.1.5

func (o *CreateUserlistAccepted) Code() int

Code gets the status code for the create userlist accepted response

func (*CreateUserlistAccepted) Error

func (o *CreateUserlistAccepted) Error() string

func (*CreateUserlistAccepted) GetPayload

func (o *CreateUserlistAccepted) GetPayload() *models.Userlist

func (*CreateUserlistAccepted) IsClientError added in v1.1.0

func (o *CreateUserlistAccepted) IsClientError() bool

IsClientError returns true when this create userlist accepted response has a 4xx status code

func (*CreateUserlistAccepted) IsCode added in v1.1.0

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

IsCode returns true when this create userlist accepted response a status code equal to that given

func (*CreateUserlistAccepted) IsRedirect added in v1.1.0

func (o *CreateUserlistAccepted) IsRedirect() bool

IsRedirect returns true when this create userlist accepted response has a 3xx status code

func (*CreateUserlistAccepted) IsServerError added in v1.1.0

func (o *CreateUserlistAccepted) IsServerError() bool

IsServerError returns true when this create userlist accepted response has a 5xx status code

func (*CreateUserlistAccepted) IsSuccess added in v1.1.0

func (o *CreateUserlistAccepted) IsSuccess() bool

IsSuccess returns true when this create userlist accepted response has a 2xx status code

func (*CreateUserlistAccepted) String added in v1.1.0

func (o *CreateUserlistAccepted) String() string

type CreateUserlistBadRequest

type CreateUserlistBadRequest struct {

	/* Configuration file version
	 */
	ConfigurationVersion string

	Payload *models.Error
}

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

Bad request

func NewCreateUserlistBadRequest

func NewCreateUserlistBadRequest() *CreateUserlistBadRequest

NewCreateUserlistBadRequest creates a CreateUserlistBadRequest with default headers values

func (*CreateUserlistBadRequest) Code added in v1.1.5

func (o *CreateUserlistBadRequest) Code() int

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

func (*CreateUserlistBadRequest) Error

func (o *CreateUserlistBadRequest) Error() string

func (*CreateUserlistBadRequest) GetPayload

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

func (*CreateUserlistBadRequest) IsClientError added in v1.1.0

func (o *CreateUserlistBadRequest) IsClientError() bool

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

func (*CreateUserlistBadRequest) IsCode added in v1.1.0

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

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

func (*CreateUserlistBadRequest) IsRedirect added in v1.1.0

func (o *CreateUserlistBadRequest) IsRedirect() bool

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

func (*CreateUserlistBadRequest) IsServerError added in v1.1.0

func (o *CreateUserlistBadRequest) IsServerError() bool

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

func (*CreateUserlistBadRequest) IsSuccess added in v1.1.0

func (o *CreateUserlistBadRequest) IsSuccess() bool

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

func (*CreateUserlistBadRequest) String added in v1.1.0

func (o *CreateUserlistBadRequest) String() string

type CreateUserlistConflict

type CreateUserlistConflict struct {

	/* Configuration file version
	 */
	ConfigurationVersion string

	Payload *models.Error
}

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

The specified resource already exists

func NewCreateUserlistConflict

func NewCreateUserlistConflict() *CreateUserlistConflict

NewCreateUserlistConflict creates a CreateUserlistConflict with default headers values

func (*CreateUserlistConflict) Code added in v1.1.5

func (o *CreateUserlistConflict) Code() int

Code gets the status code for the create userlist conflict response

func (*CreateUserlistConflict) Error

func (o *CreateUserlistConflict) Error() string

func (*CreateUserlistConflict) GetPayload

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

func (*CreateUserlistConflict) IsClientError added in v1.1.0

func (o *CreateUserlistConflict) IsClientError() bool

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

func (*CreateUserlistConflict) IsCode added in v1.1.0

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

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

func (*CreateUserlistConflict) IsRedirect added in v1.1.0

func (o *CreateUserlistConflict) IsRedirect() bool

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

func (*CreateUserlistConflict) IsServerError added in v1.1.0

func (o *CreateUserlistConflict) IsServerError() bool

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

func (*CreateUserlistConflict) IsSuccess added in v1.1.0

func (o *CreateUserlistConflict) IsSuccess() bool

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

func (*CreateUserlistConflict) String added in v1.1.0

func (o *CreateUserlistConflict) String() string

type CreateUserlistCreated

type CreateUserlistCreated struct {
	Payload *models.Userlist
}

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

Userlist created

func NewCreateUserlistCreated

func NewCreateUserlistCreated() *CreateUserlistCreated

NewCreateUserlistCreated creates a CreateUserlistCreated with default headers values

func (*CreateUserlistCreated) Code added in v1.1.5

func (o *CreateUserlistCreated) Code() int

Code gets the status code for the create userlist created response

func (*CreateUserlistCreated) Error

func (o *CreateUserlistCreated) Error() string

func (*CreateUserlistCreated) GetPayload

func (o *CreateUserlistCreated) GetPayload() *models.Userlist

func (*CreateUserlistCreated) IsClientError added in v1.1.0

func (o *CreateUserlistCreated) IsClientError() bool

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

func (*CreateUserlistCreated) IsCode added in v1.1.0

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

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

func (*CreateUserlistCreated) IsRedirect added in v1.1.0

func (o *CreateUserlistCreated) IsRedirect() bool

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

func (*CreateUserlistCreated) IsServerError added in v1.1.0

func (o *CreateUserlistCreated) IsServerError() bool

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

func (*CreateUserlistCreated) IsSuccess added in v1.1.0

func (o *CreateUserlistCreated) IsSuccess() bool

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

func (*CreateUserlistCreated) String added in v1.1.0

func (o *CreateUserlistCreated) String() string

type CreateUserlistDefault

type CreateUserlistDefault struct {

	/* Configuration file version
	 */
	ConfigurationVersion string

	Payload *models.Error
	// contains filtered or unexported fields
}

CreateUserlistDefault describes a response with status code -1, with default header values.

General Error

func NewCreateUserlistDefault

func NewCreateUserlistDefault(code int) *CreateUserlistDefault

NewCreateUserlistDefault creates a CreateUserlistDefault with default headers values

func (*CreateUserlistDefault) Code

func (o *CreateUserlistDefault) Code() int

Code gets the status code for the create userlist default response

func (*CreateUserlistDefault) Error

func (o *CreateUserlistDefault) Error() string

func (*CreateUserlistDefault) GetPayload

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

func (*CreateUserlistDefault) IsClientError added in v1.1.0

func (o *CreateUserlistDefault) IsClientError() bool

IsClientError returns true when this create userlist default response has a 4xx status code

func (*CreateUserlistDefault) IsCode added in v1.1.0

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

IsCode returns true when this create userlist default response a status code equal to that given

func (*CreateUserlistDefault) IsRedirect added in v1.1.0

func (o *CreateUserlistDefault) IsRedirect() bool

IsRedirect returns true when this create userlist default response has a 3xx status code

func (*CreateUserlistDefault) IsServerError added in v1.1.0

func (o *CreateUserlistDefault) IsServerError() bool

IsServerError returns true when this create userlist default response has a 5xx status code

func (*CreateUserlistDefault) IsSuccess added in v1.1.0

func (o *CreateUserlistDefault) IsSuccess() bool

IsSuccess returns true when this create userlist default response has a 2xx status code

func (*CreateUserlistDefault) String added in v1.1.0

func (o *CreateUserlistDefault) String() string

type CreateUserlistParams

type CreateUserlistParams struct {

	// Data.
	Data *models.Userlist

	/* ForceReload.

	   If set, do a force reload, do not wait for the configured reload-delay. Cannot be used when transaction is specified, as changes in transaction are not applied directly to configuration.
	*/
	ForceReload *bool

	/* TransactionID.

	   ID of the transaction where we want to add the operation. Cannot be used when version is specified.
	*/
	TransactionID *string

	/* Version.

	   Version used for checking configuration version. Cannot be used when transaction is specified, transaction has it's own version.
	*/
	Version *int64

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

CreateUserlistParams contains all the parameters to send to the API endpoint

for the create userlist operation.

Typically these are written to a http.Request.

func NewCreateUserlistParams

func NewCreateUserlistParams() *CreateUserlistParams

NewCreateUserlistParams creates a new CreateUserlistParams 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 NewCreateUserlistParamsWithContext

func NewCreateUserlistParamsWithContext(ctx context.Context) *CreateUserlistParams

NewCreateUserlistParamsWithContext creates a new CreateUserlistParams object with the ability to set a context for a request.

func NewCreateUserlistParamsWithHTTPClient

func NewCreateUserlistParamsWithHTTPClient(client *http.Client) *CreateUserlistParams

NewCreateUserlistParamsWithHTTPClient creates a new CreateUserlistParams object with the ability to set a custom HTTPClient for a request.

func NewCreateUserlistParamsWithTimeout

func NewCreateUserlistParamsWithTimeout(timeout time.Duration) *CreateUserlistParams

NewCreateUserlistParamsWithTimeout creates a new CreateUserlistParams object with the ability to set a timeout on a request.

func (*CreateUserlistParams) SetContext

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

SetContext adds the context to the create userlist params

func (*CreateUserlistParams) SetData

func (o *CreateUserlistParams) SetData(data *models.Userlist)

SetData adds the data to the create userlist params

func (*CreateUserlistParams) SetDefaults added in v1.0.0

func (o *CreateUserlistParams) SetDefaults()

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

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

func (*CreateUserlistParams) SetForceReload

func (o *CreateUserlistParams) SetForceReload(forceReload *bool)

SetForceReload adds the forceReload to the create userlist params

func (*CreateUserlistParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the create userlist params

func (*CreateUserlistParams) SetTimeout

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

SetTimeout adds the timeout to the create userlist params

func (*CreateUserlistParams) SetTransactionID

func (o *CreateUserlistParams) SetTransactionID(transactionID *string)

SetTransactionID adds the transactionId to the create userlist params

func (*CreateUserlistParams) SetVersion

func (o *CreateUserlistParams) SetVersion(version *int64)

SetVersion adds the version to the create userlist params

func (*CreateUserlistParams) WithContext

WithContext adds the context to the create userlist params

func (*CreateUserlistParams) WithData

WithData adds the data to the create userlist params

func (*CreateUserlistParams) WithDefaults added in v1.0.0

func (o *CreateUserlistParams) WithDefaults() *CreateUserlistParams

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

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

func (*CreateUserlistParams) WithForceReload

func (o *CreateUserlistParams) WithForceReload(forceReload *bool) *CreateUserlistParams

WithForceReload adds the forceReload to the create userlist params

func (*CreateUserlistParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the create userlist params

func (*CreateUserlistParams) WithTimeout

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

WithTimeout adds the timeout to the create userlist params

func (*CreateUserlistParams) WithTransactionID

func (o *CreateUserlistParams) WithTransactionID(transactionID *string) *CreateUserlistParams

WithTransactionID adds the transactionID to the create userlist params

func (*CreateUserlistParams) WithVersion

func (o *CreateUserlistParams) WithVersion(version *int64) *CreateUserlistParams

WithVersion adds the version to the create userlist params

func (*CreateUserlistParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type CreateUserlistReader

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

CreateUserlistReader is a Reader for the CreateUserlist structure.

func (*CreateUserlistReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type DeleteUserlistAccepted

type DeleteUserlistAccepted struct {

	/* ID of the requested reload
	 */
	ReloadID string
}

DeleteUserlistAccepted describes a response with status code 202, with default header values.

Configuration change accepted and reload requested

func NewDeleteUserlistAccepted

func NewDeleteUserlistAccepted() *DeleteUserlistAccepted

NewDeleteUserlistAccepted creates a DeleteUserlistAccepted with default headers values

func (*DeleteUserlistAccepted) Code added in v1.1.5

func (o *DeleteUserlistAccepted) Code() int

Code gets the status code for the delete userlist accepted response

func (*DeleteUserlistAccepted) Error

func (o *DeleteUserlistAccepted) Error() string

func (*DeleteUserlistAccepted) IsClientError added in v1.1.0

func (o *DeleteUserlistAccepted) IsClientError() bool

IsClientError returns true when this delete userlist accepted response has a 4xx status code

func (*DeleteUserlistAccepted) IsCode added in v1.1.0

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

IsCode returns true when this delete userlist accepted response a status code equal to that given

func (*DeleteUserlistAccepted) IsRedirect added in v1.1.0

func (o *DeleteUserlistAccepted) IsRedirect() bool

IsRedirect returns true when this delete userlist accepted response has a 3xx status code

func (*DeleteUserlistAccepted) IsServerError added in v1.1.0

func (o *DeleteUserlistAccepted) IsServerError() bool

IsServerError returns true when this delete userlist accepted response has a 5xx status code

func (*DeleteUserlistAccepted) IsSuccess added in v1.1.0

func (o *DeleteUserlistAccepted) IsSuccess() bool

IsSuccess returns true when this delete userlist accepted response has a 2xx status code

func (*DeleteUserlistAccepted) String added in v1.1.0

func (o *DeleteUserlistAccepted) String() string

type DeleteUserlistDefault

type DeleteUserlistDefault struct {

	/* Configuration file version
	 */
	ConfigurationVersion string

	Payload *models.Error
	// contains filtered or unexported fields
}

DeleteUserlistDefault describes a response with status code -1, with default header values.

General Error

func NewDeleteUserlistDefault

func NewDeleteUserlistDefault(code int) *DeleteUserlistDefault

NewDeleteUserlistDefault creates a DeleteUserlistDefault with default headers values

func (*DeleteUserlistDefault) Code

func (o *DeleteUserlistDefault) Code() int

Code gets the status code for the delete userlist default response

func (*DeleteUserlistDefault) Error

func (o *DeleteUserlistDefault) Error() string

func (*DeleteUserlistDefault) GetPayload

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

func (*DeleteUserlistDefault) IsClientError added in v1.1.0

func (o *DeleteUserlistDefault) IsClientError() bool

IsClientError returns true when this delete userlist default response has a 4xx status code

func (*DeleteUserlistDefault) IsCode added in v1.1.0

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

IsCode returns true when this delete userlist default response a status code equal to that given

func (*DeleteUserlistDefault) IsRedirect added in v1.1.0

func (o *DeleteUserlistDefault) IsRedirect() bool

IsRedirect returns true when this delete userlist default response has a 3xx status code

func (*DeleteUserlistDefault) IsServerError added in v1.1.0

func (o *DeleteUserlistDefault) IsServerError() bool

IsServerError returns true when this delete userlist default response has a 5xx status code

func (*DeleteUserlistDefault) IsSuccess added in v1.1.0

func (o *DeleteUserlistDefault) IsSuccess() bool

IsSuccess returns true when this delete userlist default response has a 2xx status code

func (*DeleteUserlistDefault) String added in v1.1.0

func (o *DeleteUserlistDefault) String() string

type DeleteUserlistNoContent

type DeleteUserlistNoContent struct {
}

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

Userlist deleted

func NewDeleteUserlistNoContent

func NewDeleteUserlistNoContent() *DeleteUserlistNoContent

NewDeleteUserlistNoContent creates a DeleteUserlistNoContent with default headers values

func (*DeleteUserlistNoContent) Code added in v1.1.5

func (o *DeleteUserlistNoContent) Code() int

Code gets the status code for the delete userlist no content response

func (*DeleteUserlistNoContent) Error

func (o *DeleteUserlistNoContent) Error() string

func (*DeleteUserlistNoContent) IsClientError added in v1.1.0

func (o *DeleteUserlistNoContent) IsClientError() bool

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

func (*DeleteUserlistNoContent) IsCode added in v1.1.0

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

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

func (*DeleteUserlistNoContent) IsRedirect added in v1.1.0

func (o *DeleteUserlistNoContent) IsRedirect() bool

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

func (*DeleteUserlistNoContent) IsServerError added in v1.1.0

func (o *DeleteUserlistNoContent) IsServerError() bool

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

func (*DeleteUserlistNoContent) IsSuccess added in v1.1.0

func (o *DeleteUserlistNoContent) IsSuccess() bool

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

func (*DeleteUserlistNoContent) String added in v1.1.0

func (o *DeleteUserlistNoContent) String() string

type DeleteUserlistNotFound

type DeleteUserlistNotFound struct {

	/* Configuration file version
	 */
	ConfigurationVersion string

	Payload *models.Error
}

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

The specified resource was not found

func NewDeleteUserlistNotFound

func NewDeleteUserlistNotFound() *DeleteUserlistNotFound

NewDeleteUserlistNotFound creates a DeleteUserlistNotFound with default headers values

func (*DeleteUserlistNotFound) Code added in v1.1.5

func (o *DeleteUserlistNotFound) Code() int

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

func (*DeleteUserlistNotFound) Error

func (o *DeleteUserlistNotFound) Error() string

func (*DeleteUserlistNotFound) GetPayload

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

func (*DeleteUserlistNotFound) IsClientError added in v1.1.0

func (o *DeleteUserlistNotFound) IsClientError() bool

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

func (*DeleteUserlistNotFound) IsCode added in v1.1.0

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

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

func (*DeleteUserlistNotFound) IsRedirect added in v1.1.0

func (o *DeleteUserlistNotFound) IsRedirect() bool

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

func (*DeleteUserlistNotFound) IsServerError added in v1.1.0

func (o *DeleteUserlistNotFound) IsServerError() bool

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

func (*DeleteUserlistNotFound) IsSuccess added in v1.1.0

func (o *DeleteUserlistNotFound) IsSuccess() bool

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

func (*DeleteUserlistNotFound) String added in v1.1.0

func (o *DeleteUserlistNotFound) String() string

type DeleteUserlistParams

type DeleteUserlistParams struct {

	/* ForceReload.

	   If set, do a force reload, do not wait for the configured reload-delay. Cannot be used when transaction is specified, as changes in transaction are not applied directly to configuration.
	*/
	ForceReload *bool

	/* Name.

	   Userlist name
	*/
	Name string

	/* TransactionID.

	   ID of the transaction where we want to add the operation. Cannot be used when version is specified.
	*/
	TransactionID *string

	/* Version.

	   Version used for checking configuration version. Cannot be used when transaction is specified, transaction has it's own version.
	*/
	Version *int64

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

DeleteUserlistParams contains all the parameters to send to the API endpoint

for the delete userlist operation.

Typically these are written to a http.Request.

func NewDeleteUserlistParams

func NewDeleteUserlistParams() *DeleteUserlistParams

NewDeleteUserlistParams creates a new DeleteUserlistParams 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 NewDeleteUserlistParamsWithContext

func NewDeleteUserlistParamsWithContext(ctx context.Context) *DeleteUserlistParams

NewDeleteUserlistParamsWithContext creates a new DeleteUserlistParams object with the ability to set a context for a request.

func NewDeleteUserlistParamsWithHTTPClient

func NewDeleteUserlistParamsWithHTTPClient(client *http.Client) *DeleteUserlistParams

NewDeleteUserlistParamsWithHTTPClient creates a new DeleteUserlistParams object with the ability to set a custom HTTPClient for a request.

func NewDeleteUserlistParamsWithTimeout

func NewDeleteUserlistParamsWithTimeout(timeout time.Duration) *DeleteUserlistParams

NewDeleteUserlistParamsWithTimeout creates a new DeleteUserlistParams object with the ability to set a timeout on a request.

func (*DeleteUserlistParams) SetContext

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

SetContext adds the context to the delete userlist params

func (*DeleteUserlistParams) SetDefaults added in v1.0.0

func (o *DeleteUserlistParams) SetDefaults()

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

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

func (*DeleteUserlistParams) SetForceReload

func (o *DeleteUserlistParams) SetForceReload(forceReload *bool)

SetForceReload adds the forceReload to the delete userlist params

func (*DeleteUserlistParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the delete userlist params

func (*DeleteUserlistParams) SetName

func (o *DeleteUserlistParams) SetName(name string)

SetName adds the name to the delete userlist params

func (*DeleteUserlistParams) SetTimeout

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

SetTimeout adds the timeout to the delete userlist params

func (*DeleteUserlistParams) SetTransactionID

func (o *DeleteUserlistParams) SetTransactionID(transactionID *string)

SetTransactionID adds the transactionId to the delete userlist params

func (*DeleteUserlistParams) SetVersion

func (o *DeleteUserlistParams) SetVersion(version *int64)

SetVersion adds the version to the delete userlist params

func (*DeleteUserlistParams) WithContext

WithContext adds the context to the delete userlist params

func (*DeleteUserlistParams) WithDefaults added in v1.0.0

func (o *DeleteUserlistParams) WithDefaults() *DeleteUserlistParams

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

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

func (*DeleteUserlistParams) WithForceReload

func (o *DeleteUserlistParams) WithForceReload(forceReload *bool) *DeleteUserlistParams

WithForceReload adds the forceReload to the delete userlist params

func (*DeleteUserlistParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the delete userlist params

func (*DeleteUserlistParams) WithName

WithName adds the name to the delete userlist params

func (*DeleteUserlistParams) WithTimeout

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

WithTimeout adds the timeout to the delete userlist params

func (*DeleteUserlistParams) WithTransactionID

func (o *DeleteUserlistParams) WithTransactionID(transactionID *string) *DeleteUserlistParams

WithTransactionID adds the transactionID to the delete userlist params

func (*DeleteUserlistParams) WithVersion

func (o *DeleteUserlistParams) WithVersion(version *int64) *DeleteUserlistParams

WithVersion adds the version to the delete userlist params

func (*DeleteUserlistParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type DeleteUserlistReader

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

DeleteUserlistReader is a Reader for the DeleteUserlist structure.

func (*DeleteUserlistReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetUserlistDefault

type GetUserlistDefault struct {

	/* Configuration file version
	 */
	ConfigurationVersion string

	Payload *models.Error
	// contains filtered or unexported fields
}

GetUserlistDefault describes a response with status code -1, with default header values.

General Error

func NewGetUserlistDefault

func NewGetUserlistDefault(code int) *GetUserlistDefault

NewGetUserlistDefault creates a GetUserlistDefault with default headers values

func (*GetUserlistDefault) Code

func (o *GetUserlistDefault) Code() int

Code gets the status code for the get userlist default response

func (*GetUserlistDefault) Error

func (o *GetUserlistDefault) Error() string

func (*GetUserlistDefault) GetPayload

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

func (*GetUserlistDefault) IsClientError added in v1.1.0

func (o *GetUserlistDefault) IsClientError() bool

IsClientError returns true when this get userlist default response has a 4xx status code

func (*GetUserlistDefault) IsCode added in v1.1.0

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

IsCode returns true when this get userlist default response a status code equal to that given

func (*GetUserlistDefault) IsRedirect added in v1.1.0

func (o *GetUserlistDefault) IsRedirect() bool

IsRedirect returns true when this get userlist default response has a 3xx status code

func (*GetUserlistDefault) IsServerError added in v1.1.0

func (o *GetUserlistDefault) IsServerError() bool

IsServerError returns true when this get userlist default response has a 5xx status code

func (*GetUserlistDefault) IsSuccess added in v1.1.0

func (o *GetUserlistDefault) IsSuccess() bool

IsSuccess returns true when this get userlist default response has a 2xx status code

func (*GetUserlistDefault) String added in v1.1.0

func (o *GetUserlistDefault) String() string

type GetUserlistNotFound

type GetUserlistNotFound struct {

	/* Configuration file version
	 */
	ConfigurationVersion string

	Payload *models.Error
}

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

The specified resource already exists

func NewGetUserlistNotFound

func NewGetUserlistNotFound() *GetUserlistNotFound

NewGetUserlistNotFound creates a GetUserlistNotFound with default headers values

func (*GetUserlistNotFound) Code added in v1.1.5

func (o *GetUserlistNotFound) Code() int

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

func (*GetUserlistNotFound) Error

func (o *GetUserlistNotFound) Error() string

func (*GetUserlistNotFound) GetPayload

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

func (*GetUserlistNotFound) IsClientError added in v1.1.0

func (o *GetUserlistNotFound) IsClientError() bool

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

func (*GetUserlistNotFound) IsCode added in v1.1.0

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

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

func (*GetUserlistNotFound) IsRedirect added in v1.1.0

func (o *GetUserlistNotFound) IsRedirect() bool

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

func (*GetUserlistNotFound) IsServerError added in v1.1.0

func (o *GetUserlistNotFound) IsServerError() bool

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

func (*GetUserlistNotFound) IsSuccess added in v1.1.0

func (o *GetUserlistNotFound) IsSuccess() bool

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

func (*GetUserlistNotFound) String added in v1.1.0

func (o *GetUserlistNotFound) String() string

type GetUserlistOK

type GetUserlistOK struct {

	/* Configuration file version
	 */
	ConfigurationVersion string

	Payload *GetUserlistOKBody
}

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

Successful operation

func NewGetUserlistOK

func NewGetUserlistOK() *GetUserlistOK

NewGetUserlistOK creates a GetUserlistOK with default headers values

func (*GetUserlistOK) Code added in v1.1.5

func (o *GetUserlistOK) Code() int

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

func (*GetUserlistOK) Error

func (o *GetUserlistOK) Error() string

func (*GetUserlistOK) GetPayload

func (o *GetUserlistOK) GetPayload() *GetUserlistOKBody

func (*GetUserlistOK) IsClientError added in v1.1.0

func (o *GetUserlistOK) IsClientError() bool

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

func (*GetUserlistOK) IsCode added in v1.1.0

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

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

func (*GetUserlistOK) IsRedirect added in v1.1.0

func (o *GetUserlistOK) IsRedirect() bool

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

func (*GetUserlistOK) IsServerError added in v1.1.0

func (o *GetUserlistOK) IsServerError() bool

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

func (*GetUserlistOK) IsSuccess added in v1.1.0

func (o *GetUserlistOK) IsSuccess() bool

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

func (*GetUserlistOK) String added in v1.1.0

func (o *GetUserlistOK) String() string

type GetUserlistOKBody

type GetUserlistOKBody struct {

	// version
	Version int64 `json:"_version,omitempty"`

	// data
	Data *models.Userlist `json:"data,omitempty"`
}

GetUserlistOKBody get userlist o k body swagger:model GetUserlistOKBody

func (*GetUserlistOKBody) ContextValidate added in v1.0.0

func (o *GetUserlistOKBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this get userlist o k body based on the context it is used

func (*GetUserlistOKBody) MarshalBinary

func (o *GetUserlistOKBody) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*GetUserlistOKBody) UnmarshalBinary

func (o *GetUserlistOKBody) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*GetUserlistOKBody) Validate

func (o *GetUserlistOKBody) Validate(formats strfmt.Registry) error

Validate validates this get userlist o k body

type GetUserlistParams

type GetUserlistParams struct {

	/* Name.

	   Userlist name
	*/
	Name string

	/* TransactionID.

	   ID of the transaction where we want to add the operation. Cannot be used when version is specified.
	*/
	TransactionID *string

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

GetUserlistParams contains all the parameters to send to the API endpoint

for the get userlist operation.

Typically these are written to a http.Request.

func NewGetUserlistParams

func NewGetUserlistParams() *GetUserlistParams

NewGetUserlistParams creates a new GetUserlistParams 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 NewGetUserlistParamsWithContext

func NewGetUserlistParamsWithContext(ctx context.Context) *GetUserlistParams

NewGetUserlistParamsWithContext creates a new GetUserlistParams object with the ability to set a context for a request.

func NewGetUserlistParamsWithHTTPClient

func NewGetUserlistParamsWithHTTPClient(client *http.Client) *GetUserlistParams

NewGetUserlistParamsWithHTTPClient creates a new GetUserlistParams object with the ability to set a custom HTTPClient for a request.

func NewGetUserlistParamsWithTimeout

func NewGetUserlistParamsWithTimeout(timeout time.Duration) *GetUserlistParams

NewGetUserlistParamsWithTimeout creates a new GetUserlistParams object with the ability to set a timeout on a request.

func (*GetUserlistParams) SetContext

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

SetContext adds the context to the get userlist params

func (*GetUserlistParams) SetDefaults added in v1.0.0

func (o *GetUserlistParams) SetDefaults()

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

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

func (*GetUserlistParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get userlist params

func (*GetUserlistParams) SetName

func (o *GetUserlistParams) SetName(name string)

SetName adds the name to the get userlist params

func (*GetUserlistParams) SetTimeout

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

SetTimeout adds the timeout to the get userlist params

func (*GetUserlistParams) SetTransactionID

func (o *GetUserlistParams) SetTransactionID(transactionID *string)

SetTransactionID adds the transactionId to the get userlist params

func (*GetUserlistParams) WithContext

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

WithContext adds the context to the get userlist params

func (*GetUserlistParams) WithDefaults added in v1.0.0

func (o *GetUserlistParams) WithDefaults() *GetUserlistParams

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

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

func (*GetUserlistParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the get userlist params

func (*GetUserlistParams) WithName

func (o *GetUserlistParams) WithName(name string) *GetUserlistParams

WithName adds the name to the get userlist params

func (*GetUserlistParams) WithTimeout

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

WithTimeout adds the timeout to the get userlist params

func (*GetUserlistParams) WithTransactionID

func (o *GetUserlistParams) WithTransactionID(transactionID *string) *GetUserlistParams

WithTransactionID adds the transactionID to the get userlist params

func (*GetUserlistParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type GetUserlistReader

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

GetUserlistReader is a Reader for the GetUserlist structure.

func (*GetUserlistReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetUserlistsDefault

type GetUserlistsDefault struct {

	/* Configuration file version
	 */
	ConfigurationVersion string

	Payload *models.Error
	// contains filtered or unexported fields
}

GetUserlistsDefault describes a response with status code -1, with default header values.

General Error

func NewGetUserlistsDefault

func NewGetUserlistsDefault(code int) *GetUserlistsDefault

NewGetUserlistsDefault creates a GetUserlistsDefault with default headers values

func (*GetUserlistsDefault) Code

func (o *GetUserlistsDefault) Code() int

Code gets the status code for the get userlists default response

func (*GetUserlistsDefault) Error

func (o *GetUserlistsDefault) Error() string

func (*GetUserlistsDefault) GetPayload

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

func (*GetUserlistsDefault) IsClientError added in v1.1.0

func (o *GetUserlistsDefault) IsClientError() bool

IsClientError returns true when this get userlists default response has a 4xx status code

func (*GetUserlistsDefault) IsCode added in v1.1.0

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

IsCode returns true when this get userlists default response a status code equal to that given

func (*GetUserlistsDefault) IsRedirect added in v1.1.0

func (o *GetUserlistsDefault) IsRedirect() bool

IsRedirect returns true when this get userlists default response has a 3xx status code

func (*GetUserlistsDefault) IsServerError added in v1.1.0

func (o *GetUserlistsDefault) IsServerError() bool

IsServerError returns true when this get userlists default response has a 5xx status code

func (*GetUserlistsDefault) IsSuccess added in v1.1.0

func (o *GetUserlistsDefault) IsSuccess() bool

IsSuccess returns true when this get userlists default response has a 2xx status code

func (*GetUserlistsDefault) String added in v1.1.0

func (o *GetUserlistsDefault) String() string

type GetUserlistsOK

type GetUserlistsOK struct {

	/* Configuration file version
	 */
	ConfigurationVersion string

	Payload *GetUserlistsOKBody
}

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

Successful operation

func NewGetUserlistsOK

func NewGetUserlistsOK() *GetUserlistsOK

NewGetUserlistsOK creates a GetUserlistsOK with default headers values

func (*GetUserlistsOK) Code added in v1.1.5

func (o *GetUserlistsOK) Code() int

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

func (*GetUserlistsOK) Error

func (o *GetUserlistsOK) Error() string

func (*GetUserlistsOK) GetPayload

func (o *GetUserlistsOK) GetPayload() *GetUserlistsOKBody

func (*GetUserlistsOK) IsClientError added in v1.1.0

func (o *GetUserlistsOK) IsClientError() bool

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

func (*GetUserlistsOK) IsCode added in v1.1.0

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

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

func (*GetUserlistsOK) IsRedirect added in v1.1.0

func (o *GetUserlistsOK) IsRedirect() bool

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

func (*GetUserlistsOK) IsServerError added in v1.1.0

func (o *GetUserlistsOK) IsServerError() bool

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

func (*GetUserlistsOK) IsSuccess added in v1.1.0

func (o *GetUserlistsOK) IsSuccess() bool

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

func (*GetUserlistsOK) String added in v1.1.0

func (o *GetUserlistsOK) String() string

type GetUserlistsOKBody

type GetUserlistsOKBody struct {

	// version
	Version int64 `json:"_version,omitempty"`

	// data
	// Required: true
	Data models.Userlists `json:"data"`
}

GetUserlistsOKBody get userlists o k body swagger:model GetUserlistsOKBody

func (*GetUserlistsOKBody) ContextValidate added in v1.0.0

func (o *GetUserlistsOKBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this get userlists o k body based on the context it is used

func (*GetUserlistsOKBody) MarshalBinary

func (o *GetUserlistsOKBody) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*GetUserlistsOKBody) UnmarshalBinary

func (o *GetUserlistsOKBody) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*GetUserlistsOKBody) Validate

func (o *GetUserlistsOKBody) Validate(formats strfmt.Registry) error

Validate validates this get userlists o k body

type GetUserlistsParams

type GetUserlistsParams struct {

	/* TransactionID.

	   ID of the transaction where we want to add the operation. Cannot be used when version is specified.
	*/
	TransactionID *string

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

GetUserlistsParams contains all the parameters to send to the API endpoint

for the get userlists operation.

Typically these are written to a http.Request.

func NewGetUserlistsParams

func NewGetUserlistsParams() *GetUserlistsParams

NewGetUserlistsParams creates a new GetUserlistsParams 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 NewGetUserlistsParamsWithContext

func NewGetUserlistsParamsWithContext(ctx context.Context) *GetUserlistsParams

NewGetUserlistsParamsWithContext creates a new GetUserlistsParams object with the ability to set a context for a request.

func NewGetUserlistsParamsWithHTTPClient

func NewGetUserlistsParamsWithHTTPClient(client *http.Client) *GetUserlistsParams

NewGetUserlistsParamsWithHTTPClient creates a new GetUserlistsParams object with the ability to set a custom HTTPClient for a request.

func NewGetUserlistsParamsWithTimeout

func NewGetUserlistsParamsWithTimeout(timeout time.Duration) *GetUserlistsParams

NewGetUserlistsParamsWithTimeout creates a new GetUserlistsParams object with the ability to set a timeout on a request.

func (*GetUserlistsParams) SetContext

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

SetContext adds the context to the get userlists params

func (*GetUserlistsParams) SetDefaults added in v1.0.0

func (o *GetUserlistsParams) SetDefaults()

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

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

func (*GetUserlistsParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get userlists params

func (*GetUserlistsParams) SetTimeout

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

SetTimeout adds the timeout to the get userlists params

func (*GetUserlistsParams) SetTransactionID

func (o *GetUserlistsParams) SetTransactionID(transactionID *string)

SetTransactionID adds the transactionId to the get userlists params

func (*GetUserlistsParams) WithContext

WithContext adds the context to the get userlists params

func (*GetUserlistsParams) WithDefaults added in v1.0.0

func (o *GetUserlistsParams) WithDefaults() *GetUserlistsParams

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

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

func (*GetUserlistsParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the get userlists params

func (*GetUserlistsParams) WithTimeout

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

WithTimeout adds the timeout to the get userlists params

func (*GetUserlistsParams) WithTransactionID

func (o *GetUserlistsParams) WithTransactionID(transactionID *string) *GetUserlistsParams

WithTransactionID adds the transactionID to the get userlists params

func (*GetUserlistsParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type GetUserlistsReader

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

GetUserlistsReader is a Reader for the GetUserlists structure.

func (*GetUserlistsReader) ReadResponse

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

ReadResponse reads a server response into the received o.

Jump to

Keyboard shortcuts

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