installation_tokens_settings

package
v0.6.0 Latest Latest
Warning

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

Go to latest
Published: Feb 27, 2024 License: MIT Imports: 11 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 installation tokens settings API

func (*Client) CustomerSettingsUpdate

func (a *Client) CustomerSettingsUpdate(params *CustomerSettingsUpdateParams, opts ...ClientOption) (*CustomerSettingsUpdateOK, error)

CustomerSettingsUpdate updates installation token settings

func (*Client) SetTransport

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

SetTransport changes the transport on the client

type ClientOption

type ClientOption func(*runtime.ClientOperation)

ClientOption is the option for Client methods

type ClientService

type ClientService interface {
	CustomerSettingsUpdate(params *CustomerSettingsUpdateParams, opts ...ClientOption) (*CustomerSettingsUpdateOK, 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 installation tokens settings API client.

type CustomerSettingsUpdateBadRequest

type CustomerSettingsUpdateBadRequest struct {

	/* Trace-ID: submit to support if resolving an issue
	 */
	XCSTRACEID string

	/* Request limit per minute.
	 */
	XRateLimitLimit int64

	/* The number of requests remaining for the sliding one minute window.
	 */
	XRateLimitRemaining int64

	Payload *models.MsaspecResponseFields
}

CustomerSettingsUpdateBadRequest describes a response with status code 400, with default header values.

Bad Request

func NewCustomerSettingsUpdateBadRequest

func NewCustomerSettingsUpdateBadRequest() *CustomerSettingsUpdateBadRequest

NewCustomerSettingsUpdateBadRequest creates a CustomerSettingsUpdateBadRequest with default headers values

func (*CustomerSettingsUpdateBadRequest) Code added in v0.2.33

Code gets the status code for the customer settings update bad request response

func (*CustomerSettingsUpdateBadRequest) Error

func (*CustomerSettingsUpdateBadRequest) GetPayload

func (*CustomerSettingsUpdateBadRequest) IsClientError

func (o *CustomerSettingsUpdateBadRequest) IsClientError() bool

IsClientError returns true when this customer settings update bad request response has a 4xx status code

func (*CustomerSettingsUpdateBadRequest) IsCode

func (o *CustomerSettingsUpdateBadRequest) IsCode(code int) bool

IsCode returns true when this customer settings update bad request response a status code equal to that given

func (*CustomerSettingsUpdateBadRequest) IsRedirect

func (o *CustomerSettingsUpdateBadRequest) IsRedirect() bool

IsRedirect returns true when this customer settings update bad request response has a 3xx status code

func (*CustomerSettingsUpdateBadRequest) IsServerError

func (o *CustomerSettingsUpdateBadRequest) IsServerError() bool

IsServerError returns true when this customer settings update bad request response has a 5xx status code

func (*CustomerSettingsUpdateBadRequest) IsSuccess

func (o *CustomerSettingsUpdateBadRequest) IsSuccess() bool

IsSuccess returns true when this customer settings update bad request response has a 2xx status code

func (*CustomerSettingsUpdateBadRequest) String

type CustomerSettingsUpdateForbidden

type CustomerSettingsUpdateForbidden struct {

	/* Trace-ID: submit to support if resolving an issue
	 */
	XCSTRACEID string

	/* Request limit per minute.
	 */
	XRateLimitLimit int64

	/* The number of requests remaining for the sliding one minute window.
	 */
	XRateLimitRemaining int64

	Payload *models.MsaspecResponseFields
}

CustomerSettingsUpdateForbidden describes a response with status code 403, with default header values.

Forbidden

func NewCustomerSettingsUpdateForbidden

func NewCustomerSettingsUpdateForbidden() *CustomerSettingsUpdateForbidden

NewCustomerSettingsUpdateForbidden creates a CustomerSettingsUpdateForbidden with default headers values

func (*CustomerSettingsUpdateForbidden) Code added in v0.2.33

Code gets the status code for the customer settings update forbidden response

func (*CustomerSettingsUpdateForbidden) Error

func (*CustomerSettingsUpdateForbidden) GetPayload

func (*CustomerSettingsUpdateForbidden) IsClientError

func (o *CustomerSettingsUpdateForbidden) IsClientError() bool

IsClientError returns true when this customer settings update forbidden response has a 4xx status code

func (*CustomerSettingsUpdateForbidden) IsCode

func (o *CustomerSettingsUpdateForbidden) IsCode(code int) bool

IsCode returns true when this customer settings update forbidden response a status code equal to that given

func (*CustomerSettingsUpdateForbidden) IsRedirect

func (o *CustomerSettingsUpdateForbidden) IsRedirect() bool

IsRedirect returns true when this customer settings update forbidden response has a 3xx status code

func (*CustomerSettingsUpdateForbidden) IsServerError

func (o *CustomerSettingsUpdateForbidden) IsServerError() bool

IsServerError returns true when this customer settings update forbidden response has a 5xx status code

func (*CustomerSettingsUpdateForbidden) IsSuccess

func (o *CustomerSettingsUpdateForbidden) IsSuccess() bool

IsSuccess returns true when this customer settings update forbidden response has a 2xx status code

func (*CustomerSettingsUpdateForbidden) String

type CustomerSettingsUpdateInternalServerError

type CustomerSettingsUpdateInternalServerError struct {

	/* Trace-ID: submit to support if resolving an issue
	 */
	XCSTRACEID string

	/* Request limit per minute.
	 */
	XRateLimitLimit int64

	/* The number of requests remaining for the sliding one minute window.
	 */
	XRateLimitRemaining int64

	Payload *models.MsaspecResponseFields
}

CustomerSettingsUpdateInternalServerError describes a response with status code 500, with default header values.

Internal Server Error

func NewCustomerSettingsUpdateInternalServerError

func NewCustomerSettingsUpdateInternalServerError() *CustomerSettingsUpdateInternalServerError

NewCustomerSettingsUpdateInternalServerError creates a CustomerSettingsUpdateInternalServerError with default headers values

func (*CustomerSettingsUpdateInternalServerError) Code added in v0.2.33

Code gets the status code for the customer settings update internal server error response

func (*CustomerSettingsUpdateInternalServerError) Error

func (*CustomerSettingsUpdateInternalServerError) GetPayload

func (*CustomerSettingsUpdateInternalServerError) IsClientError

IsClientError returns true when this customer settings update internal server error response has a 4xx status code

func (*CustomerSettingsUpdateInternalServerError) IsCode

IsCode returns true when this customer settings update internal server error response a status code equal to that given

func (*CustomerSettingsUpdateInternalServerError) IsRedirect

IsRedirect returns true when this customer settings update internal server error response has a 3xx status code

func (*CustomerSettingsUpdateInternalServerError) IsServerError

IsServerError returns true when this customer settings update internal server error response has a 5xx status code

func (*CustomerSettingsUpdateInternalServerError) IsSuccess

IsSuccess returns true when this customer settings update internal server error response has a 2xx status code

func (*CustomerSettingsUpdateInternalServerError) String

type CustomerSettingsUpdateNotFound

type CustomerSettingsUpdateNotFound struct {

	/* Trace-ID: submit to support if resolving an issue
	 */
	XCSTRACEID string

	/* Request limit per minute.
	 */
	XRateLimitLimit int64

	/* The number of requests remaining for the sliding one minute window.
	 */
	XRateLimitRemaining int64

	Payload *models.MsaspecQueryResponse
}

CustomerSettingsUpdateNotFound describes a response with status code 404, with default header values.

Not Found

func NewCustomerSettingsUpdateNotFound

func NewCustomerSettingsUpdateNotFound() *CustomerSettingsUpdateNotFound

NewCustomerSettingsUpdateNotFound creates a CustomerSettingsUpdateNotFound with default headers values

func (*CustomerSettingsUpdateNotFound) Code added in v0.2.33

Code gets the status code for the customer settings update not found response

func (*CustomerSettingsUpdateNotFound) Error

func (*CustomerSettingsUpdateNotFound) GetPayload

func (*CustomerSettingsUpdateNotFound) IsClientError

func (o *CustomerSettingsUpdateNotFound) IsClientError() bool

IsClientError returns true when this customer settings update not found response has a 4xx status code

func (*CustomerSettingsUpdateNotFound) IsCode

func (o *CustomerSettingsUpdateNotFound) IsCode(code int) bool

IsCode returns true when this customer settings update not found response a status code equal to that given

func (*CustomerSettingsUpdateNotFound) IsRedirect

func (o *CustomerSettingsUpdateNotFound) IsRedirect() bool

IsRedirect returns true when this customer settings update not found response has a 3xx status code

func (*CustomerSettingsUpdateNotFound) IsServerError

func (o *CustomerSettingsUpdateNotFound) IsServerError() bool

IsServerError returns true when this customer settings update not found response has a 5xx status code

func (*CustomerSettingsUpdateNotFound) IsSuccess

func (o *CustomerSettingsUpdateNotFound) IsSuccess() bool

IsSuccess returns true when this customer settings update not found response has a 2xx status code

func (*CustomerSettingsUpdateNotFound) String

type CustomerSettingsUpdateOK

type CustomerSettingsUpdateOK struct {

	/* Trace-ID: submit to support if resolving an issue
	 */
	XCSTRACEID string

	/* Request limit per minute.
	 */
	XRateLimitLimit int64

	/* The number of requests remaining for the sliding one minute window.
	 */
	XRateLimitRemaining int64

	Payload *models.MsaspecQueryResponse
}

CustomerSettingsUpdateOK describes a response with status code 200, with default header values.

OK

func NewCustomerSettingsUpdateOK

func NewCustomerSettingsUpdateOK() *CustomerSettingsUpdateOK

NewCustomerSettingsUpdateOK creates a CustomerSettingsUpdateOK with default headers values

func (*CustomerSettingsUpdateOK) Code added in v0.2.33

func (o *CustomerSettingsUpdateOK) Code() int

Code gets the status code for the customer settings update o k response

func (*CustomerSettingsUpdateOK) Error

func (o *CustomerSettingsUpdateOK) Error() string

func (*CustomerSettingsUpdateOK) GetPayload

func (*CustomerSettingsUpdateOK) IsClientError

func (o *CustomerSettingsUpdateOK) IsClientError() bool

IsClientError returns true when this customer settings update o k response has a 4xx status code

func (*CustomerSettingsUpdateOK) IsCode

func (o *CustomerSettingsUpdateOK) IsCode(code int) bool

IsCode returns true when this customer settings update o k response a status code equal to that given

func (*CustomerSettingsUpdateOK) IsRedirect

func (o *CustomerSettingsUpdateOK) IsRedirect() bool

IsRedirect returns true when this customer settings update o k response has a 3xx status code

func (*CustomerSettingsUpdateOK) IsServerError

func (o *CustomerSettingsUpdateOK) IsServerError() bool

IsServerError returns true when this customer settings update o k response has a 5xx status code

func (*CustomerSettingsUpdateOK) IsSuccess

func (o *CustomerSettingsUpdateOK) IsSuccess() bool

IsSuccess returns true when this customer settings update o k response has a 2xx status code

func (*CustomerSettingsUpdateOK) String

func (o *CustomerSettingsUpdateOK) String() string

type CustomerSettingsUpdateParams

type CustomerSettingsUpdateParams struct {

	// Body.
	Body *models.APICustomerSettingsPatchRequestV1

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

CustomerSettingsUpdateParams contains all the parameters to send to the API endpoint

for the customer settings update operation.

Typically these are written to a http.Request.

func NewCustomerSettingsUpdateParams

func NewCustomerSettingsUpdateParams() *CustomerSettingsUpdateParams

NewCustomerSettingsUpdateParams creates a new CustomerSettingsUpdateParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewCustomerSettingsUpdateParamsWithContext

func NewCustomerSettingsUpdateParamsWithContext(ctx context.Context) *CustomerSettingsUpdateParams

NewCustomerSettingsUpdateParamsWithContext creates a new CustomerSettingsUpdateParams object with the ability to set a context for a request.

func NewCustomerSettingsUpdateParamsWithHTTPClient

func NewCustomerSettingsUpdateParamsWithHTTPClient(client *http.Client) *CustomerSettingsUpdateParams

NewCustomerSettingsUpdateParamsWithHTTPClient creates a new CustomerSettingsUpdateParams object with the ability to set a custom HTTPClient for a request.

func NewCustomerSettingsUpdateParamsWithTimeout

func NewCustomerSettingsUpdateParamsWithTimeout(timeout time.Duration) *CustomerSettingsUpdateParams

NewCustomerSettingsUpdateParamsWithTimeout creates a new CustomerSettingsUpdateParams object with the ability to set a timeout on a request.

func (*CustomerSettingsUpdateParams) SetBody

SetBody adds the body to the customer settings update params

func (*CustomerSettingsUpdateParams) SetContext

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

SetContext adds the context to the customer settings update params

func (*CustomerSettingsUpdateParams) SetDefaults

func (o *CustomerSettingsUpdateParams) SetDefaults()

SetDefaults hydrates default values in the customer settings update params (not the query body).

All values with no default are reset to their zero value.

func (*CustomerSettingsUpdateParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the customer settings update params

func (*CustomerSettingsUpdateParams) SetTimeout

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

SetTimeout adds the timeout to the customer settings update params

func (*CustomerSettingsUpdateParams) WithBody

WithBody adds the body to the customer settings update params

func (*CustomerSettingsUpdateParams) WithContext

WithContext adds the context to the customer settings update params

func (*CustomerSettingsUpdateParams) WithDefaults

WithDefaults hydrates default values in the customer settings update params (not the query body).

All values with no default are reset to their zero value.

func (*CustomerSettingsUpdateParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the customer settings update params

func (*CustomerSettingsUpdateParams) WithTimeout

WithTimeout adds the timeout to the customer settings update params

func (*CustomerSettingsUpdateParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type CustomerSettingsUpdateReader

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

CustomerSettingsUpdateReader is a Reader for the CustomerSettingsUpdate structure.

func (*CustomerSettingsUpdateReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type CustomerSettingsUpdateTooManyRequests

type CustomerSettingsUpdateTooManyRequests struct {

	/* Trace-ID: submit to support if resolving an issue
	 */
	XCSTRACEID string

	/* Request limit per minute.
	 */
	XRateLimitLimit int64

	/* The number of requests remaining for the sliding one minute window.
	 */
	XRateLimitRemaining int64

	/* Too many requests, retry after this time (as milliseconds since epoch)
	 */
	XRateLimitRetryAfter int64

	Payload *models.MsaReplyMetaOnly
}

CustomerSettingsUpdateTooManyRequests describes a response with status code 429, with default header values.

Too Many Requests

func NewCustomerSettingsUpdateTooManyRequests

func NewCustomerSettingsUpdateTooManyRequests() *CustomerSettingsUpdateTooManyRequests

NewCustomerSettingsUpdateTooManyRequests creates a CustomerSettingsUpdateTooManyRequests with default headers values

func (*CustomerSettingsUpdateTooManyRequests) Code added in v0.2.33

Code gets the status code for the customer settings update too many requests response

func (*CustomerSettingsUpdateTooManyRequests) Error

func (*CustomerSettingsUpdateTooManyRequests) GetPayload

func (*CustomerSettingsUpdateTooManyRequests) IsClientError

func (o *CustomerSettingsUpdateTooManyRequests) IsClientError() bool

IsClientError returns true when this customer settings update too many requests response has a 4xx status code

func (*CustomerSettingsUpdateTooManyRequests) IsCode

IsCode returns true when this customer settings update too many requests response a status code equal to that given

func (*CustomerSettingsUpdateTooManyRequests) IsRedirect

IsRedirect returns true when this customer settings update too many requests response has a 3xx status code

func (*CustomerSettingsUpdateTooManyRequests) IsServerError

func (o *CustomerSettingsUpdateTooManyRequests) IsServerError() bool

IsServerError returns true when this customer settings update too many requests response has a 5xx status code

func (*CustomerSettingsUpdateTooManyRequests) IsSuccess

IsSuccess returns true when this customer settings update too many requests response has a 2xx status code

func (*CustomerSettingsUpdateTooManyRequests) String

Jump to

Keyboard shortcuts

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