Documentation ¶
Index ¶
- type BulkUploadBadRequest
- type BulkUploadInternalServerError
- type BulkUploadOK
- type BulkUploadParams
- func (o *BulkUploadParams) SetBody(body *models.BulkUpload)
- func (o *BulkUploadParams) SetContext(ctx context.Context)
- func (o *BulkUploadParams) SetHTTPClient(client *http.Client)
- func (o *BulkUploadParams) SetTimeout(timeout time.Duration)
- func (o *BulkUploadParams) WithBody(body *models.BulkUpload) *BulkUploadParams
- func (o *BulkUploadParams) WithContext(ctx context.Context) *BulkUploadParams
- func (o *BulkUploadParams) WithHTTPClient(client *http.Client) *BulkUploadParams
- func (o *BulkUploadParams) WithTimeout(timeout time.Duration) *BulkUploadParams
- func (o *BulkUploadParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type BulkUploadReader
- type Client
- func (a *Client) BulkUpload(params *BulkUploadParams) (*BulkUploadOK, error)
- func (a *Client) CreateDataModel(params *CreateDataModelParams) (*CreateDataModelCreated, error)
- func (a *Client) CreateGlobal(params *CreateGlobalParams) (*CreateGlobalCreated, error)
- func (a *Client) CreatePolicy(params *CreatePolicyParams) (*CreatePolicyCreated, error)
- func (a *Client) CreateRule(params *CreateRuleParams) (*CreateRuleCreated, error)
- func (a *Client) DeleteGlobals(params *DeleteGlobalsParams) (*DeleteGlobalsOK, error)
- func (a *Client) DeletePolicies(params *DeletePoliciesParams) (*DeletePoliciesOK, error)
- func (a *Client) GetDataModel(params *GetDataModelParams) (*GetDataModelOK, error)
- func (a *Client) GetEnabledPolicies(params *GetEnabledPoliciesParams) (*GetEnabledPoliciesOK, error)
- func (a *Client) GetGlobal(params *GetGlobalParams) (*GetGlobalOK, error)
- func (a *Client) GetPolicy(params *GetPolicyParams) (*GetPolicyOK, error)
- func (a *Client) GetRule(params *GetRuleParams) (*GetRuleOK, error)
- func (a *Client) ListDataModels(params *ListDataModelsParams) (*ListDataModelsOK, error)
- func (a *Client) ListGlobals(params *ListGlobalsParams) (*ListGlobalsOK, error)
- func (a *Client) ListPolicies(params *ListPoliciesParams) (*ListPoliciesOK, error)
- func (a *Client) ListRules(params *ListRulesParams) (*ListRulesOK, error)
- func (a *Client) ModifyDataModel(params *ModifyDataModelParams) (*ModifyDataModelOK, error)
- func (a *Client) ModifyGlobal(params *ModifyGlobalParams) (*ModifyGlobalOK, error)
- func (a *Client) ModifyPolicy(params *ModifyPolicyParams) (*ModifyPolicyOK, error)
- func (a *Client) ModifyRule(params *ModifyRuleParams) (*ModifyRuleOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- func (a *Client) Suppress(params *SuppressParams) (*SuppressOK, error)
- func (a *Client) TestPolicy(params *TestPolicyParams) (*TestPolicyOK, error)
- func (a *Client) TestRule(params *TestRuleParams) (*TestRuleOK, error)
- type ClientService
- type CreateDataModelBadRequest
- type CreateDataModelConflict
- type CreateDataModelCreated
- type CreateDataModelInternalServerError
- type CreateDataModelParams
- func NewCreateDataModelParams() *CreateDataModelParams
- func NewCreateDataModelParamsWithContext(ctx context.Context) *CreateDataModelParams
- func NewCreateDataModelParamsWithHTTPClient(client *http.Client) *CreateDataModelParams
- func NewCreateDataModelParamsWithTimeout(timeout time.Duration) *CreateDataModelParams
- func (o *CreateDataModelParams) SetBody(body *models.UpdateDataModel)
- func (o *CreateDataModelParams) SetContext(ctx context.Context)
- func (o *CreateDataModelParams) SetHTTPClient(client *http.Client)
- func (o *CreateDataModelParams) SetTimeout(timeout time.Duration)
- func (o *CreateDataModelParams) WithBody(body *models.UpdateDataModel) *CreateDataModelParams
- func (o *CreateDataModelParams) WithContext(ctx context.Context) *CreateDataModelParams
- func (o *CreateDataModelParams) WithHTTPClient(client *http.Client) *CreateDataModelParams
- func (o *CreateDataModelParams) WithTimeout(timeout time.Duration) *CreateDataModelParams
- func (o *CreateDataModelParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type CreateDataModelReader
- type CreateGlobalBadRequest
- type CreateGlobalConflict
- type CreateGlobalCreated
- type CreateGlobalInternalServerError
- type CreateGlobalParams
- func (o *CreateGlobalParams) SetBody(body *models.UpdateGlobal)
- func (o *CreateGlobalParams) SetContext(ctx context.Context)
- func (o *CreateGlobalParams) SetHTTPClient(client *http.Client)
- func (o *CreateGlobalParams) SetTimeout(timeout time.Duration)
- func (o *CreateGlobalParams) WithBody(body *models.UpdateGlobal) *CreateGlobalParams
- func (o *CreateGlobalParams) WithContext(ctx context.Context) *CreateGlobalParams
- func (o *CreateGlobalParams) WithHTTPClient(client *http.Client) *CreateGlobalParams
- func (o *CreateGlobalParams) WithTimeout(timeout time.Duration) *CreateGlobalParams
- func (o *CreateGlobalParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type CreateGlobalReader
- type CreatePolicyBadRequest
- type CreatePolicyConflict
- type CreatePolicyCreated
- type CreatePolicyInternalServerError
- type CreatePolicyParams
- func (o *CreatePolicyParams) SetBody(body *models.UpdatePolicy)
- func (o *CreatePolicyParams) SetContext(ctx context.Context)
- func (o *CreatePolicyParams) SetHTTPClient(client *http.Client)
- func (o *CreatePolicyParams) SetTimeout(timeout time.Duration)
- func (o *CreatePolicyParams) WithBody(body *models.UpdatePolicy) *CreatePolicyParams
- func (o *CreatePolicyParams) WithContext(ctx context.Context) *CreatePolicyParams
- func (o *CreatePolicyParams) WithHTTPClient(client *http.Client) *CreatePolicyParams
- func (o *CreatePolicyParams) WithTimeout(timeout time.Duration) *CreatePolicyParams
- func (o *CreatePolicyParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type CreatePolicyReader
- type CreateRuleBadRequest
- type CreateRuleConflict
- type CreateRuleCreated
- type CreateRuleInternalServerError
- type CreateRuleParams
- func (o *CreateRuleParams) SetBody(body *models.UpdateRule)
- func (o *CreateRuleParams) SetContext(ctx context.Context)
- func (o *CreateRuleParams) SetHTTPClient(client *http.Client)
- func (o *CreateRuleParams) SetTimeout(timeout time.Duration)
- func (o *CreateRuleParams) WithBody(body *models.UpdateRule) *CreateRuleParams
- func (o *CreateRuleParams) WithContext(ctx context.Context) *CreateRuleParams
- func (o *CreateRuleParams) WithHTTPClient(client *http.Client) *CreateRuleParams
- func (o *CreateRuleParams) WithTimeout(timeout time.Duration) *CreateRuleParams
- func (o *CreateRuleParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type CreateRuleReader
- type DeleteDataModelBadRequest
- type DeleteDataModelInternalServerError
- type DeleteDataModelOK
- type DeleteDataModelParams
- func NewDeleteDataModelParams() *DeleteDataModelParams
- func NewDeleteDataModelParamsWithContext(ctx context.Context) *DeleteDataModelParams
- func NewDeleteDataModelParamsWithHTTPClient(client *http.Client) *DeleteDataModelParams
- func NewDeleteDataModelParamsWithTimeout(timeout time.Duration) *DeleteDataModelParams
- func (o *DeleteDataModelParams) SetBody(body *models.DeletePolicies)
- func (o *DeleteDataModelParams) SetContext(ctx context.Context)
- func (o *DeleteDataModelParams) SetHTTPClient(client *http.Client)
- func (o *DeleteDataModelParams) SetTimeout(timeout time.Duration)
- func (o *DeleteDataModelParams) WithBody(body *models.DeletePolicies) *DeleteDataModelParams
- func (o *DeleteDataModelParams) WithContext(ctx context.Context) *DeleteDataModelParams
- func (o *DeleteDataModelParams) WithHTTPClient(client *http.Client) *DeleteDataModelParams
- func (o *DeleteDataModelParams) WithTimeout(timeout time.Duration) *DeleteDataModelParams
- func (o *DeleteDataModelParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DeleteDataModelReader
- type DeleteGlobalsBadRequest
- type DeleteGlobalsInternalServerError
- type DeleteGlobalsOK
- type DeleteGlobalsParams
- func (o *DeleteGlobalsParams) SetBody(body *models.DeletePolicies)
- func (o *DeleteGlobalsParams) SetContext(ctx context.Context)
- func (o *DeleteGlobalsParams) SetHTTPClient(client *http.Client)
- func (o *DeleteGlobalsParams) SetTimeout(timeout time.Duration)
- func (o *DeleteGlobalsParams) WithBody(body *models.DeletePolicies) *DeleteGlobalsParams
- func (o *DeleteGlobalsParams) WithContext(ctx context.Context) *DeleteGlobalsParams
- func (o *DeleteGlobalsParams) WithHTTPClient(client *http.Client) *DeleteGlobalsParams
- func (o *DeleteGlobalsParams) WithTimeout(timeout time.Duration) *DeleteGlobalsParams
- func (o *DeleteGlobalsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DeleteGlobalsReader
- type DeletePoliciesBadRequest
- type DeletePoliciesInternalServerError
- type DeletePoliciesOK
- type DeletePoliciesParams
- func NewDeletePoliciesParams() *DeletePoliciesParams
- func NewDeletePoliciesParamsWithContext(ctx context.Context) *DeletePoliciesParams
- func NewDeletePoliciesParamsWithHTTPClient(client *http.Client) *DeletePoliciesParams
- func NewDeletePoliciesParamsWithTimeout(timeout time.Duration) *DeletePoliciesParams
- func (o *DeletePoliciesParams) SetBody(body *models.DeletePolicies)
- func (o *DeletePoliciesParams) SetContext(ctx context.Context)
- func (o *DeletePoliciesParams) SetHTTPClient(client *http.Client)
- func (o *DeletePoliciesParams) SetTimeout(timeout time.Duration)
- func (o *DeletePoliciesParams) WithBody(body *models.DeletePolicies) *DeletePoliciesParams
- func (o *DeletePoliciesParams) WithContext(ctx context.Context) *DeletePoliciesParams
- func (o *DeletePoliciesParams) WithHTTPClient(client *http.Client) *DeletePoliciesParams
- func (o *DeletePoliciesParams) WithTimeout(timeout time.Duration) *DeletePoliciesParams
- func (o *DeletePoliciesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DeletePoliciesReader
- type GetDataModelBadRequest
- type GetDataModelInternalServerError
- type GetDataModelNotFound
- type GetDataModelOK
- type GetDataModelParams
- func (o *GetDataModelParams) SetContext(ctx context.Context)
- func (o *GetDataModelParams) SetDataModelID(dataModelID string)
- func (o *GetDataModelParams) SetHTTPClient(client *http.Client)
- func (o *GetDataModelParams) SetTimeout(timeout time.Duration)
- func (o *GetDataModelParams) SetVersionID(versionID *string)
- func (o *GetDataModelParams) WithContext(ctx context.Context) *GetDataModelParams
- func (o *GetDataModelParams) WithDataModelID(dataModelID string) *GetDataModelParams
- func (o *GetDataModelParams) WithHTTPClient(client *http.Client) *GetDataModelParams
- func (o *GetDataModelParams) WithTimeout(timeout time.Duration) *GetDataModelParams
- func (o *GetDataModelParams) WithVersionID(versionID *string) *GetDataModelParams
- func (o *GetDataModelParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetDataModelReader
- type GetEnabledPoliciesBadRequest
- type GetEnabledPoliciesInternalServerError
- type GetEnabledPoliciesOK
- type GetEnabledPoliciesParams
- func NewGetEnabledPoliciesParams() *GetEnabledPoliciesParams
- func NewGetEnabledPoliciesParamsWithContext(ctx context.Context) *GetEnabledPoliciesParams
- func NewGetEnabledPoliciesParamsWithHTTPClient(client *http.Client) *GetEnabledPoliciesParams
- func NewGetEnabledPoliciesParamsWithTimeout(timeout time.Duration) *GetEnabledPoliciesParams
- func (o *GetEnabledPoliciesParams) SetContext(ctx context.Context)
- func (o *GetEnabledPoliciesParams) SetHTTPClient(client *http.Client)
- func (o *GetEnabledPoliciesParams) SetTimeout(timeout time.Duration)
- func (o *GetEnabledPoliciesParams) SetType(typeVar string)
- func (o *GetEnabledPoliciesParams) WithContext(ctx context.Context) *GetEnabledPoliciesParams
- func (o *GetEnabledPoliciesParams) WithHTTPClient(client *http.Client) *GetEnabledPoliciesParams
- func (o *GetEnabledPoliciesParams) WithTimeout(timeout time.Duration) *GetEnabledPoliciesParams
- func (o *GetEnabledPoliciesParams) WithType(typeVar string) *GetEnabledPoliciesParams
- func (o *GetEnabledPoliciesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetEnabledPoliciesReader
- type GetGlobalBadRequest
- type GetGlobalInternalServerError
- type GetGlobalNotFound
- type GetGlobalOK
- type GetGlobalParams
- func (o *GetGlobalParams) SetContext(ctx context.Context)
- func (o *GetGlobalParams) SetGlobalID(globalID string)
- func (o *GetGlobalParams) SetHTTPClient(client *http.Client)
- func (o *GetGlobalParams) SetTimeout(timeout time.Duration)
- func (o *GetGlobalParams) SetVersionID(versionID *string)
- func (o *GetGlobalParams) WithContext(ctx context.Context) *GetGlobalParams
- func (o *GetGlobalParams) WithGlobalID(globalID string) *GetGlobalParams
- func (o *GetGlobalParams) WithHTTPClient(client *http.Client) *GetGlobalParams
- func (o *GetGlobalParams) WithTimeout(timeout time.Duration) *GetGlobalParams
- func (o *GetGlobalParams) WithVersionID(versionID *string) *GetGlobalParams
- func (o *GetGlobalParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetGlobalReader
- type GetPolicyBadRequest
- type GetPolicyInternalServerError
- type GetPolicyNotFound
- type GetPolicyOK
- type GetPolicyParams
- func (o *GetPolicyParams) SetContext(ctx context.Context)
- func (o *GetPolicyParams) SetHTTPClient(client *http.Client)
- func (o *GetPolicyParams) SetPolicyID(policyID string)
- func (o *GetPolicyParams) SetTimeout(timeout time.Duration)
- func (o *GetPolicyParams) SetVersionID(versionID *string)
- func (o *GetPolicyParams) WithContext(ctx context.Context) *GetPolicyParams
- func (o *GetPolicyParams) WithHTTPClient(client *http.Client) *GetPolicyParams
- func (o *GetPolicyParams) WithPolicyID(policyID string) *GetPolicyParams
- func (o *GetPolicyParams) WithTimeout(timeout time.Duration) *GetPolicyParams
- func (o *GetPolicyParams) WithVersionID(versionID *string) *GetPolicyParams
- func (o *GetPolicyParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetPolicyReader
- type GetRuleBadRequest
- type GetRuleInternalServerError
- type GetRuleNotFound
- type GetRuleOK
- type GetRuleParams
- func (o *GetRuleParams) SetContext(ctx context.Context)
- func (o *GetRuleParams) SetHTTPClient(client *http.Client)
- func (o *GetRuleParams) SetRuleID(ruleID string)
- func (o *GetRuleParams) SetTimeout(timeout time.Duration)
- func (o *GetRuleParams) SetVersionID(versionID *string)
- func (o *GetRuleParams) WithContext(ctx context.Context) *GetRuleParams
- func (o *GetRuleParams) WithHTTPClient(client *http.Client) *GetRuleParams
- func (o *GetRuleParams) WithRuleID(ruleID string) *GetRuleParams
- func (o *GetRuleParams) WithTimeout(timeout time.Duration) *GetRuleParams
- func (o *GetRuleParams) WithVersionID(versionID *string) *GetRuleParams
- func (o *GetRuleParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetRuleReader
- type ListDataModelsBadRequest
- type ListDataModelsInternalServerError
- type ListDataModelsOK
- type ListDataModelsParams
- func NewListDataModelsParams() *ListDataModelsParams
- func NewListDataModelsParamsWithContext(ctx context.Context) *ListDataModelsParams
- func NewListDataModelsParamsWithHTTPClient(client *http.Client) *ListDataModelsParams
- func NewListDataModelsParamsWithTimeout(timeout time.Duration) *ListDataModelsParams
- func (o *ListDataModelsParams) SetContext(ctx context.Context)
- func (o *ListDataModelsParams) SetEnabled(enabled *bool)
- func (o *ListDataModelsParams) SetHTTPClient(client *http.Client)
- func (o *ListDataModelsParams) SetLogTypes(logTypes []string)
- func (o *ListDataModelsParams) SetNameContains(nameContains *string)
- func (o *ListDataModelsParams) SetPage(page *int64)
- func (o *ListDataModelsParams) SetPageSize(pageSize *int64)
- func (o *ListDataModelsParams) SetSortBy(sortBy *string)
- func (o *ListDataModelsParams) SetSortDir(sortDir *string)
- func (o *ListDataModelsParams) SetTimeout(timeout time.Duration)
- func (o *ListDataModelsParams) WithContext(ctx context.Context) *ListDataModelsParams
- func (o *ListDataModelsParams) WithEnabled(enabled *bool) *ListDataModelsParams
- func (o *ListDataModelsParams) WithHTTPClient(client *http.Client) *ListDataModelsParams
- func (o *ListDataModelsParams) WithLogTypes(logTypes []string) *ListDataModelsParams
- func (o *ListDataModelsParams) WithNameContains(nameContains *string) *ListDataModelsParams
- func (o *ListDataModelsParams) WithPage(page *int64) *ListDataModelsParams
- func (o *ListDataModelsParams) WithPageSize(pageSize *int64) *ListDataModelsParams
- func (o *ListDataModelsParams) WithSortBy(sortBy *string) *ListDataModelsParams
- func (o *ListDataModelsParams) WithSortDir(sortDir *string) *ListDataModelsParams
- func (o *ListDataModelsParams) WithTimeout(timeout time.Duration) *ListDataModelsParams
- func (o *ListDataModelsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ListDataModelsReader
- type ListGlobalsBadRequest
- type ListGlobalsInternalServerError
- type ListGlobalsOK
- type ListGlobalsParams
- func (o *ListGlobalsParams) SetContext(ctx context.Context)
- func (o *ListGlobalsParams) SetHTTPClient(client *http.Client)
- func (o *ListGlobalsParams) SetPage(page *int64)
- func (o *ListGlobalsParams) SetPageSize(pageSize *int64)
- func (o *ListGlobalsParams) SetSortDir(sortDir *string)
- func (o *ListGlobalsParams) SetTimeout(timeout time.Duration)
- func (o *ListGlobalsParams) WithContext(ctx context.Context) *ListGlobalsParams
- func (o *ListGlobalsParams) WithHTTPClient(client *http.Client) *ListGlobalsParams
- func (o *ListGlobalsParams) WithPage(page *int64) *ListGlobalsParams
- func (o *ListGlobalsParams) WithPageSize(pageSize *int64) *ListGlobalsParams
- func (o *ListGlobalsParams) WithSortDir(sortDir *string) *ListGlobalsParams
- func (o *ListGlobalsParams) WithTimeout(timeout time.Duration) *ListGlobalsParams
- func (o *ListGlobalsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ListGlobalsReader
- type ListPoliciesBadRequest
- type ListPoliciesInternalServerError
- type ListPoliciesOK
- type ListPoliciesParams
- func (o *ListPoliciesParams) SetComplianceStatus(complianceStatus *string)
- func (o *ListPoliciesParams) SetContext(ctx context.Context)
- func (o *ListPoliciesParams) SetEnabled(enabled *bool)
- func (o *ListPoliciesParams) SetHTTPClient(client *http.Client)
- func (o *ListPoliciesParams) SetHasRemediation(hasRemediation *bool)
- func (o *ListPoliciesParams) SetNameContains(nameContains *string)
- func (o *ListPoliciesParams) SetPage(page *int64)
- func (o *ListPoliciesParams) SetPageSize(pageSize *int64)
- func (o *ListPoliciesParams) SetResourceTypes(resourceTypes []string)
- func (o *ListPoliciesParams) SetSeverity(severity *string)
- func (o *ListPoliciesParams) SetSortBy(sortBy *string)
- func (o *ListPoliciesParams) SetSortDir(sortDir *string)
- func (o *ListPoliciesParams) SetTags(tags []string)
- func (o *ListPoliciesParams) SetTimeout(timeout time.Duration)
- func (o *ListPoliciesParams) WithComplianceStatus(complianceStatus *string) *ListPoliciesParams
- func (o *ListPoliciesParams) WithContext(ctx context.Context) *ListPoliciesParams
- func (o *ListPoliciesParams) WithEnabled(enabled *bool) *ListPoliciesParams
- func (o *ListPoliciesParams) WithHTTPClient(client *http.Client) *ListPoliciesParams
- func (o *ListPoliciesParams) WithHasRemediation(hasRemediation *bool) *ListPoliciesParams
- func (o *ListPoliciesParams) WithNameContains(nameContains *string) *ListPoliciesParams
- func (o *ListPoliciesParams) WithPage(page *int64) *ListPoliciesParams
- func (o *ListPoliciesParams) WithPageSize(pageSize *int64) *ListPoliciesParams
- func (o *ListPoliciesParams) WithResourceTypes(resourceTypes []string) *ListPoliciesParams
- func (o *ListPoliciesParams) WithSeverity(severity *string) *ListPoliciesParams
- func (o *ListPoliciesParams) WithSortBy(sortBy *string) *ListPoliciesParams
- func (o *ListPoliciesParams) WithSortDir(sortDir *string) *ListPoliciesParams
- func (o *ListPoliciesParams) WithTags(tags []string) *ListPoliciesParams
- func (o *ListPoliciesParams) WithTimeout(timeout time.Duration) *ListPoliciesParams
- func (o *ListPoliciesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ListPoliciesReader
- type ListRulesBadRequest
- type ListRulesInternalServerError
- type ListRulesOK
- type ListRulesParams
- func (o *ListRulesParams) SetContext(ctx context.Context)
- func (o *ListRulesParams) SetEnabled(enabled *bool)
- func (o *ListRulesParams) SetHTTPClient(client *http.Client)
- func (o *ListRulesParams) SetLogTypes(logTypes []string)
- func (o *ListRulesParams) SetNameContains(nameContains *string)
- func (o *ListRulesParams) SetPage(page *int64)
- func (o *ListRulesParams) SetPageSize(pageSize *int64)
- func (o *ListRulesParams) SetSeverity(severity *string)
- func (o *ListRulesParams) SetSortBy(sortBy *string)
- func (o *ListRulesParams) SetSortDir(sortDir *string)
- func (o *ListRulesParams) SetTags(tags []string)
- func (o *ListRulesParams) SetTimeout(timeout time.Duration)
- func (o *ListRulesParams) WithContext(ctx context.Context) *ListRulesParams
- func (o *ListRulesParams) WithEnabled(enabled *bool) *ListRulesParams
- func (o *ListRulesParams) WithHTTPClient(client *http.Client) *ListRulesParams
- func (o *ListRulesParams) WithLogTypes(logTypes []string) *ListRulesParams
- func (o *ListRulesParams) WithNameContains(nameContains *string) *ListRulesParams
- func (o *ListRulesParams) WithPage(page *int64) *ListRulesParams
- func (o *ListRulesParams) WithPageSize(pageSize *int64) *ListRulesParams
- func (o *ListRulesParams) WithSeverity(severity *string) *ListRulesParams
- func (o *ListRulesParams) WithSortBy(sortBy *string) *ListRulesParams
- func (o *ListRulesParams) WithSortDir(sortDir *string) *ListRulesParams
- func (o *ListRulesParams) WithTags(tags []string) *ListRulesParams
- func (o *ListRulesParams) WithTimeout(timeout time.Duration) *ListRulesParams
- func (o *ListRulesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ListRulesReader
- type ModifyDataModelBadRequest
- type ModifyDataModelInternalServerError
- type ModifyDataModelNotFound
- type ModifyDataModelOK
- type ModifyDataModelParams
- func NewModifyDataModelParams() *ModifyDataModelParams
- func NewModifyDataModelParamsWithContext(ctx context.Context) *ModifyDataModelParams
- func NewModifyDataModelParamsWithHTTPClient(client *http.Client) *ModifyDataModelParams
- func NewModifyDataModelParamsWithTimeout(timeout time.Duration) *ModifyDataModelParams
- func (o *ModifyDataModelParams) SetBody(body *models.UpdateDataModel)
- func (o *ModifyDataModelParams) SetContext(ctx context.Context)
- func (o *ModifyDataModelParams) SetHTTPClient(client *http.Client)
- func (o *ModifyDataModelParams) SetTimeout(timeout time.Duration)
- func (o *ModifyDataModelParams) WithBody(body *models.UpdateDataModel) *ModifyDataModelParams
- func (o *ModifyDataModelParams) WithContext(ctx context.Context) *ModifyDataModelParams
- func (o *ModifyDataModelParams) WithHTTPClient(client *http.Client) *ModifyDataModelParams
- func (o *ModifyDataModelParams) WithTimeout(timeout time.Duration) *ModifyDataModelParams
- func (o *ModifyDataModelParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ModifyDataModelReader
- type ModifyGlobalBadRequest
- type ModifyGlobalInternalServerError
- type ModifyGlobalNotFound
- type ModifyGlobalOK
- type ModifyGlobalParams
- func (o *ModifyGlobalParams) SetBody(body *models.UpdateGlobal)
- func (o *ModifyGlobalParams) SetContext(ctx context.Context)
- func (o *ModifyGlobalParams) SetHTTPClient(client *http.Client)
- func (o *ModifyGlobalParams) SetTimeout(timeout time.Duration)
- func (o *ModifyGlobalParams) WithBody(body *models.UpdateGlobal) *ModifyGlobalParams
- func (o *ModifyGlobalParams) WithContext(ctx context.Context) *ModifyGlobalParams
- func (o *ModifyGlobalParams) WithHTTPClient(client *http.Client) *ModifyGlobalParams
- func (o *ModifyGlobalParams) WithTimeout(timeout time.Duration) *ModifyGlobalParams
- func (o *ModifyGlobalParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ModifyGlobalReader
- type ModifyPolicyBadRequest
- type ModifyPolicyInternalServerError
- type ModifyPolicyNotFound
- type ModifyPolicyOK
- type ModifyPolicyParams
- func (o *ModifyPolicyParams) SetBody(body *models.UpdatePolicy)
- func (o *ModifyPolicyParams) SetContext(ctx context.Context)
- func (o *ModifyPolicyParams) SetHTTPClient(client *http.Client)
- func (o *ModifyPolicyParams) SetTimeout(timeout time.Duration)
- func (o *ModifyPolicyParams) WithBody(body *models.UpdatePolicy) *ModifyPolicyParams
- func (o *ModifyPolicyParams) WithContext(ctx context.Context) *ModifyPolicyParams
- func (o *ModifyPolicyParams) WithHTTPClient(client *http.Client) *ModifyPolicyParams
- func (o *ModifyPolicyParams) WithTimeout(timeout time.Duration) *ModifyPolicyParams
- func (o *ModifyPolicyParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ModifyPolicyReader
- type ModifyRuleBadRequest
- type ModifyRuleInternalServerError
- type ModifyRuleNotFound
- type ModifyRuleOK
- type ModifyRuleParams
- func (o *ModifyRuleParams) SetBody(body *models.UpdateRule)
- func (o *ModifyRuleParams) SetContext(ctx context.Context)
- func (o *ModifyRuleParams) SetHTTPClient(client *http.Client)
- func (o *ModifyRuleParams) SetTimeout(timeout time.Duration)
- func (o *ModifyRuleParams) WithBody(body *models.UpdateRule) *ModifyRuleParams
- func (o *ModifyRuleParams) WithContext(ctx context.Context) *ModifyRuleParams
- func (o *ModifyRuleParams) WithHTTPClient(client *http.Client) *ModifyRuleParams
- func (o *ModifyRuleParams) WithTimeout(timeout time.Duration) *ModifyRuleParams
- func (o *ModifyRuleParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ModifyRuleReader
- type SuppressBadRequest
- type SuppressInternalServerError
- type SuppressOK
- type SuppressParams
- func (o *SuppressParams) SetBody(body *models.Suppress)
- func (o *SuppressParams) SetContext(ctx context.Context)
- func (o *SuppressParams) SetHTTPClient(client *http.Client)
- func (o *SuppressParams) SetTimeout(timeout time.Duration)
- func (o *SuppressParams) WithBody(body *models.Suppress) *SuppressParams
- func (o *SuppressParams) WithContext(ctx context.Context) *SuppressParams
- func (o *SuppressParams) WithHTTPClient(client *http.Client) *SuppressParams
- func (o *SuppressParams) WithTimeout(timeout time.Duration) *SuppressParams
- func (o *SuppressParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type SuppressReader
- type TestPolicyBadRequest
- type TestPolicyInternalServerError
- type TestPolicyOK
- type TestPolicyParams
- func (o *TestPolicyParams) SetBody(body *models.TestPolicy)
- func (o *TestPolicyParams) SetContext(ctx context.Context)
- func (o *TestPolicyParams) SetHTTPClient(client *http.Client)
- func (o *TestPolicyParams) SetTimeout(timeout time.Duration)
- func (o *TestPolicyParams) WithBody(body *models.TestPolicy) *TestPolicyParams
- func (o *TestPolicyParams) WithContext(ctx context.Context) *TestPolicyParams
- func (o *TestPolicyParams) WithHTTPClient(client *http.Client) *TestPolicyParams
- func (o *TestPolicyParams) WithTimeout(timeout time.Duration) *TestPolicyParams
- func (o *TestPolicyParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type TestPolicyReader
- type TestRuleBadRequest
- type TestRuleInternalServerError
- type TestRuleOK
- type TestRuleParams
- func (o *TestRuleParams) SetBody(body *models.TestPolicy)
- func (o *TestRuleParams) SetContext(ctx context.Context)
- func (o *TestRuleParams) SetHTTPClient(client *http.Client)
- func (o *TestRuleParams) SetTimeout(timeout time.Duration)
- func (o *TestRuleParams) WithBody(body *models.TestPolicy) *TestRuleParams
- func (o *TestRuleParams) WithContext(ctx context.Context) *TestRuleParams
- func (o *TestRuleParams) WithHTTPClient(client *http.Client) *TestRuleParams
- func (o *TestRuleParams) WithTimeout(timeout time.Duration) *TestRuleParams
- func (o *TestRuleParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type TestRuleReader
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BulkUploadBadRequest ¶
BulkUploadBadRequest handles this case with default header values.
Bad request
func NewBulkUploadBadRequest ¶
func NewBulkUploadBadRequest() *BulkUploadBadRequest
NewBulkUploadBadRequest creates a BulkUploadBadRequest with default headers values
func (*BulkUploadBadRequest) Error ¶
func (o *BulkUploadBadRequest) Error() string
func (*BulkUploadBadRequest) GetPayload ¶
func (o *BulkUploadBadRequest) GetPayload() *models.Error
type BulkUploadInternalServerError ¶
type BulkUploadInternalServerError struct { }
BulkUploadInternalServerError handles this case with default header values.
Internal server error
func NewBulkUploadInternalServerError ¶
func NewBulkUploadInternalServerError() *BulkUploadInternalServerError
NewBulkUploadInternalServerError creates a BulkUploadInternalServerError with default headers values
func (*BulkUploadInternalServerError) Error ¶
func (o *BulkUploadInternalServerError) Error() string
type BulkUploadOK ¶
type BulkUploadOK struct {
Payload *models.BulkUploadResult
}
BulkUploadOK handles this case with default header values.
OK
func NewBulkUploadOK ¶
func NewBulkUploadOK() *BulkUploadOK
NewBulkUploadOK creates a BulkUploadOK with default headers values
func (*BulkUploadOK) Error ¶
func (o *BulkUploadOK) Error() string
func (*BulkUploadOK) GetPayload ¶
func (o *BulkUploadOK) GetPayload() *models.BulkUploadResult
type BulkUploadParams ¶
type BulkUploadParams struct { /*Body*/ Body *models.BulkUpload Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
BulkUploadParams contains all the parameters to send to the API endpoint for the bulk upload operation typically these are written to a http.Request
func NewBulkUploadParams ¶
func NewBulkUploadParams() *BulkUploadParams
NewBulkUploadParams creates a new BulkUploadParams object with the default values initialized.
func NewBulkUploadParamsWithContext ¶
func NewBulkUploadParamsWithContext(ctx context.Context) *BulkUploadParams
NewBulkUploadParamsWithContext creates a new BulkUploadParams object with the default values initialized, and the ability to set a context for a request
func NewBulkUploadParamsWithHTTPClient ¶
func NewBulkUploadParamsWithHTTPClient(client *http.Client) *BulkUploadParams
NewBulkUploadParamsWithHTTPClient creates a new BulkUploadParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewBulkUploadParamsWithTimeout ¶
func NewBulkUploadParamsWithTimeout(timeout time.Duration) *BulkUploadParams
NewBulkUploadParamsWithTimeout creates a new BulkUploadParams object with the default values initialized, and the ability to set a timeout on a request
func (*BulkUploadParams) SetBody ¶
func (o *BulkUploadParams) SetBody(body *models.BulkUpload)
SetBody adds the body to the bulk upload params
func (*BulkUploadParams) SetContext ¶
func (o *BulkUploadParams) SetContext(ctx context.Context)
SetContext adds the context to the bulk upload params
func (*BulkUploadParams) SetHTTPClient ¶
func (o *BulkUploadParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the bulk upload params
func (*BulkUploadParams) SetTimeout ¶
func (o *BulkUploadParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the bulk upload params
func (*BulkUploadParams) WithBody ¶
func (o *BulkUploadParams) WithBody(body *models.BulkUpload) *BulkUploadParams
WithBody adds the body to the bulk upload params
func (*BulkUploadParams) WithContext ¶
func (o *BulkUploadParams) WithContext(ctx context.Context) *BulkUploadParams
WithContext adds the context to the bulk upload params
func (*BulkUploadParams) WithHTTPClient ¶
func (o *BulkUploadParams) WithHTTPClient(client *http.Client) *BulkUploadParams
WithHTTPClient adds the HTTPClient to the bulk upload params
func (*BulkUploadParams) WithTimeout ¶
func (o *BulkUploadParams) WithTimeout(timeout time.Duration) *BulkUploadParams
WithTimeout adds the timeout to the bulk upload params
func (*BulkUploadParams) WriteToRequest ¶
func (o *BulkUploadParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type BulkUploadReader ¶
type BulkUploadReader struct {
// contains filtered or unexported fields
}
BulkUploadReader is a Reader for the BulkUpload structure.
func (*BulkUploadReader) ReadResponse ¶
func (o *BulkUploadReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client for operations API
func (*Client) BulkUpload ¶
func (a *Client) BulkUpload(params *BulkUploadParams) (*BulkUploadOK, error)
BulkUpload uploads a zipfile containing a bundle of policies
func (*Client) CreateDataModel ¶ added in v1.13.0
func (a *Client) CreateDataModel(params *CreateDataModelParams) (*CreateDataModelCreated, error)
CreateDataModel creates a new data model module
func (*Client) CreateGlobal ¶ added in v1.1.0
func (a *Client) CreateGlobal(params *CreateGlobalParams) (*CreateGlobalCreated, error)
CreateGlobal creates a new global module
func (*Client) CreatePolicy ¶
func (a *Client) CreatePolicy(params *CreatePolicyParams) (*CreatePolicyCreated, error)
CreatePolicy creates a new compliance policy
func (*Client) CreateRule ¶
func (a *Client) CreateRule(params *CreateRuleParams) (*CreateRuleCreated, error)
CreateRule creates a new log analysis rule
func (*Client) DeleteGlobals ¶ added in v1.1.0
func (a *Client) DeleteGlobals(params *DeleteGlobalsParams) (*DeleteGlobalsOK, error)
DeleteGlobals deletes one or more globals
func (*Client) DeletePolicies ¶
func (a *Client) DeletePolicies(params *DeletePoliciesParams) (*DeletePoliciesOK, error)
DeletePolicies deletes one or more policies rules
func (*Client) GetDataModel ¶ added in v1.13.0
func (a *Client) GetDataModel(params *GetDataModelParams) (*GetDataModelOK, error)
GetDataModel gets data model details
func (*Client) GetEnabledPolicies ¶
func (a *Client) GetEnabledPolicies(params *GetEnabledPoliciesParams) (*GetEnabledPoliciesOK, error)
GetEnabledPolicies lists all enabled rules policies datamodels for a customer account for backend processing
func (*Client) GetGlobal ¶ added in v1.1.0
func (a *Client) GetGlobal(params *GetGlobalParams) (*GetGlobalOK, error)
GetGlobal gets global details
func (*Client) GetPolicy ¶
func (a *Client) GetPolicy(params *GetPolicyParams) (*GetPolicyOK, error)
GetPolicy gets policy details
func (*Client) GetRule ¶
func (a *Client) GetRule(params *GetRuleParams) (*GetRuleOK, error)
GetRule gets rule details
func (*Client) ListDataModels ¶ added in v1.13.0
func (a *Client) ListDataModels(params *ListDataModelsParams) (*ListDataModelsOK, error)
ListDataModels pages through data models in a customer s account
func (*Client) ListGlobals ¶ added in v1.3.0
func (a *Client) ListGlobals(params *ListGlobalsParams) (*ListGlobalsOK, error)
ListGlobals pages through globals in a customer s account
func (*Client) ListPolicies ¶
func (a *Client) ListPolicies(params *ListPoliciesParams) (*ListPoliciesOK, error)
ListPolicies pages through policies in a customer s account
func (*Client) ListRules ¶
func (a *Client) ListRules(params *ListRulesParams) (*ListRulesOK, error)
ListRules pages through rules in a customer s account
func (*Client) ModifyDataModel ¶ added in v1.13.0
func (a *Client) ModifyDataModel(params *ModifyDataModelParams) (*ModifyDataModelOK, error)
ModifyDataModel modifies an existing data model
func (*Client) ModifyGlobal ¶ added in v1.1.0
func (a *Client) ModifyGlobal(params *ModifyGlobalParams) (*ModifyGlobalOK, error)
ModifyGlobal modifies an existing global
func (*Client) ModifyPolicy ¶
func (a *Client) ModifyPolicy(params *ModifyPolicyParams) (*ModifyPolicyOK, error)
ModifyPolicy modifies an existing policy
func (*Client) ModifyRule ¶
func (a *Client) ModifyRule(params *ModifyRuleParams) (*ModifyRuleOK, error)
ModifyRule modifies an existing rule
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
func (*Client) Suppress ¶
func (a *Client) Suppress(params *SuppressParams) (*SuppressOK, error)
Suppress suppresses resource patterns across one or more policies
func (*Client) TestPolicy ¶
func (a *Client) TestPolicy(params *TestPolicyParams) (*TestPolicyOK, error)
TestPolicy tests a policy against a set of unit tests
func (*Client) TestRule ¶ added in v1.12.0
func (a *Client) TestRule(params *TestRuleParams) (*TestRuleOK, error)
TestRule tests a rule against a set of unit tests
type ClientService ¶ added in v1.0.0
type ClientService interface { BulkUpload(params *BulkUploadParams) (*BulkUploadOK, error) CreateDataModel(params *CreateDataModelParams) (*CreateDataModelCreated, error) CreateGlobal(params *CreateGlobalParams) (*CreateGlobalCreated, error) CreatePolicy(params *CreatePolicyParams) (*CreatePolicyCreated, error) CreateRule(params *CreateRuleParams) (*CreateRuleCreated, error) DeleteGlobals(params *DeleteGlobalsParams) (*DeleteGlobalsOK, error) DeletePolicies(params *DeletePoliciesParams) (*DeletePoliciesOK, error) GetDataModel(params *GetDataModelParams) (*GetDataModelOK, error) GetEnabledPolicies(params *GetEnabledPoliciesParams) (*GetEnabledPoliciesOK, error) GetGlobal(params *GetGlobalParams) (*GetGlobalOK, error) GetPolicy(params *GetPolicyParams) (*GetPolicyOK, error) GetRule(params *GetRuleParams) (*GetRuleOK, error) ListDataModels(params *ListDataModelsParams) (*ListDataModelsOK, error) ListGlobals(params *ListGlobalsParams) (*ListGlobalsOK, error) ListPolicies(params *ListPoliciesParams) (*ListPoliciesOK, error) ListRules(params *ListRulesParams) (*ListRulesOK, error) ModifyDataModel(params *ModifyDataModelParams) (*ModifyDataModelOK, error) ModifyGlobal(params *ModifyGlobalParams) (*ModifyGlobalOK, error) ModifyPolicy(params *ModifyPolicyParams) (*ModifyPolicyOK, error) ModifyRule(params *ModifyRuleParams) (*ModifyRuleOK, error) Suppress(params *SuppressParams) (*SuppressOK, error) TestPolicy(params *TestPolicyParams) (*TestPolicyOK, error) TestRule(params *TestRuleParams) (*TestRuleOK, 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 operations API client.
type CreateDataModelBadRequest ¶ added in v1.13.0
CreateDataModelBadRequest handles this case with default header values.
Bad request
func NewCreateDataModelBadRequest ¶ added in v1.13.0
func NewCreateDataModelBadRequest() *CreateDataModelBadRequest
NewCreateDataModelBadRequest creates a CreateDataModelBadRequest with default headers values
func (*CreateDataModelBadRequest) Error ¶ added in v1.13.0
func (o *CreateDataModelBadRequest) Error() string
func (*CreateDataModelBadRequest) GetPayload ¶ added in v1.13.0
func (o *CreateDataModelBadRequest) GetPayload() *models.Error
type CreateDataModelConflict ¶ added in v1.13.0
type CreateDataModelConflict struct { }
CreateDataModelConflict handles this case with default header values.
DataModel with the given ID already exists
func NewCreateDataModelConflict ¶ added in v1.13.0
func NewCreateDataModelConflict() *CreateDataModelConflict
NewCreateDataModelConflict creates a CreateDataModelConflict with default headers values
func (*CreateDataModelConflict) Error ¶ added in v1.13.0
func (o *CreateDataModelConflict) Error() string
type CreateDataModelCreated ¶ added in v1.13.0
CreateDataModelCreated handles this case with default header values.
DataModel created successfully
func NewCreateDataModelCreated ¶ added in v1.13.0
func NewCreateDataModelCreated() *CreateDataModelCreated
NewCreateDataModelCreated creates a CreateDataModelCreated with default headers values
func (*CreateDataModelCreated) Error ¶ added in v1.13.0
func (o *CreateDataModelCreated) Error() string
func (*CreateDataModelCreated) GetPayload ¶ added in v1.13.0
func (o *CreateDataModelCreated) GetPayload() *models.DataModel
type CreateDataModelInternalServerError ¶ added in v1.13.0
type CreateDataModelInternalServerError struct { }
CreateDataModelInternalServerError handles this case with default header values.
Internal server error
func NewCreateDataModelInternalServerError ¶ added in v1.13.0
func NewCreateDataModelInternalServerError() *CreateDataModelInternalServerError
NewCreateDataModelInternalServerError creates a CreateDataModelInternalServerError with default headers values
func (*CreateDataModelInternalServerError) Error ¶ added in v1.13.0
func (o *CreateDataModelInternalServerError) Error() string
type CreateDataModelParams ¶ added in v1.13.0
type CreateDataModelParams struct { /*Body*/ Body *models.UpdateDataModel Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
CreateDataModelParams contains all the parameters to send to the API endpoint for the create data model operation typically these are written to a http.Request
func NewCreateDataModelParams ¶ added in v1.13.0
func NewCreateDataModelParams() *CreateDataModelParams
NewCreateDataModelParams creates a new CreateDataModelParams object with the default values initialized.
func NewCreateDataModelParamsWithContext ¶ added in v1.13.0
func NewCreateDataModelParamsWithContext(ctx context.Context) *CreateDataModelParams
NewCreateDataModelParamsWithContext creates a new CreateDataModelParams object with the default values initialized, and the ability to set a context for a request
func NewCreateDataModelParamsWithHTTPClient ¶ added in v1.13.0
func NewCreateDataModelParamsWithHTTPClient(client *http.Client) *CreateDataModelParams
NewCreateDataModelParamsWithHTTPClient creates a new CreateDataModelParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewCreateDataModelParamsWithTimeout ¶ added in v1.13.0
func NewCreateDataModelParamsWithTimeout(timeout time.Duration) *CreateDataModelParams
NewCreateDataModelParamsWithTimeout creates a new CreateDataModelParams object with the default values initialized, and the ability to set a timeout on a request
func (*CreateDataModelParams) SetBody ¶ added in v1.13.0
func (o *CreateDataModelParams) SetBody(body *models.UpdateDataModel)
SetBody adds the body to the create data model params
func (*CreateDataModelParams) SetContext ¶ added in v1.13.0
func (o *CreateDataModelParams) SetContext(ctx context.Context)
SetContext adds the context to the create data model params
func (*CreateDataModelParams) SetHTTPClient ¶ added in v1.13.0
func (o *CreateDataModelParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the create data model params
func (*CreateDataModelParams) SetTimeout ¶ added in v1.13.0
func (o *CreateDataModelParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the create data model params
func (*CreateDataModelParams) WithBody ¶ added in v1.13.0
func (o *CreateDataModelParams) WithBody(body *models.UpdateDataModel) *CreateDataModelParams
WithBody adds the body to the create data model params
func (*CreateDataModelParams) WithContext ¶ added in v1.13.0
func (o *CreateDataModelParams) WithContext(ctx context.Context) *CreateDataModelParams
WithContext adds the context to the create data model params
func (*CreateDataModelParams) WithHTTPClient ¶ added in v1.13.0
func (o *CreateDataModelParams) WithHTTPClient(client *http.Client) *CreateDataModelParams
WithHTTPClient adds the HTTPClient to the create data model params
func (*CreateDataModelParams) WithTimeout ¶ added in v1.13.0
func (o *CreateDataModelParams) WithTimeout(timeout time.Duration) *CreateDataModelParams
WithTimeout adds the timeout to the create data model params
func (*CreateDataModelParams) WriteToRequest ¶ added in v1.13.0
func (o *CreateDataModelParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type CreateDataModelReader ¶ added in v1.13.0
type CreateDataModelReader struct {
// contains filtered or unexported fields
}
CreateDataModelReader is a Reader for the CreateDataModel structure.
func (*CreateDataModelReader) ReadResponse ¶ added in v1.13.0
func (o *CreateDataModelReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type CreateGlobalBadRequest ¶ added in v1.1.0
CreateGlobalBadRequest handles this case with default header values.
Bad request
func NewCreateGlobalBadRequest ¶ added in v1.1.0
func NewCreateGlobalBadRequest() *CreateGlobalBadRequest
NewCreateGlobalBadRequest creates a CreateGlobalBadRequest with default headers values
func (*CreateGlobalBadRequest) Error ¶ added in v1.1.0
func (o *CreateGlobalBadRequest) Error() string
func (*CreateGlobalBadRequest) GetPayload ¶ added in v1.1.0
func (o *CreateGlobalBadRequest) GetPayload() *models.Error
type CreateGlobalConflict ¶ added in v1.1.0
type CreateGlobalConflict struct { }
CreateGlobalConflict handles this case with default header values.
Global with the given ID already exists
func NewCreateGlobalConflict ¶ added in v1.1.0
func NewCreateGlobalConflict() *CreateGlobalConflict
NewCreateGlobalConflict creates a CreateGlobalConflict with default headers values
func (*CreateGlobalConflict) Error ¶ added in v1.1.0
func (o *CreateGlobalConflict) Error() string
type CreateGlobalCreated ¶ added in v1.1.0
CreateGlobalCreated handles this case with default header values.
Global created successfully
func NewCreateGlobalCreated ¶ added in v1.1.0
func NewCreateGlobalCreated() *CreateGlobalCreated
NewCreateGlobalCreated creates a CreateGlobalCreated with default headers values
func (*CreateGlobalCreated) Error ¶ added in v1.1.0
func (o *CreateGlobalCreated) Error() string
func (*CreateGlobalCreated) GetPayload ¶ added in v1.1.0
func (o *CreateGlobalCreated) GetPayload() *models.Global
type CreateGlobalInternalServerError ¶ added in v1.1.0
type CreateGlobalInternalServerError struct { }
CreateGlobalInternalServerError handles this case with default header values.
Internal server error
func NewCreateGlobalInternalServerError ¶ added in v1.1.0
func NewCreateGlobalInternalServerError() *CreateGlobalInternalServerError
NewCreateGlobalInternalServerError creates a CreateGlobalInternalServerError with default headers values
func (*CreateGlobalInternalServerError) Error ¶ added in v1.1.0
func (o *CreateGlobalInternalServerError) Error() string
type CreateGlobalParams ¶ added in v1.1.0
type CreateGlobalParams struct { /*Body*/ Body *models.UpdateGlobal Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
CreateGlobalParams contains all the parameters to send to the API endpoint for the create global operation typically these are written to a http.Request
func NewCreateGlobalParams ¶ added in v1.1.0
func NewCreateGlobalParams() *CreateGlobalParams
NewCreateGlobalParams creates a new CreateGlobalParams object with the default values initialized.
func NewCreateGlobalParamsWithContext ¶ added in v1.1.0
func NewCreateGlobalParamsWithContext(ctx context.Context) *CreateGlobalParams
NewCreateGlobalParamsWithContext creates a new CreateGlobalParams object with the default values initialized, and the ability to set a context for a request
func NewCreateGlobalParamsWithHTTPClient ¶ added in v1.1.0
func NewCreateGlobalParamsWithHTTPClient(client *http.Client) *CreateGlobalParams
NewCreateGlobalParamsWithHTTPClient creates a new CreateGlobalParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewCreateGlobalParamsWithTimeout ¶ added in v1.1.0
func NewCreateGlobalParamsWithTimeout(timeout time.Duration) *CreateGlobalParams
NewCreateGlobalParamsWithTimeout creates a new CreateGlobalParams object with the default values initialized, and the ability to set a timeout on a request
func (*CreateGlobalParams) SetBody ¶ added in v1.1.0
func (o *CreateGlobalParams) SetBody(body *models.UpdateGlobal)
SetBody adds the body to the create global params
func (*CreateGlobalParams) SetContext ¶ added in v1.1.0
func (o *CreateGlobalParams) SetContext(ctx context.Context)
SetContext adds the context to the create global params
func (*CreateGlobalParams) SetHTTPClient ¶ added in v1.1.0
func (o *CreateGlobalParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the create global params
func (*CreateGlobalParams) SetTimeout ¶ added in v1.1.0
func (o *CreateGlobalParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the create global params
func (*CreateGlobalParams) WithBody ¶ added in v1.1.0
func (o *CreateGlobalParams) WithBody(body *models.UpdateGlobal) *CreateGlobalParams
WithBody adds the body to the create global params
func (*CreateGlobalParams) WithContext ¶ added in v1.1.0
func (o *CreateGlobalParams) WithContext(ctx context.Context) *CreateGlobalParams
WithContext adds the context to the create global params
func (*CreateGlobalParams) WithHTTPClient ¶ added in v1.1.0
func (o *CreateGlobalParams) WithHTTPClient(client *http.Client) *CreateGlobalParams
WithHTTPClient adds the HTTPClient to the create global params
func (*CreateGlobalParams) WithTimeout ¶ added in v1.1.0
func (o *CreateGlobalParams) WithTimeout(timeout time.Duration) *CreateGlobalParams
WithTimeout adds the timeout to the create global params
func (*CreateGlobalParams) WriteToRequest ¶ added in v1.1.0
func (o *CreateGlobalParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type CreateGlobalReader ¶ added in v1.1.0
type CreateGlobalReader struct {
// contains filtered or unexported fields
}
CreateGlobalReader is a Reader for the CreateGlobal structure.
func (*CreateGlobalReader) ReadResponse ¶ added in v1.1.0
func (o *CreateGlobalReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type CreatePolicyBadRequest ¶
CreatePolicyBadRequest handles this case with default header values.
Bad request
func NewCreatePolicyBadRequest ¶
func NewCreatePolicyBadRequest() *CreatePolicyBadRequest
NewCreatePolicyBadRequest creates a CreatePolicyBadRequest with default headers values
func (*CreatePolicyBadRequest) Error ¶
func (o *CreatePolicyBadRequest) Error() string
func (*CreatePolicyBadRequest) GetPayload ¶
func (o *CreatePolicyBadRequest) GetPayload() *models.Error
type CreatePolicyConflict ¶
type CreatePolicyConflict struct { }
CreatePolicyConflict handles this case with default header values.
Rule or policy with the given ID already exists
func NewCreatePolicyConflict ¶
func NewCreatePolicyConflict() *CreatePolicyConflict
NewCreatePolicyConflict creates a CreatePolicyConflict with default headers values
func (*CreatePolicyConflict) Error ¶
func (o *CreatePolicyConflict) Error() string
type CreatePolicyCreated ¶
CreatePolicyCreated handles this case with default header values.
Policy created successfully
func NewCreatePolicyCreated ¶
func NewCreatePolicyCreated() *CreatePolicyCreated
NewCreatePolicyCreated creates a CreatePolicyCreated with default headers values
func (*CreatePolicyCreated) Error ¶
func (o *CreatePolicyCreated) Error() string
func (*CreatePolicyCreated) GetPayload ¶
func (o *CreatePolicyCreated) GetPayload() *models.Policy
type CreatePolicyInternalServerError ¶
type CreatePolicyInternalServerError struct { }
CreatePolicyInternalServerError handles this case with default header values.
Internal server error
func NewCreatePolicyInternalServerError ¶
func NewCreatePolicyInternalServerError() *CreatePolicyInternalServerError
NewCreatePolicyInternalServerError creates a CreatePolicyInternalServerError with default headers values
func (*CreatePolicyInternalServerError) Error ¶
func (o *CreatePolicyInternalServerError) Error() string
type CreatePolicyParams ¶
type CreatePolicyParams struct { /*Body*/ Body *models.UpdatePolicy Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
CreatePolicyParams contains all the parameters to send to the API endpoint for the create policy operation typically these are written to a http.Request
func NewCreatePolicyParams ¶
func NewCreatePolicyParams() *CreatePolicyParams
NewCreatePolicyParams creates a new CreatePolicyParams object with the default values initialized.
func NewCreatePolicyParamsWithContext ¶
func NewCreatePolicyParamsWithContext(ctx context.Context) *CreatePolicyParams
NewCreatePolicyParamsWithContext creates a new CreatePolicyParams object with the default values initialized, and the ability to set a context for a request
func NewCreatePolicyParamsWithHTTPClient ¶
func NewCreatePolicyParamsWithHTTPClient(client *http.Client) *CreatePolicyParams
NewCreatePolicyParamsWithHTTPClient creates a new CreatePolicyParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewCreatePolicyParamsWithTimeout ¶
func NewCreatePolicyParamsWithTimeout(timeout time.Duration) *CreatePolicyParams
NewCreatePolicyParamsWithTimeout creates a new CreatePolicyParams object with the default values initialized, and the ability to set a timeout on a request
func (*CreatePolicyParams) SetBody ¶
func (o *CreatePolicyParams) SetBody(body *models.UpdatePolicy)
SetBody adds the body to the create policy params
func (*CreatePolicyParams) SetContext ¶
func (o *CreatePolicyParams) SetContext(ctx context.Context)
SetContext adds the context to the create policy params
func (*CreatePolicyParams) SetHTTPClient ¶
func (o *CreatePolicyParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the create policy params
func (*CreatePolicyParams) SetTimeout ¶
func (o *CreatePolicyParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the create policy params
func (*CreatePolicyParams) WithBody ¶
func (o *CreatePolicyParams) WithBody(body *models.UpdatePolicy) *CreatePolicyParams
WithBody adds the body to the create policy params
func (*CreatePolicyParams) WithContext ¶
func (o *CreatePolicyParams) WithContext(ctx context.Context) *CreatePolicyParams
WithContext adds the context to the create policy params
func (*CreatePolicyParams) WithHTTPClient ¶
func (o *CreatePolicyParams) WithHTTPClient(client *http.Client) *CreatePolicyParams
WithHTTPClient adds the HTTPClient to the create policy params
func (*CreatePolicyParams) WithTimeout ¶
func (o *CreatePolicyParams) WithTimeout(timeout time.Duration) *CreatePolicyParams
WithTimeout adds the timeout to the create policy params
func (*CreatePolicyParams) WriteToRequest ¶
func (o *CreatePolicyParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type CreatePolicyReader ¶
type CreatePolicyReader struct {
// contains filtered or unexported fields
}
CreatePolicyReader is a Reader for the CreatePolicy structure.
func (*CreatePolicyReader) ReadResponse ¶
func (o *CreatePolicyReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type CreateRuleBadRequest ¶
CreateRuleBadRequest handles this case with default header values.
Bad request
func NewCreateRuleBadRequest ¶
func NewCreateRuleBadRequest() *CreateRuleBadRequest
NewCreateRuleBadRequest creates a CreateRuleBadRequest with default headers values
func (*CreateRuleBadRequest) Error ¶
func (o *CreateRuleBadRequest) Error() string
func (*CreateRuleBadRequest) GetPayload ¶
func (o *CreateRuleBadRequest) GetPayload() *models.Error
type CreateRuleConflict ¶
type CreateRuleConflict struct { }
CreateRuleConflict handles this case with default header values.
Rule or policy with the given ID already exists
func NewCreateRuleConflict ¶
func NewCreateRuleConflict() *CreateRuleConflict
NewCreateRuleConflict creates a CreateRuleConflict with default headers values
func (*CreateRuleConflict) Error ¶
func (o *CreateRuleConflict) Error() string
type CreateRuleCreated ¶
CreateRuleCreated handles this case with default header values.
Rule created successfully
func NewCreateRuleCreated ¶
func NewCreateRuleCreated() *CreateRuleCreated
NewCreateRuleCreated creates a CreateRuleCreated with default headers values
func (*CreateRuleCreated) Error ¶
func (o *CreateRuleCreated) Error() string
func (*CreateRuleCreated) GetPayload ¶
func (o *CreateRuleCreated) GetPayload() *models.Rule
type CreateRuleInternalServerError ¶
type CreateRuleInternalServerError struct { }
CreateRuleInternalServerError handles this case with default header values.
Internal server error
func NewCreateRuleInternalServerError ¶
func NewCreateRuleInternalServerError() *CreateRuleInternalServerError
NewCreateRuleInternalServerError creates a CreateRuleInternalServerError with default headers values
func (*CreateRuleInternalServerError) Error ¶
func (o *CreateRuleInternalServerError) Error() string
type CreateRuleParams ¶
type CreateRuleParams struct { /*Body*/ Body *models.UpdateRule Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
CreateRuleParams contains all the parameters to send to the API endpoint for the create rule operation typically these are written to a http.Request
func NewCreateRuleParams ¶
func NewCreateRuleParams() *CreateRuleParams
NewCreateRuleParams creates a new CreateRuleParams object with the default values initialized.
func NewCreateRuleParamsWithContext ¶
func NewCreateRuleParamsWithContext(ctx context.Context) *CreateRuleParams
NewCreateRuleParamsWithContext creates a new CreateRuleParams object with the default values initialized, and the ability to set a context for a request
func NewCreateRuleParamsWithHTTPClient ¶
func NewCreateRuleParamsWithHTTPClient(client *http.Client) *CreateRuleParams
NewCreateRuleParamsWithHTTPClient creates a new CreateRuleParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewCreateRuleParamsWithTimeout ¶
func NewCreateRuleParamsWithTimeout(timeout time.Duration) *CreateRuleParams
NewCreateRuleParamsWithTimeout creates a new CreateRuleParams object with the default values initialized, and the ability to set a timeout on a request
func (*CreateRuleParams) SetBody ¶
func (o *CreateRuleParams) SetBody(body *models.UpdateRule)
SetBody adds the body to the create rule params
func (*CreateRuleParams) SetContext ¶
func (o *CreateRuleParams) SetContext(ctx context.Context)
SetContext adds the context to the create rule params
func (*CreateRuleParams) SetHTTPClient ¶
func (o *CreateRuleParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the create rule params
func (*CreateRuleParams) SetTimeout ¶
func (o *CreateRuleParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the create rule params
func (*CreateRuleParams) WithBody ¶
func (o *CreateRuleParams) WithBody(body *models.UpdateRule) *CreateRuleParams
WithBody adds the body to the create rule params
func (*CreateRuleParams) WithContext ¶
func (o *CreateRuleParams) WithContext(ctx context.Context) *CreateRuleParams
WithContext adds the context to the create rule params
func (*CreateRuleParams) WithHTTPClient ¶
func (o *CreateRuleParams) WithHTTPClient(client *http.Client) *CreateRuleParams
WithHTTPClient adds the HTTPClient to the create rule params
func (*CreateRuleParams) WithTimeout ¶
func (o *CreateRuleParams) WithTimeout(timeout time.Duration) *CreateRuleParams
WithTimeout adds the timeout to the create rule params
func (*CreateRuleParams) WriteToRequest ¶
func (o *CreateRuleParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type CreateRuleReader ¶
type CreateRuleReader struct {
// contains filtered or unexported fields
}
CreateRuleReader is a Reader for the CreateRule structure.
func (*CreateRuleReader) ReadResponse ¶
func (o *CreateRuleReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type DeleteDataModelBadRequest ¶ added in v1.13.0
DeleteDataModelBadRequest handles this case with default header values.
Bad request
func NewDeleteDataModelBadRequest ¶ added in v1.13.0
func NewDeleteDataModelBadRequest() *DeleteDataModelBadRequest
NewDeleteDataModelBadRequest creates a DeleteDataModelBadRequest with default headers values
func (*DeleteDataModelBadRequest) Error ¶ added in v1.13.0
func (o *DeleteDataModelBadRequest) Error() string
func (*DeleteDataModelBadRequest) GetPayload ¶ added in v1.13.0
func (o *DeleteDataModelBadRequest) GetPayload() *models.Error
type DeleteDataModelInternalServerError ¶ added in v1.13.0
type DeleteDataModelInternalServerError struct { }
DeleteDataModelInternalServerError handles this case with default header values.
Internal server error
func NewDeleteDataModelInternalServerError ¶ added in v1.13.0
func NewDeleteDataModelInternalServerError() *DeleteDataModelInternalServerError
NewDeleteDataModelInternalServerError creates a DeleteDataModelInternalServerError with default headers values
func (*DeleteDataModelInternalServerError) Error ¶ added in v1.13.0
func (o *DeleteDataModelInternalServerError) Error() string
type DeleteDataModelOK ¶ added in v1.13.0
type DeleteDataModelOK struct { }
DeleteDataModelOK handles this case with default header values.
OK
func NewDeleteDataModelOK ¶ added in v1.13.0
func NewDeleteDataModelOK() *DeleteDataModelOK
NewDeleteDataModelOK creates a DeleteDataModelOK with default headers values
func (*DeleteDataModelOK) Error ¶ added in v1.13.0
func (o *DeleteDataModelOK) Error() string
type DeleteDataModelParams ¶ added in v1.13.0
type DeleteDataModelParams struct { /*Body*/ Body *models.DeletePolicies Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
DeleteDataModelParams contains all the parameters to send to the API endpoint for the delete data model operation typically these are written to a http.Request
func NewDeleteDataModelParams ¶ added in v1.13.0
func NewDeleteDataModelParams() *DeleteDataModelParams
NewDeleteDataModelParams creates a new DeleteDataModelParams object with the default values initialized.
func NewDeleteDataModelParamsWithContext ¶ added in v1.13.0
func NewDeleteDataModelParamsWithContext(ctx context.Context) *DeleteDataModelParams
NewDeleteDataModelParamsWithContext creates a new DeleteDataModelParams object with the default values initialized, and the ability to set a context for a request
func NewDeleteDataModelParamsWithHTTPClient ¶ added in v1.13.0
func NewDeleteDataModelParamsWithHTTPClient(client *http.Client) *DeleteDataModelParams
NewDeleteDataModelParamsWithHTTPClient creates a new DeleteDataModelParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewDeleteDataModelParamsWithTimeout ¶ added in v1.13.0
func NewDeleteDataModelParamsWithTimeout(timeout time.Duration) *DeleteDataModelParams
NewDeleteDataModelParamsWithTimeout creates a new DeleteDataModelParams object with the default values initialized, and the ability to set a timeout on a request
func (*DeleteDataModelParams) SetBody ¶ added in v1.13.0
func (o *DeleteDataModelParams) SetBody(body *models.DeletePolicies)
SetBody adds the body to the delete data model params
func (*DeleteDataModelParams) SetContext ¶ added in v1.13.0
func (o *DeleteDataModelParams) SetContext(ctx context.Context)
SetContext adds the context to the delete data model params
func (*DeleteDataModelParams) SetHTTPClient ¶ added in v1.13.0
func (o *DeleteDataModelParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the delete data model params
func (*DeleteDataModelParams) SetTimeout ¶ added in v1.13.0
func (o *DeleteDataModelParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the delete data model params
func (*DeleteDataModelParams) WithBody ¶ added in v1.13.0
func (o *DeleteDataModelParams) WithBody(body *models.DeletePolicies) *DeleteDataModelParams
WithBody adds the body to the delete data model params
func (*DeleteDataModelParams) WithContext ¶ added in v1.13.0
func (o *DeleteDataModelParams) WithContext(ctx context.Context) *DeleteDataModelParams
WithContext adds the context to the delete data model params
func (*DeleteDataModelParams) WithHTTPClient ¶ added in v1.13.0
func (o *DeleteDataModelParams) WithHTTPClient(client *http.Client) *DeleteDataModelParams
WithHTTPClient adds the HTTPClient to the delete data model params
func (*DeleteDataModelParams) WithTimeout ¶ added in v1.13.0
func (o *DeleteDataModelParams) WithTimeout(timeout time.Duration) *DeleteDataModelParams
WithTimeout adds the timeout to the delete data model params
func (*DeleteDataModelParams) WriteToRequest ¶ added in v1.13.0
func (o *DeleteDataModelParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type DeleteDataModelReader ¶ added in v1.13.0
type DeleteDataModelReader struct {
// contains filtered or unexported fields
}
DeleteDataModelReader is a Reader for the DeleteDataModel structure.
func (*DeleteDataModelReader) ReadResponse ¶ added in v1.13.0
func (o *DeleteDataModelReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type DeleteGlobalsBadRequest ¶ added in v1.1.0
DeleteGlobalsBadRequest handles this case with default header values.
Bad request
func NewDeleteGlobalsBadRequest ¶ added in v1.1.0
func NewDeleteGlobalsBadRequest() *DeleteGlobalsBadRequest
NewDeleteGlobalsBadRequest creates a DeleteGlobalsBadRequest with default headers values
func (*DeleteGlobalsBadRequest) Error ¶ added in v1.1.0
func (o *DeleteGlobalsBadRequest) Error() string
func (*DeleteGlobalsBadRequest) GetPayload ¶ added in v1.1.0
func (o *DeleteGlobalsBadRequest) GetPayload() *models.Error
type DeleteGlobalsInternalServerError ¶ added in v1.1.0
type DeleteGlobalsInternalServerError struct { }
DeleteGlobalsInternalServerError handles this case with default header values.
Internal server error
func NewDeleteGlobalsInternalServerError ¶ added in v1.1.0
func NewDeleteGlobalsInternalServerError() *DeleteGlobalsInternalServerError
NewDeleteGlobalsInternalServerError creates a DeleteGlobalsInternalServerError with default headers values
func (*DeleteGlobalsInternalServerError) Error ¶ added in v1.1.0
func (o *DeleteGlobalsInternalServerError) Error() string
type DeleteGlobalsOK ¶ added in v1.1.0
type DeleteGlobalsOK struct { }
DeleteGlobalsOK handles this case with default header values.
OK
func NewDeleteGlobalsOK ¶ added in v1.1.0
func NewDeleteGlobalsOK() *DeleteGlobalsOK
NewDeleteGlobalsOK creates a DeleteGlobalsOK with default headers values
func (*DeleteGlobalsOK) Error ¶ added in v1.1.0
func (o *DeleteGlobalsOK) Error() string
type DeleteGlobalsParams ¶ added in v1.1.0
type DeleteGlobalsParams struct { /*Body*/ Body *models.DeletePolicies Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
DeleteGlobalsParams contains all the parameters to send to the API endpoint for the delete globals operation typically these are written to a http.Request
func NewDeleteGlobalsParams ¶ added in v1.1.0
func NewDeleteGlobalsParams() *DeleteGlobalsParams
NewDeleteGlobalsParams creates a new DeleteGlobalsParams object with the default values initialized.
func NewDeleteGlobalsParamsWithContext ¶ added in v1.1.0
func NewDeleteGlobalsParamsWithContext(ctx context.Context) *DeleteGlobalsParams
NewDeleteGlobalsParamsWithContext creates a new DeleteGlobalsParams object with the default values initialized, and the ability to set a context for a request
func NewDeleteGlobalsParamsWithHTTPClient ¶ added in v1.1.0
func NewDeleteGlobalsParamsWithHTTPClient(client *http.Client) *DeleteGlobalsParams
NewDeleteGlobalsParamsWithHTTPClient creates a new DeleteGlobalsParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewDeleteGlobalsParamsWithTimeout ¶ added in v1.1.0
func NewDeleteGlobalsParamsWithTimeout(timeout time.Duration) *DeleteGlobalsParams
NewDeleteGlobalsParamsWithTimeout creates a new DeleteGlobalsParams object with the default values initialized, and the ability to set a timeout on a request
func (*DeleteGlobalsParams) SetBody ¶ added in v1.1.0
func (o *DeleteGlobalsParams) SetBody(body *models.DeletePolicies)
SetBody adds the body to the delete globals params
func (*DeleteGlobalsParams) SetContext ¶ added in v1.1.0
func (o *DeleteGlobalsParams) SetContext(ctx context.Context)
SetContext adds the context to the delete globals params
func (*DeleteGlobalsParams) SetHTTPClient ¶ added in v1.1.0
func (o *DeleteGlobalsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the delete globals params
func (*DeleteGlobalsParams) SetTimeout ¶ added in v1.1.0
func (o *DeleteGlobalsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the delete globals params
func (*DeleteGlobalsParams) WithBody ¶ added in v1.1.0
func (o *DeleteGlobalsParams) WithBody(body *models.DeletePolicies) *DeleteGlobalsParams
WithBody adds the body to the delete globals params
func (*DeleteGlobalsParams) WithContext ¶ added in v1.1.0
func (o *DeleteGlobalsParams) WithContext(ctx context.Context) *DeleteGlobalsParams
WithContext adds the context to the delete globals params
func (*DeleteGlobalsParams) WithHTTPClient ¶ added in v1.1.0
func (o *DeleteGlobalsParams) WithHTTPClient(client *http.Client) *DeleteGlobalsParams
WithHTTPClient adds the HTTPClient to the delete globals params
func (*DeleteGlobalsParams) WithTimeout ¶ added in v1.1.0
func (o *DeleteGlobalsParams) WithTimeout(timeout time.Duration) *DeleteGlobalsParams
WithTimeout adds the timeout to the delete globals params
func (*DeleteGlobalsParams) WriteToRequest ¶ added in v1.1.0
func (o *DeleteGlobalsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type DeleteGlobalsReader ¶ added in v1.1.0
type DeleteGlobalsReader struct {
// contains filtered or unexported fields
}
DeleteGlobalsReader is a Reader for the DeleteGlobals structure.
func (*DeleteGlobalsReader) ReadResponse ¶ added in v1.1.0
func (o *DeleteGlobalsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type DeletePoliciesBadRequest ¶
DeletePoliciesBadRequest handles this case with default header values.
Bad request
func NewDeletePoliciesBadRequest ¶
func NewDeletePoliciesBadRequest() *DeletePoliciesBadRequest
NewDeletePoliciesBadRequest creates a DeletePoliciesBadRequest with default headers values
func (*DeletePoliciesBadRequest) Error ¶
func (o *DeletePoliciesBadRequest) Error() string
func (*DeletePoliciesBadRequest) GetPayload ¶
func (o *DeletePoliciesBadRequest) GetPayload() *models.Error
type DeletePoliciesInternalServerError ¶
type DeletePoliciesInternalServerError struct { }
DeletePoliciesInternalServerError handles this case with default header values.
Internal server error
func NewDeletePoliciesInternalServerError ¶
func NewDeletePoliciesInternalServerError() *DeletePoliciesInternalServerError
NewDeletePoliciesInternalServerError creates a DeletePoliciesInternalServerError with default headers values
func (*DeletePoliciesInternalServerError) Error ¶
func (o *DeletePoliciesInternalServerError) Error() string
type DeletePoliciesOK ¶
type DeletePoliciesOK struct { }
DeletePoliciesOK handles this case with default header values.
OK
func NewDeletePoliciesOK ¶
func NewDeletePoliciesOK() *DeletePoliciesOK
NewDeletePoliciesOK creates a DeletePoliciesOK with default headers values
func (*DeletePoliciesOK) Error ¶
func (o *DeletePoliciesOK) Error() string
type DeletePoliciesParams ¶
type DeletePoliciesParams struct { /*Body*/ Body *models.DeletePolicies Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
DeletePoliciesParams contains all the parameters to send to the API endpoint for the delete policies operation typically these are written to a http.Request
func NewDeletePoliciesParams ¶
func NewDeletePoliciesParams() *DeletePoliciesParams
NewDeletePoliciesParams creates a new DeletePoliciesParams object with the default values initialized.
func NewDeletePoliciesParamsWithContext ¶
func NewDeletePoliciesParamsWithContext(ctx context.Context) *DeletePoliciesParams
NewDeletePoliciesParamsWithContext creates a new DeletePoliciesParams object with the default values initialized, and the ability to set a context for a request
func NewDeletePoliciesParamsWithHTTPClient ¶
func NewDeletePoliciesParamsWithHTTPClient(client *http.Client) *DeletePoliciesParams
NewDeletePoliciesParamsWithHTTPClient creates a new DeletePoliciesParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewDeletePoliciesParamsWithTimeout ¶
func NewDeletePoliciesParamsWithTimeout(timeout time.Duration) *DeletePoliciesParams
NewDeletePoliciesParamsWithTimeout creates a new DeletePoliciesParams object with the default values initialized, and the ability to set a timeout on a request
func (*DeletePoliciesParams) SetBody ¶
func (o *DeletePoliciesParams) SetBody(body *models.DeletePolicies)
SetBody adds the body to the delete policies params
func (*DeletePoliciesParams) SetContext ¶
func (o *DeletePoliciesParams) SetContext(ctx context.Context)
SetContext adds the context to the delete policies params
func (*DeletePoliciesParams) SetHTTPClient ¶
func (o *DeletePoliciesParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the delete policies params
func (*DeletePoliciesParams) SetTimeout ¶
func (o *DeletePoliciesParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the delete policies params
func (*DeletePoliciesParams) WithBody ¶
func (o *DeletePoliciesParams) WithBody(body *models.DeletePolicies) *DeletePoliciesParams
WithBody adds the body to the delete policies params
func (*DeletePoliciesParams) WithContext ¶
func (o *DeletePoliciesParams) WithContext(ctx context.Context) *DeletePoliciesParams
WithContext adds the context to the delete policies params
func (*DeletePoliciesParams) WithHTTPClient ¶
func (o *DeletePoliciesParams) WithHTTPClient(client *http.Client) *DeletePoliciesParams
WithHTTPClient adds the HTTPClient to the delete policies params
func (*DeletePoliciesParams) WithTimeout ¶
func (o *DeletePoliciesParams) WithTimeout(timeout time.Duration) *DeletePoliciesParams
WithTimeout adds the timeout to the delete policies params
func (*DeletePoliciesParams) WriteToRequest ¶
func (o *DeletePoliciesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type DeletePoliciesReader ¶
type DeletePoliciesReader struct {
// contains filtered or unexported fields
}
DeletePoliciesReader is a Reader for the DeletePolicies structure.
func (*DeletePoliciesReader) ReadResponse ¶
func (o *DeletePoliciesReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetDataModelBadRequest ¶ added in v1.13.0
GetDataModelBadRequest handles this case with default header values.
Bad request
func NewGetDataModelBadRequest ¶ added in v1.13.0
func NewGetDataModelBadRequest() *GetDataModelBadRequest
NewGetDataModelBadRequest creates a GetDataModelBadRequest with default headers values
func (*GetDataModelBadRequest) Error ¶ added in v1.13.0
func (o *GetDataModelBadRequest) Error() string
func (*GetDataModelBadRequest) GetPayload ¶ added in v1.13.0
func (o *GetDataModelBadRequest) GetPayload() *models.Error
type GetDataModelInternalServerError ¶ added in v1.13.0
type GetDataModelInternalServerError struct { }
GetDataModelInternalServerError handles this case with default header values.
Internal server error
func NewGetDataModelInternalServerError ¶ added in v1.13.0
func NewGetDataModelInternalServerError() *GetDataModelInternalServerError
NewGetDataModelInternalServerError creates a GetDataModelInternalServerError with default headers values
func (*GetDataModelInternalServerError) Error ¶ added in v1.13.0
func (o *GetDataModelInternalServerError) Error() string
type GetDataModelNotFound ¶ added in v1.13.0
type GetDataModelNotFound struct { }
GetDataModelNotFound handles this case with default header values.
DataModel does not exist
func NewGetDataModelNotFound ¶ added in v1.13.0
func NewGetDataModelNotFound() *GetDataModelNotFound
NewGetDataModelNotFound creates a GetDataModelNotFound with default headers values
func (*GetDataModelNotFound) Error ¶ added in v1.13.0
func (o *GetDataModelNotFound) Error() string
type GetDataModelOK ¶ added in v1.13.0
GetDataModelOK handles this case with default header values.
OK
func NewGetDataModelOK ¶ added in v1.13.0
func NewGetDataModelOK() *GetDataModelOK
NewGetDataModelOK creates a GetDataModelOK with default headers values
func (*GetDataModelOK) Error ¶ added in v1.13.0
func (o *GetDataModelOK) Error() string
func (*GetDataModelOK) GetPayload ¶ added in v1.13.0
func (o *GetDataModelOK) GetPayload() *models.DataModel
type GetDataModelParams ¶ added in v1.13.0
type GetDataModelParams struct { /*DataModelID Unique ASCII dataModel identifier */ DataModelID string /*VersionID The version of the analysis to retrieve */ VersionID *string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetDataModelParams contains all the parameters to send to the API endpoint for the get data model operation typically these are written to a http.Request
func NewGetDataModelParams ¶ added in v1.13.0
func NewGetDataModelParams() *GetDataModelParams
NewGetDataModelParams creates a new GetDataModelParams object with the default values initialized.
func NewGetDataModelParamsWithContext ¶ added in v1.13.0
func NewGetDataModelParamsWithContext(ctx context.Context) *GetDataModelParams
NewGetDataModelParamsWithContext creates a new GetDataModelParams object with the default values initialized, and the ability to set a context for a request
func NewGetDataModelParamsWithHTTPClient ¶ added in v1.13.0
func NewGetDataModelParamsWithHTTPClient(client *http.Client) *GetDataModelParams
NewGetDataModelParamsWithHTTPClient creates a new GetDataModelParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewGetDataModelParamsWithTimeout ¶ added in v1.13.0
func NewGetDataModelParamsWithTimeout(timeout time.Duration) *GetDataModelParams
NewGetDataModelParamsWithTimeout creates a new GetDataModelParams object with the default values initialized, and the ability to set a timeout on a request
func (*GetDataModelParams) SetContext ¶ added in v1.13.0
func (o *GetDataModelParams) SetContext(ctx context.Context)
SetContext adds the context to the get data model params
func (*GetDataModelParams) SetDataModelID ¶ added in v1.13.0
func (o *GetDataModelParams) SetDataModelID(dataModelID string)
SetDataModelID adds the dataModelId to the get data model params
func (*GetDataModelParams) SetHTTPClient ¶ added in v1.13.0
func (o *GetDataModelParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get data model params
func (*GetDataModelParams) SetTimeout ¶ added in v1.13.0
func (o *GetDataModelParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get data model params
func (*GetDataModelParams) SetVersionID ¶ added in v1.13.0
func (o *GetDataModelParams) SetVersionID(versionID *string)
SetVersionID adds the versionId to the get data model params
func (*GetDataModelParams) WithContext ¶ added in v1.13.0
func (o *GetDataModelParams) WithContext(ctx context.Context) *GetDataModelParams
WithContext adds the context to the get data model params
func (*GetDataModelParams) WithDataModelID ¶ added in v1.13.0
func (o *GetDataModelParams) WithDataModelID(dataModelID string) *GetDataModelParams
WithDataModelID adds the dataModelID to the get data model params
func (*GetDataModelParams) WithHTTPClient ¶ added in v1.13.0
func (o *GetDataModelParams) WithHTTPClient(client *http.Client) *GetDataModelParams
WithHTTPClient adds the HTTPClient to the get data model params
func (*GetDataModelParams) WithTimeout ¶ added in v1.13.0
func (o *GetDataModelParams) WithTimeout(timeout time.Duration) *GetDataModelParams
WithTimeout adds the timeout to the get data model params
func (*GetDataModelParams) WithVersionID ¶ added in v1.13.0
func (o *GetDataModelParams) WithVersionID(versionID *string) *GetDataModelParams
WithVersionID adds the versionID to the get data model params
func (*GetDataModelParams) WriteToRequest ¶ added in v1.13.0
func (o *GetDataModelParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetDataModelReader ¶ added in v1.13.0
type GetDataModelReader struct {
// contains filtered or unexported fields
}
GetDataModelReader is a Reader for the GetDataModel structure.
func (*GetDataModelReader) ReadResponse ¶ added in v1.13.0
func (o *GetDataModelReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetEnabledPoliciesBadRequest ¶
GetEnabledPoliciesBadRequest handles this case with default header values.
Bad request
func NewGetEnabledPoliciesBadRequest ¶
func NewGetEnabledPoliciesBadRequest() *GetEnabledPoliciesBadRequest
NewGetEnabledPoliciesBadRequest creates a GetEnabledPoliciesBadRequest with default headers values
func (*GetEnabledPoliciesBadRequest) Error ¶
func (o *GetEnabledPoliciesBadRequest) Error() string
func (*GetEnabledPoliciesBadRequest) GetPayload ¶
func (o *GetEnabledPoliciesBadRequest) GetPayload() *models.Error
type GetEnabledPoliciesInternalServerError ¶
type GetEnabledPoliciesInternalServerError struct { }
GetEnabledPoliciesInternalServerError handles this case with default header values.
Internal server error
func NewGetEnabledPoliciesInternalServerError ¶
func NewGetEnabledPoliciesInternalServerError() *GetEnabledPoliciesInternalServerError
NewGetEnabledPoliciesInternalServerError creates a GetEnabledPoliciesInternalServerError with default headers values
func (*GetEnabledPoliciesInternalServerError) Error ¶
func (o *GetEnabledPoliciesInternalServerError) Error() string
type GetEnabledPoliciesOK ¶
type GetEnabledPoliciesOK struct {
Payload *models.EnabledPolicies
}
GetEnabledPoliciesOK handles this case with default header values.
OK
func NewGetEnabledPoliciesOK ¶
func NewGetEnabledPoliciesOK() *GetEnabledPoliciesOK
NewGetEnabledPoliciesOK creates a GetEnabledPoliciesOK with default headers values
func (*GetEnabledPoliciesOK) Error ¶
func (o *GetEnabledPoliciesOK) Error() string
func (*GetEnabledPoliciesOK) GetPayload ¶
func (o *GetEnabledPoliciesOK) GetPayload() *models.EnabledPolicies
type GetEnabledPoliciesParams ¶
type GetEnabledPoliciesParams struct { /*Type Type of analysis logic to retrieve */ Type string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetEnabledPoliciesParams contains all the parameters to send to the API endpoint for the get enabled policies operation typically these are written to a http.Request
func NewGetEnabledPoliciesParams ¶
func NewGetEnabledPoliciesParams() *GetEnabledPoliciesParams
NewGetEnabledPoliciesParams creates a new GetEnabledPoliciesParams object with the default values initialized.
func NewGetEnabledPoliciesParamsWithContext ¶
func NewGetEnabledPoliciesParamsWithContext(ctx context.Context) *GetEnabledPoliciesParams
NewGetEnabledPoliciesParamsWithContext creates a new GetEnabledPoliciesParams object with the default values initialized, and the ability to set a context for a request
func NewGetEnabledPoliciesParamsWithHTTPClient ¶
func NewGetEnabledPoliciesParamsWithHTTPClient(client *http.Client) *GetEnabledPoliciesParams
NewGetEnabledPoliciesParamsWithHTTPClient creates a new GetEnabledPoliciesParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewGetEnabledPoliciesParamsWithTimeout ¶
func NewGetEnabledPoliciesParamsWithTimeout(timeout time.Duration) *GetEnabledPoliciesParams
NewGetEnabledPoliciesParamsWithTimeout creates a new GetEnabledPoliciesParams object with the default values initialized, and the ability to set a timeout on a request
func (*GetEnabledPoliciesParams) SetContext ¶
func (o *GetEnabledPoliciesParams) SetContext(ctx context.Context)
SetContext adds the context to the get enabled policies params
func (*GetEnabledPoliciesParams) SetHTTPClient ¶
func (o *GetEnabledPoliciesParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get enabled policies params
func (*GetEnabledPoliciesParams) SetTimeout ¶
func (o *GetEnabledPoliciesParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get enabled policies params
func (*GetEnabledPoliciesParams) SetType ¶
func (o *GetEnabledPoliciesParams) SetType(typeVar string)
SetType adds the type to the get enabled policies params
func (*GetEnabledPoliciesParams) WithContext ¶
func (o *GetEnabledPoliciesParams) WithContext(ctx context.Context) *GetEnabledPoliciesParams
WithContext adds the context to the get enabled policies params
func (*GetEnabledPoliciesParams) WithHTTPClient ¶
func (o *GetEnabledPoliciesParams) WithHTTPClient(client *http.Client) *GetEnabledPoliciesParams
WithHTTPClient adds the HTTPClient to the get enabled policies params
func (*GetEnabledPoliciesParams) WithTimeout ¶
func (o *GetEnabledPoliciesParams) WithTimeout(timeout time.Duration) *GetEnabledPoliciesParams
WithTimeout adds the timeout to the get enabled policies params
func (*GetEnabledPoliciesParams) WithType ¶
func (o *GetEnabledPoliciesParams) WithType(typeVar string) *GetEnabledPoliciesParams
WithType adds the typeVar to the get enabled policies params
func (*GetEnabledPoliciesParams) WriteToRequest ¶
func (o *GetEnabledPoliciesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetEnabledPoliciesReader ¶
type GetEnabledPoliciesReader struct {
// contains filtered or unexported fields
}
GetEnabledPoliciesReader is a Reader for the GetEnabledPolicies structure.
func (*GetEnabledPoliciesReader) ReadResponse ¶
func (o *GetEnabledPoliciesReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetGlobalBadRequest ¶ added in v1.1.0
GetGlobalBadRequest handles this case with default header values.
Bad request
func NewGetGlobalBadRequest ¶ added in v1.1.0
func NewGetGlobalBadRequest() *GetGlobalBadRequest
NewGetGlobalBadRequest creates a GetGlobalBadRequest with default headers values
func (*GetGlobalBadRequest) Error ¶ added in v1.1.0
func (o *GetGlobalBadRequest) Error() string
func (*GetGlobalBadRequest) GetPayload ¶ added in v1.1.0
func (o *GetGlobalBadRequest) GetPayload() *models.Error
type GetGlobalInternalServerError ¶ added in v1.1.0
type GetGlobalInternalServerError struct { }
GetGlobalInternalServerError handles this case with default header values.
Internal server error
func NewGetGlobalInternalServerError ¶ added in v1.1.0
func NewGetGlobalInternalServerError() *GetGlobalInternalServerError
NewGetGlobalInternalServerError creates a GetGlobalInternalServerError with default headers values
func (*GetGlobalInternalServerError) Error ¶ added in v1.1.0
func (o *GetGlobalInternalServerError) Error() string
type GetGlobalNotFound ¶ added in v1.1.0
type GetGlobalNotFound struct { }
GetGlobalNotFound handles this case with default header values.
Global does not exist
func NewGetGlobalNotFound ¶ added in v1.1.0
func NewGetGlobalNotFound() *GetGlobalNotFound
NewGetGlobalNotFound creates a GetGlobalNotFound with default headers values
func (*GetGlobalNotFound) Error ¶ added in v1.1.0
func (o *GetGlobalNotFound) Error() string
type GetGlobalOK ¶ added in v1.1.0
GetGlobalOK handles this case with default header values.
OK
func NewGetGlobalOK ¶ added in v1.1.0
func NewGetGlobalOK() *GetGlobalOK
NewGetGlobalOK creates a GetGlobalOK with default headers values
func (*GetGlobalOK) Error ¶ added in v1.1.0
func (o *GetGlobalOK) Error() string
func (*GetGlobalOK) GetPayload ¶ added in v1.1.0
func (o *GetGlobalOK) GetPayload() *models.Global
type GetGlobalParams ¶ added in v1.1.0
type GetGlobalParams struct { /*GlobalID Unique ASCII global identifier */ GlobalID string /*VersionID The version of the analysis to retrieve */ VersionID *string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetGlobalParams contains all the parameters to send to the API endpoint for the get global operation typically these are written to a http.Request
func NewGetGlobalParams ¶ added in v1.1.0
func NewGetGlobalParams() *GetGlobalParams
NewGetGlobalParams creates a new GetGlobalParams object with the default values initialized.
func NewGetGlobalParamsWithContext ¶ added in v1.1.0
func NewGetGlobalParamsWithContext(ctx context.Context) *GetGlobalParams
NewGetGlobalParamsWithContext creates a new GetGlobalParams object with the default values initialized, and the ability to set a context for a request
func NewGetGlobalParamsWithHTTPClient ¶ added in v1.1.0
func NewGetGlobalParamsWithHTTPClient(client *http.Client) *GetGlobalParams
NewGetGlobalParamsWithHTTPClient creates a new GetGlobalParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewGetGlobalParamsWithTimeout ¶ added in v1.1.0
func NewGetGlobalParamsWithTimeout(timeout time.Duration) *GetGlobalParams
NewGetGlobalParamsWithTimeout creates a new GetGlobalParams object with the default values initialized, and the ability to set a timeout on a request
func (*GetGlobalParams) SetContext ¶ added in v1.1.0
func (o *GetGlobalParams) SetContext(ctx context.Context)
SetContext adds the context to the get global params
func (*GetGlobalParams) SetGlobalID ¶ added in v1.1.0
func (o *GetGlobalParams) SetGlobalID(globalID string)
SetGlobalID adds the globalId to the get global params
func (*GetGlobalParams) SetHTTPClient ¶ added in v1.1.0
func (o *GetGlobalParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get global params
func (*GetGlobalParams) SetTimeout ¶ added in v1.1.0
func (o *GetGlobalParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get global params
func (*GetGlobalParams) SetVersionID ¶ added in v1.1.0
func (o *GetGlobalParams) SetVersionID(versionID *string)
SetVersionID adds the versionId to the get global params
func (*GetGlobalParams) WithContext ¶ added in v1.1.0
func (o *GetGlobalParams) WithContext(ctx context.Context) *GetGlobalParams
WithContext adds the context to the get global params
func (*GetGlobalParams) WithGlobalID ¶ added in v1.1.0
func (o *GetGlobalParams) WithGlobalID(globalID string) *GetGlobalParams
WithGlobalID adds the globalID to the get global params
func (*GetGlobalParams) WithHTTPClient ¶ added in v1.1.0
func (o *GetGlobalParams) WithHTTPClient(client *http.Client) *GetGlobalParams
WithHTTPClient adds the HTTPClient to the get global params
func (*GetGlobalParams) WithTimeout ¶ added in v1.1.0
func (o *GetGlobalParams) WithTimeout(timeout time.Duration) *GetGlobalParams
WithTimeout adds the timeout to the get global params
func (*GetGlobalParams) WithVersionID ¶ added in v1.1.0
func (o *GetGlobalParams) WithVersionID(versionID *string) *GetGlobalParams
WithVersionID adds the versionID to the get global params
func (*GetGlobalParams) WriteToRequest ¶ added in v1.1.0
func (o *GetGlobalParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetGlobalReader ¶ added in v1.1.0
type GetGlobalReader struct {
// contains filtered or unexported fields
}
GetGlobalReader is a Reader for the GetGlobal structure.
func (*GetGlobalReader) ReadResponse ¶ added in v1.1.0
func (o *GetGlobalReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetPolicyBadRequest ¶
GetPolicyBadRequest handles this case with default header values.
Bad request
func NewGetPolicyBadRequest ¶
func NewGetPolicyBadRequest() *GetPolicyBadRequest
NewGetPolicyBadRequest creates a GetPolicyBadRequest with default headers values
func (*GetPolicyBadRequest) Error ¶
func (o *GetPolicyBadRequest) Error() string
func (*GetPolicyBadRequest) GetPayload ¶
func (o *GetPolicyBadRequest) GetPayload() *models.Error
type GetPolicyInternalServerError ¶
type GetPolicyInternalServerError struct { }
GetPolicyInternalServerError handles this case with default header values.
Internal server error
func NewGetPolicyInternalServerError ¶
func NewGetPolicyInternalServerError() *GetPolicyInternalServerError
NewGetPolicyInternalServerError creates a GetPolicyInternalServerError with default headers values
func (*GetPolicyInternalServerError) Error ¶
func (o *GetPolicyInternalServerError) Error() string
type GetPolicyNotFound ¶
type GetPolicyNotFound struct { }
GetPolicyNotFound handles this case with default header values.
Policy does not exist
func NewGetPolicyNotFound ¶
func NewGetPolicyNotFound() *GetPolicyNotFound
NewGetPolicyNotFound creates a GetPolicyNotFound with default headers values
func (*GetPolicyNotFound) Error ¶
func (o *GetPolicyNotFound) Error() string
type GetPolicyOK ¶
GetPolicyOK handles this case with default header values.
OK
func NewGetPolicyOK ¶
func NewGetPolicyOK() *GetPolicyOK
NewGetPolicyOK creates a GetPolicyOK with default headers values
func (*GetPolicyOK) Error ¶
func (o *GetPolicyOK) Error() string
func (*GetPolicyOK) GetPayload ¶
func (o *GetPolicyOK) GetPayload() *models.Policy
type GetPolicyParams ¶
type GetPolicyParams struct { /*PolicyID Unique ASCII policy identifier */ PolicyID string /*VersionID The version of the analysis to retrieve */ VersionID *string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetPolicyParams contains all the parameters to send to the API endpoint for the get policy operation typically these are written to a http.Request
func NewGetPolicyParams ¶
func NewGetPolicyParams() *GetPolicyParams
NewGetPolicyParams creates a new GetPolicyParams object with the default values initialized.
func NewGetPolicyParamsWithContext ¶
func NewGetPolicyParamsWithContext(ctx context.Context) *GetPolicyParams
NewGetPolicyParamsWithContext creates a new GetPolicyParams object with the default values initialized, and the ability to set a context for a request
func NewGetPolicyParamsWithHTTPClient ¶
func NewGetPolicyParamsWithHTTPClient(client *http.Client) *GetPolicyParams
NewGetPolicyParamsWithHTTPClient creates a new GetPolicyParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewGetPolicyParamsWithTimeout ¶
func NewGetPolicyParamsWithTimeout(timeout time.Duration) *GetPolicyParams
NewGetPolicyParamsWithTimeout creates a new GetPolicyParams object with the default values initialized, and the ability to set a timeout on a request
func (*GetPolicyParams) SetContext ¶
func (o *GetPolicyParams) SetContext(ctx context.Context)
SetContext adds the context to the get policy params
func (*GetPolicyParams) SetHTTPClient ¶
func (o *GetPolicyParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get policy params
func (*GetPolicyParams) SetPolicyID ¶
func (o *GetPolicyParams) SetPolicyID(policyID string)
SetPolicyID adds the policyId to the get policy params
func (*GetPolicyParams) SetTimeout ¶
func (o *GetPolicyParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get policy params
func (*GetPolicyParams) SetVersionID ¶
func (o *GetPolicyParams) SetVersionID(versionID *string)
SetVersionID adds the versionId to the get policy params
func (*GetPolicyParams) WithContext ¶
func (o *GetPolicyParams) WithContext(ctx context.Context) *GetPolicyParams
WithContext adds the context to the get policy params
func (*GetPolicyParams) WithHTTPClient ¶
func (o *GetPolicyParams) WithHTTPClient(client *http.Client) *GetPolicyParams
WithHTTPClient adds the HTTPClient to the get policy params
func (*GetPolicyParams) WithPolicyID ¶
func (o *GetPolicyParams) WithPolicyID(policyID string) *GetPolicyParams
WithPolicyID adds the policyID to the get policy params
func (*GetPolicyParams) WithTimeout ¶
func (o *GetPolicyParams) WithTimeout(timeout time.Duration) *GetPolicyParams
WithTimeout adds the timeout to the get policy params
func (*GetPolicyParams) WithVersionID ¶
func (o *GetPolicyParams) WithVersionID(versionID *string) *GetPolicyParams
WithVersionID adds the versionID to the get policy params
func (*GetPolicyParams) WriteToRequest ¶
func (o *GetPolicyParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetPolicyReader ¶
type GetPolicyReader struct {
// contains filtered or unexported fields
}
GetPolicyReader is a Reader for the GetPolicy structure.
func (*GetPolicyReader) ReadResponse ¶
func (o *GetPolicyReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetRuleBadRequest ¶
GetRuleBadRequest handles this case with default header values.
Bad request
func NewGetRuleBadRequest ¶
func NewGetRuleBadRequest() *GetRuleBadRequest
NewGetRuleBadRequest creates a GetRuleBadRequest with default headers values
func (*GetRuleBadRequest) Error ¶
func (o *GetRuleBadRequest) Error() string
func (*GetRuleBadRequest) GetPayload ¶
func (o *GetRuleBadRequest) GetPayload() *models.Error
type GetRuleInternalServerError ¶
type GetRuleInternalServerError struct { }
GetRuleInternalServerError handles this case with default header values.
Internal server error
func NewGetRuleInternalServerError ¶
func NewGetRuleInternalServerError() *GetRuleInternalServerError
NewGetRuleInternalServerError creates a GetRuleInternalServerError with default headers values
func (*GetRuleInternalServerError) Error ¶
func (o *GetRuleInternalServerError) Error() string
type GetRuleNotFound ¶
type GetRuleNotFound struct { }
GetRuleNotFound handles this case with default header values.
Rule does not exist
func NewGetRuleNotFound ¶
func NewGetRuleNotFound() *GetRuleNotFound
NewGetRuleNotFound creates a GetRuleNotFound with default headers values
func (*GetRuleNotFound) Error ¶
func (o *GetRuleNotFound) Error() string
type GetRuleOK ¶
GetRuleOK handles this case with default header values.
OK
func NewGetRuleOK ¶
func NewGetRuleOK() *GetRuleOK
NewGetRuleOK creates a GetRuleOK with default headers values
func (*GetRuleOK) GetPayload ¶
type GetRuleParams ¶
type GetRuleParams struct { /*RuleID Unique ASCII rule identifier */ RuleID string /*VersionID The version of the analysis to retrieve */ VersionID *string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetRuleParams contains all the parameters to send to the API endpoint for the get rule operation typically these are written to a http.Request
func NewGetRuleParams ¶
func NewGetRuleParams() *GetRuleParams
NewGetRuleParams creates a new GetRuleParams object with the default values initialized.
func NewGetRuleParamsWithContext ¶
func NewGetRuleParamsWithContext(ctx context.Context) *GetRuleParams
NewGetRuleParamsWithContext creates a new GetRuleParams object with the default values initialized, and the ability to set a context for a request
func NewGetRuleParamsWithHTTPClient ¶
func NewGetRuleParamsWithHTTPClient(client *http.Client) *GetRuleParams
NewGetRuleParamsWithHTTPClient creates a new GetRuleParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewGetRuleParamsWithTimeout ¶
func NewGetRuleParamsWithTimeout(timeout time.Duration) *GetRuleParams
NewGetRuleParamsWithTimeout creates a new GetRuleParams object with the default values initialized, and the ability to set a timeout on a request
func (*GetRuleParams) SetContext ¶
func (o *GetRuleParams) SetContext(ctx context.Context)
SetContext adds the context to the get rule params
func (*GetRuleParams) SetHTTPClient ¶
func (o *GetRuleParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get rule params
func (*GetRuleParams) SetRuleID ¶
func (o *GetRuleParams) SetRuleID(ruleID string)
SetRuleID adds the ruleId to the get rule params
func (*GetRuleParams) SetTimeout ¶
func (o *GetRuleParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get rule params
func (*GetRuleParams) SetVersionID ¶
func (o *GetRuleParams) SetVersionID(versionID *string)
SetVersionID adds the versionId to the get rule params
func (*GetRuleParams) WithContext ¶
func (o *GetRuleParams) WithContext(ctx context.Context) *GetRuleParams
WithContext adds the context to the get rule params
func (*GetRuleParams) WithHTTPClient ¶
func (o *GetRuleParams) WithHTTPClient(client *http.Client) *GetRuleParams
WithHTTPClient adds the HTTPClient to the get rule params
func (*GetRuleParams) WithRuleID ¶
func (o *GetRuleParams) WithRuleID(ruleID string) *GetRuleParams
WithRuleID adds the ruleID to the get rule params
func (*GetRuleParams) WithTimeout ¶
func (o *GetRuleParams) WithTimeout(timeout time.Duration) *GetRuleParams
WithTimeout adds the timeout to the get rule params
func (*GetRuleParams) WithVersionID ¶
func (o *GetRuleParams) WithVersionID(versionID *string) *GetRuleParams
WithVersionID adds the versionID to the get rule params
func (*GetRuleParams) WriteToRequest ¶
func (o *GetRuleParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetRuleReader ¶
type GetRuleReader struct {
// contains filtered or unexported fields
}
GetRuleReader is a Reader for the GetRule structure.
func (*GetRuleReader) ReadResponse ¶
func (o *GetRuleReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type ListDataModelsBadRequest ¶ added in v1.13.0
ListDataModelsBadRequest handles this case with default header values.
Bad request
func NewListDataModelsBadRequest ¶ added in v1.13.0
func NewListDataModelsBadRequest() *ListDataModelsBadRequest
NewListDataModelsBadRequest creates a ListDataModelsBadRequest with default headers values
func (*ListDataModelsBadRequest) Error ¶ added in v1.13.0
func (o *ListDataModelsBadRequest) Error() string
func (*ListDataModelsBadRequest) GetPayload ¶ added in v1.13.0
func (o *ListDataModelsBadRequest) GetPayload() *models.Error
type ListDataModelsInternalServerError ¶ added in v1.13.0
type ListDataModelsInternalServerError struct { }
ListDataModelsInternalServerError handles this case with default header values.
Internal server error
func NewListDataModelsInternalServerError ¶ added in v1.13.0
func NewListDataModelsInternalServerError() *ListDataModelsInternalServerError
NewListDataModelsInternalServerError creates a ListDataModelsInternalServerError with default headers values
func (*ListDataModelsInternalServerError) Error ¶ added in v1.13.0
func (o *ListDataModelsInternalServerError) Error() string
type ListDataModelsOK ¶ added in v1.13.0
type ListDataModelsOK struct {
Payload *models.DataModelList
}
ListDataModelsOK handles this case with default header values.
OK
func NewListDataModelsOK ¶ added in v1.13.0
func NewListDataModelsOK() *ListDataModelsOK
NewListDataModelsOK creates a ListDataModelsOK with default headers values
func (*ListDataModelsOK) Error ¶ added in v1.13.0
func (o *ListDataModelsOK) Error() string
func (*ListDataModelsOK) GetPayload ¶ added in v1.13.0
func (o *ListDataModelsOK) GetPayload() *models.DataModelList
type ListDataModelsParams ¶ added in v1.13.0
type ListDataModelsParams struct { /*Enabled Only include data models which are enabled or disabled */ Enabled *bool /*LogTypes Only include data models which apply to one of these log types */ LogTypes []string /*NameContains Only include data models whose ID contains this substring (case-insensitive) */ NameContains *string /*Page Which page of results to retrieve */ Page *int64 /*PageSize Number of items in each page of results */ PageSize *int64 /*SortBy Name of the field to sort by */ SortBy *string /*SortDir Sort direction */ SortDir *string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
ListDataModelsParams contains all the parameters to send to the API endpoint for the list data models operation typically these are written to a http.Request
func NewListDataModelsParams ¶ added in v1.13.0
func NewListDataModelsParams() *ListDataModelsParams
NewListDataModelsParams creates a new ListDataModelsParams object with the default values initialized.
func NewListDataModelsParamsWithContext ¶ added in v1.13.0
func NewListDataModelsParamsWithContext(ctx context.Context) *ListDataModelsParams
NewListDataModelsParamsWithContext creates a new ListDataModelsParams object with the default values initialized, and the ability to set a context for a request
func NewListDataModelsParamsWithHTTPClient ¶ added in v1.13.0
func NewListDataModelsParamsWithHTTPClient(client *http.Client) *ListDataModelsParams
NewListDataModelsParamsWithHTTPClient creates a new ListDataModelsParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewListDataModelsParamsWithTimeout ¶ added in v1.13.0
func NewListDataModelsParamsWithTimeout(timeout time.Duration) *ListDataModelsParams
NewListDataModelsParamsWithTimeout creates a new ListDataModelsParams object with the default values initialized, and the ability to set a timeout on a request
func (*ListDataModelsParams) SetContext ¶ added in v1.13.0
func (o *ListDataModelsParams) SetContext(ctx context.Context)
SetContext adds the context to the list data models params
func (*ListDataModelsParams) SetEnabled ¶ added in v1.13.0
func (o *ListDataModelsParams) SetEnabled(enabled *bool)
SetEnabled adds the enabled to the list data models params
func (*ListDataModelsParams) SetHTTPClient ¶ added in v1.13.0
func (o *ListDataModelsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the list data models params
func (*ListDataModelsParams) SetLogTypes ¶ added in v1.13.0
func (o *ListDataModelsParams) SetLogTypes(logTypes []string)
SetLogTypes adds the logTypes to the list data models params
func (*ListDataModelsParams) SetNameContains ¶ added in v1.13.0
func (o *ListDataModelsParams) SetNameContains(nameContains *string)
SetNameContains adds the nameContains to the list data models params
func (*ListDataModelsParams) SetPage ¶ added in v1.13.0
func (o *ListDataModelsParams) SetPage(page *int64)
SetPage adds the page to the list data models params
func (*ListDataModelsParams) SetPageSize ¶ added in v1.13.0
func (o *ListDataModelsParams) SetPageSize(pageSize *int64)
SetPageSize adds the pageSize to the list data models params
func (*ListDataModelsParams) SetSortBy ¶ added in v1.13.0
func (o *ListDataModelsParams) SetSortBy(sortBy *string)
SetSortBy adds the sortBy to the list data models params
func (*ListDataModelsParams) SetSortDir ¶ added in v1.13.0
func (o *ListDataModelsParams) SetSortDir(sortDir *string)
SetSortDir adds the sortDir to the list data models params
func (*ListDataModelsParams) SetTimeout ¶ added in v1.13.0
func (o *ListDataModelsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the list data models params
func (*ListDataModelsParams) WithContext ¶ added in v1.13.0
func (o *ListDataModelsParams) WithContext(ctx context.Context) *ListDataModelsParams
WithContext adds the context to the list data models params
func (*ListDataModelsParams) WithEnabled ¶ added in v1.13.0
func (o *ListDataModelsParams) WithEnabled(enabled *bool) *ListDataModelsParams
WithEnabled adds the enabled to the list data models params
func (*ListDataModelsParams) WithHTTPClient ¶ added in v1.13.0
func (o *ListDataModelsParams) WithHTTPClient(client *http.Client) *ListDataModelsParams
WithHTTPClient adds the HTTPClient to the list data models params
func (*ListDataModelsParams) WithLogTypes ¶ added in v1.13.0
func (o *ListDataModelsParams) WithLogTypes(logTypes []string) *ListDataModelsParams
WithLogTypes adds the logTypes to the list data models params
func (*ListDataModelsParams) WithNameContains ¶ added in v1.13.0
func (o *ListDataModelsParams) WithNameContains(nameContains *string) *ListDataModelsParams
WithNameContains adds the nameContains to the list data models params
func (*ListDataModelsParams) WithPage ¶ added in v1.13.0
func (o *ListDataModelsParams) WithPage(page *int64) *ListDataModelsParams
WithPage adds the page to the list data models params
func (*ListDataModelsParams) WithPageSize ¶ added in v1.13.0
func (o *ListDataModelsParams) WithPageSize(pageSize *int64) *ListDataModelsParams
WithPageSize adds the pageSize to the list data models params
func (*ListDataModelsParams) WithSortBy ¶ added in v1.13.0
func (o *ListDataModelsParams) WithSortBy(sortBy *string) *ListDataModelsParams
WithSortBy adds the sortBy to the list data models params
func (*ListDataModelsParams) WithSortDir ¶ added in v1.13.0
func (o *ListDataModelsParams) WithSortDir(sortDir *string) *ListDataModelsParams
WithSortDir adds the sortDir to the list data models params
func (*ListDataModelsParams) WithTimeout ¶ added in v1.13.0
func (o *ListDataModelsParams) WithTimeout(timeout time.Duration) *ListDataModelsParams
WithTimeout adds the timeout to the list data models params
func (*ListDataModelsParams) WriteToRequest ¶ added in v1.13.0
func (o *ListDataModelsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type ListDataModelsReader ¶ added in v1.13.0
type ListDataModelsReader struct {
// contains filtered or unexported fields
}
ListDataModelsReader is a Reader for the ListDataModels structure.
func (*ListDataModelsReader) ReadResponse ¶ added in v1.13.0
func (o *ListDataModelsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type ListGlobalsBadRequest ¶ added in v1.3.0
ListGlobalsBadRequest handles this case with default header values.
Bad request
func NewListGlobalsBadRequest ¶ added in v1.3.0
func NewListGlobalsBadRequest() *ListGlobalsBadRequest
NewListGlobalsBadRequest creates a ListGlobalsBadRequest with default headers values
func (*ListGlobalsBadRequest) Error ¶ added in v1.3.0
func (o *ListGlobalsBadRequest) Error() string
func (*ListGlobalsBadRequest) GetPayload ¶ added in v1.3.0
func (o *ListGlobalsBadRequest) GetPayload() *models.Error
type ListGlobalsInternalServerError ¶ added in v1.3.0
type ListGlobalsInternalServerError struct { }
ListGlobalsInternalServerError handles this case with default header values.
Internal server error
func NewListGlobalsInternalServerError ¶ added in v1.3.0
func NewListGlobalsInternalServerError() *ListGlobalsInternalServerError
NewListGlobalsInternalServerError creates a ListGlobalsInternalServerError with default headers values
func (*ListGlobalsInternalServerError) Error ¶ added in v1.3.0
func (o *ListGlobalsInternalServerError) Error() string
type ListGlobalsOK ¶ added in v1.3.0
type ListGlobalsOK struct {
Payload *models.GlobalList
}
ListGlobalsOK handles this case with default header values.
OK
func NewListGlobalsOK ¶ added in v1.3.0
func NewListGlobalsOK() *ListGlobalsOK
NewListGlobalsOK creates a ListGlobalsOK with default headers values
func (*ListGlobalsOK) Error ¶ added in v1.3.0
func (o *ListGlobalsOK) Error() string
func (*ListGlobalsOK) GetPayload ¶ added in v1.3.0
func (o *ListGlobalsOK) GetPayload() *models.GlobalList
type ListGlobalsParams ¶ added in v1.3.0
type ListGlobalsParams struct { /*Page Which page of results to retrieve */ Page *int64 /*PageSize Number of items in each page of results */ PageSize *int64 /*SortDir Sort direction */ SortDir *string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
ListGlobalsParams contains all the parameters to send to the API endpoint for the list globals operation typically these are written to a http.Request
func NewListGlobalsParams ¶ added in v1.3.0
func NewListGlobalsParams() *ListGlobalsParams
NewListGlobalsParams creates a new ListGlobalsParams object with the default values initialized.
func NewListGlobalsParamsWithContext ¶ added in v1.3.0
func NewListGlobalsParamsWithContext(ctx context.Context) *ListGlobalsParams
NewListGlobalsParamsWithContext creates a new ListGlobalsParams object with the default values initialized, and the ability to set a context for a request
func NewListGlobalsParamsWithHTTPClient ¶ added in v1.3.0
func NewListGlobalsParamsWithHTTPClient(client *http.Client) *ListGlobalsParams
NewListGlobalsParamsWithHTTPClient creates a new ListGlobalsParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewListGlobalsParamsWithTimeout ¶ added in v1.3.0
func NewListGlobalsParamsWithTimeout(timeout time.Duration) *ListGlobalsParams
NewListGlobalsParamsWithTimeout creates a new ListGlobalsParams object with the default values initialized, and the ability to set a timeout on a request
func (*ListGlobalsParams) SetContext ¶ added in v1.3.0
func (o *ListGlobalsParams) SetContext(ctx context.Context)
SetContext adds the context to the list globals params
func (*ListGlobalsParams) SetHTTPClient ¶ added in v1.3.0
func (o *ListGlobalsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the list globals params
func (*ListGlobalsParams) SetPage ¶ added in v1.3.0
func (o *ListGlobalsParams) SetPage(page *int64)
SetPage adds the page to the list globals params
func (*ListGlobalsParams) SetPageSize ¶ added in v1.3.0
func (o *ListGlobalsParams) SetPageSize(pageSize *int64)
SetPageSize adds the pageSize to the list globals params
func (*ListGlobalsParams) SetSortDir ¶ added in v1.3.0
func (o *ListGlobalsParams) SetSortDir(sortDir *string)
SetSortDir adds the sortDir to the list globals params
func (*ListGlobalsParams) SetTimeout ¶ added in v1.3.0
func (o *ListGlobalsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the list globals params
func (*ListGlobalsParams) WithContext ¶ added in v1.3.0
func (o *ListGlobalsParams) WithContext(ctx context.Context) *ListGlobalsParams
WithContext adds the context to the list globals params
func (*ListGlobalsParams) WithHTTPClient ¶ added in v1.3.0
func (o *ListGlobalsParams) WithHTTPClient(client *http.Client) *ListGlobalsParams
WithHTTPClient adds the HTTPClient to the list globals params
func (*ListGlobalsParams) WithPage ¶ added in v1.3.0
func (o *ListGlobalsParams) WithPage(page *int64) *ListGlobalsParams
WithPage adds the page to the list globals params
func (*ListGlobalsParams) WithPageSize ¶ added in v1.3.0
func (o *ListGlobalsParams) WithPageSize(pageSize *int64) *ListGlobalsParams
WithPageSize adds the pageSize to the list globals params
func (*ListGlobalsParams) WithSortDir ¶ added in v1.3.0
func (o *ListGlobalsParams) WithSortDir(sortDir *string) *ListGlobalsParams
WithSortDir adds the sortDir to the list globals params
func (*ListGlobalsParams) WithTimeout ¶ added in v1.3.0
func (o *ListGlobalsParams) WithTimeout(timeout time.Duration) *ListGlobalsParams
WithTimeout adds the timeout to the list globals params
func (*ListGlobalsParams) WriteToRequest ¶ added in v1.3.0
func (o *ListGlobalsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type ListGlobalsReader ¶ added in v1.3.0
type ListGlobalsReader struct {
// contains filtered or unexported fields
}
ListGlobalsReader is a Reader for the ListGlobals structure.
func (*ListGlobalsReader) ReadResponse ¶ added in v1.3.0
func (o *ListGlobalsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type ListPoliciesBadRequest ¶
ListPoliciesBadRequest handles this case with default header values.
Bad request
func NewListPoliciesBadRequest ¶
func NewListPoliciesBadRequest() *ListPoliciesBadRequest
NewListPoliciesBadRequest creates a ListPoliciesBadRequest with default headers values
func (*ListPoliciesBadRequest) Error ¶
func (o *ListPoliciesBadRequest) Error() string
func (*ListPoliciesBadRequest) GetPayload ¶
func (o *ListPoliciesBadRequest) GetPayload() *models.Error
type ListPoliciesInternalServerError ¶
type ListPoliciesInternalServerError struct { }
ListPoliciesInternalServerError handles this case with default header values.
Internal server error
func NewListPoliciesInternalServerError ¶
func NewListPoliciesInternalServerError() *ListPoliciesInternalServerError
NewListPoliciesInternalServerError creates a ListPoliciesInternalServerError with default headers values
func (*ListPoliciesInternalServerError) Error ¶
func (o *ListPoliciesInternalServerError) Error() string
type ListPoliciesOK ¶
type ListPoliciesOK struct {
Payload *models.PolicyList
}
ListPoliciesOK handles this case with default header values.
OK
func NewListPoliciesOK ¶
func NewListPoliciesOK() *ListPoliciesOK
NewListPoliciesOK creates a ListPoliciesOK with default headers values
func (*ListPoliciesOK) Error ¶
func (o *ListPoliciesOK) Error() string
func (*ListPoliciesOK) GetPayload ¶
func (o *ListPoliciesOK) GetPayload() *models.PolicyList
type ListPoliciesParams ¶
type ListPoliciesParams struct { /*ComplianceStatus Only include policies with a specific compliance status */ ComplianceStatus *string /*Enabled Only include policies which are enabled or disabled */ Enabled *bool /*HasRemediation Only include policies with or without auto-remediation enabled */ HasRemediation *bool /*NameContains Only include policies whose ID or display name contains this substring (case-insensitive) */ NameContains *string /*Page Which page of results to retrieve */ Page *int64 /*PageSize Number of items in each page of results */ PageSize *int64 /*ResourceTypes Only include policies which apply to one of these resource types */ ResourceTypes []string /*Severity Only include policies with this severity */ Severity *string /*SortBy Name of the field to sort by */ SortBy *string /*SortDir Sort direction */ SortDir *string /*Tags Only include policies with all of these tags (case-insensitive) */ Tags []string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
ListPoliciesParams contains all the parameters to send to the API endpoint for the list policies operation typically these are written to a http.Request
func NewListPoliciesParams ¶
func NewListPoliciesParams() *ListPoliciesParams
NewListPoliciesParams creates a new ListPoliciesParams object with the default values initialized.
func NewListPoliciesParamsWithContext ¶
func NewListPoliciesParamsWithContext(ctx context.Context) *ListPoliciesParams
NewListPoliciesParamsWithContext creates a new ListPoliciesParams object with the default values initialized, and the ability to set a context for a request
func NewListPoliciesParamsWithHTTPClient ¶
func NewListPoliciesParamsWithHTTPClient(client *http.Client) *ListPoliciesParams
NewListPoliciesParamsWithHTTPClient creates a new ListPoliciesParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewListPoliciesParamsWithTimeout ¶
func NewListPoliciesParamsWithTimeout(timeout time.Duration) *ListPoliciesParams
NewListPoliciesParamsWithTimeout creates a new ListPoliciesParams object with the default values initialized, and the ability to set a timeout on a request
func (*ListPoliciesParams) SetComplianceStatus ¶
func (o *ListPoliciesParams) SetComplianceStatus(complianceStatus *string)
SetComplianceStatus adds the complianceStatus to the list policies params
func (*ListPoliciesParams) SetContext ¶
func (o *ListPoliciesParams) SetContext(ctx context.Context)
SetContext adds the context to the list policies params
func (*ListPoliciesParams) SetEnabled ¶
func (o *ListPoliciesParams) SetEnabled(enabled *bool)
SetEnabled adds the enabled to the list policies params
func (*ListPoliciesParams) SetHTTPClient ¶
func (o *ListPoliciesParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the list policies params
func (*ListPoliciesParams) SetHasRemediation ¶
func (o *ListPoliciesParams) SetHasRemediation(hasRemediation *bool)
SetHasRemediation adds the hasRemediation to the list policies params
func (*ListPoliciesParams) SetNameContains ¶
func (o *ListPoliciesParams) SetNameContains(nameContains *string)
SetNameContains adds the nameContains to the list policies params
func (*ListPoliciesParams) SetPage ¶
func (o *ListPoliciesParams) SetPage(page *int64)
SetPage adds the page to the list policies params
func (*ListPoliciesParams) SetPageSize ¶
func (o *ListPoliciesParams) SetPageSize(pageSize *int64)
SetPageSize adds the pageSize to the list policies params
func (*ListPoliciesParams) SetResourceTypes ¶
func (o *ListPoliciesParams) SetResourceTypes(resourceTypes []string)
SetResourceTypes adds the resourceTypes to the list policies params
func (*ListPoliciesParams) SetSeverity ¶
func (o *ListPoliciesParams) SetSeverity(severity *string)
SetSeverity adds the severity to the list policies params
func (*ListPoliciesParams) SetSortBy ¶
func (o *ListPoliciesParams) SetSortBy(sortBy *string)
SetSortBy adds the sortBy to the list policies params
func (*ListPoliciesParams) SetSortDir ¶
func (o *ListPoliciesParams) SetSortDir(sortDir *string)
SetSortDir adds the sortDir to the list policies params
func (*ListPoliciesParams) SetTags ¶
func (o *ListPoliciesParams) SetTags(tags []string)
SetTags adds the tags to the list policies params
func (*ListPoliciesParams) SetTimeout ¶
func (o *ListPoliciesParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the list policies params
func (*ListPoliciesParams) WithComplianceStatus ¶
func (o *ListPoliciesParams) WithComplianceStatus(complianceStatus *string) *ListPoliciesParams
WithComplianceStatus adds the complianceStatus to the list policies params
func (*ListPoliciesParams) WithContext ¶
func (o *ListPoliciesParams) WithContext(ctx context.Context) *ListPoliciesParams
WithContext adds the context to the list policies params
func (*ListPoliciesParams) WithEnabled ¶
func (o *ListPoliciesParams) WithEnabled(enabled *bool) *ListPoliciesParams
WithEnabled adds the enabled to the list policies params
func (*ListPoliciesParams) WithHTTPClient ¶
func (o *ListPoliciesParams) WithHTTPClient(client *http.Client) *ListPoliciesParams
WithHTTPClient adds the HTTPClient to the list policies params
func (*ListPoliciesParams) WithHasRemediation ¶
func (o *ListPoliciesParams) WithHasRemediation(hasRemediation *bool) *ListPoliciesParams
WithHasRemediation adds the hasRemediation to the list policies params
func (*ListPoliciesParams) WithNameContains ¶
func (o *ListPoliciesParams) WithNameContains(nameContains *string) *ListPoliciesParams
WithNameContains adds the nameContains to the list policies params
func (*ListPoliciesParams) WithPage ¶
func (o *ListPoliciesParams) WithPage(page *int64) *ListPoliciesParams
WithPage adds the page to the list policies params
func (*ListPoliciesParams) WithPageSize ¶
func (o *ListPoliciesParams) WithPageSize(pageSize *int64) *ListPoliciesParams
WithPageSize adds the pageSize to the list policies params
func (*ListPoliciesParams) WithResourceTypes ¶
func (o *ListPoliciesParams) WithResourceTypes(resourceTypes []string) *ListPoliciesParams
WithResourceTypes adds the resourceTypes to the list policies params
func (*ListPoliciesParams) WithSeverity ¶
func (o *ListPoliciesParams) WithSeverity(severity *string) *ListPoliciesParams
WithSeverity adds the severity to the list policies params
func (*ListPoliciesParams) WithSortBy ¶
func (o *ListPoliciesParams) WithSortBy(sortBy *string) *ListPoliciesParams
WithSortBy adds the sortBy to the list policies params
func (*ListPoliciesParams) WithSortDir ¶
func (o *ListPoliciesParams) WithSortDir(sortDir *string) *ListPoliciesParams
WithSortDir adds the sortDir to the list policies params
func (*ListPoliciesParams) WithTags ¶
func (o *ListPoliciesParams) WithTags(tags []string) *ListPoliciesParams
WithTags adds the tags to the list policies params
func (*ListPoliciesParams) WithTimeout ¶
func (o *ListPoliciesParams) WithTimeout(timeout time.Duration) *ListPoliciesParams
WithTimeout adds the timeout to the list policies params
func (*ListPoliciesParams) WriteToRequest ¶
func (o *ListPoliciesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type ListPoliciesReader ¶
type ListPoliciesReader struct {
// contains filtered or unexported fields
}
ListPoliciesReader is a Reader for the ListPolicies structure.
func (*ListPoliciesReader) ReadResponse ¶
func (o *ListPoliciesReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type ListRulesBadRequest ¶
ListRulesBadRequest handles this case with default header values.
Bad request
func NewListRulesBadRequest ¶
func NewListRulesBadRequest() *ListRulesBadRequest
NewListRulesBadRequest creates a ListRulesBadRequest with default headers values
func (*ListRulesBadRequest) Error ¶
func (o *ListRulesBadRequest) Error() string
func (*ListRulesBadRequest) GetPayload ¶
func (o *ListRulesBadRequest) GetPayload() *models.Error
type ListRulesInternalServerError ¶
type ListRulesInternalServerError struct { }
ListRulesInternalServerError handles this case with default header values.
Internal server error
func NewListRulesInternalServerError ¶
func NewListRulesInternalServerError() *ListRulesInternalServerError
NewListRulesInternalServerError creates a ListRulesInternalServerError with default headers values
func (*ListRulesInternalServerError) Error ¶
func (o *ListRulesInternalServerError) Error() string
type ListRulesOK ¶
ListRulesOK handles this case with default header values.
OK
func NewListRulesOK ¶
func NewListRulesOK() *ListRulesOK
NewListRulesOK creates a ListRulesOK with default headers values
func (*ListRulesOK) Error ¶
func (o *ListRulesOK) Error() string
func (*ListRulesOK) GetPayload ¶
func (o *ListRulesOK) GetPayload() *models.RuleList
type ListRulesParams ¶
type ListRulesParams struct { /*Enabled Only include rules which are enabled or disabled */ Enabled *bool /*LogTypes Only include rules which apply to one of these log types */ LogTypes []string /*NameContains Only include rules whose ID or display name contains this substring (case-insensitive) */ NameContains *string /*Page Which page of results to retrieve */ Page *int64 /*PageSize Number of items in each page of results */ PageSize *int64 /*Severity Only include policies with this severity */ Severity *string /*SortBy Name of the field to sort by */ SortBy *string /*SortDir Sort direction */ SortDir *string /*Tags Only include policies with all of these tags (case-insensitive) */ Tags []string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
ListRulesParams contains all the parameters to send to the API endpoint for the list rules operation typically these are written to a http.Request
func NewListRulesParams ¶
func NewListRulesParams() *ListRulesParams
NewListRulesParams creates a new ListRulesParams object with the default values initialized.
func NewListRulesParamsWithContext ¶
func NewListRulesParamsWithContext(ctx context.Context) *ListRulesParams
NewListRulesParamsWithContext creates a new ListRulesParams object with the default values initialized, and the ability to set a context for a request
func NewListRulesParamsWithHTTPClient ¶
func NewListRulesParamsWithHTTPClient(client *http.Client) *ListRulesParams
NewListRulesParamsWithHTTPClient creates a new ListRulesParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewListRulesParamsWithTimeout ¶
func NewListRulesParamsWithTimeout(timeout time.Duration) *ListRulesParams
NewListRulesParamsWithTimeout creates a new ListRulesParams object with the default values initialized, and the ability to set a timeout on a request
func (*ListRulesParams) SetContext ¶
func (o *ListRulesParams) SetContext(ctx context.Context)
SetContext adds the context to the list rules params
func (*ListRulesParams) SetEnabled ¶
func (o *ListRulesParams) SetEnabled(enabled *bool)
SetEnabled adds the enabled to the list rules params
func (*ListRulesParams) SetHTTPClient ¶
func (o *ListRulesParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the list rules params
func (*ListRulesParams) SetLogTypes ¶
func (o *ListRulesParams) SetLogTypes(logTypes []string)
SetLogTypes adds the logTypes to the list rules params
func (*ListRulesParams) SetNameContains ¶
func (o *ListRulesParams) SetNameContains(nameContains *string)
SetNameContains adds the nameContains to the list rules params
func (*ListRulesParams) SetPage ¶
func (o *ListRulesParams) SetPage(page *int64)
SetPage adds the page to the list rules params
func (*ListRulesParams) SetPageSize ¶
func (o *ListRulesParams) SetPageSize(pageSize *int64)
SetPageSize adds the pageSize to the list rules params
func (*ListRulesParams) SetSeverity ¶
func (o *ListRulesParams) SetSeverity(severity *string)
SetSeverity adds the severity to the list rules params
func (*ListRulesParams) SetSortBy ¶
func (o *ListRulesParams) SetSortBy(sortBy *string)
SetSortBy adds the sortBy to the list rules params
func (*ListRulesParams) SetSortDir ¶
func (o *ListRulesParams) SetSortDir(sortDir *string)
SetSortDir adds the sortDir to the list rules params
func (*ListRulesParams) SetTags ¶
func (o *ListRulesParams) SetTags(tags []string)
SetTags adds the tags to the list rules params
func (*ListRulesParams) SetTimeout ¶
func (o *ListRulesParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the list rules params
func (*ListRulesParams) WithContext ¶
func (o *ListRulesParams) WithContext(ctx context.Context) *ListRulesParams
WithContext adds the context to the list rules params
func (*ListRulesParams) WithEnabled ¶
func (o *ListRulesParams) WithEnabled(enabled *bool) *ListRulesParams
WithEnabled adds the enabled to the list rules params
func (*ListRulesParams) WithHTTPClient ¶
func (o *ListRulesParams) WithHTTPClient(client *http.Client) *ListRulesParams
WithHTTPClient adds the HTTPClient to the list rules params
func (*ListRulesParams) WithLogTypes ¶
func (o *ListRulesParams) WithLogTypes(logTypes []string) *ListRulesParams
WithLogTypes adds the logTypes to the list rules params
func (*ListRulesParams) WithNameContains ¶
func (o *ListRulesParams) WithNameContains(nameContains *string) *ListRulesParams
WithNameContains adds the nameContains to the list rules params
func (*ListRulesParams) WithPage ¶
func (o *ListRulesParams) WithPage(page *int64) *ListRulesParams
WithPage adds the page to the list rules params
func (*ListRulesParams) WithPageSize ¶
func (o *ListRulesParams) WithPageSize(pageSize *int64) *ListRulesParams
WithPageSize adds the pageSize to the list rules params
func (*ListRulesParams) WithSeverity ¶
func (o *ListRulesParams) WithSeverity(severity *string) *ListRulesParams
WithSeverity adds the severity to the list rules params
func (*ListRulesParams) WithSortBy ¶
func (o *ListRulesParams) WithSortBy(sortBy *string) *ListRulesParams
WithSortBy adds the sortBy to the list rules params
func (*ListRulesParams) WithSortDir ¶
func (o *ListRulesParams) WithSortDir(sortDir *string) *ListRulesParams
WithSortDir adds the sortDir to the list rules params
func (*ListRulesParams) WithTags ¶
func (o *ListRulesParams) WithTags(tags []string) *ListRulesParams
WithTags adds the tags to the list rules params
func (*ListRulesParams) WithTimeout ¶
func (o *ListRulesParams) WithTimeout(timeout time.Duration) *ListRulesParams
WithTimeout adds the timeout to the list rules params
func (*ListRulesParams) WriteToRequest ¶
func (o *ListRulesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type ListRulesReader ¶
type ListRulesReader struct {
// contains filtered or unexported fields
}
ListRulesReader is a Reader for the ListRules structure.
func (*ListRulesReader) ReadResponse ¶
func (o *ListRulesReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type ModifyDataModelBadRequest ¶ added in v1.13.0
ModifyDataModelBadRequest handles this case with default header values.
Bad request
func NewModifyDataModelBadRequest ¶ added in v1.13.0
func NewModifyDataModelBadRequest() *ModifyDataModelBadRequest
NewModifyDataModelBadRequest creates a ModifyDataModelBadRequest with default headers values
func (*ModifyDataModelBadRequest) Error ¶ added in v1.13.0
func (o *ModifyDataModelBadRequest) Error() string
func (*ModifyDataModelBadRequest) GetPayload ¶ added in v1.13.0
func (o *ModifyDataModelBadRequest) GetPayload() *models.Error
type ModifyDataModelInternalServerError ¶ added in v1.13.0
type ModifyDataModelInternalServerError struct { }
ModifyDataModelInternalServerError handles this case with default header values.
Internal server error
func NewModifyDataModelInternalServerError ¶ added in v1.13.0
func NewModifyDataModelInternalServerError() *ModifyDataModelInternalServerError
NewModifyDataModelInternalServerError creates a ModifyDataModelInternalServerError with default headers values
func (*ModifyDataModelInternalServerError) Error ¶ added in v1.13.0
func (o *ModifyDataModelInternalServerError) Error() string
type ModifyDataModelNotFound ¶ added in v1.13.0
type ModifyDataModelNotFound struct { }
ModifyDataModelNotFound handles this case with default header values.
DataModel not found
func NewModifyDataModelNotFound ¶ added in v1.13.0
func NewModifyDataModelNotFound() *ModifyDataModelNotFound
NewModifyDataModelNotFound creates a ModifyDataModelNotFound with default headers values
func (*ModifyDataModelNotFound) Error ¶ added in v1.13.0
func (o *ModifyDataModelNotFound) Error() string
type ModifyDataModelOK ¶ added in v1.13.0
ModifyDataModelOK handles this case with default header values.
OK
func NewModifyDataModelOK ¶ added in v1.13.0
func NewModifyDataModelOK() *ModifyDataModelOK
NewModifyDataModelOK creates a ModifyDataModelOK with default headers values
func (*ModifyDataModelOK) Error ¶ added in v1.13.0
func (o *ModifyDataModelOK) Error() string
func (*ModifyDataModelOK) GetPayload ¶ added in v1.13.0
func (o *ModifyDataModelOK) GetPayload() *models.DataModel
type ModifyDataModelParams ¶ added in v1.13.0
type ModifyDataModelParams struct { /*Body*/ Body *models.UpdateDataModel Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
ModifyDataModelParams contains all the parameters to send to the API endpoint for the modify data model operation typically these are written to a http.Request
func NewModifyDataModelParams ¶ added in v1.13.0
func NewModifyDataModelParams() *ModifyDataModelParams
NewModifyDataModelParams creates a new ModifyDataModelParams object with the default values initialized.
func NewModifyDataModelParamsWithContext ¶ added in v1.13.0
func NewModifyDataModelParamsWithContext(ctx context.Context) *ModifyDataModelParams
NewModifyDataModelParamsWithContext creates a new ModifyDataModelParams object with the default values initialized, and the ability to set a context for a request
func NewModifyDataModelParamsWithHTTPClient ¶ added in v1.13.0
func NewModifyDataModelParamsWithHTTPClient(client *http.Client) *ModifyDataModelParams
NewModifyDataModelParamsWithHTTPClient creates a new ModifyDataModelParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewModifyDataModelParamsWithTimeout ¶ added in v1.13.0
func NewModifyDataModelParamsWithTimeout(timeout time.Duration) *ModifyDataModelParams
NewModifyDataModelParamsWithTimeout creates a new ModifyDataModelParams object with the default values initialized, and the ability to set a timeout on a request
func (*ModifyDataModelParams) SetBody ¶ added in v1.13.0
func (o *ModifyDataModelParams) SetBody(body *models.UpdateDataModel)
SetBody adds the body to the modify data model params
func (*ModifyDataModelParams) SetContext ¶ added in v1.13.0
func (o *ModifyDataModelParams) SetContext(ctx context.Context)
SetContext adds the context to the modify data model params
func (*ModifyDataModelParams) SetHTTPClient ¶ added in v1.13.0
func (o *ModifyDataModelParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the modify data model params
func (*ModifyDataModelParams) SetTimeout ¶ added in v1.13.0
func (o *ModifyDataModelParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the modify data model params
func (*ModifyDataModelParams) WithBody ¶ added in v1.13.0
func (o *ModifyDataModelParams) WithBody(body *models.UpdateDataModel) *ModifyDataModelParams
WithBody adds the body to the modify data model params
func (*ModifyDataModelParams) WithContext ¶ added in v1.13.0
func (o *ModifyDataModelParams) WithContext(ctx context.Context) *ModifyDataModelParams
WithContext adds the context to the modify data model params
func (*ModifyDataModelParams) WithHTTPClient ¶ added in v1.13.0
func (o *ModifyDataModelParams) WithHTTPClient(client *http.Client) *ModifyDataModelParams
WithHTTPClient adds the HTTPClient to the modify data model params
func (*ModifyDataModelParams) WithTimeout ¶ added in v1.13.0
func (o *ModifyDataModelParams) WithTimeout(timeout time.Duration) *ModifyDataModelParams
WithTimeout adds the timeout to the modify data model params
func (*ModifyDataModelParams) WriteToRequest ¶ added in v1.13.0
func (o *ModifyDataModelParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type ModifyDataModelReader ¶ added in v1.13.0
type ModifyDataModelReader struct {
// contains filtered or unexported fields
}
ModifyDataModelReader is a Reader for the ModifyDataModel structure.
func (*ModifyDataModelReader) ReadResponse ¶ added in v1.13.0
func (o *ModifyDataModelReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type ModifyGlobalBadRequest ¶ added in v1.1.0
ModifyGlobalBadRequest handles this case with default header values.
Bad request
func NewModifyGlobalBadRequest ¶ added in v1.1.0
func NewModifyGlobalBadRequest() *ModifyGlobalBadRequest
NewModifyGlobalBadRequest creates a ModifyGlobalBadRequest with default headers values
func (*ModifyGlobalBadRequest) Error ¶ added in v1.1.0
func (o *ModifyGlobalBadRequest) Error() string
func (*ModifyGlobalBadRequest) GetPayload ¶ added in v1.1.0
func (o *ModifyGlobalBadRequest) GetPayload() *models.Error
type ModifyGlobalInternalServerError ¶ added in v1.1.0
type ModifyGlobalInternalServerError struct { }
ModifyGlobalInternalServerError handles this case with default header values.
Internal server error
func NewModifyGlobalInternalServerError ¶ added in v1.1.0
func NewModifyGlobalInternalServerError() *ModifyGlobalInternalServerError
NewModifyGlobalInternalServerError creates a ModifyGlobalInternalServerError with default headers values
func (*ModifyGlobalInternalServerError) Error ¶ added in v1.1.0
func (o *ModifyGlobalInternalServerError) Error() string
type ModifyGlobalNotFound ¶ added in v1.1.0
type ModifyGlobalNotFound struct { }
ModifyGlobalNotFound handles this case with default header values.
Global not found
func NewModifyGlobalNotFound ¶ added in v1.1.0
func NewModifyGlobalNotFound() *ModifyGlobalNotFound
NewModifyGlobalNotFound creates a ModifyGlobalNotFound with default headers values
func (*ModifyGlobalNotFound) Error ¶ added in v1.1.0
func (o *ModifyGlobalNotFound) Error() string
type ModifyGlobalOK ¶ added in v1.1.0
ModifyGlobalOK handles this case with default header values.
OK
func NewModifyGlobalOK ¶ added in v1.1.0
func NewModifyGlobalOK() *ModifyGlobalOK
NewModifyGlobalOK creates a ModifyGlobalOK with default headers values
func (*ModifyGlobalOK) Error ¶ added in v1.1.0
func (o *ModifyGlobalOK) Error() string
func (*ModifyGlobalOK) GetPayload ¶ added in v1.1.0
func (o *ModifyGlobalOK) GetPayload() *models.Global
type ModifyGlobalParams ¶ added in v1.1.0
type ModifyGlobalParams struct { /*Body*/ Body *models.UpdateGlobal Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
ModifyGlobalParams contains all the parameters to send to the API endpoint for the modify global operation typically these are written to a http.Request
func NewModifyGlobalParams ¶ added in v1.1.0
func NewModifyGlobalParams() *ModifyGlobalParams
NewModifyGlobalParams creates a new ModifyGlobalParams object with the default values initialized.
func NewModifyGlobalParamsWithContext ¶ added in v1.1.0
func NewModifyGlobalParamsWithContext(ctx context.Context) *ModifyGlobalParams
NewModifyGlobalParamsWithContext creates a new ModifyGlobalParams object with the default values initialized, and the ability to set a context for a request
func NewModifyGlobalParamsWithHTTPClient ¶ added in v1.1.0
func NewModifyGlobalParamsWithHTTPClient(client *http.Client) *ModifyGlobalParams
NewModifyGlobalParamsWithHTTPClient creates a new ModifyGlobalParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewModifyGlobalParamsWithTimeout ¶ added in v1.1.0
func NewModifyGlobalParamsWithTimeout(timeout time.Duration) *ModifyGlobalParams
NewModifyGlobalParamsWithTimeout creates a new ModifyGlobalParams object with the default values initialized, and the ability to set a timeout on a request
func (*ModifyGlobalParams) SetBody ¶ added in v1.1.0
func (o *ModifyGlobalParams) SetBody(body *models.UpdateGlobal)
SetBody adds the body to the modify global params
func (*ModifyGlobalParams) SetContext ¶ added in v1.1.0
func (o *ModifyGlobalParams) SetContext(ctx context.Context)
SetContext adds the context to the modify global params
func (*ModifyGlobalParams) SetHTTPClient ¶ added in v1.1.0
func (o *ModifyGlobalParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the modify global params
func (*ModifyGlobalParams) SetTimeout ¶ added in v1.1.0
func (o *ModifyGlobalParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the modify global params
func (*ModifyGlobalParams) WithBody ¶ added in v1.1.0
func (o *ModifyGlobalParams) WithBody(body *models.UpdateGlobal) *ModifyGlobalParams
WithBody adds the body to the modify global params
func (*ModifyGlobalParams) WithContext ¶ added in v1.1.0
func (o *ModifyGlobalParams) WithContext(ctx context.Context) *ModifyGlobalParams
WithContext adds the context to the modify global params
func (*ModifyGlobalParams) WithHTTPClient ¶ added in v1.1.0
func (o *ModifyGlobalParams) WithHTTPClient(client *http.Client) *ModifyGlobalParams
WithHTTPClient adds the HTTPClient to the modify global params
func (*ModifyGlobalParams) WithTimeout ¶ added in v1.1.0
func (o *ModifyGlobalParams) WithTimeout(timeout time.Duration) *ModifyGlobalParams
WithTimeout adds the timeout to the modify global params
func (*ModifyGlobalParams) WriteToRequest ¶ added in v1.1.0
func (o *ModifyGlobalParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type ModifyGlobalReader ¶ added in v1.1.0
type ModifyGlobalReader struct {
// contains filtered or unexported fields
}
ModifyGlobalReader is a Reader for the ModifyGlobal structure.
func (*ModifyGlobalReader) ReadResponse ¶ added in v1.1.0
func (o *ModifyGlobalReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type ModifyPolicyBadRequest ¶
ModifyPolicyBadRequest handles this case with default header values.
Bad request
func NewModifyPolicyBadRequest ¶
func NewModifyPolicyBadRequest() *ModifyPolicyBadRequest
NewModifyPolicyBadRequest creates a ModifyPolicyBadRequest with default headers values
func (*ModifyPolicyBadRequest) Error ¶
func (o *ModifyPolicyBadRequest) Error() string
func (*ModifyPolicyBadRequest) GetPayload ¶
func (o *ModifyPolicyBadRequest) GetPayload() *models.Error
type ModifyPolicyInternalServerError ¶
type ModifyPolicyInternalServerError struct { }
ModifyPolicyInternalServerError handles this case with default header values.
Internal server error
func NewModifyPolicyInternalServerError ¶
func NewModifyPolicyInternalServerError() *ModifyPolicyInternalServerError
NewModifyPolicyInternalServerError creates a ModifyPolicyInternalServerError with default headers values
func (*ModifyPolicyInternalServerError) Error ¶
func (o *ModifyPolicyInternalServerError) Error() string
type ModifyPolicyNotFound ¶
type ModifyPolicyNotFound struct { }
ModifyPolicyNotFound handles this case with default header values.
Policy not found
func NewModifyPolicyNotFound ¶
func NewModifyPolicyNotFound() *ModifyPolicyNotFound
NewModifyPolicyNotFound creates a ModifyPolicyNotFound with default headers values
func (*ModifyPolicyNotFound) Error ¶
func (o *ModifyPolicyNotFound) Error() string
type ModifyPolicyOK ¶
ModifyPolicyOK handles this case with default header values.
OK
func NewModifyPolicyOK ¶
func NewModifyPolicyOK() *ModifyPolicyOK
NewModifyPolicyOK creates a ModifyPolicyOK with default headers values
func (*ModifyPolicyOK) Error ¶
func (o *ModifyPolicyOK) Error() string
func (*ModifyPolicyOK) GetPayload ¶
func (o *ModifyPolicyOK) GetPayload() *models.Policy
type ModifyPolicyParams ¶
type ModifyPolicyParams struct { /*Body*/ Body *models.UpdatePolicy Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
ModifyPolicyParams contains all the parameters to send to the API endpoint for the modify policy operation typically these are written to a http.Request
func NewModifyPolicyParams ¶
func NewModifyPolicyParams() *ModifyPolicyParams
NewModifyPolicyParams creates a new ModifyPolicyParams object with the default values initialized.
func NewModifyPolicyParamsWithContext ¶
func NewModifyPolicyParamsWithContext(ctx context.Context) *ModifyPolicyParams
NewModifyPolicyParamsWithContext creates a new ModifyPolicyParams object with the default values initialized, and the ability to set a context for a request
func NewModifyPolicyParamsWithHTTPClient ¶
func NewModifyPolicyParamsWithHTTPClient(client *http.Client) *ModifyPolicyParams
NewModifyPolicyParamsWithHTTPClient creates a new ModifyPolicyParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewModifyPolicyParamsWithTimeout ¶
func NewModifyPolicyParamsWithTimeout(timeout time.Duration) *ModifyPolicyParams
NewModifyPolicyParamsWithTimeout creates a new ModifyPolicyParams object with the default values initialized, and the ability to set a timeout on a request
func (*ModifyPolicyParams) SetBody ¶
func (o *ModifyPolicyParams) SetBody(body *models.UpdatePolicy)
SetBody adds the body to the modify policy params
func (*ModifyPolicyParams) SetContext ¶
func (o *ModifyPolicyParams) SetContext(ctx context.Context)
SetContext adds the context to the modify policy params
func (*ModifyPolicyParams) SetHTTPClient ¶
func (o *ModifyPolicyParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the modify policy params
func (*ModifyPolicyParams) SetTimeout ¶
func (o *ModifyPolicyParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the modify policy params
func (*ModifyPolicyParams) WithBody ¶
func (o *ModifyPolicyParams) WithBody(body *models.UpdatePolicy) *ModifyPolicyParams
WithBody adds the body to the modify policy params
func (*ModifyPolicyParams) WithContext ¶
func (o *ModifyPolicyParams) WithContext(ctx context.Context) *ModifyPolicyParams
WithContext adds the context to the modify policy params
func (*ModifyPolicyParams) WithHTTPClient ¶
func (o *ModifyPolicyParams) WithHTTPClient(client *http.Client) *ModifyPolicyParams
WithHTTPClient adds the HTTPClient to the modify policy params
func (*ModifyPolicyParams) WithTimeout ¶
func (o *ModifyPolicyParams) WithTimeout(timeout time.Duration) *ModifyPolicyParams
WithTimeout adds the timeout to the modify policy params
func (*ModifyPolicyParams) WriteToRequest ¶
func (o *ModifyPolicyParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type ModifyPolicyReader ¶
type ModifyPolicyReader struct {
// contains filtered or unexported fields
}
ModifyPolicyReader is a Reader for the ModifyPolicy structure.
func (*ModifyPolicyReader) ReadResponse ¶
func (o *ModifyPolicyReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type ModifyRuleBadRequest ¶
ModifyRuleBadRequest handles this case with default header values.
Bad request
func NewModifyRuleBadRequest ¶
func NewModifyRuleBadRequest() *ModifyRuleBadRequest
NewModifyRuleBadRequest creates a ModifyRuleBadRequest with default headers values
func (*ModifyRuleBadRequest) Error ¶
func (o *ModifyRuleBadRequest) Error() string
func (*ModifyRuleBadRequest) GetPayload ¶
func (o *ModifyRuleBadRequest) GetPayload() *models.Error
type ModifyRuleInternalServerError ¶
type ModifyRuleInternalServerError struct { }
ModifyRuleInternalServerError handles this case with default header values.
Internal server error
func NewModifyRuleInternalServerError ¶
func NewModifyRuleInternalServerError() *ModifyRuleInternalServerError
NewModifyRuleInternalServerError creates a ModifyRuleInternalServerError with default headers values
func (*ModifyRuleInternalServerError) Error ¶
func (o *ModifyRuleInternalServerError) Error() string
type ModifyRuleNotFound ¶
type ModifyRuleNotFound struct { }
ModifyRuleNotFound handles this case with default header values.
Rule not found
func NewModifyRuleNotFound ¶
func NewModifyRuleNotFound() *ModifyRuleNotFound
NewModifyRuleNotFound creates a ModifyRuleNotFound with default headers values
func (*ModifyRuleNotFound) Error ¶
func (o *ModifyRuleNotFound) Error() string
type ModifyRuleOK ¶
ModifyRuleOK handles this case with default header values.
OK
func NewModifyRuleOK ¶
func NewModifyRuleOK() *ModifyRuleOK
NewModifyRuleOK creates a ModifyRuleOK with default headers values
func (*ModifyRuleOK) Error ¶
func (o *ModifyRuleOK) Error() string
func (*ModifyRuleOK) GetPayload ¶
func (o *ModifyRuleOK) GetPayload() *models.Rule
type ModifyRuleParams ¶
type ModifyRuleParams struct { /*Body*/ Body *models.UpdateRule Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
ModifyRuleParams contains all the parameters to send to the API endpoint for the modify rule operation typically these are written to a http.Request
func NewModifyRuleParams ¶
func NewModifyRuleParams() *ModifyRuleParams
NewModifyRuleParams creates a new ModifyRuleParams object with the default values initialized.
func NewModifyRuleParamsWithContext ¶
func NewModifyRuleParamsWithContext(ctx context.Context) *ModifyRuleParams
NewModifyRuleParamsWithContext creates a new ModifyRuleParams object with the default values initialized, and the ability to set a context for a request
func NewModifyRuleParamsWithHTTPClient ¶
func NewModifyRuleParamsWithHTTPClient(client *http.Client) *ModifyRuleParams
NewModifyRuleParamsWithHTTPClient creates a new ModifyRuleParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewModifyRuleParamsWithTimeout ¶
func NewModifyRuleParamsWithTimeout(timeout time.Duration) *ModifyRuleParams
NewModifyRuleParamsWithTimeout creates a new ModifyRuleParams object with the default values initialized, and the ability to set a timeout on a request
func (*ModifyRuleParams) SetBody ¶
func (o *ModifyRuleParams) SetBody(body *models.UpdateRule)
SetBody adds the body to the modify rule params
func (*ModifyRuleParams) SetContext ¶
func (o *ModifyRuleParams) SetContext(ctx context.Context)
SetContext adds the context to the modify rule params
func (*ModifyRuleParams) SetHTTPClient ¶
func (o *ModifyRuleParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the modify rule params
func (*ModifyRuleParams) SetTimeout ¶
func (o *ModifyRuleParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the modify rule params
func (*ModifyRuleParams) WithBody ¶
func (o *ModifyRuleParams) WithBody(body *models.UpdateRule) *ModifyRuleParams
WithBody adds the body to the modify rule params
func (*ModifyRuleParams) WithContext ¶
func (o *ModifyRuleParams) WithContext(ctx context.Context) *ModifyRuleParams
WithContext adds the context to the modify rule params
func (*ModifyRuleParams) WithHTTPClient ¶
func (o *ModifyRuleParams) WithHTTPClient(client *http.Client) *ModifyRuleParams
WithHTTPClient adds the HTTPClient to the modify rule params
func (*ModifyRuleParams) WithTimeout ¶
func (o *ModifyRuleParams) WithTimeout(timeout time.Duration) *ModifyRuleParams
WithTimeout adds the timeout to the modify rule params
func (*ModifyRuleParams) WriteToRequest ¶
func (o *ModifyRuleParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type ModifyRuleReader ¶
type ModifyRuleReader struct {
// contains filtered or unexported fields
}
ModifyRuleReader is a Reader for the ModifyRule structure.
func (*ModifyRuleReader) ReadResponse ¶
func (o *ModifyRuleReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type SuppressBadRequest ¶
SuppressBadRequest handles this case with default header values.
Bad request
func NewSuppressBadRequest ¶
func NewSuppressBadRequest() *SuppressBadRequest
NewSuppressBadRequest creates a SuppressBadRequest with default headers values
func (*SuppressBadRequest) Error ¶
func (o *SuppressBadRequest) Error() string
func (*SuppressBadRequest) GetPayload ¶
func (o *SuppressBadRequest) GetPayload() *models.Error
type SuppressInternalServerError ¶
type SuppressInternalServerError struct { }
SuppressInternalServerError handles this case with default header values.
Internal server error
func NewSuppressInternalServerError ¶
func NewSuppressInternalServerError() *SuppressInternalServerError
NewSuppressInternalServerError creates a SuppressInternalServerError with default headers values
func (*SuppressInternalServerError) Error ¶
func (o *SuppressInternalServerError) Error() string
type SuppressOK ¶
type SuppressOK struct { }
SuppressOK handles this case with default header values.
OK
func NewSuppressOK ¶
func NewSuppressOK() *SuppressOK
NewSuppressOK creates a SuppressOK with default headers values
func (*SuppressOK) Error ¶
func (o *SuppressOK) Error() string
type SuppressParams ¶
type SuppressParams struct { /*Body*/ Body *models.Suppress Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
SuppressParams contains all the parameters to send to the API endpoint for the suppress operation typically these are written to a http.Request
func NewSuppressParams ¶
func NewSuppressParams() *SuppressParams
NewSuppressParams creates a new SuppressParams object with the default values initialized.
func NewSuppressParamsWithContext ¶
func NewSuppressParamsWithContext(ctx context.Context) *SuppressParams
NewSuppressParamsWithContext creates a new SuppressParams object with the default values initialized, and the ability to set a context for a request
func NewSuppressParamsWithHTTPClient ¶
func NewSuppressParamsWithHTTPClient(client *http.Client) *SuppressParams
NewSuppressParamsWithHTTPClient creates a new SuppressParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewSuppressParamsWithTimeout ¶
func NewSuppressParamsWithTimeout(timeout time.Duration) *SuppressParams
NewSuppressParamsWithTimeout creates a new SuppressParams object with the default values initialized, and the ability to set a timeout on a request
func (*SuppressParams) SetBody ¶
func (o *SuppressParams) SetBody(body *models.Suppress)
SetBody adds the body to the suppress params
func (*SuppressParams) SetContext ¶
func (o *SuppressParams) SetContext(ctx context.Context)
SetContext adds the context to the suppress params
func (*SuppressParams) SetHTTPClient ¶
func (o *SuppressParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the suppress params
func (*SuppressParams) SetTimeout ¶
func (o *SuppressParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the suppress params
func (*SuppressParams) WithBody ¶
func (o *SuppressParams) WithBody(body *models.Suppress) *SuppressParams
WithBody adds the body to the suppress params
func (*SuppressParams) WithContext ¶
func (o *SuppressParams) WithContext(ctx context.Context) *SuppressParams
WithContext adds the context to the suppress params
func (*SuppressParams) WithHTTPClient ¶
func (o *SuppressParams) WithHTTPClient(client *http.Client) *SuppressParams
WithHTTPClient adds the HTTPClient to the suppress params
func (*SuppressParams) WithTimeout ¶
func (o *SuppressParams) WithTimeout(timeout time.Duration) *SuppressParams
WithTimeout adds the timeout to the suppress params
func (*SuppressParams) WriteToRequest ¶
func (o *SuppressParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type SuppressReader ¶
type SuppressReader struct {
// contains filtered or unexported fields
}
SuppressReader is a Reader for the Suppress structure.
func (*SuppressReader) ReadResponse ¶
func (o *SuppressReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type TestPolicyBadRequest ¶
TestPolicyBadRequest handles this case with default header values.
Bad request
func NewTestPolicyBadRequest ¶
func NewTestPolicyBadRequest() *TestPolicyBadRequest
NewTestPolicyBadRequest creates a TestPolicyBadRequest with default headers values
func (*TestPolicyBadRequest) Error ¶
func (o *TestPolicyBadRequest) Error() string
func (*TestPolicyBadRequest) GetPayload ¶
func (o *TestPolicyBadRequest) GetPayload() *models.Error
type TestPolicyInternalServerError ¶
type TestPolicyInternalServerError struct { }
TestPolicyInternalServerError handles this case with default header values.
Internal server error
func NewTestPolicyInternalServerError ¶
func NewTestPolicyInternalServerError() *TestPolicyInternalServerError
NewTestPolicyInternalServerError creates a TestPolicyInternalServerError with default headers values
func (*TestPolicyInternalServerError) Error ¶
func (o *TestPolicyInternalServerError) Error() string
type TestPolicyOK ¶
type TestPolicyOK struct {
Payload *models.TestPolicyResult
}
TestPolicyOK handles this case with default header values.
OK
func NewTestPolicyOK ¶
func NewTestPolicyOK() *TestPolicyOK
NewTestPolicyOK creates a TestPolicyOK with default headers values
func (*TestPolicyOK) Error ¶
func (o *TestPolicyOK) Error() string
func (*TestPolicyOK) GetPayload ¶
func (o *TestPolicyOK) GetPayload() *models.TestPolicyResult
type TestPolicyParams ¶
type TestPolicyParams struct { /*Body*/ Body *models.TestPolicy Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
TestPolicyParams contains all the parameters to send to the API endpoint for the test policy operation typically these are written to a http.Request
func NewTestPolicyParams ¶
func NewTestPolicyParams() *TestPolicyParams
NewTestPolicyParams creates a new TestPolicyParams object with the default values initialized.
func NewTestPolicyParamsWithContext ¶
func NewTestPolicyParamsWithContext(ctx context.Context) *TestPolicyParams
NewTestPolicyParamsWithContext creates a new TestPolicyParams object with the default values initialized, and the ability to set a context for a request
func NewTestPolicyParamsWithHTTPClient ¶
func NewTestPolicyParamsWithHTTPClient(client *http.Client) *TestPolicyParams
NewTestPolicyParamsWithHTTPClient creates a new TestPolicyParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewTestPolicyParamsWithTimeout ¶
func NewTestPolicyParamsWithTimeout(timeout time.Duration) *TestPolicyParams
NewTestPolicyParamsWithTimeout creates a new TestPolicyParams object with the default values initialized, and the ability to set a timeout on a request
func (*TestPolicyParams) SetBody ¶
func (o *TestPolicyParams) SetBody(body *models.TestPolicy)
SetBody adds the body to the test policy params
func (*TestPolicyParams) SetContext ¶
func (o *TestPolicyParams) SetContext(ctx context.Context)
SetContext adds the context to the test policy params
func (*TestPolicyParams) SetHTTPClient ¶
func (o *TestPolicyParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the test policy params
func (*TestPolicyParams) SetTimeout ¶
func (o *TestPolicyParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the test policy params
func (*TestPolicyParams) WithBody ¶
func (o *TestPolicyParams) WithBody(body *models.TestPolicy) *TestPolicyParams
WithBody adds the body to the test policy params
func (*TestPolicyParams) WithContext ¶
func (o *TestPolicyParams) WithContext(ctx context.Context) *TestPolicyParams
WithContext adds the context to the test policy params
func (*TestPolicyParams) WithHTTPClient ¶
func (o *TestPolicyParams) WithHTTPClient(client *http.Client) *TestPolicyParams
WithHTTPClient adds the HTTPClient to the test policy params
func (*TestPolicyParams) WithTimeout ¶
func (o *TestPolicyParams) WithTimeout(timeout time.Duration) *TestPolicyParams
WithTimeout adds the timeout to the test policy params
func (*TestPolicyParams) WriteToRequest ¶
func (o *TestPolicyParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type TestPolicyReader ¶
type TestPolicyReader struct {
// contains filtered or unexported fields
}
TestPolicyReader is a Reader for the TestPolicy structure.
func (*TestPolicyReader) ReadResponse ¶
func (o *TestPolicyReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type TestRuleBadRequest ¶ added in v1.12.0
TestRuleBadRequest handles this case with default header values.
Bad request
func NewTestRuleBadRequest ¶ added in v1.12.0
func NewTestRuleBadRequest() *TestRuleBadRequest
NewTestRuleBadRequest creates a TestRuleBadRequest with default headers values
func (*TestRuleBadRequest) Error ¶ added in v1.12.0
func (o *TestRuleBadRequest) Error() string
func (*TestRuleBadRequest) GetPayload ¶ added in v1.12.0
func (o *TestRuleBadRequest) GetPayload() *models.Error
type TestRuleInternalServerError ¶ added in v1.12.0
type TestRuleInternalServerError struct { }
TestRuleInternalServerError handles this case with default header values.
Internal server error
func NewTestRuleInternalServerError ¶ added in v1.12.0
func NewTestRuleInternalServerError() *TestRuleInternalServerError
NewTestRuleInternalServerError creates a TestRuleInternalServerError with default headers values
func (*TestRuleInternalServerError) Error ¶ added in v1.12.0
func (o *TestRuleInternalServerError) Error() string
type TestRuleOK ¶ added in v1.12.0
type TestRuleOK struct {
Payload *models.TestRuleResult
}
TestRuleOK handles this case with default header values.
OK
func NewTestRuleOK ¶ added in v1.12.0
func NewTestRuleOK() *TestRuleOK
NewTestRuleOK creates a TestRuleOK with default headers values
func (*TestRuleOK) Error ¶ added in v1.12.0
func (o *TestRuleOK) Error() string
func (*TestRuleOK) GetPayload ¶ added in v1.12.0
func (o *TestRuleOK) GetPayload() *models.TestRuleResult
type TestRuleParams ¶ added in v1.12.0
type TestRuleParams struct { /*Body*/ Body *models.TestPolicy Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
TestRuleParams contains all the parameters to send to the API endpoint for the test rule operation typically these are written to a http.Request
func NewTestRuleParams ¶ added in v1.12.0
func NewTestRuleParams() *TestRuleParams
NewTestRuleParams creates a new TestRuleParams object with the default values initialized.
func NewTestRuleParamsWithContext ¶ added in v1.12.0
func NewTestRuleParamsWithContext(ctx context.Context) *TestRuleParams
NewTestRuleParamsWithContext creates a new TestRuleParams object with the default values initialized, and the ability to set a context for a request
func NewTestRuleParamsWithHTTPClient ¶ added in v1.12.0
func NewTestRuleParamsWithHTTPClient(client *http.Client) *TestRuleParams
NewTestRuleParamsWithHTTPClient creates a new TestRuleParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewTestRuleParamsWithTimeout ¶ added in v1.12.0
func NewTestRuleParamsWithTimeout(timeout time.Duration) *TestRuleParams
NewTestRuleParamsWithTimeout creates a new TestRuleParams object with the default values initialized, and the ability to set a timeout on a request
func (*TestRuleParams) SetBody ¶ added in v1.12.0
func (o *TestRuleParams) SetBody(body *models.TestPolicy)
SetBody adds the body to the test rule params
func (*TestRuleParams) SetContext ¶ added in v1.12.0
func (o *TestRuleParams) SetContext(ctx context.Context)
SetContext adds the context to the test rule params
func (*TestRuleParams) SetHTTPClient ¶ added in v1.12.0
func (o *TestRuleParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the test rule params
func (*TestRuleParams) SetTimeout ¶ added in v1.12.0
func (o *TestRuleParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the test rule params
func (*TestRuleParams) WithBody ¶ added in v1.12.0
func (o *TestRuleParams) WithBody(body *models.TestPolicy) *TestRuleParams
WithBody adds the body to the test rule params
func (*TestRuleParams) WithContext ¶ added in v1.12.0
func (o *TestRuleParams) WithContext(ctx context.Context) *TestRuleParams
WithContext adds the context to the test rule params
func (*TestRuleParams) WithHTTPClient ¶ added in v1.12.0
func (o *TestRuleParams) WithHTTPClient(client *http.Client) *TestRuleParams
WithHTTPClient adds the HTTPClient to the test rule params
func (*TestRuleParams) WithTimeout ¶ added in v1.12.0
func (o *TestRuleParams) WithTimeout(timeout time.Duration) *TestRuleParams
WithTimeout adds the timeout to the test rule params
func (*TestRuleParams) WriteToRequest ¶ added in v1.12.0
func (o *TestRuleParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type TestRuleReader ¶ added in v1.12.0
type TestRuleReader struct {
// contains filtered or unexported fields
}
TestRuleReader is a Reader for the TestRule structure.
func (*TestRuleReader) ReadResponse ¶ added in v1.12.0
func (o *TestRuleReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
Source Files ¶
- bulk_upload_parameters.go
- bulk_upload_responses.go
- create_data_model_parameters.go
- create_data_model_responses.go
- create_global_parameters.go
- create_global_responses.go
- create_policy_parameters.go
- create_policy_responses.go
- create_rule_parameters.go
- create_rule_responses.go
- delete_data_model_parameters.go
- delete_data_model_responses.go
- delete_globals_parameters.go
- delete_globals_responses.go
- delete_policies_parameters.go
- delete_policies_responses.go
- get_data_model_parameters.go
- get_data_model_responses.go
- get_enabled_policies_parameters.go
- get_enabled_policies_responses.go
- get_global_parameters.go
- get_global_responses.go
- get_policy_parameters.go
- get_policy_responses.go
- get_rule_parameters.go
- get_rule_responses.go
- list_data_models_parameters.go
- list_data_models_responses.go
- list_globals_parameters.go
- list_globals_responses.go
- list_policies_parameters.go
- list_policies_responses.go
- list_rules_parameters.go
- list_rules_responses.go
- modify_data_model_parameters.go
- modify_data_model_responses.go
- modify_global_parameters.go
- modify_global_responses.go
- modify_policy_parameters.go
- modify_policy_responses.go
- modify_rule_parameters.go
- modify_rule_responses.go
- operations_client.go
- suppress_parameters.go
- suppress_responses.go
- test_policy_parameters.go
- test_policy_responses.go
- test_rule_parameters.go
- test_rule_responses.go