Documentation ¶
Index ¶
- type Client
- func (a *Client) PublicGetCreator(params *PublicGetCreatorParams, authInfo runtime.ClientAuthInfoWriter) (*PublicGetCreatorOK, *PublicGetCreatorUnauthorized, *PublicGetCreatorNotFound, ...)deprecated
- func (a *Client) PublicGetCreatorShort(params *PublicGetCreatorParams, authInfo runtime.ClientAuthInfoWriter) (*PublicGetCreatorOK, error)
- func (a *Client) PublicSearchCreator(params *PublicSearchCreatorParams, authInfo runtime.ClientAuthInfoWriter) (*PublicSearchCreatorOK, *PublicSearchCreatorBadRequest, ...)deprecated
- func (a *Client) PublicSearchCreatorShort(params *PublicSearchCreatorParams, authInfo runtime.ClientAuthInfoWriter) (*PublicSearchCreatorOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- type ClientService
- type PublicGetCreatorInternalServerError
- type PublicGetCreatorNotFound
- type PublicGetCreatorOK
- type PublicGetCreatorParams
- func NewPublicGetCreatorParams() *PublicGetCreatorParams
- func NewPublicGetCreatorParamsWithContext(ctx context.Context) *PublicGetCreatorParams
- func NewPublicGetCreatorParamsWithHTTPClient(client *http.Client) *PublicGetCreatorParams
- func NewPublicGetCreatorParamsWithTimeout(timeout time.Duration) *PublicGetCreatorParams
- func (o *PublicGetCreatorParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
- func (o *PublicGetCreatorParams) SetContext(ctx context.Context)
- func (o *PublicGetCreatorParams) SetFlightId(flightId string)
- func (o *PublicGetCreatorParams) SetHTTPClient(client *http.Client)
- func (o *PublicGetCreatorParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
- func (o *PublicGetCreatorParams) SetNamespace(namespace string)
- func (o *PublicGetCreatorParams) SetTimeout(timeout time.Duration)
- func (o *PublicGetCreatorParams) SetUserID(userID string)
- func (o *PublicGetCreatorParams) WithContext(ctx context.Context) *PublicGetCreatorParams
- func (o *PublicGetCreatorParams) WithHTTPClient(client *http.Client) *PublicGetCreatorParams
- func (o *PublicGetCreatorParams) WithNamespace(namespace string) *PublicGetCreatorParams
- func (o *PublicGetCreatorParams) WithTimeout(timeout time.Duration) *PublicGetCreatorParams
- func (o *PublicGetCreatorParams) WithUserID(userID string) *PublicGetCreatorParams
- func (o *PublicGetCreatorParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PublicGetCreatorReader
- type PublicGetCreatorUnauthorized
- type PublicSearchCreatorBadRequest
- type PublicSearchCreatorInternalServerError
- type PublicSearchCreatorOK
- type PublicSearchCreatorParams
- func NewPublicSearchCreatorParams() *PublicSearchCreatorParams
- func NewPublicSearchCreatorParamsWithContext(ctx context.Context) *PublicSearchCreatorParams
- func NewPublicSearchCreatorParamsWithHTTPClient(client *http.Client) *PublicSearchCreatorParams
- func NewPublicSearchCreatorParamsWithTimeout(timeout time.Duration) *PublicSearchCreatorParams
- func (o *PublicSearchCreatorParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
- func (o *PublicSearchCreatorParams) SetContext(ctx context.Context)
- func (o *PublicSearchCreatorParams) SetFlightId(flightId string)
- func (o *PublicSearchCreatorParams) SetHTTPClient(client *http.Client)
- func (o *PublicSearchCreatorParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
- func (o *PublicSearchCreatorParams) SetLimit(limit *int64)
- func (o *PublicSearchCreatorParams) SetNamespace(namespace string)
- func (o *PublicSearchCreatorParams) SetOffset(offset *int64)
- func (o *PublicSearchCreatorParams) SetOrderby(orderby *string)
- func (o *PublicSearchCreatorParams) SetSortby(sortby *string)
- func (o *PublicSearchCreatorParams) SetTimeout(timeout time.Duration)
- func (o *PublicSearchCreatorParams) WithContext(ctx context.Context) *PublicSearchCreatorParams
- func (o *PublicSearchCreatorParams) WithHTTPClient(client *http.Client) *PublicSearchCreatorParams
- func (o *PublicSearchCreatorParams) WithLimit(limit *int64) *PublicSearchCreatorParams
- func (o *PublicSearchCreatorParams) WithNamespace(namespace string) *PublicSearchCreatorParams
- func (o *PublicSearchCreatorParams) WithOffset(offset *int64) *PublicSearchCreatorParams
- func (o *PublicSearchCreatorParams) WithOrderby(orderby *string) *PublicSearchCreatorParams
- func (o *PublicSearchCreatorParams) WithSortby(sortby *string) *PublicSearchCreatorParams
- func (o *PublicSearchCreatorParams) WithTimeout(timeout time.Duration) *PublicSearchCreatorParams
- func (o *PublicSearchCreatorParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PublicSearchCreatorReader
- type PublicSearchCreatorUnauthorized
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 creator API
func (*Client) PublicGetCreator
deprecated
func (a *Client) PublicGetCreator(params *PublicGetCreatorParams, authInfo runtime.ClientAuthInfoWriter) (*PublicGetCreatorOK, *PublicGetCreatorUnauthorized, *PublicGetCreatorNotFound, *PublicGetCreatorInternalServerError, error)
Deprecated: 2022-08-10 - Use PublicGetCreatorShort instead.
PublicGetCreator get creator stats: number of total like by other user, number of total following and follower user Public user can access without token or if token specified, requires valid user token
func (*Client) PublicGetCreatorShort ¶
func (a *Client) PublicGetCreatorShort(params *PublicGetCreatorParams, authInfo runtime.ClientAuthInfoWriter) (*PublicGetCreatorOK, error)
PublicGetCreatorShort get creator stats: number of total like by other user, number of total following and follower user Public user can access without token or if token specified, requires valid user token
func (*Client) PublicSearchCreator
deprecated
func (a *Client) PublicSearchCreator(params *PublicSearchCreatorParams, authInfo runtime.ClientAuthInfoWriter) (*PublicSearchCreatorOK, *PublicSearchCreatorBadRequest, *PublicSearchCreatorUnauthorized, *PublicSearchCreatorInternalServerError, error)
Deprecated: 2022-08-10 - Use PublicSearchCreatorShort instead.
PublicSearchCreator search creator Public user can access without token or if token specified, requires valid user token
func (*Client) PublicSearchCreatorShort ¶
func (a *Client) PublicSearchCreatorShort(params *PublicSearchCreatorParams, authInfo runtime.ClientAuthInfoWriter) (*PublicSearchCreatorOK, error)
PublicSearchCreatorShort search creator Public user can access without token or if token specified, requires valid user token
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
type ClientService ¶
type ClientService interface { PublicSearchCreator(params *PublicSearchCreatorParams, authInfo runtime.ClientAuthInfoWriter) (*PublicSearchCreatorOK, *PublicSearchCreatorBadRequest, *PublicSearchCreatorUnauthorized, *PublicSearchCreatorInternalServerError, error) PublicSearchCreatorShort(params *PublicSearchCreatorParams, authInfo runtime.ClientAuthInfoWriter) (*PublicSearchCreatorOK, error) PublicGetCreator(params *PublicGetCreatorParams, authInfo runtime.ClientAuthInfoWriter) (*PublicGetCreatorOK, *PublicGetCreatorUnauthorized, *PublicGetCreatorNotFound, *PublicGetCreatorInternalServerError, error) PublicGetCreatorShort(params *PublicGetCreatorParams, authInfo runtime.ClientAuthInfoWriter) (*PublicGetCreatorOK, 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 creator API client.
type PublicGetCreatorInternalServerError ¶
type PublicGetCreatorInternalServerError struct {
Payload *ugcclientmodels.ResponseError
}
PublicGetCreatorInternalServerError handles this case with default header values.
<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>771103</td><td>Unable to get total liked content</td></tr></table>
func NewPublicGetCreatorInternalServerError ¶
func NewPublicGetCreatorInternalServerError() *PublicGetCreatorInternalServerError
NewPublicGetCreatorInternalServerError creates a PublicGetCreatorInternalServerError with default headers values
func (*PublicGetCreatorInternalServerError) Error ¶
func (o *PublicGetCreatorInternalServerError) Error() string
func (*PublicGetCreatorInternalServerError) GetPayload ¶
func (o *PublicGetCreatorInternalServerError) GetPayload() *ugcclientmodels.ResponseError
func (*PublicGetCreatorInternalServerError) ToJSONString ¶
func (o *PublicGetCreatorInternalServerError) ToJSONString() string
type PublicGetCreatorNotFound ¶
type PublicGetCreatorNotFound struct {
Payload *ugcclientmodels.ResponseError
}
PublicGetCreatorNotFound handles this case with default header values.
<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>771601</td><td>Creator not found</td></tr></table>
func NewPublicGetCreatorNotFound ¶
func NewPublicGetCreatorNotFound() *PublicGetCreatorNotFound
NewPublicGetCreatorNotFound creates a PublicGetCreatorNotFound with default headers values
func (*PublicGetCreatorNotFound) Error ¶
func (o *PublicGetCreatorNotFound) Error() string
func (*PublicGetCreatorNotFound) GetPayload ¶
func (o *PublicGetCreatorNotFound) GetPayload() *ugcclientmodels.ResponseError
func (*PublicGetCreatorNotFound) ToJSONString ¶
func (o *PublicGetCreatorNotFound) ToJSONString() string
type PublicGetCreatorOK ¶
type PublicGetCreatorOK struct {
Payload *ugcclientmodels.ModelsCreatorResponse
}
PublicGetCreatorOK handles this case with default header values.
Get creator stats
func NewPublicGetCreatorOK ¶
func NewPublicGetCreatorOK() *PublicGetCreatorOK
NewPublicGetCreatorOK creates a PublicGetCreatorOK with default headers values
func (*PublicGetCreatorOK) Error ¶
func (o *PublicGetCreatorOK) Error() string
func (*PublicGetCreatorOK) GetPayload ¶
func (o *PublicGetCreatorOK) GetPayload() *ugcclientmodels.ModelsCreatorResponse
func (*PublicGetCreatorOK) ToJSONString ¶
func (o *PublicGetCreatorOK) ToJSONString() string
type PublicGetCreatorParams ¶
type PublicGetCreatorParams struct { /*RetryPolicy*/ RetryPolicy *utils.Retry /*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 }
PublicGetCreatorParams contains all the parameters to send to the API endpoint for the public get creator operation typically these are written to a http.Request
func NewPublicGetCreatorParams ¶
func NewPublicGetCreatorParams() *PublicGetCreatorParams
NewPublicGetCreatorParams creates a new PublicGetCreatorParams object with the default values initialized.
func NewPublicGetCreatorParamsWithContext ¶
func NewPublicGetCreatorParamsWithContext(ctx context.Context) *PublicGetCreatorParams
NewPublicGetCreatorParamsWithContext creates a new PublicGetCreatorParams object with the default values initialized, and the ability to set a context for a request
func NewPublicGetCreatorParamsWithHTTPClient ¶
func NewPublicGetCreatorParamsWithHTTPClient(client *http.Client) *PublicGetCreatorParams
NewPublicGetCreatorParamsWithHTTPClient creates a new PublicGetCreatorParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewPublicGetCreatorParamsWithTimeout ¶
func NewPublicGetCreatorParamsWithTimeout(timeout time.Duration) *PublicGetCreatorParams
NewPublicGetCreatorParamsWithTimeout creates a new PublicGetCreatorParams object with the default values initialized, and the ability to set a timeout on a request
func (*PublicGetCreatorParams) SetAuthInfoWriter ¶
func (o *PublicGetCreatorParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
SetAuthInfoWriter adds the authInfoWriter to the public get creator params
func (*PublicGetCreatorParams) SetContext ¶
func (o *PublicGetCreatorParams) SetContext(ctx context.Context)
SetContext adds the context to the public get creator params
func (*PublicGetCreatorParams) SetFlightId ¶
func (o *PublicGetCreatorParams) SetFlightId(flightId string)
SetFlightId adds the flightId as the header value for this specific endpoint
func (*PublicGetCreatorParams) SetHTTPClient ¶
func (o *PublicGetCreatorParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the public get creator params
func (*PublicGetCreatorParams) SetHTTPClientTransport ¶
func (o *PublicGetCreatorParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
SetHTTPClient adds the HTTPClient Transport to the public get creator params
func (*PublicGetCreatorParams) SetNamespace ¶
func (o *PublicGetCreatorParams) SetNamespace(namespace string)
SetNamespace adds the namespace to the public get creator params
func (*PublicGetCreatorParams) SetTimeout ¶
func (o *PublicGetCreatorParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the public get creator params
func (*PublicGetCreatorParams) SetUserID ¶
func (o *PublicGetCreatorParams) SetUserID(userID string)
SetUserID adds the userId to the public get creator params
func (*PublicGetCreatorParams) WithContext ¶
func (o *PublicGetCreatorParams) WithContext(ctx context.Context) *PublicGetCreatorParams
WithContext adds the context to the public get creator params
func (*PublicGetCreatorParams) WithHTTPClient ¶
func (o *PublicGetCreatorParams) WithHTTPClient(client *http.Client) *PublicGetCreatorParams
WithHTTPClient adds the HTTPClient to the public get creator params
func (*PublicGetCreatorParams) WithNamespace ¶
func (o *PublicGetCreatorParams) WithNamespace(namespace string) *PublicGetCreatorParams
WithNamespace adds the namespace to the public get creator params
func (*PublicGetCreatorParams) WithTimeout ¶
func (o *PublicGetCreatorParams) WithTimeout(timeout time.Duration) *PublicGetCreatorParams
WithTimeout adds the timeout to the public get creator params
func (*PublicGetCreatorParams) WithUserID ¶
func (o *PublicGetCreatorParams) WithUserID(userID string) *PublicGetCreatorParams
WithUserID adds the userID to the public get creator params
func (*PublicGetCreatorParams) WriteToRequest ¶
func (o *PublicGetCreatorParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type PublicGetCreatorReader ¶
type PublicGetCreatorReader struct {
// contains filtered or unexported fields
}
PublicGetCreatorReader is a Reader for the PublicGetCreator structure.
func (*PublicGetCreatorReader) ReadResponse ¶
func (o *PublicGetCreatorReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type PublicGetCreatorUnauthorized ¶
type PublicGetCreatorUnauthorized struct {
}PublicGetCreatorUnauthorized 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 NewPublicGetCreatorUnauthorized ¶
func NewPublicGetCreatorUnauthorized() *PublicGetCreatorUnauthorized
NewPublicGetCreatorUnauthorized creates a PublicGetCreatorUnauthorized with default headers values
func (*PublicGetCreatorUnauthorized) Error ¶
func (o *PublicGetCreatorUnauthorized) Error() string
func (*PublicGetCreatorUnauthorized) GetPayload ¶
func (o *PublicGetCreatorUnauthorized) GetPayload() *ugcclientmodels.ResponseError
func (*PublicGetCreatorUnauthorized) ToJSONString ¶
func (o *PublicGetCreatorUnauthorized) ToJSONString() string
type PublicSearchCreatorBadRequest ¶
type PublicSearchCreatorBadRequest struct {
Payload *ugcclientmodels.ResponseError
}
PublicSearchCreatorBadRequest handles this case with default header values.
<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>770800</td><td>invalid paging parameter/max allowed number of tags is {maxTags}/invalid official parameter/invalid ishidden parameter</td></tr></table>
func NewPublicSearchCreatorBadRequest ¶
func NewPublicSearchCreatorBadRequest() *PublicSearchCreatorBadRequest
NewPublicSearchCreatorBadRequest creates a PublicSearchCreatorBadRequest with default headers values
func (*PublicSearchCreatorBadRequest) Error ¶
func (o *PublicSearchCreatorBadRequest) Error() string
func (*PublicSearchCreatorBadRequest) GetPayload ¶
func (o *PublicSearchCreatorBadRequest) GetPayload() *ugcclientmodels.ResponseError
func (*PublicSearchCreatorBadRequest) ToJSONString ¶
func (o *PublicSearchCreatorBadRequest) ToJSONString() string
type PublicSearchCreatorInternalServerError ¶
type PublicSearchCreatorInternalServerError struct {
Payload *ugcclientmodels.ResponseError
}
PublicSearchCreatorInternalServerError handles this case with default header values.
<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>770801</td><td>Unable to get ugc content: database/Unable to get creator</td></tr></table>
func NewPublicSearchCreatorInternalServerError ¶
func NewPublicSearchCreatorInternalServerError() *PublicSearchCreatorInternalServerError
NewPublicSearchCreatorInternalServerError creates a PublicSearchCreatorInternalServerError with default headers values
func (*PublicSearchCreatorInternalServerError) Error ¶
func (o *PublicSearchCreatorInternalServerError) Error() string
func (*PublicSearchCreatorInternalServerError) GetPayload ¶
func (o *PublicSearchCreatorInternalServerError) GetPayload() *ugcclientmodels.ResponseError
func (*PublicSearchCreatorInternalServerError) ToJSONString ¶
func (o *PublicSearchCreatorInternalServerError) ToJSONString() string
type PublicSearchCreatorOK ¶
type PublicSearchCreatorOK struct {
Payload *ugcclientmodels.ModelsPaginatedCreatorOverviewResponse
}
PublicSearchCreatorOK handles this case with default header values.
Search creator
func NewPublicSearchCreatorOK ¶
func NewPublicSearchCreatorOK() *PublicSearchCreatorOK
NewPublicSearchCreatorOK creates a PublicSearchCreatorOK with default headers values
func (*PublicSearchCreatorOK) Error ¶
func (o *PublicSearchCreatorOK) Error() string
func (*PublicSearchCreatorOK) GetPayload ¶
func (o *PublicSearchCreatorOK) GetPayload() *ugcclientmodels.ModelsPaginatedCreatorOverviewResponse
func (*PublicSearchCreatorOK) ToJSONString ¶
func (o *PublicSearchCreatorOK) ToJSONString() string
type PublicSearchCreatorParams ¶
type PublicSearchCreatorParams 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 /*Orderby sorting order: asc, desc. default=desc */ Orderby *string /*Sortby sorting criteria: followCount, totalLikedContent. default=object id */ Sortby *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 }
PublicSearchCreatorParams contains all the parameters to send to the API endpoint for the public search creator operation typically these are written to a http.Request
func NewPublicSearchCreatorParams ¶
func NewPublicSearchCreatorParams() *PublicSearchCreatorParams
NewPublicSearchCreatorParams creates a new PublicSearchCreatorParams object with the default values initialized.
func NewPublicSearchCreatorParamsWithContext ¶
func NewPublicSearchCreatorParamsWithContext(ctx context.Context) *PublicSearchCreatorParams
NewPublicSearchCreatorParamsWithContext creates a new PublicSearchCreatorParams object with the default values initialized, and the ability to set a context for a request
func NewPublicSearchCreatorParamsWithHTTPClient ¶
func NewPublicSearchCreatorParamsWithHTTPClient(client *http.Client) *PublicSearchCreatorParams
NewPublicSearchCreatorParamsWithHTTPClient creates a new PublicSearchCreatorParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewPublicSearchCreatorParamsWithTimeout ¶
func NewPublicSearchCreatorParamsWithTimeout(timeout time.Duration) *PublicSearchCreatorParams
NewPublicSearchCreatorParamsWithTimeout creates a new PublicSearchCreatorParams object with the default values initialized, and the ability to set a timeout on a request
func (*PublicSearchCreatorParams) SetAuthInfoWriter ¶
func (o *PublicSearchCreatorParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
SetAuthInfoWriter adds the authInfoWriter to the public search creator params
func (*PublicSearchCreatorParams) SetContext ¶
func (o *PublicSearchCreatorParams) SetContext(ctx context.Context)
SetContext adds the context to the public search creator params
func (*PublicSearchCreatorParams) SetFlightId ¶
func (o *PublicSearchCreatorParams) SetFlightId(flightId string)
SetFlightId adds the flightId as the header value for this specific endpoint
func (*PublicSearchCreatorParams) SetHTTPClient ¶
func (o *PublicSearchCreatorParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the public search creator params
func (*PublicSearchCreatorParams) SetHTTPClientTransport ¶
func (o *PublicSearchCreatorParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
SetHTTPClient adds the HTTPClient Transport to the public search creator params
func (*PublicSearchCreatorParams) SetLimit ¶
func (o *PublicSearchCreatorParams) SetLimit(limit *int64)
SetLimit adds the limit to the public search creator params
func (*PublicSearchCreatorParams) SetNamespace ¶
func (o *PublicSearchCreatorParams) SetNamespace(namespace string)
SetNamespace adds the namespace to the public search creator params
func (*PublicSearchCreatorParams) SetOffset ¶
func (o *PublicSearchCreatorParams) SetOffset(offset *int64)
SetOffset adds the offset to the public search creator params
func (*PublicSearchCreatorParams) SetOrderby ¶
func (o *PublicSearchCreatorParams) SetOrderby(orderby *string)
SetOrderby adds the orderby to the public search creator params
func (*PublicSearchCreatorParams) SetSortby ¶
func (o *PublicSearchCreatorParams) SetSortby(sortby *string)
SetSortby adds the sortby to the public search creator params
func (*PublicSearchCreatorParams) SetTimeout ¶
func (o *PublicSearchCreatorParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the public search creator params
func (*PublicSearchCreatorParams) WithContext ¶
func (o *PublicSearchCreatorParams) WithContext(ctx context.Context) *PublicSearchCreatorParams
WithContext adds the context to the public search creator params
func (*PublicSearchCreatorParams) WithHTTPClient ¶
func (o *PublicSearchCreatorParams) WithHTTPClient(client *http.Client) *PublicSearchCreatorParams
WithHTTPClient adds the HTTPClient to the public search creator params
func (*PublicSearchCreatorParams) WithLimit ¶
func (o *PublicSearchCreatorParams) WithLimit(limit *int64) *PublicSearchCreatorParams
WithLimit adds the limit to the public search creator params
func (*PublicSearchCreatorParams) WithNamespace ¶
func (o *PublicSearchCreatorParams) WithNamespace(namespace string) *PublicSearchCreatorParams
WithNamespace adds the namespace to the public search creator params
func (*PublicSearchCreatorParams) WithOffset ¶
func (o *PublicSearchCreatorParams) WithOffset(offset *int64) *PublicSearchCreatorParams
WithOffset adds the offset to the public search creator params
func (*PublicSearchCreatorParams) WithOrderby ¶
func (o *PublicSearchCreatorParams) WithOrderby(orderby *string) *PublicSearchCreatorParams
WithOrderby adds the orderby to the public search creator params
func (*PublicSearchCreatorParams) WithSortby ¶
func (o *PublicSearchCreatorParams) WithSortby(sortby *string) *PublicSearchCreatorParams
WithSortby adds the sortby to the public search creator params
func (*PublicSearchCreatorParams) WithTimeout ¶
func (o *PublicSearchCreatorParams) WithTimeout(timeout time.Duration) *PublicSearchCreatorParams
WithTimeout adds the timeout to the public search creator params
func (*PublicSearchCreatorParams) WriteToRequest ¶
func (o *PublicSearchCreatorParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type PublicSearchCreatorReader ¶
type PublicSearchCreatorReader struct {
// contains filtered or unexported fields
}
PublicSearchCreatorReader is a Reader for the PublicSearchCreator structure.
func (*PublicSearchCreatorReader) ReadResponse ¶
func (o *PublicSearchCreatorReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type PublicSearchCreatorUnauthorized ¶
type PublicSearchCreatorUnauthorized struct {
}PublicSearchCreatorUnauthorized 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 NewPublicSearchCreatorUnauthorized ¶
func NewPublicSearchCreatorUnauthorized() *PublicSearchCreatorUnauthorized
NewPublicSearchCreatorUnauthorized creates a PublicSearchCreatorUnauthorized with default headers values
func (*PublicSearchCreatorUnauthorized) Error ¶
func (o *PublicSearchCreatorUnauthorized) Error() string
func (*PublicSearchCreatorUnauthorized) GetPayload ¶
func (o *PublicSearchCreatorUnauthorized) GetPayload() *ugcclientmodels.ResponseError
func (*PublicSearchCreatorUnauthorized) ToJSONString ¶
func (o *PublicSearchCreatorUnauthorized) ToJSONString() string