admin_group

package
v0.62.0 Latest Latest
Warning

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

Go to latest
Published: Jan 16, 2024 License: MIT Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AdminCreateGroupBadRequest

type AdminCreateGroupBadRequest struct {
	Payload *ugcclientmodels.ResponseError
}

AdminCreateGroupBadRequest handles this case with default header values.

<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>772101</td><td>Malformed request/Invalid request body</td></tr></table>

func NewAdminCreateGroupBadRequest

func NewAdminCreateGroupBadRequest() *AdminCreateGroupBadRequest

NewAdminCreateGroupBadRequest creates a AdminCreateGroupBadRequest with default headers values

func (*AdminCreateGroupBadRequest) Error

func (*AdminCreateGroupBadRequest) GetPayload

func (*AdminCreateGroupBadRequest) ToJSONString added in v0.25.0

func (o *AdminCreateGroupBadRequest) ToJSONString() string

type AdminCreateGroupCreated

type AdminCreateGroupCreated struct {
	Payload *ugcclientmodels.ModelsCreateGroupResponse
}

AdminCreateGroupCreated handles this case with default header values.

groups created

func NewAdminCreateGroupCreated

func NewAdminCreateGroupCreated() *AdminCreateGroupCreated

NewAdminCreateGroupCreated creates a AdminCreateGroupCreated with default headers values

func (*AdminCreateGroupCreated) Error

func (o *AdminCreateGroupCreated) Error() string

func (*AdminCreateGroupCreated) GetPayload

func (*AdminCreateGroupCreated) ToJSONString added in v0.25.0

func (o *AdminCreateGroupCreated) ToJSONString() string

type AdminCreateGroupInternalServerError

type AdminCreateGroupInternalServerError struct {
	Payload *ugcclientmodels.ResponseError
}

AdminCreateGroupInternalServerError handles this case with default header values.

<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>772102</td><td>Unable to create group</td></tr></table>

func NewAdminCreateGroupInternalServerError

func NewAdminCreateGroupInternalServerError() *AdminCreateGroupInternalServerError

NewAdminCreateGroupInternalServerError creates a AdminCreateGroupInternalServerError with default headers values

func (*AdminCreateGroupInternalServerError) Error

func (*AdminCreateGroupInternalServerError) GetPayload

func (*AdminCreateGroupInternalServerError) ToJSONString added in v0.25.0

func (o *AdminCreateGroupInternalServerError) ToJSONString() string

type AdminCreateGroupParams

type AdminCreateGroupParams struct {

	/*RetryPolicy*/
	RetryPolicy *utils.Retry
	/*Body*/
	Body *ugcclientmodels.ModelsCreateGroupRequest
	/*Namespace
	  namespace of the game

	*/
	Namespace string

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

AdminCreateGroupParams contains all the parameters to send to the API endpoint for the admin create group operation typically these are written to a http.Request

func NewAdminCreateGroupParams

func NewAdminCreateGroupParams() *AdminCreateGroupParams

NewAdminCreateGroupParams creates a new AdminCreateGroupParams object with the default values initialized.

func NewAdminCreateGroupParamsWithContext

func NewAdminCreateGroupParamsWithContext(ctx context.Context) *AdminCreateGroupParams

NewAdminCreateGroupParamsWithContext creates a new AdminCreateGroupParams object with the default values initialized, and the ability to set a context for a request

func NewAdminCreateGroupParamsWithHTTPClient

func NewAdminCreateGroupParamsWithHTTPClient(client *http.Client) *AdminCreateGroupParams

NewAdminCreateGroupParamsWithHTTPClient creates a new AdminCreateGroupParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewAdminCreateGroupParamsWithTimeout

func NewAdminCreateGroupParamsWithTimeout(timeout time.Duration) *AdminCreateGroupParams

NewAdminCreateGroupParamsWithTimeout creates a new AdminCreateGroupParams object with the default values initialized, and the ability to set a timeout on a request

func (*AdminCreateGroupParams) SetAuthInfoWriter added in v0.17.0

func (o *AdminCreateGroupParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)

SetAuthInfoWriter adds the authInfoWriter to the admin create group params

func (*AdminCreateGroupParams) SetBody

SetBody adds the body to the admin create group params

func (*AdminCreateGroupParams) SetContext

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

SetContext adds the context to the admin create group params

func (*AdminCreateGroupParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the admin create group params

func (*AdminCreateGroupParams) SetHTTPClientTransport added in v0.19.0

func (o *AdminCreateGroupParams) SetHTTPClientTransport(roundTripper http.RoundTripper)

SetHTTPClient adds the HTTPClient Transport to the admin create group params

func (*AdminCreateGroupParams) SetNamespace

func (o *AdminCreateGroupParams) SetNamespace(namespace string)

SetNamespace adds the namespace to the admin create group params

func (*AdminCreateGroupParams) SetTimeout

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

SetTimeout adds the timeout to the admin create group params

func (*AdminCreateGroupParams) WithBody

WithBody adds the body to the admin create group params

func (*AdminCreateGroupParams) WithContext

WithContext adds the context to the admin create group params

func (*AdminCreateGroupParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the admin create group params

func (*AdminCreateGroupParams) WithNamespace

func (o *AdminCreateGroupParams) WithNamespace(namespace string) *AdminCreateGroupParams

WithNamespace adds the namespace to the admin create group params

func (*AdminCreateGroupParams) WithTimeout

WithTimeout adds the timeout to the admin create group params

func (*AdminCreateGroupParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type AdminCreateGroupReader

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

AdminCreateGroupReader is a Reader for the AdminCreateGroup structure.

func (*AdminCreateGroupReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type AdminCreateGroupUnauthorized

type AdminCreateGroupUnauthorized struct {
	Payload *ugcclientmodels.ResponseError
}

AdminCreateGroupUnauthorized handles this case with default header values.

<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>20001</td><td>unauthorized access</td></tr></table>

func NewAdminCreateGroupUnauthorized

func NewAdminCreateGroupUnauthorized() *AdminCreateGroupUnauthorized

NewAdminCreateGroupUnauthorized creates a AdminCreateGroupUnauthorized with default headers values

func (*AdminCreateGroupUnauthorized) Error

func (*AdminCreateGroupUnauthorized) GetPayload

func (*AdminCreateGroupUnauthorized) ToJSONString added in v0.25.0

func (o *AdminCreateGroupUnauthorized) ToJSONString() string

type AdminDeleteGroupInternalServerError

type AdminDeleteGroupInternalServerError struct {
	Payload *ugcclientmodels.ResponseError
}

AdminDeleteGroupInternalServerError handles this case with default header values.

<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>772402</td><td>Unable delete groups</td></tr></table>

func NewAdminDeleteGroupInternalServerError

func NewAdminDeleteGroupInternalServerError() *AdminDeleteGroupInternalServerError

NewAdminDeleteGroupInternalServerError creates a AdminDeleteGroupInternalServerError with default headers values

func (*AdminDeleteGroupInternalServerError) Error

func (*AdminDeleteGroupInternalServerError) GetPayload

func (*AdminDeleteGroupInternalServerError) ToJSONString added in v0.25.0

func (o *AdminDeleteGroupInternalServerError) ToJSONString() string

type AdminDeleteGroupNoContent

type AdminDeleteGroupNoContent struct {
}

AdminDeleteGroupNoContent handles this case with default header values.

Group deleted

func NewAdminDeleteGroupNoContent

func NewAdminDeleteGroupNoContent() *AdminDeleteGroupNoContent

NewAdminDeleteGroupNoContent creates a AdminDeleteGroupNoContent with default headers values

func (*AdminDeleteGroupNoContent) Error

func (o *AdminDeleteGroupNoContent) Error() string

type AdminDeleteGroupNotFound

type AdminDeleteGroupNotFound struct {
	Payload *ugcclientmodels.ResponseError
}

AdminDeleteGroupNotFound handles this case with default header values.

<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>772403</td><td>Group not found</td></tr></table>

func NewAdminDeleteGroupNotFound

func NewAdminDeleteGroupNotFound() *AdminDeleteGroupNotFound

NewAdminDeleteGroupNotFound creates a AdminDeleteGroupNotFound with default headers values

func (*AdminDeleteGroupNotFound) Error

func (o *AdminDeleteGroupNotFound) Error() string

func (*AdminDeleteGroupNotFound) GetPayload

func (*AdminDeleteGroupNotFound) ToJSONString added in v0.25.0

func (o *AdminDeleteGroupNotFound) ToJSONString() string

type AdminDeleteGroupParams

type AdminDeleteGroupParams 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
}

AdminDeleteGroupParams contains all the parameters to send to the API endpoint for the admin delete group operation typically these are written to a http.Request

func NewAdminDeleteGroupParams

func NewAdminDeleteGroupParams() *AdminDeleteGroupParams

NewAdminDeleteGroupParams creates a new AdminDeleteGroupParams object with the default values initialized.

func NewAdminDeleteGroupParamsWithContext

func NewAdminDeleteGroupParamsWithContext(ctx context.Context) *AdminDeleteGroupParams

NewAdminDeleteGroupParamsWithContext creates a new AdminDeleteGroupParams object with the default values initialized, and the ability to set a context for a request

func NewAdminDeleteGroupParamsWithHTTPClient

func NewAdminDeleteGroupParamsWithHTTPClient(client *http.Client) *AdminDeleteGroupParams

NewAdminDeleteGroupParamsWithHTTPClient creates a new AdminDeleteGroupParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewAdminDeleteGroupParamsWithTimeout

func NewAdminDeleteGroupParamsWithTimeout(timeout time.Duration) *AdminDeleteGroupParams

NewAdminDeleteGroupParamsWithTimeout creates a new AdminDeleteGroupParams object with the default values initialized, and the ability to set a timeout on a request

func (*AdminDeleteGroupParams) SetAuthInfoWriter added in v0.17.0

func (o *AdminDeleteGroupParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)

SetAuthInfoWriter adds the authInfoWriter to the admin delete group params

func (*AdminDeleteGroupParams) SetContext

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

SetContext adds the context to the admin delete group params

func (*AdminDeleteGroupParams) SetGroupID

func (o *AdminDeleteGroupParams) SetGroupID(groupID string)

SetGroupID adds the groupId to the admin delete group params

func (*AdminDeleteGroupParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the admin delete group params

func (*AdminDeleteGroupParams) SetHTTPClientTransport added in v0.19.0

func (o *AdminDeleteGroupParams) SetHTTPClientTransport(roundTripper http.RoundTripper)

SetHTTPClient adds the HTTPClient Transport to the admin delete group params

func (*AdminDeleteGroupParams) SetNamespace

func (o *AdminDeleteGroupParams) SetNamespace(namespace string)

SetNamespace adds the namespace to the admin delete group params

func (*AdminDeleteGroupParams) SetTimeout

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

SetTimeout adds the timeout to the admin delete group params

func (*AdminDeleteGroupParams) SetUserID

func (o *AdminDeleteGroupParams) SetUserID(userID string)

SetUserID adds the userId to the admin delete group params

func (*AdminDeleteGroupParams) WithContext

WithContext adds the context to the admin delete group params

func (*AdminDeleteGroupParams) WithGroupID

func (o *AdminDeleteGroupParams) WithGroupID(groupID string) *AdminDeleteGroupParams

WithGroupID adds the groupID to the admin delete group params

func (*AdminDeleteGroupParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the admin delete group params

func (*AdminDeleteGroupParams) WithNamespace

func (o *AdminDeleteGroupParams) WithNamespace(namespace string) *AdminDeleteGroupParams

WithNamespace adds the namespace to the admin delete group params

func (*AdminDeleteGroupParams) WithTimeout

WithTimeout adds the timeout to the admin delete group params

func (*AdminDeleteGroupParams) WithUserID

func (o *AdminDeleteGroupParams) WithUserID(userID string) *AdminDeleteGroupParams

WithUserID adds the userID to the admin delete group params

func (*AdminDeleteGroupParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type AdminDeleteGroupReader

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

AdminDeleteGroupReader is a Reader for the AdminDeleteGroup structure.

func (*AdminDeleteGroupReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type AdminDeleteGroupUnauthorized

type AdminDeleteGroupUnauthorized struct {
	Payload *ugcclientmodels.ResponseError
}

AdminDeleteGroupUnauthorized handles this case with default header values.

<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>20001</td><td>unauthorized access</td></tr></table>

func NewAdminDeleteGroupUnauthorized

func NewAdminDeleteGroupUnauthorized() *AdminDeleteGroupUnauthorized

NewAdminDeleteGroupUnauthorized creates a AdminDeleteGroupUnauthorized with default headers values

func (*AdminDeleteGroupUnauthorized) Error

func (*AdminDeleteGroupUnauthorized) GetPayload

func (*AdminDeleteGroupUnauthorized) ToJSONString added in v0.25.0

func (o *AdminDeleteGroupUnauthorized) ToJSONString() string

type AdminGetAllGroupsBadRequest added in v0.60.0

type AdminGetAllGroupsBadRequest struct {
	Payload *ugcclientmodels.ResponseError
}

AdminGetAllGroupsBadRequest handles this case with default header values.

<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>772301</td><td>invalid paging parameter</td></tr></table>

func NewAdminGetAllGroupsBadRequest added in v0.60.0

func NewAdminGetAllGroupsBadRequest() *AdminGetAllGroupsBadRequest

NewAdminGetAllGroupsBadRequest creates a AdminGetAllGroupsBadRequest with default headers values

func (*AdminGetAllGroupsBadRequest) Error added in v0.60.0

func (*AdminGetAllGroupsBadRequest) GetPayload added in v0.60.0

func (*AdminGetAllGroupsBadRequest) ToJSONString added in v0.60.0

func (o *AdminGetAllGroupsBadRequest) ToJSONString() string

type AdminGetAllGroupsInternalServerError

type AdminGetAllGroupsInternalServerError struct {
	Payload *ugcclientmodels.ResponseError
}

AdminGetAllGroupsInternalServerError handles this case with default header values.

<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>772302</td><td>Unable get groups</td></tr></table>

func NewAdminGetAllGroupsInternalServerError

func NewAdminGetAllGroupsInternalServerError() *AdminGetAllGroupsInternalServerError

NewAdminGetAllGroupsInternalServerError creates a AdminGetAllGroupsInternalServerError with default headers values

func (*AdminGetAllGroupsInternalServerError) Error

func (*AdminGetAllGroupsInternalServerError) GetPayload

func (*AdminGetAllGroupsInternalServerError) ToJSONString added in v0.25.0

func (o *AdminGetAllGroupsInternalServerError) ToJSONString() string

type AdminGetAllGroupsOK

type AdminGetAllGroupsOK struct {
	Payload *ugcclientmodels.ModelsPaginatedGroupResponse
}

AdminGetAllGroupsOK handles this case with default header values.

Get all user groups

func NewAdminGetAllGroupsOK

func NewAdminGetAllGroupsOK() *AdminGetAllGroupsOK

NewAdminGetAllGroupsOK creates a AdminGetAllGroupsOK with default headers values

func (*AdminGetAllGroupsOK) Error

func (o *AdminGetAllGroupsOK) Error() string

func (*AdminGetAllGroupsOK) GetPayload

func (*AdminGetAllGroupsOK) ToJSONString added in v0.25.0

func (o *AdminGetAllGroupsOK) ToJSONString() string

type AdminGetAllGroupsParams

type AdminGetAllGroupsParams struct {

	/*RetryPolicy*/
	RetryPolicy *utils.Retry
	/*Namespace
	  namespace of the game

	*/
	Namespace string
	/*UserID
	  user ID

	*/
	UserID string
	/*Limit
	  number of content per page

	*/
	Limit *int64
	/*Offset
	  the offset number to retrieve

	*/
	Offset *int64

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

AdminGetAllGroupsParams contains all the parameters to send to the API endpoint for the admin get all groups operation typically these are written to a http.Request

func NewAdminGetAllGroupsParams

func NewAdminGetAllGroupsParams() *AdminGetAllGroupsParams

NewAdminGetAllGroupsParams creates a new AdminGetAllGroupsParams object with the default values initialized.

func NewAdminGetAllGroupsParamsWithContext

func NewAdminGetAllGroupsParamsWithContext(ctx context.Context) *AdminGetAllGroupsParams

NewAdminGetAllGroupsParamsWithContext creates a new AdminGetAllGroupsParams object with the default values initialized, and the ability to set a context for a request

func NewAdminGetAllGroupsParamsWithHTTPClient

func NewAdminGetAllGroupsParamsWithHTTPClient(client *http.Client) *AdminGetAllGroupsParams

NewAdminGetAllGroupsParamsWithHTTPClient creates a new AdminGetAllGroupsParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewAdminGetAllGroupsParamsWithTimeout

func NewAdminGetAllGroupsParamsWithTimeout(timeout time.Duration) *AdminGetAllGroupsParams

NewAdminGetAllGroupsParamsWithTimeout creates a new AdminGetAllGroupsParams object with the default values initialized, and the ability to set a timeout on a request

func (*AdminGetAllGroupsParams) SetAuthInfoWriter added in v0.17.0

func (o *AdminGetAllGroupsParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)

SetAuthInfoWriter adds the authInfoWriter to the admin get all groups params

func (*AdminGetAllGroupsParams) SetContext

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

SetContext adds the context to the admin get all groups params

func (*AdminGetAllGroupsParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the admin get all groups params

func (*AdminGetAllGroupsParams) SetHTTPClientTransport added in v0.19.0

func (o *AdminGetAllGroupsParams) SetHTTPClientTransport(roundTripper http.RoundTripper)

SetHTTPClient adds the HTTPClient Transport to the admin get all groups params

func (*AdminGetAllGroupsParams) SetLimit

func (o *AdminGetAllGroupsParams) SetLimit(limit *int64)

SetLimit adds the limit to the admin get all groups params

func (*AdminGetAllGroupsParams) SetNamespace

func (o *AdminGetAllGroupsParams) SetNamespace(namespace string)

SetNamespace adds the namespace to the admin get all groups params

func (*AdminGetAllGroupsParams) SetOffset

func (o *AdminGetAllGroupsParams) SetOffset(offset *int64)

SetOffset adds the offset to the admin get all groups params

func (*AdminGetAllGroupsParams) SetTimeout

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

SetTimeout adds the timeout to the admin get all groups params

func (*AdminGetAllGroupsParams) SetUserID

func (o *AdminGetAllGroupsParams) SetUserID(userID string)

SetUserID adds the userId to the admin get all groups params

func (*AdminGetAllGroupsParams) WithContext

WithContext adds the context to the admin get all groups params

func (*AdminGetAllGroupsParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the admin get all groups params

func (*AdminGetAllGroupsParams) WithLimit

WithLimit adds the limit to the admin get all groups params

func (*AdminGetAllGroupsParams) WithNamespace

func (o *AdminGetAllGroupsParams) WithNamespace(namespace string) *AdminGetAllGroupsParams

WithNamespace adds the namespace to the admin get all groups params

func (*AdminGetAllGroupsParams) WithOffset

func (o *AdminGetAllGroupsParams) WithOffset(offset *int64) *AdminGetAllGroupsParams

WithOffset adds the offset to the admin get all groups params

func (*AdminGetAllGroupsParams) WithTimeout

WithTimeout adds the timeout to the admin get all groups params

func (*AdminGetAllGroupsParams) WithUserID

WithUserID adds the userID to the admin get all groups params

func (*AdminGetAllGroupsParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type AdminGetAllGroupsReader

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

AdminGetAllGroupsReader is a Reader for the AdminGetAllGroups structure.

func (*AdminGetAllGroupsReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type AdminGetAllGroupsUnauthorized

type AdminGetAllGroupsUnauthorized struct {
	Payload *ugcclientmodels.ResponseError
}

AdminGetAllGroupsUnauthorized handles this case with default header values.

<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>20001</td><td>unauthorized access</td></tr></table>

func NewAdminGetAllGroupsUnauthorized

func NewAdminGetAllGroupsUnauthorized() *AdminGetAllGroupsUnauthorized

NewAdminGetAllGroupsUnauthorized creates a AdminGetAllGroupsUnauthorized with default headers values

func (*AdminGetAllGroupsUnauthorized) Error

func (*AdminGetAllGroupsUnauthorized) GetPayload

func (*AdminGetAllGroupsUnauthorized) ToJSONString added in v0.25.0

func (o *AdminGetAllGroupsUnauthorized) ToJSONString() string

type AdminGetGroupContentsBadRequest added in v0.60.0

type AdminGetGroupContentsBadRequest struct {
	Payload *ugcclientmodels.ResponseError
}

AdminGetGroupContentsBadRequest handles this case with default header values.

<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>773101</td><td>invalid paging parameter</td></tr></table>

func NewAdminGetGroupContentsBadRequest added in v0.60.0

func NewAdminGetGroupContentsBadRequest() *AdminGetGroupContentsBadRequest

NewAdminGetGroupContentsBadRequest creates a AdminGetGroupContentsBadRequest with default headers values

func (*AdminGetGroupContentsBadRequest) Error added in v0.60.0

func (*AdminGetGroupContentsBadRequest) GetPayload added in v0.60.0

func (*AdminGetGroupContentsBadRequest) ToJSONString added in v0.60.0

func (o *AdminGetGroupContentsBadRequest) ToJSONString() string

type AdminGetGroupContentsInternalServerError

type AdminGetGroupContentsInternalServerError struct {
	Payload *ugcclientmodels.ResponseError
}

AdminGetGroupContentsInternalServerError handles this case with default header values.

<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>773102</td><td>Unable to get ugc content: database error</td></tr><tr><td>770901</td><td>Unable to get ugc content: database error/Unable to get creator</td></tr><tr><td>770903</td><td>Failed generate download URL</td></tr></table>

func NewAdminGetGroupContentsInternalServerError

func NewAdminGetGroupContentsInternalServerError() *AdminGetGroupContentsInternalServerError

NewAdminGetGroupContentsInternalServerError creates a AdminGetGroupContentsInternalServerError with default headers values

func (*AdminGetGroupContentsInternalServerError) Error

func (*AdminGetGroupContentsInternalServerError) GetPayload

func (*AdminGetGroupContentsInternalServerError) ToJSONString added in v0.25.0

type AdminGetGroupContentsNotFound

type AdminGetGroupContentsNotFound struct {
	Payload *ugcclientmodels.ResponseError
}

AdminGetGroupContentsNotFound handles this case with default header values.

<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>773103</td><td>No group content was found</td></tr></table>

func NewAdminGetGroupContentsNotFound

func NewAdminGetGroupContentsNotFound() *AdminGetGroupContentsNotFound

NewAdminGetGroupContentsNotFound creates a AdminGetGroupContentsNotFound with default headers values

func (*AdminGetGroupContentsNotFound) Error

func (*AdminGetGroupContentsNotFound) GetPayload

func (*AdminGetGroupContentsNotFound) ToJSONString added in v0.25.0

func (o *AdminGetGroupContentsNotFound) ToJSONString() string

type AdminGetGroupContentsOK

type AdminGetGroupContentsOK struct {
	Payload *ugcclientmodels.ModelsPaginatedContentDownloadResponse
}

AdminGetGroupContentsOK handles this case with default header values.

Get content belong to a group

func NewAdminGetGroupContentsOK

func NewAdminGetGroupContentsOK() *AdminGetGroupContentsOK

NewAdminGetGroupContentsOK creates a AdminGetGroupContentsOK with default headers values

func (*AdminGetGroupContentsOK) Error

func (o *AdminGetGroupContentsOK) Error() string

func (*AdminGetGroupContentsOK) GetPayload

func (*AdminGetGroupContentsOK) ToJSONString added in v0.25.0

func (o *AdminGetGroupContentsOK) ToJSONString() string

type AdminGetGroupContentsParams

type AdminGetGroupContentsParams struct {

	/*RetryPolicy*/
	RetryPolicy *utils.Retry
	/*GroupID
	  group ID

	*/
	GroupID string
	/*Namespace
	  namespace of the game

	*/
	Namespace string
	/*UserID
	  user ID

	*/
	UserID string
	/*Limit
	  number of content per page

	*/
	Limit *int64
	/*Offset
	  the offset number to retrieve

	*/
	Offset *int64

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

AdminGetGroupContentsParams contains all the parameters to send to the API endpoint for the admin get group contents operation typically these are written to a http.Request

func NewAdminGetGroupContentsParams

func NewAdminGetGroupContentsParams() *AdminGetGroupContentsParams

NewAdminGetGroupContentsParams creates a new AdminGetGroupContentsParams object with the default values initialized.

func NewAdminGetGroupContentsParamsWithContext

func NewAdminGetGroupContentsParamsWithContext(ctx context.Context) *AdminGetGroupContentsParams

NewAdminGetGroupContentsParamsWithContext creates a new AdminGetGroupContentsParams object with the default values initialized, and the ability to set a context for a request

func NewAdminGetGroupContentsParamsWithHTTPClient

func NewAdminGetGroupContentsParamsWithHTTPClient(client *http.Client) *AdminGetGroupContentsParams

NewAdminGetGroupContentsParamsWithHTTPClient creates a new AdminGetGroupContentsParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewAdminGetGroupContentsParamsWithTimeout

func NewAdminGetGroupContentsParamsWithTimeout(timeout time.Duration) *AdminGetGroupContentsParams

NewAdminGetGroupContentsParamsWithTimeout creates a new AdminGetGroupContentsParams object with the default values initialized, and the ability to set a timeout on a request

func (*AdminGetGroupContentsParams) SetAuthInfoWriter added in v0.17.0

func (o *AdminGetGroupContentsParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)

SetAuthInfoWriter adds the authInfoWriter to the admin get group contents params

func (*AdminGetGroupContentsParams) SetContext

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

SetContext adds the context to the admin get group contents params

func (*AdminGetGroupContentsParams) SetGroupID

func (o *AdminGetGroupContentsParams) SetGroupID(groupID string)

SetGroupID adds the groupId to the admin get group contents params

func (*AdminGetGroupContentsParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the admin get group contents params

func (*AdminGetGroupContentsParams) SetHTTPClientTransport added in v0.19.0

func (o *AdminGetGroupContentsParams) SetHTTPClientTransport(roundTripper http.RoundTripper)

SetHTTPClient adds the HTTPClient Transport to the admin get group contents params

func (*AdminGetGroupContentsParams) SetLimit

func (o *AdminGetGroupContentsParams) SetLimit(limit *int64)

SetLimit adds the limit to the admin get group contents params

func (*AdminGetGroupContentsParams) SetNamespace

func (o *AdminGetGroupContentsParams) SetNamespace(namespace string)

SetNamespace adds the namespace to the admin get group contents params

func (*AdminGetGroupContentsParams) SetOffset

func (o *AdminGetGroupContentsParams) SetOffset(offset *int64)

SetOffset adds the offset to the admin get group contents params

func (*AdminGetGroupContentsParams) SetTimeout

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

SetTimeout adds the timeout to the admin get group contents params

func (*AdminGetGroupContentsParams) SetUserID

func (o *AdminGetGroupContentsParams) SetUserID(userID string)

SetUserID adds the userId to the admin get group contents params

func (*AdminGetGroupContentsParams) WithContext

WithContext adds the context to the admin get group contents params

func (*AdminGetGroupContentsParams) WithGroupID

WithGroupID adds the groupID to the admin get group contents params

func (*AdminGetGroupContentsParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the admin get group contents params

func (*AdminGetGroupContentsParams) WithLimit

WithLimit adds the limit to the admin get group contents params

func (*AdminGetGroupContentsParams) WithNamespace

func (o *AdminGetGroupContentsParams) WithNamespace(namespace string) *AdminGetGroupContentsParams

WithNamespace adds the namespace to the admin get group contents params

func (*AdminGetGroupContentsParams) WithOffset

WithOffset adds the offset to the admin get group contents params

func (*AdminGetGroupContentsParams) WithTimeout

WithTimeout adds the timeout to the admin get group contents params

func (*AdminGetGroupContentsParams) WithUserID

WithUserID adds the userID to the admin get group contents params

func (*AdminGetGroupContentsParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type AdminGetGroupContentsReader

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

AdminGetGroupContentsReader is a Reader for the AdminGetGroupContents structure.

func (*AdminGetGroupContentsReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type AdminGetGroupContentsUnauthorized

type AdminGetGroupContentsUnauthorized struct {
	Payload *ugcclientmodels.ResponseError
}

AdminGetGroupContentsUnauthorized handles this case with default header values.

<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>20001</td><td>unauthorized access</td></tr></table>

func NewAdminGetGroupContentsUnauthorized

func NewAdminGetGroupContentsUnauthorized() *AdminGetGroupContentsUnauthorized

NewAdminGetGroupContentsUnauthorized creates a AdminGetGroupContentsUnauthorized with default headers values

func (*AdminGetGroupContentsUnauthorized) Error

func (*AdminGetGroupContentsUnauthorized) GetPayload

func (*AdminGetGroupContentsUnauthorized) ToJSONString added in v0.25.0

func (o *AdminGetGroupContentsUnauthorized) ToJSONString() string

type AdminGetGroupInternalServerError

type AdminGetGroupInternalServerError struct {
	Payload *ugcclientmodels.ResponseError
}

AdminGetGroupInternalServerError handles this case with default header values.

<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>773001</td><td>Unable get group</td></tr></table>

func NewAdminGetGroupInternalServerError

func NewAdminGetGroupInternalServerError() *AdminGetGroupInternalServerError

NewAdminGetGroupInternalServerError creates a AdminGetGroupInternalServerError with default headers values

func (*AdminGetGroupInternalServerError) Error

func (*AdminGetGroupInternalServerError) GetPayload

func (*AdminGetGroupInternalServerError) ToJSONString added in v0.25.0

func (o *AdminGetGroupInternalServerError) ToJSONString() string

type AdminGetGroupNotFound

type AdminGetGroupNotFound struct {
	Payload *ugcclientmodels.ResponseError
}

AdminGetGroupNotFound handles this case with default header values.

<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>773002</td><td>Group not found</td></tr></table>

func NewAdminGetGroupNotFound

func NewAdminGetGroupNotFound() *AdminGetGroupNotFound

NewAdminGetGroupNotFound creates a AdminGetGroupNotFound with default headers values

func (*AdminGetGroupNotFound) Error

func (o *AdminGetGroupNotFound) Error() string

func (*AdminGetGroupNotFound) GetPayload

func (*AdminGetGroupNotFound) ToJSONString added in v0.25.0

func (o *AdminGetGroupNotFound) ToJSONString() string

type AdminGetGroupOK

type AdminGetGroupOK struct {
	Payload *ugcclientmodels.ModelsCreateGroupResponse
}

AdminGetGroupOK handles this case with default header values.

Get specific user group

func NewAdminGetGroupOK

func NewAdminGetGroupOK() *AdminGetGroupOK

NewAdminGetGroupOK creates a AdminGetGroupOK with default headers values

func (*AdminGetGroupOK) Error

func (o *AdminGetGroupOK) Error() string

func (*AdminGetGroupOK) GetPayload

func (*AdminGetGroupOK) ToJSONString added in v0.25.0

func (o *AdminGetGroupOK) ToJSONString() string

type AdminGetGroupParams

type AdminGetGroupParams 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
}

AdminGetGroupParams contains all the parameters to send to the API endpoint for the admin get group operation typically these are written to a http.Request

func NewAdminGetGroupParams

func NewAdminGetGroupParams() *AdminGetGroupParams

NewAdminGetGroupParams creates a new AdminGetGroupParams object with the default values initialized.

func NewAdminGetGroupParamsWithContext

func NewAdminGetGroupParamsWithContext(ctx context.Context) *AdminGetGroupParams

NewAdminGetGroupParamsWithContext creates a new AdminGetGroupParams object with the default values initialized, and the ability to set a context for a request

func NewAdminGetGroupParamsWithHTTPClient

func NewAdminGetGroupParamsWithHTTPClient(client *http.Client) *AdminGetGroupParams

NewAdminGetGroupParamsWithHTTPClient creates a new AdminGetGroupParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewAdminGetGroupParamsWithTimeout

func NewAdminGetGroupParamsWithTimeout(timeout time.Duration) *AdminGetGroupParams

NewAdminGetGroupParamsWithTimeout creates a new AdminGetGroupParams object with the default values initialized, and the ability to set a timeout on a request

func (*AdminGetGroupParams) SetAuthInfoWriter added in v0.17.0

func (o *AdminGetGroupParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)

SetAuthInfoWriter adds the authInfoWriter to the admin get group params

func (*AdminGetGroupParams) SetContext

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

SetContext adds the context to the admin get group params

func (*AdminGetGroupParams) SetGroupID

func (o *AdminGetGroupParams) SetGroupID(groupID string)

SetGroupID adds the groupId to the admin get group params

func (*AdminGetGroupParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the admin get group params

func (*AdminGetGroupParams) SetHTTPClientTransport added in v0.19.0

func (o *AdminGetGroupParams) SetHTTPClientTransport(roundTripper http.RoundTripper)

SetHTTPClient adds the HTTPClient Transport to the admin get group params

func (*AdminGetGroupParams) SetNamespace

func (o *AdminGetGroupParams) SetNamespace(namespace string)

SetNamespace adds the namespace to the admin get group params

func (*AdminGetGroupParams) SetTimeout

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

SetTimeout adds the timeout to the admin get group params

func (*AdminGetGroupParams) SetUserID

func (o *AdminGetGroupParams) SetUserID(userID string)

SetUserID adds the userId to the admin get group params

func (*AdminGetGroupParams) WithContext

WithContext adds the context to the admin get group params

func (*AdminGetGroupParams) WithGroupID

func (o *AdminGetGroupParams) WithGroupID(groupID string) *AdminGetGroupParams

WithGroupID adds the groupID to the admin get group params

func (*AdminGetGroupParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the admin get group params

func (*AdminGetGroupParams) WithNamespace

func (o *AdminGetGroupParams) WithNamespace(namespace string) *AdminGetGroupParams

WithNamespace adds the namespace to the admin get group params

func (*AdminGetGroupParams) WithTimeout

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

WithTimeout adds the timeout to the admin get group params

func (*AdminGetGroupParams) WithUserID

func (o *AdminGetGroupParams) WithUserID(userID string) *AdminGetGroupParams

WithUserID adds the userID to the admin get group params

func (*AdminGetGroupParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type AdminGetGroupReader

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

AdminGetGroupReader is a Reader for the AdminGetGroup structure.

func (*AdminGetGroupReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type AdminGetGroupUnauthorized

type AdminGetGroupUnauthorized struct {
	Payload *ugcclientmodels.ResponseError
}

AdminGetGroupUnauthorized handles this case with default header values.

<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>20001</td><td>unauthorized access</td></tr></table>

func NewAdminGetGroupUnauthorized

func NewAdminGetGroupUnauthorized() *AdminGetGroupUnauthorized

NewAdminGetGroupUnauthorized creates a AdminGetGroupUnauthorized with default headers values

func (*AdminGetGroupUnauthorized) Error

func (o *AdminGetGroupUnauthorized) Error() string

func (*AdminGetGroupUnauthorized) GetPayload

func (*AdminGetGroupUnauthorized) ToJSONString added in v0.25.0

func (o *AdminGetGroupUnauthorized) ToJSONString() string

type AdminGetOfficialGroupContentsV2BadRequest added in v0.60.0

type AdminGetOfficialGroupContentsV2BadRequest struct {
	Payload *ugcclientmodels.ResponseError
}

AdminGetOfficialGroupContentsV2BadRequest handles this case with default header values.

<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>773101</td><td>invalid paging parameter</td></tr></table>

func NewAdminGetOfficialGroupContentsV2BadRequest added in v0.60.0

func NewAdminGetOfficialGroupContentsV2BadRequest() *AdminGetOfficialGroupContentsV2BadRequest

NewAdminGetOfficialGroupContentsV2BadRequest creates a AdminGetOfficialGroupContentsV2BadRequest with default headers values

func (*AdminGetOfficialGroupContentsV2BadRequest) Error added in v0.60.0

func (*AdminGetOfficialGroupContentsV2BadRequest) GetPayload added in v0.60.0

func (*AdminGetOfficialGroupContentsV2BadRequest) ToJSONString added in v0.60.0

type AdminGetOfficialGroupContentsV2InternalServerError added in v0.57.0

type AdminGetOfficialGroupContentsV2InternalServerError struct {
	Payload *ugcclientmodels.ResponseError
}

AdminGetOfficialGroupContentsV2InternalServerError handles this case with default header values.

<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>773102</td><td>Unable to get ugc content: database error</td></tr><tr><td>770901</td><td>Unable to get ugc content: database error/Unable to get creator</td></tr><tr><td>770801</td><td>Unable to get ugc content: database/Unable to get creator</td></tr><tr><td>770903</td><td>Failed generate download URL</td></tr></table>

func NewAdminGetOfficialGroupContentsV2InternalServerError added in v0.57.0

func NewAdminGetOfficialGroupContentsV2InternalServerError() *AdminGetOfficialGroupContentsV2InternalServerError

NewAdminGetOfficialGroupContentsV2InternalServerError creates a AdminGetOfficialGroupContentsV2InternalServerError with default headers values

func (*AdminGetOfficialGroupContentsV2InternalServerError) Error added in v0.57.0

func (*AdminGetOfficialGroupContentsV2InternalServerError) GetPayload added in v0.57.0

func (*AdminGetOfficialGroupContentsV2InternalServerError) ToJSONString added in v0.57.0

type AdminGetOfficialGroupContentsV2NotFound added in v0.57.0

type AdminGetOfficialGroupContentsV2NotFound struct {
	Payload *ugcclientmodels.ResponseError
}

AdminGetOfficialGroupContentsV2NotFound handles this case with default header values.

<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>773103</td><td>No group content was found</td></tr></table>

func NewAdminGetOfficialGroupContentsV2NotFound added in v0.57.0

func NewAdminGetOfficialGroupContentsV2NotFound() *AdminGetOfficialGroupContentsV2NotFound

NewAdminGetOfficialGroupContentsV2NotFound creates a AdminGetOfficialGroupContentsV2NotFound with default headers values

func (*AdminGetOfficialGroupContentsV2NotFound) Error added in v0.57.0

func (*AdminGetOfficialGroupContentsV2NotFound) GetPayload added in v0.57.0

func (*AdminGetOfficialGroupContentsV2NotFound) ToJSONString added in v0.57.0

type AdminGetOfficialGroupContentsV2OK added in v0.57.0

type AdminGetOfficialGroupContentsV2OK struct {
	Payload *ugcclientmodels.ModelsPaginatedContentDownloadResponseV2
}

AdminGetOfficialGroupContentsV2OK handles this case with default header values.

Get contents belong to a group

func NewAdminGetOfficialGroupContentsV2OK added in v0.57.0

func NewAdminGetOfficialGroupContentsV2OK() *AdminGetOfficialGroupContentsV2OK

NewAdminGetOfficialGroupContentsV2OK creates a AdminGetOfficialGroupContentsV2OK with default headers values

func (*AdminGetOfficialGroupContentsV2OK) Error added in v0.57.0

func (*AdminGetOfficialGroupContentsV2OK) GetPayload added in v0.57.0

func (*AdminGetOfficialGroupContentsV2OK) ToJSONString added in v0.57.0

func (o *AdminGetOfficialGroupContentsV2OK) ToJSONString() string

type AdminGetOfficialGroupContentsV2Params added in v0.57.0

type AdminGetOfficialGroupContentsV2Params struct {

	/*RetryPolicy*/
	RetryPolicy *utils.Retry
	/*GroupID
	  group ID

	*/
	GroupID string
	/*Namespace
	  namespace of the game

	*/
	Namespace string
	/*Limit
	  number of content per page

	*/
	Limit *int64
	/*Offset
	  the offset number to retrieve

	*/
	Offset *int64

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

AdminGetOfficialGroupContentsV2Params contains all the parameters to send to the API endpoint for the admin get official group contents v2 operation typically these are written to a http.Request

func NewAdminGetOfficialGroupContentsV2Params added in v0.57.0

func NewAdminGetOfficialGroupContentsV2Params() *AdminGetOfficialGroupContentsV2Params

NewAdminGetOfficialGroupContentsV2Params creates a new AdminGetOfficialGroupContentsV2Params object with the default values initialized.

func NewAdminGetOfficialGroupContentsV2ParamsWithContext added in v0.57.0

func NewAdminGetOfficialGroupContentsV2ParamsWithContext(ctx context.Context) *AdminGetOfficialGroupContentsV2Params

NewAdminGetOfficialGroupContentsV2ParamsWithContext creates a new AdminGetOfficialGroupContentsV2Params object with the default values initialized, and the ability to set a context for a request

func NewAdminGetOfficialGroupContentsV2ParamsWithHTTPClient added in v0.57.0

func NewAdminGetOfficialGroupContentsV2ParamsWithHTTPClient(client *http.Client) *AdminGetOfficialGroupContentsV2Params

NewAdminGetOfficialGroupContentsV2ParamsWithHTTPClient creates a new AdminGetOfficialGroupContentsV2Params object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewAdminGetOfficialGroupContentsV2ParamsWithTimeout added in v0.57.0

func NewAdminGetOfficialGroupContentsV2ParamsWithTimeout(timeout time.Duration) *AdminGetOfficialGroupContentsV2Params

NewAdminGetOfficialGroupContentsV2ParamsWithTimeout creates a new AdminGetOfficialGroupContentsV2Params object with the default values initialized, and the ability to set a timeout on a request

func (*AdminGetOfficialGroupContentsV2Params) SetAuthInfoWriter added in v0.57.0

func (o *AdminGetOfficialGroupContentsV2Params) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)

SetAuthInfoWriter adds the authInfoWriter to the admin get official group contents v2 params

func (*AdminGetOfficialGroupContentsV2Params) SetContext added in v0.57.0

SetContext adds the context to the admin get official group contents v2 params

func (*AdminGetOfficialGroupContentsV2Params) SetGroupID added in v0.57.0

func (o *AdminGetOfficialGroupContentsV2Params) SetGroupID(groupID string)

SetGroupID adds the groupId to the admin get official group contents v2 params

func (*AdminGetOfficialGroupContentsV2Params) SetHTTPClient added in v0.57.0

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

SetHTTPClient adds the HTTPClient to the admin get official group contents v2 params

func (*AdminGetOfficialGroupContentsV2Params) SetHTTPClientTransport added in v0.57.0

func (o *AdminGetOfficialGroupContentsV2Params) SetHTTPClientTransport(roundTripper http.RoundTripper)

SetHTTPClient adds the HTTPClient Transport to the admin get official group contents v2 params

func (*AdminGetOfficialGroupContentsV2Params) SetLimit added in v0.57.0

func (o *AdminGetOfficialGroupContentsV2Params) SetLimit(limit *int64)

SetLimit adds the limit to the admin get official group contents v2 params

func (*AdminGetOfficialGroupContentsV2Params) SetNamespace added in v0.57.0

func (o *AdminGetOfficialGroupContentsV2Params) SetNamespace(namespace string)

SetNamespace adds the namespace to the admin get official group contents v2 params

func (*AdminGetOfficialGroupContentsV2Params) SetOffset added in v0.57.0

func (o *AdminGetOfficialGroupContentsV2Params) SetOffset(offset *int64)

SetOffset adds the offset to the admin get official group contents v2 params

func (*AdminGetOfficialGroupContentsV2Params) SetTimeout added in v0.57.0

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

SetTimeout adds the timeout to the admin get official group contents v2 params

func (*AdminGetOfficialGroupContentsV2Params) WithContext added in v0.57.0

WithContext adds the context to the admin get official group contents v2 params

func (*AdminGetOfficialGroupContentsV2Params) WithGroupID added in v0.57.0

WithGroupID adds the groupID to the admin get official group contents v2 params

func (*AdminGetOfficialGroupContentsV2Params) WithHTTPClient added in v0.57.0

WithHTTPClient adds the HTTPClient to the admin get official group contents v2 params

func (*AdminGetOfficialGroupContentsV2Params) WithLimit added in v0.57.0

WithLimit adds the limit to the admin get official group contents v2 params

func (*AdminGetOfficialGroupContentsV2Params) WithNamespace added in v0.57.0

WithNamespace adds the namespace to the admin get official group contents v2 params

func (*AdminGetOfficialGroupContentsV2Params) WithOffset added in v0.57.0

WithOffset adds the offset to the admin get official group contents v2 params

func (*AdminGetOfficialGroupContentsV2Params) WithTimeout added in v0.57.0

WithTimeout adds the timeout to the admin get official group contents v2 params

func (*AdminGetOfficialGroupContentsV2Params) WriteToRequest added in v0.57.0

WriteToRequest writes these params to a swagger request

type AdminGetOfficialGroupContentsV2Reader added in v0.57.0

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

AdminGetOfficialGroupContentsV2Reader is a Reader for the AdminGetOfficialGroupContentsV2 structure.

func (*AdminGetOfficialGroupContentsV2Reader) ReadResponse added in v0.57.0

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

ReadResponse reads a server response into the received o.

type AdminGetOfficialGroupContentsV2Unauthorized added in v0.57.0

type AdminGetOfficialGroupContentsV2Unauthorized struct {
	Payload *ugcclientmodels.ResponseError
}

AdminGetOfficialGroupContentsV2Unauthorized handles this case with default header values.

<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>20001</td><td>unauthorized access</td></tr></table>

func NewAdminGetOfficialGroupContentsV2Unauthorized added in v0.57.0

func NewAdminGetOfficialGroupContentsV2Unauthorized() *AdminGetOfficialGroupContentsV2Unauthorized

NewAdminGetOfficialGroupContentsV2Unauthorized creates a AdminGetOfficialGroupContentsV2Unauthorized with default headers values

func (*AdminGetOfficialGroupContentsV2Unauthorized) Error added in v0.57.0

func (*AdminGetOfficialGroupContentsV2Unauthorized) GetPayload added in v0.57.0

func (*AdminGetOfficialGroupContentsV2Unauthorized) ToJSONString added in v0.57.0

type AdminGetUserGroupContentsV2BadRequest added in v0.60.0

type AdminGetUserGroupContentsV2BadRequest struct {
	Payload *ugcclientmodels.ResponseError
}

AdminGetUserGroupContentsV2BadRequest handles this case with default header values.

<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>773101</td><td>invalid paging parameter</td></tr></table>

func NewAdminGetUserGroupContentsV2BadRequest added in v0.60.0

func NewAdminGetUserGroupContentsV2BadRequest() *AdminGetUserGroupContentsV2BadRequest

NewAdminGetUserGroupContentsV2BadRequest creates a AdminGetUserGroupContentsV2BadRequest with default headers values

func (*AdminGetUserGroupContentsV2BadRequest) Error added in v0.60.0

func (*AdminGetUserGroupContentsV2BadRequest) GetPayload added in v0.60.0

func (*AdminGetUserGroupContentsV2BadRequest) ToJSONString added in v0.60.0

type AdminGetUserGroupContentsV2InternalServerError added in v0.57.0

type AdminGetUserGroupContentsV2InternalServerError struct {
	Payload *ugcclientmodels.ResponseError
}

AdminGetUserGroupContentsV2InternalServerError handles this case with default header values.

<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>773102</td><td>Unable to get ugc content: database error</td></tr><tr><td>770901</td><td>Unable to get ugc content: database error/Unable to get creator</td></tr><tr><td>770801</td><td>Unable to get ugc content: database/Unable to get creator</td></tr><tr><td>770903</td><td>Failed generate download URL</td></tr></table>

func NewAdminGetUserGroupContentsV2InternalServerError added in v0.57.0

func NewAdminGetUserGroupContentsV2InternalServerError() *AdminGetUserGroupContentsV2InternalServerError

NewAdminGetUserGroupContentsV2InternalServerError creates a AdminGetUserGroupContentsV2InternalServerError with default headers values

func (*AdminGetUserGroupContentsV2InternalServerError) Error added in v0.57.0

func (*AdminGetUserGroupContentsV2InternalServerError) GetPayload added in v0.57.0

func (*AdminGetUserGroupContentsV2InternalServerError) ToJSONString added in v0.57.0

type AdminGetUserGroupContentsV2NotFound added in v0.57.0

type AdminGetUserGroupContentsV2NotFound struct {
	Payload *ugcclientmodels.ResponseError
}

AdminGetUserGroupContentsV2NotFound handles this case with default header values.

<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>773103</td><td>No group content was found</td></tr></table>

func NewAdminGetUserGroupContentsV2NotFound added in v0.57.0

func NewAdminGetUserGroupContentsV2NotFound() *AdminGetUserGroupContentsV2NotFound

NewAdminGetUserGroupContentsV2NotFound creates a AdminGetUserGroupContentsV2NotFound with default headers values

func (*AdminGetUserGroupContentsV2NotFound) Error added in v0.57.0

func (*AdminGetUserGroupContentsV2NotFound) GetPayload added in v0.57.0

func (*AdminGetUserGroupContentsV2NotFound) ToJSONString added in v0.57.0

func (o *AdminGetUserGroupContentsV2NotFound) ToJSONString() string

type AdminGetUserGroupContentsV2OK added in v0.57.0

type AdminGetUserGroupContentsV2OK struct {
	Payload *ugcclientmodels.ModelsPaginatedContentDownloadResponseV2
}

AdminGetUserGroupContentsV2OK handles this case with default header values.

Get contents belong to a group

func NewAdminGetUserGroupContentsV2OK added in v0.57.0

func NewAdminGetUserGroupContentsV2OK() *AdminGetUserGroupContentsV2OK

NewAdminGetUserGroupContentsV2OK creates a AdminGetUserGroupContentsV2OK with default headers values

func (*AdminGetUserGroupContentsV2OK) Error added in v0.57.0

func (*AdminGetUserGroupContentsV2OK) GetPayload added in v0.57.0

func (*AdminGetUserGroupContentsV2OK) ToJSONString added in v0.57.0

func (o *AdminGetUserGroupContentsV2OK) ToJSONString() string

type AdminGetUserGroupContentsV2Params added in v0.57.0

type AdminGetUserGroupContentsV2Params struct {

	/*RetryPolicy*/
	RetryPolicy *utils.Retry
	/*GroupID
	  group ID

	*/
	GroupID string
	/*Namespace
	  namespace of the game

	*/
	Namespace string
	/*UserID
	  user ID

	*/
	UserID string
	/*Limit
	  number of content per page

	*/
	Limit *int64
	/*Offset
	  the offset number to retrieve

	*/
	Offset *int64

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

AdminGetUserGroupContentsV2Params contains all the parameters to send to the API endpoint for the admin get user group contents v2 operation typically these are written to a http.Request

func NewAdminGetUserGroupContentsV2Params added in v0.57.0

func NewAdminGetUserGroupContentsV2Params() *AdminGetUserGroupContentsV2Params

NewAdminGetUserGroupContentsV2Params creates a new AdminGetUserGroupContentsV2Params object with the default values initialized.

func NewAdminGetUserGroupContentsV2ParamsWithContext added in v0.57.0

func NewAdminGetUserGroupContentsV2ParamsWithContext(ctx context.Context) *AdminGetUserGroupContentsV2Params

NewAdminGetUserGroupContentsV2ParamsWithContext creates a new AdminGetUserGroupContentsV2Params object with the default values initialized, and the ability to set a context for a request

func NewAdminGetUserGroupContentsV2ParamsWithHTTPClient added in v0.57.0

func NewAdminGetUserGroupContentsV2ParamsWithHTTPClient(client *http.Client) *AdminGetUserGroupContentsV2Params

NewAdminGetUserGroupContentsV2ParamsWithHTTPClient creates a new AdminGetUserGroupContentsV2Params object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewAdminGetUserGroupContentsV2ParamsWithTimeout added in v0.57.0

func NewAdminGetUserGroupContentsV2ParamsWithTimeout(timeout time.Duration) *AdminGetUserGroupContentsV2Params

NewAdminGetUserGroupContentsV2ParamsWithTimeout creates a new AdminGetUserGroupContentsV2Params object with the default values initialized, and the ability to set a timeout on a request

func (*AdminGetUserGroupContentsV2Params) SetAuthInfoWriter added in v0.57.0

func (o *AdminGetUserGroupContentsV2Params) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)

SetAuthInfoWriter adds the authInfoWriter to the admin get user group contents v2 params

func (*AdminGetUserGroupContentsV2Params) SetContext added in v0.57.0

SetContext adds the context to the admin get user group contents v2 params

func (*AdminGetUserGroupContentsV2Params) SetGroupID added in v0.57.0

func (o *AdminGetUserGroupContentsV2Params) SetGroupID(groupID string)

SetGroupID adds the groupId to the admin get user group contents v2 params

func (*AdminGetUserGroupContentsV2Params) SetHTTPClient added in v0.57.0

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

SetHTTPClient adds the HTTPClient to the admin get user group contents v2 params

func (*AdminGetUserGroupContentsV2Params) SetHTTPClientTransport added in v0.57.0

func (o *AdminGetUserGroupContentsV2Params) SetHTTPClientTransport(roundTripper http.RoundTripper)

SetHTTPClient adds the HTTPClient Transport to the admin get user group contents v2 params

func (*AdminGetUserGroupContentsV2Params) SetLimit added in v0.57.0

func (o *AdminGetUserGroupContentsV2Params) SetLimit(limit *int64)

SetLimit adds the limit to the admin get user group contents v2 params

func (*AdminGetUserGroupContentsV2Params) SetNamespace added in v0.57.0

func (o *AdminGetUserGroupContentsV2Params) SetNamespace(namespace string)

SetNamespace adds the namespace to the admin get user group contents v2 params

func (*AdminGetUserGroupContentsV2Params) SetOffset added in v0.57.0

func (o *AdminGetUserGroupContentsV2Params) SetOffset(offset *int64)

SetOffset adds the offset to the admin get user group contents v2 params

func (*AdminGetUserGroupContentsV2Params) SetTimeout added in v0.57.0

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

SetTimeout adds the timeout to the admin get user group contents v2 params

func (*AdminGetUserGroupContentsV2Params) SetUserID added in v0.57.0

func (o *AdminGetUserGroupContentsV2Params) SetUserID(userID string)

SetUserID adds the userId to the admin get user group contents v2 params

func (*AdminGetUserGroupContentsV2Params) WithContext added in v0.57.0

WithContext adds the context to the admin get user group contents v2 params

func (*AdminGetUserGroupContentsV2Params) WithGroupID added in v0.57.0

WithGroupID adds the groupID to the admin get user group contents v2 params

func (*AdminGetUserGroupContentsV2Params) WithHTTPClient added in v0.57.0

WithHTTPClient adds the HTTPClient to the admin get user group contents v2 params

func (*AdminGetUserGroupContentsV2Params) WithLimit added in v0.57.0

WithLimit adds the limit to the admin get user group contents v2 params

func (*AdminGetUserGroupContentsV2Params) WithNamespace added in v0.57.0

WithNamespace adds the namespace to the admin get user group contents v2 params

func (*AdminGetUserGroupContentsV2Params) WithOffset added in v0.57.0

WithOffset adds the offset to the admin get user group contents v2 params

func (*AdminGetUserGroupContentsV2Params) WithTimeout added in v0.57.0

WithTimeout adds the timeout to the admin get user group contents v2 params

func (*AdminGetUserGroupContentsV2Params) WithUserID added in v0.57.0

WithUserID adds the userID to the admin get user group contents v2 params

func (*AdminGetUserGroupContentsV2Params) WriteToRequest added in v0.57.0

WriteToRequest writes these params to a swagger request

type AdminGetUserGroupContentsV2Reader added in v0.57.0

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

AdminGetUserGroupContentsV2Reader is a Reader for the AdminGetUserGroupContentsV2 structure.

func (*AdminGetUserGroupContentsV2Reader) ReadResponse added in v0.57.0

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

ReadResponse reads a server response into the received o.

type AdminGetUserGroupContentsV2Unauthorized added in v0.57.0

type AdminGetUserGroupContentsV2Unauthorized struct {
	Payload *ugcclientmodels.ResponseError
}

AdminGetUserGroupContentsV2Unauthorized handles this case with default header values.

<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>20001</td><td>unauthorized access</td></tr></table>

func NewAdminGetUserGroupContentsV2Unauthorized added in v0.57.0

func NewAdminGetUserGroupContentsV2Unauthorized() *AdminGetUserGroupContentsV2Unauthorized

NewAdminGetUserGroupContentsV2Unauthorized creates a AdminGetUserGroupContentsV2Unauthorized with default headers values

func (*AdminGetUserGroupContentsV2Unauthorized) Error added in v0.57.0

func (*AdminGetUserGroupContentsV2Unauthorized) GetPayload added in v0.57.0

func (*AdminGetUserGroupContentsV2Unauthorized) ToJSONString added in v0.57.0

type AdminUpdateGroupBadRequest

type AdminUpdateGroupBadRequest struct {
	Payload *ugcclientmodels.ResponseError
}

AdminUpdateGroupBadRequest handles this case with default header values.

<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>772201</td><td>Malformed request/Invalid request body</td></tr></table>

func NewAdminUpdateGroupBadRequest

func NewAdminUpdateGroupBadRequest() *AdminUpdateGroupBadRequest

NewAdminUpdateGroupBadRequest creates a AdminUpdateGroupBadRequest with default headers values

func (*AdminUpdateGroupBadRequest) Error

func (*AdminUpdateGroupBadRequest) GetPayload

func (*AdminUpdateGroupBadRequest) ToJSONString added in v0.25.0

func (o *AdminUpdateGroupBadRequest) ToJSONString() string

type AdminUpdateGroupInternalServerError

type AdminUpdateGroupInternalServerError struct {
	Payload *ugcclientmodels.ResponseError
}

AdminUpdateGroupInternalServerError handles this case with default header values.

<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>772202</td><td>Unable to update group</td></tr></table>

func NewAdminUpdateGroupInternalServerError

func NewAdminUpdateGroupInternalServerError() *AdminUpdateGroupInternalServerError

NewAdminUpdateGroupInternalServerError creates a AdminUpdateGroupInternalServerError with default headers values

func (*AdminUpdateGroupInternalServerError) Error

func (*AdminUpdateGroupInternalServerError) GetPayload

func (*AdminUpdateGroupInternalServerError) ToJSONString added in v0.25.0

func (o *AdminUpdateGroupInternalServerError) ToJSONString() string

type AdminUpdateGroupNotFound

type AdminUpdateGroupNotFound struct {
	Payload *ugcclientmodels.ResponseError
}

AdminUpdateGroupNotFound handles this case with default header values.

<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>772203</td><td>Group not found</td></tr></table>

func NewAdminUpdateGroupNotFound

func NewAdminUpdateGroupNotFound() *AdminUpdateGroupNotFound

NewAdminUpdateGroupNotFound creates a AdminUpdateGroupNotFound with default headers values

func (*AdminUpdateGroupNotFound) Error

func (o *AdminUpdateGroupNotFound) Error() string

func (*AdminUpdateGroupNotFound) GetPayload

func (*AdminUpdateGroupNotFound) ToJSONString added in v0.25.0

func (o *AdminUpdateGroupNotFound) ToJSONString() string

type AdminUpdateGroupOK

type AdminUpdateGroupOK struct {
	Payload *ugcclientmodels.ModelsCreateGroupResponse
}

AdminUpdateGroupOK handles this case with default header values.

Group updated

func NewAdminUpdateGroupOK

func NewAdminUpdateGroupOK() *AdminUpdateGroupOK

NewAdminUpdateGroupOK creates a AdminUpdateGroupOK with default headers values

func (*AdminUpdateGroupOK) Error

func (o *AdminUpdateGroupOK) Error() string

func (*AdminUpdateGroupOK) GetPayload

func (*AdminUpdateGroupOK) ToJSONString added in v0.25.0

func (o *AdminUpdateGroupOK) ToJSONString() string

type AdminUpdateGroupParams

type AdminUpdateGroupParams 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
}

AdminUpdateGroupParams contains all the parameters to send to the API endpoint for the admin update group operation typically these are written to a http.Request

func NewAdminUpdateGroupParams

func NewAdminUpdateGroupParams() *AdminUpdateGroupParams

NewAdminUpdateGroupParams creates a new AdminUpdateGroupParams object with the default values initialized.

func NewAdminUpdateGroupParamsWithContext

func NewAdminUpdateGroupParamsWithContext(ctx context.Context) *AdminUpdateGroupParams

NewAdminUpdateGroupParamsWithContext creates a new AdminUpdateGroupParams object with the default values initialized, and the ability to set a context for a request

func NewAdminUpdateGroupParamsWithHTTPClient

func NewAdminUpdateGroupParamsWithHTTPClient(client *http.Client) *AdminUpdateGroupParams

NewAdminUpdateGroupParamsWithHTTPClient creates a new AdminUpdateGroupParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewAdminUpdateGroupParamsWithTimeout

func NewAdminUpdateGroupParamsWithTimeout(timeout time.Duration) *AdminUpdateGroupParams

NewAdminUpdateGroupParamsWithTimeout creates a new AdminUpdateGroupParams object with the default values initialized, and the ability to set a timeout on a request

func (*AdminUpdateGroupParams) SetAuthInfoWriter added in v0.17.0

func (o *AdminUpdateGroupParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)

SetAuthInfoWriter adds the authInfoWriter to the admin update group params

func (*AdminUpdateGroupParams) SetBody

SetBody adds the body to the admin update group params

func (*AdminUpdateGroupParams) SetContext

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

SetContext adds the context to the admin update group params

func (*AdminUpdateGroupParams) SetGroupID

func (o *AdminUpdateGroupParams) SetGroupID(groupID string)

SetGroupID adds the groupId to the admin update group params

func (*AdminUpdateGroupParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the admin update group params

func (*AdminUpdateGroupParams) SetHTTPClientTransport added in v0.19.0

func (o *AdminUpdateGroupParams) SetHTTPClientTransport(roundTripper http.RoundTripper)

SetHTTPClient adds the HTTPClient Transport to the admin update group params

func (*AdminUpdateGroupParams) SetNamespace

func (o *AdminUpdateGroupParams) SetNamespace(namespace string)

SetNamespace adds the namespace to the admin update group params

func (*AdminUpdateGroupParams) SetTimeout

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

SetTimeout adds the timeout to the admin update group params

func (*AdminUpdateGroupParams) SetUserID

func (o *AdminUpdateGroupParams) SetUserID(userID string)

SetUserID adds the userId to the admin update group params

func (*AdminUpdateGroupParams) WithBody

WithBody adds the body to the admin update group params

func (*AdminUpdateGroupParams) WithContext

WithContext adds the context to the admin update group params

func (*AdminUpdateGroupParams) WithGroupID

func (o *AdminUpdateGroupParams) WithGroupID(groupID string) *AdminUpdateGroupParams

WithGroupID adds the groupID to the admin update group params

func (*AdminUpdateGroupParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the admin update group params

func (*AdminUpdateGroupParams) WithNamespace

func (o *AdminUpdateGroupParams) WithNamespace(namespace string) *AdminUpdateGroupParams

WithNamespace adds the namespace to the admin update group params

func (*AdminUpdateGroupParams) WithTimeout

WithTimeout adds the timeout to the admin update group params

func (*AdminUpdateGroupParams) WithUserID

func (o *AdminUpdateGroupParams) WithUserID(userID string) *AdminUpdateGroupParams

WithUserID adds the userID to the admin update group params

func (*AdminUpdateGroupParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type AdminUpdateGroupReader

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

AdminUpdateGroupReader is a Reader for the AdminUpdateGroup structure.

func (*AdminUpdateGroupReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type AdminUpdateGroupUnauthorized

type AdminUpdateGroupUnauthorized struct {
	Payload *ugcclientmodels.ResponseError
}

AdminUpdateGroupUnauthorized handles this case with default header values.

<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>20001</td><td>unauthorized access</td></tr></table>

func NewAdminUpdateGroupUnauthorized

func NewAdminUpdateGroupUnauthorized() *AdminUpdateGroupUnauthorized

NewAdminUpdateGroupUnauthorized creates a AdminUpdateGroupUnauthorized with default headers values

func (*AdminUpdateGroupUnauthorized) Error

func (*AdminUpdateGroupUnauthorized) GetPayload

func (*AdminUpdateGroupUnauthorized) ToJSONString added in v0.25.0

func (o *AdminUpdateGroupUnauthorized) ToJSONString() string

type Client

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

Client for admin group API

func (*Client) AdminCreateGroup deprecated

Deprecated: 2022-08-10 - Use AdminCreateGroupShort instead.

AdminCreateGroup create groups Required permission ADMIN:NAMESPACE:{namespace}:USER:{userId}:CONTENTGROUP [CREATE]

func (*Client) AdminCreateGroupShort

func (a *Client) AdminCreateGroupShort(params *AdminCreateGroupParams, authInfo runtime.ClientAuthInfoWriter) (*AdminCreateGroupCreated, error)

AdminCreateGroupShort create groups Required permission ADMIN:NAMESPACE:{namespace}:USER:{userId}:CONTENTGROUP [CREATE]

func (*Client) AdminDeleteGroup deprecated

Deprecated: 2022-08-10 - Use AdminDeleteGroupShort instead.

AdminDeleteGroup delete group Required permission ADMIN:NAMESPACE:{namespace}:USER:{userId}:CONTENTGROUP [DELETE]

func (*Client) AdminDeleteGroupShort

func (a *Client) AdminDeleteGroupShort(params *AdminDeleteGroupParams, authInfo runtime.ClientAuthInfoWriter) (*AdminDeleteGroupNoContent, error)

AdminDeleteGroupShort delete group Required permission ADMIN:NAMESPACE:{namespace}:USER:{userId}:CONTENTGROUP [DELETE]

func (*Client) AdminGetAllGroups deprecated

Deprecated: 2022-08-10 - Use AdminGetAllGroupsShort instead.

AdminGetAllGroups get all user groups Required permission ADMIN:NAMESPACE:{namespace}:USER:{userId}:CONTENTGROUP [READ].

func (*Client) AdminGetAllGroupsShort

func (a *Client) AdminGetAllGroupsShort(params *AdminGetAllGroupsParams, authInfo runtime.ClientAuthInfoWriter) (*AdminGetAllGroupsOK, error)

AdminGetAllGroupsShort get all user groups Required permission ADMIN:NAMESPACE:{namespace}:USER:{userId}:CONTENTGROUP [READ].

func (*Client) AdminGetGroup deprecated

Deprecated: 2022-08-10 - Use AdminGetGroupShort instead.

AdminGetGroup get specific user group Required permission ADMIN:NAMESPACE:{namespace}:USER:{userId}:CONTENTGROUP [READ].

func (*Client) AdminGetGroupContents deprecated

Deprecated: 2022-08-10 - Use AdminGetGroupContentsShort instead.

AdminGetGroupContents (legacy) get contents belong to a group Required permission ADMIN:NAMESPACE:{namespace}:USER:{userId}:CONTENT [READ].

func (*Client) AdminGetGroupContentsShort

func (a *Client) AdminGetGroupContentsShort(params *AdminGetGroupContentsParams, authInfo runtime.ClientAuthInfoWriter) (*AdminGetGroupContentsOK, error)

AdminGetGroupContentsShort (legacy) get contents belong to a group Required permission ADMIN:NAMESPACE:{namespace}:USER:{userId}:CONTENT [READ].

func (*Client) AdminGetGroupShort

func (a *Client) AdminGetGroupShort(params *AdminGetGroupParams, authInfo runtime.ClientAuthInfoWriter) (*AdminGetGroupOK, error)

AdminGetGroupShort get specific user group Required permission ADMIN:NAMESPACE:{namespace}:USER:{userId}:CONTENTGROUP [READ].

func (*Client) AdminGetOfficialGroupContentsV2 deprecated added in v0.57.0

Deprecated: 2022-08-10 - Use AdminGetOfficialGroupContentsV2Short instead.

AdminGetOfficialGroupContentsV2 get contents belong to a group Required permission ADMIN:NAMESPACE:{namespace}:USER:{userId}:CONTENT [READ].

func (*Client) AdminGetOfficialGroupContentsV2Short added in v0.57.0

func (a *Client) AdminGetOfficialGroupContentsV2Short(params *AdminGetOfficialGroupContentsV2Params, authInfo runtime.ClientAuthInfoWriter) (*AdminGetOfficialGroupContentsV2OK, error)

AdminGetOfficialGroupContentsV2Short get contents belong to a group Required permission ADMIN:NAMESPACE:{namespace}:USER:{userId}:CONTENT [READ].

func (*Client) AdminGetUserGroupContentsV2 deprecated added in v0.57.0

Deprecated: 2022-08-10 - Use AdminGetUserGroupContentsV2Short instead.

AdminGetUserGroupContentsV2 get contents belong to a group Required permission ADMIN:NAMESPACE:{namespace}:USER:{userId}:CONTENT [READ].

func (*Client) AdminGetUserGroupContentsV2Short added in v0.57.0

func (a *Client) AdminGetUserGroupContentsV2Short(params *AdminGetUserGroupContentsV2Params, authInfo runtime.ClientAuthInfoWriter) (*AdminGetUserGroupContentsV2OK, error)

AdminGetUserGroupContentsV2Short get contents belong to a group Required permission ADMIN:NAMESPACE:{namespace}:USER:{userId}:CONTENT [READ].

func (*Client) AdminUpdateGroup deprecated

Deprecated: 2022-08-10 - Use AdminUpdateGroupShort instead.

AdminUpdateGroup update group Required permission ADMIN:NAMESPACE:{namespace}:USER:{userId}:CONTENTGROUP [UPDATE] replace group name and contents with new ones.

func (*Client) AdminUpdateGroupShort

func (a *Client) AdminUpdateGroupShort(params *AdminUpdateGroupParams, authInfo runtime.ClientAuthInfoWriter) (*AdminUpdateGroupOK, error)

AdminUpdateGroupShort update group Required permission ADMIN:NAMESPACE:{namespace}:USER:{userId}:CONTENTGROUP [UPDATE] replace group name and contents with new ones.

func (*Client) SetTransport

func (a *Client) SetTransport(transport runtime.ClientTransport)

SetTransport changes the transport on the client

func (*Client) SingleAdminDeleteGroup deprecated

Deprecated: 2022-08-10 - Use SingleAdminDeleteGroupShort instead.

SingleAdminDeleteGroup delete group Required permission ADMIN:NAMESPACE:{namespace}:USER:{userId}:CONTENTGROUP [DELETE]

func (*Client) SingleAdminDeleteGroupShort

func (a *Client) SingleAdminDeleteGroupShort(params *SingleAdminDeleteGroupParams, authInfo runtime.ClientAuthInfoWriter) (*SingleAdminDeleteGroupNoContent, error)

SingleAdminDeleteGroupShort delete group Required permission ADMIN:NAMESPACE:{namespace}:USER:{userId}:CONTENTGROUP [DELETE]

func (*Client) SingleAdminGetAllGroups deprecated

Deprecated: 2022-08-10 - Use SingleAdminGetAllGroupsShort instead.

SingleAdminGetAllGroups get all user groups Required permission ADMIN:NAMESPACE:{namespace}:USER:{userId}:CONTENTGROUP [READ].

func (*Client) SingleAdminGetAllGroupsShort

func (a *Client) SingleAdminGetAllGroupsShort(params *SingleAdminGetAllGroupsParams, authInfo runtime.ClientAuthInfoWriter) (*SingleAdminGetAllGroupsOK, error)

SingleAdminGetAllGroupsShort get all user groups Required permission ADMIN:NAMESPACE:{namespace}:USER:{userId}:CONTENTGROUP [READ].

func (*Client) SingleAdminGetGroup deprecated

Deprecated: 2022-08-10 - Use SingleAdminGetGroupShort instead.

SingleAdminGetGroup get specific user group Required permission ADMIN:NAMESPACE:{namespace}:USER:{userId}:CONTENTGROUP [READ].

func (*Client) SingleAdminGetGroupContents deprecated

Deprecated: 2022-08-10 - Use SingleAdminGetGroupContentsShort instead.

SingleAdminGetGroupContents (legacy) get contents belong to a group Required permission ADMIN:NAMESPACE:{namespace}:USER:{userId}:CONTENT [READ].

func (*Client) SingleAdminGetGroupContentsShort

func (a *Client) SingleAdminGetGroupContentsShort(params *SingleAdminGetGroupContentsParams, authInfo runtime.ClientAuthInfoWriter) (*SingleAdminGetGroupContentsOK, error)

SingleAdminGetGroupContentsShort (legacy) get contents belong to a group Required permission ADMIN:NAMESPACE:{namespace}:USER:{userId}:CONTENT [READ].

func (*Client) SingleAdminGetGroupShort

func (a *Client) SingleAdminGetGroupShort(params *SingleAdminGetGroupParams, authInfo runtime.ClientAuthInfoWriter) (*SingleAdminGetGroupOK, error)

SingleAdminGetGroupShort get specific user group Required permission ADMIN:NAMESPACE:{namespace}:USER:{userId}:CONTENTGROUP [READ].

func (*Client) SingleAdminUpdateGroup deprecated

Deprecated: 2022-08-10 - Use SingleAdminUpdateGroupShort instead.

SingleAdminUpdateGroup update group Required permission ADMIN:NAMESPACE:{namespace}:USER:{userId}:CONTENTGROUP [UPDATE] replace group name and contents with new ones.

func (*Client) SingleAdminUpdateGroupShort

func (a *Client) SingleAdminUpdateGroupShort(params *SingleAdminUpdateGroupParams, authInfo runtime.ClientAuthInfoWriter) (*SingleAdminUpdateGroupOK, error)

SingleAdminUpdateGroupShort update group Required permission ADMIN:NAMESPACE:{namespace}:USER:{userId}:CONTENTGROUP [UPDATE] replace group name and contents with new ones.

type ClientService

type ClientService interface {
	SingleAdminGetAllGroups(params *SingleAdminGetAllGroupsParams, authInfo runtime.ClientAuthInfoWriter) (*SingleAdminGetAllGroupsOK, *SingleAdminGetAllGroupsBadRequest, *SingleAdminGetAllGroupsUnauthorized, *SingleAdminGetAllGroupsInternalServerError, error)
	SingleAdminGetAllGroupsShort(params *SingleAdminGetAllGroupsParams, authInfo runtime.ClientAuthInfoWriter) (*SingleAdminGetAllGroupsOK, error)
	AdminCreateGroup(params *AdminCreateGroupParams, authInfo runtime.ClientAuthInfoWriter) (*AdminCreateGroupCreated, *AdminCreateGroupBadRequest, *AdminCreateGroupUnauthorized, *AdminCreateGroupInternalServerError, error)
	AdminCreateGroupShort(params *AdminCreateGroupParams, authInfo runtime.ClientAuthInfoWriter) (*AdminCreateGroupCreated, error)
	SingleAdminGetGroup(params *SingleAdminGetGroupParams, authInfo runtime.ClientAuthInfoWriter) (*SingleAdminGetGroupOK, *SingleAdminGetGroupUnauthorized, *SingleAdminGetGroupNotFound, *SingleAdminGetGroupInternalServerError, error)
	SingleAdminGetGroupShort(params *SingleAdminGetGroupParams, authInfo runtime.ClientAuthInfoWriter) (*SingleAdminGetGroupOK, error)
	SingleAdminUpdateGroup(params *SingleAdminUpdateGroupParams, authInfo runtime.ClientAuthInfoWriter) (*SingleAdminUpdateGroupOK, *SingleAdminUpdateGroupBadRequest, *SingleAdminUpdateGroupUnauthorized, *SingleAdminUpdateGroupNotFound, *SingleAdminUpdateGroupInternalServerError, error)
	SingleAdminUpdateGroupShort(params *SingleAdminUpdateGroupParams, authInfo runtime.ClientAuthInfoWriter) (*SingleAdminUpdateGroupOK, error)
	SingleAdminDeleteGroup(params *SingleAdminDeleteGroupParams, authInfo runtime.ClientAuthInfoWriter) (*SingleAdminDeleteGroupNoContent, *SingleAdminDeleteGroupUnauthorized, *SingleAdminDeleteGroupNotFound, *SingleAdminDeleteGroupInternalServerError, error)
	SingleAdminDeleteGroupShort(params *SingleAdminDeleteGroupParams, authInfo runtime.ClientAuthInfoWriter) (*SingleAdminDeleteGroupNoContent, error)
	SingleAdminGetGroupContents(params *SingleAdminGetGroupContentsParams, authInfo runtime.ClientAuthInfoWriter) (*SingleAdminGetGroupContentsOK, *SingleAdminGetGroupContentsBadRequest, *SingleAdminGetGroupContentsUnauthorized, *SingleAdminGetGroupContentsNotFound, *SingleAdminGetGroupContentsInternalServerError, error)
	SingleAdminGetGroupContentsShort(params *SingleAdminGetGroupContentsParams, authInfo runtime.ClientAuthInfoWriter) (*SingleAdminGetGroupContentsOK, error)
	AdminGetAllGroups(params *AdminGetAllGroupsParams, authInfo runtime.ClientAuthInfoWriter) (*AdminGetAllGroupsOK, *AdminGetAllGroupsBadRequest, *AdminGetAllGroupsUnauthorized, *AdminGetAllGroupsInternalServerError, error)
	AdminGetAllGroupsShort(params *AdminGetAllGroupsParams, authInfo runtime.ClientAuthInfoWriter) (*AdminGetAllGroupsOK, error)
	AdminGetGroup(params *AdminGetGroupParams, authInfo runtime.ClientAuthInfoWriter) (*AdminGetGroupOK, *AdminGetGroupUnauthorized, *AdminGetGroupNotFound, *AdminGetGroupInternalServerError, error)
	AdminGetGroupShort(params *AdminGetGroupParams, authInfo runtime.ClientAuthInfoWriter) (*AdminGetGroupOK, error)
	AdminUpdateGroup(params *AdminUpdateGroupParams, authInfo runtime.ClientAuthInfoWriter) (*AdminUpdateGroupOK, *AdminUpdateGroupBadRequest, *AdminUpdateGroupUnauthorized, *AdminUpdateGroupNotFound, *AdminUpdateGroupInternalServerError, error)
	AdminUpdateGroupShort(params *AdminUpdateGroupParams, authInfo runtime.ClientAuthInfoWriter) (*AdminUpdateGroupOK, error)
	AdminDeleteGroup(params *AdminDeleteGroupParams, authInfo runtime.ClientAuthInfoWriter) (*AdminDeleteGroupNoContent, *AdminDeleteGroupUnauthorized, *AdminDeleteGroupNotFound, *AdminDeleteGroupInternalServerError, error)
	AdminDeleteGroupShort(params *AdminDeleteGroupParams, authInfo runtime.ClientAuthInfoWriter) (*AdminDeleteGroupNoContent, error)
	AdminGetGroupContents(params *AdminGetGroupContentsParams, authInfo runtime.ClientAuthInfoWriter) (*AdminGetGroupContentsOK, *AdminGetGroupContentsBadRequest, *AdminGetGroupContentsUnauthorized, *AdminGetGroupContentsNotFound, *AdminGetGroupContentsInternalServerError, error)
	AdminGetGroupContentsShort(params *AdminGetGroupContentsParams, authInfo runtime.ClientAuthInfoWriter) (*AdminGetGroupContentsOK, error)
	AdminGetOfficialGroupContentsV2(params *AdminGetOfficialGroupContentsV2Params, authInfo runtime.ClientAuthInfoWriter) (*AdminGetOfficialGroupContentsV2OK, *AdminGetOfficialGroupContentsV2BadRequest, *AdminGetOfficialGroupContentsV2Unauthorized, *AdminGetOfficialGroupContentsV2NotFound, *AdminGetOfficialGroupContentsV2InternalServerError, error)
	AdminGetOfficialGroupContentsV2Short(params *AdminGetOfficialGroupContentsV2Params, authInfo runtime.ClientAuthInfoWriter) (*AdminGetOfficialGroupContentsV2OK, error)
	AdminGetUserGroupContentsV2(params *AdminGetUserGroupContentsV2Params, authInfo runtime.ClientAuthInfoWriter) (*AdminGetUserGroupContentsV2OK, *AdminGetUserGroupContentsV2BadRequest, *AdminGetUserGroupContentsV2Unauthorized, *AdminGetUserGroupContentsV2NotFound, *AdminGetUserGroupContentsV2InternalServerError, error)
	AdminGetUserGroupContentsV2Short(params *AdminGetUserGroupContentsV2Params, authInfo runtime.ClientAuthInfoWriter) (*AdminGetUserGroupContentsV2OK, 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 admin group API client.

type SingleAdminDeleteGroupInternalServerError

type SingleAdminDeleteGroupInternalServerError struct {
	Payload *ugcclientmodels.ResponseError
}

SingleAdminDeleteGroupInternalServerError handles this case with default header values.

<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>772402</td><td>Unable delete groups</td></tr></table>

func NewSingleAdminDeleteGroupInternalServerError

func NewSingleAdminDeleteGroupInternalServerError() *SingleAdminDeleteGroupInternalServerError

NewSingleAdminDeleteGroupInternalServerError creates a SingleAdminDeleteGroupInternalServerError with default headers values

func (*SingleAdminDeleteGroupInternalServerError) Error

func (*SingleAdminDeleteGroupInternalServerError) GetPayload

func (*SingleAdminDeleteGroupInternalServerError) ToJSONString added in v0.25.0

type SingleAdminDeleteGroupNoContent

type SingleAdminDeleteGroupNoContent struct {
}

SingleAdminDeleteGroupNoContent handles this case with default header values.

Group deleted

func NewSingleAdminDeleteGroupNoContent

func NewSingleAdminDeleteGroupNoContent() *SingleAdminDeleteGroupNoContent

NewSingleAdminDeleteGroupNoContent creates a SingleAdminDeleteGroupNoContent with default headers values

func (*SingleAdminDeleteGroupNoContent) Error

type SingleAdminDeleteGroupNotFound

type SingleAdminDeleteGroupNotFound struct {
	Payload *ugcclientmodels.ResponseError
}

SingleAdminDeleteGroupNotFound handles this case with default header values.

<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>772403</td><td>Group not found</td></tr></table>

func NewSingleAdminDeleteGroupNotFound

func NewSingleAdminDeleteGroupNotFound() *SingleAdminDeleteGroupNotFound

NewSingleAdminDeleteGroupNotFound creates a SingleAdminDeleteGroupNotFound with default headers values

func (*SingleAdminDeleteGroupNotFound) Error

func (*SingleAdminDeleteGroupNotFound) GetPayload

func (*SingleAdminDeleteGroupNotFound) ToJSONString added in v0.25.0

func (o *SingleAdminDeleteGroupNotFound) ToJSONString() string

type SingleAdminDeleteGroupParams

type SingleAdminDeleteGroupParams struct {

	/*RetryPolicy*/
	RetryPolicy *utils.Retry
	/*GroupID
	  group ID

	*/
	GroupID string
	/*Namespace
	  namespace of the game

	*/
	Namespace string

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

SingleAdminDeleteGroupParams contains all the parameters to send to the API endpoint for the single admin delete group operation typically these are written to a http.Request

func NewSingleAdminDeleteGroupParams

func NewSingleAdminDeleteGroupParams() *SingleAdminDeleteGroupParams

NewSingleAdminDeleteGroupParams creates a new SingleAdminDeleteGroupParams object with the default values initialized.

func NewSingleAdminDeleteGroupParamsWithContext

func NewSingleAdminDeleteGroupParamsWithContext(ctx context.Context) *SingleAdminDeleteGroupParams

NewSingleAdminDeleteGroupParamsWithContext creates a new SingleAdminDeleteGroupParams object with the default values initialized, and the ability to set a context for a request

func NewSingleAdminDeleteGroupParamsWithHTTPClient

func NewSingleAdminDeleteGroupParamsWithHTTPClient(client *http.Client) *SingleAdminDeleteGroupParams

NewSingleAdminDeleteGroupParamsWithHTTPClient creates a new SingleAdminDeleteGroupParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewSingleAdminDeleteGroupParamsWithTimeout

func NewSingleAdminDeleteGroupParamsWithTimeout(timeout time.Duration) *SingleAdminDeleteGroupParams

NewSingleAdminDeleteGroupParamsWithTimeout creates a new SingleAdminDeleteGroupParams object with the default values initialized, and the ability to set a timeout on a request

func (*SingleAdminDeleteGroupParams) SetAuthInfoWriter added in v0.17.0

func (o *SingleAdminDeleteGroupParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)

SetAuthInfoWriter adds the authInfoWriter to the single admin delete group params

func (*SingleAdminDeleteGroupParams) SetContext

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

SetContext adds the context to the single admin delete group params

func (*SingleAdminDeleteGroupParams) SetGroupID

func (o *SingleAdminDeleteGroupParams) SetGroupID(groupID string)

SetGroupID adds the groupId to the single admin delete group params

func (*SingleAdminDeleteGroupParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the single admin delete group params

func (*SingleAdminDeleteGroupParams) SetHTTPClientTransport added in v0.19.0

func (o *SingleAdminDeleteGroupParams) SetHTTPClientTransport(roundTripper http.RoundTripper)

SetHTTPClient adds the HTTPClient Transport to the single admin delete group params

func (*SingleAdminDeleteGroupParams) SetNamespace

func (o *SingleAdminDeleteGroupParams) SetNamespace(namespace string)

SetNamespace adds the namespace to the single admin delete group params

func (*SingleAdminDeleteGroupParams) SetTimeout

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

SetTimeout adds the timeout to the single admin delete group params

func (*SingleAdminDeleteGroupParams) WithContext

WithContext adds the context to the single admin delete group params

func (*SingleAdminDeleteGroupParams) WithGroupID

WithGroupID adds the groupID to the single admin delete group params

func (*SingleAdminDeleteGroupParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the single admin delete group params

func (*SingleAdminDeleteGroupParams) WithNamespace

WithNamespace adds the namespace to the single admin delete group params

func (*SingleAdminDeleteGroupParams) WithTimeout

WithTimeout adds the timeout to the single admin delete group params

func (*SingleAdminDeleteGroupParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type SingleAdminDeleteGroupReader

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

SingleAdminDeleteGroupReader is a Reader for the SingleAdminDeleteGroup structure.

func (*SingleAdminDeleteGroupReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type SingleAdminDeleteGroupUnauthorized

type SingleAdminDeleteGroupUnauthorized struct {
	Payload *ugcclientmodels.ResponseError
}

SingleAdminDeleteGroupUnauthorized handles this case with default header values.

<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>20001</td><td>unauthorized access</td></tr></table>

func NewSingleAdminDeleteGroupUnauthorized

func NewSingleAdminDeleteGroupUnauthorized() *SingleAdminDeleteGroupUnauthorized

NewSingleAdminDeleteGroupUnauthorized creates a SingleAdminDeleteGroupUnauthorized with default headers values

func (*SingleAdminDeleteGroupUnauthorized) Error

func (*SingleAdminDeleteGroupUnauthorized) GetPayload

func (*SingleAdminDeleteGroupUnauthorized) ToJSONString added in v0.25.0

func (o *SingleAdminDeleteGroupUnauthorized) ToJSONString() string

type SingleAdminGetAllGroupsBadRequest added in v0.60.0

type SingleAdminGetAllGroupsBadRequest struct {
	Payload *ugcclientmodels.ResponseError
}

SingleAdminGetAllGroupsBadRequest handles this case with default header values.

<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>772301</td><td>invalid paging parameter</td></tr></table>

func NewSingleAdminGetAllGroupsBadRequest added in v0.60.0

func NewSingleAdminGetAllGroupsBadRequest() *SingleAdminGetAllGroupsBadRequest

NewSingleAdminGetAllGroupsBadRequest creates a SingleAdminGetAllGroupsBadRequest with default headers values

func (*SingleAdminGetAllGroupsBadRequest) Error added in v0.60.0

func (*SingleAdminGetAllGroupsBadRequest) GetPayload added in v0.60.0

func (*SingleAdminGetAllGroupsBadRequest) ToJSONString added in v0.60.0

func (o *SingleAdminGetAllGroupsBadRequest) ToJSONString() string

type SingleAdminGetAllGroupsInternalServerError

type SingleAdminGetAllGroupsInternalServerError struct {
	Payload *ugcclientmodels.ResponseError
}

SingleAdminGetAllGroupsInternalServerError handles this case with default header values.

<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>772302</td><td>Unable get groups</td></tr></table>

func NewSingleAdminGetAllGroupsInternalServerError

func NewSingleAdminGetAllGroupsInternalServerError() *SingleAdminGetAllGroupsInternalServerError

NewSingleAdminGetAllGroupsInternalServerError creates a SingleAdminGetAllGroupsInternalServerError with default headers values

func (*SingleAdminGetAllGroupsInternalServerError) Error

func (*SingleAdminGetAllGroupsInternalServerError) GetPayload

func (*SingleAdminGetAllGroupsInternalServerError) ToJSONString added in v0.25.0

type SingleAdminGetAllGroupsOK

type SingleAdminGetAllGroupsOK struct {
	Payload *ugcclientmodels.ModelsPaginatedGroupResponse
}

SingleAdminGetAllGroupsOK handles this case with default header values.

Get all user group

func NewSingleAdminGetAllGroupsOK

func NewSingleAdminGetAllGroupsOK() *SingleAdminGetAllGroupsOK

NewSingleAdminGetAllGroupsOK creates a SingleAdminGetAllGroupsOK with default headers values

func (*SingleAdminGetAllGroupsOK) Error

func (o *SingleAdminGetAllGroupsOK) Error() string

func (*SingleAdminGetAllGroupsOK) GetPayload

func (*SingleAdminGetAllGroupsOK) ToJSONString added in v0.25.0

func (o *SingleAdminGetAllGroupsOK) ToJSONString() string

type SingleAdminGetAllGroupsParams

type SingleAdminGetAllGroupsParams struct {

	/*RetryPolicy*/
	RetryPolicy *utils.Retry
	/*Namespace
	  namespace of the game

	*/
	Namespace string
	/*Limit
	  number of content per page

	*/
	Limit *int64
	/*Offset
	  the offset number to retrieve

	*/
	Offset *int64

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

SingleAdminGetAllGroupsParams contains all the parameters to send to the API endpoint for the single admin get all groups operation typically these are written to a http.Request

func NewSingleAdminGetAllGroupsParams

func NewSingleAdminGetAllGroupsParams() *SingleAdminGetAllGroupsParams

NewSingleAdminGetAllGroupsParams creates a new SingleAdminGetAllGroupsParams object with the default values initialized.

func NewSingleAdminGetAllGroupsParamsWithContext

func NewSingleAdminGetAllGroupsParamsWithContext(ctx context.Context) *SingleAdminGetAllGroupsParams

NewSingleAdminGetAllGroupsParamsWithContext creates a new SingleAdminGetAllGroupsParams object with the default values initialized, and the ability to set a context for a request

func NewSingleAdminGetAllGroupsParamsWithHTTPClient

func NewSingleAdminGetAllGroupsParamsWithHTTPClient(client *http.Client) *SingleAdminGetAllGroupsParams

NewSingleAdminGetAllGroupsParamsWithHTTPClient creates a new SingleAdminGetAllGroupsParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewSingleAdminGetAllGroupsParamsWithTimeout

func NewSingleAdminGetAllGroupsParamsWithTimeout(timeout time.Duration) *SingleAdminGetAllGroupsParams

NewSingleAdminGetAllGroupsParamsWithTimeout creates a new SingleAdminGetAllGroupsParams object with the default values initialized, and the ability to set a timeout on a request

func (*SingleAdminGetAllGroupsParams) SetAuthInfoWriter added in v0.17.0

func (o *SingleAdminGetAllGroupsParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)

SetAuthInfoWriter adds the authInfoWriter to the single admin get all groups params

func (*SingleAdminGetAllGroupsParams) SetContext

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

SetContext adds the context to the single admin get all groups params

func (*SingleAdminGetAllGroupsParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the single admin get all groups params

func (*SingleAdminGetAllGroupsParams) SetHTTPClientTransport added in v0.19.0

func (o *SingleAdminGetAllGroupsParams) SetHTTPClientTransport(roundTripper http.RoundTripper)

SetHTTPClient adds the HTTPClient Transport to the single admin get all groups params

func (*SingleAdminGetAllGroupsParams) SetLimit

func (o *SingleAdminGetAllGroupsParams) SetLimit(limit *int64)

SetLimit adds the limit to the single admin get all groups params

func (*SingleAdminGetAllGroupsParams) SetNamespace

func (o *SingleAdminGetAllGroupsParams) SetNamespace(namespace string)

SetNamespace adds the namespace to the single admin get all groups params

func (*SingleAdminGetAllGroupsParams) SetOffset

func (o *SingleAdminGetAllGroupsParams) SetOffset(offset *int64)

SetOffset adds the offset to the single admin get all groups params

func (*SingleAdminGetAllGroupsParams) SetTimeout

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

SetTimeout adds the timeout to the single admin get all groups params

func (*SingleAdminGetAllGroupsParams) WithContext

WithContext adds the context to the single admin get all groups params

func (*SingleAdminGetAllGroupsParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the single admin get all groups params

func (*SingleAdminGetAllGroupsParams) WithLimit

WithLimit adds the limit to the single admin get all groups params

func (*SingleAdminGetAllGroupsParams) WithNamespace

WithNamespace adds the namespace to the single admin get all groups params

func (*SingleAdminGetAllGroupsParams) WithOffset

WithOffset adds the offset to the single admin get all groups params

func (*SingleAdminGetAllGroupsParams) WithTimeout

WithTimeout adds the timeout to the single admin get all groups params

func (*SingleAdminGetAllGroupsParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type SingleAdminGetAllGroupsReader

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

SingleAdminGetAllGroupsReader is a Reader for the SingleAdminGetAllGroups structure.

func (*SingleAdminGetAllGroupsReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type SingleAdminGetAllGroupsUnauthorized

type SingleAdminGetAllGroupsUnauthorized struct {
	Payload *ugcclientmodels.ResponseError
}

SingleAdminGetAllGroupsUnauthorized handles this case with default header values.

<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>20001</td><td>unauthorized access</td></tr></table>

func NewSingleAdminGetAllGroupsUnauthorized

func NewSingleAdminGetAllGroupsUnauthorized() *SingleAdminGetAllGroupsUnauthorized

NewSingleAdminGetAllGroupsUnauthorized creates a SingleAdminGetAllGroupsUnauthorized with default headers values

func (*SingleAdminGetAllGroupsUnauthorized) Error

func (*SingleAdminGetAllGroupsUnauthorized) GetPayload

func (*SingleAdminGetAllGroupsUnauthorized) ToJSONString added in v0.25.0

func (o *SingleAdminGetAllGroupsUnauthorized) ToJSONString() string

type SingleAdminGetGroupContentsBadRequest added in v0.60.0

type SingleAdminGetGroupContentsBadRequest struct {
	Payload *ugcclientmodels.ResponseError
}

SingleAdminGetGroupContentsBadRequest handles this case with default header values.

<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>773101</td><td>invalid paging parameter</td></tr></table>

func NewSingleAdminGetGroupContentsBadRequest added in v0.60.0

func NewSingleAdminGetGroupContentsBadRequest() *SingleAdminGetGroupContentsBadRequest

NewSingleAdminGetGroupContentsBadRequest creates a SingleAdminGetGroupContentsBadRequest with default headers values

func (*SingleAdminGetGroupContentsBadRequest) Error added in v0.60.0

func (*SingleAdminGetGroupContentsBadRequest) GetPayload added in v0.60.0

func (*SingleAdminGetGroupContentsBadRequest) ToJSONString added in v0.60.0

type SingleAdminGetGroupContentsInternalServerError

type SingleAdminGetGroupContentsInternalServerError struct {
	Payload *ugcclientmodels.ResponseError
}

SingleAdminGetGroupContentsInternalServerError handles this case with default header values.

<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>773102</td><td>Unable to get ugc content: database error</td></tr><tr><td>770901</td><td>Unable to get ugc content: database error/Unable to get creator</td></tr><tr><td>770903</td><td>Failed generate download URL</td></tr></table>

func NewSingleAdminGetGroupContentsInternalServerError

func NewSingleAdminGetGroupContentsInternalServerError() *SingleAdminGetGroupContentsInternalServerError

NewSingleAdminGetGroupContentsInternalServerError creates a SingleAdminGetGroupContentsInternalServerError with default headers values

func (*SingleAdminGetGroupContentsInternalServerError) Error

func (*SingleAdminGetGroupContentsInternalServerError) GetPayload

func (*SingleAdminGetGroupContentsInternalServerError) ToJSONString added in v0.25.0

type SingleAdminGetGroupContentsNotFound

type SingleAdminGetGroupContentsNotFound struct {
	Payload *ugcclientmodels.ResponseError
}

SingleAdminGetGroupContentsNotFound handles this case with default header values.

<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>773103</td><td>No group content was found</td></tr></table>

func NewSingleAdminGetGroupContentsNotFound

func NewSingleAdminGetGroupContentsNotFound() *SingleAdminGetGroupContentsNotFound

NewSingleAdminGetGroupContentsNotFound creates a SingleAdminGetGroupContentsNotFound with default headers values

func (*SingleAdminGetGroupContentsNotFound) Error

func (*SingleAdminGetGroupContentsNotFound) GetPayload

func (*SingleAdminGetGroupContentsNotFound) ToJSONString added in v0.25.0

func (o *SingleAdminGetGroupContentsNotFound) ToJSONString() string

type SingleAdminGetGroupContentsOK

type SingleAdminGetGroupContentsOK struct {
	Payload *ugcclientmodels.ModelsPaginatedContentDownloadResponse
}

SingleAdminGetGroupContentsOK handles this case with default header values.

Get contents belong to a group

func NewSingleAdminGetGroupContentsOK

func NewSingleAdminGetGroupContentsOK() *SingleAdminGetGroupContentsOK

NewSingleAdminGetGroupContentsOK creates a SingleAdminGetGroupContentsOK with default headers values

func (*SingleAdminGetGroupContentsOK) Error

func (*SingleAdminGetGroupContentsOK) GetPayload

func (*SingleAdminGetGroupContentsOK) ToJSONString added in v0.25.0

func (o *SingleAdminGetGroupContentsOK) ToJSONString() string

type SingleAdminGetGroupContentsParams

type SingleAdminGetGroupContentsParams struct {

	/*RetryPolicy*/
	RetryPolicy *utils.Retry
	/*GroupID
	  group ID

	*/
	GroupID string
	/*Namespace
	  namespace of the game

	*/
	Namespace string
	/*Limit
	  number of content per page

	*/
	Limit *int64
	/*Offset
	  the offset number to retrieve

	*/
	Offset *int64

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

SingleAdminGetGroupContentsParams contains all the parameters to send to the API endpoint for the single admin get group contents operation typically these are written to a http.Request

func NewSingleAdminGetGroupContentsParams

func NewSingleAdminGetGroupContentsParams() *SingleAdminGetGroupContentsParams

NewSingleAdminGetGroupContentsParams creates a new SingleAdminGetGroupContentsParams object with the default values initialized.

func NewSingleAdminGetGroupContentsParamsWithContext

func NewSingleAdminGetGroupContentsParamsWithContext(ctx context.Context) *SingleAdminGetGroupContentsParams

NewSingleAdminGetGroupContentsParamsWithContext creates a new SingleAdminGetGroupContentsParams object with the default values initialized, and the ability to set a context for a request

func NewSingleAdminGetGroupContentsParamsWithHTTPClient

func NewSingleAdminGetGroupContentsParamsWithHTTPClient(client *http.Client) *SingleAdminGetGroupContentsParams

NewSingleAdminGetGroupContentsParamsWithHTTPClient creates a new SingleAdminGetGroupContentsParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewSingleAdminGetGroupContentsParamsWithTimeout

func NewSingleAdminGetGroupContentsParamsWithTimeout(timeout time.Duration) *SingleAdminGetGroupContentsParams

NewSingleAdminGetGroupContentsParamsWithTimeout creates a new SingleAdminGetGroupContentsParams object with the default values initialized, and the ability to set a timeout on a request

func (*SingleAdminGetGroupContentsParams) SetAuthInfoWriter added in v0.17.0

func (o *SingleAdminGetGroupContentsParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)

SetAuthInfoWriter adds the authInfoWriter to the single admin get group contents params

func (*SingleAdminGetGroupContentsParams) SetContext

SetContext adds the context to the single admin get group contents params

func (*SingleAdminGetGroupContentsParams) SetGroupID

func (o *SingleAdminGetGroupContentsParams) SetGroupID(groupID string)

SetGroupID adds the groupId to the single admin get group contents params

func (*SingleAdminGetGroupContentsParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the single admin get group contents params

func (*SingleAdminGetGroupContentsParams) SetHTTPClientTransport added in v0.19.0

func (o *SingleAdminGetGroupContentsParams) SetHTTPClientTransport(roundTripper http.RoundTripper)

SetHTTPClient adds the HTTPClient Transport to the single admin get group contents params

func (*SingleAdminGetGroupContentsParams) SetLimit

func (o *SingleAdminGetGroupContentsParams) SetLimit(limit *int64)

SetLimit adds the limit to the single admin get group contents params

func (*SingleAdminGetGroupContentsParams) SetNamespace

func (o *SingleAdminGetGroupContentsParams) SetNamespace(namespace string)

SetNamespace adds the namespace to the single admin get group contents params

func (*SingleAdminGetGroupContentsParams) SetOffset

func (o *SingleAdminGetGroupContentsParams) SetOffset(offset *int64)

SetOffset adds the offset to the single admin get group contents params

func (*SingleAdminGetGroupContentsParams) SetTimeout

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

SetTimeout adds the timeout to the single admin get group contents params

func (*SingleAdminGetGroupContentsParams) WithContext

WithContext adds the context to the single admin get group contents params

func (*SingleAdminGetGroupContentsParams) WithGroupID

WithGroupID adds the groupID to the single admin get group contents params

func (*SingleAdminGetGroupContentsParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the single admin get group contents params

func (*SingleAdminGetGroupContentsParams) WithLimit

WithLimit adds the limit to the single admin get group contents params

func (*SingleAdminGetGroupContentsParams) WithNamespace

WithNamespace adds the namespace to the single admin get group contents params

func (*SingleAdminGetGroupContentsParams) WithOffset

WithOffset adds the offset to the single admin get group contents params

func (*SingleAdminGetGroupContentsParams) WithTimeout

WithTimeout adds the timeout to the single admin get group contents params

func (*SingleAdminGetGroupContentsParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type SingleAdminGetGroupContentsReader

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

SingleAdminGetGroupContentsReader is a Reader for the SingleAdminGetGroupContents structure.

func (*SingleAdminGetGroupContentsReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type SingleAdminGetGroupContentsUnauthorized

type SingleAdminGetGroupContentsUnauthorized struct {
	Payload *ugcclientmodels.ResponseError
}

SingleAdminGetGroupContentsUnauthorized handles this case with default header values.

<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>20001</td><td>unauthorized access</td></tr></table>

func NewSingleAdminGetGroupContentsUnauthorized

func NewSingleAdminGetGroupContentsUnauthorized() *SingleAdminGetGroupContentsUnauthorized

NewSingleAdminGetGroupContentsUnauthorized creates a SingleAdminGetGroupContentsUnauthorized with default headers values

func (*SingleAdminGetGroupContentsUnauthorized) Error

func (*SingleAdminGetGroupContentsUnauthorized) GetPayload

func (*SingleAdminGetGroupContentsUnauthorized) ToJSONString added in v0.25.0

type SingleAdminGetGroupInternalServerError

type SingleAdminGetGroupInternalServerError struct {
	Payload *ugcclientmodels.ResponseError
}

SingleAdminGetGroupInternalServerError handles this case with default header values.

<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>773001</td><td>Unable get group</td></tr></table>

func NewSingleAdminGetGroupInternalServerError

func NewSingleAdminGetGroupInternalServerError() *SingleAdminGetGroupInternalServerError

NewSingleAdminGetGroupInternalServerError creates a SingleAdminGetGroupInternalServerError with default headers values

func (*SingleAdminGetGroupInternalServerError) Error

func (*SingleAdminGetGroupInternalServerError) GetPayload

func (*SingleAdminGetGroupInternalServerError) ToJSONString added in v0.25.0

type SingleAdminGetGroupNotFound

type SingleAdminGetGroupNotFound struct {
	Payload *ugcclientmodels.ResponseError
}

SingleAdminGetGroupNotFound handles this case with default header values.

<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>773002</td><td>Group not found</td></tr></table>

func NewSingleAdminGetGroupNotFound

func NewSingleAdminGetGroupNotFound() *SingleAdminGetGroupNotFound

NewSingleAdminGetGroupNotFound creates a SingleAdminGetGroupNotFound with default headers values

func (*SingleAdminGetGroupNotFound) Error

func (*SingleAdminGetGroupNotFound) GetPayload

func (*SingleAdminGetGroupNotFound) ToJSONString added in v0.25.0

func (o *SingleAdminGetGroupNotFound) ToJSONString() string

type SingleAdminGetGroupOK

type SingleAdminGetGroupOK struct {
	Payload *ugcclientmodels.ModelsCreateGroupResponse
}

SingleAdminGetGroupOK handles this case with default header values.

Get specific group

func NewSingleAdminGetGroupOK

func NewSingleAdminGetGroupOK() *SingleAdminGetGroupOK

NewSingleAdminGetGroupOK creates a SingleAdminGetGroupOK with default headers values

func (*SingleAdminGetGroupOK) Error

func (o *SingleAdminGetGroupOK) Error() string

func (*SingleAdminGetGroupOK) GetPayload

func (*SingleAdminGetGroupOK) ToJSONString added in v0.25.0

func (o *SingleAdminGetGroupOK) ToJSONString() string

type SingleAdminGetGroupParams

type SingleAdminGetGroupParams struct {

	/*RetryPolicy*/
	RetryPolicy *utils.Retry
	/*GroupID
	  group ID

	*/
	GroupID string
	/*Namespace
	  namespace of the game

	*/
	Namespace string

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

SingleAdminGetGroupParams contains all the parameters to send to the API endpoint for the single admin get group operation typically these are written to a http.Request

func NewSingleAdminGetGroupParams

func NewSingleAdminGetGroupParams() *SingleAdminGetGroupParams

NewSingleAdminGetGroupParams creates a new SingleAdminGetGroupParams object with the default values initialized.

func NewSingleAdminGetGroupParamsWithContext

func NewSingleAdminGetGroupParamsWithContext(ctx context.Context) *SingleAdminGetGroupParams

NewSingleAdminGetGroupParamsWithContext creates a new SingleAdminGetGroupParams object with the default values initialized, and the ability to set a context for a request

func NewSingleAdminGetGroupParamsWithHTTPClient

func NewSingleAdminGetGroupParamsWithHTTPClient(client *http.Client) *SingleAdminGetGroupParams

NewSingleAdminGetGroupParamsWithHTTPClient creates a new SingleAdminGetGroupParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewSingleAdminGetGroupParamsWithTimeout

func NewSingleAdminGetGroupParamsWithTimeout(timeout time.Duration) *SingleAdminGetGroupParams

NewSingleAdminGetGroupParamsWithTimeout creates a new SingleAdminGetGroupParams object with the default values initialized, and the ability to set a timeout on a request

func (*SingleAdminGetGroupParams) SetAuthInfoWriter added in v0.17.0

func (o *SingleAdminGetGroupParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)

SetAuthInfoWriter adds the authInfoWriter to the single admin get group params

func (*SingleAdminGetGroupParams) SetContext

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

SetContext adds the context to the single admin get group params

func (*SingleAdminGetGroupParams) SetGroupID

func (o *SingleAdminGetGroupParams) SetGroupID(groupID string)

SetGroupID adds the groupId to the single admin get group params

func (*SingleAdminGetGroupParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the single admin get group params

func (*SingleAdminGetGroupParams) SetHTTPClientTransport added in v0.19.0

func (o *SingleAdminGetGroupParams) SetHTTPClientTransport(roundTripper http.RoundTripper)

SetHTTPClient adds the HTTPClient Transport to the single admin get group params

func (*SingleAdminGetGroupParams) SetNamespace

func (o *SingleAdminGetGroupParams) SetNamespace(namespace string)

SetNamespace adds the namespace to the single admin get group params

func (*SingleAdminGetGroupParams) SetTimeout

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

SetTimeout adds the timeout to the single admin get group params

func (*SingleAdminGetGroupParams) WithContext

WithContext adds the context to the single admin get group params

func (*SingleAdminGetGroupParams) WithGroupID

WithGroupID adds the groupID to the single admin get group params

func (*SingleAdminGetGroupParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the single admin get group params

func (*SingleAdminGetGroupParams) WithNamespace

func (o *SingleAdminGetGroupParams) WithNamespace(namespace string) *SingleAdminGetGroupParams

WithNamespace adds the namespace to the single admin get group params

func (*SingleAdminGetGroupParams) WithTimeout

WithTimeout adds the timeout to the single admin get group params

func (*SingleAdminGetGroupParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type SingleAdminGetGroupReader

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

SingleAdminGetGroupReader is a Reader for the SingleAdminGetGroup structure.

func (*SingleAdminGetGroupReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type SingleAdminGetGroupUnauthorized

type SingleAdminGetGroupUnauthorized struct {
	Payload *ugcclientmodels.ResponseError
}

SingleAdminGetGroupUnauthorized handles this case with default header values.

<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>20001</td><td>unauthorized access</td></tr></table>

func NewSingleAdminGetGroupUnauthorized

func NewSingleAdminGetGroupUnauthorized() *SingleAdminGetGroupUnauthorized

NewSingleAdminGetGroupUnauthorized creates a SingleAdminGetGroupUnauthorized with default headers values

func (*SingleAdminGetGroupUnauthorized) Error

func (*SingleAdminGetGroupUnauthorized) GetPayload

func (*SingleAdminGetGroupUnauthorized) ToJSONString added in v0.25.0

func (o *SingleAdminGetGroupUnauthorized) ToJSONString() string

type SingleAdminUpdateGroupBadRequest

type SingleAdminUpdateGroupBadRequest struct {
	Payload *ugcclientmodels.ResponseError
}

SingleAdminUpdateGroupBadRequest handles this case with default header values.

<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>772201</td><td>Malformed request/Invalid request body</td></tr></table>

func NewSingleAdminUpdateGroupBadRequest

func NewSingleAdminUpdateGroupBadRequest() *SingleAdminUpdateGroupBadRequest

NewSingleAdminUpdateGroupBadRequest creates a SingleAdminUpdateGroupBadRequest with default headers values

func (*SingleAdminUpdateGroupBadRequest) Error

func (*SingleAdminUpdateGroupBadRequest) GetPayload

func (*SingleAdminUpdateGroupBadRequest) ToJSONString added in v0.25.0

func (o *SingleAdminUpdateGroupBadRequest) ToJSONString() string

type SingleAdminUpdateGroupInternalServerError

type SingleAdminUpdateGroupInternalServerError struct {
	Payload *ugcclientmodels.ResponseError
}

SingleAdminUpdateGroupInternalServerError handles this case with default header values.

<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>772202</td><td>Unable to update group</td></tr></table>

func NewSingleAdminUpdateGroupInternalServerError

func NewSingleAdminUpdateGroupInternalServerError() *SingleAdminUpdateGroupInternalServerError

NewSingleAdminUpdateGroupInternalServerError creates a SingleAdminUpdateGroupInternalServerError with default headers values

func (*SingleAdminUpdateGroupInternalServerError) Error

func (*SingleAdminUpdateGroupInternalServerError) GetPayload

func (*SingleAdminUpdateGroupInternalServerError) ToJSONString added in v0.25.0

type SingleAdminUpdateGroupNotFound

type SingleAdminUpdateGroupNotFound struct {
	Payload *ugcclientmodels.ResponseError
}

SingleAdminUpdateGroupNotFound handles this case with default header values.

<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>772203</td><td>Group not found</td></tr></table>

func NewSingleAdminUpdateGroupNotFound

func NewSingleAdminUpdateGroupNotFound() *SingleAdminUpdateGroupNotFound

NewSingleAdminUpdateGroupNotFound creates a SingleAdminUpdateGroupNotFound with default headers values

func (*SingleAdminUpdateGroupNotFound) Error

func (*SingleAdminUpdateGroupNotFound) GetPayload

func (*SingleAdminUpdateGroupNotFound) ToJSONString added in v0.25.0

func (o *SingleAdminUpdateGroupNotFound) ToJSONString() string

type SingleAdminUpdateGroupOK

type SingleAdminUpdateGroupOK struct {
	Payload *ugcclientmodels.ModelsCreateGroupResponse
}

SingleAdminUpdateGroupOK handles this case with default header values.

Group updated

func NewSingleAdminUpdateGroupOK

func NewSingleAdminUpdateGroupOK() *SingleAdminUpdateGroupOK

NewSingleAdminUpdateGroupOK creates a SingleAdminUpdateGroupOK with default headers values

func (*SingleAdminUpdateGroupOK) Error

func (o *SingleAdminUpdateGroupOK) Error() string

func (*SingleAdminUpdateGroupOK) GetPayload

func (*SingleAdminUpdateGroupOK) ToJSONString added in v0.25.0

func (o *SingleAdminUpdateGroupOK) ToJSONString() string

type SingleAdminUpdateGroupParams

type SingleAdminUpdateGroupParams struct {

	/*RetryPolicy*/
	RetryPolicy *utils.Retry
	/*Body*/
	Body *ugcclientmodels.ModelsCreateGroupRequest
	/*GroupID
	  group ID

	*/
	GroupID string
	/*Namespace
	  namespace of the game

	*/
	Namespace string

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

SingleAdminUpdateGroupParams contains all the parameters to send to the API endpoint for the single admin update group operation typically these are written to a http.Request

func NewSingleAdminUpdateGroupParams

func NewSingleAdminUpdateGroupParams() *SingleAdminUpdateGroupParams

NewSingleAdminUpdateGroupParams creates a new SingleAdminUpdateGroupParams object with the default values initialized.

func NewSingleAdminUpdateGroupParamsWithContext

func NewSingleAdminUpdateGroupParamsWithContext(ctx context.Context) *SingleAdminUpdateGroupParams

NewSingleAdminUpdateGroupParamsWithContext creates a new SingleAdminUpdateGroupParams object with the default values initialized, and the ability to set a context for a request

func NewSingleAdminUpdateGroupParamsWithHTTPClient

func NewSingleAdminUpdateGroupParamsWithHTTPClient(client *http.Client) *SingleAdminUpdateGroupParams

NewSingleAdminUpdateGroupParamsWithHTTPClient creates a new SingleAdminUpdateGroupParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewSingleAdminUpdateGroupParamsWithTimeout

func NewSingleAdminUpdateGroupParamsWithTimeout(timeout time.Duration) *SingleAdminUpdateGroupParams

NewSingleAdminUpdateGroupParamsWithTimeout creates a new SingleAdminUpdateGroupParams object with the default values initialized, and the ability to set a timeout on a request

func (*SingleAdminUpdateGroupParams) SetAuthInfoWriter added in v0.17.0

func (o *SingleAdminUpdateGroupParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)

SetAuthInfoWriter adds the authInfoWriter to the single admin update group params

func (*SingleAdminUpdateGroupParams) SetBody

SetBody adds the body to the single admin update group params

func (*SingleAdminUpdateGroupParams) SetContext

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

SetContext adds the context to the single admin update group params

func (*SingleAdminUpdateGroupParams) SetGroupID

func (o *SingleAdminUpdateGroupParams) SetGroupID(groupID string)

SetGroupID adds the groupId to the single admin update group params

func (*SingleAdminUpdateGroupParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the single admin update group params

func (*SingleAdminUpdateGroupParams) SetHTTPClientTransport added in v0.19.0

func (o *SingleAdminUpdateGroupParams) SetHTTPClientTransport(roundTripper http.RoundTripper)

SetHTTPClient adds the HTTPClient Transport to the single admin update group params

func (*SingleAdminUpdateGroupParams) SetNamespace

func (o *SingleAdminUpdateGroupParams) SetNamespace(namespace string)

SetNamespace adds the namespace to the single admin update group params

func (*SingleAdminUpdateGroupParams) SetTimeout

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

SetTimeout adds the timeout to the single admin update group params

func (*SingleAdminUpdateGroupParams) WithBody

WithBody adds the body to the single admin update group params

func (*SingleAdminUpdateGroupParams) WithContext

WithContext adds the context to the single admin update group params

func (*SingleAdminUpdateGroupParams) WithGroupID

WithGroupID adds the groupID to the single admin update group params

func (*SingleAdminUpdateGroupParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the single admin update group params

func (*SingleAdminUpdateGroupParams) WithNamespace

WithNamespace adds the namespace to the single admin update group params

func (*SingleAdminUpdateGroupParams) WithTimeout

WithTimeout adds the timeout to the single admin update group params

func (*SingleAdminUpdateGroupParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type SingleAdminUpdateGroupReader

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

SingleAdminUpdateGroupReader is a Reader for the SingleAdminUpdateGroup structure.

func (*SingleAdminUpdateGroupReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type SingleAdminUpdateGroupUnauthorized

type SingleAdminUpdateGroupUnauthorized struct {
	Payload *ugcclientmodels.ResponseError
}

SingleAdminUpdateGroupUnauthorized handles this case with default header values.

<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>20001</td><td>unauthorized access</td></tr></table>

func NewSingleAdminUpdateGroupUnauthorized

func NewSingleAdminUpdateGroupUnauthorized() *SingleAdminUpdateGroupUnauthorized

NewSingleAdminUpdateGroupUnauthorized creates a SingleAdminUpdateGroupUnauthorized with default headers values

func (*SingleAdminUpdateGroupUnauthorized) Error

func (*SingleAdminUpdateGroupUnauthorized) GetPayload

func (*SingleAdminUpdateGroupUnauthorized) ToJSONString added in v0.25.0

func (o *SingleAdminUpdateGroupUnauthorized) ToJSONString() string

Jump to

Keyboard shortcuts

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