Documentation
¶
Index ¶
- type Client
- func (a *Client) CreateGroup(params *CreateGroupParams, authInfo runtime.ClientAuthInfoWriter, ...) (*CreateGroupCreated, *CreateGroupAccepted, error)
- func (a *Client) DeleteGroup(params *DeleteGroupParams, authInfo runtime.ClientAuthInfoWriter, ...) (*DeleteGroupAccepted, *DeleteGroupNoContent, error)
- func (a *Client) GetGroup(params *GetGroupParams, authInfo runtime.ClientAuthInfoWriter, ...) (*GetGroupOK, error)
- func (a *Client) GetGroups(params *GetGroupsParams, authInfo runtime.ClientAuthInfoWriter, ...) (*GetGroupsOK, error)
- func (a *Client) ReplaceGroup(params *ReplaceGroupParams, authInfo runtime.ClientAuthInfoWriter, ...) (*ReplaceGroupOK, *ReplaceGroupAccepted, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- type ClientOption
- type ClientService
- type CreateGroupAccepted
- type CreateGroupBadRequest
- type CreateGroupConflict
- type CreateGroupCreated
- type CreateGroupDefault
- type CreateGroupParams
- func (o *CreateGroupParams) SetContext(ctx context.Context)
- func (o *CreateGroupParams) SetData(data *models.Group)
- func (o *CreateGroupParams) SetDefaults()
- func (o *CreateGroupParams) SetForceReload(forceReload *bool)
- func (o *CreateGroupParams) SetHTTPClient(client *http.Client)
- func (o *CreateGroupParams) SetTimeout(timeout time.Duration)
- func (o *CreateGroupParams) SetTransactionID(transactionID *string)
- func (o *CreateGroupParams) SetUserlist(userlist string)
- func (o *CreateGroupParams) SetVersion(version *int64)
- func (o *CreateGroupParams) WithContext(ctx context.Context) *CreateGroupParams
- func (o *CreateGroupParams) WithData(data *models.Group) *CreateGroupParams
- func (o *CreateGroupParams) WithDefaults() *CreateGroupParams
- func (o *CreateGroupParams) WithForceReload(forceReload *bool) *CreateGroupParams
- func (o *CreateGroupParams) WithHTTPClient(client *http.Client) *CreateGroupParams
- func (o *CreateGroupParams) WithTimeout(timeout time.Duration) *CreateGroupParams
- func (o *CreateGroupParams) WithTransactionID(transactionID *string) *CreateGroupParams
- func (o *CreateGroupParams) WithUserlist(userlist string) *CreateGroupParams
- func (o *CreateGroupParams) WithVersion(version *int64) *CreateGroupParams
- func (o *CreateGroupParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type CreateGroupReader
- type DeleteGroupAccepted
- type DeleteGroupDefault
- type DeleteGroupNoContent
- type DeleteGroupNotFound
- type DeleteGroupParams
- func (o *DeleteGroupParams) SetContext(ctx context.Context)
- func (o *DeleteGroupParams) SetDefaults()
- func (o *DeleteGroupParams) SetForceReload(forceReload *bool)
- func (o *DeleteGroupParams) SetHTTPClient(client *http.Client)
- func (o *DeleteGroupParams) SetName(name string)
- func (o *DeleteGroupParams) SetTimeout(timeout time.Duration)
- func (o *DeleteGroupParams) SetTransactionID(transactionID *string)
- func (o *DeleteGroupParams) SetUserlist(userlist string)
- func (o *DeleteGroupParams) SetVersion(version *int64)
- func (o *DeleteGroupParams) WithContext(ctx context.Context) *DeleteGroupParams
- func (o *DeleteGroupParams) WithDefaults() *DeleteGroupParams
- func (o *DeleteGroupParams) WithForceReload(forceReload *bool) *DeleteGroupParams
- func (o *DeleteGroupParams) WithHTTPClient(client *http.Client) *DeleteGroupParams
- func (o *DeleteGroupParams) WithName(name string) *DeleteGroupParams
- func (o *DeleteGroupParams) WithTimeout(timeout time.Duration) *DeleteGroupParams
- func (o *DeleteGroupParams) WithTransactionID(transactionID *string) *DeleteGroupParams
- func (o *DeleteGroupParams) WithUserlist(userlist string) *DeleteGroupParams
- func (o *DeleteGroupParams) WithVersion(version *int64) *DeleteGroupParams
- func (o *DeleteGroupParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DeleteGroupReader
- type GetGroupDefault
- type GetGroupNotFound
- type GetGroupOK
- type GetGroupOKBody
- type GetGroupParams
- func (o *GetGroupParams) SetContext(ctx context.Context)
- func (o *GetGroupParams) SetDefaults()
- func (o *GetGroupParams) SetHTTPClient(client *http.Client)
- func (o *GetGroupParams) SetName(name string)
- func (o *GetGroupParams) SetTimeout(timeout time.Duration)
- func (o *GetGroupParams) SetTransactionID(transactionID *string)
- func (o *GetGroupParams) SetUserlist(userlist string)
- func (o *GetGroupParams) WithContext(ctx context.Context) *GetGroupParams
- func (o *GetGroupParams) WithDefaults() *GetGroupParams
- func (o *GetGroupParams) WithHTTPClient(client *http.Client) *GetGroupParams
- func (o *GetGroupParams) WithName(name string) *GetGroupParams
- func (o *GetGroupParams) WithTimeout(timeout time.Duration) *GetGroupParams
- func (o *GetGroupParams) WithTransactionID(transactionID *string) *GetGroupParams
- func (o *GetGroupParams) WithUserlist(userlist string) *GetGroupParams
- func (o *GetGroupParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetGroupReader
- type GetGroupsDefault
- type GetGroupsOK
- type GetGroupsOKBody
- type GetGroupsParams
- func (o *GetGroupsParams) SetContext(ctx context.Context)
- func (o *GetGroupsParams) SetDefaults()
- func (o *GetGroupsParams) SetHTTPClient(client *http.Client)
- func (o *GetGroupsParams) SetTimeout(timeout time.Duration)
- func (o *GetGroupsParams) SetTransactionID(transactionID *string)
- func (o *GetGroupsParams) SetUserlist(userlist string)
- func (o *GetGroupsParams) WithContext(ctx context.Context) *GetGroupsParams
- func (o *GetGroupsParams) WithDefaults() *GetGroupsParams
- func (o *GetGroupsParams) WithHTTPClient(client *http.Client) *GetGroupsParams
- func (o *GetGroupsParams) WithTimeout(timeout time.Duration) *GetGroupsParams
- func (o *GetGroupsParams) WithTransactionID(transactionID *string) *GetGroupsParams
- func (o *GetGroupsParams) WithUserlist(userlist string) *GetGroupsParams
- func (o *GetGroupsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetGroupsReader
- type ReplaceGroupAccepted
- type ReplaceGroupBadRequest
- type ReplaceGroupDefault
- type ReplaceGroupNotFound
- type ReplaceGroupOK
- type ReplaceGroupParams
- func (o *ReplaceGroupParams) SetContext(ctx context.Context)
- func (o *ReplaceGroupParams) SetData(data *models.Group)
- func (o *ReplaceGroupParams) SetDefaults()
- func (o *ReplaceGroupParams) SetForceReload(forceReload *bool)
- func (o *ReplaceGroupParams) SetHTTPClient(client *http.Client)
- func (o *ReplaceGroupParams) SetName(name string)
- func (o *ReplaceGroupParams) SetTimeout(timeout time.Duration)
- func (o *ReplaceGroupParams) SetTransactionID(transactionID *string)
- func (o *ReplaceGroupParams) SetUserlist(userlist string)
- func (o *ReplaceGroupParams) SetVersion(version *int64)
- func (o *ReplaceGroupParams) WithContext(ctx context.Context) *ReplaceGroupParams
- func (o *ReplaceGroupParams) WithData(data *models.Group) *ReplaceGroupParams
- func (o *ReplaceGroupParams) WithDefaults() *ReplaceGroupParams
- func (o *ReplaceGroupParams) WithForceReload(forceReload *bool) *ReplaceGroupParams
- func (o *ReplaceGroupParams) WithHTTPClient(client *http.Client) *ReplaceGroupParams
- func (o *ReplaceGroupParams) WithName(name string) *ReplaceGroupParams
- func (o *ReplaceGroupParams) WithTimeout(timeout time.Duration) *ReplaceGroupParams
- func (o *ReplaceGroupParams) WithTransactionID(transactionID *string) *ReplaceGroupParams
- func (o *ReplaceGroupParams) WithUserlist(userlist string) *ReplaceGroupParams
- func (o *ReplaceGroupParams) WithVersion(version *int64) *ReplaceGroupParams
- func (o *ReplaceGroupParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ReplaceGroupReader
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 group API
func (*Client) CreateGroup ¶
func (a *Client) CreateGroup(params *CreateGroupParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CreateGroupCreated, *CreateGroupAccepted, error)
CreateGroup adds a new userlist group
func (*Client) DeleteGroup ¶
func (a *Client) DeleteGroup(params *DeleteGroupParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteGroupAccepted, *DeleteGroupNoContent, error)
DeleteGroup deletes a group
func (*Client) GetGroup ¶
func (a *Client) GetGroup(params *GetGroupParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetGroupOK, error)
GetGroup returns one userlist group
func (*Client) GetGroups ¶
func (a *Client) GetGroups(params *GetGroupsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetGroupsOK, error)
GetGroups returns an array of userlist groups
func (*Client) ReplaceGroup ¶
func (a *Client) ReplaceGroup(params *ReplaceGroupParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ReplaceGroupOK, *ReplaceGroupAccepted, error)
ReplaceGroup replaces a group
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 {
CreateGroup(params *CreateGroupParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CreateGroupCreated, *CreateGroupAccepted, error)
DeleteGroup(params *DeleteGroupParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteGroupAccepted, *DeleteGroupNoContent, error)
GetGroup(params *GetGroupParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetGroupOK, error)
GetGroups(params *GetGroupsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetGroupsOK, error)
ReplaceGroup(params *ReplaceGroupParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ReplaceGroupOK, *ReplaceGroupAccepted, 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 group API client.
type CreateGroupAccepted ¶
type CreateGroupAccepted struct {
/* ID of the requested reload
*/
ReloadID string
Payload *models.Group
}
CreateGroupAccepted describes a response with status code 202, with default header values.
Configuration change accepted and reload requested
func NewCreateGroupAccepted ¶
func NewCreateGroupAccepted() *CreateGroupAccepted
NewCreateGroupAccepted creates a CreateGroupAccepted with default headers values
func (*CreateGroupAccepted) Error ¶
func (o *CreateGroupAccepted) Error() string
func (*CreateGroupAccepted) GetPayload ¶
func (o *CreateGroupAccepted) GetPayload() *models.Group
type CreateGroupBadRequest ¶
type CreateGroupBadRequest struct {
/* Configuration file version
*/
ConfigurationVersion string
Payload *models.Error
}
CreateGroupBadRequest describes a response with status code 400, with default header values.
Bad request
func NewCreateGroupBadRequest ¶
func NewCreateGroupBadRequest() *CreateGroupBadRequest
NewCreateGroupBadRequest creates a CreateGroupBadRequest with default headers values
func (*CreateGroupBadRequest) Error ¶
func (o *CreateGroupBadRequest) Error() string
func (*CreateGroupBadRequest) GetPayload ¶
func (o *CreateGroupBadRequest) GetPayload() *models.Error
type CreateGroupConflict ¶
type CreateGroupConflict struct {
/* Configuration file version
*/
ConfigurationVersion string
Payload *models.Error
}
CreateGroupConflict describes a response with status code 409, with default header values.
The specified resource already exists
func NewCreateGroupConflict ¶
func NewCreateGroupConflict() *CreateGroupConflict
NewCreateGroupConflict creates a CreateGroupConflict with default headers values
func (*CreateGroupConflict) Error ¶
func (o *CreateGroupConflict) Error() string
func (*CreateGroupConflict) GetPayload ¶
func (o *CreateGroupConflict) GetPayload() *models.Error
type CreateGroupCreated ¶
CreateGroupCreated describes a response with status code 201, with default header values.
Group created
func NewCreateGroupCreated ¶
func NewCreateGroupCreated() *CreateGroupCreated
NewCreateGroupCreated creates a CreateGroupCreated with default headers values
func (*CreateGroupCreated) Error ¶
func (o *CreateGroupCreated) Error() string
func (*CreateGroupCreated) GetPayload ¶
func (o *CreateGroupCreated) GetPayload() *models.Group
type CreateGroupDefault ¶
type CreateGroupDefault struct {
/* Configuration file version
*/
ConfigurationVersion string
Payload *models.Error
// contains filtered or unexported fields
}
CreateGroupDefault describes a response with status code -1, with default header values.
General Error
func NewCreateGroupDefault ¶
func NewCreateGroupDefault(code int) *CreateGroupDefault
NewCreateGroupDefault creates a CreateGroupDefault with default headers values
func (*CreateGroupDefault) Code ¶
func (o *CreateGroupDefault) Code() int
Code gets the status code for the create group default response
func (*CreateGroupDefault) Error ¶
func (o *CreateGroupDefault) Error() string
func (*CreateGroupDefault) GetPayload ¶
func (o *CreateGroupDefault) GetPayload() *models.Error
type CreateGroupParams ¶
type CreateGroupParams struct {
// Data.
Data *models.Group
/* 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
/* Userlist.
Parent userlist name
*/
Userlist 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
}
CreateGroupParams contains all the parameters to send to the API endpoint
for the create group operation. Typically these are written to a http.Request.
func NewCreateGroupParams ¶
func NewCreateGroupParams() *CreateGroupParams
NewCreateGroupParams creates a new CreateGroupParams 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 NewCreateGroupParamsWithContext ¶
func NewCreateGroupParamsWithContext(ctx context.Context) *CreateGroupParams
NewCreateGroupParamsWithContext creates a new CreateGroupParams object with the ability to set a context for a request.
func NewCreateGroupParamsWithHTTPClient ¶
func NewCreateGroupParamsWithHTTPClient(client *http.Client) *CreateGroupParams
NewCreateGroupParamsWithHTTPClient creates a new CreateGroupParams object with the ability to set a custom HTTPClient for a request.
func NewCreateGroupParamsWithTimeout ¶
func NewCreateGroupParamsWithTimeout(timeout time.Duration) *CreateGroupParams
NewCreateGroupParamsWithTimeout creates a new CreateGroupParams object with the ability to set a timeout on a request.
func (*CreateGroupParams) SetContext ¶
func (o *CreateGroupParams) SetContext(ctx context.Context)
SetContext adds the context to the create group params
func (*CreateGroupParams) SetData ¶
func (o *CreateGroupParams) SetData(data *models.Group)
SetData adds the data to the create group params
func (*CreateGroupParams) SetDefaults ¶ added in v1.0.0
func (o *CreateGroupParams) SetDefaults()
SetDefaults hydrates default values in the create group params (not the query body).
All values with no default are reset to their zero value.
func (*CreateGroupParams) SetForceReload ¶
func (o *CreateGroupParams) SetForceReload(forceReload *bool)
SetForceReload adds the forceReload to the create group params
func (*CreateGroupParams) SetHTTPClient ¶
func (o *CreateGroupParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the create group params
func (*CreateGroupParams) SetTimeout ¶
func (o *CreateGroupParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the create group params
func (*CreateGroupParams) SetTransactionID ¶
func (o *CreateGroupParams) SetTransactionID(transactionID *string)
SetTransactionID adds the transactionId to the create group params
func (*CreateGroupParams) SetUserlist ¶
func (o *CreateGroupParams) SetUserlist(userlist string)
SetUserlist adds the userlist to the create group params
func (*CreateGroupParams) SetVersion ¶
func (o *CreateGroupParams) SetVersion(version *int64)
SetVersion adds the version to the create group params
func (*CreateGroupParams) WithContext ¶
func (o *CreateGroupParams) WithContext(ctx context.Context) *CreateGroupParams
WithContext adds the context to the create group params
func (*CreateGroupParams) WithData ¶
func (o *CreateGroupParams) WithData(data *models.Group) *CreateGroupParams
WithData adds the data to the create group params
func (*CreateGroupParams) WithDefaults ¶ added in v1.0.0
func (o *CreateGroupParams) WithDefaults() *CreateGroupParams
WithDefaults hydrates default values in the create group params (not the query body).
All values with no default are reset to their zero value.
func (*CreateGroupParams) WithForceReload ¶
func (o *CreateGroupParams) WithForceReload(forceReload *bool) *CreateGroupParams
WithForceReload adds the forceReload to the create group params
func (*CreateGroupParams) WithHTTPClient ¶
func (o *CreateGroupParams) WithHTTPClient(client *http.Client) *CreateGroupParams
WithHTTPClient adds the HTTPClient to the create group params
func (*CreateGroupParams) WithTimeout ¶
func (o *CreateGroupParams) WithTimeout(timeout time.Duration) *CreateGroupParams
WithTimeout adds the timeout to the create group params
func (*CreateGroupParams) WithTransactionID ¶
func (o *CreateGroupParams) WithTransactionID(transactionID *string) *CreateGroupParams
WithTransactionID adds the transactionID to the create group params
func (*CreateGroupParams) WithUserlist ¶
func (o *CreateGroupParams) WithUserlist(userlist string) *CreateGroupParams
WithUserlist adds the userlist to the create group params
func (*CreateGroupParams) WithVersion ¶
func (o *CreateGroupParams) WithVersion(version *int64) *CreateGroupParams
WithVersion adds the version to the create group params
func (*CreateGroupParams) WriteToRequest ¶
func (o *CreateGroupParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type CreateGroupReader ¶
type CreateGroupReader struct {
// contains filtered or unexported fields
}
CreateGroupReader is a Reader for the CreateGroup structure.
func (*CreateGroupReader) ReadResponse ¶
func (o *CreateGroupReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type DeleteGroupAccepted ¶
type DeleteGroupAccepted struct {
/* ID of the requested reload
*/
ReloadID string
}
DeleteGroupAccepted describes a response with status code 202, with default header values.
Configuration change accepted and reload requested
func NewDeleteGroupAccepted ¶
func NewDeleteGroupAccepted() *DeleteGroupAccepted
NewDeleteGroupAccepted creates a DeleteGroupAccepted with default headers values
func (*DeleteGroupAccepted) Error ¶
func (o *DeleteGroupAccepted) Error() string
type DeleteGroupDefault ¶
type DeleteGroupDefault struct {
/* Configuration file version
*/
ConfigurationVersion string
Payload *models.Error
// contains filtered or unexported fields
}
DeleteGroupDefault describes a response with status code -1, with default header values.
General Error
func NewDeleteGroupDefault ¶
func NewDeleteGroupDefault(code int) *DeleteGroupDefault
NewDeleteGroupDefault creates a DeleteGroupDefault with default headers values
func (*DeleteGroupDefault) Code ¶
func (o *DeleteGroupDefault) Code() int
Code gets the status code for the delete group default response
func (*DeleteGroupDefault) Error ¶
func (o *DeleteGroupDefault) Error() string
func (*DeleteGroupDefault) GetPayload ¶
func (o *DeleteGroupDefault) GetPayload() *models.Error
type DeleteGroupNoContent ¶
type DeleteGroupNoContent struct {
}
DeleteGroupNoContent describes a response with status code 204, with default header values.
Group deleted
func NewDeleteGroupNoContent ¶
func NewDeleteGroupNoContent() *DeleteGroupNoContent
NewDeleteGroupNoContent creates a DeleteGroupNoContent with default headers values
func (*DeleteGroupNoContent) Error ¶
func (o *DeleteGroupNoContent) Error() string
type DeleteGroupNotFound ¶
type DeleteGroupNotFound struct {
/* Configuration file version
*/
ConfigurationVersion string
Payload *models.Error
}
DeleteGroupNotFound describes a response with status code 404, with default header values.
The specified resource was not found
func NewDeleteGroupNotFound ¶
func NewDeleteGroupNotFound() *DeleteGroupNotFound
NewDeleteGroupNotFound creates a DeleteGroupNotFound with default headers values
func (*DeleteGroupNotFound) Error ¶
func (o *DeleteGroupNotFound) Error() string
func (*DeleteGroupNotFound) GetPayload ¶
func (o *DeleteGroupNotFound) GetPayload() *models.Error
type DeleteGroupParams ¶
type DeleteGroupParams 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.
group name
*/
Name string
/* TransactionID.
ID of the transaction where we want to add the operation. Cannot be used when version is specified.
*/
TransactionID *string
/* Userlist.
Parent userlist name
*/
Userlist 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
}
DeleteGroupParams contains all the parameters to send to the API endpoint
for the delete group operation. Typically these are written to a http.Request.
func NewDeleteGroupParams ¶
func NewDeleteGroupParams() *DeleteGroupParams
NewDeleteGroupParams creates a new DeleteGroupParams 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 NewDeleteGroupParamsWithContext ¶
func NewDeleteGroupParamsWithContext(ctx context.Context) *DeleteGroupParams
NewDeleteGroupParamsWithContext creates a new DeleteGroupParams object with the ability to set a context for a request.
func NewDeleteGroupParamsWithHTTPClient ¶
func NewDeleteGroupParamsWithHTTPClient(client *http.Client) *DeleteGroupParams
NewDeleteGroupParamsWithHTTPClient creates a new DeleteGroupParams object with the ability to set a custom HTTPClient for a request.
func NewDeleteGroupParamsWithTimeout ¶
func NewDeleteGroupParamsWithTimeout(timeout time.Duration) *DeleteGroupParams
NewDeleteGroupParamsWithTimeout creates a new DeleteGroupParams object with the ability to set a timeout on a request.
func (*DeleteGroupParams) SetContext ¶
func (o *DeleteGroupParams) SetContext(ctx context.Context)
SetContext adds the context to the delete group params
func (*DeleteGroupParams) SetDefaults ¶ added in v1.0.0
func (o *DeleteGroupParams) SetDefaults()
SetDefaults hydrates default values in the delete group params (not the query body).
All values with no default are reset to their zero value.
func (*DeleteGroupParams) SetForceReload ¶
func (o *DeleteGroupParams) SetForceReload(forceReload *bool)
SetForceReload adds the forceReload to the delete group params
func (*DeleteGroupParams) SetHTTPClient ¶
func (o *DeleteGroupParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the delete group params
func (*DeleteGroupParams) SetName ¶
func (o *DeleteGroupParams) SetName(name string)
SetName adds the name to the delete group params
func (*DeleteGroupParams) SetTimeout ¶
func (o *DeleteGroupParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the delete group params
func (*DeleteGroupParams) SetTransactionID ¶
func (o *DeleteGroupParams) SetTransactionID(transactionID *string)
SetTransactionID adds the transactionId to the delete group params
func (*DeleteGroupParams) SetUserlist ¶
func (o *DeleteGroupParams) SetUserlist(userlist string)
SetUserlist adds the userlist to the delete group params
func (*DeleteGroupParams) SetVersion ¶
func (o *DeleteGroupParams) SetVersion(version *int64)
SetVersion adds the version to the delete group params
func (*DeleteGroupParams) WithContext ¶
func (o *DeleteGroupParams) WithContext(ctx context.Context) *DeleteGroupParams
WithContext adds the context to the delete group params
func (*DeleteGroupParams) WithDefaults ¶ added in v1.0.0
func (o *DeleteGroupParams) WithDefaults() *DeleteGroupParams
WithDefaults hydrates default values in the delete group params (not the query body).
All values with no default are reset to their zero value.
func (*DeleteGroupParams) WithForceReload ¶
func (o *DeleteGroupParams) WithForceReload(forceReload *bool) *DeleteGroupParams
WithForceReload adds the forceReload to the delete group params
func (*DeleteGroupParams) WithHTTPClient ¶
func (o *DeleteGroupParams) WithHTTPClient(client *http.Client) *DeleteGroupParams
WithHTTPClient adds the HTTPClient to the delete group params
func (*DeleteGroupParams) WithName ¶
func (o *DeleteGroupParams) WithName(name string) *DeleteGroupParams
WithName adds the name to the delete group params
func (*DeleteGroupParams) WithTimeout ¶
func (o *DeleteGroupParams) WithTimeout(timeout time.Duration) *DeleteGroupParams
WithTimeout adds the timeout to the delete group params
func (*DeleteGroupParams) WithTransactionID ¶
func (o *DeleteGroupParams) WithTransactionID(transactionID *string) *DeleteGroupParams
WithTransactionID adds the transactionID to the delete group params
func (*DeleteGroupParams) WithUserlist ¶
func (o *DeleteGroupParams) WithUserlist(userlist string) *DeleteGroupParams
WithUserlist adds the userlist to the delete group params
func (*DeleteGroupParams) WithVersion ¶
func (o *DeleteGroupParams) WithVersion(version *int64) *DeleteGroupParams
WithVersion adds the version to the delete group params
func (*DeleteGroupParams) WriteToRequest ¶
func (o *DeleteGroupParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type DeleteGroupReader ¶
type DeleteGroupReader struct {
// contains filtered or unexported fields
}
DeleteGroupReader is a Reader for the DeleteGroup structure.
func (*DeleteGroupReader) ReadResponse ¶
func (o *DeleteGroupReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetGroupDefault ¶
type GetGroupDefault struct {
/* Configuration file version
*/
ConfigurationVersion string
Payload *models.Error
// contains filtered or unexported fields
}
GetGroupDefault describes a response with status code -1, with default header values.
General Error
func NewGetGroupDefault ¶
func NewGetGroupDefault(code int) *GetGroupDefault
NewGetGroupDefault creates a GetGroupDefault with default headers values
func (*GetGroupDefault) Code ¶
func (o *GetGroupDefault) Code() int
Code gets the status code for the get group default response
func (*GetGroupDefault) Error ¶
func (o *GetGroupDefault) Error() string
func (*GetGroupDefault) GetPayload ¶
func (o *GetGroupDefault) GetPayload() *models.Error
type GetGroupNotFound ¶
type GetGroupNotFound struct {
/* Configuration file version
*/
ConfigurationVersion string
Payload *models.Error
}
GetGroupNotFound describes a response with status code 404, with default header values.
The specified resource already exists
func NewGetGroupNotFound ¶
func NewGetGroupNotFound() *GetGroupNotFound
NewGetGroupNotFound creates a GetGroupNotFound with default headers values
func (*GetGroupNotFound) Error ¶
func (o *GetGroupNotFound) Error() string
func (*GetGroupNotFound) GetPayload ¶
func (o *GetGroupNotFound) GetPayload() *models.Error
type GetGroupOK ¶
type GetGroupOK struct {
/* Configuration file version
*/
ConfigurationVersion string
Payload *GetGroupOKBody
}
GetGroupOK describes a response with status code 200, with default header values.
Successful operation
func NewGetGroupOK ¶
func NewGetGroupOK() *GetGroupOK
NewGetGroupOK creates a GetGroupOK with default headers values
func (*GetGroupOK) Error ¶
func (o *GetGroupOK) Error() string
func (*GetGroupOK) GetPayload ¶
func (o *GetGroupOK) GetPayload() *GetGroupOKBody
type GetGroupOKBody ¶
type GetGroupOKBody struct {
// version
Version int64 `json:"_version,omitempty"`
// data
Data *models.Group `json:"data,omitempty"`
}
GetGroupOKBody get group o k body swagger:model GetGroupOKBody
func (*GetGroupOKBody) ContextValidate ¶ added in v1.0.0
ContextValidate validate this get group o k body based on the context it is used
func (*GetGroupOKBody) MarshalBinary ¶
func (o *GetGroupOKBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GetGroupOKBody) UnmarshalBinary ¶
func (o *GetGroupOKBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type GetGroupParams ¶
type GetGroupParams struct {
/* Name.
Group name
*/
Name string
/* TransactionID.
ID of the transaction where we want to add the operation. Cannot be used when version is specified.
*/
TransactionID *string
/* Userlist.
Parent userlist name
*/
Userlist string
Context context.Context
HTTPClient *http.Client
// contains filtered or unexported fields
}
GetGroupParams contains all the parameters to send to the API endpoint
for the get group operation. Typically these are written to a http.Request.
func NewGetGroupParams ¶
func NewGetGroupParams() *GetGroupParams
NewGetGroupParams creates a new GetGroupParams 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 NewGetGroupParamsWithContext ¶
func NewGetGroupParamsWithContext(ctx context.Context) *GetGroupParams
NewGetGroupParamsWithContext creates a new GetGroupParams object with the ability to set a context for a request.
func NewGetGroupParamsWithHTTPClient ¶
func NewGetGroupParamsWithHTTPClient(client *http.Client) *GetGroupParams
NewGetGroupParamsWithHTTPClient creates a new GetGroupParams object with the ability to set a custom HTTPClient for a request.
func NewGetGroupParamsWithTimeout ¶
func NewGetGroupParamsWithTimeout(timeout time.Duration) *GetGroupParams
NewGetGroupParamsWithTimeout creates a new GetGroupParams object with the ability to set a timeout on a request.
func (*GetGroupParams) SetContext ¶
func (o *GetGroupParams) SetContext(ctx context.Context)
SetContext adds the context to the get group params
func (*GetGroupParams) SetDefaults ¶ added in v1.0.0
func (o *GetGroupParams) SetDefaults()
SetDefaults hydrates default values in the get group params (not the query body).
All values with no default are reset to their zero value.
func (*GetGroupParams) SetHTTPClient ¶
func (o *GetGroupParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get group params
func (*GetGroupParams) SetName ¶
func (o *GetGroupParams) SetName(name string)
SetName adds the name to the get group params
func (*GetGroupParams) SetTimeout ¶
func (o *GetGroupParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get group params
func (*GetGroupParams) SetTransactionID ¶
func (o *GetGroupParams) SetTransactionID(transactionID *string)
SetTransactionID adds the transactionId to the get group params
func (*GetGroupParams) SetUserlist ¶
func (o *GetGroupParams) SetUserlist(userlist string)
SetUserlist adds the userlist to the get group params
func (*GetGroupParams) WithContext ¶
func (o *GetGroupParams) WithContext(ctx context.Context) *GetGroupParams
WithContext adds the context to the get group params
func (*GetGroupParams) WithDefaults ¶ added in v1.0.0
func (o *GetGroupParams) WithDefaults() *GetGroupParams
WithDefaults hydrates default values in the get group params (not the query body).
All values with no default are reset to their zero value.
func (*GetGroupParams) WithHTTPClient ¶
func (o *GetGroupParams) WithHTTPClient(client *http.Client) *GetGroupParams
WithHTTPClient adds the HTTPClient to the get group params
func (*GetGroupParams) WithName ¶
func (o *GetGroupParams) WithName(name string) *GetGroupParams
WithName adds the name to the get group params
func (*GetGroupParams) WithTimeout ¶
func (o *GetGroupParams) WithTimeout(timeout time.Duration) *GetGroupParams
WithTimeout adds the timeout to the get group params
func (*GetGroupParams) WithTransactionID ¶
func (o *GetGroupParams) WithTransactionID(transactionID *string) *GetGroupParams
WithTransactionID adds the transactionID to the get group params
func (*GetGroupParams) WithUserlist ¶
func (o *GetGroupParams) WithUserlist(userlist string) *GetGroupParams
WithUserlist adds the userlist to the get group params
func (*GetGroupParams) WriteToRequest ¶
func (o *GetGroupParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetGroupReader ¶
type GetGroupReader struct {
// contains filtered or unexported fields
}
GetGroupReader is a Reader for the GetGroup structure.
func (*GetGroupReader) ReadResponse ¶
func (o *GetGroupReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetGroupsDefault ¶
type GetGroupsDefault struct {
/* Configuration file version
*/
ConfigurationVersion string
Payload *models.Error
// contains filtered or unexported fields
}
GetGroupsDefault describes a response with status code -1, with default header values.
General Error
func NewGetGroupsDefault ¶
func NewGetGroupsDefault(code int) *GetGroupsDefault
NewGetGroupsDefault creates a GetGroupsDefault with default headers values
func (*GetGroupsDefault) Code ¶
func (o *GetGroupsDefault) Code() int
Code gets the status code for the get groups default response
func (*GetGroupsDefault) Error ¶
func (o *GetGroupsDefault) Error() string
func (*GetGroupsDefault) GetPayload ¶
func (o *GetGroupsDefault) GetPayload() *models.Error
type GetGroupsOK ¶
type GetGroupsOK struct {
/* Configuration file version
*/
ConfigurationVersion string
Payload *GetGroupsOKBody
}
GetGroupsOK describes a response with status code 200, with default header values.
Successful operation
func NewGetGroupsOK ¶
func NewGetGroupsOK() *GetGroupsOK
NewGetGroupsOK creates a GetGroupsOK with default headers values
func (*GetGroupsOK) Error ¶
func (o *GetGroupsOK) Error() string
func (*GetGroupsOK) GetPayload ¶
func (o *GetGroupsOK) GetPayload() *GetGroupsOKBody
type GetGroupsOKBody ¶
type GetGroupsOKBody struct {
// version
Version int64 `json:"_version,omitempty"`
// data
// Required: true
Data models.Groups `json:"data"`
}
GetGroupsOKBody get groups o k body swagger:model GetGroupsOKBody
func (*GetGroupsOKBody) ContextValidate ¶ added in v1.0.0
ContextValidate validate this get groups o k body based on the context it is used
func (*GetGroupsOKBody) MarshalBinary ¶
func (o *GetGroupsOKBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GetGroupsOKBody) UnmarshalBinary ¶
func (o *GetGroupsOKBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type GetGroupsParams ¶
type GetGroupsParams struct {
/* TransactionID.
ID of the transaction where we want to add the operation. Cannot be used when version is specified.
*/
TransactionID *string
/* Userlist.
Parent userlist name
*/
Userlist string
Context context.Context
HTTPClient *http.Client
// contains filtered or unexported fields
}
GetGroupsParams contains all the parameters to send to the API endpoint
for the get groups operation. Typically these are written to a http.Request.
func NewGetGroupsParams ¶
func NewGetGroupsParams() *GetGroupsParams
NewGetGroupsParams creates a new GetGroupsParams 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 NewGetGroupsParamsWithContext ¶
func NewGetGroupsParamsWithContext(ctx context.Context) *GetGroupsParams
NewGetGroupsParamsWithContext creates a new GetGroupsParams object with the ability to set a context for a request.
func NewGetGroupsParamsWithHTTPClient ¶
func NewGetGroupsParamsWithHTTPClient(client *http.Client) *GetGroupsParams
NewGetGroupsParamsWithHTTPClient creates a new GetGroupsParams object with the ability to set a custom HTTPClient for a request.
func NewGetGroupsParamsWithTimeout ¶
func NewGetGroupsParamsWithTimeout(timeout time.Duration) *GetGroupsParams
NewGetGroupsParamsWithTimeout creates a new GetGroupsParams object with the ability to set a timeout on a request.
func (*GetGroupsParams) SetContext ¶
func (o *GetGroupsParams) SetContext(ctx context.Context)
SetContext adds the context to the get groups params
func (*GetGroupsParams) SetDefaults ¶ added in v1.0.0
func (o *GetGroupsParams) SetDefaults()
SetDefaults hydrates default values in the get groups params (not the query body).
All values with no default are reset to their zero value.
func (*GetGroupsParams) SetHTTPClient ¶
func (o *GetGroupsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get groups params
func (*GetGroupsParams) SetTimeout ¶
func (o *GetGroupsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get groups params
func (*GetGroupsParams) SetTransactionID ¶
func (o *GetGroupsParams) SetTransactionID(transactionID *string)
SetTransactionID adds the transactionId to the get groups params
func (*GetGroupsParams) SetUserlist ¶
func (o *GetGroupsParams) SetUserlist(userlist string)
SetUserlist adds the userlist to the get groups params
func (*GetGroupsParams) WithContext ¶
func (o *GetGroupsParams) WithContext(ctx context.Context) *GetGroupsParams
WithContext adds the context to the get groups params
func (*GetGroupsParams) WithDefaults ¶ added in v1.0.0
func (o *GetGroupsParams) WithDefaults() *GetGroupsParams
WithDefaults hydrates default values in the get groups params (not the query body).
All values with no default are reset to their zero value.
func (*GetGroupsParams) WithHTTPClient ¶
func (o *GetGroupsParams) WithHTTPClient(client *http.Client) *GetGroupsParams
WithHTTPClient adds the HTTPClient to the get groups params
func (*GetGroupsParams) WithTimeout ¶
func (o *GetGroupsParams) WithTimeout(timeout time.Duration) *GetGroupsParams
WithTimeout adds the timeout to the get groups params
func (*GetGroupsParams) WithTransactionID ¶
func (o *GetGroupsParams) WithTransactionID(transactionID *string) *GetGroupsParams
WithTransactionID adds the transactionID to the get groups params
func (*GetGroupsParams) WithUserlist ¶
func (o *GetGroupsParams) WithUserlist(userlist string) *GetGroupsParams
WithUserlist adds the userlist to the get groups params
func (*GetGroupsParams) WriteToRequest ¶
func (o *GetGroupsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetGroupsReader ¶
type GetGroupsReader struct {
// contains filtered or unexported fields
}
GetGroupsReader is a Reader for the GetGroups structure.
func (*GetGroupsReader) ReadResponse ¶
func (o *GetGroupsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type ReplaceGroupAccepted ¶
type ReplaceGroupAccepted struct {
/* ID of the requested reload
*/
ReloadID string
Payload *models.Group
}
ReplaceGroupAccepted describes a response with status code 202, with default header values.
Configuration change accepted and reload requested
func NewReplaceGroupAccepted ¶
func NewReplaceGroupAccepted() *ReplaceGroupAccepted
NewReplaceGroupAccepted creates a ReplaceGroupAccepted with default headers values
func (*ReplaceGroupAccepted) Error ¶
func (o *ReplaceGroupAccepted) Error() string
func (*ReplaceGroupAccepted) GetPayload ¶
func (o *ReplaceGroupAccepted) GetPayload() *models.Group
type ReplaceGroupBadRequest ¶
type ReplaceGroupBadRequest struct {
/* Configuration file version
*/
ConfigurationVersion string
Payload *models.Error
}
ReplaceGroupBadRequest describes a response with status code 400, with default header values.
Bad request
func NewReplaceGroupBadRequest ¶
func NewReplaceGroupBadRequest() *ReplaceGroupBadRequest
NewReplaceGroupBadRequest creates a ReplaceGroupBadRequest with default headers values
func (*ReplaceGroupBadRequest) Error ¶
func (o *ReplaceGroupBadRequest) Error() string
func (*ReplaceGroupBadRequest) GetPayload ¶
func (o *ReplaceGroupBadRequest) GetPayload() *models.Error
type ReplaceGroupDefault ¶
type ReplaceGroupDefault struct {
/* Configuration file version
*/
ConfigurationVersion string
Payload *models.Error
// contains filtered or unexported fields
}
ReplaceGroupDefault describes a response with status code -1, with default header values.
General Error
func NewReplaceGroupDefault ¶
func NewReplaceGroupDefault(code int) *ReplaceGroupDefault
NewReplaceGroupDefault creates a ReplaceGroupDefault with default headers values
func (*ReplaceGroupDefault) Code ¶
func (o *ReplaceGroupDefault) Code() int
Code gets the status code for the replace group default response
func (*ReplaceGroupDefault) Error ¶
func (o *ReplaceGroupDefault) Error() string
func (*ReplaceGroupDefault) GetPayload ¶
func (o *ReplaceGroupDefault) GetPayload() *models.Error
type ReplaceGroupNotFound ¶
type ReplaceGroupNotFound struct {
/* Configuration file version
*/
ConfigurationVersion string
Payload *models.Error
}
ReplaceGroupNotFound describes a response with status code 404, with default header values.
The specified resource was not found
func NewReplaceGroupNotFound ¶
func NewReplaceGroupNotFound() *ReplaceGroupNotFound
NewReplaceGroupNotFound creates a ReplaceGroupNotFound with default headers values
func (*ReplaceGroupNotFound) Error ¶
func (o *ReplaceGroupNotFound) Error() string
func (*ReplaceGroupNotFound) GetPayload ¶
func (o *ReplaceGroupNotFound) GetPayload() *models.Error
type ReplaceGroupOK ¶
ReplaceGroupOK describes a response with status code 200, with default header values.
Group replaced
func NewReplaceGroupOK ¶
func NewReplaceGroupOK() *ReplaceGroupOK
NewReplaceGroupOK creates a ReplaceGroupOK with default headers values
func (*ReplaceGroupOK) Error ¶
func (o *ReplaceGroupOK) Error() string
func (*ReplaceGroupOK) GetPayload ¶
func (o *ReplaceGroupOK) GetPayload() *models.Group
type ReplaceGroupParams ¶
type ReplaceGroupParams struct {
// Data.
Data *models.Group
/* 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.
group name
*/
Name string
/* TransactionID.
ID of the transaction where we want to add the operation. Cannot be used when version is specified.
*/
TransactionID *string
/* Userlist.
Parent userlist name
*/
Userlist 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
}
ReplaceGroupParams contains all the parameters to send to the API endpoint
for the replace group operation. Typically these are written to a http.Request.
func NewReplaceGroupParams ¶
func NewReplaceGroupParams() *ReplaceGroupParams
NewReplaceGroupParams creates a new ReplaceGroupParams 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 NewReplaceGroupParamsWithContext ¶
func NewReplaceGroupParamsWithContext(ctx context.Context) *ReplaceGroupParams
NewReplaceGroupParamsWithContext creates a new ReplaceGroupParams object with the ability to set a context for a request.
func NewReplaceGroupParamsWithHTTPClient ¶
func NewReplaceGroupParamsWithHTTPClient(client *http.Client) *ReplaceGroupParams
NewReplaceGroupParamsWithHTTPClient creates a new ReplaceGroupParams object with the ability to set a custom HTTPClient for a request.
func NewReplaceGroupParamsWithTimeout ¶
func NewReplaceGroupParamsWithTimeout(timeout time.Duration) *ReplaceGroupParams
NewReplaceGroupParamsWithTimeout creates a new ReplaceGroupParams object with the ability to set a timeout on a request.
func (*ReplaceGroupParams) SetContext ¶
func (o *ReplaceGroupParams) SetContext(ctx context.Context)
SetContext adds the context to the replace group params
func (*ReplaceGroupParams) SetData ¶
func (o *ReplaceGroupParams) SetData(data *models.Group)
SetData adds the data to the replace group params
func (*ReplaceGroupParams) SetDefaults ¶ added in v1.0.0
func (o *ReplaceGroupParams) SetDefaults()
SetDefaults hydrates default values in the replace group params (not the query body).
All values with no default are reset to their zero value.
func (*ReplaceGroupParams) SetForceReload ¶
func (o *ReplaceGroupParams) SetForceReload(forceReload *bool)
SetForceReload adds the forceReload to the replace group params
func (*ReplaceGroupParams) SetHTTPClient ¶
func (o *ReplaceGroupParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the replace group params
func (*ReplaceGroupParams) SetName ¶
func (o *ReplaceGroupParams) SetName(name string)
SetName adds the name to the replace group params
func (*ReplaceGroupParams) SetTimeout ¶
func (o *ReplaceGroupParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the replace group params
func (*ReplaceGroupParams) SetTransactionID ¶
func (o *ReplaceGroupParams) SetTransactionID(transactionID *string)
SetTransactionID adds the transactionId to the replace group params
func (*ReplaceGroupParams) SetUserlist ¶
func (o *ReplaceGroupParams) SetUserlist(userlist string)
SetUserlist adds the userlist to the replace group params
func (*ReplaceGroupParams) SetVersion ¶
func (o *ReplaceGroupParams) SetVersion(version *int64)
SetVersion adds the version to the replace group params
func (*ReplaceGroupParams) WithContext ¶
func (o *ReplaceGroupParams) WithContext(ctx context.Context) *ReplaceGroupParams
WithContext adds the context to the replace group params
func (*ReplaceGroupParams) WithData ¶
func (o *ReplaceGroupParams) WithData(data *models.Group) *ReplaceGroupParams
WithData adds the data to the replace group params
func (*ReplaceGroupParams) WithDefaults ¶ added in v1.0.0
func (o *ReplaceGroupParams) WithDefaults() *ReplaceGroupParams
WithDefaults hydrates default values in the replace group params (not the query body).
All values with no default are reset to their zero value.
func (*ReplaceGroupParams) WithForceReload ¶
func (o *ReplaceGroupParams) WithForceReload(forceReload *bool) *ReplaceGroupParams
WithForceReload adds the forceReload to the replace group params
func (*ReplaceGroupParams) WithHTTPClient ¶
func (o *ReplaceGroupParams) WithHTTPClient(client *http.Client) *ReplaceGroupParams
WithHTTPClient adds the HTTPClient to the replace group params
func (*ReplaceGroupParams) WithName ¶
func (o *ReplaceGroupParams) WithName(name string) *ReplaceGroupParams
WithName adds the name to the replace group params
func (*ReplaceGroupParams) WithTimeout ¶
func (o *ReplaceGroupParams) WithTimeout(timeout time.Duration) *ReplaceGroupParams
WithTimeout adds the timeout to the replace group params
func (*ReplaceGroupParams) WithTransactionID ¶
func (o *ReplaceGroupParams) WithTransactionID(transactionID *string) *ReplaceGroupParams
WithTransactionID adds the transactionID to the replace group params
func (*ReplaceGroupParams) WithUserlist ¶
func (o *ReplaceGroupParams) WithUserlist(userlist string) *ReplaceGroupParams
WithUserlist adds the userlist to the replace group params
func (*ReplaceGroupParams) WithVersion ¶
func (o *ReplaceGroupParams) WithVersion(version *int64) *ReplaceGroupParams
WithVersion adds the version to the replace group params
func (*ReplaceGroupParams) WriteToRequest ¶
func (o *ReplaceGroupParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type ReplaceGroupReader ¶
type ReplaceGroupReader struct {
// contains filtered or unexported fields
}
ReplaceGroupReader is a Reader for the ReplaceGroup structure.
func (*ReplaceGroupReader) ReadResponse ¶
func (o *ReplaceGroupReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.