Documentation ¶
Index ¶
- type Client
- func (a *Client) CreateGroup(params *CreateGroupParams, authInfo runtime.ClientAuthInfoWriter) (*CreateGroupCreated, *CreateGroupBadRequest, *CreateGroupUnauthorized, ...)deprecated
- func (a *Client) CreateGroupShort(params *CreateGroupParams, authInfo runtime.ClientAuthInfoWriter) (*CreateGroupCreated, error)
- func (a *Client) DeleteGroup(params *DeleteGroupParams, authInfo runtime.ClientAuthInfoWriter) (*DeleteGroupNoContent, *DeleteGroupUnauthorized, *DeleteGroupNotFound, ...)deprecated
- func (a *Client) DeleteGroupShort(params *DeleteGroupParams, authInfo runtime.ClientAuthInfoWriter) (*DeleteGroupNoContent, error)
- func (a *Client) GetGroup(params *GetGroupParams, authInfo runtime.ClientAuthInfoWriter) (*GetGroupOK, *GetGroupUnauthorized, *GetGroupNotFound, ...)deprecated
- func (a *Client) GetGroupContent(params *GetGroupContentParams, authInfo runtime.ClientAuthInfoWriter) (*GetGroupContentOK, *GetGroupContentUnauthorized, *GetGroupContentNotFound, ...)deprecated
- func (a *Client) GetGroupContentShort(params *GetGroupContentParams, authInfo runtime.ClientAuthInfoWriter) (*GetGroupContentOK, error)
- func (a *Client) GetGroupShort(params *GetGroupParams, authInfo runtime.ClientAuthInfoWriter) (*GetGroupOK, error)
- func (a *Client) GetGroups(params *GetGroupsParams, authInfo runtime.ClientAuthInfoWriter) (*GetGroupsOK, *GetGroupsUnauthorized, *GetGroupsNotFound, ...)deprecated
- func (a *Client) GetGroupsShort(params *GetGroupsParams, authInfo runtime.ClientAuthInfoWriter) (*GetGroupsOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- func (a *Client) UpdateGroup(params *UpdateGroupParams, authInfo runtime.ClientAuthInfoWriter) (*UpdateGroupOK, *UpdateGroupBadRequest, *UpdateGroupUnauthorized, ...)deprecated
- func (a *Client) UpdateGroupShort(params *UpdateGroupParams, authInfo runtime.ClientAuthInfoWriter) (*UpdateGroupOK, error)
- type ClientService
- type CreateGroupBadRequest
- type CreateGroupCreated
- type CreateGroupInternalServerError
- type CreateGroupParams
- func (o *CreateGroupParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
- func (o *CreateGroupParams) SetBody(body *ugcclientmodels.ModelsCreateGroupRequest)
- func (o *CreateGroupParams) SetContext(ctx context.Context)
- func (o *CreateGroupParams) SetHTTPClient(client *http.Client)
- func (o *CreateGroupParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
- func (o *CreateGroupParams) SetNamespace(namespace string)
- func (o *CreateGroupParams) SetTimeout(timeout time.Duration)
- func (o *CreateGroupParams) SetUserID(userID string)
- func (o *CreateGroupParams) WithBody(body *ugcclientmodels.ModelsCreateGroupRequest) *CreateGroupParams
- func (o *CreateGroupParams) WithContext(ctx context.Context) *CreateGroupParams
- func (o *CreateGroupParams) WithHTTPClient(client *http.Client) *CreateGroupParams
- func (o *CreateGroupParams) WithNamespace(namespace string) *CreateGroupParams
- func (o *CreateGroupParams) WithTimeout(timeout time.Duration) *CreateGroupParams
- func (o *CreateGroupParams) WithUserID(userID string) *CreateGroupParams
- func (o *CreateGroupParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type CreateGroupReader
- type CreateGroupUnauthorized
- type DeleteGroupInternalServerError
- type DeleteGroupNoContent
- type DeleteGroupNotFound
- type DeleteGroupParams
- func (o *DeleteGroupParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
- func (o *DeleteGroupParams) SetContext(ctx context.Context)
- func (o *DeleteGroupParams) SetGroupID(groupID string)
- func (o *DeleteGroupParams) SetHTTPClient(client *http.Client)
- func (o *DeleteGroupParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
- func (o *DeleteGroupParams) SetNamespace(namespace string)
- func (o *DeleteGroupParams) SetTimeout(timeout time.Duration)
- func (o *DeleteGroupParams) SetUserID(userID string)
- func (o *DeleteGroupParams) WithContext(ctx context.Context) *DeleteGroupParams
- func (o *DeleteGroupParams) WithGroupID(groupID string) *DeleteGroupParams
- func (o *DeleteGroupParams) WithHTTPClient(client *http.Client) *DeleteGroupParams
- func (o *DeleteGroupParams) WithNamespace(namespace string) *DeleteGroupParams
- func (o *DeleteGroupParams) WithTimeout(timeout time.Duration) *DeleteGroupParams
- func (o *DeleteGroupParams) WithUserID(userID string) *DeleteGroupParams
- func (o *DeleteGroupParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DeleteGroupReader
- type DeleteGroupUnauthorized
- type GetGroupContentInternalServerError
- type GetGroupContentNotFound
- type GetGroupContentOK
- type GetGroupContentParams
- func NewGetGroupContentParams() *GetGroupContentParams
- func NewGetGroupContentParamsWithContext(ctx context.Context) *GetGroupContentParams
- func NewGetGroupContentParamsWithHTTPClient(client *http.Client) *GetGroupContentParams
- func NewGetGroupContentParamsWithTimeout(timeout time.Duration) *GetGroupContentParams
- func (o *GetGroupContentParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
- func (o *GetGroupContentParams) SetContext(ctx context.Context)
- func (o *GetGroupContentParams) SetGroupID(groupID string)
- func (o *GetGroupContentParams) SetHTTPClient(client *http.Client)
- func (o *GetGroupContentParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
- func (o *GetGroupContentParams) SetLimit(limit *int64)
- func (o *GetGroupContentParams) SetNamespace(namespace string)
- func (o *GetGroupContentParams) SetOffset(offset *int64)
- func (o *GetGroupContentParams) SetTimeout(timeout time.Duration)
- func (o *GetGroupContentParams) SetUserID(userID string)
- func (o *GetGroupContentParams) WithContext(ctx context.Context) *GetGroupContentParams
- func (o *GetGroupContentParams) WithGroupID(groupID string) *GetGroupContentParams
- func (o *GetGroupContentParams) WithHTTPClient(client *http.Client) *GetGroupContentParams
- func (o *GetGroupContentParams) WithLimit(limit *int64) *GetGroupContentParams
- func (o *GetGroupContentParams) WithNamespace(namespace string) *GetGroupContentParams
- func (o *GetGroupContentParams) WithOffset(offset *int64) *GetGroupContentParams
- func (o *GetGroupContentParams) WithTimeout(timeout time.Duration) *GetGroupContentParams
- func (o *GetGroupContentParams) WithUserID(userID string) *GetGroupContentParams
- func (o *GetGroupContentParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetGroupContentReader
- type GetGroupContentUnauthorized
- type GetGroupInternalServerError
- type GetGroupNotFound
- type GetGroupOK
- type GetGroupParams
- func (o *GetGroupParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
- func (o *GetGroupParams) SetContext(ctx context.Context)
- func (o *GetGroupParams) SetGroupID(groupID string)
- func (o *GetGroupParams) SetHTTPClient(client *http.Client)
- func (o *GetGroupParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
- func (o *GetGroupParams) SetNamespace(namespace string)
- func (o *GetGroupParams) SetTimeout(timeout time.Duration)
- func (o *GetGroupParams) SetUserID(userID string)
- func (o *GetGroupParams) WithContext(ctx context.Context) *GetGroupParams
- func (o *GetGroupParams) WithGroupID(groupID string) *GetGroupParams
- func (o *GetGroupParams) WithHTTPClient(client *http.Client) *GetGroupParams
- func (o *GetGroupParams) WithNamespace(namespace string) *GetGroupParams
- func (o *GetGroupParams) WithTimeout(timeout time.Duration) *GetGroupParams
- func (o *GetGroupParams) WithUserID(userID string) *GetGroupParams
- func (o *GetGroupParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetGroupReader
- type GetGroupUnauthorized
- type GetGroupsInternalServerError
- type GetGroupsNotFound
- type GetGroupsOK
- type GetGroupsParams
- func (o *GetGroupsParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
- func (o *GetGroupsParams) SetContext(ctx context.Context)
- func (o *GetGroupsParams) SetHTTPClient(client *http.Client)
- func (o *GetGroupsParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
- func (o *GetGroupsParams) SetLimit(limit *int64)
- func (o *GetGroupsParams) SetNamespace(namespace string)
- func (o *GetGroupsParams) SetOffset(offset *int64)
- func (o *GetGroupsParams) SetTimeout(timeout time.Duration)
- func (o *GetGroupsParams) SetUserID(userID string)
- func (o *GetGroupsParams) WithContext(ctx context.Context) *GetGroupsParams
- func (o *GetGroupsParams) WithHTTPClient(client *http.Client) *GetGroupsParams
- func (o *GetGroupsParams) WithLimit(limit *int64) *GetGroupsParams
- func (o *GetGroupsParams) WithNamespace(namespace string) *GetGroupsParams
- func (o *GetGroupsParams) WithOffset(offset *int64) *GetGroupsParams
- func (o *GetGroupsParams) WithTimeout(timeout time.Duration) *GetGroupsParams
- func (o *GetGroupsParams) WithUserID(userID string) *GetGroupsParams
- func (o *GetGroupsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetGroupsReader
- type GetGroupsUnauthorized
- type UpdateGroupBadRequest
- type UpdateGroupInternalServerError
- type UpdateGroupNotFound
- type UpdateGroupOK
- type UpdateGroupParams
- func (o *UpdateGroupParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
- func (o *UpdateGroupParams) SetBody(body *ugcclientmodels.ModelsCreateGroupRequest)
- func (o *UpdateGroupParams) SetContext(ctx context.Context)
- func (o *UpdateGroupParams) SetGroupID(groupID string)
- func (o *UpdateGroupParams) SetHTTPClient(client *http.Client)
- func (o *UpdateGroupParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
- func (o *UpdateGroupParams) SetNamespace(namespace string)
- func (o *UpdateGroupParams) SetTimeout(timeout time.Duration)
- func (o *UpdateGroupParams) SetUserID(userID string)
- func (o *UpdateGroupParams) WithBody(body *ugcclientmodels.ModelsCreateGroupRequest) *UpdateGroupParams
- func (o *UpdateGroupParams) WithContext(ctx context.Context) *UpdateGroupParams
- func (o *UpdateGroupParams) WithGroupID(groupID string) *UpdateGroupParams
- func (o *UpdateGroupParams) WithHTTPClient(client *http.Client) *UpdateGroupParams
- func (o *UpdateGroupParams) WithNamespace(namespace string) *UpdateGroupParams
- func (o *UpdateGroupParams) WithTimeout(timeout time.Duration) *UpdateGroupParams
- func (o *UpdateGroupParams) WithUserID(userID string) *UpdateGroupParams
- func (o *UpdateGroupParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type UpdateGroupReader
- type UpdateGroupUnauthorized
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 public group API
func (*Client) CreateGroup
deprecated
func (a *Client) CreateGroup(params *CreateGroupParams, authInfo runtime.ClientAuthInfoWriter) (*CreateGroupCreated, *CreateGroupBadRequest, *CreateGroupUnauthorized, *CreateGroupInternalServerError, error)
Deprecated: Use CreateGroupShort instead.
CreateGroup creates groups Required permission NAMESPACE:{namespace}:USER:{userId}:CONTENTGROUP [CREATE]
func (*Client) CreateGroupShort ¶
func (a *Client) CreateGroupShort(params *CreateGroupParams, authInfo runtime.ClientAuthInfoWriter) (*CreateGroupCreated, error)
CreateGroupShort creates groups
Required permission NAMESPACE:{namespace}:USER:{userId}:CONTENTGROUP [CREATE]
func (*Client) DeleteGroup
deprecated
func (a *Client) DeleteGroup(params *DeleteGroupParams, authInfo runtime.ClientAuthInfoWriter) (*DeleteGroupNoContent, *DeleteGroupUnauthorized, *DeleteGroupNotFound, *DeleteGroupInternalServerError, error)
Deprecated: Use DeleteGroupShort instead.
DeleteGroup deletes group Required permission NAMESPACE:{namespace}:USER:{userId}:CONTENTGROUP [DELETE]
func (*Client) DeleteGroupShort ¶
func (a *Client) DeleteGroupShort(params *DeleteGroupParams, authInfo runtime.ClientAuthInfoWriter) (*DeleteGroupNoContent, error)
DeleteGroupShort deletes group
Required permission NAMESPACE:{namespace}:USER:{userId}:CONTENTGROUP [DELETE]
func (*Client) GetGroup
deprecated
func (a *Client) GetGroup(params *GetGroupParams, authInfo runtime.ClientAuthInfoWriter) (*GetGroupOK, *GetGroupUnauthorized, *GetGroupNotFound, *GetGroupInternalServerError, error)
Deprecated: Use GetGroupShort instead.
GetGroup gets user s groups Required permission <b>NAMESPACE:{namespace}:USER:{userId}:CONTENTGROUP [READ]</b>.
func (*Client) GetGroupContent
deprecated
func (a *Client) GetGroupContent(params *GetGroupContentParams, authInfo runtime.ClientAuthInfoWriter) (*GetGroupContentOK, *GetGroupContentUnauthorized, *GetGroupContentNotFound, *GetGroupContentInternalServerError, error)
Deprecated: Use GetGroupContentShort instead.
GetGroupContent gets contents belong to a group Required permission <b>NAMESPACE:{namespace}:USER:{userId}:CONTENT [READ]</b>.
func (*Client) GetGroupContentShort ¶
func (a *Client) GetGroupContentShort(params *GetGroupContentParams, authInfo runtime.ClientAuthInfoWriter) (*GetGroupContentOK, error)
GetGroupContentShort gets contents belong to a group
Required permission <b>NAMESPACE:{namespace}:USER:{userId}:CONTENT [READ]</b>.
func (*Client) GetGroupShort ¶
func (a *Client) GetGroupShort(params *GetGroupParams, authInfo runtime.ClientAuthInfoWriter) (*GetGroupOK, error)
GetGroupShort gets user s groups
Required permission <b>NAMESPACE:{namespace}:USER:{userId}:CONTENTGROUP [READ]</b>.
func (*Client) GetGroups
deprecated
func (a *Client) GetGroups(params *GetGroupsParams, authInfo runtime.ClientAuthInfoWriter) (*GetGroupsOK, *GetGroupsUnauthorized, *GetGroupsNotFound, *GetGroupsInternalServerError, error)
Deprecated: Use GetGroupsShort instead.
GetGroups gets all user groups Required permission <b>NAMESPACE:{namespace}:USER:{userId}:CONTENTGROUP [READ]</b>.
func (*Client) GetGroupsShort ¶
func (a *Client) GetGroupsShort(params *GetGroupsParams, authInfo runtime.ClientAuthInfoWriter) (*GetGroupsOK, error)
GetGroupsShort gets all user groups
Required permission <b>NAMESPACE:{namespace}:USER:{userId}:CONTENTGROUP [READ]</b>.
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
func (*Client) UpdateGroup
deprecated
func (a *Client) UpdateGroup(params *UpdateGroupParams, authInfo runtime.ClientAuthInfoWriter) (*UpdateGroupOK, *UpdateGroupBadRequest, *UpdateGroupUnauthorized, *UpdateGroupNotFound, *UpdateGroupInternalServerError, error)
Deprecated: Use UpdateGroupShort instead.
UpdateGroup updates group Required permission NAMESPACE:{namespace}:USER:{userId}:CONTENTGROUP [UPDATE] replace group name and contents with new ones
func (*Client) UpdateGroupShort ¶
func (a *Client) UpdateGroupShort(params *UpdateGroupParams, authInfo runtime.ClientAuthInfoWriter) (*UpdateGroupOK, error)
UpdateGroupShort updates group Required permission NAMESPACE:{namespace}:USER:{userId}:CONTENTGROUP [UPDATE] replace group name and contents with new ones
type ClientService ¶
type ClientService interface { CreateGroup(params *CreateGroupParams, authInfo runtime.ClientAuthInfoWriter) (*CreateGroupCreated, *CreateGroupBadRequest, *CreateGroupUnauthorized, *CreateGroupInternalServerError, error) CreateGroupShort(params *CreateGroupParams, authInfo runtime.ClientAuthInfoWriter) (*CreateGroupCreated, error) DeleteGroup(params *DeleteGroupParams, authInfo runtime.ClientAuthInfoWriter) (*DeleteGroupNoContent, *DeleteGroupUnauthorized, *DeleteGroupNotFound, *DeleteGroupInternalServerError, error) DeleteGroupShort(params *DeleteGroupParams, authInfo runtime.ClientAuthInfoWriter) (*DeleteGroupNoContent, error) GetGroup(params *GetGroupParams, authInfo runtime.ClientAuthInfoWriter) (*GetGroupOK, *GetGroupUnauthorized, *GetGroupNotFound, *GetGroupInternalServerError, error) GetGroupShort(params *GetGroupParams, authInfo runtime.ClientAuthInfoWriter) (*GetGroupOK, error) GetGroupContent(params *GetGroupContentParams, authInfo runtime.ClientAuthInfoWriter) (*GetGroupContentOK, *GetGroupContentUnauthorized, *GetGroupContentNotFound, *GetGroupContentInternalServerError, error) GetGroupContentShort(params *GetGroupContentParams, authInfo runtime.ClientAuthInfoWriter) (*GetGroupContentOK, error) GetGroups(params *GetGroupsParams, authInfo runtime.ClientAuthInfoWriter) (*GetGroupsOK, *GetGroupsUnauthorized, *GetGroupsNotFound, *GetGroupsInternalServerError, error) GetGroupsShort(params *GetGroupsParams, authInfo runtime.ClientAuthInfoWriter) (*GetGroupsOK, error) UpdateGroup(params *UpdateGroupParams, authInfo runtime.ClientAuthInfoWriter) (*UpdateGroupOK, *UpdateGroupBadRequest, *UpdateGroupUnauthorized, *UpdateGroupNotFound, *UpdateGroupInternalServerError, error) UpdateGroupShort(params *UpdateGroupParams, authInfo runtime.ClientAuthInfoWriter) (*UpdateGroupOK, 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 public group API client.
type CreateGroupBadRequest ¶
type CreateGroupBadRequest struct {
Payload *ugcclientmodels.ResponseError
}
CreateGroupBadRequest handles this case 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() *ugcclientmodels.ResponseError
func (*CreateGroupBadRequest) ToJSONString ¶ added in v0.25.0
func (o *CreateGroupBadRequest) ToJSONString() string
type CreateGroupCreated ¶
type CreateGroupCreated struct {
Payload *ugcclientmodels.ModelsCreateGroupResponse
}
CreateGroupCreated handles this case with default header values.
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() *ugcclientmodels.ModelsCreateGroupResponse
func (*CreateGroupCreated) ToJSONString ¶ added in v0.25.0
func (o *CreateGroupCreated) ToJSONString() string
type CreateGroupInternalServerError ¶
type CreateGroupInternalServerError struct {
Payload *ugcclientmodels.ResponseError
}
CreateGroupInternalServerError handles this case with default header values.
Internal Server Error
func NewCreateGroupInternalServerError ¶
func NewCreateGroupInternalServerError() *CreateGroupInternalServerError
NewCreateGroupInternalServerError creates a CreateGroupInternalServerError with default headers values
func (*CreateGroupInternalServerError) Error ¶
func (o *CreateGroupInternalServerError) Error() string
func (*CreateGroupInternalServerError) GetPayload ¶
func (o *CreateGroupInternalServerError) GetPayload() *ugcclientmodels.ResponseError
func (*CreateGroupInternalServerError) ToJSONString ¶ added in v0.25.0
func (o *CreateGroupInternalServerError) ToJSONString() string
type CreateGroupParams ¶
type CreateGroupParams struct { /*RetryPolicy*/ RetryPolicy *utils.Retry /*Body*/ Body *ugcclientmodels.ModelsCreateGroupRequest /*Namespace namespace of the game */ Namespace string /*UserID user ID */ UserID string AuthInfoWriter runtime.ClientAuthInfoWriter 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 values initialized.
func NewCreateGroupParamsWithContext ¶
func NewCreateGroupParamsWithContext(ctx context.Context) *CreateGroupParams
NewCreateGroupParamsWithContext creates a new CreateGroupParams object with the default values initialized, and 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 default values initialized, and 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 default values initialized, and the ability to set a timeout on a request
func (*CreateGroupParams) SetAuthInfoWriter ¶ added in v0.17.0
func (o *CreateGroupParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
SetAuthInfoWriter adds the authInfoWriter to the create group params
func (*CreateGroupParams) SetBody ¶
func (o *CreateGroupParams) SetBody(body *ugcclientmodels.ModelsCreateGroupRequest)
SetBody adds the body to the create group params
func (*CreateGroupParams) SetContext ¶
func (o *CreateGroupParams) SetContext(ctx context.Context)
SetContext adds the context 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) SetHTTPClientTransport ¶ added in v0.19.0
func (o *CreateGroupParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
SetHTTPClient adds the HTTPClient Transport to the create group params
func (*CreateGroupParams) SetNamespace ¶
func (o *CreateGroupParams) SetNamespace(namespace string)
SetNamespace adds the namespace 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) SetUserID ¶
func (o *CreateGroupParams) SetUserID(userID string)
SetUserID adds the userId to the create group params
func (*CreateGroupParams) WithBody ¶
func (o *CreateGroupParams) WithBody(body *ugcclientmodels.ModelsCreateGroupRequest) *CreateGroupParams
WithBody adds the body 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) WithHTTPClient ¶
func (o *CreateGroupParams) WithHTTPClient(client *http.Client) *CreateGroupParams
WithHTTPClient adds the HTTPClient to the create group params
func (*CreateGroupParams) WithNamespace ¶
func (o *CreateGroupParams) WithNamespace(namespace string) *CreateGroupParams
WithNamespace adds the namespace 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) WithUserID ¶
func (o *CreateGroupParams) WithUserID(userID string) *CreateGroupParams
WithUserID adds the userID 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 CreateGroupUnauthorized ¶
type CreateGroupUnauthorized struct {
}CreateGroupUnauthorized handles this case with default header values.
Unauthorized
func NewCreateGroupUnauthorized ¶
func NewCreateGroupUnauthorized() *CreateGroupUnauthorized
NewCreateGroupUnauthorized creates a CreateGroupUnauthorized with default headers values
func (*CreateGroupUnauthorized) Error ¶
func (o *CreateGroupUnauthorized) Error() string
func (*CreateGroupUnauthorized) GetPayload ¶
func (o *CreateGroupUnauthorized) GetPayload() *ugcclientmodels.ResponseError
func (*CreateGroupUnauthorized) ToJSONString ¶ added in v0.25.0
func (o *CreateGroupUnauthorized) ToJSONString() string
type DeleteGroupInternalServerError ¶
type DeleteGroupInternalServerError struct {
Payload *ugcclientmodels.ResponseError
}
DeleteGroupInternalServerError handles this case with default header values.
Internal Server Error
func NewDeleteGroupInternalServerError ¶
func NewDeleteGroupInternalServerError() *DeleteGroupInternalServerError
NewDeleteGroupInternalServerError creates a DeleteGroupInternalServerError with default headers values
func (*DeleteGroupInternalServerError) Error ¶
func (o *DeleteGroupInternalServerError) Error() string
func (*DeleteGroupInternalServerError) GetPayload ¶
func (o *DeleteGroupInternalServerError) GetPayload() *ugcclientmodels.ResponseError
func (*DeleteGroupInternalServerError) ToJSONString ¶ added in v0.25.0
func (o *DeleteGroupInternalServerError) ToJSONString() string
type DeleteGroupNoContent ¶
type DeleteGroupNoContent struct { }
DeleteGroupNoContent handles this case with default header values.
No Content
func NewDeleteGroupNoContent ¶
func NewDeleteGroupNoContent() *DeleteGroupNoContent
NewDeleteGroupNoContent creates a DeleteGroupNoContent with default headers values
func (*DeleteGroupNoContent) Error ¶
func (o *DeleteGroupNoContent) Error() string
type DeleteGroupNotFound ¶
type DeleteGroupNotFound struct {
Payload *ugcclientmodels.ResponseError
}
DeleteGroupNotFound handles this case with default header values.
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() *ugcclientmodels.ResponseError
func (*DeleteGroupNotFound) ToJSONString ¶ added in v0.25.0
func (o *DeleteGroupNotFound) ToJSONString() string
type DeleteGroupParams ¶
type DeleteGroupParams struct { /*RetryPolicy*/ RetryPolicy *utils.Retry /*GroupID group ID */ GroupID string /*Namespace namespace of the game */ Namespace string /*UserID user ID */ UserID string AuthInfoWriter runtime.ClientAuthInfoWriter 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 values initialized.
func NewDeleteGroupParamsWithContext ¶
func NewDeleteGroupParamsWithContext(ctx context.Context) *DeleteGroupParams
NewDeleteGroupParamsWithContext creates a new DeleteGroupParams object with the default values initialized, and 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 default values initialized, and 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 default values initialized, and the ability to set a timeout on a request
func (*DeleteGroupParams) SetAuthInfoWriter ¶ added in v0.17.0
func (o *DeleteGroupParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
SetAuthInfoWriter adds the authInfoWriter to the delete group params
func (*DeleteGroupParams) SetContext ¶
func (o *DeleteGroupParams) SetContext(ctx context.Context)
SetContext adds the context to the delete group params
func (*DeleteGroupParams) SetGroupID ¶
func (o *DeleteGroupParams) SetGroupID(groupID string)
SetGroupID adds the groupId 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) SetHTTPClientTransport ¶ added in v0.19.0
func (o *DeleteGroupParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
SetHTTPClient adds the HTTPClient Transport to the delete group params
func (*DeleteGroupParams) SetNamespace ¶
func (o *DeleteGroupParams) SetNamespace(namespace string)
SetNamespace adds the namespace 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) SetUserID ¶
func (o *DeleteGroupParams) SetUserID(userID string)
SetUserID adds the userId 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) WithGroupID ¶
func (o *DeleteGroupParams) WithGroupID(groupID string) *DeleteGroupParams
WithGroupID adds the groupID 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) WithNamespace ¶
func (o *DeleteGroupParams) WithNamespace(namespace string) *DeleteGroupParams
WithNamespace adds the namespace 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) WithUserID ¶
func (o *DeleteGroupParams) WithUserID(userID string) *DeleteGroupParams
WithUserID adds the userID 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 DeleteGroupUnauthorized ¶
type DeleteGroupUnauthorized struct {
}DeleteGroupUnauthorized handles this case with default header values.
Unauthorized
func NewDeleteGroupUnauthorized ¶
func NewDeleteGroupUnauthorized() *DeleteGroupUnauthorized
NewDeleteGroupUnauthorized creates a DeleteGroupUnauthorized with default headers values
func (*DeleteGroupUnauthorized) Error ¶
func (o *DeleteGroupUnauthorized) Error() string
func (*DeleteGroupUnauthorized) GetPayload ¶
func (o *DeleteGroupUnauthorized) GetPayload() *ugcclientmodels.ResponseError
func (*DeleteGroupUnauthorized) ToJSONString ¶ added in v0.25.0
func (o *DeleteGroupUnauthorized) ToJSONString() string
type GetGroupContentInternalServerError ¶
type GetGroupContentInternalServerError struct {
Payload *ugcclientmodels.ResponseError
}
GetGroupContentInternalServerError handles this case with default header values.
Internal Server Error
func NewGetGroupContentInternalServerError ¶
func NewGetGroupContentInternalServerError() *GetGroupContentInternalServerError
NewGetGroupContentInternalServerError creates a GetGroupContentInternalServerError with default headers values
func (*GetGroupContentInternalServerError) Error ¶
func (o *GetGroupContentInternalServerError) Error() string
func (*GetGroupContentInternalServerError) GetPayload ¶
func (o *GetGroupContentInternalServerError) GetPayload() *ugcclientmodels.ResponseError
func (*GetGroupContentInternalServerError) ToJSONString ¶ added in v0.25.0
func (o *GetGroupContentInternalServerError) ToJSONString() string
type GetGroupContentNotFound ¶
type GetGroupContentNotFound struct {
Payload *ugcclientmodels.ResponseError
}
GetGroupContentNotFound handles this case with default header values.
Not Found
func NewGetGroupContentNotFound ¶
func NewGetGroupContentNotFound() *GetGroupContentNotFound
NewGetGroupContentNotFound creates a GetGroupContentNotFound with default headers values
func (*GetGroupContentNotFound) Error ¶
func (o *GetGroupContentNotFound) Error() string
func (*GetGroupContentNotFound) GetPayload ¶
func (o *GetGroupContentNotFound) GetPayload() *ugcclientmodels.ResponseError
func (*GetGroupContentNotFound) ToJSONString ¶ added in v0.25.0
func (o *GetGroupContentNotFound) ToJSONString() string
type GetGroupContentOK ¶
type GetGroupContentOK struct {
Payload *ugcclientmodels.ModelsPaginatedContentDownloadResponse
}
GetGroupContentOK handles this case with default header values.
OK
func NewGetGroupContentOK ¶
func NewGetGroupContentOK() *GetGroupContentOK
NewGetGroupContentOK creates a GetGroupContentOK with default headers values
func (*GetGroupContentOK) Error ¶
func (o *GetGroupContentOK) Error() string
func (*GetGroupContentOK) GetPayload ¶
func (o *GetGroupContentOK) GetPayload() *ugcclientmodels.ModelsPaginatedContentDownloadResponse
func (*GetGroupContentOK) ToJSONString ¶ added in v0.25.0
func (o *GetGroupContentOK) ToJSONString() string
type GetGroupContentParams ¶
type GetGroupContentParams struct { /*RetryPolicy*/ RetryPolicy *utils.Retry /*GroupID group ID */ GroupID string /*Limit number of content per page */ Limit *int64 /*Namespace namespace of the game */ Namespace string /*Offset the offset number to retrieve */ Offset *int64 /*UserID user ID */ UserID string AuthInfoWriter runtime.ClientAuthInfoWriter Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetGroupContentParams contains all the parameters to send to the API endpoint for the get group content operation typically these are written to a http.Request
func NewGetGroupContentParams ¶
func NewGetGroupContentParams() *GetGroupContentParams
NewGetGroupContentParams creates a new GetGroupContentParams object with the default values initialized.
func NewGetGroupContentParamsWithContext ¶
func NewGetGroupContentParamsWithContext(ctx context.Context) *GetGroupContentParams
NewGetGroupContentParamsWithContext creates a new GetGroupContentParams object with the default values initialized, and the ability to set a context for a request
func NewGetGroupContentParamsWithHTTPClient ¶
func NewGetGroupContentParamsWithHTTPClient(client *http.Client) *GetGroupContentParams
NewGetGroupContentParamsWithHTTPClient creates a new GetGroupContentParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewGetGroupContentParamsWithTimeout ¶
func NewGetGroupContentParamsWithTimeout(timeout time.Duration) *GetGroupContentParams
NewGetGroupContentParamsWithTimeout creates a new GetGroupContentParams object with the default values initialized, and the ability to set a timeout on a request
func (*GetGroupContentParams) SetAuthInfoWriter ¶ added in v0.17.0
func (o *GetGroupContentParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
SetAuthInfoWriter adds the authInfoWriter to the get group content params
func (*GetGroupContentParams) SetContext ¶
func (o *GetGroupContentParams) SetContext(ctx context.Context)
SetContext adds the context to the get group content params
func (*GetGroupContentParams) SetGroupID ¶
func (o *GetGroupContentParams) SetGroupID(groupID string)
SetGroupID adds the groupId to the get group content params
func (*GetGroupContentParams) SetHTTPClient ¶
func (o *GetGroupContentParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get group content params
func (*GetGroupContentParams) SetHTTPClientTransport ¶ added in v0.19.0
func (o *GetGroupContentParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
SetHTTPClient adds the HTTPClient Transport to the get group content params
func (*GetGroupContentParams) SetLimit ¶
func (o *GetGroupContentParams) SetLimit(limit *int64)
SetLimit adds the limit to the get group content params
func (*GetGroupContentParams) SetNamespace ¶
func (o *GetGroupContentParams) SetNamespace(namespace string)
SetNamespace adds the namespace to the get group content params
func (*GetGroupContentParams) SetOffset ¶
func (o *GetGroupContentParams) SetOffset(offset *int64)
SetOffset adds the offset to the get group content params
func (*GetGroupContentParams) SetTimeout ¶
func (o *GetGroupContentParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get group content params
func (*GetGroupContentParams) SetUserID ¶
func (o *GetGroupContentParams) SetUserID(userID string)
SetUserID adds the userId to the get group content params
func (*GetGroupContentParams) WithContext ¶
func (o *GetGroupContentParams) WithContext(ctx context.Context) *GetGroupContentParams
WithContext adds the context to the get group content params
func (*GetGroupContentParams) WithGroupID ¶
func (o *GetGroupContentParams) WithGroupID(groupID string) *GetGroupContentParams
WithGroupID adds the groupID to the get group content params
func (*GetGroupContentParams) WithHTTPClient ¶
func (o *GetGroupContentParams) WithHTTPClient(client *http.Client) *GetGroupContentParams
WithHTTPClient adds the HTTPClient to the get group content params
func (*GetGroupContentParams) WithLimit ¶
func (o *GetGroupContentParams) WithLimit(limit *int64) *GetGroupContentParams
WithLimit adds the limit to the get group content params
func (*GetGroupContentParams) WithNamespace ¶
func (o *GetGroupContentParams) WithNamespace(namespace string) *GetGroupContentParams
WithNamespace adds the namespace to the get group content params
func (*GetGroupContentParams) WithOffset ¶
func (o *GetGroupContentParams) WithOffset(offset *int64) *GetGroupContentParams
WithOffset adds the offset to the get group content params
func (*GetGroupContentParams) WithTimeout ¶
func (o *GetGroupContentParams) WithTimeout(timeout time.Duration) *GetGroupContentParams
WithTimeout adds the timeout to the get group content params
func (*GetGroupContentParams) WithUserID ¶
func (o *GetGroupContentParams) WithUserID(userID string) *GetGroupContentParams
WithUserID adds the userID to the get group content params
func (*GetGroupContentParams) WriteToRequest ¶
func (o *GetGroupContentParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetGroupContentReader ¶
type GetGroupContentReader struct {
// contains filtered or unexported fields
}
GetGroupContentReader is a Reader for the GetGroupContent structure.
func (*GetGroupContentReader) ReadResponse ¶
func (o *GetGroupContentReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetGroupContentUnauthorized ¶
type GetGroupContentUnauthorized struct {
}GetGroupContentUnauthorized handles this case with default header values.
Unauthorized
func NewGetGroupContentUnauthorized ¶
func NewGetGroupContentUnauthorized() *GetGroupContentUnauthorized
NewGetGroupContentUnauthorized creates a GetGroupContentUnauthorized with default headers values
func (*GetGroupContentUnauthorized) Error ¶
func (o *GetGroupContentUnauthorized) Error() string
func (*GetGroupContentUnauthorized) GetPayload ¶
func (o *GetGroupContentUnauthorized) GetPayload() *ugcclientmodels.ResponseError
func (*GetGroupContentUnauthorized) ToJSONString ¶ added in v0.25.0
func (o *GetGroupContentUnauthorized) ToJSONString() string
type GetGroupInternalServerError ¶
type GetGroupInternalServerError struct {
Payload *ugcclientmodels.ResponseError
}
GetGroupInternalServerError handles this case with default header values.
Internal Server Error
func NewGetGroupInternalServerError ¶
func NewGetGroupInternalServerError() *GetGroupInternalServerError
NewGetGroupInternalServerError creates a GetGroupInternalServerError with default headers values
func (*GetGroupInternalServerError) Error ¶
func (o *GetGroupInternalServerError) Error() string
func (*GetGroupInternalServerError) GetPayload ¶
func (o *GetGroupInternalServerError) GetPayload() *ugcclientmodels.ResponseError
func (*GetGroupInternalServerError) ToJSONString ¶ added in v0.25.0
func (o *GetGroupInternalServerError) ToJSONString() string
type GetGroupNotFound ¶
type GetGroupNotFound struct {
Payload *ugcclientmodels.ResponseError
}
GetGroupNotFound handles this case with default header values.
Not Found
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() *ugcclientmodels.ResponseError
func (*GetGroupNotFound) ToJSONString ¶ added in v0.25.0
func (o *GetGroupNotFound) ToJSONString() string
type GetGroupOK ¶
type GetGroupOK struct {
Payload *ugcclientmodels.ModelsCreateGroupResponse
}
GetGroupOK handles this case with default header values.
OK
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() *ugcclientmodels.ModelsCreateGroupResponse
func (*GetGroupOK) ToJSONString ¶ added in v0.25.0
func (o *GetGroupOK) ToJSONString() string
type GetGroupParams ¶
type GetGroupParams struct { /*RetryPolicy*/ RetryPolicy *utils.Retry /*GroupID group ID */ GroupID string /*Namespace namespace of the game */ Namespace string /*UserID user ID */ UserID string AuthInfoWriter runtime.ClientAuthInfoWriter 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 values initialized.
func NewGetGroupParamsWithContext ¶
func NewGetGroupParamsWithContext(ctx context.Context) *GetGroupParams
NewGetGroupParamsWithContext creates a new GetGroupParams object with the default values initialized, and 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 default values initialized, and 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 default values initialized, and the ability to set a timeout on a request
func (*GetGroupParams) SetAuthInfoWriter ¶ added in v0.17.0
func (o *GetGroupParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
SetAuthInfoWriter adds the authInfoWriter to the get group params
func (*GetGroupParams) SetContext ¶
func (o *GetGroupParams) SetContext(ctx context.Context)
SetContext adds the context to the get group params
func (*GetGroupParams) SetGroupID ¶
func (o *GetGroupParams) SetGroupID(groupID string)
SetGroupID adds the groupId to the get group params
func (*GetGroupParams) SetHTTPClient ¶
func (o *GetGroupParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get group params
func (*GetGroupParams) SetHTTPClientTransport ¶ added in v0.19.0
func (o *GetGroupParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
SetHTTPClient adds the HTTPClient Transport to the get group params
func (*GetGroupParams) SetNamespace ¶
func (o *GetGroupParams) SetNamespace(namespace string)
SetNamespace adds the namespace 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) SetUserID ¶
func (o *GetGroupParams) SetUserID(userID string)
SetUserID adds the userId 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) WithGroupID ¶
func (o *GetGroupParams) WithGroupID(groupID string) *GetGroupParams
WithGroupID adds the groupID to the get group params
func (*GetGroupParams) WithHTTPClient ¶
func (o *GetGroupParams) WithHTTPClient(client *http.Client) *GetGroupParams
WithHTTPClient adds the HTTPClient to the get group params
func (*GetGroupParams) WithNamespace ¶
func (o *GetGroupParams) WithNamespace(namespace string) *GetGroupParams
WithNamespace adds the namespace 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) WithUserID ¶
func (o *GetGroupParams) WithUserID(userID string) *GetGroupParams
WithUserID adds the userID 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 GetGroupUnauthorized ¶
type GetGroupUnauthorized struct {
}GetGroupUnauthorized handles this case with default header values.
Unauthorized
func NewGetGroupUnauthorized ¶
func NewGetGroupUnauthorized() *GetGroupUnauthorized
NewGetGroupUnauthorized creates a GetGroupUnauthorized with default headers values
func (*GetGroupUnauthorized) Error ¶
func (o *GetGroupUnauthorized) Error() string
func (*GetGroupUnauthorized) GetPayload ¶
func (o *GetGroupUnauthorized) GetPayload() *ugcclientmodels.ResponseError
func (*GetGroupUnauthorized) ToJSONString ¶ added in v0.25.0
func (o *GetGroupUnauthorized) ToJSONString() string
type GetGroupsInternalServerError ¶
type GetGroupsInternalServerError struct {
Payload *ugcclientmodels.ResponseError
}
GetGroupsInternalServerError handles this case with default header values.
Internal Server Error
func NewGetGroupsInternalServerError ¶
func NewGetGroupsInternalServerError() *GetGroupsInternalServerError
NewGetGroupsInternalServerError creates a GetGroupsInternalServerError with default headers values
func (*GetGroupsInternalServerError) Error ¶
func (o *GetGroupsInternalServerError) Error() string
func (*GetGroupsInternalServerError) GetPayload ¶
func (o *GetGroupsInternalServerError) GetPayload() *ugcclientmodels.ResponseError
func (*GetGroupsInternalServerError) ToJSONString ¶ added in v0.25.0
func (o *GetGroupsInternalServerError) ToJSONString() string
type GetGroupsNotFound ¶
type GetGroupsNotFound struct {
Payload *ugcclientmodels.ResponseError
}
GetGroupsNotFound handles this case with default header values.
Not Found
func NewGetGroupsNotFound ¶
func NewGetGroupsNotFound() *GetGroupsNotFound
NewGetGroupsNotFound creates a GetGroupsNotFound with default headers values
func (*GetGroupsNotFound) Error ¶
func (o *GetGroupsNotFound) Error() string
func (*GetGroupsNotFound) GetPayload ¶
func (o *GetGroupsNotFound) GetPayload() *ugcclientmodels.ResponseError
func (*GetGroupsNotFound) ToJSONString ¶ added in v0.25.0
func (o *GetGroupsNotFound) ToJSONString() string
type GetGroupsOK ¶
type GetGroupsOK struct {
Payload *ugcclientmodels.ModelsPaginatedGroupResponse
}
GetGroupsOK handles this case with default header values.
OK
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() *ugcclientmodels.ModelsPaginatedGroupResponse
func (*GetGroupsOK) ToJSONString ¶ added in v0.25.0
func (o *GetGroupsOK) ToJSONString() string
type GetGroupsParams ¶
type GetGroupsParams struct { /*RetryPolicy*/ RetryPolicy *utils.Retry /*Limit number of content per page */ Limit *int64 /*Namespace namespace of the game */ Namespace string /*Offset the offset number to retrieve */ Offset *int64 /*UserID user ID */ UserID string AuthInfoWriter runtime.ClientAuthInfoWriter 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 values initialized.
func NewGetGroupsParamsWithContext ¶
func NewGetGroupsParamsWithContext(ctx context.Context) *GetGroupsParams
NewGetGroupsParamsWithContext creates a new GetGroupsParams object with the default values initialized, and 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 default values initialized, and 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 default values initialized, and the ability to set a timeout on a request
func (*GetGroupsParams) SetAuthInfoWriter ¶ added in v0.17.0
func (o *GetGroupsParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
SetAuthInfoWriter adds the authInfoWriter to the get groups params
func (*GetGroupsParams) SetContext ¶
func (o *GetGroupsParams) SetContext(ctx context.Context)
SetContext adds the context to the get groups params
func (*GetGroupsParams) SetHTTPClient ¶
func (o *GetGroupsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get groups params
func (*GetGroupsParams) SetHTTPClientTransport ¶ added in v0.19.0
func (o *GetGroupsParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
SetHTTPClient adds the HTTPClient Transport to the get groups params
func (*GetGroupsParams) SetLimit ¶
func (o *GetGroupsParams) SetLimit(limit *int64)
SetLimit adds the limit to the get groups params
func (*GetGroupsParams) SetNamespace ¶
func (o *GetGroupsParams) SetNamespace(namespace string)
SetNamespace adds the namespace to the get groups params
func (*GetGroupsParams) SetOffset ¶
func (o *GetGroupsParams) SetOffset(offset *int64)
SetOffset adds the offset 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) SetUserID ¶
func (o *GetGroupsParams) SetUserID(userID string)
SetUserID adds the userId 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) WithHTTPClient ¶
func (o *GetGroupsParams) WithHTTPClient(client *http.Client) *GetGroupsParams
WithHTTPClient adds the HTTPClient to the get groups params
func (*GetGroupsParams) WithLimit ¶
func (o *GetGroupsParams) WithLimit(limit *int64) *GetGroupsParams
WithLimit adds the limit to the get groups params
func (*GetGroupsParams) WithNamespace ¶
func (o *GetGroupsParams) WithNamespace(namespace string) *GetGroupsParams
WithNamespace adds the namespace to the get groups params
func (*GetGroupsParams) WithOffset ¶
func (o *GetGroupsParams) WithOffset(offset *int64) *GetGroupsParams
WithOffset adds the offset 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) WithUserID ¶
func (o *GetGroupsParams) WithUserID(userID string) *GetGroupsParams
WithUserID adds the userID 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 GetGroupsUnauthorized ¶
type GetGroupsUnauthorized struct {
}GetGroupsUnauthorized handles this case with default header values.
Unauthorized
func NewGetGroupsUnauthorized ¶
func NewGetGroupsUnauthorized() *GetGroupsUnauthorized
NewGetGroupsUnauthorized creates a GetGroupsUnauthorized with default headers values
func (*GetGroupsUnauthorized) Error ¶
func (o *GetGroupsUnauthorized) Error() string
func (*GetGroupsUnauthorized) GetPayload ¶
func (o *GetGroupsUnauthorized) GetPayload() *ugcclientmodels.ResponseError
func (*GetGroupsUnauthorized) ToJSONString ¶ added in v0.25.0
func (o *GetGroupsUnauthorized) ToJSONString() string
type UpdateGroupBadRequest ¶
type UpdateGroupBadRequest struct {
Payload *ugcclientmodels.ResponseError
}
UpdateGroupBadRequest handles this case with default header values.
Bad Request
func NewUpdateGroupBadRequest ¶
func NewUpdateGroupBadRequest() *UpdateGroupBadRequest
NewUpdateGroupBadRequest creates a UpdateGroupBadRequest with default headers values
func (*UpdateGroupBadRequest) Error ¶
func (o *UpdateGroupBadRequest) Error() string
func (*UpdateGroupBadRequest) GetPayload ¶
func (o *UpdateGroupBadRequest) GetPayload() *ugcclientmodels.ResponseError
func (*UpdateGroupBadRequest) ToJSONString ¶ added in v0.25.0
func (o *UpdateGroupBadRequest) ToJSONString() string
type UpdateGroupInternalServerError ¶
type UpdateGroupInternalServerError struct {
Payload *ugcclientmodels.ResponseError
}
UpdateGroupInternalServerError handles this case with default header values.
Internal Server Error
func NewUpdateGroupInternalServerError ¶
func NewUpdateGroupInternalServerError() *UpdateGroupInternalServerError
NewUpdateGroupInternalServerError creates a UpdateGroupInternalServerError with default headers values
func (*UpdateGroupInternalServerError) Error ¶
func (o *UpdateGroupInternalServerError) Error() string
func (*UpdateGroupInternalServerError) GetPayload ¶
func (o *UpdateGroupInternalServerError) GetPayload() *ugcclientmodels.ResponseError
func (*UpdateGroupInternalServerError) ToJSONString ¶ added in v0.25.0
func (o *UpdateGroupInternalServerError) ToJSONString() string
type UpdateGroupNotFound ¶
type UpdateGroupNotFound struct {
Payload *ugcclientmodels.ResponseError
}
UpdateGroupNotFound handles this case with default header values.
Not Found
func NewUpdateGroupNotFound ¶
func NewUpdateGroupNotFound() *UpdateGroupNotFound
NewUpdateGroupNotFound creates a UpdateGroupNotFound with default headers values
func (*UpdateGroupNotFound) Error ¶
func (o *UpdateGroupNotFound) Error() string
func (*UpdateGroupNotFound) GetPayload ¶
func (o *UpdateGroupNotFound) GetPayload() *ugcclientmodels.ResponseError
func (*UpdateGroupNotFound) ToJSONString ¶ added in v0.25.0
func (o *UpdateGroupNotFound) ToJSONString() string
type UpdateGroupOK ¶
type UpdateGroupOK struct {
Payload *ugcclientmodels.ModelsCreateGroupResponse
}
UpdateGroupOK handles this case with default header values.
OK
func NewUpdateGroupOK ¶
func NewUpdateGroupOK() *UpdateGroupOK
NewUpdateGroupOK creates a UpdateGroupOK with default headers values
func (*UpdateGroupOK) Error ¶
func (o *UpdateGroupOK) Error() string
func (*UpdateGroupOK) GetPayload ¶
func (o *UpdateGroupOK) GetPayload() *ugcclientmodels.ModelsCreateGroupResponse
func (*UpdateGroupOK) ToJSONString ¶ added in v0.25.0
func (o *UpdateGroupOK) ToJSONString() string
type UpdateGroupParams ¶
type UpdateGroupParams struct { /*RetryPolicy*/ RetryPolicy *utils.Retry /*Body*/ Body *ugcclientmodels.ModelsCreateGroupRequest /*GroupID group ID */ GroupID string /*Namespace namespace of the game */ Namespace string /*UserID user ID */ UserID string AuthInfoWriter runtime.ClientAuthInfoWriter Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
UpdateGroupParams contains all the parameters to send to the API endpoint for the update group operation typically these are written to a http.Request
func NewUpdateGroupParams ¶
func NewUpdateGroupParams() *UpdateGroupParams
NewUpdateGroupParams creates a new UpdateGroupParams object with the default values initialized.
func NewUpdateGroupParamsWithContext ¶
func NewUpdateGroupParamsWithContext(ctx context.Context) *UpdateGroupParams
NewUpdateGroupParamsWithContext creates a new UpdateGroupParams object with the default values initialized, and the ability to set a context for a request
func NewUpdateGroupParamsWithHTTPClient ¶
func NewUpdateGroupParamsWithHTTPClient(client *http.Client) *UpdateGroupParams
NewUpdateGroupParamsWithHTTPClient creates a new UpdateGroupParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewUpdateGroupParamsWithTimeout ¶
func NewUpdateGroupParamsWithTimeout(timeout time.Duration) *UpdateGroupParams
NewUpdateGroupParamsWithTimeout creates a new UpdateGroupParams object with the default values initialized, and the ability to set a timeout on a request
func (*UpdateGroupParams) SetAuthInfoWriter ¶ added in v0.17.0
func (o *UpdateGroupParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
SetAuthInfoWriter adds the authInfoWriter to the update group params
func (*UpdateGroupParams) SetBody ¶
func (o *UpdateGroupParams) SetBody(body *ugcclientmodels.ModelsCreateGroupRequest)
SetBody adds the body to the update group params
func (*UpdateGroupParams) SetContext ¶
func (o *UpdateGroupParams) SetContext(ctx context.Context)
SetContext adds the context to the update group params
func (*UpdateGroupParams) SetGroupID ¶
func (o *UpdateGroupParams) SetGroupID(groupID string)
SetGroupID adds the groupId to the update group params
func (*UpdateGroupParams) SetHTTPClient ¶
func (o *UpdateGroupParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the update group params
func (*UpdateGroupParams) SetHTTPClientTransport ¶ added in v0.19.0
func (o *UpdateGroupParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
SetHTTPClient adds the HTTPClient Transport to the update group params
func (*UpdateGroupParams) SetNamespace ¶
func (o *UpdateGroupParams) SetNamespace(namespace string)
SetNamespace adds the namespace to the update group params
func (*UpdateGroupParams) SetTimeout ¶
func (o *UpdateGroupParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the update group params
func (*UpdateGroupParams) SetUserID ¶
func (o *UpdateGroupParams) SetUserID(userID string)
SetUserID adds the userId to the update group params
func (*UpdateGroupParams) WithBody ¶
func (o *UpdateGroupParams) WithBody(body *ugcclientmodels.ModelsCreateGroupRequest) *UpdateGroupParams
WithBody adds the body to the update group params
func (*UpdateGroupParams) WithContext ¶
func (o *UpdateGroupParams) WithContext(ctx context.Context) *UpdateGroupParams
WithContext adds the context to the update group params
func (*UpdateGroupParams) WithGroupID ¶
func (o *UpdateGroupParams) WithGroupID(groupID string) *UpdateGroupParams
WithGroupID adds the groupID to the update group params
func (*UpdateGroupParams) WithHTTPClient ¶
func (o *UpdateGroupParams) WithHTTPClient(client *http.Client) *UpdateGroupParams
WithHTTPClient adds the HTTPClient to the update group params
func (*UpdateGroupParams) WithNamespace ¶
func (o *UpdateGroupParams) WithNamespace(namespace string) *UpdateGroupParams
WithNamespace adds the namespace to the update group params
func (*UpdateGroupParams) WithTimeout ¶
func (o *UpdateGroupParams) WithTimeout(timeout time.Duration) *UpdateGroupParams
WithTimeout adds the timeout to the update group params
func (*UpdateGroupParams) WithUserID ¶
func (o *UpdateGroupParams) WithUserID(userID string) *UpdateGroupParams
WithUserID adds the userID to the update group params
func (*UpdateGroupParams) WriteToRequest ¶
func (o *UpdateGroupParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type UpdateGroupReader ¶
type UpdateGroupReader struct {
// contains filtered or unexported fields
}
UpdateGroupReader is a Reader for the UpdateGroup structure.
func (*UpdateGroupReader) ReadResponse ¶
func (o *UpdateGroupReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type UpdateGroupUnauthorized ¶
type UpdateGroupUnauthorized struct {
}UpdateGroupUnauthorized handles this case with default header values.
Unauthorized
func NewUpdateGroupUnauthorized ¶
func NewUpdateGroupUnauthorized() *UpdateGroupUnauthorized
NewUpdateGroupUnauthorized creates a UpdateGroupUnauthorized with default headers values
func (*UpdateGroupUnauthorized) Error ¶
func (o *UpdateGroupUnauthorized) Error() string
func (*UpdateGroupUnauthorized) GetPayload ¶
func (o *UpdateGroupUnauthorized) GetPayload() *ugcclientmodels.ResponseError
func (*UpdateGroupUnauthorized) ToJSONString ¶ added in v0.25.0
func (o *UpdateGroupUnauthorized) ToJSONString() string
Source Files ¶
- create_group_parameters.go
- create_group_responses.go
- delete_group_parameters.go
- delete_group_responses.go
- get_group_content_parameters.go
- get_group_content_responses.go
- get_group_parameters.go
- get_group_responses.go
- get_groups_parameters.go
- get_groups_responses.go
- public_group_client.go
- update_group_parameters.go
- update_group_responses.go