friends

package
v0.6.0 Latest Latest
Warning

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

Go to latest
Published: Sep 23, 2021 License: MIT Imports: 12 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AddFriendsWithoutConfirmationBadRequest

type AddFriendsWithoutConfirmationBadRequest struct {
	Payload *lobbyclientmodels.RestapiErrorResponseV1
}

AddFriendsWithoutConfirmationBadRequest handles this case with default header values.

Bad Request

func NewAddFriendsWithoutConfirmationBadRequest

func NewAddFriendsWithoutConfirmationBadRequest() *AddFriendsWithoutConfirmationBadRequest

NewAddFriendsWithoutConfirmationBadRequest creates a AddFriendsWithoutConfirmationBadRequest with default headers values

func (*AddFriendsWithoutConfirmationBadRequest) Error

func (*AddFriendsWithoutConfirmationBadRequest) GetPayload

type AddFriendsWithoutConfirmationForbidden

type AddFriendsWithoutConfirmationForbidden struct {
	Payload *lobbyclientmodels.RestapiErrorResponseV1
}

AddFriendsWithoutConfirmationForbidden handles this case with default header values.

Forbidden

func NewAddFriendsWithoutConfirmationForbidden

func NewAddFriendsWithoutConfirmationForbidden() *AddFriendsWithoutConfirmationForbidden

NewAddFriendsWithoutConfirmationForbidden creates a AddFriendsWithoutConfirmationForbidden with default headers values

func (*AddFriendsWithoutConfirmationForbidden) Error

func (*AddFriendsWithoutConfirmationForbidden) GetPayload

type AddFriendsWithoutConfirmationInternalServerError

type AddFriendsWithoutConfirmationInternalServerError struct {
	Payload *lobbyclientmodels.RestapiErrorResponseV1
}

AddFriendsWithoutConfirmationInternalServerError handles this case with default header values.

Internal Server Error

func NewAddFriendsWithoutConfirmationInternalServerError

func NewAddFriendsWithoutConfirmationInternalServerError() *AddFriendsWithoutConfirmationInternalServerError

NewAddFriendsWithoutConfirmationInternalServerError creates a AddFriendsWithoutConfirmationInternalServerError with default headers values

func (*AddFriendsWithoutConfirmationInternalServerError) Error

func (*AddFriendsWithoutConfirmationInternalServerError) GetPayload

type AddFriendsWithoutConfirmationNoContent

type AddFriendsWithoutConfirmationNoContent struct {
}

AddFriendsWithoutConfirmationNoContent handles this case with default header values.

AddFriendsWithoutConfirmationNoContent add friends without confirmation no content

func NewAddFriendsWithoutConfirmationNoContent

func NewAddFriendsWithoutConfirmationNoContent() *AddFriendsWithoutConfirmationNoContent

NewAddFriendsWithoutConfirmationNoContent creates a AddFriendsWithoutConfirmationNoContent with default headers values

func (*AddFriendsWithoutConfirmationNoContent) Error

type AddFriendsWithoutConfirmationParams

type AddFriendsWithoutConfirmationParams struct {

	/*Body
	  friends request content

	*/
	Body *lobbyclientmodels.ModelBulkAddFriendsRequest
	/*Namespace
	  namespace

	*/
	Namespace string
	/*UserID
	  user ID

	*/
	UserID string

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

AddFriendsWithoutConfirmationParams contains all the parameters to send to the API endpoint for the add friends without confirmation operation typically these are written to a http.Request

func NewAddFriendsWithoutConfirmationParams

func NewAddFriendsWithoutConfirmationParams() *AddFriendsWithoutConfirmationParams

NewAddFriendsWithoutConfirmationParams creates a new AddFriendsWithoutConfirmationParams object with the default values initialized.

func NewAddFriendsWithoutConfirmationParamsWithContext

func NewAddFriendsWithoutConfirmationParamsWithContext(ctx context.Context) *AddFriendsWithoutConfirmationParams

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

func NewAddFriendsWithoutConfirmationParamsWithHTTPClient

func NewAddFriendsWithoutConfirmationParamsWithHTTPClient(client *http.Client) *AddFriendsWithoutConfirmationParams

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

func NewAddFriendsWithoutConfirmationParamsWithTimeout

func NewAddFriendsWithoutConfirmationParamsWithTimeout(timeout time.Duration) *AddFriendsWithoutConfirmationParams

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

func (*AddFriendsWithoutConfirmationParams) SetBody

SetBody adds the body to the add friends without confirmation params

func (*AddFriendsWithoutConfirmationParams) SetContext

SetContext adds the context to the add friends without confirmation params

func (*AddFriendsWithoutConfirmationParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the add friends without confirmation params

func (*AddFriendsWithoutConfirmationParams) SetNamespace

func (o *AddFriendsWithoutConfirmationParams) SetNamespace(namespace string)

SetNamespace adds the namespace to the add friends without confirmation params

func (*AddFriendsWithoutConfirmationParams) SetTimeout

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

SetTimeout adds the timeout to the add friends without confirmation params

func (*AddFriendsWithoutConfirmationParams) SetUserID

func (o *AddFriendsWithoutConfirmationParams) SetUserID(userID string)

SetUserID adds the userId to the add friends without confirmation params

func (*AddFriendsWithoutConfirmationParams) WithBody

WithBody adds the body to the add friends without confirmation params

func (*AddFriendsWithoutConfirmationParams) WithContext

WithContext adds the context to the add friends without confirmation params

func (*AddFriendsWithoutConfirmationParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the add friends without confirmation params

func (*AddFriendsWithoutConfirmationParams) WithNamespace

WithNamespace adds the namespace to the add friends without confirmation params

func (*AddFriendsWithoutConfirmationParams) WithTimeout

WithTimeout adds the timeout to the add friends without confirmation params

func (*AddFriendsWithoutConfirmationParams) WithUserID

WithUserID adds the userID to the add friends without confirmation params

func (*AddFriendsWithoutConfirmationParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type AddFriendsWithoutConfirmationReader

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

AddFriendsWithoutConfirmationReader is a Reader for the AddFriendsWithoutConfirmation structure.

func (*AddFriendsWithoutConfirmationReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type AddFriendsWithoutConfirmationUnauthorized

type AddFriendsWithoutConfirmationUnauthorized struct {
	Payload *lobbyclientmodels.RestapiErrorResponseV1
}

AddFriendsWithoutConfirmationUnauthorized handles this case with default header values.

Unauthorized

func NewAddFriendsWithoutConfirmationUnauthorized

func NewAddFriendsWithoutConfirmationUnauthorized() *AddFriendsWithoutConfirmationUnauthorized

NewAddFriendsWithoutConfirmationUnauthorized creates a AddFriendsWithoutConfirmationUnauthorized with default headers values

func (*AddFriendsWithoutConfirmationUnauthorized) Error

func (*AddFriendsWithoutConfirmationUnauthorized) GetPayload

type Client

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

Client for friends API

func (*Client) AddFriendsWithoutConfirmation

  AddFriendsWithoutConfirmation adds friends without confirmation

  Required permission : <code>NAMESPACE:{namespace}:USER:{userId}:FRIENDS [CREATE]</code> with scope <code>social</code>
			<br>friends request in a namespace.

func (*Client) GetListOfFriends

GetListOfFriends gets list of friends

Required permission : <code>NAMESPACE:{namespace}:USER:{userId}:FRIENDS [READ]</code> with scope <code>social</code>

<br>get list of friends in a namespace.

func (*Client) SetTransport

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

SetTransport changes the transport on the client

type ClientService

type ClientService interface {
	AddFriendsWithoutConfirmation(params *AddFriendsWithoutConfirmationParams, authInfo runtime.ClientAuthInfoWriter) (*AddFriendsWithoutConfirmationNoContent, *AddFriendsWithoutConfirmationBadRequest, *AddFriendsWithoutConfirmationUnauthorized, *AddFriendsWithoutConfirmationForbidden, *AddFriendsWithoutConfirmationInternalServerError, error)

	GetListOfFriends(params *GetListOfFriendsParams, authInfo runtime.ClientAuthInfoWriter) (*GetListOfFriendsOK, *GetListOfFriendsBadRequest, *GetListOfFriendsUnauthorized, *GetListOfFriendsForbidden, *GetListOfFriendsInternalServerError, error)

	GetUserFriends(params *GetUserFriendsParams, authInfo runtime.ClientAuthInfoWriter) (*GetUserFriendsOK, *GetUserFriendsBadRequest, *GetUserFriendsUnauthorized, *GetUserFriendsForbidden, *GetUserFriendsNotFound, *GetUserFriendsInternalServerError, error)

	GetUserIncomingFriends(params *GetUserIncomingFriendsParams, authInfo runtime.ClientAuthInfoWriter) (*GetUserIncomingFriendsOK, *GetUserIncomingFriendsBadRequest, *GetUserIncomingFriendsUnauthorized, *GetUserIncomingFriendsForbidden, *GetUserIncomingFriendsNotFound, *GetUserIncomingFriendsInternalServerError, error)

	GetUserOutgoingFriends(params *GetUserOutgoingFriendsParams, authInfo runtime.ClientAuthInfoWriter) (*GetUserOutgoingFriendsOK, *GetUserOutgoingFriendsBadRequest, *GetUserOutgoingFriendsUnauthorized, *GetUserOutgoingFriendsForbidden, *GetUserOutgoingFriendsNotFound, *GetUserOutgoingFriendsInternalServerError, error)

	UserAcceptFriendRequest(params *UserAcceptFriendRequestParams, authInfo runtime.ClientAuthInfoWriter) (*UserAcceptFriendRequestNoContent, *UserAcceptFriendRequestBadRequest, *UserAcceptFriendRequestUnauthorized, *UserAcceptFriendRequestForbidden, *UserAcceptFriendRequestNotFound, *UserAcceptFriendRequestInternalServerError, error)

	UserCancelFriendRequest(params *UserCancelFriendRequestParams, authInfo runtime.ClientAuthInfoWriter) (*UserCancelFriendRequestNoContent, *UserCancelFriendRequestBadRequest, *UserCancelFriendRequestUnauthorized, *UserCancelFriendRequestForbidden, *UserCancelFriendRequestNotFound, *UserCancelFriendRequestInternalServerError, error)

	UserGetFriendshipStatus(params *UserGetFriendshipStatusParams, authInfo runtime.ClientAuthInfoWriter) (*UserGetFriendshipStatusOK, *UserGetFriendshipStatusBadRequest, *UserGetFriendshipStatusUnauthorized, *UserGetFriendshipStatusForbidden, *UserGetFriendshipStatusInternalServerError, error)

	UserRejectFriendRequest(params *UserRejectFriendRequestParams, authInfo runtime.ClientAuthInfoWriter) (*UserRejectFriendRequestNoContent, *UserRejectFriendRequestBadRequest, *UserRejectFriendRequestUnauthorized, *UserRejectFriendRequestForbidden, *UserRejectFriendRequestNotFound, *UserRejectFriendRequestInternalServerError, error)

	UserRequestFriend(params *UserRequestFriendParams, authInfo runtime.ClientAuthInfoWriter) (*UserRequestFriendCreated, *UserRequestFriendBadRequest, *UserRequestFriendUnauthorized, *UserRequestFriendForbidden, *UserRequestFriendNotFound, *UserRequestFriendUnprocessableEntity, *UserRequestFriendInternalServerError, error)

	UserUnfriendRequest(params *UserUnfriendRequestParams, authInfo runtime.ClientAuthInfoWriter) (*UserUnfriendRequestNoContent, *UserUnfriendRequestBadRequest, *UserUnfriendRequestUnauthorized, *UserUnfriendRequestForbidden, *UserUnfriendRequestNotFound, *UserUnfriendRequestInternalServerError, 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 friends API client.

type GetListOfFriendsBadRequest

type GetListOfFriendsBadRequest struct {
	Payload *lobbyclientmodels.RestapiErrorResponseBody
}

GetListOfFriendsBadRequest handles this case with default header values.

Bad Request

func NewGetListOfFriendsBadRequest

func NewGetListOfFriendsBadRequest() *GetListOfFriendsBadRequest

NewGetListOfFriendsBadRequest creates a GetListOfFriendsBadRequest with default headers values

func (*GetListOfFriendsBadRequest) Error

func (*GetListOfFriendsBadRequest) GetPayload

type GetListOfFriendsForbidden

type GetListOfFriendsForbidden struct {
	Payload *lobbyclientmodels.RestapiErrorResponseBody
}

GetListOfFriendsForbidden handles this case with default header values.

Forbidden

func NewGetListOfFriendsForbidden

func NewGetListOfFriendsForbidden() *GetListOfFriendsForbidden

NewGetListOfFriendsForbidden creates a GetListOfFriendsForbidden with default headers values

func (*GetListOfFriendsForbidden) Error

func (o *GetListOfFriendsForbidden) Error() string

func (*GetListOfFriendsForbidden) GetPayload

type GetListOfFriendsInternalServerError

type GetListOfFriendsInternalServerError struct {
	Payload *lobbyclientmodels.RestapiErrorResponseBody
}

GetListOfFriendsInternalServerError handles this case with default header values.

Internal Server Error

func NewGetListOfFriendsInternalServerError

func NewGetListOfFriendsInternalServerError() *GetListOfFriendsInternalServerError

NewGetListOfFriendsInternalServerError creates a GetListOfFriendsInternalServerError with default headers values

func (*GetListOfFriendsInternalServerError) Error

func (*GetListOfFriendsInternalServerError) GetPayload

type GetListOfFriendsOK

type GetListOfFriendsOK struct {
	Payload *lobbyclientmodels.ModelGetFriendsResponse
}

GetListOfFriendsOK handles this case with default header values.

GetListOfFriendsOK get list of friends o k

func NewGetListOfFriendsOK

func NewGetListOfFriendsOK() *GetListOfFriendsOK

NewGetListOfFriendsOK creates a GetListOfFriendsOK with default headers values

func (*GetListOfFriendsOK) Error

func (o *GetListOfFriendsOK) Error() string

func (*GetListOfFriendsOK) GetPayload

type GetListOfFriendsParams

type GetListOfFriendsParams struct {

	/*Limit
	  maximum number of data

	*/
	Limit *string
	/*Namespace
	  namespace

	*/
	Namespace string
	/*Offset
	  numbers of row to skip within the result

	*/
	Offset *string
	/*UserID
	  user ID

	*/
	UserID string

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

GetListOfFriendsParams contains all the parameters to send to the API endpoint for the get list of friends operation typically these are written to a http.Request

func NewGetListOfFriendsParams

func NewGetListOfFriendsParams() *GetListOfFriendsParams

NewGetListOfFriendsParams creates a new GetListOfFriendsParams object with the default values initialized.

func NewGetListOfFriendsParamsWithContext

func NewGetListOfFriendsParamsWithContext(ctx context.Context) *GetListOfFriendsParams

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

func NewGetListOfFriendsParamsWithHTTPClient

func NewGetListOfFriendsParamsWithHTTPClient(client *http.Client) *GetListOfFriendsParams

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

func NewGetListOfFriendsParamsWithTimeout

func NewGetListOfFriendsParamsWithTimeout(timeout time.Duration) *GetListOfFriendsParams

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

func (*GetListOfFriendsParams) SetContext

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

SetContext adds the context to the get list of friends params

func (*GetListOfFriendsParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get list of friends params

func (*GetListOfFriendsParams) SetLimit

func (o *GetListOfFriendsParams) SetLimit(limit *string)

SetLimit adds the limit to the get list of friends params

func (*GetListOfFriendsParams) SetNamespace

func (o *GetListOfFriendsParams) SetNamespace(namespace string)

SetNamespace adds the namespace to the get list of friends params

func (*GetListOfFriendsParams) SetOffset

func (o *GetListOfFriendsParams) SetOffset(offset *string)

SetOffset adds the offset to the get list of friends params

func (*GetListOfFriendsParams) SetTimeout

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

SetTimeout adds the timeout to the get list of friends params

func (*GetListOfFriendsParams) SetUserID

func (o *GetListOfFriendsParams) SetUserID(userID string)

SetUserID adds the userId to the get list of friends params

func (*GetListOfFriendsParams) WithContext

WithContext adds the context to the get list of friends params

func (*GetListOfFriendsParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the get list of friends params

func (*GetListOfFriendsParams) WithLimit

WithLimit adds the limit to the get list of friends params

func (*GetListOfFriendsParams) WithNamespace

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

WithNamespace adds the namespace to the get list of friends params

func (*GetListOfFriendsParams) WithOffset

func (o *GetListOfFriendsParams) WithOffset(offset *string) *GetListOfFriendsParams

WithOffset adds the offset to the get list of friends params

func (*GetListOfFriendsParams) WithTimeout

WithTimeout adds the timeout to the get list of friends params

func (*GetListOfFriendsParams) WithUserID

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

WithUserID adds the userID to the get list of friends params

func (*GetListOfFriendsParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetListOfFriendsReader

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

GetListOfFriendsReader is a Reader for the GetListOfFriends structure.

func (*GetListOfFriendsReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetListOfFriendsUnauthorized

type GetListOfFriendsUnauthorized struct {
	Payload *lobbyclientmodels.RestapiErrorResponseBody
}

GetListOfFriendsUnauthorized handles this case with default header values.

Unauthorized

func NewGetListOfFriendsUnauthorized

func NewGetListOfFriendsUnauthorized() *GetListOfFriendsUnauthorized

NewGetListOfFriendsUnauthorized creates a GetListOfFriendsUnauthorized with default headers values

func (*GetListOfFriendsUnauthorized) Error

func (*GetListOfFriendsUnauthorized) GetPayload

type GetUserFriendsBadRequest added in v0.2.0

type GetUserFriendsBadRequest struct {
	Payload *lobbyclientmodels.RestapiErrorResponseV1
}

GetUserFriendsBadRequest handles this case with default header values.

Bad Request

func NewGetUserFriendsBadRequest added in v0.2.0

func NewGetUserFriendsBadRequest() *GetUserFriendsBadRequest

NewGetUserFriendsBadRequest creates a GetUserFriendsBadRequest with default headers values

func (*GetUserFriendsBadRequest) Error added in v0.2.0

func (o *GetUserFriendsBadRequest) Error() string

func (*GetUserFriendsBadRequest) GetPayload added in v0.2.0

type GetUserFriendsForbidden added in v0.2.0

type GetUserFriendsForbidden struct {
	Payload *lobbyclientmodels.RestapiErrorResponseV1
}

GetUserFriendsForbidden handles this case with default header values.

Forbidden

func NewGetUserFriendsForbidden added in v0.2.0

func NewGetUserFriendsForbidden() *GetUserFriendsForbidden

NewGetUserFriendsForbidden creates a GetUserFriendsForbidden with default headers values

func (*GetUserFriendsForbidden) Error added in v0.2.0

func (o *GetUserFriendsForbidden) Error() string

func (*GetUserFriendsForbidden) GetPayload added in v0.2.0

type GetUserFriendsInternalServerError added in v0.2.0

type GetUserFriendsInternalServerError struct {
	Payload *lobbyclientmodels.RestapiErrorResponseV1
}

GetUserFriendsInternalServerError handles this case with default header values.

Internal Server Error

func NewGetUserFriendsInternalServerError added in v0.2.0

func NewGetUserFriendsInternalServerError() *GetUserFriendsInternalServerError

NewGetUserFriendsInternalServerError creates a GetUserFriendsInternalServerError with default headers values

func (*GetUserFriendsInternalServerError) Error added in v0.2.0

func (*GetUserFriendsInternalServerError) GetPayload added in v0.2.0

type GetUserFriendsNotFound added in v0.2.0

type GetUserFriendsNotFound struct {
	Payload *lobbyclientmodels.RestapiErrorResponseV1
}

GetUserFriendsNotFound handles this case with default header values.

Not Found

func NewGetUserFriendsNotFound added in v0.2.0

func NewGetUserFriendsNotFound() *GetUserFriendsNotFound

NewGetUserFriendsNotFound creates a GetUserFriendsNotFound with default headers values

func (*GetUserFriendsNotFound) Error added in v0.2.0

func (o *GetUserFriendsNotFound) Error() string

func (*GetUserFriendsNotFound) GetPayload added in v0.2.0

type GetUserFriendsOK added in v0.2.0

type GetUserFriendsOK struct {
	Payload []*lobbyclientmodels.ModelGetUserFriendsResponse
}

GetUserFriendsOK handles this case with default header values.

OK

func NewGetUserFriendsOK added in v0.2.0

func NewGetUserFriendsOK() *GetUserFriendsOK

NewGetUserFriendsOK creates a GetUserFriendsOK with default headers values

func (*GetUserFriendsOK) Error added in v0.2.0

func (o *GetUserFriendsOK) Error() string

func (*GetUserFriendsOK) GetPayload added in v0.2.0

type GetUserFriendsParams added in v0.2.0

type GetUserFriendsParams struct {

	/*Namespace
	  namespace

	*/
	Namespace string

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

GetUserFriendsParams contains all the parameters to send to the API endpoint for the get user friends operation typically these are written to a http.Request

func NewGetUserFriendsParams added in v0.2.0

func NewGetUserFriendsParams() *GetUserFriendsParams

NewGetUserFriendsParams creates a new GetUserFriendsParams object with the default values initialized.

func NewGetUserFriendsParamsWithContext added in v0.2.0

func NewGetUserFriendsParamsWithContext(ctx context.Context) *GetUserFriendsParams

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

func NewGetUserFriendsParamsWithHTTPClient added in v0.2.0

func NewGetUserFriendsParamsWithHTTPClient(client *http.Client) *GetUserFriendsParams

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

func NewGetUserFriendsParamsWithTimeout added in v0.2.0

func NewGetUserFriendsParamsWithTimeout(timeout time.Duration) *GetUserFriendsParams

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

func (*GetUserFriendsParams) SetContext added in v0.2.0

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

SetContext adds the context to the get user friends params

func (*GetUserFriendsParams) SetHTTPClient added in v0.2.0

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

SetHTTPClient adds the HTTPClient to the get user friends params

func (*GetUserFriendsParams) SetNamespace added in v0.2.0

func (o *GetUserFriendsParams) SetNamespace(namespace string)

SetNamespace adds the namespace to the get user friends params

func (*GetUserFriendsParams) SetTimeout added in v0.2.0

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

SetTimeout adds the timeout to the get user friends params

func (*GetUserFriendsParams) WithContext added in v0.2.0

WithContext adds the context to the get user friends params

func (*GetUserFriendsParams) WithHTTPClient added in v0.2.0

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

WithHTTPClient adds the HTTPClient to the get user friends params

func (*GetUserFriendsParams) WithNamespace added in v0.2.0

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

WithNamespace adds the namespace to the get user friends params

func (*GetUserFriendsParams) WithTimeout added in v0.2.0

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

WithTimeout adds the timeout to the get user friends params

func (*GetUserFriendsParams) WriteToRequest added in v0.2.0

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

WriteToRequest writes these params to a swagger request

type GetUserFriendsReader added in v0.2.0

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

GetUserFriendsReader is a Reader for the GetUserFriends structure.

func (*GetUserFriendsReader) ReadResponse added in v0.2.0

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

ReadResponse reads a server response into the received o.

type GetUserFriendsUnauthorized added in v0.2.0

type GetUserFriendsUnauthorized struct {
	Payload *lobbyclientmodels.RestapiErrorResponseV1
}

GetUserFriendsUnauthorized handles this case with default header values.

Unauthorized

func NewGetUserFriendsUnauthorized added in v0.2.0

func NewGetUserFriendsUnauthorized() *GetUserFriendsUnauthorized

NewGetUserFriendsUnauthorized creates a GetUserFriendsUnauthorized with default headers values

func (*GetUserFriendsUnauthorized) Error added in v0.2.0

func (*GetUserFriendsUnauthorized) GetPayload added in v0.2.0

type GetUserIncomingFriendsBadRequest added in v0.2.0

type GetUserIncomingFriendsBadRequest struct {
	Payload *lobbyclientmodels.RestapiErrorResponseV1
}

GetUserIncomingFriendsBadRequest handles this case with default header values.

Bad Request

func NewGetUserIncomingFriendsBadRequest added in v0.2.0

func NewGetUserIncomingFriendsBadRequest() *GetUserIncomingFriendsBadRequest

NewGetUserIncomingFriendsBadRequest creates a GetUserIncomingFriendsBadRequest with default headers values

func (*GetUserIncomingFriendsBadRequest) Error added in v0.2.0

func (*GetUserIncomingFriendsBadRequest) GetPayload added in v0.2.0

type GetUserIncomingFriendsForbidden added in v0.2.0

type GetUserIncomingFriendsForbidden struct {
	Payload *lobbyclientmodels.RestapiErrorResponseV1
}

GetUserIncomingFriendsForbidden handles this case with default header values.

Forbidden

func NewGetUserIncomingFriendsForbidden added in v0.2.0

func NewGetUserIncomingFriendsForbidden() *GetUserIncomingFriendsForbidden

NewGetUserIncomingFriendsForbidden creates a GetUserIncomingFriendsForbidden with default headers values

func (*GetUserIncomingFriendsForbidden) Error added in v0.2.0

func (*GetUserIncomingFriendsForbidden) GetPayload added in v0.2.0

type GetUserIncomingFriendsInternalServerError added in v0.2.0

type GetUserIncomingFriendsInternalServerError struct {
	Payload *lobbyclientmodels.RestapiErrorResponseV1
}

GetUserIncomingFriendsInternalServerError handles this case with default header values.

Internal Server Error

func NewGetUserIncomingFriendsInternalServerError added in v0.2.0

func NewGetUserIncomingFriendsInternalServerError() *GetUserIncomingFriendsInternalServerError

NewGetUserIncomingFriendsInternalServerError creates a GetUserIncomingFriendsInternalServerError with default headers values

func (*GetUserIncomingFriendsInternalServerError) Error added in v0.2.0

func (*GetUserIncomingFriendsInternalServerError) GetPayload added in v0.2.0

type GetUserIncomingFriendsNotFound added in v0.2.0

type GetUserIncomingFriendsNotFound struct {
	Payload *lobbyclientmodels.RestapiErrorResponseV1
}

GetUserIncomingFriendsNotFound handles this case with default header values.

Not Found

func NewGetUserIncomingFriendsNotFound added in v0.2.0

func NewGetUserIncomingFriendsNotFound() *GetUserIncomingFriendsNotFound

NewGetUserIncomingFriendsNotFound creates a GetUserIncomingFriendsNotFound with default headers values

func (*GetUserIncomingFriendsNotFound) Error added in v0.2.0

func (*GetUserIncomingFriendsNotFound) GetPayload added in v0.2.0

type GetUserIncomingFriendsOK added in v0.2.0

type GetUserIncomingFriendsOK struct {
	Payload []*lobbyclientmodels.ModelGetUserIncomingFriendsResponse
}

GetUserIncomingFriendsOK handles this case with default header values.

OK

func NewGetUserIncomingFriendsOK added in v0.2.0

func NewGetUserIncomingFriendsOK() *GetUserIncomingFriendsOK

NewGetUserIncomingFriendsOK creates a GetUserIncomingFriendsOK with default headers values

func (*GetUserIncomingFriendsOK) Error added in v0.2.0

func (o *GetUserIncomingFriendsOK) Error() string

func (*GetUserIncomingFriendsOK) GetPayload added in v0.2.0

type GetUserIncomingFriendsParams added in v0.2.0

type GetUserIncomingFriendsParams struct {

	/*Namespace
	  namespace

	*/
	Namespace string

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

GetUserIncomingFriendsParams contains all the parameters to send to the API endpoint for the get user incoming friends operation typically these are written to a http.Request

func NewGetUserIncomingFriendsParams added in v0.2.0

func NewGetUserIncomingFriendsParams() *GetUserIncomingFriendsParams

NewGetUserIncomingFriendsParams creates a new GetUserIncomingFriendsParams object with the default values initialized.

func NewGetUserIncomingFriendsParamsWithContext added in v0.2.0

func NewGetUserIncomingFriendsParamsWithContext(ctx context.Context) *GetUserIncomingFriendsParams

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

func NewGetUserIncomingFriendsParamsWithHTTPClient added in v0.2.0

func NewGetUserIncomingFriendsParamsWithHTTPClient(client *http.Client) *GetUserIncomingFriendsParams

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

func NewGetUserIncomingFriendsParamsWithTimeout added in v0.2.0

func NewGetUserIncomingFriendsParamsWithTimeout(timeout time.Duration) *GetUserIncomingFriendsParams

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

func (*GetUserIncomingFriendsParams) SetContext added in v0.2.0

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

SetContext adds the context to the get user incoming friends params

func (*GetUserIncomingFriendsParams) SetHTTPClient added in v0.2.0

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

SetHTTPClient adds the HTTPClient to the get user incoming friends params

func (*GetUserIncomingFriendsParams) SetNamespace added in v0.2.0

func (o *GetUserIncomingFriendsParams) SetNamespace(namespace string)

SetNamespace adds the namespace to the get user incoming friends params

func (*GetUserIncomingFriendsParams) SetTimeout added in v0.2.0

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

SetTimeout adds the timeout to the get user incoming friends params

func (*GetUserIncomingFriendsParams) WithContext added in v0.2.0

WithContext adds the context to the get user incoming friends params

func (*GetUserIncomingFriendsParams) WithHTTPClient added in v0.2.0

WithHTTPClient adds the HTTPClient to the get user incoming friends params

func (*GetUserIncomingFriendsParams) WithNamespace added in v0.2.0

WithNamespace adds the namespace to the get user incoming friends params

func (*GetUserIncomingFriendsParams) WithTimeout added in v0.2.0

WithTimeout adds the timeout to the get user incoming friends params

func (*GetUserIncomingFriendsParams) WriteToRequest added in v0.2.0

WriteToRequest writes these params to a swagger request

type GetUserIncomingFriendsReader added in v0.2.0

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

GetUserIncomingFriendsReader is a Reader for the GetUserIncomingFriends structure.

func (*GetUserIncomingFriendsReader) ReadResponse added in v0.2.0

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

ReadResponse reads a server response into the received o.

type GetUserIncomingFriendsUnauthorized added in v0.2.0

type GetUserIncomingFriendsUnauthorized struct {
	Payload *lobbyclientmodels.RestapiErrorResponseV1
}

GetUserIncomingFriendsUnauthorized handles this case with default header values.

Unauthorized

func NewGetUserIncomingFriendsUnauthorized added in v0.2.0

func NewGetUserIncomingFriendsUnauthorized() *GetUserIncomingFriendsUnauthorized

NewGetUserIncomingFriendsUnauthorized creates a GetUserIncomingFriendsUnauthorized with default headers values

func (*GetUserIncomingFriendsUnauthorized) Error added in v0.2.0

func (*GetUserIncomingFriendsUnauthorized) GetPayload added in v0.2.0

type GetUserOutgoingFriendsBadRequest added in v0.2.0

type GetUserOutgoingFriendsBadRequest struct {
	Payload *lobbyclientmodels.RestapiErrorResponseV1
}

GetUserOutgoingFriendsBadRequest handles this case with default header values.

Bad Request

func NewGetUserOutgoingFriendsBadRequest added in v0.2.0

func NewGetUserOutgoingFriendsBadRequest() *GetUserOutgoingFriendsBadRequest

NewGetUserOutgoingFriendsBadRequest creates a GetUserOutgoingFriendsBadRequest with default headers values

func (*GetUserOutgoingFriendsBadRequest) Error added in v0.2.0

func (*GetUserOutgoingFriendsBadRequest) GetPayload added in v0.2.0

type GetUserOutgoingFriendsForbidden added in v0.2.0

type GetUserOutgoingFriendsForbidden struct {
	Payload *lobbyclientmodels.RestapiErrorResponseV1
}

GetUserOutgoingFriendsForbidden handles this case with default header values.

Forbidden

func NewGetUserOutgoingFriendsForbidden added in v0.2.0

func NewGetUserOutgoingFriendsForbidden() *GetUserOutgoingFriendsForbidden

NewGetUserOutgoingFriendsForbidden creates a GetUserOutgoingFriendsForbidden with default headers values

func (*GetUserOutgoingFriendsForbidden) Error added in v0.2.0

func (*GetUserOutgoingFriendsForbidden) GetPayload added in v0.2.0

type GetUserOutgoingFriendsInternalServerError added in v0.2.0

type GetUserOutgoingFriendsInternalServerError struct {
	Payload *lobbyclientmodels.RestapiErrorResponseV1
}

GetUserOutgoingFriendsInternalServerError handles this case with default header values.

Internal Server Error

func NewGetUserOutgoingFriendsInternalServerError added in v0.2.0

func NewGetUserOutgoingFriendsInternalServerError() *GetUserOutgoingFriendsInternalServerError

NewGetUserOutgoingFriendsInternalServerError creates a GetUserOutgoingFriendsInternalServerError with default headers values

func (*GetUserOutgoingFriendsInternalServerError) Error added in v0.2.0

func (*GetUserOutgoingFriendsInternalServerError) GetPayload added in v0.2.0

type GetUserOutgoingFriendsNotFound added in v0.2.0

type GetUserOutgoingFriendsNotFound struct {
	Payload *lobbyclientmodels.RestapiErrorResponseV1
}

GetUserOutgoingFriendsNotFound handles this case with default header values.

Not Found

func NewGetUserOutgoingFriendsNotFound added in v0.2.0

func NewGetUserOutgoingFriendsNotFound() *GetUserOutgoingFriendsNotFound

NewGetUserOutgoingFriendsNotFound creates a GetUserOutgoingFriendsNotFound with default headers values

func (*GetUserOutgoingFriendsNotFound) Error added in v0.2.0

func (*GetUserOutgoingFriendsNotFound) GetPayload added in v0.2.0

type GetUserOutgoingFriendsOK added in v0.2.0

type GetUserOutgoingFriendsOK struct {
	Payload []*lobbyclientmodels.ModelGetUserOutgoingFriendsResponse
}

GetUserOutgoingFriendsOK handles this case with default header values.

OK

func NewGetUserOutgoingFriendsOK added in v0.2.0

func NewGetUserOutgoingFriendsOK() *GetUserOutgoingFriendsOK

NewGetUserOutgoingFriendsOK creates a GetUserOutgoingFriendsOK with default headers values

func (*GetUserOutgoingFriendsOK) Error added in v0.2.0

func (o *GetUserOutgoingFriendsOK) Error() string

func (*GetUserOutgoingFriendsOK) GetPayload added in v0.2.0

type GetUserOutgoingFriendsParams added in v0.2.0

type GetUserOutgoingFriendsParams struct {

	/*Namespace
	  namespace

	*/
	Namespace string

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

GetUserOutgoingFriendsParams contains all the parameters to send to the API endpoint for the get user outgoing friends operation typically these are written to a http.Request

func NewGetUserOutgoingFriendsParams added in v0.2.0

func NewGetUserOutgoingFriendsParams() *GetUserOutgoingFriendsParams

NewGetUserOutgoingFriendsParams creates a new GetUserOutgoingFriendsParams object with the default values initialized.

func NewGetUserOutgoingFriendsParamsWithContext added in v0.2.0

func NewGetUserOutgoingFriendsParamsWithContext(ctx context.Context) *GetUserOutgoingFriendsParams

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

func NewGetUserOutgoingFriendsParamsWithHTTPClient added in v0.2.0

func NewGetUserOutgoingFriendsParamsWithHTTPClient(client *http.Client) *GetUserOutgoingFriendsParams

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

func NewGetUserOutgoingFriendsParamsWithTimeout added in v0.2.0

func NewGetUserOutgoingFriendsParamsWithTimeout(timeout time.Duration) *GetUserOutgoingFriendsParams

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

func (*GetUserOutgoingFriendsParams) SetContext added in v0.2.0

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

SetContext adds the context to the get user outgoing friends params

func (*GetUserOutgoingFriendsParams) SetHTTPClient added in v0.2.0

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

SetHTTPClient adds the HTTPClient to the get user outgoing friends params

func (*GetUserOutgoingFriendsParams) SetNamespace added in v0.2.0

func (o *GetUserOutgoingFriendsParams) SetNamespace(namespace string)

SetNamespace adds the namespace to the get user outgoing friends params

func (*GetUserOutgoingFriendsParams) SetTimeout added in v0.2.0

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

SetTimeout adds the timeout to the get user outgoing friends params

func (*GetUserOutgoingFriendsParams) WithContext added in v0.2.0

WithContext adds the context to the get user outgoing friends params

func (*GetUserOutgoingFriendsParams) WithHTTPClient added in v0.2.0

WithHTTPClient adds the HTTPClient to the get user outgoing friends params

func (*GetUserOutgoingFriendsParams) WithNamespace added in v0.2.0

WithNamespace adds the namespace to the get user outgoing friends params

func (*GetUserOutgoingFriendsParams) WithTimeout added in v0.2.0

WithTimeout adds the timeout to the get user outgoing friends params

func (*GetUserOutgoingFriendsParams) WriteToRequest added in v0.2.0

WriteToRequest writes these params to a swagger request

type GetUserOutgoingFriendsReader added in v0.2.0

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

GetUserOutgoingFriendsReader is a Reader for the GetUserOutgoingFriends structure.

func (*GetUserOutgoingFriendsReader) ReadResponse added in v0.2.0

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

ReadResponse reads a server response into the received o.

type GetUserOutgoingFriendsUnauthorized added in v0.2.0

type GetUserOutgoingFriendsUnauthorized struct {
	Payload *lobbyclientmodels.RestapiErrorResponseV1
}

GetUserOutgoingFriendsUnauthorized handles this case with default header values.

Unauthorized

func NewGetUserOutgoingFriendsUnauthorized added in v0.2.0

func NewGetUserOutgoingFriendsUnauthorized() *GetUserOutgoingFriendsUnauthorized

NewGetUserOutgoingFriendsUnauthorized creates a GetUserOutgoingFriendsUnauthorized with default headers values

func (*GetUserOutgoingFriendsUnauthorized) Error added in v0.2.0

func (*GetUserOutgoingFriendsUnauthorized) GetPayload added in v0.2.0

type UserAcceptFriendRequestBadRequest added in v0.2.0

type UserAcceptFriendRequestBadRequest struct {
	Payload *lobbyclientmodels.RestapiErrorResponseV1
}

UserAcceptFriendRequestBadRequest handles this case with default header values.

Bad Request

func NewUserAcceptFriendRequestBadRequest added in v0.2.0

func NewUserAcceptFriendRequestBadRequest() *UserAcceptFriendRequestBadRequest

NewUserAcceptFriendRequestBadRequest creates a UserAcceptFriendRequestBadRequest with default headers values

func (*UserAcceptFriendRequestBadRequest) Error added in v0.2.0

func (*UserAcceptFriendRequestBadRequest) GetPayload added in v0.2.0

type UserAcceptFriendRequestForbidden added in v0.2.0

type UserAcceptFriendRequestForbidden struct {
	Payload *lobbyclientmodels.RestapiErrorResponseV1
}

UserAcceptFriendRequestForbidden handles this case with default header values.

Forbidden

func NewUserAcceptFriendRequestForbidden added in v0.2.0

func NewUserAcceptFriendRequestForbidden() *UserAcceptFriendRequestForbidden

NewUserAcceptFriendRequestForbidden creates a UserAcceptFriendRequestForbidden with default headers values

func (*UserAcceptFriendRequestForbidden) Error added in v0.2.0

func (*UserAcceptFriendRequestForbidden) GetPayload added in v0.2.0

type UserAcceptFriendRequestInternalServerError added in v0.2.0

type UserAcceptFriendRequestInternalServerError struct {
	Payload *lobbyclientmodels.RestapiErrorResponseV1
}

UserAcceptFriendRequestInternalServerError handles this case with default header values.

Internal Server Error

func NewUserAcceptFriendRequestInternalServerError added in v0.2.0

func NewUserAcceptFriendRequestInternalServerError() *UserAcceptFriendRequestInternalServerError

NewUserAcceptFriendRequestInternalServerError creates a UserAcceptFriendRequestInternalServerError with default headers values

func (*UserAcceptFriendRequestInternalServerError) Error added in v0.2.0

func (*UserAcceptFriendRequestInternalServerError) GetPayload added in v0.2.0

type UserAcceptFriendRequestNoContent added in v0.2.0

type UserAcceptFriendRequestNoContent struct {
}

UserAcceptFriendRequestNoContent handles this case with default header values.

No Content

func NewUserAcceptFriendRequestNoContent added in v0.2.0

func NewUserAcceptFriendRequestNoContent() *UserAcceptFriendRequestNoContent

NewUserAcceptFriendRequestNoContent creates a UserAcceptFriendRequestNoContent with default headers values

func (*UserAcceptFriendRequestNoContent) Error added in v0.2.0

type UserAcceptFriendRequestNotFound added in v0.2.0

type UserAcceptFriendRequestNotFound struct {
	Payload *lobbyclientmodels.RestapiErrorResponseV1
}

UserAcceptFriendRequestNotFound handles this case with default header values.

Not Found

func NewUserAcceptFriendRequestNotFound added in v0.2.0

func NewUserAcceptFriendRequestNotFound() *UserAcceptFriendRequestNotFound

NewUserAcceptFriendRequestNotFound creates a UserAcceptFriendRequestNotFound with default headers values

func (*UserAcceptFriendRequestNotFound) Error added in v0.2.0

func (*UserAcceptFriendRequestNotFound) GetPayload added in v0.2.0

type UserAcceptFriendRequestParams added in v0.2.0

type UserAcceptFriendRequestParams struct {

	/*Body
	  accept friend content

	*/
	Body *lobbyclientmodels.ModelUserAcceptFriendRequest
	/*Namespace
	  namespace

	*/
	Namespace string

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

UserAcceptFriendRequestParams contains all the parameters to send to the API endpoint for the user accept friend request operation typically these are written to a http.Request

func NewUserAcceptFriendRequestParams added in v0.2.0

func NewUserAcceptFriendRequestParams() *UserAcceptFriendRequestParams

NewUserAcceptFriendRequestParams creates a new UserAcceptFriendRequestParams object with the default values initialized.

func NewUserAcceptFriendRequestParamsWithContext added in v0.2.0

func NewUserAcceptFriendRequestParamsWithContext(ctx context.Context) *UserAcceptFriendRequestParams

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

func NewUserAcceptFriendRequestParamsWithHTTPClient added in v0.2.0

func NewUserAcceptFriendRequestParamsWithHTTPClient(client *http.Client) *UserAcceptFriendRequestParams

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

func NewUserAcceptFriendRequestParamsWithTimeout added in v0.2.0

func NewUserAcceptFriendRequestParamsWithTimeout(timeout time.Duration) *UserAcceptFriendRequestParams

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

func (*UserAcceptFriendRequestParams) SetBody added in v0.2.0

SetBody adds the body to the user accept friend request params

func (*UserAcceptFriendRequestParams) SetContext added in v0.2.0

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

SetContext adds the context to the user accept friend request params

func (*UserAcceptFriendRequestParams) SetHTTPClient added in v0.2.0

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

SetHTTPClient adds the HTTPClient to the user accept friend request params

func (*UserAcceptFriendRequestParams) SetNamespace added in v0.2.0

func (o *UserAcceptFriendRequestParams) SetNamespace(namespace string)

SetNamespace adds the namespace to the user accept friend request params

func (*UserAcceptFriendRequestParams) SetTimeout added in v0.2.0

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

SetTimeout adds the timeout to the user accept friend request params

func (*UserAcceptFriendRequestParams) WithBody added in v0.2.0

WithBody adds the body to the user accept friend request params

func (*UserAcceptFriendRequestParams) WithContext added in v0.2.0

WithContext adds the context to the user accept friend request params

func (*UserAcceptFriendRequestParams) WithHTTPClient added in v0.2.0

WithHTTPClient adds the HTTPClient to the user accept friend request params

func (*UserAcceptFriendRequestParams) WithNamespace added in v0.2.0

WithNamespace adds the namespace to the user accept friend request params

func (*UserAcceptFriendRequestParams) WithTimeout added in v0.2.0

WithTimeout adds the timeout to the user accept friend request params

func (*UserAcceptFriendRequestParams) WriteToRequest added in v0.2.0

WriteToRequest writes these params to a swagger request

type UserAcceptFriendRequestReader added in v0.2.0

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

UserAcceptFriendRequestReader is a Reader for the UserAcceptFriendRequest structure.

func (*UserAcceptFriendRequestReader) ReadResponse added in v0.2.0

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

ReadResponse reads a server response into the received o.

type UserAcceptFriendRequestUnauthorized added in v0.2.0

type UserAcceptFriendRequestUnauthorized struct {
	Payload *lobbyclientmodels.RestapiErrorResponseV1
}

UserAcceptFriendRequestUnauthorized handles this case with default header values.

Unauthorized

func NewUserAcceptFriendRequestUnauthorized added in v0.2.0

func NewUserAcceptFriendRequestUnauthorized() *UserAcceptFriendRequestUnauthorized

NewUserAcceptFriendRequestUnauthorized creates a UserAcceptFriendRequestUnauthorized with default headers values

func (*UserAcceptFriendRequestUnauthorized) Error added in v0.2.0

func (*UserAcceptFriendRequestUnauthorized) GetPayload added in v0.2.0

type UserCancelFriendRequestBadRequest added in v0.2.0

type UserCancelFriendRequestBadRequest struct {
	Payload *lobbyclientmodels.RestapiErrorResponseV1
}

UserCancelFriendRequestBadRequest handles this case with default header values.

Bad Request

func NewUserCancelFriendRequestBadRequest added in v0.2.0

func NewUserCancelFriendRequestBadRequest() *UserCancelFriendRequestBadRequest

NewUserCancelFriendRequestBadRequest creates a UserCancelFriendRequestBadRequest with default headers values

func (*UserCancelFriendRequestBadRequest) Error added in v0.2.0

func (*UserCancelFriendRequestBadRequest) GetPayload added in v0.2.0

type UserCancelFriendRequestForbidden added in v0.2.0

type UserCancelFriendRequestForbidden struct {
	Payload *lobbyclientmodels.RestapiErrorResponseV1
}

UserCancelFriendRequestForbidden handles this case with default header values.

Forbidden

func NewUserCancelFriendRequestForbidden added in v0.2.0

func NewUserCancelFriendRequestForbidden() *UserCancelFriendRequestForbidden

NewUserCancelFriendRequestForbidden creates a UserCancelFriendRequestForbidden with default headers values

func (*UserCancelFriendRequestForbidden) Error added in v0.2.0

func (*UserCancelFriendRequestForbidden) GetPayload added in v0.2.0

type UserCancelFriendRequestInternalServerError added in v0.2.0

type UserCancelFriendRequestInternalServerError struct {
	Payload *lobbyclientmodels.RestapiErrorResponseV1
}

UserCancelFriendRequestInternalServerError handles this case with default header values.

Internal Server Error

func NewUserCancelFriendRequestInternalServerError added in v0.2.0

func NewUserCancelFriendRequestInternalServerError() *UserCancelFriendRequestInternalServerError

NewUserCancelFriendRequestInternalServerError creates a UserCancelFriendRequestInternalServerError with default headers values

func (*UserCancelFriendRequestInternalServerError) Error added in v0.2.0

func (*UserCancelFriendRequestInternalServerError) GetPayload added in v0.2.0

type UserCancelFriendRequestNoContent added in v0.2.0

type UserCancelFriendRequestNoContent struct {
}

UserCancelFriendRequestNoContent handles this case with default header values.

No Content

func NewUserCancelFriendRequestNoContent added in v0.2.0

func NewUserCancelFriendRequestNoContent() *UserCancelFriendRequestNoContent

NewUserCancelFriendRequestNoContent creates a UserCancelFriendRequestNoContent with default headers values

func (*UserCancelFriendRequestNoContent) Error added in v0.2.0

type UserCancelFriendRequestNotFound added in v0.2.0

type UserCancelFriendRequestNotFound struct {
	Payload *lobbyclientmodels.RestapiErrorResponseV1
}

UserCancelFriendRequestNotFound handles this case with default header values.

Not Found

func NewUserCancelFriendRequestNotFound added in v0.2.0

func NewUserCancelFriendRequestNotFound() *UserCancelFriendRequestNotFound

NewUserCancelFriendRequestNotFound creates a UserCancelFriendRequestNotFound with default headers values

func (*UserCancelFriendRequestNotFound) Error added in v0.2.0

func (*UserCancelFriendRequestNotFound) GetPayload added in v0.2.0

type UserCancelFriendRequestParams added in v0.2.0

type UserCancelFriendRequestParams struct {

	/*Body
	  cancel friend request content

	*/
	Body *lobbyclientmodels.ModelUserCancelFriendRequest
	/*Namespace
	  namespace

	*/
	Namespace string

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

UserCancelFriendRequestParams contains all the parameters to send to the API endpoint for the user cancel friend request operation typically these are written to a http.Request

func NewUserCancelFriendRequestParams added in v0.2.0

func NewUserCancelFriendRequestParams() *UserCancelFriendRequestParams

NewUserCancelFriendRequestParams creates a new UserCancelFriendRequestParams object with the default values initialized.

func NewUserCancelFriendRequestParamsWithContext added in v0.2.0

func NewUserCancelFriendRequestParamsWithContext(ctx context.Context) *UserCancelFriendRequestParams

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

func NewUserCancelFriendRequestParamsWithHTTPClient added in v0.2.0

func NewUserCancelFriendRequestParamsWithHTTPClient(client *http.Client) *UserCancelFriendRequestParams

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

func NewUserCancelFriendRequestParamsWithTimeout added in v0.2.0

func NewUserCancelFriendRequestParamsWithTimeout(timeout time.Duration) *UserCancelFriendRequestParams

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

func (*UserCancelFriendRequestParams) SetBody added in v0.2.0

SetBody adds the body to the user cancel friend request params

func (*UserCancelFriendRequestParams) SetContext added in v0.2.0

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

SetContext adds the context to the user cancel friend request params

func (*UserCancelFriendRequestParams) SetHTTPClient added in v0.2.0

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

SetHTTPClient adds the HTTPClient to the user cancel friend request params

func (*UserCancelFriendRequestParams) SetNamespace added in v0.2.0

func (o *UserCancelFriendRequestParams) SetNamespace(namespace string)

SetNamespace adds the namespace to the user cancel friend request params

func (*UserCancelFriendRequestParams) SetTimeout added in v0.2.0

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

SetTimeout adds the timeout to the user cancel friend request params

func (*UserCancelFriendRequestParams) WithBody added in v0.2.0

WithBody adds the body to the user cancel friend request params

func (*UserCancelFriendRequestParams) WithContext added in v0.2.0

WithContext adds the context to the user cancel friend request params

func (*UserCancelFriendRequestParams) WithHTTPClient added in v0.2.0

WithHTTPClient adds the HTTPClient to the user cancel friend request params

func (*UserCancelFriendRequestParams) WithNamespace added in v0.2.0

WithNamespace adds the namespace to the user cancel friend request params

func (*UserCancelFriendRequestParams) WithTimeout added in v0.2.0

WithTimeout adds the timeout to the user cancel friend request params

func (*UserCancelFriendRequestParams) WriteToRequest added in v0.2.0

WriteToRequest writes these params to a swagger request

type UserCancelFriendRequestReader added in v0.2.0

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

UserCancelFriendRequestReader is a Reader for the UserCancelFriendRequest structure.

func (*UserCancelFriendRequestReader) ReadResponse added in v0.2.0

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

ReadResponse reads a server response into the received o.

type UserCancelFriendRequestUnauthorized added in v0.2.0

type UserCancelFriendRequestUnauthorized struct {
	Payload *lobbyclientmodels.RestapiErrorResponseV1
}

UserCancelFriendRequestUnauthorized handles this case with default header values.

Unauthorized

func NewUserCancelFriendRequestUnauthorized added in v0.2.0

func NewUserCancelFriendRequestUnauthorized() *UserCancelFriendRequestUnauthorized

NewUserCancelFriendRequestUnauthorized creates a UserCancelFriendRequestUnauthorized with default headers values

func (*UserCancelFriendRequestUnauthorized) Error added in v0.2.0

func (*UserCancelFriendRequestUnauthorized) GetPayload added in v0.2.0

type UserGetFriendshipStatusBadRequest added in v0.2.0

type UserGetFriendshipStatusBadRequest struct {
	Payload *lobbyclientmodels.RestapiErrorResponseV1
}

UserGetFriendshipStatusBadRequest handles this case with default header values.

Bad Request

func NewUserGetFriendshipStatusBadRequest added in v0.2.0

func NewUserGetFriendshipStatusBadRequest() *UserGetFriendshipStatusBadRequest

NewUserGetFriendshipStatusBadRequest creates a UserGetFriendshipStatusBadRequest with default headers values

func (*UserGetFriendshipStatusBadRequest) Error added in v0.2.0

func (*UserGetFriendshipStatusBadRequest) GetPayload added in v0.2.0

type UserGetFriendshipStatusForbidden added in v0.2.0

type UserGetFriendshipStatusForbidden struct {
	Payload *lobbyclientmodels.RestapiErrorResponseV1
}

UserGetFriendshipStatusForbidden handles this case with default header values.

Forbidden

func NewUserGetFriendshipStatusForbidden added in v0.2.0

func NewUserGetFriendshipStatusForbidden() *UserGetFriendshipStatusForbidden

NewUserGetFriendshipStatusForbidden creates a UserGetFriendshipStatusForbidden with default headers values

func (*UserGetFriendshipStatusForbidden) Error added in v0.2.0

func (*UserGetFriendshipStatusForbidden) GetPayload added in v0.2.0

type UserGetFriendshipStatusInternalServerError added in v0.2.0

type UserGetFriendshipStatusInternalServerError struct {
	Payload *lobbyclientmodels.RestapiErrorResponseV1
}

UserGetFriendshipStatusInternalServerError handles this case with default header values.

Internal Server Error

func NewUserGetFriendshipStatusInternalServerError added in v0.2.0

func NewUserGetFriendshipStatusInternalServerError() *UserGetFriendshipStatusInternalServerError

NewUserGetFriendshipStatusInternalServerError creates a UserGetFriendshipStatusInternalServerError with default headers values

func (*UserGetFriendshipStatusInternalServerError) Error added in v0.2.0

func (*UserGetFriendshipStatusInternalServerError) GetPayload added in v0.2.0

type UserGetFriendshipStatusOK added in v0.2.0

type UserGetFriendshipStatusOK struct {
	Payload *lobbyclientmodels.ModelUserGetFriendshipStatusResponse
}

UserGetFriendshipStatusOK handles this case with default header values.

OK

func NewUserGetFriendshipStatusOK added in v0.2.0

func NewUserGetFriendshipStatusOK() *UserGetFriendshipStatusOK

NewUserGetFriendshipStatusOK creates a UserGetFriendshipStatusOK with default headers values

func (*UserGetFriendshipStatusOK) Error added in v0.2.0

func (o *UserGetFriendshipStatusOK) Error() string

func (*UserGetFriendshipStatusOK) GetPayload added in v0.2.0

type UserGetFriendshipStatusParams added in v0.2.0

type UserGetFriendshipStatusParams struct {

	/*FriendID
	  Friend ID

	*/
	FriendID string
	/*Namespace
	  namespace

	*/
	Namespace string

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

UserGetFriendshipStatusParams contains all the parameters to send to the API endpoint for the user get friendship status operation typically these are written to a http.Request

func NewUserGetFriendshipStatusParams added in v0.2.0

func NewUserGetFriendshipStatusParams() *UserGetFriendshipStatusParams

NewUserGetFriendshipStatusParams creates a new UserGetFriendshipStatusParams object with the default values initialized.

func NewUserGetFriendshipStatusParamsWithContext added in v0.2.0

func NewUserGetFriendshipStatusParamsWithContext(ctx context.Context) *UserGetFriendshipStatusParams

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

func NewUserGetFriendshipStatusParamsWithHTTPClient added in v0.2.0

func NewUserGetFriendshipStatusParamsWithHTTPClient(client *http.Client) *UserGetFriendshipStatusParams

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

func NewUserGetFriendshipStatusParamsWithTimeout added in v0.2.0

func NewUserGetFriendshipStatusParamsWithTimeout(timeout time.Duration) *UserGetFriendshipStatusParams

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

func (*UserGetFriendshipStatusParams) SetContext added in v0.2.0

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

SetContext adds the context to the user get friendship status params

func (*UserGetFriendshipStatusParams) SetFriendID added in v0.2.0

func (o *UserGetFriendshipStatusParams) SetFriendID(friendID string)

SetFriendID adds the friendId to the user get friendship status params

func (*UserGetFriendshipStatusParams) SetHTTPClient added in v0.2.0

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

SetHTTPClient adds the HTTPClient to the user get friendship status params

func (*UserGetFriendshipStatusParams) SetNamespace added in v0.2.0

func (o *UserGetFriendshipStatusParams) SetNamespace(namespace string)

SetNamespace adds the namespace to the user get friendship status params

func (*UserGetFriendshipStatusParams) SetTimeout added in v0.2.0

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

SetTimeout adds the timeout to the user get friendship status params

func (*UserGetFriendshipStatusParams) WithContext added in v0.2.0

WithContext adds the context to the user get friendship status params

func (*UserGetFriendshipStatusParams) WithFriendID added in v0.2.0

WithFriendID adds the friendID to the user get friendship status params

func (*UserGetFriendshipStatusParams) WithHTTPClient added in v0.2.0

WithHTTPClient adds the HTTPClient to the user get friendship status params

func (*UserGetFriendshipStatusParams) WithNamespace added in v0.2.0

WithNamespace adds the namespace to the user get friendship status params

func (*UserGetFriendshipStatusParams) WithTimeout added in v0.2.0

WithTimeout adds the timeout to the user get friendship status params

func (*UserGetFriendshipStatusParams) WriteToRequest added in v0.2.0

WriteToRequest writes these params to a swagger request

type UserGetFriendshipStatusReader added in v0.2.0

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

UserGetFriendshipStatusReader is a Reader for the UserGetFriendshipStatus structure.

func (*UserGetFriendshipStatusReader) ReadResponse added in v0.2.0

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

ReadResponse reads a server response into the received o.

type UserGetFriendshipStatusUnauthorized added in v0.2.0

type UserGetFriendshipStatusUnauthorized struct {
	Payload *lobbyclientmodels.RestapiErrorResponseV1
}

UserGetFriendshipStatusUnauthorized handles this case with default header values.

Unauthorized

func NewUserGetFriendshipStatusUnauthorized added in v0.2.0

func NewUserGetFriendshipStatusUnauthorized() *UserGetFriendshipStatusUnauthorized

NewUserGetFriendshipStatusUnauthorized creates a UserGetFriendshipStatusUnauthorized with default headers values

func (*UserGetFriendshipStatusUnauthorized) Error added in v0.2.0

func (*UserGetFriendshipStatusUnauthorized) GetPayload added in v0.2.0

type UserRejectFriendRequestBadRequest added in v0.2.0

type UserRejectFriendRequestBadRequest struct {
	Payload *lobbyclientmodels.RestapiErrorResponseV1
}

UserRejectFriendRequestBadRequest handles this case with default header values.

Bad Request

func NewUserRejectFriendRequestBadRequest added in v0.2.0

func NewUserRejectFriendRequestBadRequest() *UserRejectFriendRequestBadRequest

NewUserRejectFriendRequestBadRequest creates a UserRejectFriendRequestBadRequest with default headers values

func (*UserRejectFriendRequestBadRequest) Error added in v0.2.0

func (*UserRejectFriendRequestBadRequest) GetPayload added in v0.2.0

type UserRejectFriendRequestForbidden added in v0.2.0

type UserRejectFriendRequestForbidden struct {
	Payload *lobbyclientmodels.RestapiErrorResponseV1
}

UserRejectFriendRequestForbidden handles this case with default header values.

Forbidden

func NewUserRejectFriendRequestForbidden added in v0.2.0

func NewUserRejectFriendRequestForbidden() *UserRejectFriendRequestForbidden

NewUserRejectFriendRequestForbidden creates a UserRejectFriendRequestForbidden with default headers values

func (*UserRejectFriendRequestForbidden) Error added in v0.2.0

func (*UserRejectFriendRequestForbidden) GetPayload added in v0.2.0

type UserRejectFriendRequestInternalServerError added in v0.2.0

type UserRejectFriendRequestInternalServerError struct {
	Payload *lobbyclientmodels.RestapiErrorResponseV1
}

UserRejectFriendRequestInternalServerError handles this case with default header values.

Internal Server Error

func NewUserRejectFriendRequestInternalServerError added in v0.2.0

func NewUserRejectFriendRequestInternalServerError() *UserRejectFriendRequestInternalServerError

NewUserRejectFriendRequestInternalServerError creates a UserRejectFriendRequestInternalServerError with default headers values

func (*UserRejectFriendRequestInternalServerError) Error added in v0.2.0

func (*UserRejectFriendRequestInternalServerError) GetPayload added in v0.2.0

type UserRejectFriendRequestNoContent added in v0.2.0

type UserRejectFriendRequestNoContent struct {
}

UserRejectFriendRequestNoContent handles this case with default header values.

No Content

func NewUserRejectFriendRequestNoContent added in v0.2.0

func NewUserRejectFriendRequestNoContent() *UserRejectFriendRequestNoContent

NewUserRejectFriendRequestNoContent creates a UserRejectFriendRequestNoContent with default headers values

func (*UserRejectFriendRequestNoContent) Error added in v0.2.0

type UserRejectFriendRequestNotFound added in v0.2.0

type UserRejectFriendRequestNotFound struct {
	Payload *lobbyclientmodels.RestapiErrorResponseV1
}

UserRejectFriendRequestNotFound handles this case with default header values.

Not Found

func NewUserRejectFriendRequestNotFound added in v0.2.0

func NewUserRejectFriendRequestNotFound() *UserRejectFriendRequestNotFound

NewUserRejectFriendRequestNotFound creates a UserRejectFriendRequestNotFound with default headers values

func (*UserRejectFriendRequestNotFound) Error added in v0.2.0

func (*UserRejectFriendRequestNotFound) GetPayload added in v0.2.0

type UserRejectFriendRequestParams added in v0.2.0

type UserRejectFriendRequestParams struct {

	/*Body
	  reject friend request content

	*/
	Body *lobbyclientmodels.ModelUserRejectFriendRequest
	/*Namespace
	  namespace

	*/
	Namespace string

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

UserRejectFriendRequestParams contains all the parameters to send to the API endpoint for the user reject friend request operation typically these are written to a http.Request

func NewUserRejectFriendRequestParams added in v0.2.0

func NewUserRejectFriendRequestParams() *UserRejectFriendRequestParams

NewUserRejectFriendRequestParams creates a new UserRejectFriendRequestParams object with the default values initialized.

func NewUserRejectFriendRequestParamsWithContext added in v0.2.0

func NewUserRejectFriendRequestParamsWithContext(ctx context.Context) *UserRejectFriendRequestParams

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

func NewUserRejectFriendRequestParamsWithHTTPClient added in v0.2.0

func NewUserRejectFriendRequestParamsWithHTTPClient(client *http.Client) *UserRejectFriendRequestParams

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

func NewUserRejectFriendRequestParamsWithTimeout added in v0.2.0

func NewUserRejectFriendRequestParamsWithTimeout(timeout time.Duration) *UserRejectFriendRequestParams

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

func (*UserRejectFriendRequestParams) SetBody added in v0.2.0

SetBody adds the body to the user reject friend request params

func (*UserRejectFriendRequestParams) SetContext added in v0.2.0

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

SetContext adds the context to the user reject friend request params

func (*UserRejectFriendRequestParams) SetHTTPClient added in v0.2.0

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

SetHTTPClient adds the HTTPClient to the user reject friend request params

func (*UserRejectFriendRequestParams) SetNamespace added in v0.2.0

func (o *UserRejectFriendRequestParams) SetNamespace(namespace string)

SetNamespace adds the namespace to the user reject friend request params

func (*UserRejectFriendRequestParams) SetTimeout added in v0.2.0

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

SetTimeout adds the timeout to the user reject friend request params

func (*UserRejectFriendRequestParams) WithBody added in v0.2.0

WithBody adds the body to the user reject friend request params

func (*UserRejectFriendRequestParams) WithContext added in v0.2.0

WithContext adds the context to the user reject friend request params

func (*UserRejectFriendRequestParams) WithHTTPClient added in v0.2.0

WithHTTPClient adds the HTTPClient to the user reject friend request params

func (*UserRejectFriendRequestParams) WithNamespace added in v0.2.0

WithNamespace adds the namespace to the user reject friend request params

func (*UserRejectFriendRequestParams) WithTimeout added in v0.2.0

WithTimeout adds the timeout to the user reject friend request params

func (*UserRejectFriendRequestParams) WriteToRequest added in v0.2.0

WriteToRequest writes these params to a swagger request

type UserRejectFriendRequestReader added in v0.2.0

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

UserRejectFriendRequestReader is a Reader for the UserRejectFriendRequest structure.

func (*UserRejectFriendRequestReader) ReadResponse added in v0.2.0

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

ReadResponse reads a server response into the received o.

type UserRejectFriendRequestUnauthorized added in v0.2.0

type UserRejectFriendRequestUnauthorized struct {
	Payload *lobbyclientmodels.RestapiErrorResponseV1
}

UserRejectFriendRequestUnauthorized handles this case with default header values.

Unauthorized

func NewUserRejectFriendRequestUnauthorized added in v0.2.0

func NewUserRejectFriendRequestUnauthorized() *UserRejectFriendRequestUnauthorized

NewUserRejectFriendRequestUnauthorized creates a UserRejectFriendRequestUnauthorized with default headers values

func (*UserRejectFriendRequestUnauthorized) Error added in v0.2.0

func (*UserRejectFriendRequestUnauthorized) GetPayload added in v0.2.0

type UserRequestFriendBadRequest added in v0.2.0

type UserRequestFriendBadRequest struct {
	Payload *lobbyclientmodels.RestapiErrorResponseV1
}

UserRequestFriendBadRequest handles this case with default header values.

Bad Request

func NewUserRequestFriendBadRequest added in v0.2.0

func NewUserRequestFriendBadRequest() *UserRequestFriendBadRequest

NewUserRequestFriendBadRequest creates a UserRequestFriendBadRequest with default headers values

func (*UserRequestFriendBadRequest) Error added in v0.2.0

func (*UserRequestFriendBadRequest) GetPayload added in v0.2.0

type UserRequestFriendCreated added in v0.2.0

type UserRequestFriendCreated struct {
}

UserRequestFriendCreated handles this case with default header values.

Created

func NewUserRequestFriendCreated added in v0.2.0

func NewUserRequestFriendCreated() *UserRequestFriendCreated

NewUserRequestFriendCreated creates a UserRequestFriendCreated with default headers values

func (*UserRequestFriendCreated) Error added in v0.2.0

func (o *UserRequestFriendCreated) Error() string

type UserRequestFriendForbidden added in v0.2.0

type UserRequestFriendForbidden struct {
	Payload *lobbyclientmodels.RestapiErrorResponseV1
}

UserRequestFriendForbidden handles this case with default header values.

Forbidden

func NewUserRequestFriendForbidden added in v0.2.0

func NewUserRequestFriendForbidden() *UserRequestFriendForbidden

NewUserRequestFriendForbidden creates a UserRequestFriendForbidden with default headers values

func (*UserRequestFriendForbidden) Error added in v0.2.0

func (*UserRequestFriendForbidden) GetPayload added in v0.2.0

type UserRequestFriendInternalServerError added in v0.2.0

type UserRequestFriendInternalServerError struct {
	Payload *lobbyclientmodels.RestapiErrorResponseV1
}

UserRequestFriendInternalServerError handles this case with default header values.

Internal Server Error

func NewUserRequestFriendInternalServerError added in v0.2.0

func NewUserRequestFriendInternalServerError() *UserRequestFriendInternalServerError

NewUserRequestFriendInternalServerError creates a UserRequestFriendInternalServerError with default headers values

func (*UserRequestFriendInternalServerError) Error added in v0.2.0

func (*UserRequestFriendInternalServerError) GetPayload added in v0.2.0

type UserRequestFriendNotFound added in v0.2.0

type UserRequestFriendNotFound struct {
	Payload *lobbyclientmodels.RestapiErrorResponseV1
}

UserRequestFriendNotFound handles this case with default header values.

Not Found

func NewUserRequestFriendNotFound added in v0.2.0

func NewUserRequestFriendNotFound() *UserRequestFriendNotFound

NewUserRequestFriendNotFound creates a UserRequestFriendNotFound with default headers values

func (*UserRequestFriendNotFound) Error added in v0.2.0

func (o *UserRequestFriendNotFound) Error() string

func (*UserRequestFriendNotFound) GetPayload added in v0.2.0

type UserRequestFriendParams added in v0.2.0

type UserRequestFriendParams struct {

	/*Body
	  add friend content

	*/
	Body *lobbyclientmodels.ModelRequestFriendsRequest
	/*Namespace
	  namespace

	*/
	Namespace string

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

UserRequestFriendParams contains all the parameters to send to the API endpoint for the user request friend operation typically these are written to a http.Request

func NewUserRequestFriendParams added in v0.2.0

func NewUserRequestFriendParams() *UserRequestFriendParams

NewUserRequestFriendParams creates a new UserRequestFriendParams object with the default values initialized.

func NewUserRequestFriendParamsWithContext added in v0.2.0

func NewUserRequestFriendParamsWithContext(ctx context.Context) *UserRequestFriendParams

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

func NewUserRequestFriendParamsWithHTTPClient added in v0.2.0

func NewUserRequestFriendParamsWithHTTPClient(client *http.Client) *UserRequestFriendParams

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

func NewUserRequestFriendParamsWithTimeout added in v0.2.0

func NewUserRequestFriendParamsWithTimeout(timeout time.Duration) *UserRequestFriendParams

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

func (*UserRequestFriendParams) SetBody added in v0.2.0

SetBody adds the body to the user request friend params

func (*UserRequestFriendParams) SetContext added in v0.2.0

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

SetContext adds the context to the user request friend params

func (*UserRequestFriendParams) SetHTTPClient added in v0.2.0

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

SetHTTPClient adds the HTTPClient to the user request friend params

func (*UserRequestFriendParams) SetNamespace added in v0.2.0

func (o *UserRequestFriendParams) SetNamespace(namespace string)

SetNamespace adds the namespace to the user request friend params

func (*UserRequestFriendParams) SetTimeout added in v0.2.0

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

SetTimeout adds the timeout to the user request friend params

func (*UserRequestFriendParams) WithBody added in v0.2.0

WithBody adds the body to the user request friend params

func (*UserRequestFriendParams) WithContext added in v0.2.0

WithContext adds the context to the user request friend params

func (*UserRequestFriendParams) WithHTTPClient added in v0.2.0

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

WithHTTPClient adds the HTTPClient to the user request friend params

func (*UserRequestFriendParams) WithNamespace added in v0.2.0

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

WithNamespace adds the namespace to the user request friend params

func (*UserRequestFriendParams) WithTimeout added in v0.2.0

WithTimeout adds the timeout to the user request friend params

func (*UserRequestFriendParams) WriteToRequest added in v0.2.0

WriteToRequest writes these params to a swagger request

type UserRequestFriendReader added in v0.2.0

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

UserRequestFriendReader is a Reader for the UserRequestFriend structure.

func (*UserRequestFriendReader) ReadResponse added in v0.2.0

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

ReadResponse reads a server response into the received o.

type UserRequestFriendUnauthorized added in v0.2.0

type UserRequestFriendUnauthorized struct {
	Payload *lobbyclientmodels.RestapiErrorResponseV1
}

UserRequestFriendUnauthorized handles this case with default header values.

Unauthorized

func NewUserRequestFriendUnauthorized added in v0.2.0

func NewUserRequestFriendUnauthorized() *UserRequestFriendUnauthorized

NewUserRequestFriendUnauthorized creates a UserRequestFriendUnauthorized with default headers values

func (*UserRequestFriendUnauthorized) Error added in v0.2.0

func (*UserRequestFriendUnauthorized) GetPayload added in v0.2.0

type UserRequestFriendUnprocessableEntity added in v0.2.0

type UserRequestFriendUnprocessableEntity struct {
	Payload *lobbyclientmodels.RestapiErrorResponseV1
}

UserRequestFriendUnprocessableEntity handles this case with default header values.

Unprocessable Entity

func NewUserRequestFriendUnprocessableEntity added in v0.2.0

func NewUserRequestFriendUnprocessableEntity() *UserRequestFriendUnprocessableEntity

NewUserRequestFriendUnprocessableEntity creates a UserRequestFriendUnprocessableEntity with default headers values

func (*UserRequestFriendUnprocessableEntity) Error added in v0.2.0

func (*UserRequestFriendUnprocessableEntity) GetPayload added in v0.2.0

type UserUnfriendRequestBadRequest added in v0.2.0

type UserUnfriendRequestBadRequest struct {
	Payload *lobbyclientmodels.RestapiErrorResponseV1
}

UserUnfriendRequestBadRequest handles this case with default header values.

Bad Request

func NewUserUnfriendRequestBadRequest added in v0.2.0

func NewUserUnfriendRequestBadRequest() *UserUnfriendRequestBadRequest

NewUserUnfriendRequestBadRequest creates a UserUnfriendRequestBadRequest with default headers values

func (*UserUnfriendRequestBadRequest) Error added in v0.2.0

func (*UserUnfriendRequestBadRequest) GetPayload added in v0.2.0

type UserUnfriendRequestForbidden added in v0.2.0

type UserUnfriendRequestForbidden struct {
	Payload *lobbyclientmodels.RestapiErrorResponseV1
}

UserUnfriendRequestForbidden handles this case with default header values.

Forbidden

func NewUserUnfriendRequestForbidden added in v0.2.0

func NewUserUnfriendRequestForbidden() *UserUnfriendRequestForbidden

NewUserUnfriendRequestForbidden creates a UserUnfriendRequestForbidden with default headers values

func (*UserUnfriendRequestForbidden) Error added in v0.2.0

func (*UserUnfriendRequestForbidden) GetPayload added in v0.2.0

type UserUnfriendRequestInternalServerError added in v0.2.0

type UserUnfriendRequestInternalServerError struct {
	Payload *lobbyclientmodels.RestapiErrorResponseV1
}

UserUnfriendRequestInternalServerError handles this case with default header values.

Internal Server Error

func NewUserUnfriendRequestInternalServerError added in v0.2.0

func NewUserUnfriendRequestInternalServerError() *UserUnfriendRequestInternalServerError

NewUserUnfriendRequestInternalServerError creates a UserUnfriendRequestInternalServerError with default headers values

func (*UserUnfriendRequestInternalServerError) Error added in v0.2.0

func (*UserUnfriendRequestInternalServerError) GetPayload added in v0.2.0

type UserUnfriendRequestNoContent added in v0.2.0

type UserUnfriendRequestNoContent struct {
}

UserUnfriendRequestNoContent handles this case with default header values.

No Content

func NewUserUnfriendRequestNoContent added in v0.2.0

func NewUserUnfriendRequestNoContent() *UserUnfriendRequestNoContent

NewUserUnfriendRequestNoContent creates a UserUnfriendRequestNoContent with default headers values

func (*UserUnfriendRequestNoContent) Error added in v0.2.0

type UserUnfriendRequestNotFound added in v0.2.0

type UserUnfriendRequestNotFound struct {
	Payload *lobbyclientmodels.RestapiErrorResponseV1
}

UserUnfriendRequestNotFound handles this case with default header values.

Not Found

func NewUserUnfriendRequestNotFound added in v0.2.0

func NewUserUnfriendRequestNotFound() *UserUnfriendRequestNotFound

NewUserUnfriendRequestNotFound creates a UserUnfriendRequestNotFound with default headers values

func (*UserUnfriendRequestNotFound) Error added in v0.2.0

func (*UserUnfriendRequestNotFound) GetPayload added in v0.2.0

type UserUnfriendRequestParams added in v0.2.0

type UserUnfriendRequestParams struct {

	/*Body
	  unfriend request content

	*/
	Body *lobbyclientmodels.ModelUserUnfriendRequest
	/*Namespace
	  namespace

	*/
	Namespace string

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

UserUnfriendRequestParams contains all the parameters to send to the API endpoint for the user unfriend request operation typically these are written to a http.Request

func NewUserUnfriendRequestParams added in v0.2.0

func NewUserUnfriendRequestParams() *UserUnfriendRequestParams

NewUserUnfriendRequestParams creates a new UserUnfriendRequestParams object with the default values initialized.

func NewUserUnfriendRequestParamsWithContext added in v0.2.0

func NewUserUnfriendRequestParamsWithContext(ctx context.Context) *UserUnfriendRequestParams

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

func NewUserUnfriendRequestParamsWithHTTPClient added in v0.2.0

func NewUserUnfriendRequestParamsWithHTTPClient(client *http.Client) *UserUnfriendRequestParams

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

func NewUserUnfriendRequestParamsWithTimeout added in v0.2.0

func NewUserUnfriendRequestParamsWithTimeout(timeout time.Duration) *UserUnfriendRequestParams

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

func (*UserUnfriendRequestParams) SetBody added in v0.2.0

SetBody adds the body to the user unfriend request params

func (*UserUnfriendRequestParams) SetContext added in v0.2.0

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

SetContext adds the context to the user unfriend request params

func (*UserUnfriendRequestParams) SetHTTPClient added in v0.2.0

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

SetHTTPClient adds the HTTPClient to the user unfriend request params

func (*UserUnfriendRequestParams) SetNamespace added in v0.2.0

func (o *UserUnfriendRequestParams) SetNamespace(namespace string)

SetNamespace adds the namespace to the user unfriend request params

func (*UserUnfriendRequestParams) SetTimeout added in v0.2.0

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

SetTimeout adds the timeout to the user unfriend request params

func (*UserUnfriendRequestParams) WithBody added in v0.2.0

WithBody adds the body to the user unfriend request params

func (*UserUnfriendRequestParams) WithContext added in v0.2.0

WithContext adds the context to the user unfriend request params

func (*UserUnfriendRequestParams) WithHTTPClient added in v0.2.0

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

WithHTTPClient adds the HTTPClient to the user unfriend request params

func (*UserUnfriendRequestParams) WithNamespace added in v0.2.0

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

WithNamespace adds the namespace to the user unfriend request params

func (*UserUnfriendRequestParams) WithTimeout added in v0.2.0

WithTimeout adds the timeout to the user unfriend request params

func (*UserUnfriendRequestParams) WriteToRequest added in v0.2.0

WriteToRequest writes these params to a swagger request

type UserUnfriendRequestReader added in v0.2.0

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

UserUnfriendRequestReader is a Reader for the UserUnfriendRequest structure.

func (*UserUnfriendRequestReader) ReadResponse added in v0.2.0

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

ReadResponse reads a server response into the received o.

type UserUnfriendRequestUnauthorized added in v0.2.0

type UserUnfriendRequestUnauthorized struct {
	Payload *lobbyclientmodels.RestapiErrorResponseV1
}

UserUnfriendRequestUnauthorized handles this case with default header values.

Unauthorized

func NewUserUnfriendRequestUnauthorized added in v0.2.0

func NewUserUnfriendRequestUnauthorized() *UserUnfriendRequestUnauthorized

NewUserUnfriendRequestUnauthorized creates a UserUnfriendRequestUnauthorized with default headers values

func (*UserUnfriendRequestUnauthorized) Error added in v0.2.0

func (*UserUnfriendRequestUnauthorized) GetPayload added in v0.2.0

Jump to

Keyboard shortcuts

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