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
- func (o *CreateGroupAccepted) Error() string
- func (o *CreateGroupAccepted) GetPayload() *models.Group
- func (o *CreateGroupAccepted) IsClientError() bool
- func (o *CreateGroupAccepted) IsCode(code int) bool
- func (o *CreateGroupAccepted) IsRedirect() bool
- func (o *CreateGroupAccepted) IsServerError() bool
- func (o *CreateGroupAccepted) IsSuccess() bool
- func (o *CreateGroupAccepted) String() string
- type CreateGroupBadRequest
- func (o *CreateGroupBadRequest) Error() string
- func (o *CreateGroupBadRequest) GetPayload() *models.Error
- func (o *CreateGroupBadRequest) IsClientError() bool
- func (o *CreateGroupBadRequest) IsCode(code int) bool
- func (o *CreateGroupBadRequest) IsRedirect() bool
- func (o *CreateGroupBadRequest) IsServerError() bool
- func (o *CreateGroupBadRequest) IsSuccess() bool
- func (o *CreateGroupBadRequest) String() string
- type CreateGroupConflict
- func (o *CreateGroupConflict) Error() string
- func (o *CreateGroupConflict) GetPayload() *models.Error
- func (o *CreateGroupConflict) IsClientError() bool
- func (o *CreateGroupConflict) IsCode(code int) bool
- func (o *CreateGroupConflict) IsRedirect() bool
- func (o *CreateGroupConflict) IsServerError() bool
- func (o *CreateGroupConflict) IsSuccess() bool
- func (o *CreateGroupConflict) String() string
- type CreateGroupCreated
- func (o *CreateGroupCreated) Error() string
- func (o *CreateGroupCreated) GetPayload() *models.Group
- func (o *CreateGroupCreated) IsClientError() bool
- func (o *CreateGroupCreated) IsCode(code int) bool
- func (o *CreateGroupCreated) IsRedirect() bool
- func (o *CreateGroupCreated) IsServerError() bool
- func (o *CreateGroupCreated) IsSuccess() bool
- func (o *CreateGroupCreated) String() string
- type CreateGroupDefault
- func (o *CreateGroupDefault) Code() int
- func (o *CreateGroupDefault) Error() string
- func (o *CreateGroupDefault) GetPayload() *models.Error
- func (o *CreateGroupDefault) IsClientError() bool
- func (o *CreateGroupDefault) IsCode(code int) bool
- func (o *CreateGroupDefault) IsRedirect() bool
- func (o *CreateGroupDefault) IsServerError() bool
- func (o *CreateGroupDefault) IsSuccess() bool
- func (o *CreateGroupDefault) String() string
- 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
- func (o *DeleteGroupAccepted) Error() string
- func (o *DeleteGroupAccepted) IsClientError() bool
- func (o *DeleteGroupAccepted) IsCode(code int) bool
- func (o *DeleteGroupAccepted) IsRedirect() bool
- func (o *DeleteGroupAccepted) IsServerError() bool
- func (o *DeleteGroupAccepted) IsSuccess() bool
- func (o *DeleteGroupAccepted) String() string
- type DeleteGroupDefault
- func (o *DeleteGroupDefault) Code() int
- func (o *DeleteGroupDefault) Error() string
- func (o *DeleteGroupDefault) GetPayload() *models.Error
- func (o *DeleteGroupDefault) IsClientError() bool
- func (o *DeleteGroupDefault) IsCode(code int) bool
- func (o *DeleteGroupDefault) IsRedirect() bool
- func (o *DeleteGroupDefault) IsServerError() bool
- func (o *DeleteGroupDefault) IsSuccess() bool
- func (o *DeleteGroupDefault) String() string
- type DeleteGroupNoContent
- func (o *DeleteGroupNoContent) Error() string
- func (o *DeleteGroupNoContent) IsClientError() bool
- func (o *DeleteGroupNoContent) IsCode(code int) bool
- func (o *DeleteGroupNoContent) IsRedirect() bool
- func (o *DeleteGroupNoContent) IsServerError() bool
- func (o *DeleteGroupNoContent) IsSuccess() bool
- func (o *DeleteGroupNoContent) String() string
- type DeleteGroupNotFound
- func (o *DeleteGroupNotFound) Error() string
- func (o *DeleteGroupNotFound) GetPayload() *models.Error
- func (o *DeleteGroupNotFound) IsClientError() bool
- func (o *DeleteGroupNotFound) IsCode(code int) bool
- func (o *DeleteGroupNotFound) IsRedirect() bool
- func (o *DeleteGroupNotFound) IsServerError() bool
- func (o *DeleteGroupNotFound) IsSuccess() bool
- func (o *DeleteGroupNotFound) String() string
- 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
- func (o *GetGroupDefault) Code() int
- func (o *GetGroupDefault) Error() string
- func (o *GetGroupDefault) GetPayload() *models.Error
- func (o *GetGroupDefault) IsClientError() bool
- func (o *GetGroupDefault) IsCode(code int) bool
- func (o *GetGroupDefault) IsRedirect() bool
- func (o *GetGroupDefault) IsServerError() bool
- func (o *GetGroupDefault) IsSuccess() bool
- func (o *GetGroupDefault) String() string
- type GetGroupNotFound
- func (o *GetGroupNotFound) Error() string
- func (o *GetGroupNotFound) GetPayload() *models.Error
- func (o *GetGroupNotFound) IsClientError() bool
- func (o *GetGroupNotFound) IsCode(code int) bool
- func (o *GetGroupNotFound) IsRedirect() bool
- func (o *GetGroupNotFound) IsServerError() bool
- func (o *GetGroupNotFound) IsSuccess() bool
- func (o *GetGroupNotFound) String() string
- type GetGroupOK
- func (o *GetGroupOK) Error() string
- func (o *GetGroupOK) GetPayload() *GetGroupOKBody
- func (o *GetGroupOK) IsClientError() bool
- func (o *GetGroupOK) IsCode(code int) bool
- func (o *GetGroupOK) IsRedirect() bool
- func (o *GetGroupOK) IsServerError() bool
- func (o *GetGroupOK) IsSuccess() bool
- func (o *GetGroupOK) String() string
- 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
- func (o *GetGroupsDefault) Code() int
- func (o *GetGroupsDefault) Error() string
- func (o *GetGroupsDefault) GetPayload() *models.Error
- func (o *GetGroupsDefault) IsClientError() bool
- func (o *GetGroupsDefault) IsCode(code int) bool
- func (o *GetGroupsDefault) IsRedirect() bool
- func (o *GetGroupsDefault) IsServerError() bool
- func (o *GetGroupsDefault) IsSuccess() bool
- func (o *GetGroupsDefault) String() string
- type GetGroupsOK
- func (o *GetGroupsOK) Error() string
- func (o *GetGroupsOK) GetPayload() *GetGroupsOKBody
- func (o *GetGroupsOK) IsClientError() bool
- func (o *GetGroupsOK) IsCode(code int) bool
- func (o *GetGroupsOK) IsRedirect() bool
- func (o *GetGroupsOK) IsServerError() bool
- func (o *GetGroupsOK) IsSuccess() bool
- func (o *GetGroupsOK) String() string
- 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
- func (o *ReplaceGroupAccepted) Error() string
- func (o *ReplaceGroupAccepted) GetPayload() *models.Group
- func (o *ReplaceGroupAccepted) IsClientError() bool
- func (o *ReplaceGroupAccepted) IsCode(code int) bool
- func (o *ReplaceGroupAccepted) IsRedirect() bool
- func (o *ReplaceGroupAccepted) IsServerError() bool
- func (o *ReplaceGroupAccepted) IsSuccess() bool
- func (o *ReplaceGroupAccepted) String() string
- type ReplaceGroupBadRequest
- func (o *ReplaceGroupBadRequest) Error() string
- func (o *ReplaceGroupBadRequest) GetPayload() *models.Error
- func (o *ReplaceGroupBadRequest) IsClientError() bool
- func (o *ReplaceGroupBadRequest) IsCode(code int) bool
- func (o *ReplaceGroupBadRequest) IsRedirect() bool
- func (o *ReplaceGroupBadRequest) IsServerError() bool
- func (o *ReplaceGroupBadRequest) IsSuccess() bool
- func (o *ReplaceGroupBadRequest) String() string
- type ReplaceGroupDefault
- func (o *ReplaceGroupDefault) Code() int
- func (o *ReplaceGroupDefault) Error() string
- func (o *ReplaceGroupDefault) GetPayload() *models.Error
- func (o *ReplaceGroupDefault) IsClientError() bool
- func (o *ReplaceGroupDefault) IsCode(code int) bool
- func (o *ReplaceGroupDefault) IsRedirect() bool
- func (o *ReplaceGroupDefault) IsServerError() bool
- func (o *ReplaceGroupDefault) IsSuccess() bool
- func (o *ReplaceGroupDefault) String() string
- type ReplaceGroupNotFound
- func (o *ReplaceGroupNotFound) Error() string
- func (o *ReplaceGroupNotFound) GetPayload() *models.Error
- func (o *ReplaceGroupNotFound) IsClientError() bool
- func (o *ReplaceGroupNotFound) IsCode(code int) bool
- func (o *ReplaceGroupNotFound) IsRedirect() bool
- func (o *ReplaceGroupNotFound) IsServerError() bool
- func (o *ReplaceGroupNotFound) IsSuccess() bool
- func (o *ReplaceGroupNotFound) String() string
- type ReplaceGroupOK
- func (o *ReplaceGroupOK) Error() string
- func (o *ReplaceGroupOK) GetPayload() *models.Group
- func (o *ReplaceGroupOK) IsClientError() bool
- func (o *ReplaceGroupOK) IsCode(code int) bool
- func (o *ReplaceGroupOK) IsRedirect() bool
- func (o *ReplaceGroupOK) IsServerError() bool
- func (o *ReplaceGroupOK) IsSuccess() bool
- func (o *ReplaceGroupOK) String() string
- 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
func (*CreateGroupAccepted) IsClientError ¶ added in v1.1.0
func (o *CreateGroupAccepted) IsClientError() bool
IsClientError returns true when this create group accepted response has a 4xx status code
func (*CreateGroupAccepted) IsCode ¶ added in v1.1.0
func (o *CreateGroupAccepted) IsCode(code int) bool
IsCode returns true when this create group accepted response a status code equal to that given
func (*CreateGroupAccepted) IsRedirect ¶ added in v1.1.0
func (o *CreateGroupAccepted) IsRedirect() bool
IsRedirect returns true when this create group accepted response has a 3xx status code
func (*CreateGroupAccepted) IsServerError ¶ added in v1.1.0
func (o *CreateGroupAccepted) IsServerError() bool
IsServerError returns true when this create group accepted response has a 5xx status code
func (*CreateGroupAccepted) IsSuccess ¶ added in v1.1.0
func (o *CreateGroupAccepted) IsSuccess() bool
IsSuccess returns true when this create group accepted response has a 2xx status code
func (*CreateGroupAccepted) String ¶ added in v1.1.0
func (o *CreateGroupAccepted) String() string
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
func (*CreateGroupBadRequest) IsClientError ¶ added in v1.1.0
func (o *CreateGroupBadRequest) IsClientError() bool
IsClientError returns true when this create group bad request response has a 4xx status code
func (*CreateGroupBadRequest) IsCode ¶ added in v1.1.0
func (o *CreateGroupBadRequest) IsCode(code int) bool
IsCode returns true when this create group bad request response a status code equal to that given
func (*CreateGroupBadRequest) IsRedirect ¶ added in v1.1.0
func (o *CreateGroupBadRequest) IsRedirect() bool
IsRedirect returns true when this create group bad request response has a 3xx status code
func (*CreateGroupBadRequest) IsServerError ¶ added in v1.1.0
func (o *CreateGroupBadRequest) IsServerError() bool
IsServerError returns true when this create group bad request response has a 5xx status code
func (*CreateGroupBadRequest) IsSuccess ¶ added in v1.1.0
func (o *CreateGroupBadRequest) IsSuccess() bool
IsSuccess returns true when this create group bad request response has a 2xx status code
func (*CreateGroupBadRequest) String ¶ added in v1.1.0
func (o *CreateGroupBadRequest) String() string
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
func (*CreateGroupConflict) IsClientError ¶ added in v1.1.0
func (o *CreateGroupConflict) IsClientError() bool
IsClientError returns true when this create group conflict response has a 4xx status code
func (*CreateGroupConflict) IsCode ¶ added in v1.1.0
func (o *CreateGroupConflict) IsCode(code int) bool
IsCode returns true when this create group conflict response a status code equal to that given
func (*CreateGroupConflict) IsRedirect ¶ added in v1.1.0
func (o *CreateGroupConflict) IsRedirect() bool
IsRedirect returns true when this create group conflict response has a 3xx status code
func (*CreateGroupConflict) IsServerError ¶ added in v1.1.0
func (o *CreateGroupConflict) IsServerError() bool
IsServerError returns true when this create group conflict response has a 5xx status code
func (*CreateGroupConflict) IsSuccess ¶ added in v1.1.0
func (o *CreateGroupConflict) IsSuccess() bool
IsSuccess returns true when this create group conflict response has a 2xx status code
func (*CreateGroupConflict) String ¶ added in v1.1.0
func (o *CreateGroupConflict) String() string
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
func (*CreateGroupCreated) IsClientError ¶ added in v1.1.0
func (o *CreateGroupCreated) IsClientError() bool
IsClientError returns true when this create group created response has a 4xx status code
func (*CreateGroupCreated) IsCode ¶ added in v1.1.0
func (o *CreateGroupCreated) IsCode(code int) bool
IsCode returns true when this create group created response a status code equal to that given
func (*CreateGroupCreated) IsRedirect ¶ added in v1.1.0
func (o *CreateGroupCreated) IsRedirect() bool
IsRedirect returns true when this create group created response has a 3xx status code
func (*CreateGroupCreated) IsServerError ¶ added in v1.1.0
func (o *CreateGroupCreated) IsServerError() bool
IsServerError returns true when this create group created response has a 5xx status code
func (*CreateGroupCreated) IsSuccess ¶ added in v1.1.0
func (o *CreateGroupCreated) IsSuccess() bool
IsSuccess returns true when this create group created response has a 2xx status code
func (*CreateGroupCreated) String ¶ added in v1.1.0
func (o *CreateGroupCreated) String() string
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
func (*CreateGroupDefault) IsClientError ¶ added in v1.1.0
func (o *CreateGroupDefault) IsClientError() bool
IsClientError returns true when this create group default response has a 4xx status code
func (*CreateGroupDefault) IsCode ¶ added in v1.1.0
func (o *CreateGroupDefault) IsCode(code int) bool
IsCode returns true when this create group default response a status code equal to that given
func (*CreateGroupDefault) IsRedirect ¶ added in v1.1.0
func (o *CreateGroupDefault) IsRedirect() bool
IsRedirect returns true when this create group default response has a 3xx status code
func (*CreateGroupDefault) IsServerError ¶ added in v1.1.0
func (o *CreateGroupDefault) IsServerError() bool
IsServerError returns true when this create group default response has a 5xx status code
func (*CreateGroupDefault) IsSuccess ¶ added in v1.1.0
func (o *CreateGroupDefault) IsSuccess() bool
IsSuccess returns true when this create group default response has a 2xx status code
func (*CreateGroupDefault) String ¶ added in v1.1.0
func (o *CreateGroupDefault) String() string
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
func (*DeleteGroupAccepted) IsClientError ¶ added in v1.1.0
func (o *DeleteGroupAccepted) IsClientError() bool
IsClientError returns true when this delete group accepted response has a 4xx status code
func (*DeleteGroupAccepted) IsCode ¶ added in v1.1.0
func (o *DeleteGroupAccepted) IsCode(code int) bool
IsCode returns true when this delete group accepted response a status code equal to that given
func (*DeleteGroupAccepted) IsRedirect ¶ added in v1.1.0
func (o *DeleteGroupAccepted) IsRedirect() bool
IsRedirect returns true when this delete group accepted response has a 3xx status code
func (*DeleteGroupAccepted) IsServerError ¶ added in v1.1.0
func (o *DeleteGroupAccepted) IsServerError() bool
IsServerError returns true when this delete group accepted response has a 5xx status code
func (*DeleteGroupAccepted) IsSuccess ¶ added in v1.1.0
func (o *DeleteGroupAccepted) IsSuccess() bool
IsSuccess returns true when this delete group accepted response has a 2xx status code
func (*DeleteGroupAccepted) String ¶ added in v1.1.0
func (o *DeleteGroupAccepted) String() 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
func (*DeleteGroupDefault) IsClientError ¶ added in v1.1.0
func (o *DeleteGroupDefault) IsClientError() bool
IsClientError returns true when this delete group default response has a 4xx status code
func (*DeleteGroupDefault) IsCode ¶ added in v1.1.0
func (o *DeleteGroupDefault) IsCode(code int) bool
IsCode returns true when this delete group default response a status code equal to that given
func (*DeleteGroupDefault) IsRedirect ¶ added in v1.1.0
func (o *DeleteGroupDefault) IsRedirect() bool
IsRedirect returns true when this delete group default response has a 3xx status code
func (*DeleteGroupDefault) IsServerError ¶ added in v1.1.0
func (o *DeleteGroupDefault) IsServerError() bool
IsServerError returns true when this delete group default response has a 5xx status code
func (*DeleteGroupDefault) IsSuccess ¶ added in v1.1.0
func (o *DeleteGroupDefault) IsSuccess() bool
IsSuccess returns true when this delete group default response has a 2xx status code
func (*DeleteGroupDefault) String ¶ added in v1.1.0
func (o *DeleteGroupDefault) String() string
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
func (*DeleteGroupNoContent) IsClientError ¶ added in v1.1.0
func (o *DeleteGroupNoContent) IsClientError() bool
IsClientError returns true when this delete group no content response has a 4xx status code
func (*DeleteGroupNoContent) IsCode ¶ added in v1.1.0
func (o *DeleteGroupNoContent) IsCode(code int) bool
IsCode returns true when this delete group no content response a status code equal to that given
func (*DeleteGroupNoContent) IsRedirect ¶ added in v1.1.0
func (o *DeleteGroupNoContent) IsRedirect() bool
IsRedirect returns true when this delete group no content response has a 3xx status code
func (*DeleteGroupNoContent) IsServerError ¶ added in v1.1.0
func (o *DeleteGroupNoContent) IsServerError() bool
IsServerError returns true when this delete group no content response has a 5xx status code
func (*DeleteGroupNoContent) IsSuccess ¶ added in v1.1.0
func (o *DeleteGroupNoContent) IsSuccess() bool
IsSuccess returns true when this delete group no content response has a 2xx status code
func (*DeleteGroupNoContent) String ¶ added in v1.1.0
func (o *DeleteGroupNoContent) String() 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
func (*DeleteGroupNotFound) IsClientError ¶ added in v1.1.0
func (o *DeleteGroupNotFound) IsClientError() bool
IsClientError returns true when this delete group not found response has a 4xx status code
func (*DeleteGroupNotFound) IsCode ¶ added in v1.1.0
func (o *DeleteGroupNotFound) IsCode(code int) bool
IsCode returns true when this delete group not found response a status code equal to that given
func (*DeleteGroupNotFound) IsRedirect ¶ added in v1.1.0
func (o *DeleteGroupNotFound) IsRedirect() bool
IsRedirect returns true when this delete group not found response has a 3xx status code
func (*DeleteGroupNotFound) IsServerError ¶ added in v1.1.0
func (o *DeleteGroupNotFound) IsServerError() bool
IsServerError returns true when this delete group not found response has a 5xx status code
func (*DeleteGroupNotFound) IsSuccess ¶ added in v1.1.0
func (o *DeleteGroupNotFound) IsSuccess() bool
IsSuccess returns true when this delete group not found response has a 2xx status code
func (*DeleteGroupNotFound) String ¶ added in v1.1.0
func (o *DeleteGroupNotFound) String() string
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
func (*GetGroupDefault) IsClientError ¶ added in v1.1.0
func (o *GetGroupDefault) IsClientError() bool
IsClientError returns true when this get group default response has a 4xx status code
func (*GetGroupDefault) IsCode ¶ added in v1.1.0
func (o *GetGroupDefault) IsCode(code int) bool
IsCode returns true when this get group default response a status code equal to that given
func (*GetGroupDefault) IsRedirect ¶ added in v1.1.0
func (o *GetGroupDefault) IsRedirect() bool
IsRedirect returns true when this get group default response has a 3xx status code
func (*GetGroupDefault) IsServerError ¶ added in v1.1.0
func (o *GetGroupDefault) IsServerError() bool
IsServerError returns true when this get group default response has a 5xx status code
func (*GetGroupDefault) IsSuccess ¶ added in v1.1.0
func (o *GetGroupDefault) IsSuccess() bool
IsSuccess returns true when this get group default response has a 2xx status code
func (*GetGroupDefault) String ¶ added in v1.1.0
func (o *GetGroupDefault) String() string
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
func (*GetGroupNotFound) IsClientError ¶ added in v1.1.0
func (o *GetGroupNotFound) IsClientError() bool
IsClientError returns true when this get group not found response has a 4xx status code
func (*GetGroupNotFound) IsCode ¶ added in v1.1.0
func (o *GetGroupNotFound) IsCode(code int) bool
IsCode returns true when this get group not found response a status code equal to that given
func (*GetGroupNotFound) IsRedirect ¶ added in v1.1.0
func (o *GetGroupNotFound) IsRedirect() bool
IsRedirect returns true when this get group not found response has a 3xx status code
func (*GetGroupNotFound) IsServerError ¶ added in v1.1.0
func (o *GetGroupNotFound) IsServerError() bool
IsServerError returns true when this get group not found response has a 5xx status code
func (*GetGroupNotFound) IsSuccess ¶ added in v1.1.0
func (o *GetGroupNotFound) IsSuccess() bool
IsSuccess returns true when this get group not found response has a 2xx status code
func (*GetGroupNotFound) String ¶ added in v1.1.0
func (o *GetGroupNotFound) String() string
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
func (*GetGroupOK) IsClientError ¶ added in v1.1.0
func (o *GetGroupOK) IsClientError() bool
IsClientError returns true when this get group o k response has a 4xx status code
func (*GetGroupOK) IsCode ¶ added in v1.1.0
func (o *GetGroupOK) IsCode(code int) bool
IsCode returns true when this get group o k response a status code equal to that given
func (*GetGroupOK) IsRedirect ¶ added in v1.1.0
func (o *GetGroupOK) IsRedirect() bool
IsRedirect returns true when this get group o k response has a 3xx status code
func (*GetGroupOK) IsServerError ¶ added in v1.1.0
func (o *GetGroupOK) IsServerError() bool
IsServerError returns true when this get group o k response has a 5xx status code
func (*GetGroupOK) IsSuccess ¶ added in v1.1.0
func (o *GetGroupOK) IsSuccess() bool
IsSuccess returns true when this get group o k response has a 2xx status code
func (*GetGroupOK) String ¶ added in v1.1.0
func (o *GetGroupOK) String() string
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
func (*GetGroupsDefault) IsClientError ¶ added in v1.1.0
func (o *GetGroupsDefault) IsClientError() bool
IsClientError returns true when this get groups default response has a 4xx status code
func (*GetGroupsDefault) IsCode ¶ added in v1.1.0
func (o *GetGroupsDefault) IsCode(code int) bool
IsCode returns true when this get groups default response a status code equal to that given
func (*GetGroupsDefault) IsRedirect ¶ added in v1.1.0
func (o *GetGroupsDefault) IsRedirect() bool
IsRedirect returns true when this get groups default response has a 3xx status code
func (*GetGroupsDefault) IsServerError ¶ added in v1.1.0
func (o *GetGroupsDefault) IsServerError() bool
IsServerError returns true when this get groups default response has a 5xx status code
func (*GetGroupsDefault) IsSuccess ¶ added in v1.1.0
func (o *GetGroupsDefault) IsSuccess() bool
IsSuccess returns true when this get groups default response has a 2xx status code
func (*GetGroupsDefault) String ¶ added in v1.1.0
func (o *GetGroupsDefault) String() string
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
func (*GetGroupsOK) IsClientError ¶ added in v1.1.0
func (o *GetGroupsOK) IsClientError() bool
IsClientError returns true when this get groups o k response has a 4xx status code
func (*GetGroupsOK) IsCode ¶ added in v1.1.0
func (o *GetGroupsOK) IsCode(code int) bool
IsCode returns true when this get groups o k response a status code equal to that given
func (*GetGroupsOK) IsRedirect ¶ added in v1.1.0
func (o *GetGroupsOK) IsRedirect() bool
IsRedirect returns true when this get groups o k response has a 3xx status code
func (*GetGroupsOK) IsServerError ¶ added in v1.1.0
func (o *GetGroupsOK) IsServerError() bool
IsServerError returns true when this get groups o k response has a 5xx status code
func (*GetGroupsOK) IsSuccess ¶ added in v1.1.0
func (o *GetGroupsOK) IsSuccess() bool
IsSuccess returns true when this get groups o k response has a 2xx status code
func (*GetGroupsOK) String ¶ added in v1.1.0
func (o *GetGroupsOK) String() string
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
func (*ReplaceGroupAccepted) IsClientError ¶ added in v1.1.0
func (o *ReplaceGroupAccepted) IsClientError() bool
IsClientError returns true when this replace group accepted response has a 4xx status code
func (*ReplaceGroupAccepted) IsCode ¶ added in v1.1.0
func (o *ReplaceGroupAccepted) IsCode(code int) bool
IsCode returns true when this replace group accepted response a status code equal to that given
func (*ReplaceGroupAccepted) IsRedirect ¶ added in v1.1.0
func (o *ReplaceGroupAccepted) IsRedirect() bool
IsRedirect returns true when this replace group accepted response has a 3xx status code
func (*ReplaceGroupAccepted) IsServerError ¶ added in v1.1.0
func (o *ReplaceGroupAccepted) IsServerError() bool
IsServerError returns true when this replace group accepted response has a 5xx status code
func (*ReplaceGroupAccepted) IsSuccess ¶ added in v1.1.0
func (o *ReplaceGroupAccepted) IsSuccess() bool
IsSuccess returns true when this replace group accepted response has a 2xx status code
func (*ReplaceGroupAccepted) String ¶ added in v1.1.0
func (o *ReplaceGroupAccepted) String() string
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
func (*ReplaceGroupBadRequest) IsClientError ¶ added in v1.1.0
func (o *ReplaceGroupBadRequest) IsClientError() bool
IsClientError returns true when this replace group bad request response has a 4xx status code
func (*ReplaceGroupBadRequest) IsCode ¶ added in v1.1.0
func (o *ReplaceGroupBadRequest) IsCode(code int) bool
IsCode returns true when this replace group bad request response a status code equal to that given
func (*ReplaceGroupBadRequest) IsRedirect ¶ added in v1.1.0
func (o *ReplaceGroupBadRequest) IsRedirect() bool
IsRedirect returns true when this replace group bad request response has a 3xx status code
func (*ReplaceGroupBadRequest) IsServerError ¶ added in v1.1.0
func (o *ReplaceGroupBadRequest) IsServerError() bool
IsServerError returns true when this replace group bad request response has a 5xx status code
func (*ReplaceGroupBadRequest) IsSuccess ¶ added in v1.1.0
func (o *ReplaceGroupBadRequest) IsSuccess() bool
IsSuccess returns true when this replace group bad request response has a 2xx status code
func (*ReplaceGroupBadRequest) String ¶ added in v1.1.0
func (o *ReplaceGroupBadRequest) String() string
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
func (*ReplaceGroupDefault) IsClientError ¶ added in v1.1.0
func (o *ReplaceGroupDefault) IsClientError() bool
IsClientError returns true when this replace group default response has a 4xx status code
func (*ReplaceGroupDefault) IsCode ¶ added in v1.1.0
func (o *ReplaceGroupDefault) IsCode(code int) bool
IsCode returns true when this replace group default response a status code equal to that given
func (*ReplaceGroupDefault) IsRedirect ¶ added in v1.1.0
func (o *ReplaceGroupDefault) IsRedirect() bool
IsRedirect returns true when this replace group default response has a 3xx status code
func (*ReplaceGroupDefault) IsServerError ¶ added in v1.1.0
func (o *ReplaceGroupDefault) IsServerError() bool
IsServerError returns true when this replace group default response has a 5xx status code
func (*ReplaceGroupDefault) IsSuccess ¶ added in v1.1.0
func (o *ReplaceGroupDefault) IsSuccess() bool
IsSuccess returns true when this replace group default response has a 2xx status code
func (*ReplaceGroupDefault) String ¶ added in v1.1.0
func (o *ReplaceGroupDefault) String() string
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
func (*ReplaceGroupNotFound) IsClientError ¶ added in v1.1.0
func (o *ReplaceGroupNotFound) IsClientError() bool
IsClientError returns true when this replace group not found response has a 4xx status code
func (*ReplaceGroupNotFound) IsCode ¶ added in v1.1.0
func (o *ReplaceGroupNotFound) IsCode(code int) bool
IsCode returns true when this replace group not found response a status code equal to that given
func (*ReplaceGroupNotFound) IsRedirect ¶ added in v1.1.0
func (o *ReplaceGroupNotFound) IsRedirect() bool
IsRedirect returns true when this replace group not found response has a 3xx status code
func (*ReplaceGroupNotFound) IsServerError ¶ added in v1.1.0
func (o *ReplaceGroupNotFound) IsServerError() bool
IsServerError returns true when this replace group not found response has a 5xx status code
func (*ReplaceGroupNotFound) IsSuccess ¶ added in v1.1.0
func (o *ReplaceGroupNotFound) IsSuccess() bool
IsSuccess returns true when this replace group not found response has a 2xx status code
func (*ReplaceGroupNotFound) String ¶ added in v1.1.0
func (o *ReplaceGroupNotFound) String() string
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
func (*ReplaceGroupOK) IsClientError ¶ added in v1.1.0
func (o *ReplaceGroupOK) IsClientError() bool
IsClientError returns true when this replace group o k response has a 4xx status code
func (*ReplaceGroupOK) IsCode ¶ added in v1.1.0
func (o *ReplaceGroupOK) IsCode(code int) bool
IsCode returns true when this replace group o k response a status code equal to that given
func (*ReplaceGroupOK) IsRedirect ¶ added in v1.1.0
func (o *ReplaceGroupOK) IsRedirect() bool
IsRedirect returns true when this replace group o k response has a 3xx status code
func (*ReplaceGroupOK) IsServerError ¶ added in v1.1.0
func (o *ReplaceGroupOK) IsServerError() bool
IsServerError returns true when this replace group o k response has a 5xx status code
func (*ReplaceGroupOK) IsSuccess ¶ added in v1.1.0
func (o *ReplaceGroupOK) IsSuccess() bool
IsSuccess returns true when this replace group o k response has a 2xx status code
func (*ReplaceGroupOK) String ¶ added in v1.1.0
func (o *ReplaceGroupOK) String() string
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.