Help us shape the future of Go! Take the 2026 Go Developer Survey

revocation

package
v0.89.1 Latest Latest
Warning

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

Go to latest
Published: Aug 27, 2026 License: MIT Imports: 16 Imported by: 0

Documentation

Index

Constants

View Source
const (
	QueryRevocationHistoriesDLCConstant   = "DLC"
	QueryRevocationHistoriesIAPConstant   = "IAP"
	QueryRevocationHistoriesORDERConstant = "ORDER"
	QueryRevocationHistoriesOTHERConstant = "OTHER"
)

Deprecated: 2025-07-16 - Use QueryRevocationHistoriesSource<EnumValue>Constant instead. Get the enum in QueryRevocationHistoriesParams

View Source
const (
	QueryRevocationHistoriesFAILConstant    = "FAIL"
	QueryRevocationHistoriesSUCCESSConstant = "SUCCESS"
)

Deprecated: 2025-07-16 - Use QueryRevocationHistoriesStatus<EnumValue>Constant instead. Get the enum in QueryRevocationHistoriesParams

View Source
const (
	QueryRevocationHistoriesSourceDLCConstant   = "DLC"
	QueryRevocationHistoriesSourceIAPConstant   = "IAP"
	QueryRevocationHistoriesSourceORDERConstant = "ORDER"
	QueryRevocationHistoriesSourceOTHERConstant = "OTHER"
)

Get the enum in QueryRevocationHistoriesParams

View Source
const (
	QueryRevocationHistoriesStatusFAILConstant    = "FAIL"
	QueryRevocationHistoriesStatusSUCCESSConstant = "SUCCESS"
)

Get the enum in QueryRevocationHistoriesParams

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

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

Client for revocation API

func (*Client) DeleteRevocationConfig deprecated

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

DeleteRevocationConfig delete revocation config Delete revocation config.

func (*Client) DeleteRevocationConfigShort

func (a *Client) DeleteRevocationConfigShort(params *DeleteRevocationConfigParams, authInfo runtime.ClientAuthInfoWriter) (*DeleteRevocationConfigNoContent, error)

DeleteRevocationConfigShort delete revocation config Delete revocation config.

func (*Client) DoRevocation deprecated

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

DoRevocation do revocation. Do revocation. Other detail info:

  • Returns : revocation results

func (*Client) DoRevocationShort

func (a *Client) DoRevocationShort(params *DoRevocationParams, authInfo runtime.ClientAuthInfoWriter) (*DoRevocationOK, error)

DoRevocationShort do revocation. Do revocation. Other detail info:

  • Returns : revocation results

func (*Client) GetRevocationConfig deprecated added in v0.42.0

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

GetRevocationConfig get revocation configuration Get revocation configuration. Other detail info:

  • Returns : Revocation config

func (*Client) GetRevocationConfigShort added in v0.42.0

func (a *Client) GetRevocationConfigShort(params *GetRevocationConfigParams, authInfo runtime.ClientAuthInfoWriter) (*GetRevocationConfigOK, error)

GetRevocationConfigShort get revocation configuration Get revocation configuration. Other detail info:

  • Returns : Revocation config

func (*Client) QueryRevocationHistories deprecated

func (a *Client) QueryRevocationHistories(params *QueryRevocationHistoriesParams, authInfo runtime.ClientAuthInfoWriter) (*QueryRevocationHistoriesOK, error)

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

QueryRevocationHistories query revocation histories Query revocation histories in a namespace. Other detail info:

  • Returns : query revocation history

func (*Client) QueryRevocationHistoriesShort

func (a *Client) QueryRevocationHistoriesShort(params *QueryRevocationHistoriesParams, authInfo runtime.ClientAuthInfoWriter) (*QueryRevocationHistoriesOK, error)

QueryRevocationHistoriesShort query revocation histories Query revocation histories in a namespace. Other detail info:

  • Returns : query revocation history

func (*Client) SetTransport

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

SetTransport changes the transport on the client

func (*Client) UpdateRevocationConfig deprecated

func (a *Client) UpdateRevocationConfig(params *UpdateRevocationConfigParams, authInfo runtime.ClientAuthInfoWriter) (*UpdateRevocationConfigOK, error)

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

UpdateRevocationConfig update revocation configuration Update revocation configuration. Other detail info:

  • Returns : Revocation config

func (*Client) UpdateRevocationConfigShort

func (a *Client) UpdateRevocationConfigShort(params *UpdateRevocationConfigParams, authInfo runtime.ClientAuthInfoWriter) (*UpdateRevocationConfigOK, error)

UpdateRevocationConfigShort update revocation configuration Update revocation configuration. Other detail info:

  • Returns : Revocation config

type ClientService

ClientService is the interface for Client methods

func New

func New(transport runtime.ClientTransport, formats strfmt.Registry) ClientService

New creates a new revocation API client.

type DeleteRevocationConfigNoContent

type DeleteRevocationConfigNoContent struct {
}

DeleteRevocationConfigNoContent handles this case with default header values.

Delete successfully

func NewDeleteRevocationConfigNoContent

func NewDeleteRevocationConfigNoContent() *DeleteRevocationConfigNoContent

NewDeleteRevocationConfigNoContent creates a DeleteRevocationConfigNoContent with default headers values

func (*DeleteRevocationConfigNoContent) Error

type DeleteRevocationConfigParams

type DeleteRevocationConfigParams struct {

	/*RetryPolicy*/
	RetryPolicy *utils.Retry
	/*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
}

DeleteRevocationConfigParams contains all the parameters to send to the API endpoint for the delete revocation config operation typically these are written to a http.Request

func NewDeleteRevocationConfigParams

func NewDeleteRevocationConfigParams() *DeleteRevocationConfigParams

NewDeleteRevocationConfigParams creates a new DeleteRevocationConfigParams object with the default values initialized.

func NewDeleteRevocationConfigParamsWithContext

func NewDeleteRevocationConfigParamsWithContext(ctx context.Context) *DeleteRevocationConfigParams

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

func NewDeleteRevocationConfigParamsWithHTTPClient

func NewDeleteRevocationConfigParamsWithHTTPClient(client *http.Client) *DeleteRevocationConfigParams

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

func NewDeleteRevocationConfigParamsWithTimeout

func NewDeleteRevocationConfigParamsWithTimeout(timeout time.Duration) *DeleteRevocationConfigParams

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

func (*DeleteRevocationConfigParams) SetAuthInfoWriter

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

SetAuthInfoWriter adds the authInfoWriter to the delete revocation config params

func (*DeleteRevocationConfigParams) SetContext

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

SetContext adds the context to the delete revocation config params

func (*DeleteRevocationConfigParams) SetFlightId added in v0.63.0

func (o *DeleteRevocationConfigParams) SetFlightId(flightId string)

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

func (*DeleteRevocationConfigParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the delete revocation config params

func (*DeleteRevocationConfigParams) SetHTTPClientTransport

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

SetHTTPClient adds the HTTPClient Transport to the delete revocation config params

func (*DeleteRevocationConfigParams) SetNamespace

func (o *DeleteRevocationConfigParams) SetNamespace(namespace string)

SetNamespace adds the namespace to the delete revocation config params

func (*DeleteRevocationConfigParams) SetTimeout

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

SetTimeout adds the timeout to the delete revocation config params

func (*DeleteRevocationConfigParams) WithContext

WithContext adds the context to the delete revocation config params

func (*DeleteRevocationConfigParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the delete revocation config params

func (*DeleteRevocationConfigParams) WithNamespace

WithNamespace adds the namespace to the delete revocation config params

func (*DeleteRevocationConfigParams) WithTimeout

WithTimeout adds the timeout to the delete revocation config params

func (*DeleteRevocationConfigParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type DeleteRevocationConfigReader

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

DeleteRevocationConfigReader is a Reader for the DeleteRevocationConfig structure.

func (*DeleteRevocationConfigReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type DoRevocationConflict added in v0.76.0

type DoRevocationConflict struct {
	Payload *platformclientmodels.ErrorEntity
}

DoRevocationConflict handles this case with default header values.

<table><tr><td>ErrorCode</td><td>ErrorMessage</td></tr><tr><td>41171</td><td>Request has different payload on previous call</td></tr><tr><td>41172</td><td>Request has different user id on previous call</td></tr></table>

func NewDoRevocationConflict added in v0.76.0

func NewDoRevocationConflict() *DoRevocationConflict

NewDoRevocationConflict creates a DoRevocationConflict with default headers values

func (*DoRevocationConflict) Error added in v0.76.0

func (o *DoRevocationConflict) Error() string

func (*DoRevocationConflict) GetPayload added in v0.76.0

func (*DoRevocationConflict) ToJSONString added in v0.76.0

func (o *DoRevocationConflict) ToJSONString() string

type DoRevocationOK

type DoRevocationOK struct {
	Payload *platformclientmodels.RevocationResult
}

DoRevocationOK handles this case with default header values.

successful operation

func NewDoRevocationOK

func NewDoRevocationOK() *DoRevocationOK

NewDoRevocationOK creates a DoRevocationOK with default headers values

func (*DoRevocationOK) Error

func (o *DoRevocationOK) Error() string

func (*DoRevocationOK) GetPayload

func (*DoRevocationOK) ToJSONString

func (o *DoRevocationOK) ToJSONString() string

type DoRevocationParams

type DoRevocationParams struct {

	/*RetryPolicy*/
	RetryPolicy *utils.Retry
	/*Body*/
	Body *platformclientmodels.RevocationRequest
	/*Namespace*/
	Namespace string
	/*UserID*/
	UserID 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
}

DoRevocationParams contains all the parameters to send to the API endpoint for the do revocation operation typically these are written to a http.Request

func NewDoRevocationParams

func NewDoRevocationParams() *DoRevocationParams

NewDoRevocationParams creates a new DoRevocationParams object with the default values initialized.

func NewDoRevocationParamsWithContext

func NewDoRevocationParamsWithContext(ctx context.Context) *DoRevocationParams

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

func NewDoRevocationParamsWithHTTPClient

func NewDoRevocationParamsWithHTTPClient(client *http.Client) *DoRevocationParams

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

func NewDoRevocationParamsWithTimeout

func NewDoRevocationParamsWithTimeout(timeout time.Duration) *DoRevocationParams

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

func (*DoRevocationParams) SetAuthInfoWriter

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

SetAuthInfoWriter adds the authInfoWriter to the do revocation params

func (*DoRevocationParams) SetBody

SetBody adds the body to the do revocation params

func (*DoRevocationParams) SetContext

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

SetContext adds the context to the do revocation params

func (*DoRevocationParams) SetFlightId added in v0.63.0

func (o *DoRevocationParams) SetFlightId(flightId string)

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

func (*DoRevocationParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the do revocation params

func (*DoRevocationParams) SetHTTPClientTransport

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

SetHTTPClient adds the HTTPClient Transport to the do revocation params

func (*DoRevocationParams) SetNamespace

func (o *DoRevocationParams) SetNamespace(namespace string)

SetNamespace adds the namespace to the do revocation params

func (*DoRevocationParams) SetTimeout

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

SetTimeout adds the timeout to the do revocation params

func (*DoRevocationParams) SetUserID

func (o *DoRevocationParams) SetUserID(userID string)

SetUserID adds the userId to the do revocation params

func (*DoRevocationParams) WithBody

WithBody adds the body to the do revocation params

func (*DoRevocationParams) WithContext

WithContext adds the context to the do revocation params

func (*DoRevocationParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the do revocation params

func (*DoRevocationParams) WithNamespace

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

WithNamespace adds the namespace to the do revocation params

func (*DoRevocationParams) WithTimeout

func (o *DoRevocationParams) WithTimeout(timeout time.Duration) *DoRevocationParams

WithTimeout adds the timeout to the do revocation params

func (*DoRevocationParams) WithUserID

func (o *DoRevocationParams) WithUserID(userID string) *DoRevocationParams

WithUserID adds the userID to the do revocation params

func (*DoRevocationParams) WriteToRequest

func (o *DoRevocationParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type DoRevocationReader

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

DoRevocationReader is a Reader for the DoRevocation structure.

func (*DoRevocationReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetRevocationConfigNotFound added in v0.42.0

type GetRevocationConfigNotFound struct {
	Payload *platformclientmodels.ErrorEntity
}

GetRevocationConfigNotFound handles this case with default header values.

<table><tr><td>ErrorCode</td><td>ErrorMessage</td></tr><tr><td>33243</td><td>Payment callback config for [{namespace}] does not exist</td></tr></table>

func NewGetRevocationConfigNotFound added in v0.42.0

func NewGetRevocationConfigNotFound() *GetRevocationConfigNotFound

NewGetRevocationConfigNotFound creates a GetRevocationConfigNotFound with default headers values

func (*GetRevocationConfigNotFound) Error added in v0.42.0

func (*GetRevocationConfigNotFound) GetPayload added in v0.42.0

func (*GetRevocationConfigNotFound) ToJSONString added in v0.42.0

func (o *GetRevocationConfigNotFound) ToJSONString() string

type GetRevocationConfigOK added in v0.42.0

type GetRevocationConfigOK struct {
	Payload *platformclientmodels.RevocationConfigInfo
}

GetRevocationConfigOK handles this case with default header values.

successful operation

func NewGetRevocationConfigOK added in v0.42.0

func NewGetRevocationConfigOK() *GetRevocationConfigOK

NewGetRevocationConfigOK creates a GetRevocationConfigOK with default headers values

func (*GetRevocationConfigOK) Error added in v0.42.0

func (o *GetRevocationConfigOK) Error() string

func (*GetRevocationConfigOK) GetPayload added in v0.42.0

func (*GetRevocationConfigOK) ToJSONString added in v0.42.0

func (o *GetRevocationConfigOK) ToJSONString() string

type GetRevocationConfigParams added in v0.42.0

type GetRevocationConfigParams struct {

	/*RetryPolicy*/
	RetryPolicy *utils.Retry
	/*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
}

GetRevocationConfigParams contains all the parameters to send to the API endpoint for the get revocation config operation typically these are written to a http.Request

func NewGetRevocationConfigParams added in v0.42.0

func NewGetRevocationConfigParams() *GetRevocationConfigParams

NewGetRevocationConfigParams creates a new GetRevocationConfigParams object with the default values initialized.

func NewGetRevocationConfigParamsWithContext added in v0.42.0

func NewGetRevocationConfigParamsWithContext(ctx context.Context) *GetRevocationConfigParams

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

func NewGetRevocationConfigParamsWithHTTPClient added in v0.42.0

func NewGetRevocationConfigParamsWithHTTPClient(client *http.Client) *GetRevocationConfigParams

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

func NewGetRevocationConfigParamsWithTimeout added in v0.42.0

func NewGetRevocationConfigParamsWithTimeout(timeout time.Duration) *GetRevocationConfigParams

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

func (*GetRevocationConfigParams) SetAuthInfoWriter added in v0.42.0

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

SetAuthInfoWriter adds the authInfoWriter to the get revocation config params

func (*GetRevocationConfigParams) SetContext added in v0.42.0

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

SetContext adds the context to the get revocation config params

func (*GetRevocationConfigParams) SetFlightId added in v0.63.0

func (o *GetRevocationConfigParams) SetFlightId(flightId string)

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

func (*GetRevocationConfigParams) SetHTTPClient added in v0.42.0

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

SetHTTPClient adds the HTTPClient to the get revocation config params

func (*GetRevocationConfigParams) SetHTTPClientTransport added in v0.42.0

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

SetHTTPClient adds the HTTPClient Transport to the get revocation config params

func (*GetRevocationConfigParams) SetNamespace added in v0.42.0

func (o *GetRevocationConfigParams) SetNamespace(namespace string)

SetNamespace adds the namespace to the get revocation config params

func (*GetRevocationConfigParams) SetTimeout added in v0.42.0

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

SetTimeout adds the timeout to the get revocation config params

func (*GetRevocationConfigParams) WithContext added in v0.42.0

WithContext adds the context to the get revocation config params

func (*GetRevocationConfigParams) WithHTTPClient added in v0.42.0

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

WithHTTPClient adds the HTTPClient to the get revocation config params

func (*GetRevocationConfigParams) WithNamespace added in v0.42.0

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

WithNamespace adds the namespace to the get revocation config params

func (*GetRevocationConfigParams) WithTimeout added in v0.42.0

WithTimeout adds the timeout to the get revocation config params

func (*GetRevocationConfigParams) WriteToRequest added in v0.42.0

WriteToRequest writes these params to a swagger request

type GetRevocationConfigReader added in v0.42.0

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

GetRevocationConfigReader is a Reader for the GetRevocationConfig structure.

func (*GetRevocationConfigReader) ReadResponse added in v0.42.0

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

ReadResponse reads a server response into the received o.

type QueryRevocationHistoriesOK

type QueryRevocationHistoriesOK struct {
	Payload *platformclientmodels.RevocationHistoryPagingSlicedResult
}

QueryRevocationHistoriesOK handles this case with default header values.

successful operation

func NewQueryRevocationHistoriesOK

func NewQueryRevocationHistoriesOK() *QueryRevocationHistoriesOK

NewQueryRevocationHistoriesOK creates a QueryRevocationHistoriesOK with default headers values

func (*QueryRevocationHistoriesOK) Error

func (*QueryRevocationHistoriesOK) GetPayload

func (*QueryRevocationHistoriesOK) ToJSONString

func (o *QueryRevocationHistoriesOK) ToJSONString() string

type QueryRevocationHistoriesParams

type QueryRevocationHistoriesParams struct {

	/*RetryPolicy*/
	RetryPolicy *utils.Retry
	/*Namespace*/
	Namespace string
	/*EndTime
	  end time is exclusive, using ISO 8601 format e.g. yyyy-MM-dd'T'HH:mm:ssZ

	*/
	EndTime *string
	/*Limit
	    limit. <div style="border-left: 4px solid #ffc107; background-color: #fff8e1; padding: 10px; margin: 10px 0;">
	    For performance and stability reasons, it is recommended to keep the
	    <code>limit</code> value <strong>no greater than 100</strong>. Using higher values may lead to increased response times or degraded service performance.
	</div>


	*/
	Limit *int32
	/*Offset*/
	Offset *int32
	/*Source*/
	Source *string
	/*StartTime
	  start time is inclusive, using ISO 8601 format e.g. yyyy-MM-dd'T'HH:mm:ssZ

	*/
	StartTime *string
	/*Status*/
	Status *string
	/*TransactionID*/
	TransactionID *string
	/*UserID*/
	UserID *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
}

QueryRevocationHistoriesParams contains all the parameters to send to the API endpoint for the query revocation histories operation typically these are written to a http.Request

func NewQueryRevocationHistoriesParams

func NewQueryRevocationHistoriesParams() *QueryRevocationHistoriesParams

NewQueryRevocationHistoriesParams creates a new QueryRevocationHistoriesParams object with the default values initialized.

func NewQueryRevocationHistoriesParamsWithContext

func NewQueryRevocationHistoriesParamsWithContext(ctx context.Context) *QueryRevocationHistoriesParams

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

func NewQueryRevocationHistoriesParamsWithHTTPClient

func NewQueryRevocationHistoriesParamsWithHTTPClient(client *http.Client) *QueryRevocationHistoriesParams

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

func NewQueryRevocationHistoriesParamsWithTimeout

func NewQueryRevocationHistoriesParamsWithTimeout(timeout time.Duration) *QueryRevocationHistoriesParams

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

func (*QueryRevocationHistoriesParams) SetAuthInfoWriter

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

SetAuthInfoWriter adds the authInfoWriter to the query revocation histories params

func (*QueryRevocationHistoriesParams) SetContext

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

SetContext adds the context to the query revocation histories params

func (*QueryRevocationHistoriesParams) SetEndTime

func (o *QueryRevocationHistoriesParams) SetEndTime(endTime *string)

SetEndTime adds the endTime to the query revocation histories params

func (*QueryRevocationHistoriesParams) SetFlightId added in v0.63.0

func (o *QueryRevocationHistoriesParams) SetFlightId(flightId string)

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

func (*QueryRevocationHistoriesParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the query revocation histories params

func (*QueryRevocationHistoriesParams) SetHTTPClientTransport

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

SetHTTPClient adds the HTTPClient Transport to the query revocation histories params

func (*QueryRevocationHistoriesParams) SetLimit

func (o *QueryRevocationHistoriesParams) SetLimit(limit *int32)

SetLimit adds the limit to the query revocation histories params

func (*QueryRevocationHistoriesParams) SetNamespace

func (o *QueryRevocationHistoriesParams) SetNamespace(namespace string)

SetNamespace adds the namespace to the query revocation histories params

func (*QueryRevocationHistoriesParams) SetOffset

func (o *QueryRevocationHistoriesParams) SetOffset(offset *int32)

SetOffset adds the offset to the query revocation histories params

func (*QueryRevocationHistoriesParams) SetSource

func (o *QueryRevocationHistoriesParams) SetSource(source *string)

SetSource adds the source to the query revocation histories params

func (*QueryRevocationHistoriesParams) SetStartTime

func (o *QueryRevocationHistoriesParams) SetStartTime(startTime *string)

SetStartTime adds the startTime to the query revocation histories params

func (*QueryRevocationHistoriesParams) SetStatus

func (o *QueryRevocationHistoriesParams) SetStatus(status *string)

SetStatus adds the status to the query revocation histories params

func (*QueryRevocationHistoriesParams) SetTimeout

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

SetTimeout adds the timeout to the query revocation histories params

func (*QueryRevocationHistoriesParams) SetTransactionID

func (o *QueryRevocationHistoriesParams) SetTransactionID(transactionID *string)

SetTransactionID adds the transactionId to the query revocation histories params

func (*QueryRevocationHistoriesParams) SetUserID

func (o *QueryRevocationHistoriesParams) SetUserID(userID *string)

SetUserID adds the userId to the query revocation histories params

func (*QueryRevocationHistoriesParams) WithContext

WithContext adds the context to the query revocation histories params

func (*QueryRevocationHistoriesParams) WithEndTime

WithEndTime adds the endTime to the query revocation histories params

func (*QueryRevocationHistoriesParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the query revocation histories params

func (*QueryRevocationHistoriesParams) WithLimit

WithLimit adds the limit to the query revocation histories params

func (*QueryRevocationHistoriesParams) WithNamespace

WithNamespace adds the namespace to the query revocation histories params

func (*QueryRevocationHistoriesParams) WithOffset

WithOffset adds the offset to the query revocation histories params

func (*QueryRevocationHistoriesParams) WithSource

WithSource adds the source to the query revocation histories params

func (*QueryRevocationHistoriesParams) WithStartTime

WithStartTime adds the startTime to the query revocation histories params

func (*QueryRevocationHistoriesParams) WithStatus

WithStatus adds the status to the query revocation histories params

func (*QueryRevocationHistoriesParams) WithTimeout

WithTimeout adds the timeout to the query revocation histories params

func (*QueryRevocationHistoriesParams) WithTransactionID

func (o *QueryRevocationHistoriesParams) WithTransactionID(transactionID *string) *QueryRevocationHistoriesParams

WithTransactionID adds the transactionID to the query revocation histories params

func (*QueryRevocationHistoriesParams) WithUserID

WithUserID adds the userID to the query revocation histories params

func (*QueryRevocationHistoriesParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type QueryRevocationHistoriesReader

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

QueryRevocationHistoriesReader is a Reader for the QueryRevocationHistories structure.

func (*QueryRevocationHistoriesReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type UpdateRevocationConfigOK

type UpdateRevocationConfigOK struct {
	Payload *platformclientmodels.RevocationConfigInfo
}

UpdateRevocationConfigOK handles this case with default header values.

successful operation

func NewUpdateRevocationConfigOK

func NewUpdateRevocationConfigOK() *UpdateRevocationConfigOK

NewUpdateRevocationConfigOK creates a UpdateRevocationConfigOK with default headers values

func (*UpdateRevocationConfigOK) Error

func (o *UpdateRevocationConfigOK) Error() string

func (*UpdateRevocationConfigOK) GetPayload

func (*UpdateRevocationConfigOK) ToJSONString

func (o *UpdateRevocationConfigOK) ToJSONString() string

type UpdateRevocationConfigParams

type UpdateRevocationConfigParams struct {

	/*RetryPolicy*/
	RetryPolicy *utils.Retry
	/*Body*/
	Body *platformclientmodels.RevocationConfigUpdate
	/*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
}

UpdateRevocationConfigParams contains all the parameters to send to the API endpoint for the update revocation config operation typically these are written to a http.Request

func NewUpdateRevocationConfigParams

func NewUpdateRevocationConfigParams() *UpdateRevocationConfigParams

NewUpdateRevocationConfigParams creates a new UpdateRevocationConfigParams object with the default values initialized.

func NewUpdateRevocationConfigParamsWithContext

func NewUpdateRevocationConfigParamsWithContext(ctx context.Context) *UpdateRevocationConfigParams

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

func NewUpdateRevocationConfigParamsWithHTTPClient

func NewUpdateRevocationConfigParamsWithHTTPClient(client *http.Client) *UpdateRevocationConfigParams

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

func NewUpdateRevocationConfigParamsWithTimeout

func NewUpdateRevocationConfigParamsWithTimeout(timeout time.Duration) *UpdateRevocationConfigParams

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

func (*UpdateRevocationConfigParams) SetAuthInfoWriter

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

SetAuthInfoWriter adds the authInfoWriter to the update revocation config params

func (*UpdateRevocationConfigParams) SetBody

SetBody adds the body to the update revocation config params

func (*UpdateRevocationConfigParams) SetContext

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

SetContext adds the context to the update revocation config params

func (*UpdateRevocationConfigParams) SetFlightId added in v0.63.0

func (o *UpdateRevocationConfigParams) SetFlightId(flightId string)

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

func (*UpdateRevocationConfigParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the update revocation config params

func (*UpdateRevocationConfigParams) SetHTTPClientTransport

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

SetHTTPClient adds the HTTPClient Transport to the update revocation config params

func (*UpdateRevocationConfigParams) SetNamespace

func (o *UpdateRevocationConfigParams) SetNamespace(namespace string)

SetNamespace adds the namespace to the update revocation config params

func (*UpdateRevocationConfigParams) SetTimeout

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

SetTimeout adds the timeout to the update revocation config params

func (*UpdateRevocationConfigParams) WithBody

WithBody adds the body to the update revocation config params

func (*UpdateRevocationConfigParams) WithContext

WithContext adds the context to the update revocation config params

func (*UpdateRevocationConfigParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the update revocation config params

func (*UpdateRevocationConfigParams) WithNamespace

WithNamespace adds the namespace to the update revocation config params

func (*UpdateRevocationConfigParams) WithTimeout

WithTimeout adds the timeout to the update revocation config params

func (*UpdateRevocationConfigParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type UpdateRevocationConfigReader

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

UpdateRevocationConfigReader is a Reader for the UpdateRevocationConfig structure.

func (*UpdateRevocationConfigReader) ReadResponse

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

ReadResponse reads a server response into the received o.

Jump to

Keyboard shortcuts

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