Documentation ¶
Index ¶
- type AddFriendsWithoutConfirmationBadRequest
- type AddFriendsWithoutConfirmationForbidden
- type AddFriendsWithoutConfirmationInternalServerError
- type AddFriendsWithoutConfirmationNoContent
- type AddFriendsWithoutConfirmationParams
- func NewAddFriendsWithoutConfirmationParams() *AddFriendsWithoutConfirmationParams
- func NewAddFriendsWithoutConfirmationParamsWithContext(ctx context.Context) *AddFriendsWithoutConfirmationParams
- func NewAddFriendsWithoutConfirmationParamsWithHTTPClient(client *http.Client) *AddFriendsWithoutConfirmationParams
- func NewAddFriendsWithoutConfirmationParamsWithTimeout(timeout time.Duration) *AddFriendsWithoutConfirmationParams
- func (o *AddFriendsWithoutConfirmationParams) SetBody(body *lobbyclientmodels.ModelBulkAddFriendsRequest)
- func (o *AddFriendsWithoutConfirmationParams) SetContext(ctx context.Context)
- func (o *AddFriendsWithoutConfirmationParams) SetHTTPClient(client *http.Client)
- func (o *AddFriendsWithoutConfirmationParams) SetNamespace(namespace string)
- func (o *AddFriendsWithoutConfirmationParams) SetTimeout(timeout time.Duration)
- func (o *AddFriendsWithoutConfirmationParams) SetUserID(userID string)
- func (o *AddFriendsWithoutConfirmationParams) WithBody(body *lobbyclientmodels.ModelBulkAddFriendsRequest) *AddFriendsWithoutConfirmationParams
- func (o *AddFriendsWithoutConfirmationParams) WithContext(ctx context.Context) *AddFriendsWithoutConfirmationParams
- func (o *AddFriendsWithoutConfirmationParams) WithHTTPClient(client *http.Client) *AddFriendsWithoutConfirmationParams
- func (o *AddFriendsWithoutConfirmationParams) WithNamespace(namespace string) *AddFriendsWithoutConfirmationParams
- func (o *AddFriendsWithoutConfirmationParams) WithTimeout(timeout time.Duration) *AddFriendsWithoutConfirmationParams
- func (o *AddFriendsWithoutConfirmationParams) WithUserID(userID string) *AddFriendsWithoutConfirmationParams
- func (o *AddFriendsWithoutConfirmationParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type AddFriendsWithoutConfirmationReader
- type AddFriendsWithoutConfirmationUnauthorized
- type Client
- func (a *Client) AddFriendsWithoutConfirmation(params *AddFriendsWithoutConfirmationParams, ...) (*AddFriendsWithoutConfirmationNoContent, ...)
- func (a *Client) GetListOfFriends(params *GetListOfFriendsParams, authInfo runtime.ClientAuthInfoWriter) (*GetListOfFriendsOK, *GetListOfFriendsBadRequest, ...)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- type ClientService
- type GetListOfFriendsBadRequest
- type GetListOfFriendsForbidden
- type GetListOfFriendsInternalServerError
- type GetListOfFriendsOK
- type GetListOfFriendsParams
- func NewGetListOfFriendsParams() *GetListOfFriendsParams
- func NewGetListOfFriendsParamsWithContext(ctx context.Context) *GetListOfFriendsParams
- func NewGetListOfFriendsParamsWithHTTPClient(client *http.Client) *GetListOfFriendsParams
- func NewGetListOfFriendsParamsWithTimeout(timeout time.Duration) *GetListOfFriendsParams
- func (o *GetListOfFriendsParams) SetContext(ctx context.Context)
- func (o *GetListOfFriendsParams) SetHTTPClient(client *http.Client)
- func (o *GetListOfFriendsParams) SetLimit(limit *string)
- func (o *GetListOfFriendsParams) SetNamespace(namespace string)
- func (o *GetListOfFriendsParams) SetOffset(offset *string)
- func (o *GetListOfFriendsParams) SetTimeout(timeout time.Duration)
- func (o *GetListOfFriendsParams) SetUserID(userID string)
- func (o *GetListOfFriendsParams) WithContext(ctx context.Context) *GetListOfFriendsParams
- func (o *GetListOfFriendsParams) WithHTTPClient(client *http.Client) *GetListOfFriendsParams
- func (o *GetListOfFriendsParams) WithLimit(limit *string) *GetListOfFriendsParams
- func (o *GetListOfFriendsParams) WithNamespace(namespace string) *GetListOfFriendsParams
- func (o *GetListOfFriendsParams) WithOffset(offset *string) *GetListOfFriendsParams
- func (o *GetListOfFriendsParams) WithTimeout(timeout time.Duration) *GetListOfFriendsParams
- func (o *GetListOfFriendsParams) WithUserID(userID string) *GetListOfFriendsParams
- func (o *GetListOfFriendsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetListOfFriendsReader
- type GetListOfFriendsUnauthorized
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 (o *AddFriendsWithoutConfirmationBadRequest) Error() string
func (*AddFriendsWithoutConfirmationBadRequest) GetPayload ¶
func (o *AddFriendsWithoutConfirmationBadRequest) GetPayload() *lobbyclientmodels.RestapiErrorResponseV1
type AddFriendsWithoutConfirmationForbidden ¶
type AddFriendsWithoutConfirmationForbidden struct {
Payload *lobbyclientmodels.RestapiErrorResponseV1
}
AddFriendsWithoutConfirmationForbidden handles this case with default header values.
Bad request
func NewAddFriendsWithoutConfirmationForbidden ¶
func NewAddFriendsWithoutConfirmationForbidden() *AddFriendsWithoutConfirmationForbidden
NewAddFriendsWithoutConfirmationForbidden creates a AddFriendsWithoutConfirmationForbidden with default headers values
func (*AddFriendsWithoutConfirmationForbidden) Error ¶
func (o *AddFriendsWithoutConfirmationForbidden) Error() string
func (*AddFriendsWithoutConfirmationForbidden) GetPayload ¶
func (o *AddFriendsWithoutConfirmationForbidden) GetPayload() *lobbyclientmodels.RestapiErrorResponseV1
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 (o *AddFriendsWithoutConfirmationInternalServerError) Error() string
func (*AddFriendsWithoutConfirmationInternalServerError) GetPayload ¶
func (o *AddFriendsWithoutConfirmationInternalServerError) GetPayload() *lobbyclientmodels.RestapiErrorResponseV1
type AddFriendsWithoutConfirmationNoContent ¶
type AddFriendsWithoutConfirmationNoContent struct { }
AddFriendsWithoutConfirmationNoContent handles this case with default header values.
Friend added successfully
func NewAddFriendsWithoutConfirmationNoContent ¶
func NewAddFriendsWithoutConfirmationNoContent() *AddFriendsWithoutConfirmationNoContent
NewAddFriendsWithoutConfirmationNoContent creates a AddFriendsWithoutConfirmationNoContent with default headers values
func (*AddFriendsWithoutConfirmationNoContent) Error ¶
func (o *AddFriendsWithoutConfirmationNoContent) Error() string
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 ¶
func (o *AddFriendsWithoutConfirmationParams) SetBody(body *lobbyclientmodels.ModelBulkAddFriendsRequest)
SetBody adds the body to the add friends without confirmation params
func (*AddFriendsWithoutConfirmationParams) SetContext ¶
func (o *AddFriendsWithoutConfirmationParams) SetContext(ctx context.Context)
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 ¶
func (o *AddFriendsWithoutConfirmationParams) WithBody(body *lobbyclientmodels.ModelBulkAddFriendsRequest) *AddFriendsWithoutConfirmationParams
WithBody adds the body to the add friends without confirmation params
func (*AddFriendsWithoutConfirmationParams) WithContext ¶
func (o *AddFriendsWithoutConfirmationParams) WithContext(ctx context.Context) *AddFriendsWithoutConfirmationParams
WithContext adds the context to the add friends without confirmation params
func (*AddFriendsWithoutConfirmationParams) WithHTTPClient ¶
func (o *AddFriendsWithoutConfirmationParams) WithHTTPClient(client *http.Client) *AddFriendsWithoutConfirmationParams
WithHTTPClient adds the HTTPClient to the add friends without confirmation params
func (*AddFriendsWithoutConfirmationParams) WithNamespace ¶
func (o *AddFriendsWithoutConfirmationParams) WithNamespace(namespace string) *AddFriendsWithoutConfirmationParams
WithNamespace adds the namespace to the add friends without confirmation params
func (*AddFriendsWithoutConfirmationParams) WithTimeout ¶
func (o *AddFriendsWithoutConfirmationParams) WithTimeout(timeout time.Duration) *AddFriendsWithoutConfirmationParams
WithTimeout adds the timeout to the add friends without confirmation params
func (*AddFriendsWithoutConfirmationParams) WithUserID ¶
func (o *AddFriendsWithoutConfirmationParams) WithUserID(userID string) *AddFriendsWithoutConfirmationParams
WithUserID adds the userID to the add friends without confirmation params
func (*AddFriendsWithoutConfirmationParams) WriteToRequest ¶
func (o *AddFriendsWithoutConfirmationParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 {
}AddFriendsWithoutConfirmationUnauthorized handles this case with default header values.
Forbidden
func NewAddFriendsWithoutConfirmationUnauthorized ¶
func NewAddFriendsWithoutConfirmationUnauthorized() *AddFriendsWithoutConfirmationUnauthorized
NewAddFriendsWithoutConfirmationUnauthorized creates a AddFriendsWithoutConfirmationUnauthorized with default headers values
func (*AddFriendsWithoutConfirmationUnauthorized) Error ¶
func (o *AddFriendsWithoutConfirmationUnauthorized) Error() string
func (*AddFriendsWithoutConfirmationUnauthorized) GetPayload ¶
func (o *AddFriendsWithoutConfirmationUnauthorized) GetPayload() *lobbyclientmodels.RestapiErrorResponseV1
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client for friends API
func (*Client) AddFriendsWithoutConfirmation ¶
func (a *Client) AddFriendsWithoutConfirmation(params *AddFriendsWithoutConfirmationParams, authInfo runtime.ClientAuthInfoWriter) (*AddFriendsWithoutConfirmationNoContent, *AddFriendsWithoutConfirmationBadRequest, *AddFriendsWithoutConfirmationUnauthorized, *AddFriendsWithoutConfirmationForbidden, *AddFriendsWithoutConfirmationInternalServerError, error)
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 ¶
func (a *Client) GetListOfFriends(params *GetListOfFriendsParams, authInfo runtime.ClientAuthInfoWriter) (*GetListOfFriendsOK, *GetListOfFriendsBadRequest, *GetListOfFriendsUnauthorized, *GetListOfFriendsForbidden, *GetListOfFriendsInternalServerError, error)
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) 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 (o *GetListOfFriendsBadRequest) Error() string
func (*GetListOfFriendsBadRequest) GetPayload ¶
func (o *GetListOfFriendsBadRequest) GetPayload() *lobbyclientmodels.RestapiErrorResponseBody
type GetListOfFriendsForbidden ¶
type GetListOfFriendsForbidden struct {
Payload *lobbyclientmodels.RestapiErrorResponseBody
}
GetListOfFriendsForbidden handles this case with default header values.
Bad request
func NewGetListOfFriendsForbidden ¶
func NewGetListOfFriendsForbidden() *GetListOfFriendsForbidden
NewGetListOfFriendsForbidden creates a GetListOfFriendsForbidden with default headers values
func (*GetListOfFriendsForbidden) Error ¶
func (o *GetListOfFriendsForbidden) Error() string
func (*GetListOfFriendsForbidden) GetPayload ¶
func (o *GetListOfFriendsForbidden) GetPayload() *lobbyclientmodels.RestapiErrorResponseBody
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 (o *GetListOfFriendsInternalServerError) Error() string
func (*GetListOfFriendsInternalServerError) GetPayload ¶
func (o *GetListOfFriendsInternalServerError) GetPayload() *lobbyclientmodels.RestapiErrorResponseBody
type GetListOfFriendsOK ¶
type GetListOfFriendsOK struct {
Payload *lobbyclientmodels.ModelGetFriendsResponse
}
GetListOfFriendsOK handles this case with default header values.
Friends retrieved successfully
func NewGetListOfFriendsOK ¶
func NewGetListOfFriendsOK() *GetListOfFriendsOK
NewGetListOfFriendsOK creates a GetListOfFriendsOK with default headers values
func (*GetListOfFriendsOK) Error ¶
func (o *GetListOfFriendsOK) Error() string
func (*GetListOfFriendsOK) GetPayload ¶
func (o *GetListOfFriendsOK) GetPayload() *lobbyclientmodels.ModelGetFriendsResponse
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 ¶
func (o *GetListOfFriendsParams) WithContext(ctx context.Context) *GetListOfFriendsParams
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 ¶
func (o *GetListOfFriendsParams) WithLimit(limit *string) *GetListOfFriendsParams
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 ¶
func (o *GetListOfFriendsParams) WithTimeout(timeout time.Duration) *GetListOfFriendsParams
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 ¶
func (o *GetListOfFriendsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 {
}GetListOfFriendsUnauthorized handles this case with default header values.
Forbidden
func NewGetListOfFriendsUnauthorized ¶
func NewGetListOfFriendsUnauthorized() *GetListOfFriendsUnauthorized
NewGetListOfFriendsUnauthorized creates a GetListOfFriendsUnauthorized with default headers values
func (*GetListOfFriendsUnauthorized) Error ¶
func (o *GetListOfFriendsUnauthorized) Error() string
func (*GetListOfFriendsUnauthorized) GetPayload ¶
func (o *GetListOfFriendsUnauthorized) GetPayload() *lobbyclientmodels.RestapiErrorResponseBody