blocks

package
v0.75.0 Latest Latest
Warning

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

Go to latest
Published: Nov 22, 2024 License: MIT Imports: 15 Imported by: 0

Documentation

Index

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) SyncNativeBlockedUser deprecated

Deprecated: 2022-08-10 - Use SyncNativeBlockedUserShort instead.

SyncNativeBlockedUser 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

func (*Client) SyncNativeBlockedUserShort

func (a *Client) SyncNativeBlockedUserShort(params *SyncNativeBlockedUserParams, authInfo runtime.ClientAuthInfoWriter) (*SyncNativeBlockedUserOK, 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

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

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

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

func (*SyncNativeBlockedUserInternalServerError) ToJSONString

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 (*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

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

WithBody adds the body to the sync native blocked user params

func (*SyncNativeBlockedUserParams) WithContext

WithContext adds the context to the sync native blocked user params

func (*SyncNativeBlockedUserParams) WithHTTPClient

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

WithTimeout adds the timeout to the sync native blocked user params

func (*SyncNativeBlockedUserParams) WriteToRequest

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 SyncNativeBlockedUserUnauthorized

type SyncNativeBlockedUserUnauthorized struct {
	Payload *lobbyclientmodels.RestapiErrorResponseV1
}

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

func (*SyncNativeBlockedUserUnauthorized) ToJSONString

func (o *SyncNativeBlockedUserUnauthorized) ToJSONString() string

Jump to

Keyboard shortcuts

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