blob: 38e16f8a622be4d625458fe837f8c0e96e32c5ce [file] [log] [blame] [edit]
// Code generated by cdpgen. DO NOT EDIT.
package security
// SetIgnoreCertificateErrorsArgs represents the arguments for SetIgnoreCertificateErrors in the Security domain.
type SetIgnoreCertificateErrorsArgs struct {
Ignore bool `json:"ignore"` // If true, all certificate errors will be ignored.
}
// NewSetIgnoreCertificateErrorsArgs initializes SetIgnoreCertificateErrorsArgs with the required arguments.
func NewSetIgnoreCertificateErrorsArgs(ignore bool) *SetIgnoreCertificateErrorsArgs {
args := new(SetIgnoreCertificateErrorsArgs)
args.Ignore = ignore
return args
}
// HandleCertificateErrorArgs represents the arguments for HandleCertificateError in the Security domain.
type HandleCertificateErrorArgs struct {
EventID int `json:"eventId"` // The ID of the event.
Action CertificateErrorAction `json:"action"` // The action to take on the certificate error.
}
// NewHandleCertificateErrorArgs initializes HandleCertificateErrorArgs with the required arguments.
func NewHandleCertificateErrorArgs(eventID int, action CertificateErrorAction) *HandleCertificateErrorArgs {
args := new(HandleCertificateErrorArgs)
args.EventID = eventID
args.Action = action
return args
}
// SetOverrideCertificateErrorsArgs represents the arguments for SetOverrideCertificateErrors in the Security domain.
type SetOverrideCertificateErrorsArgs struct {
Override bool `json:"override"` // If true, certificate errors will be overridden.
}
// NewSetOverrideCertificateErrorsArgs initializes SetOverrideCertificateErrorsArgs with the required arguments.
func NewSetOverrideCertificateErrorsArgs(override bool) *SetOverrideCertificateErrorsArgs {
args := new(SetOverrideCertificateErrorsArgs)
args.Override = override
return args
}