Documentation ¶
Index ¶
- type AdminChatHistoryBadRequest
- type AdminChatHistoryForbidden
- type AdminChatHistoryInternalServerError
- type AdminChatHistoryNotFound
- type AdminChatHistoryOK
- type AdminChatHistoryParams
- func NewAdminChatHistoryParams() *AdminChatHistoryParams
- func NewAdminChatHistoryParamsWithContext(ctx context.Context) *AdminChatHistoryParams
- func NewAdminChatHistoryParamsWithHTTPClient(client *http.Client) *AdminChatHistoryParams
- func NewAdminChatHistoryParamsWithTimeout(timeout time.Duration) *AdminChatHistoryParams
- func (o *AdminChatHistoryParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
- func (o *AdminChatHistoryParams) SetContext(ctx context.Context)
- func (o *AdminChatHistoryParams) SetFriendID(friendID string)
- func (o *AdminChatHistoryParams) SetHTTPClient(client *http.Client)
- func (o *AdminChatHistoryParams) SetNamespace(namespace string)
- func (o *AdminChatHistoryParams) SetTimeout(timeout time.Duration)
- func (o *AdminChatHistoryParams) SetUserID(userID string)
- func (o *AdminChatHistoryParams) WithContext(ctx context.Context) *AdminChatHistoryParams
- func (o *AdminChatHistoryParams) WithFriendID(friendID string) *AdminChatHistoryParams
- func (o *AdminChatHistoryParams) WithHTTPClient(client *http.Client) *AdminChatHistoryParams
- func (o *AdminChatHistoryParams) WithNamespace(namespace string) *AdminChatHistoryParams
- func (o *AdminChatHistoryParams) WithTimeout(timeout time.Duration) *AdminChatHistoryParams
- func (o *AdminChatHistoryParams) WithUserID(userID string) *AdminChatHistoryParams
- func (o *AdminChatHistoryParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type AdminChatHistoryReader
- type AdminChatHistoryUnauthorized
- type Client
- func (a *Client) AdminChatHistory(params *AdminChatHistoryParams, authInfo runtime.ClientAuthInfoWriter) (*AdminChatHistoryOK, *AdminChatHistoryBadRequest, ...)
- func (a *Client) AdminChatHistoryShort(params *AdminChatHistoryParams, authInfo runtime.ClientAuthInfoWriter) (*AdminChatHistoryOK, error)
- func (a *Client) GetPersonalChatHistoryV1Public(params *GetPersonalChatHistoryV1PublicParams, ...) (*GetPersonalChatHistoryV1PublicOK, *GetPersonalChatHistoryV1PublicBadRequest, ...)
- func (a *Client) GetPersonalChatHistoryV1PublicShort(params *GetPersonalChatHistoryV1PublicParams, ...) (*GetPersonalChatHistoryV1PublicOK, error)
- func (a *Client) PersonalChatHistory(params *PersonalChatHistoryParams, authInfo runtime.ClientAuthInfoWriter) (*PersonalChatHistoryOK, *PersonalChatHistoryBadRequest, ...)
- func (a *Client) PersonalChatHistoryShort(params *PersonalChatHistoryParams, authInfo runtime.ClientAuthInfoWriter) (*PersonalChatHistoryOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- type ClientService
- type GetPersonalChatHistoryV1PublicBadRequest
- type GetPersonalChatHistoryV1PublicForbidden
- type GetPersonalChatHistoryV1PublicInternalServerError
- type GetPersonalChatHistoryV1PublicNotFound
- type GetPersonalChatHistoryV1PublicOK
- type GetPersonalChatHistoryV1PublicParams
- func NewGetPersonalChatHistoryV1PublicParams() *GetPersonalChatHistoryV1PublicParams
- func NewGetPersonalChatHistoryV1PublicParamsWithContext(ctx context.Context) *GetPersonalChatHistoryV1PublicParams
- func NewGetPersonalChatHistoryV1PublicParamsWithHTTPClient(client *http.Client) *GetPersonalChatHistoryV1PublicParams
- func NewGetPersonalChatHistoryV1PublicParamsWithTimeout(timeout time.Duration) *GetPersonalChatHistoryV1PublicParams
- func (o *GetPersonalChatHistoryV1PublicParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
- func (o *GetPersonalChatHistoryV1PublicParams) SetContext(ctx context.Context)
- func (o *GetPersonalChatHistoryV1PublicParams) SetFriendID(friendID string)
- func (o *GetPersonalChatHistoryV1PublicParams) SetHTTPClient(client *http.Client)
- func (o *GetPersonalChatHistoryV1PublicParams) SetNamespace(namespace string)
- func (o *GetPersonalChatHistoryV1PublicParams) SetTimeout(timeout time.Duration)
- func (o *GetPersonalChatHistoryV1PublicParams) WithContext(ctx context.Context) *GetPersonalChatHistoryV1PublicParams
- func (o *GetPersonalChatHistoryV1PublicParams) WithFriendID(friendID string) *GetPersonalChatHistoryV1PublicParams
- func (o *GetPersonalChatHistoryV1PublicParams) WithHTTPClient(client *http.Client) *GetPersonalChatHistoryV1PublicParams
- func (o *GetPersonalChatHistoryV1PublicParams) WithNamespace(namespace string) *GetPersonalChatHistoryV1PublicParams
- func (o *GetPersonalChatHistoryV1PublicParams) WithTimeout(timeout time.Duration) *GetPersonalChatHistoryV1PublicParams
- func (o *GetPersonalChatHistoryV1PublicParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetPersonalChatHistoryV1PublicReader
- type GetPersonalChatHistoryV1PublicUnauthorized
- type PersonalChatHistoryBadRequest
- type PersonalChatHistoryForbidden
- type PersonalChatHistoryInternalServerError
- type PersonalChatHistoryNotFound
- type PersonalChatHistoryOK
- type PersonalChatHistoryParams
- func NewPersonalChatHistoryParams() *PersonalChatHistoryParams
- func NewPersonalChatHistoryParamsWithContext(ctx context.Context) *PersonalChatHistoryParams
- func NewPersonalChatHistoryParamsWithHTTPClient(client *http.Client) *PersonalChatHistoryParams
- func NewPersonalChatHistoryParamsWithTimeout(timeout time.Duration) *PersonalChatHistoryParams
- func (o *PersonalChatHistoryParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
- func (o *PersonalChatHistoryParams) SetContext(ctx context.Context)
- func (o *PersonalChatHistoryParams) SetFriendID(friendID string)
- func (o *PersonalChatHistoryParams) SetHTTPClient(client *http.Client)
- func (o *PersonalChatHistoryParams) SetNamespace(namespace string)
- func (o *PersonalChatHistoryParams) SetTimeout(timeout time.Duration)
- func (o *PersonalChatHistoryParams) SetUserID(userID string)
- func (o *PersonalChatHistoryParams) WithContext(ctx context.Context) *PersonalChatHistoryParams
- func (o *PersonalChatHistoryParams) WithFriendID(friendID string) *PersonalChatHistoryParams
- func (o *PersonalChatHistoryParams) WithHTTPClient(client *http.Client) *PersonalChatHistoryParams
- func (o *PersonalChatHistoryParams) WithNamespace(namespace string) *PersonalChatHistoryParams
- func (o *PersonalChatHistoryParams) WithTimeout(timeout time.Duration) *PersonalChatHistoryParams
- func (o *PersonalChatHistoryParams) WithUserID(userID string) *PersonalChatHistoryParams
- func (o *PersonalChatHistoryParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PersonalChatHistoryReader
- type PersonalChatHistoryUnauthorized
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AdminChatHistoryBadRequest ¶
type AdminChatHistoryBadRequest struct {
Payload *lobbyclientmodels.RestapiErrorResponseBody
}
AdminChatHistoryBadRequest handles this case with default header values.
Bad Request
func NewAdminChatHistoryBadRequest ¶
func NewAdminChatHistoryBadRequest() *AdminChatHistoryBadRequest
NewAdminChatHistoryBadRequest creates a AdminChatHistoryBadRequest with default headers values
func (*AdminChatHistoryBadRequest) Error ¶
func (o *AdminChatHistoryBadRequest) Error() string
func (*AdminChatHistoryBadRequest) GetPayload ¶
func (o *AdminChatHistoryBadRequest) GetPayload() *lobbyclientmodels.RestapiErrorResponseBody
type AdminChatHistoryForbidden ¶
type AdminChatHistoryForbidden struct {
Payload *lobbyclientmodels.RestapiErrorResponseBody
}
AdminChatHistoryForbidden handles this case with default header values.
Forbidden
func NewAdminChatHistoryForbidden ¶
func NewAdminChatHistoryForbidden() *AdminChatHistoryForbidden
NewAdminChatHistoryForbidden creates a AdminChatHistoryForbidden with default headers values
func (*AdminChatHistoryForbidden) Error ¶
func (o *AdminChatHistoryForbidden) Error() string
func (*AdminChatHistoryForbidden) GetPayload ¶
func (o *AdminChatHistoryForbidden) GetPayload() *lobbyclientmodels.RestapiErrorResponseBody
type AdminChatHistoryInternalServerError ¶
type AdminChatHistoryInternalServerError struct {
Payload *lobbyclientmodels.RestapiErrorResponseBody
}
AdminChatHistoryInternalServerError handles this case with default header values.
Internal Server Error
func NewAdminChatHistoryInternalServerError ¶
func NewAdminChatHistoryInternalServerError() *AdminChatHistoryInternalServerError
NewAdminChatHistoryInternalServerError creates a AdminChatHistoryInternalServerError with default headers values
func (*AdminChatHistoryInternalServerError) Error ¶
func (o *AdminChatHistoryInternalServerError) Error() string
func (*AdminChatHistoryInternalServerError) GetPayload ¶
func (o *AdminChatHistoryInternalServerError) GetPayload() *lobbyclientmodels.RestapiErrorResponseBody
type AdminChatHistoryNotFound ¶
type AdminChatHistoryNotFound struct {
Payload *lobbyclientmodels.RestapiErrorResponseBody
}
AdminChatHistoryNotFound handles this case with default header values.
Not Found
func NewAdminChatHistoryNotFound ¶
func NewAdminChatHistoryNotFound() *AdminChatHistoryNotFound
NewAdminChatHistoryNotFound creates a AdminChatHistoryNotFound with default headers values
func (*AdminChatHistoryNotFound) Error ¶
func (o *AdminChatHistoryNotFound) Error() string
func (*AdminChatHistoryNotFound) GetPayload ¶
func (o *AdminChatHistoryNotFound) GetPayload() *lobbyclientmodels.RestapiErrorResponseBody
type AdminChatHistoryOK ¶
type AdminChatHistoryOK struct {
Payload []*lobbyclientmodels.ModelChatMessageResponse
}
AdminChatHistoryOK handles this case with default header values.
OK
func NewAdminChatHistoryOK ¶
func NewAdminChatHistoryOK() *AdminChatHistoryOK
NewAdminChatHistoryOK creates a AdminChatHistoryOK with default headers values
func (*AdminChatHistoryOK) Error ¶
func (o *AdminChatHistoryOK) Error() string
func (*AdminChatHistoryOK) GetPayload ¶
func (o *AdminChatHistoryOK) GetPayload() []*lobbyclientmodels.ModelChatMessageResponse
type AdminChatHistoryParams ¶
type AdminChatHistoryParams struct { /*FriendID user ID that receive the chat */ FriendID string /*Namespace namespace */ Namespace string /*UserID user ID */ UserID string AuthInfoWriter runtime.ClientAuthInfoWriter Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
AdminChatHistoryParams contains all the parameters to send to the API endpoint for the admin chat history operation typically these are written to a http.Request
func NewAdminChatHistoryParams ¶
func NewAdminChatHistoryParams() *AdminChatHistoryParams
NewAdminChatHistoryParams creates a new AdminChatHistoryParams object with the default values initialized.
func NewAdminChatHistoryParamsWithContext ¶
func NewAdminChatHistoryParamsWithContext(ctx context.Context) *AdminChatHistoryParams
NewAdminChatHistoryParamsWithContext creates a new AdminChatHistoryParams object with the default values initialized, and the ability to set a context for a request
func NewAdminChatHistoryParamsWithHTTPClient ¶
func NewAdminChatHistoryParamsWithHTTPClient(client *http.Client) *AdminChatHistoryParams
NewAdminChatHistoryParamsWithHTTPClient creates a new AdminChatHistoryParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewAdminChatHistoryParamsWithTimeout ¶
func NewAdminChatHistoryParamsWithTimeout(timeout time.Duration) *AdminChatHistoryParams
NewAdminChatHistoryParamsWithTimeout creates a new AdminChatHistoryParams object with the default values initialized, and the ability to set a timeout on a request
func (*AdminChatHistoryParams) SetAuthInfoWriter ¶ added in v0.17.0
func (o *AdminChatHistoryParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
SetAuthInfoWriter adds the authInfoWriter to the admin chat history params
func (*AdminChatHistoryParams) SetContext ¶
func (o *AdminChatHistoryParams) SetContext(ctx context.Context)
SetContext adds the context to the admin chat history params
func (*AdminChatHistoryParams) SetFriendID ¶
func (o *AdminChatHistoryParams) SetFriendID(friendID string)
SetFriendID adds the friendId to the admin chat history params
func (*AdminChatHistoryParams) SetHTTPClient ¶
func (o *AdminChatHistoryParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the admin chat history params
func (*AdminChatHistoryParams) SetNamespace ¶
func (o *AdminChatHistoryParams) SetNamespace(namespace string)
SetNamespace adds the namespace to the admin chat history params
func (*AdminChatHistoryParams) SetTimeout ¶
func (o *AdminChatHistoryParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the admin chat history params
func (*AdminChatHistoryParams) SetUserID ¶
func (o *AdminChatHistoryParams) SetUserID(userID string)
SetUserID adds the userId to the admin chat history params
func (*AdminChatHistoryParams) WithContext ¶
func (o *AdminChatHistoryParams) WithContext(ctx context.Context) *AdminChatHistoryParams
WithContext adds the context to the admin chat history params
func (*AdminChatHistoryParams) WithFriendID ¶
func (o *AdminChatHistoryParams) WithFriendID(friendID string) *AdminChatHistoryParams
WithFriendID adds the friendID to the admin chat history params
func (*AdminChatHistoryParams) WithHTTPClient ¶
func (o *AdminChatHistoryParams) WithHTTPClient(client *http.Client) *AdminChatHistoryParams
WithHTTPClient adds the HTTPClient to the admin chat history params
func (*AdminChatHistoryParams) WithNamespace ¶
func (o *AdminChatHistoryParams) WithNamespace(namespace string) *AdminChatHistoryParams
WithNamespace adds the namespace to the admin chat history params
func (*AdminChatHistoryParams) WithTimeout ¶
func (o *AdminChatHistoryParams) WithTimeout(timeout time.Duration) *AdminChatHistoryParams
WithTimeout adds the timeout to the admin chat history params
func (*AdminChatHistoryParams) WithUserID ¶
func (o *AdminChatHistoryParams) WithUserID(userID string) *AdminChatHistoryParams
WithUserID adds the userID to the admin chat history params
func (*AdminChatHistoryParams) WriteToRequest ¶
func (o *AdminChatHistoryParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type AdminChatHistoryReader ¶
type AdminChatHistoryReader struct {
// contains filtered or unexported fields
}
AdminChatHistoryReader is a Reader for the AdminChatHistory structure.
func (*AdminChatHistoryReader) ReadResponse ¶
func (o *AdminChatHistoryReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type AdminChatHistoryUnauthorized ¶
type AdminChatHistoryUnauthorized struct {
}AdminChatHistoryUnauthorized handles this case with default header values.
Unauthorized
func NewAdminChatHistoryUnauthorized ¶
func NewAdminChatHistoryUnauthorized() *AdminChatHistoryUnauthorized
NewAdminChatHistoryUnauthorized creates a AdminChatHistoryUnauthorized with default headers values
func (*AdminChatHistoryUnauthorized) Error ¶
func (o *AdminChatHistoryUnauthorized) Error() string
func (*AdminChatHistoryUnauthorized) GetPayload ¶
func (o *AdminChatHistoryUnauthorized) GetPayload() *lobbyclientmodels.RestapiErrorResponseBody
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client for chat API
func (*Client) AdminChatHistory ¶
func (a *Client) AdminChatHistory(params *AdminChatHistoryParams, authInfo runtime.ClientAuthInfoWriter) (*AdminChatHistoryOK, *AdminChatHistoryBadRequest, *AdminChatHistoryUnauthorized, *AdminChatHistoryForbidden, *AdminChatHistoryNotFound, *AdminChatHistoryInternalServerError, error)
AdminChatHistory admins get chat history Required permission : <code>NAMESPACE:{namespace}:USER:{userId}:CHAT [READ]</code> with scope <code>social</code> <br>get chat history in a namespace.
func (*Client) AdminChatHistoryShort ¶ added in v0.8.0
func (a *Client) AdminChatHistoryShort(params *AdminChatHistoryParams, authInfo runtime.ClientAuthInfoWriter) (*AdminChatHistoryOK, error)
func (*Client) GetPersonalChatHistoryV1Public ¶
func (a *Client) GetPersonalChatHistoryV1Public(params *GetPersonalChatHistoryV1PublicParams, authInfo runtime.ClientAuthInfoWriter) (*GetPersonalChatHistoryV1PublicOK, *GetPersonalChatHistoryV1PublicBadRequest, *GetPersonalChatHistoryV1PublicUnauthorized, *GetPersonalChatHistoryV1PublicForbidden, *GetPersonalChatHistoryV1PublicNotFound, *GetPersonalChatHistoryV1PublicInternalServerError, error)
GetPersonalChatHistoryV1Public loads personal chat history Required valid user authorization <br/> <br>load personal chat history in a namespace based on Friend User ID <br/> Action Code: 50101
func (*Client) GetPersonalChatHistoryV1PublicShort ¶ added in v0.8.0
func (a *Client) GetPersonalChatHistoryV1PublicShort(params *GetPersonalChatHistoryV1PublicParams, authInfo runtime.ClientAuthInfoWriter) (*GetPersonalChatHistoryV1PublicOK, error)
func (*Client) PersonalChatHistory ¶
func (a *Client) PersonalChatHistory(params *PersonalChatHistoryParams, authInfo runtime.ClientAuthInfoWriter) (*PersonalChatHistoryOK, *PersonalChatHistoryBadRequest, *PersonalChatHistoryUnauthorized, *PersonalChatHistoryForbidden, *PersonalChatHistoryNotFound, *PersonalChatHistoryInternalServerError, error)
PersonalChatHistory loads personal chat history Required permission : <code>NAMESPACE:{namespace}:USER:{userId}:CHAT [READ]</code> with scope <code>social</code> <br>load personal chat history in a namespace.
func (*Client) PersonalChatHistoryShort ¶ added in v0.8.0
func (a *Client) PersonalChatHistoryShort(params *PersonalChatHistoryParams, authInfo runtime.ClientAuthInfoWriter) (*PersonalChatHistoryOK, error)
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
type ClientService ¶
type ClientService interface { AdminChatHistory(params *AdminChatHistoryParams, authInfo runtime.ClientAuthInfoWriter) (*AdminChatHistoryOK, *AdminChatHistoryBadRequest, *AdminChatHistoryUnauthorized, *AdminChatHistoryForbidden, *AdminChatHistoryNotFound, *AdminChatHistoryInternalServerError, error) AdminChatHistoryShort(params *AdminChatHistoryParams, authInfo runtime.ClientAuthInfoWriter) (*AdminChatHistoryOK, error) GetPersonalChatHistoryV1Public(params *GetPersonalChatHistoryV1PublicParams, authInfo runtime.ClientAuthInfoWriter) (*GetPersonalChatHistoryV1PublicOK, *GetPersonalChatHistoryV1PublicBadRequest, *GetPersonalChatHistoryV1PublicUnauthorized, *GetPersonalChatHistoryV1PublicForbidden, *GetPersonalChatHistoryV1PublicNotFound, *GetPersonalChatHistoryV1PublicInternalServerError, error) GetPersonalChatHistoryV1PublicShort(params *GetPersonalChatHistoryV1PublicParams, authInfo runtime.ClientAuthInfoWriter) (*GetPersonalChatHistoryV1PublicOK, error) PersonalChatHistory(params *PersonalChatHistoryParams, authInfo runtime.ClientAuthInfoWriter) (*PersonalChatHistoryOK, *PersonalChatHistoryBadRequest, *PersonalChatHistoryUnauthorized, *PersonalChatHistoryForbidden, *PersonalChatHistoryNotFound, *PersonalChatHistoryInternalServerError, error) PersonalChatHistoryShort(params *PersonalChatHistoryParams, authInfo runtime.ClientAuthInfoWriter) (*PersonalChatHistoryOK, 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 chat API client.
type GetPersonalChatHistoryV1PublicBadRequest ¶
type GetPersonalChatHistoryV1PublicBadRequest struct {
Payload *lobbyclientmodels.RestapiErrorResponseBody
}
GetPersonalChatHistoryV1PublicBadRequest handles this case with default header values.
Bad Request
func NewGetPersonalChatHistoryV1PublicBadRequest ¶
func NewGetPersonalChatHistoryV1PublicBadRequest() *GetPersonalChatHistoryV1PublicBadRequest
NewGetPersonalChatHistoryV1PublicBadRequest creates a GetPersonalChatHistoryV1PublicBadRequest with default headers values
func (*GetPersonalChatHistoryV1PublicBadRequest) Error ¶
func (o *GetPersonalChatHistoryV1PublicBadRequest) Error() string
func (*GetPersonalChatHistoryV1PublicBadRequest) GetPayload ¶
func (o *GetPersonalChatHistoryV1PublicBadRequest) GetPayload() *lobbyclientmodels.RestapiErrorResponseBody
type GetPersonalChatHistoryV1PublicForbidden ¶
type GetPersonalChatHistoryV1PublicForbidden struct {
Payload *lobbyclientmodels.RestapiErrorResponseBody
}
GetPersonalChatHistoryV1PublicForbidden handles this case with default header values.
Forbidden
func NewGetPersonalChatHistoryV1PublicForbidden ¶
func NewGetPersonalChatHistoryV1PublicForbidden() *GetPersonalChatHistoryV1PublicForbidden
NewGetPersonalChatHistoryV1PublicForbidden creates a GetPersonalChatHistoryV1PublicForbidden with default headers values
func (*GetPersonalChatHistoryV1PublicForbidden) Error ¶
func (o *GetPersonalChatHistoryV1PublicForbidden) Error() string
func (*GetPersonalChatHistoryV1PublicForbidden) GetPayload ¶
func (o *GetPersonalChatHistoryV1PublicForbidden) GetPayload() *lobbyclientmodels.RestapiErrorResponseBody
type GetPersonalChatHistoryV1PublicInternalServerError ¶
type GetPersonalChatHistoryV1PublicInternalServerError struct {
Payload *lobbyclientmodels.RestapiErrorResponseBody
}
GetPersonalChatHistoryV1PublicInternalServerError handles this case with default header values.
Internal Server Error
func NewGetPersonalChatHistoryV1PublicInternalServerError ¶
func NewGetPersonalChatHistoryV1PublicInternalServerError() *GetPersonalChatHistoryV1PublicInternalServerError
NewGetPersonalChatHistoryV1PublicInternalServerError creates a GetPersonalChatHistoryV1PublicInternalServerError with default headers values
func (*GetPersonalChatHistoryV1PublicInternalServerError) Error ¶
func (o *GetPersonalChatHistoryV1PublicInternalServerError) Error() string
func (*GetPersonalChatHistoryV1PublicInternalServerError) GetPayload ¶
func (o *GetPersonalChatHistoryV1PublicInternalServerError) GetPayload() *lobbyclientmodels.RestapiErrorResponseBody
type GetPersonalChatHistoryV1PublicNotFound ¶
type GetPersonalChatHistoryV1PublicNotFound struct {
Payload *lobbyclientmodels.RestapiErrorResponseBody
}
GetPersonalChatHistoryV1PublicNotFound handles this case with default header values.
Not Found
func NewGetPersonalChatHistoryV1PublicNotFound ¶
func NewGetPersonalChatHistoryV1PublicNotFound() *GetPersonalChatHistoryV1PublicNotFound
NewGetPersonalChatHistoryV1PublicNotFound creates a GetPersonalChatHistoryV1PublicNotFound with default headers values
func (*GetPersonalChatHistoryV1PublicNotFound) Error ¶
func (o *GetPersonalChatHistoryV1PublicNotFound) Error() string
func (*GetPersonalChatHistoryV1PublicNotFound) GetPayload ¶
func (o *GetPersonalChatHistoryV1PublicNotFound) GetPayload() *lobbyclientmodels.RestapiErrorResponseBody
type GetPersonalChatHistoryV1PublicOK ¶
type GetPersonalChatHistoryV1PublicOK struct {
Payload []*lobbyclientmodels.ModelChatMessageResponse
}
GetPersonalChatHistoryV1PublicOK handles this case with default header values.
OK
func NewGetPersonalChatHistoryV1PublicOK ¶
func NewGetPersonalChatHistoryV1PublicOK() *GetPersonalChatHistoryV1PublicOK
NewGetPersonalChatHistoryV1PublicOK creates a GetPersonalChatHistoryV1PublicOK with default headers values
func (*GetPersonalChatHistoryV1PublicOK) Error ¶
func (o *GetPersonalChatHistoryV1PublicOK) Error() string
func (*GetPersonalChatHistoryV1PublicOK) GetPayload ¶
func (o *GetPersonalChatHistoryV1PublicOK) GetPayload() []*lobbyclientmodels.ModelChatMessageResponse
type GetPersonalChatHistoryV1PublicParams ¶
type GetPersonalChatHistoryV1PublicParams struct { /*FriendID Friend User ID, should follow UUID version 4 without hyphen */ FriendID string /*Namespace namespace */ Namespace string AuthInfoWriter runtime.ClientAuthInfoWriter Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetPersonalChatHistoryV1PublicParams contains all the parameters to send to the API endpoint for the get personal chat history v1 public operation typically these are written to a http.Request
func NewGetPersonalChatHistoryV1PublicParams ¶
func NewGetPersonalChatHistoryV1PublicParams() *GetPersonalChatHistoryV1PublicParams
NewGetPersonalChatHistoryV1PublicParams creates a new GetPersonalChatHistoryV1PublicParams object with the default values initialized.
func NewGetPersonalChatHistoryV1PublicParamsWithContext ¶
func NewGetPersonalChatHistoryV1PublicParamsWithContext(ctx context.Context) *GetPersonalChatHistoryV1PublicParams
NewGetPersonalChatHistoryV1PublicParamsWithContext creates a new GetPersonalChatHistoryV1PublicParams object with the default values initialized, and the ability to set a context for a request
func NewGetPersonalChatHistoryV1PublicParamsWithHTTPClient ¶
func NewGetPersonalChatHistoryV1PublicParamsWithHTTPClient(client *http.Client) *GetPersonalChatHistoryV1PublicParams
NewGetPersonalChatHistoryV1PublicParamsWithHTTPClient creates a new GetPersonalChatHistoryV1PublicParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewGetPersonalChatHistoryV1PublicParamsWithTimeout ¶
func NewGetPersonalChatHistoryV1PublicParamsWithTimeout(timeout time.Duration) *GetPersonalChatHistoryV1PublicParams
NewGetPersonalChatHistoryV1PublicParamsWithTimeout creates a new GetPersonalChatHistoryV1PublicParams object with the default values initialized, and the ability to set a timeout on a request
func (*GetPersonalChatHistoryV1PublicParams) SetAuthInfoWriter ¶ added in v0.17.0
func (o *GetPersonalChatHistoryV1PublicParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
SetAuthInfoWriter adds the authInfoWriter to the get personal chat history v1 public params
func (*GetPersonalChatHistoryV1PublicParams) SetContext ¶
func (o *GetPersonalChatHistoryV1PublicParams) SetContext(ctx context.Context)
SetContext adds the context to the get personal chat history v1 public params
func (*GetPersonalChatHistoryV1PublicParams) SetFriendID ¶
func (o *GetPersonalChatHistoryV1PublicParams) SetFriendID(friendID string)
SetFriendID adds the friendId to the get personal chat history v1 public params
func (*GetPersonalChatHistoryV1PublicParams) SetHTTPClient ¶
func (o *GetPersonalChatHistoryV1PublicParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get personal chat history v1 public params
func (*GetPersonalChatHistoryV1PublicParams) SetNamespace ¶
func (o *GetPersonalChatHistoryV1PublicParams) SetNamespace(namespace string)
SetNamespace adds the namespace to the get personal chat history v1 public params
func (*GetPersonalChatHistoryV1PublicParams) SetTimeout ¶
func (o *GetPersonalChatHistoryV1PublicParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get personal chat history v1 public params
func (*GetPersonalChatHistoryV1PublicParams) WithContext ¶
func (o *GetPersonalChatHistoryV1PublicParams) WithContext(ctx context.Context) *GetPersonalChatHistoryV1PublicParams
WithContext adds the context to the get personal chat history v1 public params
func (*GetPersonalChatHistoryV1PublicParams) WithFriendID ¶
func (o *GetPersonalChatHistoryV1PublicParams) WithFriendID(friendID string) *GetPersonalChatHistoryV1PublicParams
WithFriendID adds the friendID to the get personal chat history v1 public params
func (*GetPersonalChatHistoryV1PublicParams) WithHTTPClient ¶
func (o *GetPersonalChatHistoryV1PublicParams) WithHTTPClient(client *http.Client) *GetPersonalChatHistoryV1PublicParams
WithHTTPClient adds the HTTPClient to the get personal chat history v1 public params
func (*GetPersonalChatHistoryV1PublicParams) WithNamespace ¶
func (o *GetPersonalChatHistoryV1PublicParams) WithNamespace(namespace string) *GetPersonalChatHistoryV1PublicParams
WithNamespace adds the namespace to the get personal chat history v1 public params
func (*GetPersonalChatHistoryV1PublicParams) WithTimeout ¶
func (o *GetPersonalChatHistoryV1PublicParams) WithTimeout(timeout time.Duration) *GetPersonalChatHistoryV1PublicParams
WithTimeout adds the timeout to the get personal chat history v1 public params
func (*GetPersonalChatHistoryV1PublicParams) WriteToRequest ¶
func (o *GetPersonalChatHistoryV1PublicParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetPersonalChatHistoryV1PublicReader ¶
type GetPersonalChatHistoryV1PublicReader struct {
// contains filtered or unexported fields
}
GetPersonalChatHistoryV1PublicReader is a Reader for the GetPersonalChatHistoryV1Public structure.
func (*GetPersonalChatHistoryV1PublicReader) ReadResponse ¶
func (o *GetPersonalChatHistoryV1PublicReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetPersonalChatHistoryV1PublicUnauthorized ¶
type GetPersonalChatHistoryV1PublicUnauthorized struct {
}GetPersonalChatHistoryV1PublicUnauthorized handles this case with default header values.
Unauthorized
func NewGetPersonalChatHistoryV1PublicUnauthorized ¶
func NewGetPersonalChatHistoryV1PublicUnauthorized() *GetPersonalChatHistoryV1PublicUnauthorized
NewGetPersonalChatHistoryV1PublicUnauthorized creates a GetPersonalChatHistoryV1PublicUnauthorized with default headers values
func (*GetPersonalChatHistoryV1PublicUnauthorized) Error ¶
func (o *GetPersonalChatHistoryV1PublicUnauthorized) Error() string
func (*GetPersonalChatHistoryV1PublicUnauthorized) GetPayload ¶
func (o *GetPersonalChatHistoryV1PublicUnauthorized) GetPayload() *lobbyclientmodels.RestapiErrorResponseBody
type PersonalChatHistoryBadRequest ¶
type PersonalChatHistoryBadRequest struct {
Payload *lobbyclientmodels.RestapiErrorResponseBody
}
PersonalChatHistoryBadRequest handles this case with default header values.
Bad Request
func NewPersonalChatHistoryBadRequest ¶
func NewPersonalChatHistoryBadRequest() *PersonalChatHistoryBadRequest
NewPersonalChatHistoryBadRequest creates a PersonalChatHistoryBadRequest with default headers values
func (*PersonalChatHistoryBadRequest) Error ¶
func (o *PersonalChatHistoryBadRequest) Error() string
func (*PersonalChatHistoryBadRequest) GetPayload ¶
func (o *PersonalChatHistoryBadRequest) GetPayload() *lobbyclientmodels.RestapiErrorResponseBody
type PersonalChatHistoryForbidden ¶
type PersonalChatHistoryForbidden struct {
Payload *lobbyclientmodels.RestapiErrorResponseBody
}
PersonalChatHistoryForbidden handles this case with default header values.
Forbidden
func NewPersonalChatHistoryForbidden ¶
func NewPersonalChatHistoryForbidden() *PersonalChatHistoryForbidden
NewPersonalChatHistoryForbidden creates a PersonalChatHistoryForbidden with default headers values
func (*PersonalChatHistoryForbidden) Error ¶
func (o *PersonalChatHistoryForbidden) Error() string
func (*PersonalChatHistoryForbidden) GetPayload ¶
func (o *PersonalChatHistoryForbidden) GetPayload() *lobbyclientmodels.RestapiErrorResponseBody
type PersonalChatHistoryInternalServerError ¶
type PersonalChatHistoryInternalServerError struct {
Payload *lobbyclientmodels.RestapiErrorResponseBody
}
PersonalChatHistoryInternalServerError handles this case with default header values.
Internal Server Error
func NewPersonalChatHistoryInternalServerError ¶
func NewPersonalChatHistoryInternalServerError() *PersonalChatHistoryInternalServerError
NewPersonalChatHistoryInternalServerError creates a PersonalChatHistoryInternalServerError with default headers values
func (*PersonalChatHistoryInternalServerError) Error ¶
func (o *PersonalChatHistoryInternalServerError) Error() string
func (*PersonalChatHistoryInternalServerError) GetPayload ¶
func (o *PersonalChatHistoryInternalServerError) GetPayload() *lobbyclientmodels.RestapiErrorResponseBody
type PersonalChatHistoryNotFound ¶
type PersonalChatHistoryNotFound struct {
Payload *lobbyclientmodels.RestapiErrorResponseBody
}
PersonalChatHistoryNotFound handles this case with default header values.
Not Found
func NewPersonalChatHistoryNotFound ¶
func NewPersonalChatHistoryNotFound() *PersonalChatHistoryNotFound
NewPersonalChatHistoryNotFound creates a PersonalChatHistoryNotFound with default headers values
func (*PersonalChatHistoryNotFound) Error ¶
func (o *PersonalChatHistoryNotFound) Error() string
func (*PersonalChatHistoryNotFound) GetPayload ¶
func (o *PersonalChatHistoryNotFound) GetPayload() *lobbyclientmodels.RestapiErrorResponseBody
type PersonalChatHistoryOK ¶
type PersonalChatHistoryOK struct {
Payload []*lobbyclientmodels.ModelChatMessageResponse
}
PersonalChatHistoryOK handles this case with default header values.
OK
func NewPersonalChatHistoryOK ¶
func NewPersonalChatHistoryOK() *PersonalChatHistoryOK
NewPersonalChatHistoryOK creates a PersonalChatHistoryOK with default headers values
func (*PersonalChatHistoryOK) Error ¶
func (o *PersonalChatHistoryOK) Error() string
func (*PersonalChatHistoryOK) GetPayload ¶
func (o *PersonalChatHistoryOK) GetPayload() []*lobbyclientmodels.ModelChatMessageResponse
type PersonalChatHistoryParams ¶
type PersonalChatHistoryParams struct { /*FriendID user ID that receive the chat */ FriendID string /*Namespace namespace */ Namespace string /*UserID user ID */ UserID string AuthInfoWriter runtime.ClientAuthInfoWriter Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
PersonalChatHistoryParams contains all the parameters to send to the API endpoint for the personal chat history operation typically these are written to a http.Request
func NewPersonalChatHistoryParams ¶
func NewPersonalChatHistoryParams() *PersonalChatHistoryParams
NewPersonalChatHistoryParams creates a new PersonalChatHistoryParams object with the default values initialized.
func NewPersonalChatHistoryParamsWithContext ¶
func NewPersonalChatHistoryParamsWithContext(ctx context.Context) *PersonalChatHistoryParams
NewPersonalChatHistoryParamsWithContext creates a new PersonalChatHistoryParams object with the default values initialized, and the ability to set a context for a request
func NewPersonalChatHistoryParamsWithHTTPClient ¶
func NewPersonalChatHistoryParamsWithHTTPClient(client *http.Client) *PersonalChatHistoryParams
NewPersonalChatHistoryParamsWithHTTPClient creates a new PersonalChatHistoryParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewPersonalChatHistoryParamsWithTimeout ¶
func NewPersonalChatHistoryParamsWithTimeout(timeout time.Duration) *PersonalChatHistoryParams
NewPersonalChatHistoryParamsWithTimeout creates a new PersonalChatHistoryParams object with the default values initialized, and the ability to set a timeout on a request
func (*PersonalChatHistoryParams) SetAuthInfoWriter ¶ added in v0.17.0
func (o *PersonalChatHistoryParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
SetAuthInfoWriter adds the authInfoWriter to the personal chat history params
func (*PersonalChatHistoryParams) SetContext ¶
func (o *PersonalChatHistoryParams) SetContext(ctx context.Context)
SetContext adds the context to the personal chat history params
func (*PersonalChatHistoryParams) SetFriendID ¶
func (o *PersonalChatHistoryParams) SetFriendID(friendID string)
SetFriendID adds the friendId to the personal chat history params
func (*PersonalChatHistoryParams) SetHTTPClient ¶
func (o *PersonalChatHistoryParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the personal chat history params
func (*PersonalChatHistoryParams) SetNamespace ¶
func (o *PersonalChatHistoryParams) SetNamespace(namespace string)
SetNamespace adds the namespace to the personal chat history params
func (*PersonalChatHistoryParams) SetTimeout ¶
func (o *PersonalChatHistoryParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the personal chat history params
func (*PersonalChatHistoryParams) SetUserID ¶
func (o *PersonalChatHistoryParams) SetUserID(userID string)
SetUserID adds the userId to the personal chat history params
func (*PersonalChatHistoryParams) WithContext ¶
func (o *PersonalChatHistoryParams) WithContext(ctx context.Context) *PersonalChatHistoryParams
WithContext adds the context to the personal chat history params
func (*PersonalChatHistoryParams) WithFriendID ¶
func (o *PersonalChatHistoryParams) WithFriendID(friendID string) *PersonalChatHistoryParams
WithFriendID adds the friendID to the personal chat history params
func (*PersonalChatHistoryParams) WithHTTPClient ¶
func (o *PersonalChatHistoryParams) WithHTTPClient(client *http.Client) *PersonalChatHistoryParams
WithHTTPClient adds the HTTPClient to the personal chat history params
func (*PersonalChatHistoryParams) WithNamespace ¶
func (o *PersonalChatHistoryParams) WithNamespace(namespace string) *PersonalChatHistoryParams
WithNamespace adds the namespace to the personal chat history params
func (*PersonalChatHistoryParams) WithTimeout ¶
func (o *PersonalChatHistoryParams) WithTimeout(timeout time.Duration) *PersonalChatHistoryParams
WithTimeout adds the timeout to the personal chat history params
func (*PersonalChatHistoryParams) WithUserID ¶
func (o *PersonalChatHistoryParams) WithUserID(userID string) *PersonalChatHistoryParams
WithUserID adds the userID to the personal chat history params
func (*PersonalChatHistoryParams) WriteToRequest ¶
func (o *PersonalChatHistoryParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type PersonalChatHistoryReader ¶
type PersonalChatHistoryReader struct {
// contains filtered or unexported fields
}
PersonalChatHistoryReader is a Reader for the PersonalChatHistory structure.
func (*PersonalChatHistoryReader) ReadResponse ¶
func (o *PersonalChatHistoryReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type PersonalChatHistoryUnauthorized ¶
type PersonalChatHistoryUnauthorized struct {
}PersonalChatHistoryUnauthorized handles this case with default header values.
Unauthorized
func NewPersonalChatHistoryUnauthorized ¶
func NewPersonalChatHistoryUnauthorized() *PersonalChatHistoryUnauthorized
NewPersonalChatHistoryUnauthorized creates a PersonalChatHistoryUnauthorized with default headers values
func (*PersonalChatHistoryUnauthorized) Error ¶
func (o *PersonalChatHistoryUnauthorized) Error() string
func (*PersonalChatHistoryUnauthorized) GetPayload ¶
func (o *PersonalChatHistoryUnauthorized) GetPayload() *lobbyclientmodels.RestapiErrorResponseBody