Documentation ¶
Index ¶
- type Client
- func (a *Client) CreateUserlist(params *CreateUserlistParams, authInfo runtime.ClientAuthInfoWriter) (*CreateUserlistCreated, *CreateUserlistAccepted, error)
- func (a *Client) DeleteUserlist(params *DeleteUserlistParams, authInfo runtime.ClientAuthInfoWriter) (*DeleteUserlistAccepted, *DeleteUserlistNoContent, error)
- func (a *Client) GetUserlist(params *GetUserlistParams, authInfo runtime.ClientAuthInfoWriter) (*GetUserlistOK, error)
- func (a *Client) GetUserlists(params *GetUserlistsParams, authInfo runtime.ClientAuthInfoWriter) (*GetUserlistsOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- type ClientService
- type CreateUserlistAccepted
- type CreateUserlistBadRequest
- type CreateUserlistConflict
- type CreateUserlistCreated
- type CreateUserlistDefault
- type CreateUserlistParams
- func NewCreateUserlistParams() *CreateUserlistParams
- func NewCreateUserlistParamsWithContext(ctx context.Context) *CreateUserlistParams
- func NewCreateUserlistParamsWithHTTPClient(client *http.Client) *CreateUserlistParams
- func NewCreateUserlistParamsWithTimeout(timeout time.Duration) *CreateUserlistParams
- func (o *CreateUserlistParams) SetContext(ctx context.Context)
- func (o *CreateUserlistParams) SetData(data *models.Userlist)
- func (o *CreateUserlistParams) SetForceReload(forceReload *bool)
- func (o *CreateUserlistParams) SetHTTPClient(client *http.Client)
- func (o *CreateUserlistParams) SetTimeout(timeout time.Duration)
- func (o *CreateUserlistParams) SetTransactionID(transactionID *string)
- func (o *CreateUserlistParams) SetVersion(version *int64)
- func (o *CreateUserlistParams) WithContext(ctx context.Context) *CreateUserlistParams
- func (o *CreateUserlistParams) WithData(data *models.Userlist) *CreateUserlistParams
- func (o *CreateUserlistParams) WithForceReload(forceReload *bool) *CreateUserlistParams
- func (o *CreateUserlistParams) WithHTTPClient(client *http.Client) *CreateUserlistParams
- func (o *CreateUserlistParams) WithTimeout(timeout time.Duration) *CreateUserlistParams
- func (o *CreateUserlistParams) WithTransactionID(transactionID *string) *CreateUserlistParams
- func (o *CreateUserlistParams) WithVersion(version *int64) *CreateUserlistParams
- func (o *CreateUserlistParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type CreateUserlistReader
- type DeleteUserlistAccepted
- type DeleteUserlistDefault
- type DeleteUserlistNoContent
- type DeleteUserlistNotFound
- type DeleteUserlistParams
- func NewDeleteUserlistParams() *DeleteUserlistParams
- func NewDeleteUserlistParamsWithContext(ctx context.Context) *DeleteUserlistParams
- func NewDeleteUserlistParamsWithHTTPClient(client *http.Client) *DeleteUserlistParams
- func NewDeleteUserlistParamsWithTimeout(timeout time.Duration) *DeleteUserlistParams
- func (o *DeleteUserlistParams) SetContext(ctx context.Context)
- func (o *DeleteUserlistParams) SetForceReload(forceReload *bool)
- func (o *DeleteUserlistParams) SetHTTPClient(client *http.Client)
- func (o *DeleteUserlistParams) SetName(name string)
- func (o *DeleteUserlistParams) SetTimeout(timeout time.Duration)
- func (o *DeleteUserlistParams) SetTransactionID(transactionID *string)
- func (o *DeleteUserlistParams) SetVersion(version *int64)
- func (o *DeleteUserlistParams) WithContext(ctx context.Context) *DeleteUserlistParams
- func (o *DeleteUserlistParams) WithForceReload(forceReload *bool) *DeleteUserlistParams
- func (o *DeleteUserlistParams) WithHTTPClient(client *http.Client) *DeleteUserlistParams
- func (o *DeleteUserlistParams) WithName(name string) *DeleteUserlistParams
- func (o *DeleteUserlistParams) WithTimeout(timeout time.Duration) *DeleteUserlistParams
- func (o *DeleteUserlistParams) WithTransactionID(transactionID *string) *DeleteUserlistParams
- func (o *DeleteUserlistParams) WithVersion(version *int64) *DeleteUserlistParams
- func (o *DeleteUserlistParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DeleteUserlistReader
- type GetUserlistDefault
- type GetUserlistNotFound
- type GetUserlistOK
- type GetUserlistOKBody
- type GetUserlistParams
- func (o *GetUserlistParams) SetContext(ctx context.Context)
- func (o *GetUserlistParams) SetHTTPClient(client *http.Client)
- func (o *GetUserlistParams) SetName(name string)
- func (o *GetUserlistParams) SetTimeout(timeout time.Duration)
- func (o *GetUserlistParams) SetTransactionID(transactionID *string)
- func (o *GetUserlistParams) WithContext(ctx context.Context) *GetUserlistParams
- func (o *GetUserlistParams) WithHTTPClient(client *http.Client) *GetUserlistParams
- func (o *GetUserlistParams) WithName(name string) *GetUserlistParams
- func (o *GetUserlistParams) WithTimeout(timeout time.Duration) *GetUserlistParams
- func (o *GetUserlistParams) WithTransactionID(transactionID *string) *GetUserlistParams
- func (o *GetUserlistParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetUserlistReader
- type GetUserlistsDefault
- type GetUserlistsOK
- type GetUserlistsOKBody
- type GetUserlistsParams
- func (o *GetUserlistsParams) SetContext(ctx context.Context)
- func (o *GetUserlistsParams) SetHTTPClient(client *http.Client)
- func (o *GetUserlistsParams) SetTimeout(timeout time.Duration)
- func (o *GetUserlistsParams) SetTransactionID(transactionID *string)
- func (o *GetUserlistsParams) WithContext(ctx context.Context) *GetUserlistsParams
- func (o *GetUserlistsParams) WithHTTPClient(client *http.Client) *GetUserlistsParams
- func (o *GetUserlistsParams) WithTimeout(timeout time.Duration) *GetUserlistsParams
- func (o *GetUserlistsParams) WithTransactionID(transactionID *string) *GetUserlistsParams
- func (o *GetUserlistsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetUserlistsReader
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 ¶
func (a *Client) CreateUserlist(params *CreateUserlistParams, authInfo runtime.ClientAuthInfoWriter) (*CreateUserlistCreated, *CreateUserlistAccepted, error)
CreateUserlist adds a new userlist
Adds a new userlist to the configuration file.
func (*Client) DeleteUserlist ¶
func (a *Client) DeleteUserlist(params *DeleteUserlistParams, authInfo runtime.ClientAuthInfoWriter) (*DeleteUserlistAccepted, *DeleteUserlistNoContent, error)
DeleteUserlist deletes a userlist
Deletes a userlist configuration by it's name.
func (*Client) GetUserlist ¶
func (a *Client) GetUserlist(params *GetUserlistParams, authInfo runtime.ClientAuthInfoWriter) (*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) (*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 ClientService ¶
type ClientService interface { CreateUserlist(params *CreateUserlistParams, authInfo runtime.ClientAuthInfoWriter) (*CreateUserlistCreated, *CreateUserlistAccepted, error) DeleteUserlist(params *DeleteUserlistParams, authInfo runtime.ClientAuthInfoWriter) (*DeleteUserlistAccepted, *DeleteUserlistNoContent, error) GetUserlist(params *GetUserlistParams, authInfo runtime.ClientAuthInfoWriter) (*GetUserlistOK, error) GetUserlists(params *GetUserlistsParams, authInfo runtime.ClientAuthInfoWriter) (*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 handles this case 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) Error ¶
func (o *CreateUserlistAccepted) Error() string
func (*CreateUserlistAccepted) GetPayload ¶
func (o *CreateUserlistAccepted) GetPayload() *models.Userlist
type CreateUserlistBadRequest ¶
type CreateUserlistBadRequest struct { /*Configuration file version */ ConfigurationVersion string Payload *models.Error }
CreateUserlistBadRequest handles this case with default header values.
Bad request
func NewCreateUserlistBadRequest ¶
func NewCreateUserlistBadRequest() *CreateUserlistBadRequest
NewCreateUserlistBadRequest creates a CreateUserlistBadRequest with default headers values
func (*CreateUserlistBadRequest) Error ¶
func (o *CreateUserlistBadRequest) Error() string
func (*CreateUserlistBadRequest) GetPayload ¶
func (o *CreateUserlistBadRequest) GetPayload() *models.Error
type CreateUserlistConflict ¶
type CreateUserlistConflict struct { /*Configuration file version */ ConfigurationVersion string Payload *models.Error }
CreateUserlistConflict handles this case with default header values.
The specified resource already exists
func NewCreateUserlistConflict ¶
func NewCreateUserlistConflict() *CreateUserlistConflict
NewCreateUserlistConflict creates a CreateUserlistConflict with default headers values
func (*CreateUserlistConflict) Error ¶
func (o *CreateUserlistConflict) Error() string
func (*CreateUserlistConflict) GetPayload ¶
func (o *CreateUserlistConflict) GetPayload() *models.Error
type CreateUserlistCreated ¶
CreateUserlistCreated handles this case with default header values.
Userlist created
func NewCreateUserlistCreated ¶
func NewCreateUserlistCreated() *CreateUserlistCreated
NewCreateUserlistCreated creates a CreateUserlistCreated with default headers values
func (*CreateUserlistCreated) Error ¶
func (o *CreateUserlistCreated) Error() string
func (*CreateUserlistCreated) GetPayload ¶
func (o *CreateUserlistCreated) GetPayload() *models.Userlist
type CreateUserlistDefault ¶
type CreateUserlistDefault struct { /*Configuration file version */ ConfigurationVersion string Payload *models.Error // contains filtered or unexported fields }
CreateUserlistDefault handles this case 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
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 values initialized.
func NewCreateUserlistParamsWithContext ¶
func NewCreateUserlistParamsWithContext(ctx context.Context) *CreateUserlistParams
NewCreateUserlistParamsWithContext creates a new CreateUserlistParams object with the default values initialized, and 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 default values initialized, and 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 default values initialized, and 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) 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 ¶
func (o *CreateUserlistParams) WithContext(ctx context.Context) *CreateUserlistParams
WithContext adds the context to the create userlist params
func (*CreateUserlistParams) WithData ¶
func (o *CreateUserlistParams) WithData(data *models.Userlist) *CreateUserlistParams
WithData adds the data to the create userlist params
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 handles this case 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) Error ¶
func (o *DeleteUserlistAccepted) Error() string
type DeleteUserlistDefault ¶
type DeleteUserlistDefault struct { /*Configuration file version */ ConfigurationVersion string Payload *models.Error // contains filtered or unexported fields }
DeleteUserlistDefault handles this case 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
type DeleteUserlistNoContent ¶
type DeleteUserlistNoContent struct { }
DeleteUserlistNoContent handles this case with default header values.
Userlist deleted
func NewDeleteUserlistNoContent ¶
func NewDeleteUserlistNoContent() *DeleteUserlistNoContent
NewDeleteUserlistNoContent creates a DeleteUserlistNoContent with default headers values
func (*DeleteUserlistNoContent) Error ¶
func (o *DeleteUserlistNoContent) Error() string
type DeleteUserlistNotFound ¶
type DeleteUserlistNotFound struct { /*Configuration file version */ ConfigurationVersion string Payload *models.Error }
DeleteUserlistNotFound handles this case 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) Error ¶
func (o *DeleteUserlistNotFound) Error() string
func (*DeleteUserlistNotFound) GetPayload ¶
func (o *DeleteUserlistNotFound) GetPayload() *models.Error
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 values initialized.
func NewDeleteUserlistParamsWithContext ¶
func NewDeleteUserlistParamsWithContext(ctx context.Context) *DeleteUserlistParams
NewDeleteUserlistParamsWithContext creates a new DeleteUserlistParams object with the default values initialized, and 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 default values initialized, and 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 default values initialized, and 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) 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 ¶
func (o *DeleteUserlistParams) WithContext(ctx context.Context) *DeleteUserlistParams
WithContext adds the context to the delete userlist params
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 ¶
func (o *DeleteUserlistParams) WithName(name string) *DeleteUserlistParams
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 handles this case 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
type GetUserlistNotFound ¶
type GetUserlistNotFound struct { /*Configuration file version */ ConfigurationVersion string Payload *models.Error }
GetUserlistNotFound handles this case with default header values.
The specified resource already exists
func NewGetUserlistNotFound ¶
func NewGetUserlistNotFound() *GetUserlistNotFound
NewGetUserlistNotFound creates a GetUserlistNotFound with default headers values
func (*GetUserlistNotFound) Error ¶
func (o *GetUserlistNotFound) Error() string
func (*GetUserlistNotFound) GetPayload ¶
func (o *GetUserlistNotFound) GetPayload() *models.Error
type GetUserlistOK ¶
type GetUserlistOK struct { /*Configuration file version */ ConfigurationVersion string Payload *GetUserlistOKBody }
GetUserlistOK handles this case with default header values.
Successful operation
func NewGetUserlistOK ¶
func NewGetUserlistOK() *GetUserlistOK
NewGetUserlistOK creates a GetUserlistOK with default headers values
func (*GetUserlistOK) Error ¶
func (o *GetUserlistOK) Error() string
func (*GetUserlistOK) GetPayload ¶
func (o *GetUserlistOK) GetPayload() *GetUserlistOKBody
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) MarshalBinary ¶
func (o *GetUserlistOKBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GetUserlistOKBody) UnmarshalBinary ¶
func (o *GetUserlistOKBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
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 values initialized.
func NewGetUserlistParamsWithContext ¶
func NewGetUserlistParamsWithContext(ctx context.Context) *GetUserlistParams
NewGetUserlistParamsWithContext creates a new GetUserlistParams object with the default values initialized, and 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 default values initialized, and 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 default values initialized, and 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) 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) 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 handles this case 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
type GetUserlistsOK ¶
type GetUserlistsOK struct { /*Configuration file version */ ConfigurationVersion string Payload *GetUserlistsOKBody }
GetUserlistsOK handles this case with default header values.
Successful operation
func NewGetUserlistsOK ¶
func NewGetUserlistsOK() *GetUserlistsOK
NewGetUserlistsOK creates a GetUserlistsOK with default headers values
func (*GetUserlistsOK) Error ¶
func (o *GetUserlistsOK) Error() string
func (*GetUserlistsOK) GetPayload ¶
func (o *GetUserlistsOK) GetPayload() *GetUserlistsOKBody
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) MarshalBinary ¶
func (o *GetUserlistsOKBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GetUserlistsOKBody) UnmarshalBinary ¶
func (o *GetUserlistsOKBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
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 values initialized.
func NewGetUserlistsParamsWithContext ¶
func NewGetUserlistsParamsWithContext(ctx context.Context) *GetUserlistsParams
NewGetUserlistsParamsWithContext creates a new GetUserlistsParams object with the default values initialized, and 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 default values initialized, and 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 default values initialized, and 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) 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 ¶
func (o *GetUserlistsParams) WithContext(ctx context.Context) *GetUserlistsParams
WithContext adds the context to the get userlists params
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.