d4c_registration

package
v0.2.15 Latest Latest
Warning

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

Go to latest
Published: Nov 23, 2021 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 d4c registration API

func (*Client) CreateCSPMGCPAccount

CreateCSPMGCPAccount creates a new account in our system for a customer and generates a new service account for them to add access to in their g c p environment to grant us access

func (*Client) GetCSPMAzureUserScripts

GetCSPMAzureUserScripts returns a script for customer to run in their cloud environment to grant us access to their azure environment

func (*Client) GetCSPMCGPAccount

GetCSPMCGPAccount returns information about the current status of an g c p account

func (*Client) GetCSPMGCPUserScripts

GetCSPMGCPUserScripts returns a script for customer to run in their cloud environment to grant us access to their g c p environment

func (*Client) GetCSPMGCPUserScriptsAttachment

func (a *Client) GetCSPMGCPUserScriptsAttachment(params *GetCSPMGCPUserScriptsAttachmentParams, opts ...ClientOption) (*GetCSPMGCPUserScriptsAttachmentOK, error)

GetCSPMGCPUserScriptsAttachment returns a script for customer to run in their cloud environment to grant us access to their g c p environment as a downloadable attachment

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

ClientService is the interface for Client methods

func New

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

New creates a new d4c registration API client.

type CreateCSPMGCPAccountBadRequest

type CreateCSPMGCPAccountBadRequest struct {

	/* Request limit per minute.
	 */
	XRateLimitLimit int64

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

	Payload *models.RegistrationGCPAccountResponseV1
}
CreateCSPMGCPAccountBadRequest describes a response with status code 400, with default header values.

Bad Request

func NewCreateCSPMGCPAccountBadRequest

func NewCreateCSPMGCPAccountBadRequest() *CreateCSPMGCPAccountBadRequest

NewCreateCSPMGCPAccountBadRequest creates a CreateCSPMGCPAccountBadRequest with default headers values

func (*CreateCSPMGCPAccountBadRequest) Error

func (*CreateCSPMGCPAccountBadRequest) GetPayload

type CreateCSPMGCPAccountCreated

type CreateCSPMGCPAccountCreated struct {

	/* Request limit per minute.
	 */
	XRateLimitLimit int64

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

	Payload *models.RegistrationGCPAccountResponseV1
}
CreateCSPMGCPAccountCreated describes a response with status code 201, with default header values.

Created

func NewCreateCSPMGCPAccountCreated

func NewCreateCSPMGCPAccountCreated() *CreateCSPMGCPAccountCreated

NewCreateCSPMGCPAccountCreated creates a CreateCSPMGCPAccountCreated with default headers values

func (*CreateCSPMGCPAccountCreated) Error

func (*CreateCSPMGCPAccountCreated) GetPayload

type CreateCSPMGCPAccountForbidden

type CreateCSPMGCPAccountForbidden struct {

	/* Request limit per minute.
	 */
	XRateLimitLimit int64

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

	Payload *models.MsaReplyMetaOnly
}
CreateCSPMGCPAccountForbidden describes a response with status code 403, with default header values.

Forbidden

func NewCreateCSPMGCPAccountForbidden

func NewCreateCSPMGCPAccountForbidden() *CreateCSPMGCPAccountForbidden

NewCreateCSPMGCPAccountForbidden creates a CreateCSPMGCPAccountForbidden with default headers values

func (*CreateCSPMGCPAccountForbidden) Error

func (*CreateCSPMGCPAccountForbidden) GetPayload

type CreateCSPMGCPAccountInternalServerError

type CreateCSPMGCPAccountInternalServerError struct {

	/* Request limit per minute.
	 */
	XRateLimitLimit int64

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

	Payload *models.RegistrationGCPAccountResponseV1
}
CreateCSPMGCPAccountInternalServerError describes a response with status code 500, with default header values.

Internal Server Error

func NewCreateCSPMGCPAccountInternalServerError

func NewCreateCSPMGCPAccountInternalServerError() *CreateCSPMGCPAccountInternalServerError

NewCreateCSPMGCPAccountInternalServerError creates a CreateCSPMGCPAccountInternalServerError with default headers values

func (*CreateCSPMGCPAccountInternalServerError) Error

func (*CreateCSPMGCPAccountInternalServerError) GetPayload

type CreateCSPMGCPAccountMultiStatus

type CreateCSPMGCPAccountMultiStatus struct {

	/* Request limit per minute.
	 */
	XRateLimitLimit int64

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

	Payload *models.RegistrationGCPAccountResponseV1
}
CreateCSPMGCPAccountMultiStatus describes a response with status code 207, with default header values.

Multi-Status

func NewCreateCSPMGCPAccountMultiStatus

func NewCreateCSPMGCPAccountMultiStatus() *CreateCSPMGCPAccountMultiStatus

NewCreateCSPMGCPAccountMultiStatus creates a CreateCSPMGCPAccountMultiStatus with default headers values

func (*CreateCSPMGCPAccountMultiStatus) Error

func (*CreateCSPMGCPAccountMultiStatus) GetPayload

type CreateCSPMGCPAccountParams

type CreateCSPMGCPAccountParams struct {

	// Body.
	Body *models.RegistrationGCPAccountCreateRequestExtV1

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

CreateCSPMGCPAccountParams contains all the parameters to send to the API endpoint

for the create c s p m g c p account operation.

Typically these are written to a http.Request.

func NewCreateCSPMGCPAccountParams

func NewCreateCSPMGCPAccountParams() *CreateCSPMGCPAccountParams

NewCreateCSPMGCPAccountParams creates a new CreateCSPMGCPAccountParams 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 NewCreateCSPMGCPAccountParamsWithContext

func NewCreateCSPMGCPAccountParamsWithContext(ctx context.Context) *CreateCSPMGCPAccountParams

NewCreateCSPMGCPAccountParamsWithContext creates a new CreateCSPMGCPAccountParams object with the ability to set a context for a request.

func NewCreateCSPMGCPAccountParamsWithHTTPClient

func NewCreateCSPMGCPAccountParamsWithHTTPClient(client *http.Client) *CreateCSPMGCPAccountParams

NewCreateCSPMGCPAccountParamsWithHTTPClient creates a new CreateCSPMGCPAccountParams object with the ability to set a custom HTTPClient for a request.

func NewCreateCSPMGCPAccountParamsWithTimeout

func NewCreateCSPMGCPAccountParamsWithTimeout(timeout time.Duration) *CreateCSPMGCPAccountParams

NewCreateCSPMGCPAccountParamsWithTimeout creates a new CreateCSPMGCPAccountParams object with the ability to set a timeout on a request.

func (*CreateCSPMGCPAccountParams) SetBody

SetBody adds the body to the create c s p m g c p account params

func (*CreateCSPMGCPAccountParams) SetContext

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

SetContext adds the context to the create c s p m g c p account params

func (*CreateCSPMGCPAccountParams) SetDefaults

func (o *CreateCSPMGCPAccountParams) SetDefaults()

SetDefaults hydrates default values in the create c s p m g c p account params (not the query body).

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

func (*CreateCSPMGCPAccountParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the create c s p m g c p account params

func (*CreateCSPMGCPAccountParams) SetTimeout

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

SetTimeout adds the timeout to the create c s p m g c p account params

func (*CreateCSPMGCPAccountParams) WithBody

WithBody adds the body to the create c s p m g c p account params

func (*CreateCSPMGCPAccountParams) WithContext

WithContext adds the context to the create c s p m g c p account params

func (*CreateCSPMGCPAccountParams) WithDefaults

WithDefaults hydrates default values in the create c s p m g c p account params (not the query body).

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

func (*CreateCSPMGCPAccountParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the create c s p m g c p account params

func (*CreateCSPMGCPAccountParams) WithTimeout

WithTimeout adds the timeout to the create c s p m g c p account params

func (*CreateCSPMGCPAccountParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type CreateCSPMGCPAccountReader

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

CreateCSPMGCPAccountReader is a Reader for the CreateCSPMGCPAccount structure.

func (*CreateCSPMGCPAccountReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type CreateCSPMGCPAccountTooManyRequests

type CreateCSPMGCPAccountTooManyRequests struct {

	/* 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
}
CreateCSPMGCPAccountTooManyRequests describes a response with status code 429, with default header values.

Too Many Requests

func NewCreateCSPMGCPAccountTooManyRequests

func NewCreateCSPMGCPAccountTooManyRequests() *CreateCSPMGCPAccountTooManyRequests

NewCreateCSPMGCPAccountTooManyRequests creates a CreateCSPMGCPAccountTooManyRequests with default headers values

func (*CreateCSPMGCPAccountTooManyRequests) Error

func (*CreateCSPMGCPAccountTooManyRequests) GetPayload

type GetCSPMAzureUserScriptsBadRequest

type GetCSPMAzureUserScriptsBadRequest struct {

	/* Request limit per minute.
	 */
	XRateLimitLimit int64

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

	Payload *models.RegistrationAzureProvisionGetUserScriptResponseV1
}
GetCSPMAzureUserScriptsBadRequest describes a response with status code 400, with default header values.

Bad Request

func NewGetCSPMAzureUserScriptsBadRequest

func NewGetCSPMAzureUserScriptsBadRequest() *GetCSPMAzureUserScriptsBadRequest

NewGetCSPMAzureUserScriptsBadRequest creates a GetCSPMAzureUserScriptsBadRequest with default headers values

func (*GetCSPMAzureUserScriptsBadRequest) Error

func (*GetCSPMAzureUserScriptsBadRequest) GetPayload

type GetCSPMAzureUserScriptsDefault

type GetCSPMAzureUserScriptsDefault struct {
	Payload *models.RegistrationAzureProvisionGetUserScriptResponseV1
	// contains filtered or unexported fields
}
GetCSPMAzureUserScriptsDefault describes a response with status code -1, with default header values.

OK

func NewGetCSPMAzureUserScriptsDefault

func NewGetCSPMAzureUserScriptsDefault(code int) *GetCSPMAzureUserScriptsDefault

NewGetCSPMAzureUserScriptsDefault creates a GetCSPMAzureUserScriptsDefault with default headers values

func (*GetCSPMAzureUserScriptsDefault) Code

Code gets the status code for the get c s p m azure user scripts default response

func (*GetCSPMAzureUserScriptsDefault) Error

func (*GetCSPMAzureUserScriptsDefault) GetPayload

type GetCSPMAzureUserScriptsForbidden

type GetCSPMAzureUserScriptsForbidden struct {

	/* Request limit per minute.
	 */
	XRateLimitLimit int64

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

	Payload *models.MsaReplyMetaOnly
}
GetCSPMAzureUserScriptsForbidden describes a response with status code 403, with default header values.

Forbidden

func NewGetCSPMAzureUserScriptsForbidden

func NewGetCSPMAzureUserScriptsForbidden() *GetCSPMAzureUserScriptsForbidden

NewGetCSPMAzureUserScriptsForbidden creates a GetCSPMAzureUserScriptsForbidden with default headers values

func (*GetCSPMAzureUserScriptsForbidden) Error

func (*GetCSPMAzureUserScriptsForbidden) GetPayload

type GetCSPMAzureUserScriptsInternalServerError

type GetCSPMAzureUserScriptsInternalServerError struct {

	/* Request limit per minute.
	 */
	XRateLimitLimit int64

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

	Payload *models.RegistrationAzureProvisionGetUserScriptResponseV1
}
GetCSPMAzureUserScriptsInternalServerError describes a response with status code 500, with default header values.

Internal Server Error

func NewGetCSPMAzureUserScriptsInternalServerError

func NewGetCSPMAzureUserScriptsInternalServerError() *GetCSPMAzureUserScriptsInternalServerError

NewGetCSPMAzureUserScriptsInternalServerError creates a GetCSPMAzureUserScriptsInternalServerError with default headers values

func (*GetCSPMAzureUserScriptsInternalServerError) Error

func (*GetCSPMAzureUserScriptsInternalServerError) GetPayload

type GetCSPMAzureUserScriptsMultiStatus

type GetCSPMAzureUserScriptsMultiStatus struct {

	/* Request limit per minute.
	 */
	XRateLimitLimit int64

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

	Payload *models.RegistrationAzureProvisionGetUserScriptResponseV1
}
GetCSPMAzureUserScriptsMultiStatus describes a response with status code 207, with default header values.

Multi-Status

func NewGetCSPMAzureUserScriptsMultiStatus

func NewGetCSPMAzureUserScriptsMultiStatus() *GetCSPMAzureUserScriptsMultiStatus

NewGetCSPMAzureUserScriptsMultiStatus creates a GetCSPMAzureUserScriptsMultiStatus with default headers values

func (*GetCSPMAzureUserScriptsMultiStatus) Error

func (*GetCSPMAzureUserScriptsMultiStatus) GetPayload

type GetCSPMAzureUserScriptsOK

type GetCSPMAzureUserScriptsOK struct {

	/* Request limit per minute.
	 */
	XRateLimitLimit int64

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

	Payload *models.RegistrationAzureProvisionGetUserScriptResponseV1
}
GetCSPMAzureUserScriptsOK describes a response with status code 200, with default header values.

OK

func NewGetCSPMAzureUserScriptsOK

func NewGetCSPMAzureUserScriptsOK() *GetCSPMAzureUserScriptsOK

NewGetCSPMAzureUserScriptsOK creates a GetCSPMAzureUserScriptsOK with default headers values

func (*GetCSPMAzureUserScriptsOK) Error

func (o *GetCSPMAzureUserScriptsOK) Error() string

func (*GetCSPMAzureUserScriptsOK) GetPayload

type GetCSPMAzureUserScriptsParams

type GetCSPMAzureUserScriptsParams struct {
	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

GetCSPMAzureUserScriptsParams contains all the parameters to send to the API endpoint

for the get c s p m azure user scripts operation.

Typically these are written to a http.Request.

func NewGetCSPMAzureUserScriptsParams

func NewGetCSPMAzureUserScriptsParams() *GetCSPMAzureUserScriptsParams

NewGetCSPMAzureUserScriptsParams creates a new GetCSPMAzureUserScriptsParams 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 NewGetCSPMAzureUserScriptsParamsWithContext

func NewGetCSPMAzureUserScriptsParamsWithContext(ctx context.Context) *GetCSPMAzureUserScriptsParams

NewGetCSPMAzureUserScriptsParamsWithContext creates a new GetCSPMAzureUserScriptsParams object with the ability to set a context for a request.

func NewGetCSPMAzureUserScriptsParamsWithHTTPClient

func NewGetCSPMAzureUserScriptsParamsWithHTTPClient(client *http.Client) *GetCSPMAzureUserScriptsParams

NewGetCSPMAzureUserScriptsParamsWithHTTPClient creates a new GetCSPMAzureUserScriptsParams object with the ability to set a custom HTTPClient for a request.

func NewGetCSPMAzureUserScriptsParamsWithTimeout

func NewGetCSPMAzureUserScriptsParamsWithTimeout(timeout time.Duration) *GetCSPMAzureUserScriptsParams

NewGetCSPMAzureUserScriptsParamsWithTimeout creates a new GetCSPMAzureUserScriptsParams object with the ability to set a timeout on a request.

func (*GetCSPMAzureUserScriptsParams) SetContext

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

SetContext adds the context to the get c s p m azure user scripts params

func (*GetCSPMAzureUserScriptsParams) SetDefaults

func (o *GetCSPMAzureUserScriptsParams) SetDefaults()

SetDefaults hydrates default values in the get c s p m azure user scripts params (not the query body).

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

func (*GetCSPMAzureUserScriptsParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get c s p m azure user scripts params

func (*GetCSPMAzureUserScriptsParams) SetTimeout

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

SetTimeout adds the timeout to the get c s p m azure user scripts params

func (*GetCSPMAzureUserScriptsParams) WithContext

WithContext adds the context to the get c s p m azure user scripts params

func (*GetCSPMAzureUserScriptsParams) WithDefaults

WithDefaults hydrates default values in the get c s p m azure user scripts params (not the query body).

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

func (*GetCSPMAzureUserScriptsParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get c s p m azure user scripts params

func (*GetCSPMAzureUserScriptsParams) WithTimeout

WithTimeout adds the timeout to the get c s p m azure user scripts params

func (*GetCSPMAzureUserScriptsParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetCSPMAzureUserScriptsReader

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

GetCSPMAzureUserScriptsReader is a Reader for the GetCSPMAzureUserScripts structure.

func (*GetCSPMAzureUserScriptsReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetCSPMAzureUserScriptsTooManyRequests

type GetCSPMAzureUserScriptsTooManyRequests struct {

	/* 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
}
GetCSPMAzureUserScriptsTooManyRequests describes a response with status code 429, with default header values.

Too Many Requests

func NewGetCSPMAzureUserScriptsTooManyRequests

func NewGetCSPMAzureUserScriptsTooManyRequests() *GetCSPMAzureUserScriptsTooManyRequests

NewGetCSPMAzureUserScriptsTooManyRequests creates a GetCSPMAzureUserScriptsTooManyRequests with default headers values

func (*GetCSPMAzureUserScriptsTooManyRequests) Error

func (*GetCSPMAzureUserScriptsTooManyRequests) GetPayload

type GetCSPMCGPAccountBadRequest

type GetCSPMCGPAccountBadRequest struct {

	/* Request limit per minute.
	 */
	XRateLimitLimit int64

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

	Payload *models.RegistrationGCPAccountResponseV1
}
GetCSPMCGPAccountBadRequest describes a response with status code 400, with default header values.

Bad Request

func NewGetCSPMCGPAccountBadRequest

func NewGetCSPMCGPAccountBadRequest() *GetCSPMCGPAccountBadRequest

NewGetCSPMCGPAccountBadRequest creates a GetCSPMCGPAccountBadRequest with default headers values

func (*GetCSPMCGPAccountBadRequest) Error

func (*GetCSPMCGPAccountBadRequest) GetPayload

type GetCSPMCGPAccountDefault

type GetCSPMCGPAccountDefault struct {
	Payload *models.RegistrationGCPAccountResponseV1
	// contains filtered or unexported fields
}
GetCSPMCGPAccountDefault describes a response with status code -1, with default header values.

OK

func NewGetCSPMCGPAccountDefault

func NewGetCSPMCGPAccountDefault(code int) *GetCSPMCGPAccountDefault

NewGetCSPMCGPAccountDefault creates a GetCSPMCGPAccountDefault with default headers values

func (*GetCSPMCGPAccountDefault) Code

func (o *GetCSPMCGPAccountDefault) Code() int

Code gets the status code for the get c s p m c g p account default response

func (*GetCSPMCGPAccountDefault) Error

func (o *GetCSPMCGPAccountDefault) Error() string

func (*GetCSPMCGPAccountDefault) GetPayload

type GetCSPMCGPAccountForbidden

type GetCSPMCGPAccountForbidden struct {

	/* Request limit per minute.
	 */
	XRateLimitLimit int64

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

	Payload *models.MsaReplyMetaOnly
}
GetCSPMCGPAccountForbidden describes a response with status code 403, with default header values.

Forbidden

func NewGetCSPMCGPAccountForbidden

func NewGetCSPMCGPAccountForbidden() *GetCSPMCGPAccountForbidden

NewGetCSPMCGPAccountForbidden creates a GetCSPMCGPAccountForbidden with default headers values

func (*GetCSPMCGPAccountForbidden) Error

func (*GetCSPMCGPAccountForbidden) GetPayload

type GetCSPMCGPAccountInternalServerError

type GetCSPMCGPAccountInternalServerError struct {

	/* Request limit per minute.
	 */
	XRateLimitLimit int64

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

	Payload *models.RegistrationGCPAccountResponseV1
}
GetCSPMCGPAccountInternalServerError describes a response with status code 500, with default header values.

Internal Server Error

func NewGetCSPMCGPAccountInternalServerError

func NewGetCSPMCGPAccountInternalServerError() *GetCSPMCGPAccountInternalServerError

NewGetCSPMCGPAccountInternalServerError creates a GetCSPMCGPAccountInternalServerError with default headers values

func (*GetCSPMCGPAccountInternalServerError) Error

func (*GetCSPMCGPAccountInternalServerError) GetPayload

type GetCSPMCGPAccountMultiStatus

type GetCSPMCGPAccountMultiStatus struct {

	/* Request limit per minute.
	 */
	XRateLimitLimit int64

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

	Payload *models.RegistrationGCPAccountResponseV1
}
GetCSPMCGPAccountMultiStatus describes a response with status code 207, with default header values.

Multi-Status

func NewGetCSPMCGPAccountMultiStatus

func NewGetCSPMCGPAccountMultiStatus() *GetCSPMCGPAccountMultiStatus

NewGetCSPMCGPAccountMultiStatus creates a GetCSPMCGPAccountMultiStatus with default headers values

func (*GetCSPMCGPAccountMultiStatus) Error

func (*GetCSPMCGPAccountMultiStatus) GetPayload

type GetCSPMCGPAccountOK

type GetCSPMCGPAccountOK struct {

	/* Request limit per minute.
	 */
	XRateLimitLimit int64

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

	Payload *models.RegistrationGCPAccountResponseV1
}
GetCSPMCGPAccountOK describes a response with status code 200, with default header values.

OK

func NewGetCSPMCGPAccountOK

func NewGetCSPMCGPAccountOK() *GetCSPMCGPAccountOK

NewGetCSPMCGPAccountOK creates a GetCSPMCGPAccountOK with default headers values

func (*GetCSPMCGPAccountOK) Error

func (o *GetCSPMCGPAccountOK) Error() string

func (*GetCSPMCGPAccountOK) GetPayload

type GetCSPMCGPAccountParams

type GetCSPMCGPAccountParams struct {

	/* Ids.

	   Parent IDs of accounts
	*/
	Ids []string

	/* ScanType.

	   Type of scan, dry or full, to perform on selected accounts
	*/
	ScanType *string

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

GetCSPMCGPAccountParams contains all the parameters to send to the API endpoint

for the get c s p m c g p account operation.

Typically these are written to a http.Request.

func NewGetCSPMCGPAccountParams

func NewGetCSPMCGPAccountParams() *GetCSPMCGPAccountParams

NewGetCSPMCGPAccountParams creates a new GetCSPMCGPAccountParams 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 NewGetCSPMCGPAccountParamsWithContext

func NewGetCSPMCGPAccountParamsWithContext(ctx context.Context) *GetCSPMCGPAccountParams

NewGetCSPMCGPAccountParamsWithContext creates a new GetCSPMCGPAccountParams object with the ability to set a context for a request.

func NewGetCSPMCGPAccountParamsWithHTTPClient

func NewGetCSPMCGPAccountParamsWithHTTPClient(client *http.Client) *GetCSPMCGPAccountParams

NewGetCSPMCGPAccountParamsWithHTTPClient creates a new GetCSPMCGPAccountParams object with the ability to set a custom HTTPClient for a request.

func NewGetCSPMCGPAccountParamsWithTimeout

func NewGetCSPMCGPAccountParamsWithTimeout(timeout time.Duration) *GetCSPMCGPAccountParams

NewGetCSPMCGPAccountParamsWithTimeout creates a new GetCSPMCGPAccountParams object with the ability to set a timeout on a request.

func (*GetCSPMCGPAccountParams) SetContext

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

SetContext adds the context to the get c s p m c g p account params

func (*GetCSPMCGPAccountParams) SetDefaults

func (o *GetCSPMCGPAccountParams) SetDefaults()

SetDefaults hydrates default values in the get c s p m c g p account params (not the query body).

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

func (*GetCSPMCGPAccountParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get c s p m c g p account params

func (*GetCSPMCGPAccountParams) SetIds

func (o *GetCSPMCGPAccountParams) SetIds(ids []string)

SetIds adds the ids to the get c s p m c g p account params

func (*GetCSPMCGPAccountParams) SetScanType

func (o *GetCSPMCGPAccountParams) SetScanType(scanType *string)

SetScanType adds the scanType to the get c s p m c g p account params

func (*GetCSPMCGPAccountParams) SetTimeout

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

SetTimeout adds the timeout to the get c s p m c g p account params

func (*GetCSPMCGPAccountParams) WithContext

WithContext adds the context to the get c s p m c g p account params

func (*GetCSPMCGPAccountParams) WithDefaults

WithDefaults hydrates default values in the get c s p m c g p account params (not the query body).

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

func (*GetCSPMCGPAccountParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the get c s p m c g p account params

func (*GetCSPMCGPAccountParams) WithIds

WithIds adds the ids to the get c s p m c g p account params

func (*GetCSPMCGPAccountParams) WithScanType

func (o *GetCSPMCGPAccountParams) WithScanType(scanType *string) *GetCSPMCGPAccountParams

WithScanType adds the scanType to the get c s p m c g p account params

func (*GetCSPMCGPAccountParams) WithTimeout

WithTimeout adds the timeout to the get c s p m c g p account params

func (*GetCSPMCGPAccountParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetCSPMCGPAccountReader

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

GetCSPMCGPAccountReader is a Reader for the GetCSPMCGPAccount structure.

func (*GetCSPMCGPAccountReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetCSPMCGPAccountTooManyRequests

type GetCSPMCGPAccountTooManyRequests struct {

	/* 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
}
GetCSPMCGPAccountTooManyRequests describes a response with status code 429, with default header values.

Too Many Requests

func NewGetCSPMCGPAccountTooManyRequests

func NewGetCSPMCGPAccountTooManyRequests() *GetCSPMCGPAccountTooManyRequests

NewGetCSPMCGPAccountTooManyRequests creates a GetCSPMCGPAccountTooManyRequests with default headers values

func (*GetCSPMCGPAccountTooManyRequests) Error

func (*GetCSPMCGPAccountTooManyRequests) GetPayload

type GetCSPMGCPUserScriptsAttachmentBadRequest

type GetCSPMGCPUserScriptsAttachmentBadRequest struct {

	/* Request limit per minute.
	 */
	XRateLimitLimit int64

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

	Payload *models.RegistrationGCPProvisionGetUserScriptResponseV1
}
GetCSPMGCPUserScriptsAttachmentBadRequest describes a response with status code 400, with default header values.

Bad Request

func NewGetCSPMGCPUserScriptsAttachmentBadRequest

func NewGetCSPMGCPUserScriptsAttachmentBadRequest() *GetCSPMGCPUserScriptsAttachmentBadRequest

NewGetCSPMGCPUserScriptsAttachmentBadRequest creates a GetCSPMGCPUserScriptsAttachmentBadRequest with default headers values

func (*GetCSPMGCPUserScriptsAttachmentBadRequest) Error

func (*GetCSPMGCPUserScriptsAttachmentBadRequest) GetPayload

type GetCSPMGCPUserScriptsAttachmentDefault

type GetCSPMGCPUserScriptsAttachmentDefault struct {
	Payload *models.RegistrationGCPProvisionGetUserScriptResponseV1
	// contains filtered or unexported fields
}
GetCSPMGCPUserScriptsAttachmentDefault describes a response with status code -1, with default header values.

OK

func NewGetCSPMGCPUserScriptsAttachmentDefault

func NewGetCSPMGCPUserScriptsAttachmentDefault(code int) *GetCSPMGCPUserScriptsAttachmentDefault

NewGetCSPMGCPUserScriptsAttachmentDefault creates a GetCSPMGCPUserScriptsAttachmentDefault with default headers values

func (*GetCSPMGCPUserScriptsAttachmentDefault) Code

Code gets the status code for the get c s p m g c p user scripts attachment default response

func (*GetCSPMGCPUserScriptsAttachmentDefault) Error

func (*GetCSPMGCPUserScriptsAttachmentDefault) GetPayload

type GetCSPMGCPUserScriptsAttachmentForbidden

type GetCSPMGCPUserScriptsAttachmentForbidden struct {

	/* Request limit per minute.
	 */
	XRateLimitLimit int64

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

	Payload *models.MsaReplyMetaOnly
}
GetCSPMGCPUserScriptsAttachmentForbidden describes a response with status code 403, with default header values.

Forbidden

func NewGetCSPMGCPUserScriptsAttachmentForbidden

func NewGetCSPMGCPUserScriptsAttachmentForbidden() *GetCSPMGCPUserScriptsAttachmentForbidden

NewGetCSPMGCPUserScriptsAttachmentForbidden creates a GetCSPMGCPUserScriptsAttachmentForbidden with default headers values

func (*GetCSPMGCPUserScriptsAttachmentForbidden) Error

func (*GetCSPMGCPUserScriptsAttachmentForbidden) GetPayload

type GetCSPMGCPUserScriptsAttachmentInternalServerError

type GetCSPMGCPUserScriptsAttachmentInternalServerError struct {

	/* Request limit per minute.
	 */
	XRateLimitLimit int64

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

	Payload *models.RegistrationGCPProvisionGetUserScriptResponseV1
}
GetCSPMGCPUserScriptsAttachmentInternalServerError describes a response with status code 500, with default header values.

Internal Server Error

func NewGetCSPMGCPUserScriptsAttachmentInternalServerError

func NewGetCSPMGCPUserScriptsAttachmentInternalServerError() *GetCSPMGCPUserScriptsAttachmentInternalServerError

NewGetCSPMGCPUserScriptsAttachmentInternalServerError creates a GetCSPMGCPUserScriptsAttachmentInternalServerError with default headers values

func (*GetCSPMGCPUserScriptsAttachmentInternalServerError) Error

func (*GetCSPMGCPUserScriptsAttachmentInternalServerError) GetPayload

type GetCSPMGCPUserScriptsAttachmentOK

type GetCSPMGCPUserScriptsAttachmentOK struct {

	/* Request limit per minute.
	 */
	XRateLimitLimit int64

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

	Payload *models.RegistrationGCPProvisionGetUserScriptResponseV1
}
GetCSPMGCPUserScriptsAttachmentOK describes a response with status code 200, with default header values.

OK

func NewGetCSPMGCPUserScriptsAttachmentOK

func NewGetCSPMGCPUserScriptsAttachmentOK() *GetCSPMGCPUserScriptsAttachmentOK

NewGetCSPMGCPUserScriptsAttachmentOK creates a GetCSPMGCPUserScriptsAttachmentOK with default headers values

func (*GetCSPMGCPUserScriptsAttachmentOK) Error

func (*GetCSPMGCPUserScriptsAttachmentOK) GetPayload

type GetCSPMGCPUserScriptsAttachmentParams

type GetCSPMGCPUserScriptsAttachmentParams struct {
	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

GetCSPMGCPUserScriptsAttachmentParams contains all the parameters to send to the API endpoint

for the get c s p m g c p user scripts attachment operation.

Typically these are written to a http.Request.

func NewGetCSPMGCPUserScriptsAttachmentParams

func NewGetCSPMGCPUserScriptsAttachmentParams() *GetCSPMGCPUserScriptsAttachmentParams

NewGetCSPMGCPUserScriptsAttachmentParams creates a new GetCSPMGCPUserScriptsAttachmentParams 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 NewGetCSPMGCPUserScriptsAttachmentParamsWithContext

func NewGetCSPMGCPUserScriptsAttachmentParamsWithContext(ctx context.Context) *GetCSPMGCPUserScriptsAttachmentParams

NewGetCSPMGCPUserScriptsAttachmentParamsWithContext creates a new GetCSPMGCPUserScriptsAttachmentParams object with the ability to set a context for a request.

func NewGetCSPMGCPUserScriptsAttachmentParamsWithHTTPClient

func NewGetCSPMGCPUserScriptsAttachmentParamsWithHTTPClient(client *http.Client) *GetCSPMGCPUserScriptsAttachmentParams

NewGetCSPMGCPUserScriptsAttachmentParamsWithHTTPClient creates a new GetCSPMGCPUserScriptsAttachmentParams object with the ability to set a custom HTTPClient for a request.

func NewGetCSPMGCPUserScriptsAttachmentParamsWithTimeout

func NewGetCSPMGCPUserScriptsAttachmentParamsWithTimeout(timeout time.Duration) *GetCSPMGCPUserScriptsAttachmentParams

NewGetCSPMGCPUserScriptsAttachmentParamsWithTimeout creates a new GetCSPMGCPUserScriptsAttachmentParams object with the ability to set a timeout on a request.

func (*GetCSPMGCPUserScriptsAttachmentParams) SetContext

SetContext adds the context to the get c s p m g c p user scripts attachment params

func (*GetCSPMGCPUserScriptsAttachmentParams) SetDefaults

func (o *GetCSPMGCPUserScriptsAttachmentParams) SetDefaults()

SetDefaults hydrates default values in the get c s p m g c p user scripts attachment params (not the query body).

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

func (*GetCSPMGCPUserScriptsAttachmentParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get c s p m g c p user scripts attachment params

func (*GetCSPMGCPUserScriptsAttachmentParams) SetTimeout

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

SetTimeout adds the timeout to the get c s p m g c p user scripts attachment params

func (*GetCSPMGCPUserScriptsAttachmentParams) WithContext

WithContext adds the context to the get c s p m g c p user scripts attachment params

func (*GetCSPMGCPUserScriptsAttachmentParams) WithDefaults

WithDefaults hydrates default values in the get c s p m g c p user scripts attachment params (not the query body).

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

func (*GetCSPMGCPUserScriptsAttachmentParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get c s p m g c p user scripts attachment params

func (*GetCSPMGCPUserScriptsAttachmentParams) WithTimeout

WithTimeout adds the timeout to the get c s p m g c p user scripts attachment params

func (*GetCSPMGCPUserScriptsAttachmentParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetCSPMGCPUserScriptsAttachmentReader

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

GetCSPMGCPUserScriptsAttachmentReader is a Reader for the GetCSPMGCPUserScriptsAttachment structure.

func (*GetCSPMGCPUserScriptsAttachmentReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetCSPMGCPUserScriptsAttachmentTooManyRequests

type GetCSPMGCPUserScriptsAttachmentTooManyRequests struct {

	/* 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
}
GetCSPMGCPUserScriptsAttachmentTooManyRequests describes a response with status code 429, with default header values.

Too Many Requests

func NewGetCSPMGCPUserScriptsAttachmentTooManyRequests

func NewGetCSPMGCPUserScriptsAttachmentTooManyRequests() *GetCSPMGCPUserScriptsAttachmentTooManyRequests

NewGetCSPMGCPUserScriptsAttachmentTooManyRequests creates a GetCSPMGCPUserScriptsAttachmentTooManyRequests with default headers values

func (*GetCSPMGCPUserScriptsAttachmentTooManyRequests) Error

func (*GetCSPMGCPUserScriptsAttachmentTooManyRequests) GetPayload

type GetCSPMGCPUserScriptsBadRequest

type GetCSPMGCPUserScriptsBadRequest struct {

	/* Request limit per minute.
	 */
	XRateLimitLimit int64

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

	Payload *models.RegistrationGCPProvisionGetUserScriptResponseV1
}
GetCSPMGCPUserScriptsBadRequest describes a response with status code 400, with default header values.

Bad Request

func NewGetCSPMGCPUserScriptsBadRequest

func NewGetCSPMGCPUserScriptsBadRequest() *GetCSPMGCPUserScriptsBadRequest

NewGetCSPMGCPUserScriptsBadRequest creates a GetCSPMGCPUserScriptsBadRequest with default headers values

func (*GetCSPMGCPUserScriptsBadRequest) Error

func (*GetCSPMGCPUserScriptsBadRequest) GetPayload

type GetCSPMGCPUserScriptsDefault

type GetCSPMGCPUserScriptsDefault struct {
	Payload *models.RegistrationGCPProvisionGetUserScriptResponseV1
	// contains filtered or unexported fields
}
GetCSPMGCPUserScriptsDefault describes a response with status code -1, with default header values.

OK

func NewGetCSPMGCPUserScriptsDefault

func NewGetCSPMGCPUserScriptsDefault(code int) *GetCSPMGCPUserScriptsDefault

NewGetCSPMGCPUserScriptsDefault creates a GetCSPMGCPUserScriptsDefault with default headers values

func (*GetCSPMGCPUserScriptsDefault) Code

Code gets the status code for the get c s p m g c p user scripts default response

func (*GetCSPMGCPUserScriptsDefault) Error

func (*GetCSPMGCPUserScriptsDefault) GetPayload

type GetCSPMGCPUserScriptsForbidden

type GetCSPMGCPUserScriptsForbidden struct {

	/* Request limit per minute.
	 */
	XRateLimitLimit int64

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

	Payload *models.MsaReplyMetaOnly
}
GetCSPMGCPUserScriptsForbidden describes a response with status code 403, with default header values.

Forbidden

func NewGetCSPMGCPUserScriptsForbidden

func NewGetCSPMGCPUserScriptsForbidden() *GetCSPMGCPUserScriptsForbidden

NewGetCSPMGCPUserScriptsForbidden creates a GetCSPMGCPUserScriptsForbidden with default headers values

func (*GetCSPMGCPUserScriptsForbidden) Error

func (*GetCSPMGCPUserScriptsForbidden) GetPayload

type GetCSPMGCPUserScriptsInternalServerError

type GetCSPMGCPUserScriptsInternalServerError struct {

	/* Request limit per minute.
	 */
	XRateLimitLimit int64

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

	Payload *models.RegistrationGCPProvisionGetUserScriptResponseV1
}
GetCSPMGCPUserScriptsInternalServerError describes a response with status code 500, with default header values.

Internal Server Error

func NewGetCSPMGCPUserScriptsInternalServerError

func NewGetCSPMGCPUserScriptsInternalServerError() *GetCSPMGCPUserScriptsInternalServerError

NewGetCSPMGCPUserScriptsInternalServerError creates a GetCSPMGCPUserScriptsInternalServerError with default headers values

func (*GetCSPMGCPUserScriptsInternalServerError) Error

func (*GetCSPMGCPUserScriptsInternalServerError) GetPayload

type GetCSPMGCPUserScriptsMultiStatus

type GetCSPMGCPUserScriptsMultiStatus struct {

	/* Request limit per minute.
	 */
	XRateLimitLimit int64

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

	Payload *models.RegistrationGCPProvisionGetUserScriptResponseV1
}
GetCSPMGCPUserScriptsMultiStatus describes a response with status code 207, with default header values.

Multi-Status

func NewGetCSPMGCPUserScriptsMultiStatus

func NewGetCSPMGCPUserScriptsMultiStatus() *GetCSPMGCPUserScriptsMultiStatus

NewGetCSPMGCPUserScriptsMultiStatus creates a GetCSPMGCPUserScriptsMultiStatus with default headers values

func (*GetCSPMGCPUserScriptsMultiStatus) Error

func (*GetCSPMGCPUserScriptsMultiStatus) GetPayload

type GetCSPMGCPUserScriptsOK

type GetCSPMGCPUserScriptsOK struct {

	/* Request limit per minute.
	 */
	XRateLimitLimit int64

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

	Payload *models.RegistrationGCPProvisionGetUserScriptResponseV1
}
GetCSPMGCPUserScriptsOK describes a response with status code 200, with default header values.

OK

func NewGetCSPMGCPUserScriptsOK

func NewGetCSPMGCPUserScriptsOK() *GetCSPMGCPUserScriptsOK

NewGetCSPMGCPUserScriptsOK creates a GetCSPMGCPUserScriptsOK with default headers values

func (*GetCSPMGCPUserScriptsOK) Error

func (o *GetCSPMGCPUserScriptsOK) Error() string

func (*GetCSPMGCPUserScriptsOK) GetPayload

type GetCSPMGCPUserScriptsParams

type GetCSPMGCPUserScriptsParams struct {
	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

GetCSPMGCPUserScriptsParams contains all the parameters to send to the API endpoint

for the get c s p m g c p user scripts operation.

Typically these are written to a http.Request.

func NewGetCSPMGCPUserScriptsParams

func NewGetCSPMGCPUserScriptsParams() *GetCSPMGCPUserScriptsParams

NewGetCSPMGCPUserScriptsParams creates a new GetCSPMGCPUserScriptsParams 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 NewGetCSPMGCPUserScriptsParamsWithContext

func NewGetCSPMGCPUserScriptsParamsWithContext(ctx context.Context) *GetCSPMGCPUserScriptsParams

NewGetCSPMGCPUserScriptsParamsWithContext creates a new GetCSPMGCPUserScriptsParams object with the ability to set a context for a request.

func NewGetCSPMGCPUserScriptsParamsWithHTTPClient

func NewGetCSPMGCPUserScriptsParamsWithHTTPClient(client *http.Client) *GetCSPMGCPUserScriptsParams

NewGetCSPMGCPUserScriptsParamsWithHTTPClient creates a new GetCSPMGCPUserScriptsParams object with the ability to set a custom HTTPClient for a request.

func NewGetCSPMGCPUserScriptsParamsWithTimeout

func NewGetCSPMGCPUserScriptsParamsWithTimeout(timeout time.Duration) *GetCSPMGCPUserScriptsParams

NewGetCSPMGCPUserScriptsParamsWithTimeout creates a new GetCSPMGCPUserScriptsParams object with the ability to set a timeout on a request.

func (*GetCSPMGCPUserScriptsParams) SetContext

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

SetContext adds the context to the get c s p m g c p user scripts params

func (*GetCSPMGCPUserScriptsParams) SetDefaults

func (o *GetCSPMGCPUserScriptsParams) SetDefaults()

SetDefaults hydrates default values in the get c s p m g c p user scripts params (not the query body).

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

func (*GetCSPMGCPUserScriptsParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get c s p m g c p user scripts params

func (*GetCSPMGCPUserScriptsParams) SetTimeout

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

SetTimeout adds the timeout to the get c s p m g c p user scripts params

func (*GetCSPMGCPUserScriptsParams) WithContext

WithContext adds the context to the get c s p m g c p user scripts params

func (*GetCSPMGCPUserScriptsParams) WithDefaults

WithDefaults hydrates default values in the get c s p m g c p user scripts params (not the query body).

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

func (*GetCSPMGCPUserScriptsParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get c s p m g c p user scripts params

func (*GetCSPMGCPUserScriptsParams) WithTimeout

WithTimeout adds the timeout to the get c s p m g c p user scripts params

func (*GetCSPMGCPUserScriptsParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetCSPMGCPUserScriptsReader

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

GetCSPMGCPUserScriptsReader is a Reader for the GetCSPMGCPUserScripts structure.

func (*GetCSPMGCPUserScriptsReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetCSPMGCPUserScriptsTooManyRequests

type GetCSPMGCPUserScriptsTooManyRequests struct {

	/* 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
}
GetCSPMGCPUserScriptsTooManyRequests describes a response with status code 429, with default header values.

Too Many Requests

func NewGetCSPMGCPUserScriptsTooManyRequests

func NewGetCSPMGCPUserScriptsTooManyRequests() *GetCSPMGCPUserScriptsTooManyRequests

NewGetCSPMGCPUserScriptsTooManyRequests creates a GetCSPMGCPUserScriptsTooManyRequests with default headers values

func (*GetCSPMGCPUserScriptsTooManyRequests) Error

func (*GetCSPMGCPUserScriptsTooManyRequests) GetPayload

Jump to

Keyboard shortcuts

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