public_group

package
v0.29.0 Latest Latest
Warning

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

Go to latest
Published: Oct 10, 2022 License: MIT Imports: 15 Imported by: 0

Documentation

Index

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

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

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

Deprecated: Use GetGroupShort instead.

GetGroup gets user s groups

Required permission <b>NAMESPACE:{namespace}:USER:{userId}:CONTENTGROUP [READ]</b>.

func (*Client) GetGroupContent deprecated

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

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

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 (*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 (*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 (*CreateGroupInternalServerError) GetPayload

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

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

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 {
	Payload *ugcclientmodels.ResponseError
}

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 (*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 (*DeleteGroupInternalServerError) GetPayload

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 (*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 {
	Payload *ugcclientmodels.ResponseError
}

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 (*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 (*GetGroupContentInternalServerError) GetPayload

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 (*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 (*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

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 {
	Payload *ugcclientmodels.ResponseError
}

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 (*GetGroupContentUnauthorized) GetPayload

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 (*GetGroupInternalServerError) GetPayload

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 (*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 (*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 {
	Payload *ugcclientmodels.ResponseError
}

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 (*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 (*GetGroupsInternalServerError) GetPayload

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 (*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 (*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 {
	Payload *ugcclientmodels.ResponseError
}

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 (*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 (*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 (*UpdateGroupInternalServerError) GetPayload

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 (*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 (*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

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

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 {
	Payload *ugcclientmodels.ResponseError
}

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 (*UpdateGroupUnauthorized) ToJSONString added in v0.25.0

func (o *UpdateGroupUnauthorized) ToJSONString() string

Jump to

Keyboard shortcuts

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