Documentation ¶
Index ¶
- type Client
- func (a *Client) GroupsCreate(params *GroupsCreateParams, authInfo runtime.ClientAuthInfoWriter, ...) (*GroupsCreateCreated, error)
- func (a *Client) GroupsDelete(params *GroupsDeleteParams, authInfo runtime.ClientAuthInfoWriter, ...) (*GroupsDeleteOK, error)
- func (a *Client) GroupsList(params *GroupsListParams, authInfo runtime.ClientAuthInfoWriter, ...) (*GroupsListOK, error)
- func (a *Client) GroupsPartialUpdate(params *GroupsPartialUpdateParams, authInfo runtime.ClientAuthInfoWriter, ...) (*GroupsPartialUpdateOK, error)
- func (a *Client) GroupsRead(params *GroupsReadParams, authInfo runtime.ClientAuthInfoWriter, ...) (*GroupsReadOK, error)
- func (a *Client) GroupsUpdate(params *GroupsUpdateParams, authInfo runtime.ClientAuthInfoWriter, ...) (*GroupsUpdateOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- type ClientOption
- type ClientService
- type GroupsCreateBadRequest
- type GroupsCreateCreated
- type GroupsCreateParams
- func (o *GroupsCreateParams) SetContext(ctx context.Context)
- func (o *GroupsCreateParams) SetData(data *models.GroupWrite)
- func (o *GroupsCreateParams) SetDefaults()
- func (o *GroupsCreateParams) SetHTTPClient(client *http.Client)
- func (o *GroupsCreateParams) SetTimeout(timeout time.Duration)
- func (o *GroupsCreateParams) WithContext(ctx context.Context) *GroupsCreateParams
- func (o *GroupsCreateParams) WithData(data *models.GroupWrite) *GroupsCreateParams
- func (o *GroupsCreateParams) WithDefaults() *GroupsCreateParams
- func (o *GroupsCreateParams) WithHTTPClient(client *http.Client) *GroupsCreateParams
- func (o *GroupsCreateParams) WithTimeout(timeout time.Duration) *GroupsCreateParams
- func (o *GroupsCreateParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GroupsCreateReader
- type GroupsCreateUnauthorized
- type GroupsDeleteOK
- type GroupsDeleteParams
- func (o *GroupsDeleteParams) SetContext(ctx context.Context)
- func (o *GroupsDeleteParams) SetDefaults()
- func (o *GroupsDeleteParams) SetHTTPClient(client *http.Client)
- func (o *GroupsDeleteParams) SetID(id string)
- func (o *GroupsDeleteParams) SetTimeout(timeout time.Duration)
- func (o *GroupsDeleteParams) WithContext(ctx context.Context) *GroupsDeleteParams
- func (o *GroupsDeleteParams) WithDefaults() *GroupsDeleteParams
- func (o *GroupsDeleteParams) WithHTTPClient(client *http.Client) *GroupsDeleteParams
- func (o *GroupsDeleteParams) WithID(id string) *GroupsDeleteParams
- func (o *GroupsDeleteParams) WithTimeout(timeout time.Duration) *GroupsDeleteParams
- func (o *GroupsDeleteParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GroupsDeleteReader
- type GroupsDeleteUnauthorized
- type GroupsListOK
- type GroupsListParams
- func (o *GroupsListParams) SetContext(ctx context.Context)
- func (o *GroupsListParams) SetDefaults()
- func (o *GroupsListParams) SetHTTPClient(client *http.Client)
- func (o *GroupsListParams) SetTimeout(timeout time.Duration)
- func (o *GroupsListParams) WithContext(ctx context.Context) *GroupsListParams
- func (o *GroupsListParams) WithDefaults() *GroupsListParams
- func (o *GroupsListParams) WithHTTPClient(client *http.Client) *GroupsListParams
- func (o *GroupsListParams) WithTimeout(timeout time.Duration) *GroupsListParams
- func (o *GroupsListParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GroupsListReader
- type GroupsListUnauthorized
- type GroupsPartialUpdateBadRequest
- type GroupsPartialUpdateOK
- type GroupsPartialUpdateParams
- func NewGroupsPartialUpdateParams() *GroupsPartialUpdateParams
- func NewGroupsPartialUpdateParamsWithContext(ctx context.Context) *GroupsPartialUpdateParams
- func NewGroupsPartialUpdateParamsWithHTTPClient(client *http.Client) *GroupsPartialUpdateParams
- func NewGroupsPartialUpdateParamsWithTimeout(timeout time.Duration) *GroupsPartialUpdateParams
- func (o *GroupsPartialUpdateParams) SetContext(ctx context.Context)
- func (o *GroupsPartialUpdateParams) SetData(data *models.GroupWrite)
- func (o *GroupsPartialUpdateParams) SetDefaults()
- func (o *GroupsPartialUpdateParams) SetHTTPClient(client *http.Client)
- func (o *GroupsPartialUpdateParams) SetID(id string)
- func (o *GroupsPartialUpdateParams) SetTimeout(timeout time.Duration)
- func (o *GroupsPartialUpdateParams) WithContext(ctx context.Context) *GroupsPartialUpdateParams
- func (o *GroupsPartialUpdateParams) WithData(data *models.GroupWrite) *GroupsPartialUpdateParams
- func (o *GroupsPartialUpdateParams) WithDefaults() *GroupsPartialUpdateParams
- func (o *GroupsPartialUpdateParams) WithHTTPClient(client *http.Client) *GroupsPartialUpdateParams
- func (o *GroupsPartialUpdateParams) WithID(id string) *GroupsPartialUpdateParams
- func (o *GroupsPartialUpdateParams) WithTimeout(timeout time.Duration) *GroupsPartialUpdateParams
- func (o *GroupsPartialUpdateParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GroupsPartialUpdateReader
- type GroupsPartialUpdateUnauthorized
- type GroupsReadOK
- type GroupsReadParams
- func (o *GroupsReadParams) SetContext(ctx context.Context)
- func (o *GroupsReadParams) SetDefaults()
- func (o *GroupsReadParams) SetHTTPClient(client *http.Client)
- func (o *GroupsReadParams) SetID(id string)
- func (o *GroupsReadParams) SetTimeout(timeout time.Duration)
- func (o *GroupsReadParams) WithContext(ctx context.Context) *GroupsReadParams
- func (o *GroupsReadParams) WithDefaults() *GroupsReadParams
- func (o *GroupsReadParams) WithHTTPClient(client *http.Client) *GroupsReadParams
- func (o *GroupsReadParams) WithID(id string) *GroupsReadParams
- func (o *GroupsReadParams) WithTimeout(timeout time.Duration) *GroupsReadParams
- func (o *GroupsReadParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GroupsReadReader
- type GroupsReadUnauthorized
- type GroupsUpdateBadRequest
- type GroupsUpdateOK
- type GroupsUpdateParams
- func (o *GroupsUpdateParams) SetContext(ctx context.Context)
- func (o *GroupsUpdateParams) SetData(data *models.GroupWrite)
- func (o *GroupsUpdateParams) SetDefaults()
- func (o *GroupsUpdateParams) SetHTTPClient(client *http.Client)
- func (o *GroupsUpdateParams) SetID(id string)
- func (o *GroupsUpdateParams) SetTimeout(timeout time.Duration)
- func (o *GroupsUpdateParams) WithContext(ctx context.Context) *GroupsUpdateParams
- func (o *GroupsUpdateParams) WithData(data *models.GroupWrite) *GroupsUpdateParams
- func (o *GroupsUpdateParams) WithDefaults() *GroupsUpdateParams
- func (o *GroupsUpdateParams) WithHTTPClient(client *http.Client) *GroupsUpdateParams
- func (o *GroupsUpdateParams) WithID(id string) *GroupsUpdateParams
- func (o *GroupsUpdateParams) WithTimeout(timeout time.Duration) *GroupsUpdateParams
- func (o *GroupsUpdateParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GroupsUpdateReader
- type GroupsUpdateUnauthorized
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 groups API
func (*Client) GroupsCreate ¶
func (a *Client) GroupsCreate(params *GroupsCreateParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GroupsCreateCreated, error)
GroupsCreate creates group
Define a new group. Groups are used to associate screens and can be used to schedule playlists on them.
func (*Client) GroupsDelete ¶
func (a *Client) GroupsDelete(params *GroupsDeleteParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GroupsDeleteOK, error)
GroupsDelete deletes group
Delete a specific group. Groups are used to associate screens and can be used to schedule playlists on them.
func (*Client) GroupsList ¶
func (a *Client) GroupsList(params *GroupsListParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GroupsListOK, error)
GroupsList gets group list
Get a list of groups. Groups are used to associate screens and can be used to schedule playlists on them.
func (*Client) GroupsPartialUpdate ¶
func (a *Client) GroupsPartialUpdate(params *GroupsPartialUpdateParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GroupsPartialUpdateOK, error)
GroupsPartialUpdate updates group partially
Change specific fields of a group. Groups are used to associate screens and can be used to schedule playlists on them.
func (*Client) GroupsRead ¶
func (a *Client) GroupsRead(params *GroupsReadParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GroupsReadOK, error)
GroupsRead gets group
Get the details of a specific group. Groups are used to associate screens and can be used to schedule playlists on them.
func (*Client) GroupsUpdate ¶
func (a *Client) GroupsUpdate(params *GroupsUpdateParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GroupsUpdateOK, error)
GroupsUpdate updates group
Change a group. Groups are used to associate screens and can be used to schedule playlists on them.
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
type ClientOption ¶
type ClientOption func(*runtime.ClientOperation)
ClientOption is the option for Client methods
type ClientService ¶
type ClientService interface { GroupsCreate(params *GroupsCreateParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GroupsCreateCreated, error) GroupsDelete(params *GroupsDeleteParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GroupsDeleteOK, error) GroupsList(params *GroupsListParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GroupsListOK, error) GroupsPartialUpdate(params *GroupsPartialUpdateParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GroupsPartialUpdateOK, error) GroupsRead(params *GroupsReadParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GroupsReadOK, error) GroupsUpdate(params *GroupsUpdateParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GroupsUpdateOK, 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 groups API client.
type GroupsCreateBadRequest ¶
type GroupsCreateBadRequest struct { }
GroupsCreateBadRequest describes a response with status code 400, with default header values.
You sent a malformed or bad request.
func NewGroupsCreateBadRequest ¶
func NewGroupsCreateBadRequest() *GroupsCreateBadRequest
NewGroupsCreateBadRequest creates a GroupsCreateBadRequest with default headers values
func (*GroupsCreateBadRequest) Error ¶
func (o *GroupsCreateBadRequest) Error() string
type GroupsCreateCreated ¶
GroupsCreateCreated describes a response with status code 201, with default header values.
GroupsCreateCreated groups create created
func NewGroupsCreateCreated ¶
func NewGroupsCreateCreated() *GroupsCreateCreated
NewGroupsCreateCreated creates a GroupsCreateCreated with default headers values
func (*GroupsCreateCreated) Error ¶
func (o *GroupsCreateCreated) Error() string
func (*GroupsCreateCreated) GetPayload ¶
func (o *GroupsCreateCreated) GetPayload() *models.GroupRead
type GroupsCreateParams ¶
type GroupsCreateParams struct { // Data. Data *models.GroupWrite Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GroupsCreateParams contains all the parameters to send to the API endpoint
for the groups create operation. Typically these are written to a http.Request.
func NewGroupsCreateParams ¶
func NewGroupsCreateParams() *GroupsCreateParams
NewGroupsCreateParams creates a new GroupsCreateParams 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 NewGroupsCreateParamsWithContext ¶
func NewGroupsCreateParamsWithContext(ctx context.Context) *GroupsCreateParams
NewGroupsCreateParamsWithContext creates a new GroupsCreateParams object with the ability to set a context for a request.
func NewGroupsCreateParamsWithHTTPClient ¶
func NewGroupsCreateParamsWithHTTPClient(client *http.Client) *GroupsCreateParams
NewGroupsCreateParamsWithHTTPClient creates a new GroupsCreateParams object with the ability to set a custom HTTPClient for a request.
func NewGroupsCreateParamsWithTimeout ¶
func NewGroupsCreateParamsWithTimeout(timeout time.Duration) *GroupsCreateParams
NewGroupsCreateParamsWithTimeout creates a new GroupsCreateParams object with the ability to set a timeout on a request.
func (*GroupsCreateParams) SetContext ¶
func (o *GroupsCreateParams) SetContext(ctx context.Context)
SetContext adds the context to the groups create params
func (*GroupsCreateParams) SetData ¶
func (o *GroupsCreateParams) SetData(data *models.GroupWrite)
SetData adds the data to the groups create params
func (*GroupsCreateParams) SetDefaults ¶
func (o *GroupsCreateParams) SetDefaults()
SetDefaults hydrates default values in the groups create params (not the query body).
All values with no default are reset to their zero value.
func (*GroupsCreateParams) SetHTTPClient ¶
func (o *GroupsCreateParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the groups create params
func (*GroupsCreateParams) SetTimeout ¶
func (o *GroupsCreateParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the groups create params
func (*GroupsCreateParams) WithContext ¶
func (o *GroupsCreateParams) WithContext(ctx context.Context) *GroupsCreateParams
WithContext adds the context to the groups create params
func (*GroupsCreateParams) WithData ¶
func (o *GroupsCreateParams) WithData(data *models.GroupWrite) *GroupsCreateParams
WithData adds the data to the groups create params
func (*GroupsCreateParams) WithDefaults ¶
func (o *GroupsCreateParams) WithDefaults() *GroupsCreateParams
WithDefaults hydrates default values in the groups create params (not the query body).
All values with no default are reset to their zero value.
func (*GroupsCreateParams) WithHTTPClient ¶
func (o *GroupsCreateParams) WithHTTPClient(client *http.Client) *GroupsCreateParams
WithHTTPClient adds the HTTPClient to the groups create params
func (*GroupsCreateParams) WithTimeout ¶
func (o *GroupsCreateParams) WithTimeout(timeout time.Duration) *GroupsCreateParams
WithTimeout adds the timeout to the groups create params
func (*GroupsCreateParams) WriteToRequest ¶
func (o *GroupsCreateParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GroupsCreateReader ¶
type GroupsCreateReader struct {
// contains filtered or unexported fields
}
GroupsCreateReader is a Reader for the GroupsCreate structure.
func (*GroupsCreateReader) ReadResponse ¶
func (o *GroupsCreateReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GroupsCreateUnauthorized ¶
type GroupsCreateUnauthorized struct { }
GroupsCreateUnauthorized describes a response with status code 401, with default header values.
You provided invalid credentials.
func NewGroupsCreateUnauthorized ¶
func NewGroupsCreateUnauthorized() *GroupsCreateUnauthorized
NewGroupsCreateUnauthorized creates a GroupsCreateUnauthorized with default headers values
func (*GroupsCreateUnauthorized) Error ¶
func (o *GroupsCreateUnauthorized) Error() string
type GroupsDeleteOK ¶
type GroupsDeleteOK struct { }
GroupsDeleteOK describes a response with status code 200, with default header values.
GroupsDeleteOK groups delete o k
func NewGroupsDeleteOK ¶
func NewGroupsDeleteOK() *GroupsDeleteOK
NewGroupsDeleteOK creates a GroupsDeleteOK with default headers values
func (*GroupsDeleteOK) Error ¶
func (o *GroupsDeleteOK) Error() string
type GroupsDeleteParams ¶
type GroupsDeleteParams struct { // ID. ID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GroupsDeleteParams contains all the parameters to send to the API endpoint
for the groups delete operation. Typically these are written to a http.Request.
func NewGroupsDeleteParams ¶
func NewGroupsDeleteParams() *GroupsDeleteParams
NewGroupsDeleteParams creates a new GroupsDeleteParams 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 NewGroupsDeleteParamsWithContext ¶
func NewGroupsDeleteParamsWithContext(ctx context.Context) *GroupsDeleteParams
NewGroupsDeleteParamsWithContext creates a new GroupsDeleteParams object with the ability to set a context for a request.
func NewGroupsDeleteParamsWithHTTPClient ¶
func NewGroupsDeleteParamsWithHTTPClient(client *http.Client) *GroupsDeleteParams
NewGroupsDeleteParamsWithHTTPClient creates a new GroupsDeleteParams object with the ability to set a custom HTTPClient for a request.
func NewGroupsDeleteParamsWithTimeout ¶
func NewGroupsDeleteParamsWithTimeout(timeout time.Duration) *GroupsDeleteParams
NewGroupsDeleteParamsWithTimeout creates a new GroupsDeleteParams object with the ability to set a timeout on a request.
func (*GroupsDeleteParams) SetContext ¶
func (o *GroupsDeleteParams) SetContext(ctx context.Context)
SetContext adds the context to the groups delete params
func (*GroupsDeleteParams) SetDefaults ¶
func (o *GroupsDeleteParams) SetDefaults()
SetDefaults hydrates default values in the groups delete params (not the query body).
All values with no default are reset to their zero value.
func (*GroupsDeleteParams) SetHTTPClient ¶
func (o *GroupsDeleteParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the groups delete params
func (*GroupsDeleteParams) SetID ¶
func (o *GroupsDeleteParams) SetID(id string)
SetID adds the id to the groups delete params
func (*GroupsDeleteParams) SetTimeout ¶
func (o *GroupsDeleteParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the groups delete params
func (*GroupsDeleteParams) WithContext ¶
func (o *GroupsDeleteParams) WithContext(ctx context.Context) *GroupsDeleteParams
WithContext adds the context to the groups delete params
func (*GroupsDeleteParams) WithDefaults ¶
func (o *GroupsDeleteParams) WithDefaults() *GroupsDeleteParams
WithDefaults hydrates default values in the groups delete params (not the query body).
All values with no default are reset to their zero value.
func (*GroupsDeleteParams) WithHTTPClient ¶
func (o *GroupsDeleteParams) WithHTTPClient(client *http.Client) *GroupsDeleteParams
WithHTTPClient adds the HTTPClient to the groups delete params
func (*GroupsDeleteParams) WithID ¶
func (o *GroupsDeleteParams) WithID(id string) *GroupsDeleteParams
WithID adds the id to the groups delete params
func (*GroupsDeleteParams) WithTimeout ¶
func (o *GroupsDeleteParams) WithTimeout(timeout time.Duration) *GroupsDeleteParams
WithTimeout adds the timeout to the groups delete params
func (*GroupsDeleteParams) WriteToRequest ¶
func (o *GroupsDeleteParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GroupsDeleteReader ¶
type GroupsDeleteReader struct {
// contains filtered or unexported fields
}
GroupsDeleteReader is a Reader for the GroupsDelete structure.
func (*GroupsDeleteReader) ReadResponse ¶
func (o *GroupsDeleteReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GroupsDeleteUnauthorized ¶
type GroupsDeleteUnauthorized struct { }
GroupsDeleteUnauthorized describes a response with status code 401, with default header values.
You provided invalid credentials.
func NewGroupsDeleteUnauthorized ¶
func NewGroupsDeleteUnauthorized() *GroupsDeleteUnauthorized
NewGroupsDeleteUnauthorized creates a GroupsDeleteUnauthorized with default headers values
func (*GroupsDeleteUnauthorized) Error ¶
func (o *GroupsDeleteUnauthorized) Error() string
type GroupsListOK ¶
GroupsListOK describes a response with status code 200, with default header values.
GroupsListOK groups list o k
func NewGroupsListOK ¶
func NewGroupsListOK() *GroupsListOK
NewGroupsListOK creates a GroupsListOK with default headers values
func (*GroupsListOK) Error ¶
func (o *GroupsListOK) Error() string
func (*GroupsListOK) GetPayload ¶
func (o *GroupsListOK) GetPayload() []*models.GroupRead
type GroupsListParams ¶
type GroupsListParams struct { Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GroupsListParams contains all the parameters to send to the API endpoint
for the groups list operation. Typically these are written to a http.Request.
func NewGroupsListParams ¶
func NewGroupsListParams() *GroupsListParams
NewGroupsListParams creates a new GroupsListParams 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 NewGroupsListParamsWithContext ¶
func NewGroupsListParamsWithContext(ctx context.Context) *GroupsListParams
NewGroupsListParamsWithContext creates a new GroupsListParams object with the ability to set a context for a request.
func NewGroupsListParamsWithHTTPClient ¶
func NewGroupsListParamsWithHTTPClient(client *http.Client) *GroupsListParams
NewGroupsListParamsWithHTTPClient creates a new GroupsListParams object with the ability to set a custom HTTPClient for a request.
func NewGroupsListParamsWithTimeout ¶
func NewGroupsListParamsWithTimeout(timeout time.Duration) *GroupsListParams
NewGroupsListParamsWithTimeout creates a new GroupsListParams object with the ability to set a timeout on a request.
func (*GroupsListParams) SetContext ¶
func (o *GroupsListParams) SetContext(ctx context.Context)
SetContext adds the context to the groups list params
func (*GroupsListParams) SetDefaults ¶
func (o *GroupsListParams) SetDefaults()
SetDefaults hydrates default values in the groups list params (not the query body).
All values with no default are reset to their zero value.
func (*GroupsListParams) SetHTTPClient ¶
func (o *GroupsListParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the groups list params
func (*GroupsListParams) SetTimeout ¶
func (o *GroupsListParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the groups list params
func (*GroupsListParams) WithContext ¶
func (o *GroupsListParams) WithContext(ctx context.Context) *GroupsListParams
WithContext adds the context to the groups list params
func (*GroupsListParams) WithDefaults ¶
func (o *GroupsListParams) WithDefaults() *GroupsListParams
WithDefaults hydrates default values in the groups list params (not the query body).
All values with no default are reset to their zero value.
func (*GroupsListParams) WithHTTPClient ¶
func (o *GroupsListParams) WithHTTPClient(client *http.Client) *GroupsListParams
WithHTTPClient adds the HTTPClient to the groups list params
func (*GroupsListParams) WithTimeout ¶
func (o *GroupsListParams) WithTimeout(timeout time.Duration) *GroupsListParams
WithTimeout adds the timeout to the groups list params
func (*GroupsListParams) WriteToRequest ¶
func (o *GroupsListParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GroupsListReader ¶
type GroupsListReader struct {
// contains filtered or unexported fields
}
GroupsListReader is a Reader for the GroupsList structure.
func (*GroupsListReader) ReadResponse ¶
func (o *GroupsListReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GroupsListUnauthorized ¶
type GroupsListUnauthorized struct { }
GroupsListUnauthorized describes a response with status code 401, with default header values.
You provided invalid credentials.
func NewGroupsListUnauthorized ¶
func NewGroupsListUnauthorized() *GroupsListUnauthorized
NewGroupsListUnauthorized creates a GroupsListUnauthorized with default headers values
func (*GroupsListUnauthorized) Error ¶
func (o *GroupsListUnauthorized) Error() string
type GroupsPartialUpdateBadRequest ¶
type GroupsPartialUpdateBadRequest struct { }
GroupsPartialUpdateBadRequest describes a response with status code 400, with default header values.
You sent a malformed or bad request.
func NewGroupsPartialUpdateBadRequest ¶
func NewGroupsPartialUpdateBadRequest() *GroupsPartialUpdateBadRequest
NewGroupsPartialUpdateBadRequest creates a GroupsPartialUpdateBadRequest with default headers values
func (*GroupsPartialUpdateBadRequest) Error ¶
func (o *GroupsPartialUpdateBadRequest) Error() string
type GroupsPartialUpdateOK ¶
GroupsPartialUpdateOK describes a response with status code 200, with default header values.
GroupsPartialUpdateOK groups partial update o k
func NewGroupsPartialUpdateOK ¶
func NewGroupsPartialUpdateOK() *GroupsPartialUpdateOK
NewGroupsPartialUpdateOK creates a GroupsPartialUpdateOK with default headers values
func (*GroupsPartialUpdateOK) Error ¶
func (o *GroupsPartialUpdateOK) Error() string
func (*GroupsPartialUpdateOK) GetPayload ¶
func (o *GroupsPartialUpdateOK) GetPayload() *models.GroupRead
type GroupsPartialUpdateParams ¶
type GroupsPartialUpdateParams struct { // Data. Data *models.GroupWrite // ID. ID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GroupsPartialUpdateParams contains all the parameters to send to the API endpoint
for the groups partial update operation. Typically these are written to a http.Request.
func NewGroupsPartialUpdateParams ¶
func NewGroupsPartialUpdateParams() *GroupsPartialUpdateParams
NewGroupsPartialUpdateParams creates a new GroupsPartialUpdateParams 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 NewGroupsPartialUpdateParamsWithContext ¶
func NewGroupsPartialUpdateParamsWithContext(ctx context.Context) *GroupsPartialUpdateParams
NewGroupsPartialUpdateParamsWithContext creates a new GroupsPartialUpdateParams object with the ability to set a context for a request.
func NewGroupsPartialUpdateParamsWithHTTPClient ¶
func NewGroupsPartialUpdateParamsWithHTTPClient(client *http.Client) *GroupsPartialUpdateParams
NewGroupsPartialUpdateParamsWithHTTPClient creates a new GroupsPartialUpdateParams object with the ability to set a custom HTTPClient for a request.
func NewGroupsPartialUpdateParamsWithTimeout ¶
func NewGroupsPartialUpdateParamsWithTimeout(timeout time.Duration) *GroupsPartialUpdateParams
NewGroupsPartialUpdateParamsWithTimeout creates a new GroupsPartialUpdateParams object with the ability to set a timeout on a request.
func (*GroupsPartialUpdateParams) SetContext ¶
func (o *GroupsPartialUpdateParams) SetContext(ctx context.Context)
SetContext adds the context to the groups partial update params
func (*GroupsPartialUpdateParams) SetData ¶
func (o *GroupsPartialUpdateParams) SetData(data *models.GroupWrite)
SetData adds the data to the groups partial update params
func (*GroupsPartialUpdateParams) SetDefaults ¶
func (o *GroupsPartialUpdateParams) SetDefaults()
SetDefaults hydrates default values in the groups partial update params (not the query body).
All values with no default are reset to their zero value.
func (*GroupsPartialUpdateParams) SetHTTPClient ¶
func (o *GroupsPartialUpdateParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the groups partial update params
func (*GroupsPartialUpdateParams) SetID ¶
func (o *GroupsPartialUpdateParams) SetID(id string)
SetID adds the id to the groups partial update params
func (*GroupsPartialUpdateParams) SetTimeout ¶
func (o *GroupsPartialUpdateParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the groups partial update params
func (*GroupsPartialUpdateParams) WithContext ¶
func (o *GroupsPartialUpdateParams) WithContext(ctx context.Context) *GroupsPartialUpdateParams
WithContext adds the context to the groups partial update params
func (*GroupsPartialUpdateParams) WithData ¶
func (o *GroupsPartialUpdateParams) WithData(data *models.GroupWrite) *GroupsPartialUpdateParams
WithData adds the data to the groups partial update params
func (*GroupsPartialUpdateParams) WithDefaults ¶
func (o *GroupsPartialUpdateParams) WithDefaults() *GroupsPartialUpdateParams
WithDefaults hydrates default values in the groups partial update params (not the query body).
All values with no default are reset to their zero value.
func (*GroupsPartialUpdateParams) WithHTTPClient ¶
func (o *GroupsPartialUpdateParams) WithHTTPClient(client *http.Client) *GroupsPartialUpdateParams
WithHTTPClient adds the HTTPClient to the groups partial update params
func (*GroupsPartialUpdateParams) WithID ¶
func (o *GroupsPartialUpdateParams) WithID(id string) *GroupsPartialUpdateParams
WithID adds the id to the groups partial update params
func (*GroupsPartialUpdateParams) WithTimeout ¶
func (o *GroupsPartialUpdateParams) WithTimeout(timeout time.Duration) *GroupsPartialUpdateParams
WithTimeout adds the timeout to the groups partial update params
func (*GroupsPartialUpdateParams) WriteToRequest ¶
func (o *GroupsPartialUpdateParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GroupsPartialUpdateReader ¶
type GroupsPartialUpdateReader struct {
// contains filtered or unexported fields
}
GroupsPartialUpdateReader is a Reader for the GroupsPartialUpdate structure.
func (*GroupsPartialUpdateReader) ReadResponse ¶
func (o *GroupsPartialUpdateReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GroupsPartialUpdateUnauthorized ¶
type GroupsPartialUpdateUnauthorized struct { }
GroupsPartialUpdateUnauthorized describes a response with status code 401, with default header values.
You provided invalid credentials.
func NewGroupsPartialUpdateUnauthorized ¶
func NewGroupsPartialUpdateUnauthorized() *GroupsPartialUpdateUnauthorized
NewGroupsPartialUpdateUnauthorized creates a GroupsPartialUpdateUnauthorized with default headers values
func (*GroupsPartialUpdateUnauthorized) Error ¶
func (o *GroupsPartialUpdateUnauthorized) Error() string
type GroupsReadOK ¶
GroupsReadOK describes a response with status code 200, with default header values.
GroupsReadOK groups read o k
func NewGroupsReadOK ¶
func NewGroupsReadOK() *GroupsReadOK
NewGroupsReadOK creates a GroupsReadOK with default headers values
func (*GroupsReadOK) Error ¶
func (o *GroupsReadOK) Error() string
func (*GroupsReadOK) GetPayload ¶
func (o *GroupsReadOK) GetPayload() *models.GroupRead
type GroupsReadParams ¶
type GroupsReadParams struct { // ID. ID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GroupsReadParams contains all the parameters to send to the API endpoint
for the groups read operation. Typically these are written to a http.Request.
func NewGroupsReadParams ¶
func NewGroupsReadParams() *GroupsReadParams
NewGroupsReadParams creates a new GroupsReadParams 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 NewGroupsReadParamsWithContext ¶
func NewGroupsReadParamsWithContext(ctx context.Context) *GroupsReadParams
NewGroupsReadParamsWithContext creates a new GroupsReadParams object with the ability to set a context for a request.
func NewGroupsReadParamsWithHTTPClient ¶
func NewGroupsReadParamsWithHTTPClient(client *http.Client) *GroupsReadParams
NewGroupsReadParamsWithHTTPClient creates a new GroupsReadParams object with the ability to set a custom HTTPClient for a request.
func NewGroupsReadParamsWithTimeout ¶
func NewGroupsReadParamsWithTimeout(timeout time.Duration) *GroupsReadParams
NewGroupsReadParamsWithTimeout creates a new GroupsReadParams object with the ability to set a timeout on a request.
func (*GroupsReadParams) SetContext ¶
func (o *GroupsReadParams) SetContext(ctx context.Context)
SetContext adds the context to the groups read params
func (*GroupsReadParams) SetDefaults ¶
func (o *GroupsReadParams) SetDefaults()
SetDefaults hydrates default values in the groups read params (not the query body).
All values with no default are reset to their zero value.
func (*GroupsReadParams) SetHTTPClient ¶
func (o *GroupsReadParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the groups read params
func (*GroupsReadParams) SetID ¶
func (o *GroupsReadParams) SetID(id string)
SetID adds the id to the groups read params
func (*GroupsReadParams) SetTimeout ¶
func (o *GroupsReadParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the groups read params
func (*GroupsReadParams) WithContext ¶
func (o *GroupsReadParams) WithContext(ctx context.Context) *GroupsReadParams
WithContext adds the context to the groups read params
func (*GroupsReadParams) WithDefaults ¶
func (o *GroupsReadParams) WithDefaults() *GroupsReadParams
WithDefaults hydrates default values in the groups read params (not the query body).
All values with no default are reset to their zero value.
func (*GroupsReadParams) WithHTTPClient ¶
func (o *GroupsReadParams) WithHTTPClient(client *http.Client) *GroupsReadParams
WithHTTPClient adds the HTTPClient to the groups read params
func (*GroupsReadParams) WithID ¶
func (o *GroupsReadParams) WithID(id string) *GroupsReadParams
WithID adds the id to the groups read params
func (*GroupsReadParams) WithTimeout ¶
func (o *GroupsReadParams) WithTimeout(timeout time.Duration) *GroupsReadParams
WithTimeout adds the timeout to the groups read params
func (*GroupsReadParams) WriteToRequest ¶
func (o *GroupsReadParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GroupsReadReader ¶
type GroupsReadReader struct {
// contains filtered or unexported fields
}
GroupsReadReader is a Reader for the GroupsRead structure.
func (*GroupsReadReader) ReadResponse ¶
func (o *GroupsReadReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GroupsReadUnauthorized ¶
type GroupsReadUnauthorized struct { }
GroupsReadUnauthorized describes a response with status code 401, with default header values.
You provided invalid credentials.
func NewGroupsReadUnauthorized ¶
func NewGroupsReadUnauthorized() *GroupsReadUnauthorized
NewGroupsReadUnauthorized creates a GroupsReadUnauthorized with default headers values
func (*GroupsReadUnauthorized) Error ¶
func (o *GroupsReadUnauthorized) Error() string
type GroupsUpdateBadRequest ¶
type GroupsUpdateBadRequest struct { }
GroupsUpdateBadRequest describes a response with status code 400, with default header values.
You sent a malformed or bad request.
func NewGroupsUpdateBadRequest ¶
func NewGroupsUpdateBadRequest() *GroupsUpdateBadRequest
NewGroupsUpdateBadRequest creates a GroupsUpdateBadRequest with default headers values
func (*GroupsUpdateBadRequest) Error ¶
func (o *GroupsUpdateBadRequest) Error() string
type GroupsUpdateOK ¶
GroupsUpdateOK describes a response with status code 200, with default header values.
GroupsUpdateOK groups update o k
func NewGroupsUpdateOK ¶
func NewGroupsUpdateOK() *GroupsUpdateOK
NewGroupsUpdateOK creates a GroupsUpdateOK with default headers values
func (*GroupsUpdateOK) Error ¶
func (o *GroupsUpdateOK) Error() string
func (*GroupsUpdateOK) GetPayload ¶
func (o *GroupsUpdateOK) GetPayload() *models.GroupRead
type GroupsUpdateParams ¶
type GroupsUpdateParams struct { // Data. Data *models.GroupWrite // ID. ID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GroupsUpdateParams contains all the parameters to send to the API endpoint
for the groups update operation. Typically these are written to a http.Request.
func NewGroupsUpdateParams ¶
func NewGroupsUpdateParams() *GroupsUpdateParams
NewGroupsUpdateParams creates a new GroupsUpdateParams 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 NewGroupsUpdateParamsWithContext ¶
func NewGroupsUpdateParamsWithContext(ctx context.Context) *GroupsUpdateParams
NewGroupsUpdateParamsWithContext creates a new GroupsUpdateParams object with the ability to set a context for a request.
func NewGroupsUpdateParamsWithHTTPClient ¶
func NewGroupsUpdateParamsWithHTTPClient(client *http.Client) *GroupsUpdateParams
NewGroupsUpdateParamsWithHTTPClient creates a new GroupsUpdateParams object with the ability to set a custom HTTPClient for a request.
func NewGroupsUpdateParamsWithTimeout ¶
func NewGroupsUpdateParamsWithTimeout(timeout time.Duration) *GroupsUpdateParams
NewGroupsUpdateParamsWithTimeout creates a new GroupsUpdateParams object with the ability to set a timeout on a request.
func (*GroupsUpdateParams) SetContext ¶
func (o *GroupsUpdateParams) SetContext(ctx context.Context)
SetContext adds the context to the groups update params
func (*GroupsUpdateParams) SetData ¶
func (o *GroupsUpdateParams) SetData(data *models.GroupWrite)
SetData adds the data to the groups update params
func (*GroupsUpdateParams) SetDefaults ¶
func (o *GroupsUpdateParams) SetDefaults()
SetDefaults hydrates default values in the groups update params (not the query body).
All values with no default are reset to their zero value.
func (*GroupsUpdateParams) SetHTTPClient ¶
func (o *GroupsUpdateParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the groups update params
func (*GroupsUpdateParams) SetID ¶
func (o *GroupsUpdateParams) SetID(id string)
SetID adds the id to the groups update params
func (*GroupsUpdateParams) SetTimeout ¶
func (o *GroupsUpdateParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the groups update params
func (*GroupsUpdateParams) WithContext ¶
func (o *GroupsUpdateParams) WithContext(ctx context.Context) *GroupsUpdateParams
WithContext adds the context to the groups update params
func (*GroupsUpdateParams) WithData ¶
func (o *GroupsUpdateParams) WithData(data *models.GroupWrite) *GroupsUpdateParams
WithData adds the data to the groups update params
func (*GroupsUpdateParams) WithDefaults ¶
func (o *GroupsUpdateParams) WithDefaults() *GroupsUpdateParams
WithDefaults hydrates default values in the groups update params (not the query body).
All values with no default are reset to their zero value.
func (*GroupsUpdateParams) WithHTTPClient ¶
func (o *GroupsUpdateParams) WithHTTPClient(client *http.Client) *GroupsUpdateParams
WithHTTPClient adds the HTTPClient to the groups update params
func (*GroupsUpdateParams) WithID ¶
func (o *GroupsUpdateParams) WithID(id string) *GroupsUpdateParams
WithID adds the id to the groups update params
func (*GroupsUpdateParams) WithTimeout ¶
func (o *GroupsUpdateParams) WithTimeout(timeout time.Duration) *GroupsUpdateParams
WithTimeout adds the timeout to the groups update params
func (*GroupsUpdateParams) WriteToRequest ¶
func (o *GroupsUpdateParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GroupsUpdateReader ¶
type GroupsUpdateReader struct {
// contains filtered or unexported fields
}
GroupsUpdateReader is a Reader for the GroupsUpdate structure.
func (*GroupsUpdateReader) ReadResponse ¶
func (o *GroupsUpdateReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GroupsUpdateUnauthorized ¶
type GroupsUpdateUnauthorized struct { }
GroupsUpdateUnauthorized describes a response with status code 401, with default header values.
You provided invalid credentials.
func NewGroupsUpdateUnauthorized ¶
func NewGroupsUpdateUnauthorized() *GroupsUpdateUnauthorized
NewGroupsUpdateUnauthorized creates a GroupsUpdateUnauthorized with default headers values
func (*GroupsUpdateUnauthorized) Error ¶
func (o *GroupsUpdateUnauthorized) Error() string
Source Files ¶
- groups_client.go
- groups_create_parameters.go
- groups_create_responses.go
- groups_delete_parameters.go
- groups_delete_responses.go
- groups_list_parameters.go
- groups_list_responses.go
- groups_partial_update_parameters.go
- groups_partial_update_responses.go
- groups_read_parameters.go
- groups_read_responses.go
- groups_update_parameters.go
- groups_update_responses.go