async_messaging

package
v0.85.0 Latest Latest
Warning

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

Go to latest
Published: Dec 4, 2025 License: MIT Imports: 16 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 async messaging API

func (*Client) CreateSubscriptionHandler deprecated

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

CreateSubscriptionHandler subscribe to topic Required permission : `ADMIN:NAMESPACE:{namespace}:EXTEND:ASYNCMESSAGING:SUBSCRIPTIONS [CREATE]`

Subscribe App queue to given Topic name list inside a game namespace.

func (*Client) CreateSubscriptionHandlerShort

func (a *Client) CreateSubscriptionHandlerShort(params *CreateSubscriptionHandlerParams, authInfo runtime.ClientAuthInfoWriter) (*CreateSubscriptionHandlerOK, error)

CreateSubscriptionHandlerShort subscribe to topic Required permission : `ADMIN:NAMESPACE:{namespace}:EXTEND:ASYNCMESSAGING:SUBSCRIPTIONS [CREATE]`

Subscribe App queue to given Topic name list inside a game namespace.

func (*Client) CreateTopicHandler deprecated

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

CreateTopicHandler create async messaging topic Required permission : `ADMIN:NAMESPACE:{namespace}:EXTEND:ASYNCMESSAGING:TOPICS [CREATE]`

Create New Async Messaging Topic, the topic name is unique inside a game namespace.

func (*Client) CreateTopicHandlerShort

func (a *Client) CreateTopicHandlerShort(params *CreateTopicHandlerParams, authInfo runtime.ClientAuthInfoWriter) (*CreateTopicHandlerOK, error)

CreateTopicHandlerShort create async messaging topic Required permission : `ADMIN:NAMESPACE:{namespace}:EXTEND:ASYNCMESSAGING:TOPICS [CREATE]`

Create New Async Messaging Topic, the topic name is unique inside a game namespace.

func (*Client) DeleteTopicHandler deprecated

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

DeleteTopicHandler delete async messaging topic Required permission : `ADMIN:NAMESPACE:{namespace}:EXTEND:ASYNCMESSAGING:TOPICS [DELETE]`

Delete Async Messaging Topic inside a game namespace given its topic name.

func (*Client) DeleteTopicHandlerShort

func (a *Client) DeleteTopicHandlerShort(params *DeleteTopicHandlerParams, authInfo runtime.ClientAuthInfoWriter) (*DeleteTopicHandlerOK, error)

DeleteTopicHandlerShort delete async messaging topic Required permission : `ADMIN:NAMESPACE:{namespace}:EXTEND:ASYNCMESSAGING:TOPICS [DELETE]`

Delete Async Messaging Topic inside a game namespace given its topic name.

func (*Client) ListTopicsHandler deprecated

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

ListTopicsHandler list async messaging topics Required permission : `ADMIN:NAMESPACE:{namespace}:EXTEND:ASYNCMESSAGING:TOPICS [READ]`

List all Async Messaging Topics inside a game namespace.

func (*Client) ListTopicsHandlerShort

func (a *Client) ListTopicsHandlerShort(params *ListTopicsHandlerParams, authInfo runtime.ClientAuthInfoWriter) (*ListTopicsHandlerOK, error)

ListTopicsHandlerShort list async messaging topics Required permission : `ADMIN:NAMESPACE:{namespace}:EXTEND:ASYNCMESSAGING:TOPICS [READ]`

List all Async Messaging Topics inside a game namespace.

func (*Client) SetTransport

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

SetTransport changes the transport on the client

func (*Client) UnsubscribeTopicHandler deprecated

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

UnsubscribeTopicHandler unsubscribe from topic Required permission : `ADMIN:NAMESPACE:{namespace}:EXTEND:ASYNCMESSAGING:SUBSCRIPTIONS [DELETE]`

Unsubscribe App queue from a topic by Topic Name.

func (*Client) UnsubscribeTopicHandlerShort

func (a *Client) UnsubscribeTopicHandlerShort(params *UnsubscribeTopicHandlerParams, authInfo runtime.ClientAuthInfoWriter) (*UnsubscribeTopicHandlerOK, error)

UnsubscribeTopicHandlerShort unsubscribe from topic Required permission : `ADMIN:NAMESPACE:{namespace}:EXTEND:ASYNCMESSAGING:SUBSCRIPTIONS [DELETE]`

Unsubscribe App queue from a topic by Topic Name.

type ClientService

type ClientService interface {
	CreateSubscriptionHandler(params *CreateSubscriptionHandlerParams, authInfo runtime.ClientAuthInfoWriter) (*CreateSubscriptionHandlerOK, *CreateSubscriptionHandlerBadRequest, *CreateSubscriptionHandlerUnauthorized, *CreateSubscriptionHandlerForbidden, *CreateSubscriptionHandlerNotFound, *CreateSubscriptionHandlerInternalServerError, error)
	CreateSubscriptionHandlerShort(params *CreateSubscriptionHandlerParams, authInfo runtime.ClientAuthInfoWriter) (*CreateSubscriptionHandlerOK, error)
	UnsubscribeTopicHandler(params *UnsubscribeTopicHandlerParams, authInfo runtime.ClientAuthInfoWriter) (*UnsubscribeTopicHandlerOK, *UnsubscribeTopicHandlerUnauthorized, *UnsubscribeTopicHandlerForbidden, *UnsubscribeTopicHandlerNotFound, *UnsubscribeTopicHandlerInternalServerError, error)
	UnsubscribeTopicHandlerShort(params *UnsubscribeTopicHandlerParams, authInfo runtime.ClientAuthInfoWriter) (*UnsubscribeTopicHandlerOK, error)
	ListTopicsHandler(params *ListTopicsHandlerParams, authInfo runtime.ClientAuthInfoWriter) (*ListTopicsHandlerOK, *ListTopicsHandlerBadRequest, *ListTopicsHandlerUnauthorized, *ListTopicsHandlerForbidden, *ListTopicsHandlerInternalServerError, error)
	ListTopicsHandlerShort(params *ListTopicsHandlerParams, authInfo runtime.ClientAuthInfoWriter) (*ListTopicsHandlerOK, error)
	CreateTopicHandler(params *CreateTopicHandlerParams, authInfo runtime.ClientAuthInfoWriter) (*CreateTopicHandlerOK, *CreateTopicHandlerBadRequest, *CreateTopicHandlerUnauthorized, *CreateTopicHandlerForbidden, *CreateTopicHandlerConflict, *CreateTopicHandlerInternalServerError, error)
	CreateTopicHandlerShort(params *CreateTopicHandlerParams, authInfo runtime.ClientAuthInfoWriter) (*CreateTopicHandlerOK, error)
	DeleteTopicHandler(params *DeleteTopicHandlerParams, authInfo runtime.ClientAuthInfoWriter) (*DeleteTopicHandlerOK, *DeleteTopicHandlerUnauthorized, *DeleteTopicHandlerForbidden, *DeleteTopicHandlerNotFound, *DeleteTopicHandlerInternalServerError, error)
	DeleteTopicHandlerShort(params *DeleteTopicHandlerParams, authInfo runtime.ClientAuthInfoWriter) (*DeleteTopicHandlerOK, 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 async messaging API client.

type CreateSubscriptionHandlerBadRequest

type CreateSubscriptionHandlerBadRequest struct {
	Payload *csmclientmodels.ResponseErrorResponse
}

CreateSubscriptionHandlerBadRequest handles this case with default header values.

Bad Request

func NewCreateSubscriptionHandlerBadRequest

func NewCreateSubscriptionHandlerBadRequest() *CreateSubscriptionHandlerBadRequest

NewCreateSubscriptionHandlerBadRequest creates a CreateSubscriptionHandlerBadRequest with default headers values

func (*CreateSubscriptionHandlerBadRequest) Error

func (*CreateSubscriptionHandlerBadRequest) GetPayload

func (*CreateSubscriptionHandlerBadRequest) ToJSONString

func (o *CreateSubscriptionHandlerBadRequest) ToJSONString() string

type CreateSubscriptionHandlerForbidden

type CreateSubscriptionHandlerForbidden struct {
	Payload *csmclientmodels.ResponseErrorResponse
}

CreateSubscriptionHandlerForbidden handles this case with default header values.

Forbidden

func NewCreateSubscriptionHandlerForbidden

func NewCreateSubscriptionHandlerForbidden() *CreateSubscriptionHandlerForbidden

NewCreateSubscriptionHandlerForbidden creates a CreateSubscriptionHandlerForbidden with default headers values

func (*CreateSubscriptionHandlerForbidden) Error

func (*CreateSubscriptionHandlerForbidden) GetPayload

func (*CreateSubscriptionHandlerForbidden) ToJSONString

func (o *CreateSubscriptionHandlerForbidden) ToJSONString() string

type CreateSubscriptionHandlerInternalServerError

type CreateSubscriptionHandlerInternalServerError struct {
	Payload *csmclientmodels.ResponseErrorResponse
}

CreateSubscriptionHandlerInternalServerError handles this case with default header values.

Internal Server Error

func NewCreateSubscriptionHandlerInternalServerError

func NewCreateSubscriptionHandlerInternalServerError() *CreateSubscriptionHandlerInternalServerError

NewCreateSubscriptionHandlerInternalServerError creates a CreateSubscriptionHandlerInternalServerError with default headers values

func (*CreateSubscriptionHandlerInternalServerError) Error

func (*CreateSubscriptionHandlerInternalServerError) GetPayload

func (*CreateSubscriptionHandlerInternalServerError) ToJSONString

type CreateSubscriptionHandlerNotFound

type CreateSubscriptionHandlerNotFound struct {
	Payload *csmclientmodels.ResponseErrorResponse
}

CreateSubscriptionHandlerNotFound handles this case with default header values.

Not Found

func NewCreateSubscriptionHandlerNotFound

func NewCreateSubscriptionHandlerNotFound() *CreateSubscriptionHandlerNotFound

NewCreateSubscriptionHandlerNotFound creates a CreateSubscriptionHandlerNotFound with default headers values

func (*CreateSubscriptionHandlerNotFound) Error

func (*CreateSubscriptionHandlerNotFound) GetPayload

func (*CreateSubscriptionHandlerNotFound) ToJSONString

func (o *CreateSubscriptionHandlerNotFound) ToJSONString() string

type CreateSubscriptionHandlerOK

type CreateSubscriptionHandlerOK struct {
	Payload *csmclientmodels.ApimodelCreateSubscriptionResponse
}

CreateSubscriptionHandlerOK handles this case with default header values.

OK

func NewCreateSubscriptionHandlerOK

func NewCreateSubscriptionHandlerOK() *CreateSubscriptionHandlerOK

NewCreateSubscriptionHandlerOK creates a CreateSubscriptionHandlerOK with default headers values

func (*CreateSubscriptionHandlerOK) Error

func (*CreateSubscriptionHandlerOK) GetPayload

func (*CreateSubscriptionHandlerOK) ToJSONString

func (o *CreateSubscriptionHandlerOK) ToJSONString() string

type CreateSubscriptionHandlerParams

type CreateSubscriptionHandlerParams struct {

	/*RetryPolicy*/
	RetryPolicy *utils.Retry
	/*Body*/
	Body *csmclientmodels.ApimodelCreateSubscriptionRequest
	/*App
	  App Name

	*/
	App string
	/*Namespace
	  Game Name

	*/
	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
}

CreateSubscriptionHandlerParams contains all the parameters to send to the API endpoint for the create subscription handler operation typically these are written to a http.Request

func NewCreateSubscriptionHandlerParams

func NewCreateSubscriptionHandlerParams() *CreateSubscriptionHandlerParams

NewCreateSubscriptionHandlerParams creates a new CreateSubscriptionHandlerParams object with the default values initialized.

func NewCreateSubscriptionHandlerParamsWithContext

func NewCreateSubscriptionHandlerParamsWithContext(ctx context.Context) *CreateSubscriptionHandlerParams

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

func NewCreateSubscriptionHandlerParamsWithHTTPClient

func NewCreateSubscriptionHandlerParamsWithHTTPClient(client *http.Client) *CreateSubscriptionHandlerParams

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

func NewCreateSubscriptionHandlerParamsWithTimeout

func NewCreateSubscriptionHandlerParamsWithTimeout(timeout time.Duration) *CreateSubscriptionHandlerParams

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

func (*CreateSubscriptionHandlerParams) SetApp

func (o *CreateSubscriptionHandlerParams) SetApp(app string)

SetApp adds the app to the create subscription handler params

func (*CreateSubscriptionHandlerParams) SetAuthInfoWriter

func (o *CreateSubscriptionHandlerParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)

SetAuthInfoWriter adds the authInfoWriter to the create subscription handler params

func (*CreateSubscriptionHandlerParams) SetBody

SetBody adds the body to the create subscription handler params

func (*CreateSubscriptionHandlerParams) SetContext

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

SetContext adds the context to the create subscription handler params

func (*CreateSubscriptionHandlerParams) SetFlightId

func (o *CreateSubscriptionHandlerParams) SetFlightId(flightId string)

SetFlightId adds the flightId as the header value for this specific endpoint

func (*CreateSubscriptionHandlerParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the create subscription handler params

func (*CreateSubscriptionHandlerParams) SetHTTPClientTransport

func (o *CreateSubscriptionHandlerParams) SetHTTPClientTransport(roundTripper http.RoundTripper)

SetHTTPClient adds the HTTPClient Transport to the create subscription handler params

func (*CreateSubscriptionHandlerParams) SetNamespace

func (o *CreateSubscriptionHandlerParams) SetNamespace(namespace string)

SetNamespace adds the namespace to the create subscription handler params

func (*CreateSubscriptionHandlerParams) SetTimeout

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

SetTimeout adds the timeout to the create subscription handler params

func (*CreateSubscriptionHandlerParams) WithApp

WithApp adds the app to the create subscription handler params

func (*CreateSubscriptionHandlerParams) WithBody

WithBody adds the body to the create subscription handler params

func (*CreateSubscriptionHandlerParams) WithContext

WithContext adds the context to the create subscription handler params

func (*CreateSubscriptionHandlerParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the create subscription handler params

func (*CreateSubscriptionHandlerParams) WithNamespace

WithNamespace adds the namespace to the create subscription handler params

func (*CreateSubscriptionHandlerParams) WithTimeout

WithTimeout adds the timeout to the create subscription handler params

func (*CreateSubscriptionHandlerParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type CreateSubscriptionHandlerReader

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

CreateSubscriptionHandlerReader is a Reader for the CreateSubscriptionHandler structure.

func (*CreateSubscriptionHandlerReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type CreateSubscriptionHandlerUnauthorized

type CreateSubscriptionHandlerUnauthorized struct {
	Payload *csmclientmodels.ResponseErrorResponse
}

CreateSubscriptionHandlerUnauthorized handles this case with default header values.

Unauthorized

func NewCreateSubscriptionHandlerUnauthorized

func NewCreateSubscriptionHandlerUnauthorized() *CreateSubscriptionHandlerUnauthorized

NewCreateSubscriptionHandlerUnauthorized creates a CreateSubscriptionHandlerUnauthorized with default headers values

func (*CreateSubscriptionHandlerUnauthorized) Error

func (*CreateSubscriptionHandlerUnauthorized) GetPayload

func (*CreateSubscriptionHandlerUnauthorized) ToJSONString

type CreateTopicHandlerBadRequest

type CreateTopicHandlerBadRequest struct {
	Payload *csmclientmodels.ResponseErrorResponse
}

CreateTopicHandlerBadRequest handles this case with default header values.

Bad Request

func NewCreateTopicHandlerBadRequest

func NewCreateTopicHandlerBadRequest() *CreateTopicHandlerBadRequest

NewCreateTopicHandlerBadRequest creates a CreateTopicHandlerBadRequest with default headers values

func (*CreateTopicHandlerBadRequest) Error

func (*CreateTopicHandlerBadRequest) GetPayload

func (*CreateTopicHandlerBadRequest) ToJSONString

func (o *CreateTopicHandlerBadRequest) ToJSONString() string

type CreateTopicHandlerConflict

type CreateTopicHandlerConflict struct {
	Payload *csmclientmodels.ResponseErrorResponse
}

CreateTopicHandlerConflict handles this case with default header values.

Conflict

func NewCreateTopicHandlerConflict

func NewCreateTopicHandlerConflict() *CreateTopicHandlerConflict

NewCreateTopicHandlerConflict creates a CreateTopicHandlerConflict with default headers values

func (*CreateTopicHandlerConflict) Error

func (*CreateTopicHandlerConflict) GetPayload

func (*CreateTopicHandlerConflict) ToJSONString

func (o *CreateTopicHandlerConflict) ToJSONString() string

type CreateTopicHandlerForbidden

type CreateTopicHandlerForbidden struct {
	Payload *csmclientmodels.ResponseErrorResponse
}

CreateTopicHandlerForbidden handles this case with default header values.

Forbidden

func NewCreateTopicHandlerForbidden

func NewCreateTopicHandlerForbidden() *CreateTopicHandlerForbidden

NewCreateTopicHandlerForbidden creates a CreateTopicHandlerForbidden with default headers values

func (*CreateTopicHandlerForbidden) Error

func (*CreateTopicHandlerForbidden) GetPayload

func (*CreateTopicHandlerForbidden) ToJSONString

func (o *CreateTopicHandlerForbidden) ToJSONString() string

type CreateTopicHandlerInternalServerError

type CreateTopicHandlerInternalServerError struct {
	Payload *csmclientmodels.ResponseErrorResponse
}

CreateTopicHandlerInternalServerError handles this case with default header values.

Internal Server Error

func NewCreateTopicHandlerInternalServerError

func NewCreateTopicHandlerInternalServerError() *CreateTopicHandlerInternalServerError

NewCreateTopicHandlerInternalServerError creates a CreateTopicHandlerInternalServerError with default headers values

func (*CreateTopicHandlerInternalServerError) Error

func (*CreateTopicHandlerInternalServerError) GetPayload

func (*CreateTopicHandlerInternalServerError) ToJSONString

type CreateTopicHandlerOK

type CreateTopicHandlerOK struct {
	Payload *csmclientmodels.ApimodelTopicResponse
}

CreateTopicHandlerOK handles this case with default header values.

OK

func NewCreateTopicHandlerOK

func NewCreateTopicHandlerOK() *CreateTopicHandlerOK

NewCreateTopicHandlerOK creates a CreateTopicHandlerOK with default headers values

func (*CreateTopicHandlerOK) Error

func (o *CreateTopicHandlerOK) Error() string

func (*CreateTopicHandlerOK) GetPayload

func (*CreateTopicHandlerOK) ToJSONString

func (o *CreateTopicHandlerOK) ToJSONString() string

type CreateTopicHandlerParams

type CreateTopicHandlerParams struct {

	/*RetryPolicy*/
	RetryPolicy *utils.Retry
	/*Body*/
	Body *csmclientmodels.ApimodelCreateTopicRequest
	/*Namespace
	  Game Name

	*/
	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
}

CreateTopicHandlerParams contains all the parameters to send to the API endpoint for the create topic handler operation typically these are written to a http.Request

func NewCreateTopicHandlerParams

func NewCreateTopicHandlerParams() *CreateTopicHandlerParams

NewCreateTopicHandlerParams creates a new CreateTopicHandlerParams object with the default values initialized.

func NewCreateTopicHandlerParamsWithContext

func NewCreateTopicHandlerParamsWithContext(ctx context.Context) *CreateTopicHandlerParams

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

func NewCreateTopicHandlerParamsWithHTTPClient

func NewCreateTopicHandlerParamsWithHTTPClient(client *http.Client) *CreateTopicHandlerParams

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

func NewCreateTopicHandlerParamsWithTimeout

func NewCreateTopicHandlerParamsWithTimeout(timeout time.Duration) *CreateTopicHandlerParams

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

func (*CreateTopicHandlerParams) SetAuthInfoWriter

func (o *CreateTopicHandlerParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)

SetAuthInfoWriter adds the authInfoWriter to the create topic handler params

func (*CreateTopicHandlerParams) SetBody

SetBody adds the body to the create topic handler params

func (*CreateTopicHandlerParams) SetContext

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

SetContext adds the context to the create topic handler params

func (*CreateTopicHandlerParams) SetFlightId

func (o *CreateTopicHandlerParams) SetFlightId(flightId string)

SetFlightId adds the flightId as the header value for this specific endpoint

func (*CreateTopicHandlerParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the create topic handler params

func (*CreateTopicHandlerParams) SetHTTPClientTransport

func (o *CreateTopicHandlerParams) SetHTTPClientTransport(roundTripper http.RoundTripper)

SetHTTPClient adds the HTTPClient Transport to the create topic handler params

func (*CreateTopicHandlerParams) SetNamespace

func (o *CreateTopicHandlerParams) SetNamespace(namespace string)

SetNamespace adds the namespace to the create topic handler params

func (*CreateTopicHandlerParams) SetTimeout

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

SetTimeout adds the timeout to the create topic handler params

func (*CreateTopicHandlerParams) WithBody

WithBody adds the body to the create topic handler params

func (*CreateTopicHandlerParams) WithContext

WithContext adds the context to the create topic handler params

func (*CreateTopicHandlerParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the create topic handler params

func (*CreateTopicHandlerParams) WithNamespace

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

WithNamespace adds the namespace to the create topic handler params

func (*CreateTopicHandlerParams) WithTimeout

WithTimeout adds the timeout to the create topic handler params

func (*CreateTopicHandlerParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type CreateTopicHandlerReader

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

CreateTopicHandlerReader is a Reader for the CreateTopicHandler structure.

func (*CreateTopicHandlerReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type CreateTopicHandlerUnauthorized

type CreateTopicHandlerUnauthorized struct {
	Payload *csmclientmodels.ResponseErrorResponse
}

CreateTopicHandlerUnauthorized handles this case with default header values.

Unauthorized

func NewCreateTopicHandlerUnauthorized

func NewCreateTopicHandlerUnauthorized() *CreateTopicHandlerUnauthorized

NewCreateTopicHandlerUnauthorized creates a CreateTopicHandlerUnauthorized with default headers values

func (*CreateTopicHandlerUnauthorized) Error

func (*CreateTopicHandlerUnauthorized) GetPayload

func (*CreateTopicHandlerUnauthorized) ToJSONString

func (o *CreateTopicHandlerUnauthorized) ToJSONString() string

type DeleteTopicHandlerForbidden

type DeleteTopicHandlerForbidden struct {
	Payload *csmclientmodels.ResponseErrorResponse
}

DeleteTopicHandlerForbidden handles this case with default header values.

Forbidden

func NewDeleteTopicHandlerForbidden

func NewDeleteTopicHandlerForbidden() *DeleteTopicHandlerForbidden

NewDeleteTopicHandlerForbidden creates a DeleteTopicHandlerForbidden with default headers values

func (*DeleteTopicHandlerForbidden) Error

func (*DeleteTopicHandlerForbidden) GetPayload

func (*DeleteTopicHandlerForbidden) ToJSONString

func (o *DeleteTopicHandlerForbidden) ToJSONString() string

type DeleteTopicHandlerInternalServerError

type DeleteTopicHandlerInternalServerError struct {
	Payload *csmclientmodels.ResponseErrorResponse
}

DeleteTopicHandlerInternalServerError handles this case with default header values.

Internal Server Error

func NewDeleteTopicHandlerInternalServerError

func NewDeleteTopicHandlerInternalServerError() *DeleteTopicHandlerInternalServerError

NewDeleteTopicHandlerInternalServerError creates a DeleteTopicHandlerInternalServerError with default headers values

func (*DeleteTopicHandlerInternalServerError) Error

func (*DeleteTopicHandlerInternalServerError) GetPayload

func (*DeleteTopicHandlerInternalServerError) ToJSONString

type DeleteTopicHandlerNotFound

type DeleteTopicHandlerNotFound struct {
	Payload *csmclientmodels.ResponseErrorResponse
}

DeleteTopicHandlerNotFound handles this case with default header values.

Not Found

func NewDeleteTopicHandlerNotFound

func NewDeleteTopicHandlerNotFound() *DeleteTopicHandlerNotFound

NewDeleteTopicHandlerNotFound creates a DeleteTopicHandlerNotFound with default headers values

func (*DeleteTopicHandlerNotFound) Error

func (*DeleteTopicHandlerNotFound) GetPayload

func (*DeleteTopicHandlerNotFound) ToJSONString

func (o *DeleteTopicHandlerNotFound) ToJSONString() string

type DeleteTopicHandlerOK

type DeleteTopicHandlerOK struct {
	Payload *csmclientmodels.ApimodelTopicResponse
}

DeleteTopicHandlerOK handles this case with default header values.

OK

func NewDeleteTopicHandlerOK

func NewDeleteTopicHandlerOK() *DeleteTopicHandlerOK

NewDeleteTopicHandlerOK creates a DeleteTopicHandlerOK with default headers values

func (*DeleteTopicHandlerOK) Error

func (o *DeleteTopicHandlerOK) Error() string

func (*DeleteTopicHandlerOK) GetPayload

func (*DeleteTopicHandlerOK) ToJSONString

func (o *DeleteTopicHandlerOK) ToJSONString() string

type DeleteTopicHandlerParams

type DeleteTopicHandlerParams struct {

	/*RetryPolicy*/
	RetryPolicy *utils.Retry
	/*Namespace
	  Game Name

	*/
	Namespace string
	/*TopicName
	  Topic Name

	*/
	TopicName 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
}

DeleteTopicHandlerParams contains all the parameters to send to the API endpoint for the delete topic handler operation typically these are written to a http.Request

func NewDeleteTopicHandlerParams

func NewDeleteTopicHandlerParams() *DeleteTopicHandlerParams

NewDeleteTopicHandlerParams creates a new DeleteTopicHandlerParams object with the default values initialized.

func NewDeleteTopicHandlerParamsWithContext

func NewDeleteTopicHandlerParamsWithContext(ctx context.Context) *DeleteTopicHandlerParams

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

func NewDeleteTopicHandlerParamsWithHTTPClient

func NewDeleteTopicHandlerParamsWithHTTPClient(client *http.Client) *DeleteTopicHandlerParams

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

func NewDeleteTopicHandlerParamsWithTimeout

func NewDeleteTopicHandlerParamsWithTimeout(timeout time.Duration) *DeleteTopicHandlerParams

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

func (*DeleteTopicHandlerParams) SetAuthInfoWriter

func (o *DeleteTopicHandlerParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)

SetAuthInfoWriter adds the authInfoWriter to the delete topic handler params

func (*DeleteTopicHandlerParams) SetContext

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

SetContext adds the context to the delete topic handler params

func (*DeleteTopicHandlerParams) SetFlightId

func (o *DeleteTopicHandlerParams) SetFlightId(flightId string)

SetFlightId adds the flightId as the header value for this specific endpoint

func (*DeleteTopicHandlerParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the delete topic handler params

func (*DeleteTopicHandlerParams) SetHTTPClientTransport

func (o *DeleteTopicHandlerParams) SetHTTPClientTransport(roundTripper http.RoundTripper)

SetHTTPClient adds the HTTPClient Transport to the delete topic handler params

func (*DeleteTopicHandlerParams) SetNamespace

func (o *DeleteTopicHandlerParams) SetNamespace(namespace string)

SetNamespace adds the namespace to the delete topic handler params

func (*DeleteTopicHandlerParams) SetTimeout

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

SetTimeout adds the timeout to the delete topic handler params

func (*DeleteTopicHandlerParams) SetTopicName

func (o *DeleteTopicHandlerParams) SetTopicName(topicName string)

SetTopicName adds the topicName to the delete topic handler params

func (*DeleteTopicHandlerParams) WithContext

WithContext adds the context to the delete topic handler params

func (*DeleteTopicHandlerParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the delete topic handler params

func (*DeleteTopicHandlerParams) WithNamespace

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

WithNamespace adds the namespace to the delete topic handler params

func (*DeleteTopicHandlerParams) WithTimeout

WithTimeout adds the timeout to the delete topic handler params

func (*DeleteTopicHandlerParams) WithTopicName

func (o *DeleteTopicHandlerParams) WithTopicName(topicName string) *DeleteTopicHandlerParams

WithTopicName adds the topicName to the delete topic handler params

func (*DeleteTopicHandlerParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type DeleteTopicHandlerReader

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

DeleteTopicHandlerReader is a Reader for the DeleteTopicHandler structure.

func (*DeleteTopicHandlerReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type DeleteTopicHandlerUnauthorized

type DeleteTopicHandlerUnauthorized struct {
	Payload *csmclientmodels.ResponseErrorResponse
}

DeleteTopicHandlerUnauthorized handles this case with default header values.

Unauthorized

func NewDeleteTopicHandlerUnauthorized

func NewDeleteTopicHandlerUnauthorized() *DeleteTopicHandlerUnauthorized

NewDeleteTopicHandlerUnauthorized creates a DeleteTopicHandlerUnauthorized with default headers values

func (*DeleteTopicHandlerUnauthorized) Error

func (*DeleteTopicHandlerUnauthorized) GetPayload

func (*DeleteTopicHandlerUnauthorized) ToJSONString

func (o *DeleteTopicHandlerUnauthorized) ToJSONString() string

type ListTopicsHandlerBadRequest

type ListTopicsHandlerBadRequest struct {
	Payload *csmclientmodels.ResponseErrorResponse
}

ListTopicsHandlerBadRequest handles this case with default header values.

Bad Request

func NewListTopicsHandlerBadRequest

func NewListTopicsHandlerBadRequest() *ListTopicsHandlerBadRequest

NewListTopicsHandlerBadRequest creates a ListTopicsHandlerBadRequest with default headers values

func (*ListTopicsHandlerBadRequest) Error

func (*ListTopicsHandlerBadRequest) GetPayload

func (*ListTopicsHandlerBadRequest) ToJSONString

func (o *ListTopicsHandlerBadRequest) ToJSONString() string

type ListTopicsHandlerForbidden

type ListTopicsHandlerForbidden struct {
	Payload *csmclientmodels.ResponseErrorResponse
}

ListTopicsHandlerForbidden handles this case with default header values.

Forbidden

func NewListTopicsHandlerForbidden

func NewListTopicsHandlerForbidden() *ListTopicsHandlerForbidden

NewListTopicsHandlerForbidden creates a ListTopicsHandlerForbidden with default headers values

func (*ListTopicsHandlerForbidden) Error

func (*ListTopicsHandlerForbidden) GetPayload

func (*ListTopicsHandlerForbidden) ToJSONString

func (o *ListTopicsHandlerForbidden) ToJSONString() string

type ListTopicsHandlerInternalServerError

type ListTopicsHandlerInternalServerError struct {
	Payload *csmclientmodels.ResponseErrorResponse
}

ListTopicsHandlerInternalServerError handles this case with default header values.

Internal Server Error

func NewListTopicsHandlerInternalServerError

func NewListTopicsHandlerInternalServerError() *ListTopicsHandlerInternalServerError

NewListTopicsHandlerInternalServerError creates a ListTopicsHandlerInternalServerError with default headers values

func (*ListTopicsHandlerInternalServerError) Error

func (*ListTopicsHandlerInternalServerError) GetPayload

func (*ListTopicsHandlerInternalServerError) ToJSONString

func (o *ListTopicsHandlerInternalServerError) ToJSONString() string

type ListTopicsHandlerOK

type ListTopicsHandlerOK struct {
	Payload *csmclientmodels.ApimodelListTopicsResponse
}

ListTopicsHandlerOK handles this case with default header values.

OK

func NewListTopicsHandlerOK

func NewListTopicsHandlerOK() *ListTopicsHandlerOK

NewListTopicsHandlerOK creates a ListTopicsHandlerOK with default headers values

func (*ListTopicsHandlerOK) Error

func (o *ListTopicsHandlerOK) Error() string

func (*ListTopicsHandlerOK) GetPayload

func (*ListTopicsHandlerOK) ToJSONString

func (o *ListTopicsHandlerOK) ToJSONString() string

type ListTopicsHandlerParams

type ListTopicsHandlerParams struct {

	/*RetryPolicy*/
	RetryPolicy *utils.Retry
	/*Namespace
	  Game Name

	*/
	Namespace string
	/*FuzzyTopicName
	  Fuzzy search for topic name

	*/
	FuzzyTopicName *string
	/*IsSubscribedByAppName
	  Filter to get only topics subscribed by given app name

	*/
	IsSubscribedByAppName *string
	/*IsUnsubscribedByAppName
	  Filter to get only topics unsubscribed by given app name

	*/
	IsUnsubscribedByAppName *string
	/*Limit
	  Limit for pagination

	*/
	Limit *int64
	/*Offset
	  Offset for pagination

	*/
	Offset *int64

	AuthInfoWriter runtime.ClientAuthInfoWriter
	Context        context.Context
	HTTPClient     *http.Client

	// XFlightId is an optional parameter from this SDK
	XFlightId *string
	// contains filtered or unexported fields
}

ListTopicsHandlerParams contains all the parameters to send to the API endpoint for the list topics handler operation typically these are written to a http.Request

func NewListTopicsHandlerParams

func NewListTopicsHandlerParams() *ListTopicsHandlerParams

NewListTopicsHandlerParams creates a new ListTopicsHandlerParams object with the default values initialized.

func NewListTopicsHandlerParamsWithContext

func NewListTopicsHandlerParamsWithContext(ctx context.Context) *ListTopicsHandlerParams

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

func NewListTopicsHandlerParamsWithHTTPClient

func NewListTopicsHandlerParamsWithHTTPClient(client *http.Client) *ListTopicsHandlerParams

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

func NewListTopicsHandlerParamsWithTimeout

func NewListTopicsHandlerParamsWithTimeout(timeout time.Duration) *ListTopicsHandlerParams

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

func (*ListTopicsHandlerParams) SetAuthInfoWriter

func (o *ListTopicsHandlerParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)

SetAuthInfoWriter adds the authInfoWriter to the list topics handler params

func (*ListTopicsHandlerParams) SetContext

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

SetContext adds the context to the list topics handler params

func (*ListTopicsHandlerParams) SetFlightId

func (o *ListTopicsHandlerParams) SetFlightId(flightId string)

SetFlightId adds the flightId as the header value for this specific endpoint

func (*ListTopicsHandlerParams) SetFuzzyTopicName

func (o *ListTopicsHandlerParams) SetFuzzyTopicName(fuzzyTopicName *string)

SetFuzzyTopicName adds the fuzzyTopicName to the list topics handler params

func (*ListTopicsHandlerParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the list topics handler params

func (*ListTopicsHandlerParams) SetHTTPClientTransport

func (o *ListTopicsHandlerParams) SetHTTPClientTransport(roundTripper http.RoundTripper)

SetHTTPClient adds the HTTPClient Transport to the list topics handler params

func (*ListTopicsHandlerParams) SetIsSubscribedByAppName

func (o *ListTopicsHandlerParams) SetIsSubscribedByAppName(isSubscribedByAppName *string)

SetIsSubscribedByAppName adds the isSubscribedByAppName to the list topics handler params

func (*ListTopicsHandlerParams) SetIsUnsubscribedByAppName

func (o *ListTopicsHandlerParams) SetIsUnsubscribedByAppName(isUnsubscribedByAppName *string)

SetIsUnsubscribedByAppName adds the isUnsubscribedByAppName to the list topics handler params

func (*ListTopicsHandlerParams) SetLimit

func (o *ListTopicsHandlerParams) SetLimit(limit *int64)

SetLimit adds the limit to the list topics handler params

func (*ListTopicsHandlerParams) SetNamespace

func (o *ListTopicsHandlerParams) SetNamespace(namespace string)

SetNamespace adds the namespace to the list topics handler params

func (*ListTopicsHandlerParams) SetOffset

func (o *ListTopicsHandlerParams) SetOffset(offset *int64)

SetOffset adds the offset to the list topics handler params

func (*ListTopicsHandlerParams) SetTimeout

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

SetTimeout adds the timeout to the list topics handler params

func (*ListTopicsHandlerParams) WithContext

WithContext adds the context to the list topics handler params

func (*ListTopicsHandlerParams) WithFuzzyTopicName

func (o *ListTopicsHandlerParams) WithFuzzyTopicName(fuzzyTopicName *string) *ListTopicsHandlerParams

WithFuzzyTopicName adds the fuzzyTopicName to the list topics handler params

func (*ListTopicsHandlerParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the list topics handler params

func (*ListTopicsHandlerParams) WithIsSubscribedByAppName

func (o *ListTopicsHandlerParams) WithIsSubscribedByAppName(isSubscribedByAppName *string) *ListTopicsHandlerParams

WithIsSubscribedByAppName adds the isSubscribedByAppName to the list topics handler params

func (*ListTopicsHandlerParams) WithIsUnsubscribedByAppName

func (o *ListTopicsHandlerParams) WithIsUnsubscribedByAppName(isUnsubscribedByAppName *string) *ListTopicsHandlerParams

WithIsUnsubscribedByAppName adds the isUnsubscribedByAppName to the list topics handler params

func (*ListTopicsHandlerParams) WithLimit

WithLimit adds the limit to the list topics handler params

func (*ListTopicsHandlerParams) WithNamespace

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

WithNamespace adds the namespace to the list topics handler params

func (*ListTopicsHandlerParams) WithOffset

func (o *ListTopicsHandlerParams) WithOffset(offset *int64) *ListTopicsHandlerParams

WithOffset adds the offset to the list topics handler params

func (*ListTopicsHandlerParams) WithTimeout

WithTimeout adds the timeout to the list topics handler params

func (*ListTopicsHandlerParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type ListTopicsHandlerReader

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

ListTopicsHandlerReader is a Reader for the ListTopicsHandler structure.

func (*ListTopicsHandlerReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type ListTopicsHandlerUnauthorized

type ListTopicsHandlerUnauthorized struct {
	Payload *csmclientmodels.ResponseErrorResponse
}

ListTopicsHandlerUnauthorized handles this case with default header values.

Unauthorized

func NewListTopicsHandlerUnauthorized

func NewListTopicsHandlerUnauthorized() *ListTopicsHandlerUnauthorized

NewListTopicsHandlerUnauthorized creates a ListTopicsHandlerUnauthorized with default headers values

func (*ListTopicsHandlerUnauthorized) Error

func (*ListTopicsHandlerUnauthorized) GetPayload

func (*ListTopicsHandlerUnauthorized) ToJSONString

func (o *ListTopicsHandlerUnauthorized) ToJSONString() string

type UnsubscribeTopicHandlerForbidden

type UnsubscribeTopicHandlerForbidden struct {
	Payload *csmclientmodels.ResponseErrorResponse
}

UnsubscribeTopicHandlerForbidden handles this case with default header values.

Forbidden

func NewUnsubscribeTopicHandlerForbidden

func NewUnsubscribeTopicHandlerForbidden() *UnsubscribeTopicHandlerForbidden

NewUnsubscribeTopicHandlerForbidden creates a UnsubscribeTopicHandlerForbidden with default headers values

func (*UnsubscribeTopicHandlerForbidden) Error

func (*UnsubscribeTopicHandlerForbidden) GetPayload

func (*UnsubscribeTopicHandlerForbidden) ToJSONString

func (o *UnsubscribeTopicHandlerForbidden) ToJSONString() string

type UnsubscribeTopicHandlerInternalServerError

type UnsubscribeTopicHandlerInternalServerError struct {
	Payload *csmclientmodels.ResponseErrorResponse
}

UnsubscribeTopicHandlerInternalServerError handles this case with default header values.

Internal Server Error

func NewUnsubscribeTopicHandlerInternalServerError

func NewUnsubscribeTopicHandlerInternalServerError() *UnsubscribeTopicHandlerInternalServerError

NewUnsubscribeTopicHandlerInternalServerError creates a UnsubscribeTopicHandlerInternalServerError with default headers values

func (*UnsubscribeTopicHandlerInternalServerError) Error

func (*UnsubscribeTopicHandlerInternalServerError) GetPayload

func (*UnsubscribeTopicHandlerInternalServerError) ToJSONString

type UnsubscribeTopicHandlerNotFound

type UnsubscribeTopicHandlerNotFound struct {
	Payload *csmclientmodels.ResponseErrorResponse
}

UnsubscribeTopicHandlerNotFound handles this case with default header values.

Not Found

func NewUnsubscribeTopicHandlerNotFound

func NewUnsubscribeTopicHandlerNotFound() *UnsubscribeTopicHandlerNotFound

NewUnsubscribeTopicHandlerNotFound creates a UnsubscribeTopicHandlerNotFound with default headers values

func (*UnsubscribeTopicHandlerNotFound) Error

func (*UnsubscribeTopicHandlerNotFound) GetPayload

func (*UnsubscribeTopicHandlerNotFound) ToJSONString

func (o *UnsubscribeTopicHandlerNotFound) ToJSONString() string

type UnsubscribeTopicHandlerOK

type UnsubscribeTopicHandlerOK struct {
	Payload *csmclientmodels.ApimodelTopicSubscription
}

UnsubscribeTopicHandlerOK handles this case with default header values.

OK

func NewUnsubscribeTopicHandlerOK

func NewUnsubscribeTopicHandlerOK() *UnsubscribeTopicHandlerOK

NewUnsubscribeTopicHandlerOK creates a UnsubscribeTopicHandlerOK with default headers values

func (*UnsubscribeTopicHandlerOK) Error

func (o *UnsubscribeTopicHandlerOK) Error() string

func (*UnsubscribeTopicHandlerOK) GetPayload

func (*UnsubscribeTopicHandlerOK) ToJSONString

func (o *UnsubscribeTopicHandlerOK) ToJSONString() string

type UnsubscribeTopicHandlerParams

type UnsubscribeTopicHandlerParams struct {

	/*RetryPolicy*/
	RetryPolicy *utils.Retry
	/*App
	  App Name

	*/
	App string
	/*Namespace
	  Game Name

	*/
	Namespace string
	/*TopicName
	  Topic Name

	*/
	TopicName 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
}

UnsubscribeTopicHandlerParams contains all the parameters to send to the API endpoint for the unsubscribe topic handler operation typically these are written to a http.Request

func NewUnsubscribeTopicHandlerParams

func NewUnsubscribeTopicHandlerParams() *UnsubscribeTopicHandlerParams

NewUnsubscribeTopicHandlerParams creates a new UnsubscribeTopicHandlerParams object with the default values initialized.

func NewUnsubscribeTopicHandlerParamsWithContext

func NewUnsubscribeTopicHandlerParamsWithContext(ctx context.Context) *UnsubscribeTopicHandlerParams

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

func NewUnsubscribeTopicHandlerParamsWithHTTPClient

func NewUnsubscribeTopicHandlerParamsWithHTTPClient(client *http.Client) *UnsubscribeTopicHandlerParams

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

func NewUnsubscribeTopicHandlerParamsWithTimeout

func NewUnsubscribeTopicHandlerParamsWithTimeout(timeout time.Duration) *UnsubscribeTopicHandlerParams

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

func (*UnsubscribeTopicHandlerParams) SetApp

func (o *UnsubscribeTopicHandlerParams) SetApp(app string)

SetApp adds the app to the unsubscribe topic handler params

func (*UnsubscribeTopicHandlerParams) SetAuthInfoWriter

func (o *UnsubscribeTopicHandlerParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)

SetAuthInfoWriter adds the authInfoWriter to the unsubscribe topic handler params

func (*UnsubscribeTopicHandlerParams) SetContext

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

SetContext adds the context to the unsubscribe topic handler params

func (*UnsubscribeTopicHandlerParams) SetFlightId

func (o *UnsubscribeTopicHandlerParams) SetFlightId(flightId string)

SetFlightId adds the flightId as the header value for this specific endpoint

func (*UnsubscribeTopicHandlerParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the unsubscribe topic handler params

func (*UnsubscribeTopicHandlerParams) SetHTTPClientTransport

func (o *UnsubscribeTopicHandlerParams) SetHTTPClientTransport(roundTripper http.RoundTripper)

SetHTTPClient adds the HTTPClient Transport to the unsubscribe topic handler params

func (*UnsubscribeTopicHandlerParams) SetNamespace

func (o *UnsubscribeTopicHandlerParams) SetNamespace(namespace string)

SetNamespace adds the namespace to the unsubscribe topic handler params

func (*UnsubscribeTopicHandlerParams) SetTimeout

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

SetTimeout adds the timeout to the unsubscribe topic handler params

func (*UnsubscribeTopicHandlerParams) SetTopicName

func (o *UnsubscribeTopicHandlerParams) SetTopicName(topicName string)

SetTopicName adds the topicName to the unsubscribe topic handler params

func (*UnsubscribeTopicHandlerParams) WithApp

WithApp adds the app to the unsubscribe topic handler params

func (*UnsubscribeTopicHandlerParams) WithContext

WithContext adds the context to the unsubscribe topic handler params

func (*UnsubscribeTopicHandlerParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the unsubscribe topic handler params

func (*UnsubscribeTopicHandlerParams) WithNamespace

WithNamespace adds the namespace to the unsubscribe topic handler params

func (*UnsubscribeTopicHandlerParams) WithTimeout

WithTimeout adds the timeout to the unsubscribe topic handler params

func (*UnsubscribeTopicHandlerParams) WithTopicName

WithTopicName adds the topicName to the unsubscribe topic handler params

func (*UnsubscribeTopicHandlerParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type UnsubscribeTopicHandlerReader

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

UnsubscribeTopicHandlerReader is a Reader for the UnsubscribeTopicHandler structure.

func (*UnsubscribeTopicHandlerReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type UnsubscribeTopicHandlerUnauthorized

type UnsubscribeTopicHandlerUnauthorized struct {
	Payload *csmclientmodels.ResponseErrorResponse
}

UnsubscribeTopicHandlerUnauthorized handles this case with default header values.

Unauthorized

func NewUnsubscribeTopicHandlerUnauthorized

func NewUnsubscribeTopicHandlerUnauthorized() *UnsubscribeTopicHandlerUnauthorized

NewUnsubscribeTopicHandlerUnauthorized creates a UnsubscribeTopicHandlerUnauthorized with default headers values

func (*UnsubscribeTopicHandlerUnauthorized) Error

func (*UnsubscribeTopicHandlerUnauthorized) GetPayload

func (*UnsubscribeTopicHandlerUnauthorized) ToJSONString

func (o *UnsubscribeTopicHandlerUnauthorized) ToJSONString() string

Jump to

Keyboard shortcuts

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