2.3 KiB
SecuritySubmitReq
Properties
| Name | Type | Description | Notes |
|---|---|---|---|
| Files | []SecurityScan | Files is the batch to scan, at most 500 files and 8 MiB of content in total. | |
| Project | Pointer to string | Project names the sub-scope the scan is filed under. It must be a slug; omit it and the caller's project header is used instead. | [optional] |
Methods
NewSecuritySubmitReq
func NewSecuritySubmitReq(files []SecurityScan, ) *SecuritySubmitReq
NewSecuritySubmitReq instantiates a new SecuritySubmitReq object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
NewSecuritySubmitReqWithDefaults
func NewSecuritySubmitReqWithDefaults() *SecuritySubmitReq
NewSecuritySubmitReqWithDefaults instantiates a new SecuritySubmitReq object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
GetFiles
func (o *SecuritySubmitReq) GetFiles() []SecurityScan
GetFiles returns the Files field if non-nil, zero value otherwise.
GetFilesOk
func (o *SecuritySubmitReq) GetFilesOk() (*[]SecurityScan, bool)
GetFilesOk returns a tuple with the Files field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
SetFiles
func (o *SecuritySubmitReq) SetFiles(v []SecurityScan)
SetFiles sets Files field to given value.
GetProject
func (o *SecuritySubmitReq) GetProject() string
GetProject returns the Project field if non-nil, zero value otherwise.
GetProjectOk
func (o *SecuritySubmitReq) GetProjectOk() (*string, bool)
GetProjectOk returns a tuple with the Project field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
SetProject
func (o *SecuritySubmitReq) SetProject(v string)
SetProject sets Project field to given value.
HasProject
func (o *SecuritySubmitReq) HasProject() bool
HasProject returns a boolean if a field has been set.