chat

package
v0.18.0 Latest Latest
Warning

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

Go to latest
Published: May 10, 2022 License: MIT Imports: 12 Imported by: 0

Documentation

Index

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

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

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

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

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

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

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

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

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 {
	Payload *lobbyclientmodels.RestapiErrorResponseBody
}

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

type Client

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

Client for chat API

func (*Client) AdminChatHistory

  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

  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

  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

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

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

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

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

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

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

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

WithContext adds the context to the get personal chat history v1 public params

func (*GetPersonalChatHistoryV1PublicParams) WithFriendID

WithFriendID adds the friendID to the get personal chat history v1 public params

func (*GetPersonalChatHistoryV1PublicParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get personal chat history v1 public params

func (*GetPersonalChatHistoryV1PublicParams) WithNamespace

WithNamespace adds the namespace to the get personal chat history v1 public params

func (*GetPersonalChatHistoryV1PublicParams) WithTimeout

WithTimeout adds the timeout to the get personal chat history v1 public params

func (*GetPersonalChatHistoryV1PublicParams) WriteToRequest

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 {
	Payload *lobbyclientmodels.RestapiErrorResponseBody
}

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

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

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

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

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

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

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

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

WithTimeout adds the timeout to the personal chat history params

func (*PersonalChatHistoryParams) WithUserID

WithUserID adds the userID to the personal chat history params

func (*PersonalChatHistoryParams) WriteToRequest

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 {
	Payload *lobbyclientmodels.RestapiErrorResponseBody
}

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

Jump to

Keyboard shortcuts

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