Documentation
¶
Index ¶
- type Client
- type ClientService
- type SyncNativeBlockedUserBadRequest
- type SyncNativeBlockedUserForbidden
- type SyncNativeBlockedUserInternalServerError
- type SyncNativeBlockedUserOK
- type SyncNativeBlockedUserParams
- func NewSyncNativeBlockedUserParams() *SyncNativeBlockedUserParams
- func NewSyncNativeBlockedUserParamsWithContext(ctx context.Context) *SyncNativeBlockedUserParams
- func NewSyncNativeBlockedUserParamsWithHTTPClient(client *http.Client) *SyncNativeBlockedUserParams
- func NewSyncNativeBlockedUserParamsWithTimeout(timeout time.Duration) *SyncNativeBlockedUserParams
- func (o *SyncNativeBlockedUserParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
- func (o *SyncNativeBlockedUserParams) SetBody(body []*lobbyclientmodels.ModelNativeUserBlockRequest)
- func (o *SyncNativeBlockedUserParams) SetContext(ctx context.Context)
- func (o *SyncNativeBlockedUserParams) SetFlightId(flightId string)
- func (o *SyncNativeBlockedUserParams) SetHTTPClient(client *http.Client)
- func (o *SyncNativeBlockedUserParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
- func (o *SyncNativeBlockedUserParams) SetNamespace(namespace string)
- func (o *SyncNativeBlockedUserParams) SetTimeout(timeout time.Duration)
- func (o *SyncNativeBlockedUserParams) WithBody(body []*lobbyclientmodels.ModelNativeUserBlockRequest) *SyncNativeBlockedUserParams
- func (o *SyncNativeBlockedUserParams) WithContext(ctx context.Context) *SyncNativeBlockedUserParams
- func (o *SyncNativeBlockedUserParams) WithHTTPClient(client *http.Client) *SyncNativeBlockedUserParams
- func (o *SyncNativeBlockedUserParams) WithNamespace(namespace string) *SyncNativeBlockedUserParams
- func (o *SyncNativeBlockedUserParams) WithTimeout(timeout time.Duration) *SyncNativeBlockedUserParams
- func (o *SyncNativeBlockedUserParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type SyncNativeBlockedUserReader
- type SyncNativeBlockedUserResponse
- type SyncNativeBlockedUserUnauthorized
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client for blocks API
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
func (*Client) SyncNativeBlockedUserShort ¶
func (a *Client) SyncNativeBlockedUserShort(params *SyncNativeBlockedUserParams, authInfo runtime.ClientAuthInfoWriter) (*SyncNativeBlockedUserResponse, error)
SyncNativeBlockedUserShort sync blocked user using server to server call to native first party server. Sync blocked user using server to server call to native first party server. Supported platforms: ps5, ps4 and pspc : the default environment would be sp-int, can be override using psnEnv. psnEnv consist of sp-int (default), prod-qa, np
type ClientService ¶
type ClientService interface {
SyncNativeBlockedUserShort(params *SyncNativeBlockedUserParams, authInfo runtime.ClientAuthInfoWriter) (*SyncNativeBlockedUserResponse, 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 blocks API client.
type SyncNativeBlockedUserBadRequest ¶
type SyncNativeBlockedUserBadRequest struct {
Payload *lobbyclientmodels.RestapiErrorResponseV1
}
SyncNativeBlockedUserBadRequest handles this case with default header values.
Bad Request
func NewSyncNativeBlockedUserBadRequest ¶
func NewSyncNativeBlockedUserBadRequest() *SyncNativeBlockedUserBadRequest
NewSyncNativeBlockedUserBadRequest creates a SyncNativeBlockedUserBadRequest with default headers values
func (*SyncNativeBlockedUserBadRequest) Error ¶
func (o *SyncNativeBlockedUserBadRequest) Error() string
func (*SyncNativeBlockedUserBadRequest) GetPayload ¶
func (o *SyncNativeBlockedUserBadRequest) GetPayload() *lobbyclientmodels.RestapiErrorResponseV1
func (*SyncNativeBlockedUserBadRequest) ToJSONString ¶
func (o *SyncNativeBlockedUserBadRequest) ToJSONString() string
type SyncNativeBlockedUserForbidden ¶
type SyncNativeBlockedUserForbidden struct {
Payload *lobbyclientmodels.RestapiErrorResponseV1
}
SyncNativeBlockedUserForbidden handles this case with default header values.
Forbidden
func NewSyncNativeBlockedUserForbidden ¶
func NewSyncNativeBlockedUserForbidden() *SyncNativeBlockedUserForbidden
NewSyncNativeBlockedUserForbidden creates a SyncNativeBlockedUserForbidden with default headers values
func (*SyncNativeBlockedUserForbidden) Error ¶
func (o *SyncNativeBlockedUserForbidden) Error() string
func (*SyncNativeBlockedUserForbidden) GetPayload ¶
func (o *SyncNativeBlockedUserForbidden) GetPayload() *lobbyclientmodels.RestapiErrorResponseV1
func (*SyncNativeBlockedUserForbidden) ToJSONString ¶
func (o *SyncNativeBlockedUserForbidden) ToJSONString() string
type SyncNativeBlockedUserInternalServerError ¶
type SyncNativeBlockedUserInternalServerError struct {
Payload *lobbyclientmodels.RestapiErrorResponseV1
}
SyncNativeBlockedUserInternalServerError handles this case with default header values.
Internal Server Error
func NewSyncNativeBlockedUserInternalServerError ¶
func NewSyncNativeBlockedUserInternalServerError() *SyncNativeBlockedUserInternalServerError
NewSyncNativeBlockedUserInternalServerError creates a SyncNativeBlockedUserInternalServerError with default headers values
func (*SyncNativeBlockedUserInternalServerError) Error ¶
func (o *SyncNativeBlockedUserInternalServerError) Error() string
func (*SyncNativeBlockedUserInternalServerError) GetPayload ¶
func (o *SyncNativeBlockedUserInternalServerError) GetPayload() *lobbyclientmodels.RestapiErrorResponseV1
func (*SyncNativeBlockedUserInternalServerError) ToJSONString ¶
func (o *SyncNativeBlockedUserInternalServerError) ToJSONString() string
type SyncNativeBlockedUserOK ¶
type SyncNativeBlockedUserOK struct {
Payload []*lobbyclientmodels.ModelNativeUserBlockResponse
}
SyncNativeBlockedUserOK handles this case with default header values.
func NewSyncNativeBlockedUserOK ¶
func NewSyncNativeBlockedUserOK() *SyncNativeBlockedUserOK
NewSyncNativeBlockedUserOK creates a SyncNativeBlockedUserOK with default headers values
func (*SyncNativeBlockedUserOK) Error ¶
func (o *SyncNativeBlockedUserOK) Error() string
func (*SyncNativeBlockedUserOK) GetPayload ¶
func (o *SyncNativeBlockedUserOK) GetPayload() []*lobbyclientmodels.ModelNativeUserBlockResponse
func (*SyncNativeBlockedUserOK) ToJSONString ¶
func (o *SyncNativeBlockedUserOK) ToJSONString() string
type SyncNativeBlockedUserParams ¶
type SyncNativeBlockedUserParams struct {
/*RetryPolicy*/
RetryPolicy *utils.Retry
/*Body*/
Body []*lobbyclientmodels.ModelNativeUserBlockRequest
/*Namespace
namespace
*/
Namespace string
AuthInfoWriter runtime.ClientAuthInfoWriter
Context context.Context
HTTPClient *http.Client
// XFlightId is an optional parameter from this SDK
XFlightId *string
// contains filtered or unexported fields
}
SyncNativeBlockedUserParams contains all the parameters to send to the API endpoint for the sync native blocked user operation typically these are written to a http.Request
func NewSyncNativeBlockedUserParams ¶
func NewSyncNativeBlockedUserParams() *SyncNativeBlockedUserParams
NewSyncNativeBlockedUserParams creates a new SyncNativeBlockedUserParams object with the default values initialized.
func NewSyncNativeBlockedUserParamsWithContext ¶
func NewSyncNativeBlockedUserParamsWithContext(ctx context.Context) *SyncNativeBlockedUserParams
NewSyncNativeBlockedUserParamsWithContext creates a new SyncNativeBlockedUserParams object with the default values initialized, and the ability to set a context for a request
func NewSyncNativeBlockedUserParamsWithHTTPClient ¶
func NewSyncNativeBlockedUserParamsWithHTTPClient(client *http.Client) *SyncNativeBlockedUserParams
NewSyncNativeBlockedUserParamsWithHTTPClient creates a new SyncNativeBlockedUserParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewSyncNativeBlockedUserParamsWithTimeout ¶
func NewSyncNativeBlockedUserParamsWithTimeout(timeout time.Duration) *SyncNativeBlockedUserParams
NewSyncNativeBlockedUserParamsWithTimeout creates a new SyncNativeBlockedUserParams object with the default values initialized, and the ability to set a timeout on a request
func (*SyncNativeBlockedUserParams) SetAuthInfoWriter ¶
func (o *SyncNativeBlockedUserParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
SetAuthInfoWriter adds the authInfoWriter to the sync native blocked user params
func (*SyncNativeBlockedUserParams) SetBody ¶
func (o *SyncNativeBlockedUserParams) SetBody(body []*lobbyclientmodels.ModelNativeUserBlockRequest)
SetBody adds the body to the sync native blocked user params
func (*SyncNativeBlockedUserParams) SetContext ¶
func (o *SyncNativeBlockedUserParams) SetContext(ctx context.Context)
SetContext adds the context to the sync native blocked user params
func (*SyncNativeBlockedUserParams) SetFlightId ¶
func (o *SyncNativeBlockedUserParams) SetFlightId(flightId string)
SetFlightId adds the flightId as the header value for this specific endpoint
func (*SyncNativeBlockedUserParams) SetHTTPClient ¶
func (o *SyncNativeBlockedUserParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the sync native blocked user params
func (*SyncNativeBlockedUserParams) SetHTTPClientTransport ¶
func (o *SyncNativeBlockedUserParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
SetHTTPClient adds the HTTPClient Transport to the sync native blocked user params
func (*SyncNativeBlockedUserParams) SetNamespace ¶
func (o *SyncNativeBlockedUserParams) SetNamespace(namespace string)
SetNamespace adds the namespace to the sync native blocked user params
func (*SyncNativeBlockedUserParams) SetTimeout ¶
func (o *SyncNativeBlockedUserParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the sync native blocked user params
func (*SyncNativeBlockedUserParams) WithBody ¶
func (o *SyncNativeBlockedUserParams) WithBody(body []*lobbyclientmodels.ModelNativeUserBlockRequest) *SyncNativeBlockedUserParams
WithBody adds the body to the sync native blocked user params
func (*SyncNativeBlockedUserParams) WithContext ¶
func (o *SyncNativeBlockedUserParams) WithContext(ctx context.Context) *SyncNativeBlockedUserParams
WithContext adds the context to the sync native blocked user params
func (*SyncNativeBlockedUserParams) WithHTTPClient ¶
func (o *SyncNativeBlockedUserParams) WithHTTPClient(client *http.Client) *SyncNativeBlockedUserParams
WithHTTPClient adds the HTTPClient to the sync native blocked user params
func (*SyncNativeBlockedUserParams) WithNamespace ¶
func (o *SyncNativeBlockedUserParams) WithNamespace(namespace string) *SyncNativeBlockedUserParams
WithNamespace adds the namespace to the sync native blocked user params
func (*SyncNativeBlockedUserParams) WithTimeout ¶
func (o *SyncNativeBlockedUserParams) WithTimeout(timeout time.Duration) *SyncNativeBlockedUserParams
WithTimeout adds the timeout to the sync native blocked user params
func (*SyncNativeBlockedUserParams) WriteToRequest ¶
func (o *SyncNativeBlockedUserParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type SyncNativeBlockedUserReader ¶
type SyncNativeBlockedUserReader struct {
// contains filtered or unexported fields
}
SyncNativeBlockedUserReader is a Reader for the SyncNativeBlockedUser structure.
func (*SyncNativeBlockedUserReader) ReadResponse ¶
func (o *SyncNativeBlockedUserReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type SyncNativeBlockedUserResponse ¶
type SyncNativeBlockedUserResponse struct {
lobbyclientmodels.ApiResponse
Data []*lobbyclientmodels.ModelNativeUserBlockResponse
Error400 *lobbyclientmodels.RestapiErrorResponseV1
Error401 *lobbyclientmodels.RestapiErrorResponseV1
Error403 *lobbyclientmodels.RestapiErrorResponseV1
Error500 *lobbyclientmodels.RestapiErrorResponseV1
}
func (*SyncNativeBlockedUserResponse) Unpack ¶
func (m *SyncNativeBlockedUserResponse) Unpack() ([]*lobbyclientmodels.ModelNativeUserBlockResponse, *lobbyclientmodels.ApiError)
type SyncNativeBlockedUserUnauthorized ¶
type SyncNativeBlockedUserUnauthorized struct {
}
SyncNativeBlockedUserUnauthorized handles this case with default header values.
Unauthorized
func NewSyncNativeBlockedUserUnauthorized ¶
func NewSyncNativeBlockedUserUnauthorized() *SyncNativeBlockedUserUnauthorized
NewSyncNativeBlockedUserUnauthorized creates a SyncNativeBlockedUserUnauthorized with default headers values
func (*SyncNativeBlockedUserUnauthorized) Error ¶
func (o *SyncNativeBlockedUserUnauthorized) Error() string
func (*SyncNativeBlockedUserUnauthorized) GetPayload ¶
func (o *SyncNativeBlockedUserUnauthorized) GetPayload() *lobbyclientmodels.RestapiErrorResponseV1
func (*SyncNativeBlockedUserUnauthorized) ToJSONString ¶
func (o *SyncNativeBlockedUserUnauthorized) ToJSONString() string