Documentation ¶
Index ¶
- type Client
- func (a *Client) CreateCSPMGCPAccount(params *CreateCSPMGCPAccountParams, opts ...ClientOption) (*CreateCSPMGCPAccountCreated, *CreateCSPMGCPAccountMultiStatus, error)
- func (a *Client) GetCSPMAzureUserScripts(params *GetCSPMAzureUserScriptsParams, opts ...ClientOption) (*GetCSPMAzureUserScriptsOK, *GetCSPMAzureUserScriptsMultiStatus, error)
- func (a *Client) GetCSPMCGPAccount(params *GetCSPMCGPAccountParams, opts ...ClientOption) (*GetCSPMCGPAccountOK, *GetCSPMCGPAccountMultiStatus, error)
- func (a *Client) GetCSPMGCPUserScripts(params *GetCSPMGCPUserScriptsParams, opts ...ClientOption) (*GetCSPMGCPUserScriptsOK, *GetCSPMGCPUserScriptsMultiStatus, error)
- func (a *Client) GetCSPMGCPUserScriptsAttachment(params *GetCSPMGCPUserScriptsAttachmentParams, opts ...ClientOption) (*GetCSPMGCPUserScriptsAttachmentOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- type ClientOption
- type ClientService
- type CreateCSPMGCPAccountBadRequest
- type CreateCSPMGCPAccountCreated
- type CreateCSPMGCPAccountForbidden
- type CreateCSPMGCPAccountInternalServerError
- type CreateCSPMGCPAccountMultiStatus
- type CreateCSPMGCPAccountParams
- func NewCreateCSPMGCPAccountParams() *CreateCSPMGCPAccountParams
- func NewCreateCSPMGCPAccountParamsWithContext(ctx context.Context) *CreateCSPMGCPAccountParams
- func NewCreateCSPMGCPAccountParamsWithHTTPClient(client *http.Client) *CreateCSPMGCPAccountParams
- func NewCreateCSPMGCPAccountParamsWithTimeout(timeout time.Duration) *CreateCSPMGCPAccountParams
- func (o *CreateCSPMGCPAccountParams) SetBody(body *models.RegistrationGCPAccountCreateRequestExtV1)
- func (o *CreateCSPMGCPAccountParams) SetContext(ctx context.Context)
- func (o *CreateCSPMGCPAccountParams) SetDefaults()
- func (o *CreateCSPMGCPAccountParams) SetHTTPClient(client *http.Client)
- func (o *CreateCSPMGCPAccountParams) SetTimeout(timeout time.Duration)
- func (o *CreateCSPMGCPAccountParams) WithBody(body *models.RegistrationGCPAccountCreateRequestExtV1) *CreateCSPMGCPAccountParams
- func (o *CreateCSPMGCPAccountParams) WithContext(ctx context.Context) *CreateCSPMGCPAccountParams
- func (o *CreateCSPMGCPAccountParams) WithDefaults() *CreateCSPMGCPAccountParams
- func (o *CreateCSPMGCPAccountParams) WithHTTPClient(client *http.Client) *CreateCSPMGCPAccountParams
- func (o *CreateCSPMGCPAccountParams) WithTimeout(timeout time.Duration) *CreateCSPMGCPAccountParams
- func (o *CreateCSPMGCPAccountParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type CreateCSPMGCPAccountReader
- type CreateCSPMGCPAccountTooManyRequests
- type GetCSPMAzureUserScriptsBadRequest
- type GetCSPMAzureUserScriptsDefault
- type GetCSPMAzureUserScriptsForbidden
- type GetCSPMAzureUserScriptsInternalServerError
- type GetCSPMAzureUserScriptsMultiStatus
- type GetCSPMAzureUserScriptsOK
- type GetCSPMAzureUserScriptsParams
- func NewGetCSPMAzureUserScriptsParams() *GetCSPMAzureUserScriptsParams
- func NewGetCSPMAzureUserScriptsParamsWithContext(ctx context.Context) *GetCSPMAzureUserScriptsParams
- func NewGetCSPMAzureUserScriptsParamsWithHTTPClient(client *http.Client) *GetCSPMAzureUserScriptsParams
- func NewGetCSPMAzureUserScriptsParamsWithTimeout(timeout time.Duration) *GetCSPMAzureUserScriptsParams
- func (o *GetCSPMAzureUserScriptsParams) SetContext(ctx context.Context)
- func (o *GetCSPMAzureUserScriptsParams) SetDefaults()
- func (o *GetCSPMAzureUserScriptsParams) SetHTTPClient(client *http.Client)
- func (o *GetCSPMAzureUserScriptsParams) SetTimeout(timeout time.Duration)
- func (o *GetCSPMAzureUserScriptsParams) WithContext(ctx context.Context) *GetCSPMAzureUserScriptsParams
- func (o *GetCSPMAzureUserScriptsParams) WithDefaults() *GetCSPMAzureUserScriptsParams
- func (o *GetCSPMAzureUserScriptsParams) WithHTTPClient(client *http.Client) *GetCSPMAzureUserScriptsParams
- func (o *GetCSPMAzureUserScriptsParams) WithTimeout(timeout time.Duration) *GetCSPMAzureUserScriptsParams
- func (o *GetCSPMAzureUserScriptsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetCSPMAzureUserScriptsReader
- type GetCSPMAzureUserScriptsTooManyRequests
- type GetCSPMCGPAccountBadRequest
- type GetCSPMCGPAccountDefault
- type GetCSPMCGPAccountForbidden
- type GetCSPMCGPAccountInternalServerError
- type GetCSPMCGPAccountMultiStatus
- type GetCSPMCGPAccountOK
- type GetCSPMCGPAccountParams
- func NewGetCSPMCGPAccountParams() *GetCSPMCGPAccountParams
- func NewGetCSPMCGPAccountParamsWithContext(ctx context.Context) *GetCSPMCGPAccountParams
- func NewGetCSPMCGPAccountParamsWithHTTPClient(client *http.Client) *GetCSPMCGPAccountParams
- func NewGetCSPMCGPAccountParamsWithTimeout(timeout time.Duration) *GetCSPMCGPAccountParams
- func (o *GetCSPMCGPAccountParams) SetContext(ctx context.Context)
- func (o *GetCSPMCGPAccountParams) SetDefaults()
- func (o *GetCSPMCGPAccountParams) SetHTTPClient(client *http.Client)
- func (o *GetCSPMCGPAccountParams) SetIds(ids []string)
- func (o *GetCSPMCGPAccountParams) SetScanType(scanType *string)
- func (o *GetCSPMCGPAccountParams) SetTimeout(timeout time.Duration)
- func (o *GetCSPMCGPAccountParams) WithContext(ctx context.Context) *GetCSPMCGPAccountParams
- func (o *GetCSPMCGPAccountParams) WithDefaults() *GetCSPMCGPAccountParams
- func (o *GetCSPMCGPAccountParams) WithHTTPClient(client *http.Client) *GetCSPMCGPAccountParams
- func (o *GetCSPMCGPAccountParams) WithIds(ids []string) *GetCSPMCGPAccountParams
- func (o *GetCSPMCGPAccountParams) WithScanType(scanType *string) *GetCSPMCGPAccountParams
- func (o *GetCSPMCGPAccountParams) WithTimeout(timeout time.Duration) *GetCSPMCGPAccountParams
- func (o *GetCSPMCGPAccountParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetCSPMCGPAccountReader
- type GetCSPMCGPAccountTooManyRequests
- type GetCSPMGCPUserScriptsAttachmentBadRequest
- type GetCSPMGCPUserScriptsAttachmentDefault
- type GetCSPMGCPUserScriptsAttachmentForbidden
- type GetCSPMGCPUserScriptsAttachmentInternalServerError
- type GetCSPMGCPUserScriptsAttachmentOK
- type GetCSPMGCPUserScriptsAttachmentParams
- func NewGetCSPMGCPUserScriptsAttachmentParams() *GetCSPMGCPUserScriptsAttachmentParams
- func NewGetCSPMGCPUserScriptsAttachmentParamsWithContext(ctx context.Context) *GetCSPMGCPUserScriptsAttachmentParams
- func NewGetCSPMGCPUserScriptsAttachmentParamsWithHTTPClient(client *http.Client) *GetCSPMGCPUserScriptsAttachmentParams
- func NewGetCSPMGCPUserScriptsAttachmentParamsWithTimeout(timeout time.Duration) *GetCSPMGCPUserScriptsAttachmentParams
- func (o *GetCSPMGCPUserScriptsAttachmentParams) SetContext(ctx context.Context)
- func (o *GetCSPMGCPUserScriptsAttachmentParams) SetDefaults()
- func (o *GetCSPMGCPUserScriptsAttachmentParams) SetHTTPClient(client *http.Client)
- func (o *GetCSPMGCPUserScriptsAttachmentParams) SetTimeout(timeout time.Duration)
- func (o *GetCSPMGCPUserScriptsAttachmentParams) WithContext(ctx context.Context) *GetCSPMGCPUserScriptsAttachmentParams
- func (o *GetCSPMGCPUserScriptsAttachmentParams) WithDefaults() *GetCSPMGCPUserScriptsAttachmentParams
- func (o *GetCSPMGCPUserScriptsAttachmentParams) WithHTTPClient(client *http.Client) *GetCSPMGCPUserScriptsAttachmentParams
- func (o *GetCSPMGCPUserScriptsAttachmentParams) WithTimeout(timeout time.Duration) *GetCSPMGCPUserScriptsAttachmentParams
- func (o *GetCSPMGCPUserScriptsAttachmentParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetCSPMGCPUserScriptsAttachmentReader
- type GetCSPMGCPUserScriptsAttachmentTooManyRequests
- type GetCSPMGCPUserScriptsBadRequest
- type GetCSPMGCPUserScriptsDefault
- type GetCSPMGCPUserScriptsForbidden
- type GetCSPMGCPUserScriptsInternalServerError
- type GetCSPMGCPUserScriptsMultiStatus
- type GetCSPMGCPUserScriptsOK
- type GetCSPMGCPUserScriptsParams
- func NewGetCSPMGCPUserScriptsParams() *GetCSPMGCPUserScriptsParams
- func NewGetCSPMGCPUserScriptsParamsWithContext(ctx context.Context) *GetCSPMGCPUserScriptsParams
- func NewGetCSPMGCPUserScriptsParamsWithHTTPClient(client *http.Client) *GetCSPMGCPUserScriptsParams
- func NewGetCSPMGCPUserScriptsParamsWithTimeout(timeout time.Duration) *GetCSPMGCPUserScriptsParams
- func (o *GetCSPMGCPUserScriptsParams) SetContext(ctx context.Context)
- func (o *GetCSPMGCPUserScriptsParams) SetDefaults()
- func (o *GetCSPMGCPUserScriptsParams) SetHTTPClient(client *http.Client)
- func (o *GetCSPMGCPUserScriptsParams) SetTimeout(timeout time.Duration)
- func (o *GetCSPMGCPUserScriptsParams) WithContext(ctx context.Context) *GetCSPMGCPUserScriptsParams
- func (o *GetCSPMGCPUserScriptsParams) WithDefaults() *GetCSPMGCPUserScriptsParams
- func (o *GetCSPMGCPUserScriptsParams) WithHTTPClient(client *http.Client) *GetCSPMGCPUserScriptsParams
- func (o *GetCSPMGCPUserScriptsParams) WithTimeout(timeout time.Duration) *GetCSPMGCPUserScriptsParams
- func (o *GetCSPMGCPUserScriptsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetCSPMGCPUserScriptsReader
- type GetCSPMGCPUserScriptsTooManyRequests
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 ¶
func (a *Client) CreateCSPMGCPAccount(params *CreateCSPMGCPAccountParams, opts ...ClientOption) (*CreateCSPMGCPAccountCreated, *CreateCSPMGCPAccountMultiStatus, error)
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 ¶
func (a *Client) GetCSPMAzureUserScripts(params *GetCSPMAzureUserScriptsParams, opts ...ClientOption) (*GetCSPMAzureUserScriptsOK, *GetCSPMAzureUserScriptsMultiStatus, error)
GetCSPMAzureUserScripts returns a script for customer to run in their cloud environment to grant us access to their azure environment
func (*Client) GetCSPMCGPAccount ¶
func (a *Client) GetCSPMCGPAccount(params *GetCSPMCGPAccountParams, opts ...ClientOption) (*GetCSPMCGPAccountOK, *GetCSPMCGPAccountMultiStatus, error)
GetCSPMCGPAccount returns information about the current status of an g c p account
func (*Client) GetCSPMGCPUserScripts ¶
func (a *Client) GetCSPMGCPUserScripts(params *GetCSPMGCPUserScriptsParams, opts ...ClientOption) (*GetCSPMGCPUserScriptsOK, *GetCSPMGCPUserScriptsMultiStatus, error)
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 ¶
type ClientService interface { CreateCSPMGCPAccount(params *CreateCSPMGCPAccountParams, opts ...ClientOption) (*CreateCSPMGCPAccountCreated, *CreateCSPMGCPAccountMultiStatus, error) GetCSPMAzureUserScripts(params *GetCSPMAzureUserScriptsParams, opts ...ClientOption) (*GetCSPMAzureUserScriptsOK, *GetCSPMAzureUserScriptsMultiStatus, error) GetCSPMCGPAccount(params *GetCSPMCGPAccountParams, opts ...ClientOption) (*GetCSPMCGPAccountOK, *GetCSPMCGPAccountMultiStatus, error) GetCSPMGCPUserScripts(params *GetCSPMGCPUserScriptsParams, opts ...ClientOption) (*GetCSPMGCPUserScriptsOK, *GetCSPMGCPUserScriptsMultiStatus, error) GetCSPMGCPUserScriptsAttachment(params *GetCSPMGCPUserScriptsAttachmentParams, opts ...ClientOption) (*GetCSPMGCPUserScriptsAttachmentOK, 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 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 (o *CreateCSPMGCPAccountBadRequest) Error() string
func (*CreateCSPMGCPAccountBadRequest) GetPayload ¶
func (o *CreateCSPMGCPAccountBadRequest) GetPayload() *models.RegistrationGCPAccountResponseV1
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 (o *CreateCSPMGCPAccountCreated) Error() string
func (*CreateCSPMGCPAccountCreated) GetPayload ¶
func (o *CreateCSPMGCPAccountCreated) GetPayload() *models.RegistrationGCPAccountResponseV1
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 (o *CreateCSPMGCPAccountForbidden) Error() string
func (*CreateCSPMGCPAccountForbidden) GetPayload ¶
func (o *CreateCSPMGCPAccountForbidden) GetPayload() *models.MsaReplyMetaOnly
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 (o *CreateCSPMGCPAccountInternalServerError) Error() string
func (*CreateCSPMGCPAccountInternalServerError) GetPayload ¶
func (o *CreateCSPMGCPAccountInternalServerError) GetPayload() *models.RegistrationGCPAccountResponseV1
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 (o *CreateCSPMGCPAccountMultiStatus) Error() string
func (*CreateCSPMGCPAccountMultiStatus) GetPayload ¶
func (o *CreateCSPMGCPAccountMultiStatus) GetPayload() *models.RegistrationGCPAccountResponseV1
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 ¶
func (o *CreateCSPMGCPAccountParams) SetBody(body *models.RegistrationGCPAccountCreateRequestExtV1)
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 ¶
func (o *CreateCSPMGCPAccountParams) WithBody(body *models.RegistrationGCPAccountCreateRequestExtV1) *CreateCSPMGCPAccountParams
WithBody adds the body to the create c s p m g c p account params
func (*CreateCSPMGCPAccountParams) WithContext ¶
func (o *CreateCSPMGCPAccountParams) WithContext(ctx context.Context) *CreateCSPMGCPAccountParams
WithContext adds the context to the create c s p m g c p account params
func (*CreateCSPMGCPAccountParams) WithDefaults ¶
func (o *CreateCSPMGCPAccountParams) WithDefaults() *CreateCSPMGCPAccountParams
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 ¶
func (o *CreateCSPMGCPAccountParams) WithHTTPClient(client *http.Client) *CreateCSPMGCPAccountParams
WithHTTPClient adds the HTTPClient to the create c s p m g c p account params
func (*CreateCSPMGCPAccountParams) WithTimeout ¶
func (o *CreateCSPMGCPAccountParams) WithTimeout(timeout time.Duration) *CreateCSPMGCPAccountParams
WithTimeout adds the timeout to the create c s p m g c p account params
func (*CreateCSPMGCPAccountParams) WriteToRequest ¶
func (o *CreateCSPMGCPAccountParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 (o *CreateCSPMGCPAccountTooManyRequests) Error() string
func (*CreateCSPMGCPAccountTooManyRequests) GetPayload ¶
func (o *CreateCSPMGCPAccountTooManyRequests) GetPayload() *models.MsaReplyMetaOnly
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 (o *GetCSPMAzureUserScriptsBadRequest) Error() string
func (*GetCSPMAzureUserScriptsBadRequest) GetPayload ¶
func (o *GetCSPMAzureUserScriptsBadRequest) GetPayload() *models.RegistrationAzureProvisionGetUserScriptResponseV1
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 ¶
func (o *GetCSPMAzureUserScriptsDefault) Code() int
Code gets the status code for the get c s p m azure user scripts default response
func (*GetCSPMAzureUserScriptsDefault) Error ¶
func (o *GetCSPMAzureUserScriptsDefault) Error() string
func (*GetCSPMAzureUserScriptsDefault) GetPayload ¶
func (o *GetCSPMAzureUserScriptsDefault) GetPayload() *models.RegistrationAzureProvisionGetUserScriptResponseV1
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 (o *GetCSPMAzureUserScriptsForbidden) Error() string
func (*GetCSPMAzureUserScriptsForbidden) GetPayload ¶
func (o *GetCSPMAzureUserScriptsForbidden) GetPayload() *models.MsaReplyMetaOnly
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 (o *GetCSPMAzureUserScriptsInternalServerError) Error() string
func (*GetCSPMAzureUserScriptsInternalServerError) GetPayload ¶
func (o *GetCSPMAzureUserScriptsInternalServerError) GetPayload() *models.RegistrationAzureProvisionGetUserScriptResponseV1
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 (o *GetCSPMAzureUserScriptsMultiStatus) Error() string
func (*GetCSPMAzureUserScriptsMultiStatus) GetPayload ¶
func (o *GetCSPMAzureUserScriptsMultiStatus) GetPayload() *models.RegistrationAzureProvisionGetUserScriptResponseV1
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 ¶
func (o *GetCSPMAzureUserScriptsOK) GetPayload() *models.RegistrationAzureProvisionGetUserScriptResponseV1
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 ¶
func (o *GetCSPMAzureUserScriptsParams) WithContext(ctx context.Context) *GetCSPMAzureUserScriptsParams
WithContext adds the context to the get c s p m azure user scripts params
func (*GetCSPMAzureUserScriptsParams) WithDefaults ¶
func (o *GetCSPMAzureUserScriptsParams) WithDefaults() *GetCSPMAzureUserScriptsParams
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 ¶
func (o *GetCSPMAzureUserScriptsParams) WithHTTPClient(client *http.Client) *GetCSPMAzureUserScriptsParams
WithHTTPClient adds the HTTPClient to the get c s p m azure user scripts params
func (*GetCSPMAzureUserScriptsParams) WithTimeout ¶
func (o *GetCSPMAzureUserScriptsParams) WithTimeout(timeout time.Duration) *GetCSPMAzureUserScriptsParams
WithTimeout adds the timeout to the get c s p m azure user scripts params
func (*GetCSPMAzureUserScriptsParams) WriteToRequest ¶
func (o *GetCSPMAzureUserScriptsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 (o *GetCSPMAzureUserScriptsTooManyRequests) Error() string
func (*GetCSPMAzureUserScriptsTooManyRequests) GetPayload ¶
func (o *GetCSPMAzureUserScriptsTooManyRequests) GetPayload() *models.MsaReplyMetaOnly
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 (o *GetCSPMCGPAccountBadRequest) Error() string
func (*GetCSPMCGPAccountBadRequest) GetPayload ¶
func (o *GetCSPMCGPAccountBadRequest) GetPayload() *models.RegistrationGCPAccountResponseV1
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 ¶
func (o *GetCSPMCGPAccountDefault) GetPayload() *models.RegistrationGCPAccountResponseV1
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 (o *GetCSPMCGPAccountForbidden) Error() string
func (*GetCSPMCGPAccountForbidden) GetPayload ¶
func (o *GetCSPMCGPAccountForbidden) GetPayload() *models.MsaReplyMetaOnly
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 (o *GetCSPMCGPAccountInternalServerError) Error() string
func (*GetCSPMCGPAccountInternalServerError) GetPayload ¶
func (o *GetCSPMCGPAccountInternalServerError) GetPayload() *models.RegistrationGCPAccountResponseV1
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 (o *GetCSPMCGPAccountMultiStatus) Error() string
func (*GetCSPMCGPAccountMultiStatus) GetPayload ¶
func (o *GetCSPMCGPAccountMultiStatus) GetPayload() *models.RegistrationGCPAccountResponseV1
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 ¶
func (o *GetCSPMCGPAccountOK) GetPayload() *models.RegistrationGCPAccountResponseV1
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 ¶
func (o *GetCSPMCGPAccountParams) WithContext(ctx context.Context) *GetCSPMCGPAccountParams
WithContext adds the context to the get c s p m c g p account params
func (*GetCSPMCGPAccountParams) WithDefaults ¶
func (o *GetCSPMCGPAccountParams) WithDefaults() *GetCSPMCGPAccountParams
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 ¶
func (o *GetCSPMCGPAccountParams) WithIds(ids []string) *GetCSPMCGPAccountParams
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 ¶
func (o *GetCSPMCGPAccountParams) WithTimeout(timeout time.Duration) *GetCSPMCGPAccountParams
WithTimeout adds the timeout to the get c s p m c g p account params
func (*GetCSPMCGPAccountParams) WriteToRequest ¶
func (o *GetCSPMCGPAccountParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 (o *GetCSPMCGPAccountTooManyRequests) Error() string
func (*GetCSPMCGPAccountTooManyRequests) GetPayload ¶
func (o *GetCSPMCGPAccountTooManyRequests) GetPayload() *models.MsaReplyMetaOnly
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 (o *GetCSPMGCPUserScriptsAttachmentBadRequest) Error() string
func (*GetCSPMGCPUserScriptsAttachmentBadRequest) GetPayload ¶
func (o *GetCSPMGCPUserScriptsAttachmentBadRequest) GetPayload() *models.RegistrationGCPProvisionGetUserScriptResponseV1
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 ¶
func (o *GetCSPMGCPUserScriptsAttachmentDefault) Code() int
Code gets the status code for the get c s p m g c p user scripts attachment default response
func (*GetCSPMGCPUserScriptsAttachmentDefault) Error ¶
func (o *GetCSPMGCPUserScriptsAttachmentDefault) Error() string
func (*GetCSPMGCPUserScriptsAttachmentDefault) GetPayload ¶
func (o *GetCSPMGCPUserScriptsAttachmentDefault) GetPayload() *models.RegistrationGCPProvisionGetUserScriptResponseV1
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 (o *GetCSPMGCPUserScriptsAttachmentForbidden) Error() string
func (*GetCSPMGCPUserScriptsAttachmentForbidden) GetPayload ¶
func (o *GetCSPMGCPUserScriptsAttachmentForbidden) GetPayload() *models.MsaReplyMetaOnly
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 (o *GetCSPMGCPUserScriptsAttachmentInternalServerError) Error() string
func (*GetCSPMGCPUserScriptsAttachmentInternalServerError) GetPayload ¶
func (o *GetCSPMGCPUserScriptsAttachmentInternalServerError) GetPayload() *models.RegistrationGCPProvisionGetUserScriptResponseV1
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 (o *GetCSPMGCPUserScriptsAttachmentOK) Error() string
func (*GetCSPMGCPUserScriptsAttachmentOK) GetPayload ¶
func (o *GetCSPMGCPUserScriptsAttachmentOK) GetPayload() *models.RegistrationGCPProvisionGetUserScriptResponseV1
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 ¶
func (o *GetCSPMGCPUserScriptsAttachmentParams) SetContext(ctx context.Context)
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 ¶
func (o *GetCSPMGCPUserScriptsAttachmentParams) WithContext(ctx context.Context) *GetCSPMGCPUserScriptsAttachmentParams
WithContext adds the context to the get c s p m g c p user scripts attachment params
func (*GetCSPMGCPUserScriptsAttachmentParams) WithDefaults ¶
func (o *GetCSPMGCPUserScriptsAttachmentParams) WithDefaults() *GetCSPMGCPUserScriptsAttachmentParams
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 ¶
func (o *GetCSPMGCPUserScriptsAttachmentParams) WithHTTPClient(client *http.Client) *GetCSPMGCPUserScriptsAttachmentParams
WithHTTPClient adds the HTTPClient to the get c s p m g c p user scripts attachment params
func (*GetCSPMGCPUserScriptsAttachmentParams) WithTimeout ¶
func (o *GetCSPMGCPUserScriptsAttachmentParams) WithTimeout(timeout time.Duration) *GetCSPMGCPUserScriptsAttachmentParams
WithTimeout adds the timeout to the get c s p m g c p user scripts attachment params
func (*GetCSPMGCPUserScriptsAttachmentParams) WriteToRequest ¶
func (o *GetCSPMGCPUserScriptsAttachmentParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 (o *GetCSPMGCPUserScriptsAttachmentTooManyRequests) Error() string
func (*GetCSPMGCPUserScriptsAttachmentTooManyRequests) GetPayload ¶
func (o *GetCSPMGCPUserScriptsAttachmentTooManyRequests) GetPayload() *models.MsaReplyMetaOnly
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 (o *GetCSPMGCPUserScriptsBadRequest) Error() string
func (*GetCSPMGCPUserScriptsBadRequest) GetPayload ¶
func (o *GetCSPMGCPUserScriptsBadRequest) GetPayload() *models.RegistrationGCPProvisionGetUserScriptResponseV1
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 ¶
func (o *GetCSPMGCPUserScriptsDefault) Code() int
Code gets the status code for the get c s p m g c p user scripts default response
func (*GetCSPMGCPUserScriptsDefault) Error ¶
func (o *GetCSPMGCPUserScriptsDefault) Error() string
func (*GetCSPMGCPUserScriptsDefault) GetPayload ¶
func (o *GetCSPMGCPUserScriptsDefault) GetPayload() *models.RegistrationGCPProvisionGetUserScriptResponseV1
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 (o *GetCSPMGCPUserScriptsForbidden) Error() string
func (*GetCSPMGCPUserScriptsForbidden) GetPayload ¶
func (o *GetCSPMGCPUserScriptsForbidden) GetPayload() *models.MsaReplyMetaOnly
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 (o *GetCSPMGCPUserScriptsInternalServerError) Error() string
func (*GetCSPMGCPUserScriptsInternalServerError) GetPayload ¶
func (o *GetCSPMGCPUserScriptsInternalServerError) GetPayload() *models.RegistrationGCPProvisionGetUserScriptResponseV1
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 (o *GetCSPMGCPUserScriptsMultiStatus) Error() string
func (*GetCSPMGCPUserScriptsMultiStatus) GetPayload ¶
func (o *GetCSPMGCPUserScriptsMultiStatus) GetPayload() *models.RegistrationGCPProvisionGetUserScriptResponseV1
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 ¶
func (o *GetCSPMGCPUserScriptsOK) GetPayload() *models.RegistrationGCPProvisionGetUserScriptResponseV1
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 ¶
func (o *GetCSPMGCPUserScriptsParams) WithContext(ctx context.Context) *GetCSPMGCPUserScriptsParams
WithContext adds the context to the get c s p m g c p user scripts params
func (*GetCSPMGCPUserScriptsParams) WithDefaults ¶
func (o *GetCSPMGCPUserScriptsParams) WithDefaults() *GetCSPMGCPUserScriptsParams
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 ¶
func (o *GetCSPMGCPUserScriptsParams) WithHTTPClient(client *http.Client) *GetCSPMGCPUserScriptsParams
WithHTTPClient adds the HTTPClient to the get c s p m g c p user scripts params
func (*GetCSPMGCPUserScriptsParams) WithTimeout ¶
func (o *GetCSPMGCPUserScriptsParams) WithTimeout(timeout time.Duration) *GetCSPMGCPUserScriptsParams
WithTimeout adds the timeout to the get c s p m g c p user scripts params
func (*GetCSPMGCPUserScriptsParams) WriteToRequest ¶
func (o *GetCSPMGCPUserScriptsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 (o *GetCSPMGCPUserScriptsTooManyRequests) Error() string
func (*GetCSPMGCPUserScriptsTooManyRequests) GetPayload ¶
func (o *GetCSPMGCPUserScriptsTooManyRequests) GetPayload() *models.MsaReplyMetaOnly
Source Files ¶
- create_c_s_p_m_g_c_p_account_parameters.go
- create_c_s_p_m_g_c_p_account_responses.go
- d4c_registration_client.go
- get_c_s_p_m_azure_user_scripts_parameters.go
- get_c_s_p_m_azure_user_scripts_responses.go
- get_c_s_p_m_c_g_p_account_parameters.go
- get_c_s_p_m_c_g_p_account_responses.go
- get_c_s_p_m_g_c_p_user_scripts_attachment_parameters.go
- get_c_s_p_m_g_c_p_user_scripts_attachment_responses.go
- get_c_s_p_m_g_c_p_user_scripts_parameters.go
- get_c_s_p_m_g_c_p_user_scripts_responses.go