stats_group_management

package
v0.0.0-...-bbc5c3a Latest Latest
Warning

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

Go to latest
Published: Jun 30, 2023 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AdminGroupBadRequest

type AdminGroupBadRequest struct {
}

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

Permission not valid for administration

func NewAdminGroupBadRequest

func NewAdminGroupBadRequest() *AdminGroupBadRequest

NewAdminGroupBadRequest creates a AdminGroupBadRequest with default headers values

func (*AdminGroupBadRequest) Error

func (o *AdminGroupBadRequest) Error() string

func (*AdminGroupBadRequest) IsClientError

func (o *AdminGroupBadRequest) IsClientError() bool

IsClientError returns true when this admin group bad request response has a 4xx status code

func (*AdminGroupBadRequest) IsCode

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

IsCode returns true when this admin group bad request response a status code equal to that given

func (*AdminGroupBadRequest) IsRedirect

func (o *AdminGroupBadRequest) IsRedirect() bool

IsRedirect returns true when this admin group bad request response has a 3xx status code

func (*AdminGroupBadRequest) IsServerError

func (o *AdminGroupBadRequest) IsServerError() bool

IsServerError returns true when this admin group bad request response has a 5xx status code

func (*AdminGroupBadRequest) IsSuccess

func (o *AdminGroupBadRequest) IsSuccess() bool

IsSuccess returns true when this admin group bad request response has a 2xx status code

func (*AdminGroupBadRequest) String

func (o *AdminGroupBadRequest) String() string

type AdminGroupNotFound

type AdminGroupNotFound struct {
}

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

Group not found/not provided

func NewAdminGroupNotFound

func NewAdminGroupNotFound() *AdminGroupNotFound

NewAdminGroupNotFound creates a AdminGroupNotFound with default headers values

func (*AdminGroupNotFound) Error

func (o *AdminGroupNotFound) Error() string

func (*AdminGroupNotFound) IsClientError

func (o *AdminGroupNotFound) IsClientError() bool

IsClientError returns true when this admin group not found response has a 4xx status code

func (*AdminGroupNotFound) IsCode

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

IsCode returns true when this admin group not found response a status code equal to that given

func (*AdminGroupNotFound) IsRedirect

func (o *AdminGroupNotFound) IsRedirect() bool

IsRedirect returns true when this admin group not found response has a 3xx status code

func (*AdminGroupNotFound) IsServerError

func (o *AdminGroupNotFound) IsServerError() bool

IsServerError returns true when this admin group not found response has a 5xx status code

func (*AdminGroupNotFound) IsSuccess

func (o *AdminGroupNotFound) IsSuccess() bool

IsSuccess returns true when this admin group not found response has a 2xx status code

func (*AdminGroupNotFound) String

func (o *AdminGroupNotFound) String() string

type AdminGroupOK

type AdminGroupOK struct {
	Payload *models.GroupResponse
}

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

successful operation

func NewAdminGroupOK

func NewAdminGroupOK() *AdminGroupOK

NewAdminGroupOK creates a AdminGroupOK with default headers values

func (*AdminGroupOK) Error

func (o *AdminGroupOK) Error() string

func (*AdminGroupOK) GetPayload

func (o *AdminGroupOK) GetPayload() *models.GroupResponse

func (*AdminGroupOK) IsClientError

func (o *AdminGroupOK) IsClientError() bool

IsClientError returns true when this admin group o k response has a 4xx status code

func (*AdminGroupOK) IsCode

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

IsCode returns true when this admin group o k response a status code equal to that given

func (*AdminGroupOK) IsRedirect

func (o *AdminGroupOK) IsRedirect() bool

IsRedirect returns true when this admin group o k response has a 3xx status code

func (*AdminGroupOK) IsServerError

func (o *AdminGroupOK) IsServerError() bool

IsServerError returns true when this admin group o k response has a 5xx status code

func (*AdminGroupOK) IsSuccess

func (o *AdminGroupOK) IsSuccess() bool

IsSuccess returns true when this admin group o k response has a 2xx status code

func (*AdminGroupOK) String

func (o *AdminGroupOK) String() string

type AdminGroupParams

type AdminGroupParams struct {

	/* Groupid.

	   The unique string key of the group
	*/
	Groupid *string

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

AdminGroupParams contains all the parameters to send to the API endpoint

for the admin group operation.

Typically these are written to a http.Request.

func NewAdminGroupParams

func NewAdminGroupParams() *AdminGroupParams

NewAdminGroupParams creates a new AdminGroupParams 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 NewAdminGroupParamsWithContext

func NewAdminGroupParamsWithContext(ctx context.Context) *AdminGroupParams

NewAdminGroupParamsWithContext creates a new AdminGroupParams object with the ability to set a context for a request.

func NewAdminGroupParamsWithHTTPClient

func NewAdminGroupParamsWithHTTPClient(client *http.Client) *AdminGroupParams

NewAdminGroupParamsWithHTTPClient creates a new AdminGroupParams object with the ability to set a custom HTTPClient for a request.

func NewAdminGroupParamsWithTimeout

func NewAdminGroupParamsWithTimeout(timeout time.Duration) *AdminGroupParams

NewAdminGroupParamsWithTimeout creates a new AdminGroupParams object with the ability to set a timeout on a request.

func (*AdminGroupParams) SetContext

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

SetContext adds the context to the admin group params

func (*AdminGroupParams) SetDefaults

func (o *AdminGroupParams) SetDefaults()

SetDefaults hydrates default values in the admin group params (not the query body).

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

func (*AdminGroupParams) SetGroupid

func (o *AdminGroupParams) SetGroupid(groupid *string)

SetGroupid adds the groupid to the admin group params

func (*AdminGroupParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the admin group params

func (*AdminGroupParams) SetTimeout

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

SetTimeout adds the timeout to the admin group params

func (*AdminGroupParams) WithContext

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

WithContext adds the context to the admin group params

func (*AdminGroupParams) WithDefaults

func (o *AdminGroupParams) WithDefaults() *AdminGroupParams

WithDefaults hydrates default values in the admin group params (not the query body).

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

func (*AdminGroupParams) WithGroupid

func (o *AdminGroupParams) WithGroupid(groupid *string) *AdminGroupParams

WithGroupid adds the groupid to the admin group params

func (*AdminGroupParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the admin group params

func (*AdminGroupParams) WithTimeout

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

WithTimeout adds the timeout to the admin group params

func (*AdminGroupParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type AdminGroupReader

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

AdminGroupReader is a Reader for the AdminGroup structure.

func (*AdminGroupReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type AdminGroupUnauthorized

type AdminGroupUnauthorized struct {
}

AdminGroupUnauthorized describes a response with status code 401, with default header values.

User not authenticated

func NewAdminGroupUnauthorized

func NewAdminGroupUnauthorized() *AdminGroupUnauthorized

NewAdminGroupUnauthorized creates a AdminGroupUnauthorized with default headers values

func (*AdminGroupUnauthorized) Error

func (o *AdminGroupUnauthorized) Error() string

func (*AdminGroupUnauthorized) IsClientError

func (o *AdminGroupUnauthorized) IsClientError() bool

IsClientError returns true when this admin group unauthorized response has a 4xx status code

func (*AdminGroupUnauthorized) IsCode

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

IsCode returns true when this admin group unauthorized response a status code equal to that given

func (*AdminGroupUnauthorized) IsRedirect

func (o *AdminGroupUnauthorized) IsRedirect() bool

IsRedirect returns true when this admin group unauthorized response has a 3xx status code

func (*AdminGroupUnauthorized) IsServerError

func (o *AdminGroupUnauthorized) IsServerError() bool

IsServerError returns true when this admin group unauthorized response has a 5xx status code

func (*AdminGroupUnauthorized) IsSuccess

func (o *AdminGroupUnauthorized) IsSuccess() bool

IsSuccess returns true when this admin group unauthorized response has a 2xx status code

func (*AdminGroupUnauthorized) String

func (o *AdminGroupUnauthorized) String() string

type Client

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

Client for stats group management API

func (*Client) AdminGroup

func (a *Client) AdminGroup(params *AdminGroupParams, opts ...ClientOption) (*AdminGroupOK, error)

AdminGroup gets group info as a stats group administrator

func (*Client) GroupMembers

func (a *Client) GroupMembers(params *GroupMembersParams, opts ...ClientOption) (*GroupMembersOK, error)

GroupMembers gets group members

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 {
	AdminGroup(params *AdminGroupParams, opts ...ClientOption) (*AdminGroupOK, error)

	GroupMembers(params *GroupMembersParams, opts ...ClientOption) (*GroupMembersOK, 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 stats group management API client.

type GroupMembersBadRequest

type GroupMembersBadRequest struct {
}

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

Unable to load group

func NewGroupMembersBadRequest

func NewGroupMembersBadRequest() *GroupMembersBadRequest

NewGroupMembersBadRequest creates a GroupMembersBadRequest with default headers values

func (*GroupMembersBadRequest) Error

func (o *GroupMembersBadRequest) Error() string

func (*GroupMembersBadRequest) IsClientError

func (o *GroupMembersBadRequest) IsClientError() bool

IsClientError returns true when this group members bad request response has a 4xx status code

func (*GroupMembersBadRequest) IsCode

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

IsCode returns true when this group members bad request response a status code equal to that given

func (*GroupMembersBadRequest) IsRedirect

func (o *GroupMembersBadRequest) IsRedirect() bool

IsRedirect returns true when this group members bad request response has a 3xx status code

func (*GroupMembersBadRequest) IsServerError

func (o *GroupMembersBadRequest) IsServerError() bool

IsServerError returns true when this group members bad request response has a 5xx status code

func (*GroupMembersBadRequest) IsSuccess

func (o *GroupMembersBadRequest) IsSuccess() bool

IsSuccess returns true when this group members bad request response has a 2xx status code

func (*GroupMembersBadRequest) String

func (o *GroupMembersBadRequest) String() string

type GroupMembersNotFound

type GroupMembersNotFound struct {
}

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

Group not found

func NewGroupMembersNotFound

func NewGroupMembersNotFound() *GroupMembersNotFound

NewGroupMembersNotFound creates a GroupMembersNotFound with default headers values

func (*GroupMembersNotFound) Error

func (o *GroupMembersNotFound) Error() string

func (*GroupMembersNotFound) IsClientError

func (o *GroupMembersNotFound) IsClientError() bool

IsClientError returns true when this group members not found response has a 4xx status code

func (*GroupMembersNotFound) IsCode

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

IsCode returns true when this group members not found response a status code equal to that given

func (*GroupMembersNotFound) IsRedirect

func (o *GroupMembersNotFound) IsRedirect() bool

IsRedirect returns true when this group members not found response has a 3xx status code

func (*GroupMembersNotFound) IsServerError

func (o *GroupMembersNotFound) IsServerError() bool

IsServerError returns true when this group members not found response has a 5xx status code

func (*GroupMembersNotFound) IsSuccess

func (o *GroupMembersNotFound) IsSuccess() bool

IsSuccess returns true when this group members not found response has a 2xx status code

func (*GroupMembersNotFound) String

func (o *GroupMembersNotFound) String() string

type GroupMembersOK

type GroupMembersOK struct {
	Payload *models.GroupMemberResponse
}

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

successful operation

func NewGroupMembersOK

func NewGroupMembersOK() *GroupMembersOK

NewGroupMembersOK creates a GroupMembersOK with default headers values

func (*GroupMembersOK) Error

func (o *GroupMembersOK) Error() string

func (*GroupMembersOK) GetPayload

func (o *GroupMembersOK) GetPayload() *models.GroupMemberResponse

func (*GroupMembersOK) IsClientError

func (o *GroupMembersOK) IsClientError() bool

IsClientError returns true when this group members o k response has a 4xx status code

func (*GroupMembersOK) IsCode

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

IsCode returns true when this group members o k response a status code equal to that given

func (*GroupMembersOK) IsRedirect

func (o *GroupMembersOK) IsRedirect() bool

IsRedirect returns true when this group members o k response has a 3xx status code

func (*GroupMembersOK) IsServerError

func (o *GroupMembersOK) IsServerError() bool

IsServerError returns true when this group members o k response has a 5xx status code

func (*GroupMembersOK) IsSuccess

func (o *GroupMembersOK) IsSuccess() bool

IsSuccess returns true when this group members o k response has a 2xx status code

func (*GroupMembersOK) String

func (o *GroupMembersOK) String() string

type GroupMembersParams

type GroupMembersParams struct {

	/* Groupid.

	   The unique numeric ID of the group
	*/
	Groupid *string

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

GroupMembersParams contains all the parameters to send to the API endpoint

for the group members operation.

Typically these are written to a http.Request.

func NewGroupMembersParams

func NewGroupMembersParams() *GroupMembersParams

NewGroupMembersParams creates a new GroupMembersParams 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 NewGroupMembersParamsWithContext

func NewGroupMembersParamsWithContext(ctx context.Context) *GroupMembersParams

NewGroupMembersParamsWithContext creates a new GroupMembersParams object with the ability to set a context for a request.

func NewGroupMembersParamsWithHTTPClient

func NewGroupMembersParamsWithHTTPClient(client *http.Client) *GroupMembersParams

NewGroupMembersParamsWithHTTPClient creates a new GroupMembersParams object with the ability to set a custom HTTPClient for a request.

func NewGroupMembersParamsWithTimeout

func NewGroupMembersParamsWithTimeout(timeout time.Duration) *GroupMembersParams

NewGroupMembersParamsWithTimeout creates a new GroupMembersParams object with the ability to set a timeout on a request.

func (*GroupMembersParams) SetContext

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

SetContext adds the context to the group members params

func (*GroupMembersParams) SetDefaults

func (o *GroupMembersParams) SetDefaults()

SetDefaults hydrates default values in the group members params (not the query body).

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

func (*GroupMembersParams) SetGroupid

func (o *GroupMembersParams) SetGroupid(groupid *string)

SetGroupid adds the groupid to the group members params

func (*GroupMembersParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the group members params

func (*GroupMembersParams) SetTimeout

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

SetTimeout adds the timeout to the group members params

func (*GroupMembersParams) WithContext

WithContext adds the context to the group members params

func (*GroupMembersParams) WithDefaults

func (o *GroupMembersParams) WithDefaults() *GroupMembersParams

WithDefaults hydrates default values in the group members params (not the query body).

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

func (*GroupMembersParams) WithGroupid

func (o *GroupMembersParams) WithGroupid(groupid *string) *GroupMembersParams

WithGroupid adds the groupid to the group members params

func (*GroupMembersParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the group members params

func (*GroupMembersParams) WithTimeout

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

WithTimeout adds the timeout to the group members params

func (*GroupMembersParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type GroupMembersReader

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

GroupMembersReader is a Reader for the GroupMembers structure.

func (*GroupMembersReader) ReadResponse

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

ReadResponse reads a server response into the received o.

Jump to

Keyboard shortcuts

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