Documentation ¶
Index ¶
- Constants
- type Client
- type ClientService
- type QueryThirdPartyNotificationsOK
- type QueryThirdPartyNotificationsParams
- func NewQueryThirdPartyNotificationsParams() *QueryThirdPartyNotificationsParams
- func NewQueryThirdPartyNotificationsParamsWithContext(ctx context.Context) *QueryThirdPartyNotificationsParams
- func NewQueryThirdPartyNotificationsParamsWithHTTPClient(client *http.Client) *QueryThirdPartyNotificationsParams
- func NewQueryThirdPartyNotificationsParamsWithTimeout(timeout time.Duration) *QueryThirdPartyNotificationsParams
- func (o *QueryThirdPartyNotificationsParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
- func (o *QueryThirdPartyNotificationsParams) SetContext(ctx context.Context)
- func (o *QueryThirdPartyNotificationsParams) SetEndDate(endDate *string)
- func (o *QueryThirdPartyNotificationsParams) SetExternalID(externalID *string)
- func (o *QueryThirdPartyNotificationsParams) SetFlightId(flightId string)
- func (o *QueryThirdPartyNotificationsParams) SetHTTPClient(client *http.Client)
- func (o *QueryThirdPartyNotificationsParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
- func (o *QueryThirdPartyNotificationsParams) SetLimit(limit *int32)
- func (o *QueryThirdPartyNotificationsParams) SetNamespace(namespace string)
- func (o *QueryThirdPartyNotificationsParams) SetOffset(offset *int32)
- func (o *QueryThirdPartyNotificationsParams) SetSource(source *string)
- func (o *QueryThirdPartyNotificationsParams) SetStartDate(startDate *string)
- func (o *QueryThirdPartyNotificationsParams) SetStatus(status *string)
- func (o *QueryThirdPartyNotificationsParams) SetTimeout(timeout time.Duration)
- func (o *QueryThirdPartyNotificationsParams) SetType(typeVar *string)
- func (o *QueryThirdPartyNotificationsParams) WithContext(ctx context.Context) *QueryThirdPartyNotificationsParams
- func (o *QueryThirdPartyNotificationsParams) WithEndDate(endDate *string) *QueryThirdPartyNotificationsParams
- func (o *QueryThirdPartyNotificationsParams) WithExternalID(externalID *string) *QueryThirdPartyNotificationsParams
- func (o *QueryThirdPartyNotificationsParams) WithHTTPClient(client *http.Client) *QueryThirdPartyNotificationsParams
- func (o *QueryThirdPartyNotificationsParams) WithLimit(limit *int32) *QueryThirdPartyNotificationsParams
- func (o *QueryThirdPartyNotificationsParams) WithNamespace(namespace string) *QueryThirdPartyNotificationsParams
- func (o *QueryThirdPartyNotificationsParams) WithOffset(offset *int32) *QueryThirdPartyNotificationsParams
- func (o *QueryThirdPartyNotificationsParams) WithSource(source *string) *QueryThirdPartyNotificationsParams
- func (o *QueryThirdPartyNotificationsParams) WithStartDate(startDate *string) *QueryThirdPartyNotificationsParams
- func (o *QueryThirdPartyNotificationsParams) WithStatus(status *string) *QueryThirdPartyNotificationsParams
- func (o *QueryThirdPartyNotificationsParams) WithTimeout(timeout time.Duration) *QueryThirdPartyNotificationsParams
- func (o *QueryThirdPartyNotificationsParams) WithType(typeVar *string) *QueryThirdPartyNotificationsParams
- func (o *QueryThirdPartyNotificationsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type QueryThirdPartyNotificationsReader
- type QueryThirdPartyNotificationsResponse
Constants ¶
const ( QueryThirdPartyNotificationsAPPLEConstant = "APPLE" QueryThirdPartyNotificationsEPICGAMESConstant = "EPICGAMES" QueryThirdPartyNotificationsGOOGLEConstant = "GOOGLE" QueryThirdPartyNotificationsOCULUSConstant = "OCULUS" QueryThirdPartyNotificationsPLAYSTATIONConstant = "PLAYSTATION" QueryThirdPartyNotificationsSTADIAConstant = "STADIA" QueryThirdPartyNotificationsSTEAMConstant = "STEAM" QueryThirdPartyNotificationsTWITCHConstant = "TWITCH" QueryThirdPartyNotificationsXBOXConstant = "XBOX" )
Get the enum in QueryThirdPartyNotificationsParams
const ( QueryThirdPartyNotificationsERRORConstant = "ERROR" QueryThirdPartyNotificationsIGNOREDConstant = "IGNORED" QueryThirdPartyNotificationsPROCESSEDConstant = "PROCESSED" QueryThirdPartyNotificationsWARNConstant = "WARN" )
Get the enum in QueryThirdPartyNotificationsParams
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client for iap notification API
func (*Client) QueryThirdPartyNotificationsShort ¶
func (a *Client) QueryThirdPartyNotificationsShort(params *QueryThirdPartyNotificationsParams, authInfo runtime.ClientAuthInfoWriter) (*QueryThirdPartyNotificationsResponse, error)
QueryThirdPartyNotificationsShort query third party notifications Query third party notifications. Other detail info:
- Returns : Third Party Platform notifications
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
type ClientService ¶
type ClientService interface { QueryThirdPartyNotificationsShort(params *QueryThirdPartyNotificationsParams, authInfo runtime.ClientAuthInfoWriter) (*QueryThirdPartyNotificationsResponse, 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 iap notification API client.
type QueryThirdPartyNotificationsOK ¶
type QueryThirdPartyNotificationsOK struct {
Payload *platformclientmodels.NotificationPagingSlicedResult
}
QueryThirdPartyNotificationsOK handles this case with default header values.
successful operation
func NewQueryThirdPartyNotificationsOK ¶
func NewQueryThirdPartyNotificationsOK() *QueryThirdPartyNotificationsOK
NewQueryThirdPartyNotificationsOK creates a QueryThirdPartyNotificationsOK with default headers values
func (*QueryThirdPartyNotificationsOK) Error ¶
func (o *QueryThirdPartyNotificationsOK) Error() string
func (*QueryThirdPartyNotificationsOK) GetPayload ¶
func (o *QueryThirdPartyNotificationsOK) GetPayload() *platformclientmodels.NotificationPagingSlicedResult
func (*QueryThirdPartyNotificationsOK) ToJSONString ¶
func (o *QueryThirdPartyNotificationsOK) ToJSONString() string
type QueryThirdPartyNotificationsParams ¶
type QueryThirdPartyNotificationsParams struct { /*RetryPolicy*/ RetryPolicy *utils.Retry /*Namespace*/ Namespace string /*EndDate allowed format: \d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}Z */ EndDate *string /*ExternalID*/ ExternalID *string /*Limit*/ Limit *int32 /*Offset*/ Offset *int32 /*Source*/ Source *string /*StartDate allowed format: \d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}Z */ StartDate *string /*Status*/ Status *string /*Type*/ Type *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 }
QueryThirdPartyNotificationsParams contains all the parameters to send to the API endpoint for the query third party notifications operation typically these are written to a http.Request
func NewQueryThirdPartyNotificationsParams ¶
func NewQueryThirdPartyNotificationsParams() *QueryThirdPartyNotificationsParams
NewQueryThirdPartyNotificationsParams creates a new QueryThirdPartyNotificationsParams object with the default values initialized.
func NewQueryThirdPartyNotificationsParamsWithContext ¶
func NewQueryThirdPartyNotificationsParamsWithContext(ctx context.Context) *QueryThirdPartyNotificationsParams
NewQueryThirdPartyNotificationsParamsWithContext creates a new QueryThirdPartyNotificationsParams object with the default values initialized, and the ability to set a context for a request
func NewQueryThirdPartyNotificationsParamsWithHTTPClient ¶
func NewQueryThirdPartyNotificationsParamsWithHTTPClient(client *http.Client) *QueryThirdPartyNotificationsParams
NewQueryThirdPartyNotificationsParamsWithHTTPClient creates a new QueryThirdPartyNotificationsParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewQueryThirdPartyNotificationsParamsWithTimeout ¶
func NewQueryThirdPartyNotificationsParamsWithTimeout(timeout time.Duration) *QueryThirdPartyNotificationsParams
NewQueryThirdPartyNotificationsParamsWithTimeout creates a new QueryThirdPartyNotificationsParams object with the default values initialized, and the ability to set a timeout on a request
func (*QueryThirdPartyNotificationsParams) SetAuthInfoWriter ¶
func (o *QueryThirdPartyNotificationsParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
SetAuthInfoWriter adds the authInfoWriter to the query third party notifications params
func (*QueryThirdPartyNotificationsParams) SetContext ¶
func (o *QueryThirdPartyNotificationsParams) SetContext(ctx context.Context)
SetContext adds the context to the query third party notifications params
func (*QueryThirdPartyNotificationsParams) SetEndDate ¶
func (o *QueryThirdPartyNotificationsParams) SetEndDate(endDate *string)
SetEndDate adds the endDate to the query third party notifications params
func (*QueryThirdPartyNotificationsParams) SetExternalID ¶
func (o *QueryThirdPartyNotificationsParams) SetExternalID(externalID *string)
SetExternalID adds the externalId to the query third party notifications params
func (*QueryThirdPartyNotificationsParams) SetFlightId ¶
func (o *QueryThirdPartyNotificationsParams) SetFlightId(flightId string)
SetFlightId adds the flightId as the header value for this specific endpoint
func (*QueryThirdPartyNotificationsParams) SetHTTPClient ¶
func (o *QueryThirdPartyNotificationsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the query third party notifications params
func (*QueryThirdPartyNotificationsParams) SetHTTPClientTransport ¶
func (o *QueryThirdPartyNotificationsParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
SetHTTPClient adds the HTTPClient Transport to the query third party notifications params
func (*QueryThirdPartyNotificationsParams) SetLimit ¶
func (o *QueryThirdPartyNotificationsParams) SetLimit(limit *int32)
SetLimit adds the limit to the query third party notifications params
func (*QueryThirdPartyNotificationsParams) SetNamespace ¶
func (o *QueryThirdPartyNotificationsParams) SetNamespace(namespace string)
SetNamespace adds the namespace to the query third party notifications params
func (*QueryThirdPartyNotificationsParams) SetOffset ¶
func (o *QueryThirdPartyNotificationsParams) SetOffset(offset *int32)
SetOffset adds the offset to the query third party notifications params
func (*QueryThirdPartyNotificationsParams) SetSource ¶
func (o *QueryThirdPartyNotificationsParams) SetSource(source *string)
SetSource adds the source to the query third party notifications params
func (*QueryThirdPartyNotificationsParams) SetStartDate ¶
func (o *QueryThirdPartyNotificationsParams) SetStartDate(startDate *string)
SetStartDate adds the startDate to the query third party notifications params
func (*QueryThirdPartyNotificationsParams) SetStatus ¶
func (o *QueryThirdPartyNotificationsParams) SetStatus(status *string)
SetStatus adds the status to the query third party notifications params
func (*QueryThirdPartyNotificationsParams) SetTimeout ¶
func (o *QueryThirdPartyNotificationsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the query third party notifications params
func (*QueryThirdPartyNotificationsParams) SetType ¶
func (o *QueryThirdPartyNotificationsParams) SetType(typeVar *string)
SetType adds the type to the query third party notifications params
func (*QueryThirdPartyNotificationsParams) WithContext ¶
func (o *QueryThirdPartyNotificationsParams) WithContext(ctx context.Context) *QueryThirdPartyNotificationsParams
WithContext adds the context to the query third party notifications params
func (*QueryThirdPartyNotificationsParams) WithEndDate ¶
func (o *QueryThirdPartyNotificationsParams) WithEndDate(endDate *string) *QueryThirdPartyNotificationsParams
WithEndDate adds the endDate to the query third party notifications params
func (*QueryThirdPartyNotificationsParams) WithExternalID ¶
func (o *QueryThirdPartyNotificationsParams) WithExternalID(externalID *string) *QueryThirdPartyNotificationsParams
WithExternalID adds the externalID to the query third party notifications params
func (*QueryThirdPartyNotificationsParams) WithHTTPClient ¶
func (o *QueryThirdPartyNotificationsParams) WithHTTPClient(client *http.Client) *QueryThirdPartyNotificationsParams
WithHTTPClient adds the HTTPClient to the query third party notifications params
func (*QueryThirdPartyNotificationsParams) WithLimit ¶
func (o *QueryThirdPartyNotificationsParams) WithLimit(limit *int32) *QueryThirdPartyNotificationsParams
WithLimit adds the limit to the query third party notifications params
func (*QueryThirdPartyNotificationsParams) WithNamespace ¶
func (o *QueryThirdPartyNotificationsParams) WithNamespace(namespace string) *QueryThirdPartyNotificationsParams
WithNamespace adds the namespace to the query third party notifications params
func (*QueryThirdPartyNotificationsParams) WithOffset ¶
func (o *QueryThirdPartyNotificationsParams) WithOffset(offset *int32) *QueryThirdPartyNotificationsParams
WithOffset adds the offset to the query third party notifications params
func (*QueryThirdPartyNotificationsParams) WithSource ¶
func (o *QueryThirdPartyNotificationsParams) WithSource(source *string) *QueryThirdPartyNotificationsParams
WithSource adds the source to the query third party notifications params
func (*QueryThirdPartyNotificationsParams) WithStartDate ¶
func (o *QueryThirdPartyNotificationsParams) WithStartDate(startDate *string) *QueryThirdPartyNotificationsParams
WithStartDate adds the startDate to the query third party notifications params
func (*QueryThirdPartyNotificationsParams) WithStatus ¶
func (o *QueryThirdPartyNotificationsParams) WithStatus(status *string) *QueryThirdPartyNotificationsParams
WithStatus adds the status to the query third party notifications params
func (*QueryThirdPartyNotificationsParams) WithTimeout ¶
func (o *QueryThirdPartyNotificationsParams) WithTimeout(timeout time.Duration) *QueryThirdPartyNotificationsParams
WithTimeout adds the timeout to the query third party notifications params
func (*QueryThirdPartyNotificationsParams) WithType ¶
func (o *QueryThirdPartyNotificationsParams) WithType(typeVar *string) *QueryThirdPartyNotificationsParams
WithType adds the typeVar to the query third party notifications params
func (*QueryThirdPartyNotificationsParams) WriteToRequest ¶
func (o *QueryThirdPartyNotificationsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type QueryThirdPartyNotificationsReader ¶
type QueryThirdPartyNotificationsReader struct {
// contains filtered or unexported fields
}
QueryThirdPartyNotificationsReader is a Reader for the QueryThirdPartyNotifications structure.
func (*QueryThirdPartyNotificationsReader) ReadResponse ¶
func (o *QueryThirdPartyNotificationsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type QueryThirdPartyNotificationsResponse ¶
type QueryThirdPartyNotificationsResponse struct { platformclientmodels.ApiResponse Data *platformclientmodels.NotificationPagingSlicedResult }