public_group

package
v0.1.0-alpha.9 Latest Latest
Warning

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

Go to latest
Published: Mar 13, 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 Client

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

Client for public group API

func (*Client) CreateGroup deprecated

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

CreateGroup create groups Create group

func (*Client) CreateGroupShort

func (a *Client) CreateGroupShort(params *CreateGroupParams, authInfo runtime.ClientAuthInfoWriter) (*CreateGroupCreated, error)

CreateGroupShort create groups Create group

func (*Client) DeleteGroup deprecated

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

DeleteGroup delete group Delete user group by group ID

func (*Client) DeleteGroupShort

func (a *Client) DeleteGroupShort(params *DeleteGroupParams, authInfo runtime.ClientAuthInfoWriter) (*DeleteGroupNoContent, error)

DeleteGroupShort delete group Delete user group by group ID

func (*Client) GetGroup deprecated

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

GetGroup get user's groups Get user groups by group ID

func (*Client) GetGroupContent deprecated

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

GetGroupContent (legacy) get contents belong to a group Get content that belong to a group

func (*Client) GetGroupContentShort

func (a *Client) GetGroupContentShort(params *GetGroupContentParams, authInfo runtime.ClientAuthInfoWriter) (*GetGroupContentOK, error)

GetGroupContentShort (legacy) get contents belong to a group Get content that belong to a group

func (*Client) GetGroupShort

func (a *Client) GetGroupShort(params *GetGroupParams, authInfo runtime.ClientAuthInfoWriter) (*GetGroupOK, error)

GetGroupShort get user's groups Get user groups by group ID

func (*Client) GetGroups deprecated

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

GetGroups get all user groups Get user groups paginated

func (*Client) GetGroupsShort

func (a *Client) GetGroupsShort(params *GetGroupsParams, authInfo runtime.ClientAuthInfoWriter) (*GetGroupsOK, error)

GetGroupsShort get all user groups Get user groups paginated

func (*Client) PublicGetGroupContentsV2 deprecated

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

PublicGetGroupContentsV2 get contents belong to a group Get content belong to a group

func (*Client) PublicGetGroupContentsV2Short

func (a *Client) PublicGetGroupContentsV2Short(params *PublicGetGroupContentsV2Params, authInfo runtime.ClientAuthInfoWriter) (*PublicGetGroupContentsV2OK, error)

PublicGetGroupContentsV2Short get contents belong to a group Get content belong to a group

func (*Client) SetTransport

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

SetTransport changes the transport on the client

func (*Client) UpdateGroup deprecated

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

UpdateGroup update group Replace group name and contents with new ones

func (*Client) UpdateGroupShort

func (a *Client) UpdateGroupShort(params *UpdateGroupParams, authInfo runtime.ClientAuthInfoWriter) (*UpdateGroupOK, error)

UpdateGroupShort update group Replace group name and contents with new ones

type ClientService

type ClientService interface {
	GetGroups(params *GetGroupsParams, authInfo runtime.ClientAuthInfoWriter) (*GetGroupsOK, *GetGroupsBadRequest, *GetGroupsUnauthorized, *GetGroupsInternalServerError, error)
	GetGroupsShort(params *GetGroupsParams, authInfo runtime.ClientAuthInfoWriter) (*GetGroupsOK, error)
	CreateGroup(params *CreateGroupParams, authInfo runtime.ClientAuthInfoWriter) (*CreateGroupCreated, *CreateGroupBadRequest, *CreateGroupUnauthorized, *CreateGroupInternalServerError, error)
	CreateGroupShort(params *CreateGroupParams, authInfo runtime.ClientAuthInfoWriter) (*CreateGroupCreated, error)
	GetGroup(params *GetGroupParams, authInfo runtime.ClientAuthInfoWriter) (*GetGroupOK, *GetGroupUnauthorized, *GetGroupNotFound, *GetGroupInternalServerError, error)
	GetGroupShort(params *GetGroupParams, authInfo runtime.ClientAuthInfoWriter) (*GetGroupOK, error)
	UpdateGroup(params *UpdateGroupParams, authInfo runtime.ClientAuthInfoWriter) (*UpdateGroupOK, *UpdateGroupBadRequest, *UpdateGroupUnauthorized, *UpdateGroupNotFound, *UpdateGroupInternalServerError, error)
	UpdateGroupShort(params *UpdateGroupParams, authInfo runtime.ClientAuthInfoWriter) (*UpdateGroupOK, error)
	DeleteGroup(params *DeleteGroupParams, authInfo runtime.ClientAuthInfoWriter) (*DeleteGroupNoContent, *DeleteGroupUnauthorized, *DeleteGroupNotFound, *DeleteGroupInternalServerError, error)
	DeleteGroupShort(params *DeleteGroupParams, authInfo runtime.ClientAuthInfoWriter) (*DeleteGroupNoContent, error)
	GetGroupContent(params *GetGroupContentParams, authInfo runtime.ClientAuthInfoWriter) (*GetGroupContentOK, *GetGroupContentBadRequest, *GetGroupContentUnauthorized, *GetGroupContentNotFound, *GetGroupContentInternalServerError, error)
	GetGroupContentShort(params *GetGroupContentParams, authInfo runtime.ClientAuthInfoWriter) (*GetGroupContentOK, error)
	PublicGetGroupContentsV2(params *PublicGetGroupContentsV2Params, authInfo runtime.ClientAuthInfoWriter) (*PublicGetGroupContentsV2OK, *PublicGetGroupContentsV2BadRequest, *PublicGetGroupContentsV2Unauthorized, *PublicGetGroupContentsV2NotFound, *PublicGetGroupContentsV2InternalServerError, error)
	PublicGetGroupContentsV2Short(params *PublicGetGroupContentsV2Params, authInfo runtime.ClientAuthInfoWriter) (*PublicGetGroupContentsV2OK, error)

	SetTransport(transport runtime.ClientTransport)
}

ClientService is the interface for Client methods

func New

func New(transport runtime.ClientTransport, formats strfmt.Registry) ClientService

New creates a new public group API client.

type CreateGroupBadRequest

type CreateGroupBadRequest struct {
	Payload *ugcclientmodels.ResponseError
}

CreateGroupBadRequest handles this case with default header values.

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

func NewCreateGroupBadRequest

func NewCreateGroupBadRequest() *CreateGroupBadRequest

NewCreateGroupBadRequest creates a CreateGroupBadRequest with default headers values

func (*CreateGroupBadRequest) Error

func (o *CreateGroupBadRequest) Error() string

func (*CreateGroupBadRequest) GetPayload

func (*CreateGroupBadRequest) ToJSONString

func (o *CreateGroupBadRequest) ToJSONString() string

type CreateGroupCreated

type CreateGroupCreated struct {
	Payload *ugcclientmodels.ModelsCreateGroupResponse
}

CreateGroupCreated handles this case with default header values.

Group Created

func NewCreateGroupCreated

func NewCreateGroupCreated() *CreateGroupCreated

NewCreateGroupCreated creates a CreateGroupCreated with default headers values

func (*CreateGroupCreated) Error

func (o *CreateGroupCreated) Error() string

func (*CreateGroupCreated) GetPayload

func (*CreateGroupCreated) ToJSONString

func (o *CreateGroupCreated) ToJSONString() string

type CreateGroupInternalServerError

type CreateGroupInternalServerError struct {
	Payload *ugcclientmodels.ResponseError
}

CreateGroupInternalServerError 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 NewCreateGroupInternalServerError

func NewCreateGroupInternalServerError() *CreateGroupInternalServerError

NewCreateGroupInternalServerError creates a CreateGroupInternalServerError with default headers values

func (*CreateGroupInternalServerError) Error

func (*CreateGroupInternalServerError) GetPayload

func (*CreateGroupInternalServerError) ToJSONString

func (o *CreateGroupInternalServerError) ToJSONString() string

type CreateGroupParams

type CreateGroupParams struct {

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

	*/
	Namespace string
	/*UserID
	  user ID

	*/
	UserID string

	AuthInfoWriter runtime.ClientAuthInfoWriter
	Context        context.Context
	HTTPClient     *http.Client

	// XFlightId is an optional parameter from this SDK
	XFlightId *string
	// contains filtered or unexported fields
}

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

func NewCreateGroupParams

func NewCreateGroupParams() *CreateGroupParams

NewCreateGroupParams creates a new CreateGroupParams object with the default values initialized.

func NewCreateGroupParamsWithContext

func NewCreateGroupParamsWithContext(ctx context.Context) *CreateGroupParams

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

func NewCreateGroupParamsWithHTTPClient

func NewCreateGroupParamsWithHTTPClient(client *http.Client) *CreateGroupParams

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

func NewCreateGroupParamsWithTimeout

func NewCreateGroupParamsWithTimeout(timeout time.Duration) *CreateGroupParams

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

func (*CreateGroupParams) SetAuthInfoWriter

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

SetAuthInfoWriter adds the authInfoWriter to the create group params

func (*CreateGroupParams) SetBody

SetBody adds the body to the create group params

func (*CreateGroupParams) SetContext

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

SetContext adds the context to the create group params

func (*CreateGroupParams) SetFlightId

func (o *CreateGroupParams) SetFlightId(flightId string)

SetFlightId adds the flightId as the header value for this specific endpoint

func (*CreateGroupParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the create group params

func (*CreateGroupParams) SetHTTPClientTransport

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

SetHTTPClient adds the HTTPClient Transport to the create group params

func (*CreateGroupParams) SetNamespace

func (o *CreateGroupParams) SetNamespace(namespace string)

SetNamespace adds the namespace to the create group params

func (*CreateGroupParams) SetTimeout

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

SetTimeout adds the timeout to the create group params

func (*CreateGroupParams) SetUserID

func (o *CreateGroupParams) SetUserID(userID string)

SetUserID adds the userId to the create group params

func (*CreateGroupParams) WithBody

WithBody adds the body to the create group params

func (*CreateGroupParams) WithContext

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

WithContext adds the context to the create group params

func (*CreateGroupParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the create group params

func (*CreateGroupParams) WithNamespace

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

WithNamespace adds the namespace to the create group params

func (*CreateGroupParams) WithTimeout

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

WithTimeout adds the timeout to the create group params

func (*CreateGroupParams) WithUserID

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

WithUserID adds the userID to the create group params

func (*CreateGroupParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type CreateGroupReader

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

CreateGroupReader is a Reader for the CreateGroup structure.

func (*CreateGroupReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type CreateGroupUnauthorized

type CreateGroupUnauthorized struct {
	Payload *ugcclientmodels.ResponseError
}

CreateGroupUnauthorized handles this case with default header values.

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

func NewCreateGroupUnauthorized

func NewCreateGroupUnauthorized() *CreateGroupUnauthorized

NewCreateGroupUnauthorized creates a CreateGroupUnauthorized with default headers values

func (*CreateGroupUnauthorized) Error

func (o *CreateGroupUnauthorized) Error() string

func (*CreateGroupUnauthorized) GetPayload

func (*CreateGroupUnauthorized) ToJSONString

func (o *CreateGroupUnauthorized) ToJSONString() string

type DeleteGroupInternalServerError

type DeleteGroupInternalServerError struct {
	Payload *ugcclientmodels.ResponseError
}

DeleteGroupInternalServerError 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 NewDeleteGroupInternalServerError

func NewDeleteGroupInternalServerError() *DeleteGroupInternalServerError

NewDeleteGroupInternalServerError creates a DeleteGroupInternalServerError with default headers values

func (*DeleteGroupInternalServerError) Error

func (*DeleteGroupInternalServerError) GetPayload

func (*DeleteGroupInternalServerError) ToJSONString

func (o *DeleteGroupInternalServerError) ToJSONString() string

type DeleteGroupNoContent

type DeleteGroupNoContent struct {
}

DeleteGroupNoContent handles this case with default header values.

Group deleted

func NewDeleteGroupNoContent

func NewDeleteGroupNoContent() *DeleteGroupNoContent

NewDeleteGroupNoContent creates a DeleteGroupNoContent with default headers values

func (*DeleteGroupNoContent) Error

func (o *DeleteGroupNoContent) Error() string

type DeleteGroupNotFound

type DeleteGroupNotFound struct {
	Payload *ugcclientmodels.ResponseError
}

DeleteGroupNotFound handles this case with default header values.

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

func NewDeleteGroupNotFound

func NewDeleteGroupNotFound() *DeleteGroupNotFound

NewDeleteGroupNotFound creates a DeleteGroupNotFound with default headers values

func (*DeleteGroupNotFound) Error

func (o *DeleteGroupNotFound) Error() string

func (*DeleteGroupNotFound) GetPayload

func (*DeleteGroupNotFound) ToJSONString

func (o *DeleteGroupNotFound) ToJSONString() string

type DeleteGroupParams

type DeleteGroupParams struct {

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

	*/
	GroupID string
	/*Namespace
	  namespace of the game

	*/
	Namespace string
	/*UserID
	  user ID

	*/
	UserID string

	AuthInfoWriter runtime.ClientAuthInfoWriter
	Context        context.Context
	HTTPClient     *http.Client

	// XFlightId is an optional parameter from this SDK
	XFlightId *string
	// contains filtered or unexported fields
}

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

func NewDeleteGroupParams

func NewDeleteGroupParams() *DeleteGroupParams

NewDeleteGroupParams creates a new DeleteGroupParams object with the default values initialized.

func NewDeleteGroupParamsWithContext

func NewDeleteGroupParamsWithContext(ctx context.Context) *DeleteGroupParams

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

func NewDeleteGroupParamsWithHTTPClient

func NewDeleteGroupParamsWithHTTPClient(client *http.Client) *DeleteGroupParams

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

func NewDeleteGroupParamsWithTimeout

func NewDeleteGroupParamsWithTimeout(timeout time.Duration) *DeleteGroupParams

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

func (*DeleteGroupParams) SetAuthInfoWriter

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

SetAuthInfoWriter adds the authInfoWriter to the delete group params

func (*DeleteGroupParams) SetContext

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

SetContext adds the context to the delete group params

func (*DeleteGroupParams) SetFlightId

func (o *DeleteGroupParams) SetFlightId(flightId string)

SetFlightId adds the flightId as the header value for this specific endpoint

func (*DeleteGroupParams) SetGroupID

func (o *DeleteGroupParams) SetGroupID(groupID string)

SetGroupID adds the groupId to the delete group params

func (*DeleteGroupParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the delete group params

func (*DeleteGroupParams) SetHTTPClientTransport

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

SetHTTPClient adds the HTTPClient Transport to the delete group params

func (*DeleteGroupParams) SetNamespace

func (o *DeleteGroupParams) SetNamespace(namespace string)

SetNamespace adds the namespace to the delete group params

func (*DeleteGroupParams) SetTimeout

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

SetTimeout adds the timeout to the delete group params

func (*DeleteGroupParams) SetUserID

func (o *DeleteGroupParams) SetUserID(userID string)

SetUserID adds the userId to the delete group params

func (*DeleteGroupParams) WithContext

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

WithContext adds the context to the delete group params

func (*DeleteGroupParams) WithGroupID

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

WithGroupID adds the groupID to the delete group params

func (*DeleteGroupParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the delete group params

func (*DeleteGroupParams) WithNamespace

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

WithNamespace adds the namespace to the delete group params

func (*DeleteGroupParams) WithTimeout

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

WithTimeout adds the timeout to the delete group params

func (*DeleteGroupParams) WithUserID

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

WithUserID adds the userID to the delete group params

func (*DeleteGroupParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type DeleteGroupReader

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

DeleteGroupReader is a Reader for the DeleteGroup structure.

func (*DeleteGroupReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type DeleteGroupUnauthorized

type DeleteGroupUnauthorized struct {
	Payload *ugcclientmodels.ResponseError
}

DeleteGroupUnauthorized handles this case with default header values.

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

func NewDeleteGroupUnauthorized

func NewDeleteGroupUnauthorized() *DeleteGroupUnauthorized

NewDeleteGroupUnauthorized creates a DeleteGroupUnauthorized with default headers values

func (*DeleteGroupUnauthorized) Error

func (o *DeleteGroupUnauthorized) Error() string

func (*DeleteGroupUnauthorized) GetPayload

func (*DeleteGroupUnauthorized) ToJSONString

func (o *DeleteGroupUnauthorized) ToJSONString() string

type GetGroupContentBadRequest

type GetGroupContentBadRequest struct {
	Payload *ugcclientmodels.ResponseError
}

GetGroupContentBadRequest 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 NewGetGroupContentBadRequest

func NewGetGroupContentBadRequest() *GetGroupContentBadRequest

NewGetGroupContentBadRequest creates a GetGroupContentBadRequest with default headers values

func (*GetGroupContentBadRequest) Error

func (o *GetGroupContentBadRequest) Error() string

func (*GetGroupContentBadRequest) GetPayload

func (*GetGroupContentBadRequest) ToJSONString

func (o *GetGroupContentBadRequest) ToJSONString() string

type GetGroupContentInternalServerError

type GetGroupContentInternalServerError struct {
	Payload *ugcclientmodels.ResponseError
}

GetGroupContentInternalServerError 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 NewGetGroupContentInternalServerError

func NewGetGroupContentInternalServerError() *GetGroupContentInternalServerError

NewGetGroupContentInternalServerError creates a GetGroupContentInternalServerError with default headers values

func (*GetGroupContentInternalServerError) Error

func (*GetGroupContentInternalServerError) GetPayload

func (*GetGroupContentInternalServerError) ToJSONString

func (o *GetGroupContentInternalServerError) ToJSONString() string

type GetGroupContentNotFound

type GetGroupContentNotFound struct {
	Payload *ugcclientmodels.ResponseError
}

GetGroupContentNotFound 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 NewGetGroupContentNotFound

func NewGetGroupContentNotFound() *GetGroupContentNotFound

NewGetGroupContentNotFound creates a GetGroupContentNotFound with default headers values

func (*GetGroupContentNotFound) Error

func (o *GetGroupContentNotFound) Error() string

func (*GetGroupContentNotFound) GetPayload

func (*GetGroupContentNotFound) ToJSONString

func (o *GetGroupContentNotFound) ToJSONString() string

type GetGroupContentOK

type GetGroupContentOK struct {
	Payload *ugcclientmodels.ModelsPaginatedContentDownloadResponse
}

GetGroupContentOK handles this case with default header values.

Get contents belong to a group

func NewGetGroupContentOK

func NewGetGroupContentOK() *GetGroupContentOK

NewGetGroupContentOK creates a GetGroupContentOK with default headers values

func (*GetGroupContentOK) Error

func (o *GetGroupContentOK) Error() string

func (*GetGroupContentOK) GetPayload

func (*GetGroupContentOK) ToJSONString

func (o *GetGroupContentOK) ToJSONString() string

type GetGroupContentParams

type GetGroupContentParams 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

	// XFlightId is an optional parameter from this SDK
	XFlightId *string
	// contains filtered or unexported fields
}

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

func NewGetGroupContentParams

func NewGetGroupContentParams() *GetGroupContentParams

NewGetGroupContentParams creates a new GetGroupContentParams object with the default values initialized.

func NewGetGroupContentParamsWithContext

func NewGetGroupContentParamsWithContext(ctx context.Context) *GetGroupContentParams

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

func NewGetGroupContentParamsWithHTTPClient

func NewGetGroupContentParamsWithHTTPClient(client *http.Client) *GetGroupContentParams

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

func NewGetGroupContentParamsWithTimeout

func NewGetGroupContentParamsWithTimeout(timeout time.Duration) *GetGroupContentParams

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

func (*GetGroupContentParams) SetAuthInfoWriter

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

SetAuthInfoWriter adds the authInfoWriter to the get group content params

func (*GetGroupContentParams) SetContext

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

SetContext adds the context to the get group content params

func (*GetGroupContentParams) SetFlightId

func (o *GetGroupContentParams) SetFlightId(flightId string)

SetFlightId adds the flightId as the header value for this specific endpoint

func (*GetGroupContentParams) SetGroupID

func (o *GetGroupContentParams) SetGroupID(groupID string)

SetGroupID adds the groupId to the get group content params

func (*GetGroupContentParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get group content params

func (*GetGroupContentParams) SetHTTPClientTransport

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

SetHTTPClient adds the HTTPClient Transport to the get group content params

func (*GetGroupContentParams) SetLimit

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

SetLimit adds the limit to the get group content params

func (*GetGroupContentParams) SetNamespace

func (o *GetGroupContentParams) SetNamespace(namespace string)

SetNamespace adds the namespace to the get group content params

func (*GetGroupContentParams) SetOffset

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

SetOffset adds the offset to the get group content params

func (*GetGroupContentParams) SetTimeout

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

SetTimeout adds the timeout to the get group content params

func (*GetGroupContentParams) SetUserID

func (o *GetGroupContentParams) SetUserID(userID string)

SetUserID adds the userId to the get group content params

func (*GetGroupContentParams) WithContext

WithContext adds the context to the get group content params

func (*GetGroupContentParams) WithGroupID

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

WithGroupID adds the groupID to the get group content params

func (*GetGroupContentParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the get group content params

func (*GetGroupContentParams) WithLimit

func (o *GetGroupContentParams) WithLimit(limit *int64) *GetGroupContentParams

WithLimit adds the limit to the get group content params

func (*GetGroupContentParams) WithNamespace

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

WithNamespace adds the namespace to the get group content params

func (*GetGroupContentParams) WithOffset

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

WithOffset adds the offset to the get group content params

func (*GetGroupContentParams) WithTimeout

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

WithTimeout adds the timeout to the get group content params

func (*GetGroupContentParams) WithUserID

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

WithUserID adds the userID to the get group content params

func (*GetGroupContentParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type GetGroupContentReader

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

GetGroupContentReader is a Reader for the GetGroupContent structure.

func (*GetGroupContentReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetGroupContentUnauthorized

type GetGroupContentUnauthorized struct {
	Payload *ugcclientmodels.ResponseError
}

GetGroupContentUnauthorized handles this case with default header values.

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

func NewGetGroupContentUnauthorized

func NewGetGroupContentUnauthorized() *GetGroupContentUnauthorized

NewGetGroupContentUnauthorized creates a GetGroupContentUnauthorized with default headers values

func (*GetGroupContentUnauthorized) Error

func (*GetGroupContentUnauthorized) GetPayload

func (*GetGroupContentUnauthorized) ToJSONString

func (o *GetGroupContentUnauthorized) ToJSONString() string

type GetGroupInternalServerError

type GetGroupInternalServerError struct {
	Payload *ugcclientmodels.ResponseError
}

GetGroupInternalServerError 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 NewGetGroupInternalServerError

func NewGetGroupInternalServerError() *GetGroupInternalServerError

NewGetGroupInternalServerError creates a GetGroupInternalServerError with default headers values

func (*GetGroupInternalServerError) Error

func (*GetGroupInternalServerError) GetPayload

func (*GetGroupInternalServerError) ToJSONString

func (o *GetGroupInternalServerError) ToJSONString() string

type GetGroupNotFound

type GetGroupNotFound struct {
	Payload *ugcclientmodels.ResponseError
}

GetGroupNotFound 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 NewGetGroupNotFound

func NewGetGroupNotFound() *GetGroupNotFound

NewGetGroupNotFound creates a GetGroupNotFound with default headers values

func (*GetGroupNotFound) Error

func (o *GetGroupNotFound) Error() string

func (*GetGroupNotFound) GetPayload

func (*GetGroupNotFound) ToJSONString

func (o *GetGroupNotFound) ToJSONString() string

type GetGroupOK

type GetGroupOK struct {
	Payload *ugcclientmodels.ModelsCreateGroupResponse
}

GetGroupOK handles this case with default header values.

Get user's group

func NewGetGroupOK

func NewGetGroupOK() *GetGroupOK

NewGetGroupOK creates a GetGroupOK with default headers values

func (*GetGroupOK) Error

func (o *GetGroupOK) Error() string

func (*GetGroupOK) GetPayload

func (*GetGroupOK) ToJSONString

func (o *GetGroupOK) ToJSONString() string

type GetGroupParams

type GetGroupParams struct {

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

	*/
	GroupID string
	/*Namespace
	  namespace of the game

	*/
	Namespace string
	/*UserID
	  user ID

	*/
	UserID string

	AuthInfoWriter runtime.ClientAuthInfoWriter
	Context        context.Context
	HTTPClient     *http.Client

	// XFlightId is an optional parameter from this SDK
	XFlightId *string
	// contains filtered or unexported fields
}

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

func NewGetGroupParams

func NewGetGroupParams() *GetGroupParams

NewGetGroupParams creates a new GetGroupParams object with the default values initialized.

func NewGetGroupParamsWithContext

func NewGetGroupParamsWithContext(ctx context.Context) *GetGroupParams

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

func NewGetGroupParamsWithHTTPClient

func NewGetGroupParamsWithHTTPClient(client *http.Client) *GetGroupParams

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

func NewGetGroupParamsWithTimeout

func NewGetGroupParamsWithTimeout(timeout time.Duration) *GetGroupParams

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

func (*GetGroupParams) SetAuthInfoWriter

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

SetAuthInfoWriter adds the authInfoWriter to the get group params

func (*GetGroupParams) SetContext

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

SetContext adds the context to the get group params

func (*GetGroupParams) SetFlightId

func (o *GetGroupParams) SetFlightId(flightId string)

SetFlightId adds the flightId as the header value for this specific endpoint

func (*GetGroupParams) SetGroupID

func (o *GetGroupParams) SetGroupID(groupID string)

SetGroupID adds the groupId to the get group params

func (*GetGroupParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get group params

func (*GetGroupParams) SetHTTPClientTransport

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

SetHTTPClient adds the HTTPClient Transport to the get group params

func (*GetGroupParams) SetNamespace

func (o *GetGroupParams) SetNamespace(namespace string)

SetNamespace adds the namespace to the get group params

func (*GetGroupParams) SetTimeout

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

SetTimeout adds the timeout to the get group params

func (*GetGroupParams) SetUserID

func (o *GetGroupParams) SetUserID(userID string)

SetUserID adds the userId to the get group params

func (*GetGroupParams) WithContext

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

WithContext adds the context to the get group params

func (*GetGroupParams) WithGroupID

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

WithGroupID adds the groupID to the get group params

func (*GetGroupParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the get group params

func (*GetGroupParams) WithNamespace

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

WithNamespace adds the namespace to the get group params

func (*GetGroupParams) WithTimeout

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

WithTimeout adds the timeout to the get group params

func (*GetGroupParams) WithUserID

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

WithUserID adds the userID to the get group params

func (*GetGroupParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type GetGroupReader

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

GetGroupReader is a Reader for the GetGroup structure.

func (*GetGroupReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetGroupUnauthorized

type GetGroupUnauthorized struct {
	Payload *ugcclientmodels.ResponseError
}

GetGroupUnauthorized handles this case with default header values.

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

func NewGetGroupUnauthorized

func NewGetGroupUnauthorized() *GetGroupUnauthorized

NewGetGroupUnauthorized creates a GetGroupUnauthorized with default headers values

func (*GetGroupUnauthorized) Error

func (o *GetGroupUnauthorized) Error() string

func (*GetGroupUnauthorized) GetPayload

func (*GetGroupUnauthorized) ToJSONString

func (o *GetGroupUnauthorized) ToJSONString() string

type GetGroupsBadRequest

type GetGroupsBadRequest struct {
	Payload *ugcclientmodels.ResponseError
}

GetGroupsBadRequest 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 NewGetGroupsBadRequest

func NewGetGroupsBadRequest() *GetGroupsBadRequest

NewGetGroupsBadRequest creates a GetGroupsBadRequest with default headers values

func (*GetGroupsBadRequest) Error

func (o *GetGroupsBadRequest) Error() string

func (*GetGroupsBadRequest) GetPayload

func (*GetGroupsBadRequest) ToJSONString

func (o *GetGroupsBadRequest) ToJSONString() string

type GetGroupsInternalServerError

type GetGroupsInternalServerError struct {
	Payload *ugcclientmodels.ResponseError
}

GetGroupsInternalServerError 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 NewGetGroupsInternalServerError

func NewGetGroupsInternalServerError() *GetGroupsInternalServerError

NewGetGroupsInternalServerError creates a GetGroupsInternalServerError with default headers values

func (*GetGroupsInternalServerError) Error

func (*GetGroupsInternalServerError) GetPayload

func (*GetGroupsInternalServerError) ToJSONString

func (o *GetGroupsInternalServerError) ToJSONString() string

type GetGroupsOK

type GetGroupsOK struct {
	Payload *ugcclientmodels.ModelsPaginatedGroupResponse
}

GetGroupsOK handles this case with default header values.

Get all user group

func NewGetGroupsOK

func NewGetGroupsOK() *GetGroupsOK

NewGetGroupsOK creates a GetGroupsOK with default headers values

func (*GetGroupsOK) Error

func (o *GetGroupsOK) Error() string

func (*GetGroupsOK) GetPayload

func (*GetGroupsOK) ToJSONString

func (o *GetGroupsOK) ToJSONString() string

type GetGroupsParams

type GetGroupsParams 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

	// XFlightId is an optional parameter from this SDK
	XFlightId *string
	// contains filtered or unexported fields
}

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

func NewGetGroupsParams

func NewGetGroupsParams() *GetGroupsParams

NewGetGroupsParams creates a new GetGroupsParams object with the default values initialized.

func NewGetGroupsParamsWithContext

func NewGetGroupsParamsWithContext(ctx context.Context) *GetGroupsParams

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

func NewGetGroupsParamsWithHTTPClient

func NewGetGroupsParamsWithHTTPClient(client *http.Client) *GetGroupsParams

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

func NewGetGroupsParamsWithTimeout

func NewGetGroupsParamsWithTimeout(timeout time.Duration) *GetGroupsParams

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

func (*GetGroupsParams) SetAuthInfoWriter

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

SetAuthInfoWriter adds the authInfoWriter to the get groups params

func (*GetGroupsParams) SetContext

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

SetContext adds the context to the get groups params

func (*GetGroupsParams) SetFlightId

func (o *GetGroupsParams) SetFlightId(flightId string)

SetFlightId adds the flightId as the header value for this specific endpoint

func (*GetGroupsParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get groups params

func (*GetGroupsParams) SetHTTPClientTransport

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

SetHTTPClient adds the HTTPClient Transport to the get groups params

func (*GetGroupsParams) SetLimit

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

SetLimit adds the limit to the get groups params

func (*GetGroupsParams) SetNamespace

func (o *GetGroupsParams) SetNamespace(namespace string)

SetNamespace adds the namespace to the get groups params

func (*GetGroupsParams) SetOffset

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

SetOffset adds the offset to the get groups params

func (*GetGroupsParams) SetTimeout

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

SetTimeout adds the timeout to the get groups params

func (*GetGroupsParams) SetUserID

func (o *GetGroupsParams) SetUserID(userID string)

SetUserID adds the userId to the get groups params

func (*GetGroupsParams) WithContext

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

WithContext adds the context to the get groups params

func (*GetGroupsParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the get groups params

func (*GetGroupsParams) WithLimit

func (o *GetGroupsParams) WithLimit(limit *int64) *GetGroupsParams

WithLimit adds the limit to the get groups params

func (*GetGroupsParams) WithNamespace

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

WithNamespace adds the namespace to the get groups params

func (*GetGroupsParams) WithOffset

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

WithOffset adds the offset to the get groups params

func (*GetGroupsParams) WithTimeout

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

WithTimeout adds the timeout to the get groups params

func (*GetGroupsParams) WithUserID

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

WithUserID adds the userID to the get groups params

func (*GetGroupsParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type GetGroupsReader

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

GetGroupsReader is a Reader for the GetGroups structure.

func (*GetGroupsReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetGroupsUnauthorized

type GetGroupsUnauthorized struct {
	Payload *ugcclientmodels.ResponseError
}

GetGroupsUnauthorized handles this case with default header values.

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

func NewGetGroupsUnauthorized

func NewGetGroupsUnauthorized() *GetGroupsUnauthorized

NewGetGroupsUnauthorized creates a GetGroupsUnauthorized with default headers values

func (*GetGroupsUnauthorized) Error

func (o *GetGroupsUnauthorized) Error() string

func (*GetGroupsUnauthorized) GetPayload

func (*GetGroupsUnauthorized) ToJSONString

func (o *GetGroupsUnauthorized) ToJSONString() string

type PublicGetGroupContentsV2BadRequest

type PublicGetGroupContentsV2BadRequest struct {
	Payload *ugcclientmodels.ResponseError
}

PublicGetGroupContentsV2BadRequest 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 NewPublicGetGroupContentsV2BadRequest

func NewPublicGetGroupContentsV2BadRequest() *PublicGetGroupContentsV2BadRequest

NewPublicGetGroupContentsV2BadRequest creates a PublicGetGroupContentsV2BadRequest with default headers values

func (*PublicGetGroupContentsV2BadRequest) Error

func (*PublicGetGroupContentsV2BadRequest) GetPayload

func (*PublicGetGroupContentsV2BadRequest) ToJSONString

func (o *PublicGetGroupContentsV2BadRequest) ToJSONString() string

type PublicGetGroupContentsV2InternalServerError

type PublicGetGroupContentsV2InternalServerError struct {
	Payload *ugcclientmodels.ResponseError
}

PublicGetGroupContentsV2InternalServerError 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 NewPublicGetGroupContentsV2InternalServerError

func NewPublicGetGroupContentsV2InternalServerError() *PublicGetGroupContentsV2InternalServerError

NewPublicGetGroupContentsV2InternalServerError creates a PublicGetGroupContentsV2InternalServerError with default headers values

func (*PublicGetGroupContentsV2InternalServerError) Error

func (*PublicGetGroupContentsV2InternalServerError) GetPayload

func (*PublicGetGroupContentsV2InternalServerError) ToJSONString

type PublicGetGroupContentsV2NotFound

type PublicGetGroupContentsV2NotFound struct {
	Payload *ugcclientmodels.ResponseError
}

PublicGetGroupContentsV2NotFound 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 NewPublicGetGroupContentsV2NotFound

func NewPublicGetGroupContentsV2NotFound() *PublicGetGroupContentsV2NotFound

NewPublicGetGroupContentsV2NotFound creates a PublicGetGroupContentsV2NotFound with default headers values

func (*PublicGetGroupContentsV2NotFound) Error

func (*PublicGetGroupContentsV2NotFound) GetPayload

func (*PublicGetGroupContentsV2NotFound) ToJSONString

func (o *PublicGetGroupContentsV2NotFound) ToJSONString() string

type PublicGetGroupContentsV2OK

type PublicGetGroupContentsV2OK struct {
	Payload *ugcclientmodels.ModelsPaginatedContentDownloadResponseV2
}

PublicGetGroupContentsV2OK handles this case with default header values.

Get content belong to a group

func NewPublicGetGroupContentsV2OK

func NewPublicGetGroupContentsV2OK() *PublicGetGroupContentsV2OK

NewPublicGetGroupContentsV2OK creates a PublicGetGroupContentsV2OK with default headers values

func (*PublicGetGroupContentsV2OK) Error

func (*PublicGetGroupContentsV2OK) GetPayload

func (*PublicGetGroupContentsV2OK) ToJSONString

func (o *PublicGetGroupContentsV2OK) ToJSONString() string

type PublicGetGroupContentsV2Params

type PublicGetGroupContentsV2Params 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

	// XFlightId is an optional parameter from this SDK
	XFlightId *string
	// contains filtered or unexported fields
}

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

func NewPublicGetGroupContentsV2Params

func NewPublicGetGroupContentsV2Params() *PublicGetGroupContentsV2Params

NewPublicGetGroupContentsV2Params creates a new PublicGetGroupContentsV2Params object with the default values initialized.

func NewPublicGetGroupContentsV2ParamsWithContext

func NewPublicGetGroupContentsV2ParamsWithContext(ctx context.Context) *PublicGetGroupContentsV2Params

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

func NewPublicGetGroupContentsV2ParamsWithHTTPClient

func NewPublicGetGroupContentsV2ParamsWithHTTPClient(client *http.Client) *PublicGetGroupContentsV2Params

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

func NewPublicGetGroupContentsV2ParamsWithTimeout

func NewPublicGetGroupContentsV2ParamsWithTimeout(timeout time.Duration) *PublicGetGroupContentsV2Params

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

func (*PublicGetGroupContentsV2Params) SetAuthInfoWriter

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

SetAuthInfoWriter adds the authInfoWriter to the public get group contents v2 params

func (*PublicGetGroupContentsV2Params) SetContext

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

SetContext adds the context to the public get group contents v2 params

func (*PublicGetGroupContentsV2Params) SetFlightId

func (o *PublicGetGroupContentsV2Params) SetFlightId(flightId string)

SetFlightId adds the flightId as the header value for this specific endpoint

func (*PublicGetGroupContentsV2Params) SetGroupID

func (o *PublicGetGroupContentsV2Params) SetGroupID(groupID string)

SetGroupID adds the groupId to the public get group contents v2 params

func (*PublicGetGroupContentsV2Params) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the public get group contents v2 params

func (*PublicGetGroupContentsV2Params) SetHTTPClientTransport

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

SetHTTPClient adds the HTTPClient Transport to the public get group contents v2 params

func (*PublicGetGroupContentsV2Params) SetLimit

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

SetLimit adds the limit to the public get group contents v2 params

func (*PublicGetGroupContentsV2Params) SetNamespace

func (o *PublicGetGroupContentsV2Params) SetNamespace(namespace string)

SetNamespace adds the namespace to the public get group contents v2 params

func (*PublicGetGroupContentsV2Params) SetOffset

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

SetOffset adds the offset to the public get group contents v2 params

func (*PublicGetGroupContentsV2Params) SetTimeout

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

SetTimeout adds the timeout to the public get group contents v2 params

func (*PublicGetGroupContentsV2Params) SetUserID

func (o *PublicGetGroupContentsV2Params) SetUserID(userID string)

SetUserID adds the userId to the public get group contents v2 params

func (*PublicGetGroupContentsV2Params) WithContext

WithContext adds the context to the public get group contents v2 params

func (*PublicGetGroupContentsV2Params) WithGroupID

WithGroupID adds the groupID to the public get group contents v2 params

func (*PublicGetGroupContentsV2Params) WithHTTPClient

WithHTTPClient adds the HTTPClient to the public get group contents v2 params

func (*PublicGetGroupContentsV2Params) WithLimit

WithLimit adds the limit to the public get group contents v2 params

func (*PublicGetGroupContentsV2Params) WithNamespace

WithNamespace adds the namespace to the public get group contents v2 params

func (*PublicGetGroupContentsV2Params) WithOffset

WithOffset adds the offset to the public get group contents v2 params

func (*PublicGetGroupContentsV2Params) WithTimeout

WithTimeout adds the timeout to the public get group contents v2 params

func (*PublicGetGroupContentsV2Params) WithUserID

WithUserID adds the userID to the public get group contents v2 params

func (*PublicGetGroupContentsV2Params) WriteToRequest

WriteToRequest writes these params to a swagger request

type PublicGetGroupContentsV2Reader

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

PublicGetGroupContentsV2Reader is a Reader for the PublicGetGroupContentsV2 structure.

func (*PublicGetGroupContentsV2Reader) ReadResponse

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

ReadResponse reads a server response into the received o.

type PublicGetGroupContentsV2Unauthorized

type PublicGetGroupContentsV2Unauthorized struct {
	Payload *ugcclientmodels.ResponseError
}

PublicGetGroupContentsV2Unauthorized 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 NewPublicGetGroupContentsV2Unauthorized

func NewPublicGetGroupContentsV2Unauthorized() *PublicGetGroupContentsV2Unauthorized

NewPublicGetGroupContentsV2Unauthorized creates a PublicGetGroupContentsV2Unauthorized with default headers values

func (*PublicGetGroupContentsV2Unauthorized) Error

func (*PublicGetGroupContentsV2Unauthorized) GetPayload

func (*PublicGetGroupContentsV2Unauthorized) ToJSONString

func (o *PublicGetGroupContentsV2Unauthorized) ToJSONString() string

type UpdateGroupBadRequest

type UpdateGroupBadRequest struct {
	Payload *ugcclientmodels.ResponseError
}

UpdateGroupBadRequest 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 NewUpdateGroupBadRequest

func NewUpdateGroupBadRequest() *UpdateGroupBadRequest

NewUpdateGroupBadRequest creates a UpdateGroupBadRequest with default headers values

func (*UpdateGroupBadRequest) Error

func (o *UpdateGroupBadRequest) Error() string

func (*UpdateGroupBadRequest) GetPayload

func (*UpdateGroupBadRequest) ToJSONString

func (o *UpdateGroupBadRequest) ToJSONString() string

type UpdateGroupInternalServerError

type UpdateGroupInternalServerError struct {
	Payload *ugcclientmodels.ResponseError
}

UpdateGroupInternalServerError 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 NewUpdateGroupInternalServerError

func NewUpdateGroupInternalServerError() *UpdateGroupInternalServerError

NewUpdateGroupInternalServerError creates a UpdateGroupInternalServerError with default headers values

func (*UpdateGroupInternalServerError) Error

func (*UpdateGroupInternalServerError) GetPayload

func (*UpdateGroupInternalServerError) ToJSONString

func (o *UpdateGroupInternalServerError) ToJSONString() string

type UpdateGroupNotFound

type UpdateGroupNotFound struct {
	Payload *ugcclientmodels.ResponseError
}

UpdateGroupNotFound 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 NewUpdateGroupNotFound

func NewUpdateGroupNotFound() *UpdateGroupNotFound

NewUpdateGroupNotFound creates a UpdateGroupNotFound with default headers values

func (*UpdateGroupNotFound) Error

func (o *UpdateGroupNotFound) Error() string

func (*UpdateGroupNotFound) GetPayload

func (*UpdateGroupNotFound) ToJSONString

func (o *UpdateGroupNotFound) ToJSONString() string

type UpdateGroupOK

type UpdateGroupOK struct {
	Payload *ugcclientmodels.ModelsCreateGroupResponse
}

UpdateGroupOK handles this case with default header values.

Group updated

func NewUpdateGroupOK

func NewUpdateGroupOK() *UpdateGroupOK

NewUpdateGroupOK creates a UpdateGroupOK with default headers values

func (*UpdateGroupOK) Error

func (o *UpdateGroupOK) Error() string

func (*UpdateGroupOK) GetPayload

func (*UpdateGroupOK) ToJSONString

func (o *UpdateGroupOK) ToJSONString() string

type UpdateGroupParams

type UpdateGroupParams struct {

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

	*/
	GroupID string
	/*Namespace
	  namespace of the game

	*/
	Namespace string
	/*UserID
	  user ID

	*/
	UserID string

	AuthInfoWriter runtime.ClientAuthInfoWriter
	Context        context.Context
	HTTPClient     *http.Client

	// XFlightId is an optional parameter from this SDK
	XFlightId *string
	// contains filtered or unexported fields
}

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

func NewUpdateGroupParams

func NewUpdateGroupParams() *UpdateGroupParams

NewUpdateGroupParams creates a new UpdateGroupParams object with the default values initialized.

func NewUpdateGroupParamsWithContext

func NewUpdateGroupParamsWithContext(ctx context.Context) *UpdateGroupParams

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

func NewUpdateGroupParamsWithHTTPClient

func NewUpdateGroupParamsWithHTTPClient(client *http.Client) *UpdateGroupParams

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

func NewUpdateGroupParamsWithTimeout

func NewUpdateGroupParamsWithTimeout(timeout time.Duration) *UpdateGroupParams

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

func (*UpdateGroupParams) SetAuthInfoWriter

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

SetAuthInfoWriter adds the authInfoWriter to the update group params

func (*UpdateGroupParams) SetBody

SetBody adds the body to the update group params

func (*UpdateGroupParams) SetContext

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

SetContext adds the context to the update group params

func (*UpdateGroupParams) SetFlightId

func (o *UpdateGroupParams) SetFlightId(flightId string)

SetFlightId adds the flightId as the header value for this specific endpoint

func (*UpdateGroupParams) SetGroupID

func (o *UpdateGroupParams) SetGroupID(groupID string)

SetGroupID adds the groupId to the update group params

func (*UpdateGroupParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the update group params

func (*UpdateGroupParams) SetHTTPClientTransport

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

SetHTTPClient adds the HTTPClient Transport to the update group params

func (*UpdateGroupParams) SetNamespace

func (o *UpdateGroupParams) SetNamespace(namespace string)

SetNamespace adds the namespace to the update group params

func (*UpdateGroupParams) SetTimeout

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

SetTimeout adds the timeout to the update group params

func (*UpdateGroupParams) SetUserID

func (o *UpdateGroupParams) SetUserID(userID string)

SetUserID adds the userId to the update group params

func (*UpdateGroupParams) WithBody

WithBody adds the body to the update group params

func (*UpdateGroupParams) WithContext

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

WithContext adds the context to the update group params

func (*UpdateGroupParams) WithGroupID

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

WithGroupID adds the groupID to the update group params

func (*UpdateGroupParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the update group params

func (*UpdateGroupParams) WithNamespace

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

WithNamespace adds the namespace to the update group params

func (*UpdateGroupParams) WithTimeout

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

WithTimeout adds the timeout to the update group params

func (*UpdateGroupParams) WithUserID

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

WithUserID adds the userID to the update group params

func (*UpdateGroupParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type UpdateGroupReader

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

UpdateGroupReader is a Reader for the UpdateGroup structure.

func (*UpdateGroupReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type UpdateGroupUnauthorized

type UpdateGroupUnauthorized struct {
	Payload *ugcclientmodels.ResponseError
}

UpdateGroupUnauthorized handles this case with default header values.

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

func NewUpdateGroupUnauthorized

func NewUpdateGroupUnauthorized() *UpdateGroupUnauthorized

NewUpdateGroupUnauthorized creates a UpdateGroupUnauthorized with default headers values

func (*UpdateGroupUnauthorized) Error

func (o *UpdateGroupUnauthorized) Error() string

func (*UpdateGroupUnauthorized) GetPayload

func (*UpdateGroupUnauthorized) ToJSONString

func (o *UpdateGroupUnauthorized) ToJSONString() string

Jump to

Keyboard shortcuts

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