asm

package module
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Oct 30, 2025 License: MIT Imports: 21 Imported by: 0

README

Hexiosec ASM Go Client

Overview

This API client was generated by the OpenAPI Generator project. By using the OpenAPI spec from a remote server, you can easily generate an API client.

  • API version: 1.0.0
  • Package version: 1.0.0
  • Generator version: 7.14.0

For more information, please visit https://hexiosec.com/contact/

This API reference documents how to programmatically access Hexiosec ASM data, for automation and data extraction purposes.

The Hexiosec ASM API is organised around REST. Our API has resource-oriented URLs which accept query string parameters, and return JSON-encoded responses. We use standard HTTP response codes and verbs, and authentication is provided via a custom header.

This API supports a subset of the functionality available in Hexiosec ASM.

To download a copy of this documentation, please visit https://asm.hexiosec.com/api/openapi.yml.

API access

Any user can create API keys to use as a credential to access the Hexiosec ASM API. Management of organisations and resources within those organisations is restricted to certain pricing plans. For more information on the features included with your subscription please see the Hexiosec ASM Pricing

API access for an organisation can be checked using GET /v1/orgs/{id}

Versioning

API endpoints are versioned according to their path prefix, which at present is /api/v1. Breaking changes will be released under an incremented prefix, whereas minor changes will be incorporated into the existing endpoints as necessary.

Pagination

Endpoints that support pagination do so via limit and offset. The last set of results in a paginated set is the first response for which the number of received entries is less than the requested limit.

Expanding Responses

Many objects allow you to request additional information as an expanded response by using the expand request parameter. This parameter only available on certain requests, and is shown in the list of query parameters for the API endpoint.

The list of expandable items is shown in the expand parameter specification, and will usually return summary information for the linked resource. Summary entry specifications are shown in the specification of the endpoint response as an optional field. If not requested, this optional field will either be null or omitted from the response.

Installation

go get github.com/hexiosec/asm-sdk-go

Import in your code:

import asm "github.com/hexiosec/asm-sdk-go"

Authentication

Authentication schemes defined for the API:

APIKey
  • Type: API key
  • API key parameter name: X-Hexiosec-API-Key
  • Location: HTTP header

Set the API key on the configuration.

Example

cfg := asm.NewConfiguration()
cfg.APIKey = "API_TOKEN_STRING"

client := asm.NewAPIClient(cfg)
r, err := client.Service.Operation(context.Background())

Quickstart

package main

import (
	"context"
	"fmt"
	"log"

	asm "github.com/hexiosec/asm-sdk-go"
)

func main() {
	cfg := asm.NewConfiguration()
	cfg.APIKey = "YOUR_API_KEY"       // X-Hexiosec-API-Key

	client := asm.NewAPIClient(cfg)

	// Example: call an endpoint (replace with a real one from docs)
	resp, _, err := client.ReportsAPI.GetReportsForOrg(context.Background(), "ORG_ID").Execute()
	if err != nil {
		log.Fatal(err)
	}
	fmt.Println(len(resp))
}

Documentation for API Endpoints

All URIs are relative to https://asm.hexiosec.com/api

Class Method HTTP request Description
ActionsAPI GetActionByID Get /v1/actions/{id} Get an action by ID
ActionsAPI GetActions Get /v1/actions Get the actions for a specified scan or scan group
ActionsAPI GetRisksByActionID Get /v1/actions/{id}/risks Get the open risks associated with an action. Actions that are resolved will not return any risks.
AuthAPI GetState Get /auth Get the auth state and associated user for the request
GraphAPI UpdateNodeById Patch /v1/graph/nodes/{id} Update a node by ID
OrganisationsAPI DeleteOrganisationAsset Delete /v1/orgs/{id}/asset/{key} Delete an organisation asset
OrganisationsAPI GetOrganisationAsset Get /v1/orgs/{id}/asset/{key} Get an organisation asset by key
OrganisationsAPI GetOrganisationByID Get /v1/orgs/{id} Get an organisation by ID
OrganisationsAPI GetOrganisations Get /v1/orgs Get the organisations for which the current user is a member
ReportsAPI CreateReport Post /v1/reports Create a report
ReportsAPI DeleteReport Delete /v1/reports/{id} Delete a report
ReportsAPI GetReport Get /v1/reports/{id} Get a report
ReportsAPI GetReportCountForOrg Get /v1/reports/organisation/{org_id}/count Get report count for an organisation
ReportsAPI GetReportCountForScan Get /v1/reports/scan/{scan_id}/count Get report count for a scan
ReportsAPI GetReportTemplatesForOrg Get /v1/reports/templates/organisation/{org_id} Get report templates for an organisation
ReportsAPI GetReportsForOrg Get /v1/reports/organisation/{org_id} Get reports for an organisation
ReportsAPI GetReportsForScan Get /v1/reports/scan/{scan_id} Get reports for a scan
ScanDataAPI GetScanDataComponents Get /v1/scan_data/{scan_id}/components Get components by Scan ID
ScanDataAPI GetScanDataComponentsCount Get /v1/scan_data/{scan_id}/components/count Get count of components by Scan ID
ScanDataAPI GetScanDataDomains Get /v1/scan_data/{scan_id}/domains Get primary domains by Scan ID
ScanDataAPI GetScanDataDomainsCount Get /v1/scan_data/{scan_id}/domains/count Get count of primary domains by Scan ID
ScanDataAPI GetScanDataIPs Get /v1/scan_data/{scan_id}/ips Get primary IPs by Scan ID
ScanDataAPI GetScanDataIPsCount Get /v1/scan_data/{scan_id}/ips/count Get count of primary IPs by Scan ID
ScanDataAPI GetScanDataLinkChanges Get /v1/scan_data/{scan_id}/link_changes Get link changes by Scan ID and iteration(s)
ScanDataAPI GetScanDataOutOfScopeDomains Get /v1/scan_data/{scan_id}/out_of_scope_domains Get out-of-scope domains by Scan ID
ScanDataAPI GetScanDataOutOfScopeDomainsCount Get /v1/scan_data/{scan_id}/out_of_scope_domains/count Get count of out-of-scope domains by Scan ID
ScanDataAPI GetScanDataRisks Get /v1/scan_data/{scan_id}/risks Get risks by Scan ID
ScanDataAPI GetScanDataRisksCount Get /v1/scan_data/{scan_id}/risks/count Get count of risks by Scan ID
ScanDataAPI GetScanDataSecondaryDomains Get /v1/scan_data/{scan_id}/secondary_domains Get secondary domains by Scan ID
ScanDataAPI GetScanDataSecondaryDomainsCount Get /v1/scan_data/{scan_id}/secondary_domains/count Get count of secondary domains by Scan ID
ScanDataAPI GetScanDataServices Get /v1/scan_data/{scan_id}/services Get services by Scan ID
ScanDataAPI GetScanDataServicesCount Get /v1/scan_data/{scan_id}/services/count Get count of services by Scan ID
ScanDataAPI GetScanDataWebPresence Get /v1/scan_data/{scan_id}/web_presence Get primary web presence URLs by Scan ID
ScanDataAPI GetScanDataWebPresenceCount Get /v1/scan_data/{scan_id}/web_presence/count Get count of primary web presence URLs by Scan ID
ScanGroupsAPI CreateScanGroup Post /v1/scan_groups Create a new scan group
ScanGroupsAPI DeleteScanGroupByID Delete /v1/scan_groups/{id} Delete a scan group by ID
ScanGroupsAPI GetScanGroupByID Get /v1/scan_groups/{id} Get a scan group by ID
ScanGroupsAPI GetScanGroups Get /v1/scan_groups Get the Scan Groups for a specified organisation
ScanGroupsAPI UpdateScanGroupByID Patch /v1/scan_groups/{id} Update a scan group by ID
ScansAPI AddScanSeedById Post /v1/scans/{id}/seeds Add a seed to a scan by ID
ScansAPI CreateScan Post /v1/scans Create a scan
ScansAPI DeleteScanById Delete /v1/scans/{id} Delete a scan by ID
ScansAPI GetScanByID Get /v1/scans/{id} Get a scan by ID
ScansAPI GetScanIterationProgress Get /v1/scans/{scan_id}/iterations/{iteration_id}/progress Get the progress for the provided iteration
ScansAPI GetScanIterationsById Get /v1/scans/{id}/iterations Get the Iterations for a specified scan
ScansAPI GetScanLinkTags Get /v1/scans/{id}/link_tags Get link tags for a scan
ScansAPI GetScanSeedsById Get /v1/scans/{id}/seeds Get the seeds for a scan by ID
ScansAPI GetScans Get /v1/scans Get the Scans for a specified scan group
ScansAPI GetScansCount Get /v1/scans/count Get the count of Scans for a specified scan group according to the filter settings
ScansAPI GetScreenshotById Get /v1/scans/{scan_id}/screenshots/{id} Get a web presence screenshot by ID
ScansAPI RemoveScanSeedById Delete /v1/scans/{id}/seeds/{seed_id} Remove a seed from a scan by ID
ScansAPI RemoveSeedTag Delete /v1/scans/{id}/seeds/{seed_id}/tags/{tag_name} Remove a tag from a seed
ScansAPI TriggerRescanByScanId Post /v1/scans/{id}/rescan Trigger rescan by scan ID
ScansAPI UpdateNodeInScanById Patch /v1/scans/{id}/nodes/{node_id} Update a node by ID
ScansAPI UpdateScanById Patch /v1/scans/{id} Update a scan by ID
UsersAPI GetUsers Get /v1/users Get the users in an organisation or scan group
UsersAPI UpdateUserPreferences Patch /users/preferences Update preferences for the user logged in to the current session
UsersAPI UsersApiKeyPost Post /users/api_key Create an API key for the user logged in to the current session

Documentation For Models

Documentation for Utility Methods

Due to the fact that model structure members are all pointers, this package contains a number of utility functions to easily obtain pointers to values of basic types. Each of these functions takes a value of the given basic type and returns a pointer to it:

  • PtrBool
  • PtrInt
  • PtrInt32
  • PtrInt64
  • PtrFloat
  • PtrFloat32
  • PtrFloat64
  • PtrString
  • PtrTime

Author

[email protected]

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	JsonCheck = regexp.MustCompile(`(?i:(?:application|text)/(?:[^;]+\+)?json)`)
	XmlCheck  = regexp.MustCompile(`(?i:(?:application|text)/(?:[^;]+\+)?xml)`)
)
View Source
var (
	// ContextAPIKeys takes a string apikey as authentication for the request
	ContextAPIKeys = contextKey("apiKeys")

	// ContextServerIndex uses a server configuration from the index.
	ContextServerIndex = contextKey("serverIndex")

	// ContextOperationServerIndices uses a server configuration from the index mapping.
	ContextOperationServerIndices = contextKey("serverOperationIndices")

	// ContextServerVariables overrides a server configuration variables.
	ContextServerVariables = contextKey("serverVariables")

	// ContextOperationServerVariables overrides a server configuration variables using operation specific values.
	ContextOperationServerVariables = contextKey("serverOperationVariables")
)
View Source
var AllowedReportStateEnumValues = []ReportState{
	"pending",
	"in_progress",
	"done",
	"failed",
}

All allowed values of ReportState enum

View Source
var AllowedReportTemplateStateEnumValues = []ReportTemplateState{
	"pending",
	"in_progress",
	"done",
	"failed",
}

All allowed values of ReportTemplateState enum

View Source
var AllowedReportTypeEnumValues = []ReportType{
	"summary",
	"excel_summary",
}

All allowed values of ReportType enum

View Source
var AllowedScanTypeEnumValues = []ScanType{
	"adhoc",
	"continuous_own",
	"continuous_vendor",
}

All allowed values of ScanType enum

Functions

func CacheExpires

func CacheExpires(r *http.Response) time.Time

CacheExpires helper function to determine remaining time before repeating a request.

func IsNil

func IsNil(i interface{}) bool

IsNil checks if an input is nil

func PtrBool

func PtrBool(v bool) *bool

PtrBool is a helper routine that returns a pointer to given boolean value.

func PtrFloat32

func PtrFloat32(v float32) *float32

PtrFloat32 is a helper routine that returns a pointer to given float value.

func PtrFloat64

func PtrFloat64(v float64) *float64

PtrFloat64 is a helper routine that returns a pointer to given float value.

func PtrInt

func PtrInt(v int) *int

PtrInt is a helper routine that returns a pointer to given integer value.

func PtrInt32

func PtrInt32(v int32) *int32

PtrInt32 is a helper routine that returns a pointer to given integer value.

func PtrInt64

func PtrInt64(v int64) *int64

PtrInt64 is a helper routine that returns a pointer to given integer value.

func PtrString

func PtrString(v string) *string

PtrString is a helper routine that returns a pointer to given string value.

func PtrTime

func PtrTime(v time.Time) *time.Time

PtrTime is helper routine that returns a pointer to given Time value.

Types

type APIClient

type APIClient struct {
	ActionsAPI *ActionsAPIService

	AuthAPI *AuthAPIService

	GraphAPI *GraphAPIService

	OrganisationsAPI *OrganisationsAPIService

	ReportsAPI *ReportsAPIService

	ScanDataAPI *ScanDataAPIService

	ScanGroupsAPI *ScanGroupsAPIService

	ScansAPI *ScansAPIService

	UsersAPI *UsersAPIService
	// contains filtered or unexported fields
}

APIClient manages communication with the Hexiosec ASM API API v1.0.0 In most cases there should be only one, shared, APIClient.

func NewAPIClient

func NewAPIClient(cfg *Configuration) *APIClient

NewAPIClient creates a new API client. Requires a userAgent string describing your application. optionally a custom http.Client to allow for advanced features such as caching.

func (*APIClient) GetConfig

func (c *APIClient) GetConfig() *Configuration

Allow modification of underlying config for alternate implementations and testing Caution: modifying the configuration while live can cause data races and potentially unwanted behavior

type APIKey

type APIKey struct {
	Key    string
	Prefix string
}

APIKey provides API key based authentication to a request passed via context using ContextAPIKey

type APIResponse

type APIResponse struct {
	*http.Response `json:"-"`
	Message        string `json:"message,omitempty"`
	// Operation is the name of the OpenAPI operation.
	Operation string `json:"operation,omitempty"`
	// RequestURL is the request URL. This value is always available, even if the
	// embedded *http.Response is nil.
	RequestURL string `json:"url,omitempty"`
	// Method is the HTTP method used for the request.  This value is always
	// available, even if the embedded *http.Response is nil.
	Method string `json:"method,omitempty"`
	// Payload holds the contents of the response body (which may be nil or empty).
	// This is provided here as the raw response.Body() reader will have already
	// been drained.
	Payload []byte `json:"-"`
}

APIResponse stores the API response returned by the server.

func NewAPIResponse

func NewAPIResponse(r *http.Response) *APIResponse

NewAPIResponse returns a new APIResponse object.

func NewAPIResponseWithError

func NewAPIResponseWithError(errorMessage string) *APIResponse

NewAPIResponseWithError returns a new APIResponse object with the provided error message.

type ActionLinkResponse

type ActionLinkResponse struct {
	LinkFrom             map[string]interface{} `json:"link_from,omitempty"`
	LinkTo               map[string]interface{} `json:"link_to,omitempty"`
	AdditionalProperties map[string]interface{}
}

ActionLinkResponse struct for ActionLinkResponse

func NewActionLinkResponse

func NewActionLinkResponse() *ActionLinkResponse

NewActionLinkResponse instantiates a new ActionLinkResponse 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

func NewActionLinkResponseWithDefaults

func NewActionLinkResponseWithDefaults() *ActionLinkResponse

NewActionLinkResponseWithDefaults instantiates a new ActionLinkResponse 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

func (*ActionLinkResponse) GetLinkFrom

func (o *ActionLinkResponse) GetLinkFrom() map[string]interface{}

GetLinkFrom returns the LinkFrom field value if set, zero value otherwise.

func (*ActionLinkResponse) GetLinkFromOk

func (o *ActionLinkResponse) GetLinkFromOk() (map[string]interface{}, bool)

GetLinkFromOk returns a tuple with the LinkFrom field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ActionLinkResponse) GetLinkTo

func (o *ActionLinkResponse) GetLinkTo() map[string]interface{}

GetLinkTo returns the LinkTo field value if set, zero value otherwise.

func (*ActionLinkResponse) GetLinkToOk

func (o *ActionLinkResponse) GetLinkToOk() (map[string]interface{}, bool)

GetLinkToOk returns a tuple with the LinkTo field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ActionLinkResponse) HasLinkFrom

func (o *ActionLinkResponse) HasLinkFrom() bool

HasLinkFrom returns a boolean if a field has been set.

func (*ActionLinkResponse) HasLinkTo

func (o *ActionLinkResponse) HasLinkTo() bool

HasLinkTo returns a boolean if a field has been set.

func (ActionLinkResponse) MarshalJSON

func (o ActionLinkResponse) MarshalJSON() ([]byte, error)

func (*ActionLinkResponse) SetLinkFrom

func (o *ActionLinkResponse) SetLinkFrom(v map[string]interface{})

SetLinkFrom gets a reference to the given map[string]interface{} and assigns it to the LinkFrom field.

func (*ActionLinkResponse) SetLinkTo

func (o *ActionLinkResponse) SetLinkTo(v map[string]interface{})

SetLinkTo gets a reference to the given map[string]interface{} and assigns it to the LinkTo field.

func (ActionLinkResponse) ToMap

func (o ActionLinkResponse) ToMap() (map[string]interface{}, error)

func (*ActionLinkResponse) UnmarshalJSON

func (o *ActionLinkResponse) UnmarshalJSON(data []byte) (err error)

type ActionResponse

type ActionResponse struct {
	// Action ID
	Id string `json:"id"`
	// ID of the node against which this action is registered. Has been replaced with the asset_id param
	// Deprecated
	NodeId string `json:"node_id"`
	// Scan ID
	ScanId string `json:"scan_id"`
	// ID of the node against which this action is registered
	AssetId *string `json:"asset_id,omitempty"`
	// Label of the node against which this action is registered
	AssetType *string `json:"asset_type,omitempty"`
	// Name of the node against which this action is registered
	AssetName *string `json:"asset_name,omitempty"`
	// Name of the rule that has caused this action
	Rule string `json:"rule"`
	// Management state of the action
	State string `json:"state"`
	// Description in lang
	Name *string `json:"name,omitempty"`
	// Description in lang
	Description *string `json:"description,omitempty"`
	// Remediation in lang
	Remediation *string `json:"remediation,omitempty"`
	// User-supplied notes about this action
	Note *string `json:"note,omitempty"`
	// Timestamp at which the entry was created
	Created time.Time `json:"created"`
	// Timestamp at which the entry was updated
	Modified *time.Time `json:"modified,omitempty"`
	// Deprecated – True if this action has been marked as out of scope - Use **is_secondary**
	// Deprecated
	OutOfScope *bool `json:"out_of_scope,omitempty"`
	// True if this action has been marked as secondary
	IsSecondary *bool `json:"is_secondary,omitempty"`
	// Timestamp at which the action was resolved
	ResolvedAt *time.Time `json:"resolved_at,omitempty"`
	// Has been replaced with the get risks endpoint
	Links []ActionLinkResponse `json:"links,omitempty"`
	// Has been replaced with the get risks endpoint
	LinkIds              []string               `json:"link_ids,omitempty"`
	Target               map[string]interface{} `json:"target,omitempty"`
	AssigneeUser         *UserDetailsResponse   `json:"assignee_user,omitempty"`
	ModifiedByUser       *UserDetailsResponse   `json:"modified_by_user,omitempty"`
	NoteModifiedByUser   *UserDetailsResponse   `json:"note_modified_by_user,omitempty"`
	AdditionalProperties map[string]interface{}
}

ActionResponse struct for ActionResponse

func NewActionResponse

func NewActionResponse(id string, nodeId string, scanId string, rule string, state string, created time.Time) *ActionResponse

NewActionResponse instantiates a new ActionResponse 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

func NewActionResponseWithDefaults

func NewActionResponseWithDefaults() *ActionResponse

NewActionResponseWithDefaults instantiates a new ActionResponse 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

func (*ActionResponse) GetAssetId

func (o *ActionResponse) GetAssetId() string

GetAssetId returns the AssetId field value if set, zero value otherwise.

func (*ActionResponse) GetAssetIdOk

func (o *ActionResponse) GetAssetIdOk() (*string, bool)

GetAssetIdOk returns a tuple with the AssetId field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ActionResponse) GetAssetName

func (o *ActionResponse) GetAssetName() string

GetAssetName returns the AssetName field value if set, zero value otherwise.

func (*ActionResponse) GetAssetNameOk

func (o *ActionResponse) GetAssetNameOk() (*string, bool)

GetAssetNameOk returns a tuple with the AssetName field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ActionResponse) GetAssetType

func (o *ActionResponse) GetAssetType() string

GetAssetType returns the AssetType field value if set, zero value otherwise.

func (*ActionResponse) GetAssetTypeOk

func (o *ActionResponse) GetAssetTypeOk() (*string, bool)

GetAssetTypeOk returns a tuple with the AssetType field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ActionResponse) GetAssigneeUser

func (o *ActionResponse) GetAssigneeUser() UserDetailsResponse

GetAssigneeUser returns the AssigneeUser field value if set, zero value otherwise.

func (*ActionResponse) GetAssigneeUserOk

func (o *ActionResponse) GetAssigneeUserOk() (*UserDetailsResponse, bool)

GetAssigneeUserOk returns a tuple with the AssigneeUser field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ActionResponse) GetCreated

func (o *ActionResponse) GetCreated() time.Time

GetCreated returns the Created field value

func (*ActionResponse) GetCreatedOk

func (o *ActionResponse) GetCreatedOk() (*time.Time, bool)

GetCreatedOk returns a tuple with the Created field value and a boolean to check if the value has been set.

func (*ActionResponse) GetDescription

func (o *ActionResponse) GetDescription() string

GetDescription returns the Description field value if set, zero value otherwise.

func (*ActionResponse) GetDescriptionOk

func (o *ActionResponse) GetDescriptionOk() (*string, bool)

GetDescriptionOk returns a tuple with the Description field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ActionResponse) GetId

func (o *ActionResponse) GetId() string

GetId returns the Id field value

func (*ActionResponse) GetIdOk

func (o *ActionResponse) GetIdOk() (*string, bool)

GetIdOk returns a tuple with the Id field value and a boolean to check if the value has been set.

func (*ActionResponse) GetIsSecondary

func (o *ActionResponse) GetIsSecondary() bool

GetIsSecondary returns the IsSecondary field value if set, zero value otherwise.

func (*ActionResponse) GetIsSecondaryOk

func (o *ActionResponse) GetIsSecondaryOk() (*bool, bool)

GetIsSecondaryOk returns a tuple with the IsSecondary field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ActionResponse) GetLinkIds

func (o *ActionResponse) GetLinkIds() []string

GetLinkIds returns the LinkIds field value if set, zero value otherwise.

func (*ActionResponse) GetLinkIdsOk

func (o *ActionResponse) GetLinkIdsOk() ([]string, bool)

GetLinkIdsOk returns a tuple with the LinkIds field value if set, nil otherwise and a boolean to check if the value has been set.

func (o *ActionResponse) GetLinks() []ActionLinkResponse

GetLinks returns the Links field value if set, zero value otherwise.

func (*ActionResponse) GetLinksOk

func (o *ActionResponse) GetLinksOk() ([]ActionLinkResponse, bool)

GetLinksOk returns a tuple with the Links field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ActionResponse) GetModified

func (o *ActionResponse) GetModified() time.Time

GetModified returns the Modified field value if set, zero value otherwise.

func (*ActionResponse) GetModifiedByUser

func (o *ActionResponse) GetModifiedByUser() UserDetailsResponse

GetModifiedByUser returns the ModifiedByUser field value if set, zero value otherwise.

func (*ActionResponse) GetModifiedByUserOk

func (o *ActionResponse) GetModifiedByUserOk() (*UserDetailsResponse, bool)

GetModifiedByUserOk returns a tuple with the ModifiedByUser field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ActionResponse) GetModifiedOk

func (o *ActionResponse) GetModifiedOk() (*time.Time, bool)

GetModifiedOk returns a tuple with the Modified field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ActionResponse) GetName

func (o *ActionResponse) GetName() string

GetName returns the Name field value if set, zero value otherwise.

func (*ActionResponse) GetNameOk

func (o *ActionResponse) GetNameOk() (*string, bool)

GetNameOk returns a tuple with the Name field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ActionResponse) GetNodeId

func (o *ActionResponse) GetNodeId() string

GetNodeId returns the NodeId field value Deprecated

func (*ActionResponse) GetNodeIdOk

func (o *ActionResponse) GetNodeIdOk() (*string, bool)

GetNodeIdOk returns a tuple with the NodeId field value and a boolean to check if the value has been set. Deprecated

func (*ActionResponse) GetNote

func (o *ActionResponse) GetNote() string

GetNote returns the Note field value if set, zero value otherwise.

func (*ActionResponse) GetNoteModifiedByUser

func (o *ActionResponse) GetNoteModifiedByUser() UserDetailsResponse

GetNoteModifiedByUser returns the NoteModifiedByUser field value if set, zero value otherwise.

func (*ActionResponse) GetNoteModifiedByUserOk

func (o *ActionResponse) GetNoteModifiedByUserOk() (*UserDetailsResponse, bool)

GetNoteModifiedByUserOk returns a tuple with the NoteModifiedByUser field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ActionResponse) GetNoteOk

func (o *ActionResponse) GetNoteOk() (*string, bool)

GetNoteOk returns a tuple with the Note field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ActionResponse) GetOutOfScope

func (o *ActionResponse) GetOutOfScope() bool

GetOutOfScope returns the OutOfScope field value if set, zero value otherwise. Deprecated

func (*ActionResponse) GetOutOfScopeOk

func (o *ActionResponse) GetOutOfScopeOk() (*bool, bool)

GetOutOfScopeOk returns a tuple with the OutOfScope field value if set, nil otherwise and a boolean to check if the value has been set. Deprecated

func (*ActionResponse) GetRemediation

func (o *ActionResponse) GetRemediation() string

GetRemediation returns the Remediation field value if set, zero value otherwise.

func (*ActionResponse) GetRemediationOk

func (o *ActionResponse) GetRemediationOk() (*string, bool)

GetRemediationOk returns a tuple with the Remediation field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ActionResponse) GetResolvedAt

func (o *ActionResponse) GetResolvedAt() time.Time

GetResolvedAt returns the ResolvedAt field value if set, zero value otherwise.

func (*ActionResponse) GetResolvedAtOk

func (o *ActionResponse) GetResolvedAtOk() (*time.Time, bool)

GetResolvedAtOk returns a tuple with the ResolvedAt field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ActionResponse) GetRule

func (o *ActionResponse) GetRule() string

GetRule returns the Rule field value

func (*ActionResponse) GetRuleOk

func (o *ActionResponse) GetRuleOk() (*string, bool)

GetRuleOk returns a tuple with the Rule field value and a boolean to check if the value has been set.

func (*ActionResponse) GetScanId

func (o *ActionResponse) GetScanId() string

GetScanId returns the ScanId field value

func (*ActionResponse) GetScanIdOk

func (o *ActionResponse) GetScanIdOk() (*string, bool)

GetScanIdOk returns a tuple with the ScanId field value and a boolean to check if the value has been set.

func (*ActionResponse) GetState

func (o *ActionResponse) GetState() string

GetState returns the State field value

func (*ActionResponse) GetStateOk

func (o *ActionResponse) GetStateOk() (*string, bool)

GetStateOk returns a tuple with the State field value and a boolean to check if the value has been set.

func (*ActionResponse) GetTarget

func (o *ActionResponse) GetTarget() map[string]interface{}

GetTarget returns the Target field value if set, zero value otherwise.

func (*ActionResponse) GetTargetOk

func (o *ActionResponse) GetTargetOk() (map[string]interface{}, bool)

GetTargetOk returns a tuple with the Target field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ActionResponse) HasAssetId

func (o *ActionResponse) HasAssetId() bool

HasAssetId returns a boolean if a field has been set.

func (*ActionResponse) HasAssetName

func (o *ActionResponse) HasAssetName() bool

HasAssetName returns a boolean if a field has been set.

func (*ActionResponse) HasAssetType

func (o *ActionResponse) HasAssetType() bool

HasAssetType returns a boolean if a field has been set.

func (*ActionResponse) HasAssigneeUser

func (o *ActionResponse) HasAssigneeUser() bool

HasAssigneeUser returns a boolean if a field has been set.

func (*ActionResponse) HasDescription

func (o *ActionResponse) HasDescription() bool

HasDescription returns a boolean if a field has been set.

func (*ActionResponse) HasIsSecondary

func (o *ActionResponse) HasIsSecondary() bool

HasIsSecondary returns a boolean if a field has been set.

func (*ActionResponse) HasLinkIds

func (o *ActionResponse) HasLinkIds() bool

HasLinkIds returns a boolean if a field has been set.

func (o *ActionResponse) HasLinks() bool

HasLinks returns a boolean if a field has been set.

func (*ActionResponse) HasModified

func (o *ActionResponse) HasModified() bool

HasModified returns a boolean if a field has been set.

func (*ActionResponse) HasModifiedByUser

func (o *ActionResponse) HasModifiedByUser() bool

HasModifiedByUser returns a boolean if a field has been set.

func (*ActionResponse) HasName

func (o *ActionResponse) HasName() bool

HasName returns a boolean if a field has been set.

func (*ActionResponse) HasNote

func (o *ActionResponse) HasNote() bool

HasNote returns a boolean if a field has been set.

func (*ActionResponse) HasNoteModifiedByUser

func (o *ActionResponse) HasNoteModifiedByUser() bool

HasNoteModifiedByUser returns a boolean if a field has been set.

func (*ActionResponse) HasOutOfScope

func (o *ActionResponse) HasOutOfScope() bool

HasOutOfScope returns a boolean if a field has been set.

func (*ActionResponse) HasRemediation

func (o *ActionResponse) HasRemediation() bool

HasRemediation returns a boolean if a field has been set.

func (*ActionResponse) HasResolvedAt

func (o *ActionResponse) HasResolvedAt() bool

HasResolvedAt returns a boolean if a field has been set.

func (*ActionResponse) HasTarget

func (o *ActionResponse) HasTarget() bool

HasTarget returns a boolean if a field has been set.

func (ActionResponse) MarshalJSON

func (o ActionResponse) MarshalJSON() ([]byte, error)

func (*ActionResponse) SetAssetId

func (o *ActionResponse) SetAssetId(v string)

SetAssetId gets a reference to the given string and assigns it to the AssetId field.

func (*ActionResponse) SetAssetName

func (o *ActionResponse) SetAssetName(v string)

SetAssetName gets a reference to the given string and assigns it to the AssetName field.

func (*ActionResponse) SetAssetType

func (o *ActionResponse) SetAssetType(v string)

SetAssetType gets a reference to the given string and assigns it to the AssetType field.

func (*ActionResponse) SetAssigneeUser

func (o *ActionResponse) SetAssigneeUser(v UserDetailsResponse)

SetAssigneeUser gets a reference to the given UserDetailsResponse and assigns it to the AssigneeUser field.

func (*ActionResponse) SetCreated

func (o *ActionResponse) SetCreated(v time.Time)

SetCreated sets field value

func (*ActionResponse) SetDescription

func (o *ActionResponse) SetDescription(v string)

SetDescription gets a reference to the given string and assigns it to the Description field.

func (*ActionResponse) SetId

func (o *ActionResponse) SetId(v string)

SetId sets field value

func (*ActionResponse) SetIsSecondary

func (o *ActionResponse) SetIsSecondary(v bool)

SetIsSecondary gets a reference to the given bool and assigns it to the IsSecondary field.

func (*ActionResponse) SetLinkIds

func (o *ActionResponse) SetLinkIds(v []string)

SetLinkIds gets a reference to the given []string and assigns it to the LinkIds field.

func (o *ActionResponse) SetLinks(v []ActionLinkResponse)

SetLinks gets a reference to the given []ActionLinkResponse and assigns it to the Links field.

func (*ActionResponse) SetModified

func (o *ActionResponse) SetModified(v time.Time)

SetModified gets a reference to the given time.Time and assigns it to the Modified field.

func (*ActionResponse) SetModifiedByUser

func (o *ActionResponse) SetModifiedByUser(v UserDetailsResponse)

SetModifiedByUser gets a reference to the given UserDetailsResponse and assigns it to the ModifiedByUser field.

func (*ActionResponse) SetName

func (o *ActionResponse) SetName(v string)

SetName gets a reference to the given string and assigns it to the Name field.

func (*ActionResponse) SetNodeId

func (o *ActionResponse) SetNodeId(v string)

SetNodeId sets field value Deprecated

func (*ActionResponse) SetNote

func (o *ActionResponse) SetNote(v string)

SetNote gets a reference to the given string and assigns it to the Note field.

func (*ActionResponse) SetNoteModifiedByUser

func (o *ActionResponse) SetNoteModifiedByUser(v UserDetailsResponse)

SetNoteModifiedByUser gets a reference to the given UserDetailsResponse and assigns it to the NoteModifiedByUser field.

func (*ActionResponse) SetOutOfScope

func (o *ActionResponse) SetOutOfScope(v bool)

SetOutOfScope gets a reference to the given bool and assigns it to the OutOfScope field. Deprecated

func (*ActionResponse) SetRemediation

func (o *ActionResponse) SetRemediation(v string)

SetRemediation gets a reference to the given string and assigns it to the Remediation field.

func (*ActionResponse) SetResolvedAt

func (o *ActionResponse) SetResolvedAt(v time.Time)

SetResolvedAt gets a reference to the given time.Time and assigns it to the ResolvedAt field.

func (*ActionResponse) SetRule

func (o *ActionResponse) SetRule(v string)

SetRule sets field value

func (*ActionResponse) SetScanId

func (o *ActionResponse) SetScanId(v string)

SetScanId sets field value

func (*ActionResponse) SetState

func (o *ActionResponse) SetState(v string)

SetState sets field value

func (*ActionResponse) SetTarget

func (o *ActionResponse) SetTarget(v map[string]interface{})

SetTarget gets a reference to the given map[string]interface{} and assigns it to the Target field.

func (ActionResponse) ToMap

func (o ActionResponse) ToMap() (map[string]interface{}, error)

func (*ActionResponse) UnmarshalJSON

func (o *ActionResponse) UnmarshalJSON(data []byte) (err error)

type ActionsAPIService

type ActionsAPIService service

ActionsAPIService ActionsAPI service

func (*ActionsAPIService) GetActionByID

GetActionByID Get an action by ID

Required role: `scans.tickets:read`

This endpoint requires that the associated organisation has API access enabled. If API access is not allowed, the response code will be 403 (Forbidden).

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param id Action ID
@return ApiGetActionByIDRequest

func (*ActionsAPIService) GetActionByIDExecute

Execute executes the request

@return ActionResponse

func (*ActionsAPIService) GetActions

GetActions Get the actions for a specified scan or scan group

Required role: `scans.tickets:read`

This endpoint requires that the associated organisation has API access enabled. If API access is not allowed, the response code will be 403 (Forbidden).

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return ApiGetActionsRequest

func (*ActionsAPIService) GetActionsExecute

Execute executes the request

@return []ActionResponse

func (*ActionsAPIService) GetRisksByActionID

func (a *ActionsAPIService) GetRisksByActionID(ctx context.Context, id string) ApiGetRisksByActionIDRequest

GetRisksByActionID Get the open risks associated with an action. Actions that are resolved will not return any risks.

Required role: `scans.tickets:read`

This endpoint requires that the associated organisation has API access enabled. If API access is not allowed, the response code will be 403 (Forbidden).

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param id Action ID
@return ApiGetRisksByActionIDRequest

func (*ActionsAPIService) GetRisksByActionIDExecute

Execute executes the request

@return []ScanDataRiskResponse

type ApiAddScanSeedByIdRequest

type ApiAddScanSeedByIdRequest struct {
	ApiService *ScansAPIService
	// contains filtered or unexported fields
}

func (ApiAddScanSeedByIdRequest) CreateScanSeedRequest

func (r ApiAddScanSeedByIdRequest) CreateScanSeedRequest(createScanSeedRequest CreateScanSeedRequest) ApiAddScanSeedByIdRequest

Parameters to create the new seed

func (ApiAddScanSeedByIdRequest) Execute

type ApiCreateReportRequest

type ApiCreateReportRequest struct {
	ApiService *ReportsAPIService
	// contains filtered or unexported fields
}

func (ApiCreateReportRequest) CreateReportRequest

func (r ApiCreateReportRequest) CreateReportRequest(createReportRequest CreateReportRequest) ApiCreateReportRequest

func (ApiCreateReportRequest) Execute

type ApiCreateScanGroupRequest

type ApiCreateScanGroupRequest struct {
	ApiService *ScanGroupsAPIService
	// contains filtered or unexported fields
}

func (ApiCreateScanGroupRequest) Execute

func (ApiCreateScanGroupRequest) ScanGroupCreateRequestBody

func (r ApiCreateScanGroupRequest) ScanGroupCreateRequestBody(scanGroupCreateRequestBody ScanGroupCreateRequestBody) ApiCreateScanGroupRequest

type ApiCreateScanRequest

type ApiCreateScanRequest struct {
	ApiService *ScansAPIService
	// contains filtered or unexported fields
}

func (ApiCreateScanRequest) CreateScanRequest

func (r ApiCreateScanRequest) CreateScanRequest(createScanRequest CreateScanRequest) ApiCreateScanRequest

Parameters to create the new scan

func (ApiCreateScanRequest) Execute

type ApiDeleteOrganisationAssetRequest

type ApiDeleteOrganisationAssetRequest struct {
	ApiService *OrganisationsAPIService
	// contains filtered or unexported fields
}

func (ApiDeleteOrganisationAssetRequest) Execute

type ApiDeleteReportRequest

type ApiDeleteReportRequest struct {
	ApiService *ReportsAPIService
	// contains filtered or unexported fields
}

func (ApiDeleteReportRequest) Execute

func (r ApiDeleteReportRequest) Execute() (*http.Response, error)

type ApiDeleteScanByIdRequest

type ApiDeleteScanByIdRequest struct {
	ApiService *ScansAPIService
	// contains filtered or unexported fields
}

func (ApiDeleteScanByIdRequest) Execute

func (r ApiDeleteScanByIdRequest) Execute() (*http.Response, error)

type ApiDeleteScanGroupByIDRequest

type ApiDeleteScanGroupByIDRequest struct {
	ApiService *ScanGroupsAPIService
	// contains filtered or unexported fields
}

func (ApiDeleteScanGroupByIDRequest) Execute

type ApiGetActionByIDRequest

type ApiGetActionByIDRequest struct {
	ApiService *ActionsAPIService
	// contains filtered or unexported fields
}

func (ApiGetActionByIDRequest) Execute

func (ApiGetActionByIDRequest) Expand

Fields to expand with additional information: * `links` - Expand instances of the risks under this action. DEPRECATED * `link_ids` - Same as `links` except only the IDs are returned. DEPRECATED * `link_from` - Node where the risk was found. DEPRECATED * `link_to` - Node which represents the risk. DEPRECATED * `target` - Node which carries this action. DEPRECATED * `assignee_user` - User to whom this action is assigned * `modified_by` - User to last update this action * `note_modified_by` - User to last update the note against this action

func (ApiGetActionByIDRequest) Lang

Language of text

type ApiGetActionsRequest

type ApiGetActionsRequest struct {
	ApiService *ActionsAPIService
	// contains filtered or unexported fields
}

func (ApiGetActionsRequest) Dir

Sort direction

func (ApiGetActionsRequest) Execute

func (ApiGetActionsRequest) Expand

Fields to expand with additional information: * `links` - Expand instances of the risks under this action. DEPRECATED * `link_ids` - Same as `links` except only the IDs are returned. DEPRECATED * `link_from` - Node where the risk was found (requires `links` to be expanded). DEPRECATED * `link_to` - Node which represents the risk (requires `links` to be expanded). DEPRECATED * `target` - Node which carries this action. DEPRECATED * `assignee_user` - User to whom this action is assigned * `modified_by` - User to last update this action * `note_modified_by` - User to last update the note against this action

func (ApiGetActionsRequest) IncludeOutOfScope

func (r ApiGetActionsRequest) IncludeOutOfScope(includeOutOfScope bool) ApiGetActionsRequest

If set, return actions with out_of_scope set to false DEPRECATED - Use include_secondary Deprecated

func (ApiGetActionsRequest) IncludeSecondary

func (r ApiGetActionsRequest) IncludeSecondary(includeSecondary bool) ApiGetActionsRequest

If set, returns primary and secondary actions

func (ApiGetActionsRequest) Lang

Language of text

func (ApiGetActionsRequest) Limit

Maximum number of entries to return

func (ApiGetActionsRequest) Offset

Offset into the list of entries to return

func (ApiGetActionsRequest) Order

Column to order results by

func (ApiGetActionsRequest) ScanGroupId

func (r ApiGetActionsRequest) ScanGroupId(scanGroupId string) ApiGetActionsRequest

Scan Group ID (required if Scan ID is not provided)

func (ApiGetActionsRequest) ScanId

Scan ID

type ApiGetOrganisationAssetRequest

type ApiGetOrganisationAssetRequest struct {
	ApiService *OrganisationsAPIService
	// contains filtered or unexported fields
}

func (ApiGetOrganisationAssetRequest) Execute

type ApiGetOrganisationByIDRequest

type ApiGetOrganisationByIDRequest struct {
	ApiService *OrganisationsAPIService
	// contains filtered or unexported fields
}

func (ApiGetOrganisationByIDRequest) Execute

func (ApiGetOrganisationByIDRequest) Expand

Fields to expand with additional information

type ApiGetOrganisationsRequest

type ApiGetOrganisationsRequest struct {
	ApiService *OrganisationsAPIService
	// contains filtered or unexported fields
}

func (ApiGetOrganisationsRequest) Dir

Sort direction

func (ApiGetOrganisationsRequest) Execute

func (ApiGetOrganisationsRequest) Expand

Fields to expand with additional information

func (ApiGetOrganisationsRequest) IncludeDeleted

func (r ApiGetOrganisationsRequest) IncludeDeleted(includeDeleted bool) ApiGetOrganisationsRequest

Included deleted entries in results

func (ApiGetOrganisationsRequest) Limit

Maximum number of entries to return

func (ApiGetOrganisationsRequest) Offset

Offset into the list of entries to return

func (ApiGetOrganisationsRequest) Order

Column to order results by

type ApiGetReportCountForOrgRequest

type ApiGetReportCountForOrgRequest struct {
	ApiService *ReportsAPIService
	// contains filtered or unexported fields
}

func (ApiGetReportCountForOrgRequest) Execute

func (ApiGetReportCountForOrgRequest) Search

Search term

func (ApiGetReportCountForOrgRequest) TemplateId

Template ID used to generate report

func (ApiGetReportCountForOrgRequest) Type_

Report type

type ApiGetReportCountForScanRequest

type ApiGetReportCountForScanRequest struct {
	ApiService *ReportsAPIService
	// contains filtered or unexported fields
}

func (ApiGetReportCountForScanRequest) Execute

func (ApiGetReportCountForScanRequest) Search

Search term

func (ApiGetReportCountForScanRequest) TemplateId

Template ID used to generate report

func (ApiGetReportCountForScanRequest) Type_

Report type

type ApiGetReportRequest

type ApiGetReportRequest struct {
	ApiService *ReportsAPIService
	// contains filtered or unexported fields
}

func (ApiGetReportRequest) Execute

type ApiGetReportTemplatesForOrgRequest

type ApiGetReportTemplatesForOrgRequest struct {
	ApiService *ReportsAPIService
	// contains filtered or unexported fields
}

func (ApiGetReportTemplatesForOrgRequest) Execute

type ApiGetReportsForOrgRequest

type ApiGetReportsForOrgRequest struct {
	ApiService *ReportsAPIService
	// contains filtered or unexported fields
}

func (ApiGetReportsForOrgRequest) Dir

Sort direction

func (ApiGetReportsForOrgRequest) Execute

func (ApiGetReportsForOrgRequest) Limit

Maximum number of entries to return

func (ApiGetReportsForOrgRequest) Offset

Offset into the list of entries to return

func (ApiGetReportsForOrgRequest) Order

Column to order results by

func (ApiGetReportsForOrgRequest) Search

Search term

func (ApiGetReportsForOrgRequest) TemplateId

Template ID used to generate report

func (ApiGetReportsForOrgRequest) Type_

Report type

type ApiGetReportsForScanRequest

type ApiGetReportsForScanRequest struct {
	ApiService *ReportsAPIService
	// contains filtered or unexported fields
}

func (ApiGetReportsForScanRequest) Dir

Sort direction

func (ApiGetReportsForScanRequest) Execute

func (ApiGetReportsForScanRequest) Limit

Maximum number of entries to return

func (ApiGetReportsForScanRequest) Offset

Offset into the list of entries to return

func (ApiGetReportsForScanRequest) Order

Column to order results by

func (ApiGetReportsForScanRequest) Search

Search term

func (ApiGetReportsForScanRequest) TemplateId

Template ID used to generate report

func (ApiGetReportsForScanRequest) Type_

Report type

type ApiGetRisksByActionIDRequest

type ApiGetRisksByActionIDRequest struct {
	ApiService *ActionsAPIService
	// contains filtered or unexported fields
}

func (ApiGetRisksByActionIDRequest) Dir

Sort direction

func (ApiGetRisksByActionIDRequest) Execute

func (ApiGetRisksByActionIDRequest) Lang

Language of text

func (ApiGetRisksByActionIDRequest) Limit

Maximum number of entries to return

func (ApiGetRisksByActionIDRequest) Offset

Offset into the list of entries to return

func (ApiGetRisksByActionIDRequest) Order

Column to order results by

type ApiGetScanByIDRequest

type ApiGetScanByIDRequest struct {
	ApiService *ScansAPIService
	// contains filtered or unexported fields
}

func (ApiGetScanByIDRequest) Execute

func (ApiGetScanByIDRequest) Expand

Fields to expand with additional information

type ApiGetScanDataComponentsCountRequest

type ApiGetScanDataComponentsCountRequest struct {
	ApiService *ScanDataAPIService
	// contains filtered or unexported fields
}

func (ApiGetScanDataComponentsCountRequest) Execute

func (ApiGetScanDataComponentsCountRequest) Ids

List of component IDs to filter by

type ApiGetScanDataComponentsRequest

type ApiGetScanDataComponentsRequest struct {
	ApiService *ScanDataAPIService
	// contains filtered or unexported fields
}

func (ApiGetScanDataComponentsRequest) Dir

Sort direction

func (ApiGetScanDataComponentsRequest) Execute

func (ApiGetScanDataComponentsRequest) Ids

List of component IDs to filter by

func (ApiGetScanDataComponentsRequest) Lang

Language of text

func (ApiGetScanDataComponentsRequest) Limit

Maximum number of entries to return

func (ApiGetScanDataComponentsRequest) Offset

Offset into the list of entries to return

func (ApiGetScanDataComponentsRequest) Order

Column to order results by

type ApiGetScanDataDomainsCountRequest

type ApiGetScanDataDomainsCountRequest struct {
	ApiService *ScanDataAPIService
	// contains filtered or unexported fields
}

func (ApiGetScanDataDomainsCountRequest) Execute

func (ApiGetScanDataDomainsCountRequest) Ids

List of domain IDs to filter by

type ApiGetScanDataDomainsRequest

type ApiGetScanDataDomainsRequest struct {
	ApiService *ScanDataAPIService
	// contains filtered or unexported fields
}

func (ApiGetScanDataDomainsRequest) Dir

Sort direction

func (ApiGetScanDataDomainsRequest) Execute

func (ApiGetScanDataDomainsRequest) Ids

List of domain IDs to filter by

func (ApiGetScanDataDomainsRequest) Lang

Language of text

func (ApiGetScanDataDomainsRequest) Limit

Maximum number of entries to return

func (ApiGetScanDataDomainsRequest) Offset

Offset into the list of entries to return

func (ApiGetScanDataDomainsRequest) Order

Column to order results by

type ApiGetScanDataIPsCountRequest

type ApiGetScanDataIPsCountRequest struct {
	ApiService *ScanDataAPIService
	// contains filtered or unexported fields
}

func (ApiGetScanDataIPsCountRequest) Execute

func (ApiGetScanDataIPsCountRequest) Ids

List of ip IDs to filter by

type ApiGetScanDataIPsRequest

type ApiGetScanDataIPsRequest struct {
	ApiService *ScanDataAPIService
	// contains filtered or unexported fields
}

func (ApiGetScanDataIPsRequest) Dir

Sort direction

func (ApiGetScanDataIPsRequest) Execute

func (ApiGetScanDataIPsRequest) Ids

List of ip IDs to filter by

func (ApiGetScanDataIPsRequest) Lang

Language of text

func (ApiGetScanDataIPsRequest) Limit

Maximum number of entries to return

func (ApiGetScanDataIPsRequest) Offset

Offset into the list of entries to return

func (ApiGetScanDataIPsRequest) Order

Column to order results by

type ApiGetScanDataLinkChangesRequest

type ApiGetScanDataLinkChangesRequest struct {
	ApiService *ScanDataAPIService
	// contains filtered or unexported fields
}

func (ApiGetScanDataLinkChangesRequest) Execute

func (ApiGetScanDataLinkChangesRequest) FromIteration

From iteration ID (uuid)

func (ApiGetScanDataLinkChangesRequest) FromType

Filter by from node type

func (ApiGetScanDataLinkChangesRequest) IncludeTransient

func (r ApiGetScanDataLinkChangesRequest) IncludeTransient(includeTransient bool) ApiGetScanDataLinkChangesRequest

Include transient link changes. A transient link is one that was added and then removed within the timeframe of the changes.

func (ApiGetScanDataLinkChangesRequest) Lang

Language of text

func (ApiGetScanDataLinkChangesRequest) LastIterations

Number of last iterations to compare

func (ApiGetScanDataLinkChangesRequest) LinkType

Filter by link type

func (ApiGetScanDataLinkChangesRequest) RiskSeverityNumber

func (r ApiGetScanDataLinkChangesRequest) RiskSeverityNumber(riskSeverityNumber []int32) ApiGetScanDataLinkChangesRequest

Filter by risk severity

func (ApiGetScanDataLinkChangesRequest) ToIteration

To iteration ID (uuid)

func (ApiGetScanDataLinkChangesRequest) ToType

Filter by to node type

type ApiGetScanDataOutOfScopeDomainsCountRequest

type ApiGetScanDataOutOfScopeDomainsCountRequest struct {
	ApiService *ScanDataAPIService
	// contains filtered or unexported fields
}

func (ApiGetScanDataOutOfScopeDomainsCountRequest) Execute

func (ApiGetScanDataOutOfScopeDomainsCountRequest) Ids

List of out-of-scope domain IDs to filter by

type ApiGetScanDataOutOfScopeDomainsRequest

type ApiGetScanDataOutOfScopeDomainsRequest struct {
	ApiService *ScanDataAPIService
	// contains filtered or unexported fields
}

func (ApiGetScanDataOutOfScopeDomainsRequest) Dir

Sort direction

func (ApiGetScanDataOutOfScopeDomainsRequest) Execute

func (ApiGetScanDataOutOfScopeDomainsRequest) Ids

List of out-of-scope domain IDs to filter by

func (ApiGetScanDataOutOfScopeDomainsRequest) Lang

Language of text

func (ApiGetScanDataOutOfScopeDomainsRequest) Limit

Maximum number of entries to return

func (ApiGetScanDataOutOfScopeDomainsRequest) Offset

Offset into the list of entries to return

func (ApiGetScanDataOutOfScopeDomainsRequest) Order

Column to order results by

type ApiGetScanDataRisksCountRequest

type ApiGetScanDataRisksCountRequest struct {
	ApiService *ScanDataAPIService
	// contains filtered or unexported fields
}

func (ApiGetScanDataRisksCountRequest) Execute

func (ApiGetScanDataRisksCountRequest) LinkIds

List of risk Link IDs to filter by

func (ApiGetScanDataRisksCountRequest) RiskNodeIds

List of risk Node IDs to filter by

type ApiGetScanDataRisksRequest

type ApiGetScanDataRisksRequest struct {
	ApiService *ScanDataAPIService
	// contains filtered or unexported fields
}

func (ApiGetScanDataRisksRequest) Dir

Sort direction

func (ApiGetScanDataRisksRequest) Execute

func (ApiGetScanDataRisksRequest) Lang

Language of text

func (ApiGetScanDataRisksRequest) Limit

Maximum number of entries to return

func (ApiGetScanDataRisksRequest) LinkIds

List of risk Link IDs to filter by

func (ApiGetScanDataRisksRequest) Offset

Offset into the list of entries to return

func (ApiGetScanDataRisksRequest) Order

Column to order results by

func (ApiGetScanDataRisksRequest) RiskNodeIds

func (r ApiGetScanDataRisksRequest) RiskNodeIds(riskNodeIds []string) ApiGetScanDataRisksRequest

List of risk Node IDs to filter by

type ApiGetScanDataSecondaryDomainsCountRequest

type ApiGetScanDataSecondaryDomainsCountRequest struct {
	ApiService *ScanDataAPIService
	// contains filtered or unexported fields
}

func (ApiGetScanDataSecondaryDomainsCountRequest) Execute

func (ApiGetScanDataSecondaryDomainsCountRequest) Ids

List of secondary domain IDs to filter by

type ApiGetScanDataSecondaryDomainsRequest

type ApiGetScanDataSecondaryDomainsRequest struct {
	ApiService *ScanDataAPIService
	// contains filtered or unexported fields
}

func (ApiGetScanDataSecondaryDomainsRequest) Dir

Sort direction

func (ApiGetScanDataSecondaryDomainsRequest) Execute

func (ApiGetScanDataSecondaryDomainsRequest) Ids

List of secondary domain IDs to filter by

func (ApiGetScanDataSecondaryDomainsRequest) Lang

Language of text

func (ApiGetScanDataSecondaryDomainsRequest) Limit

Maximum number of entries to return

func (ApiGetScanDataSecondaryDomainsRequest) Offset

Offset into the list of entries to return

func (ApiGetScanDataSecondaryDomainsRequest) Order

Column to order results by

type ApiGetScanDataServicesCountRequest

type ApiGetScanDataServicesCountRequest struct {
	ApiService *ScanDataAPIService
	// contains filtered or unexported fields
}

func (ApiGetScanDataServicesCountRequest) Execute

func (ApiGetScanDataServicesCountRequest) Ids

List of service IDs to filter by

type ApiGetScanDataServicesRequest

type ApiGetScanDataServicesRequest struct {
	ApiService *ScanDataAPIService
	// contains filtered or unexported fields
}

func (ApiGetScanDataServicesRequest) Dir

Sort direction

func (ApiGetScanDataServicesRequest) Execute

func (ApiGetScanDataServicesRequest) Ids

List of service IDs to filter by

func (ApiGetScanDataServicesRequest) Lang

Language of text

func (ApiGetScanDataServicesRequest) Limit

Maximum number of entries to return

func (ApiGetScanDataServicesRequest) Offset

Offset into the list of entries to return

func (ApiGetScanDataServicesRequest) Order

Column to order results by

type ApiGetScanDataWebPresenceCountRequest

type ApiGetScanDataWebPresenceCountRequest struct {
	ApiService *ScanDataAPIService
	// contains filtered or unexported fields
}

func (ApiGetScanDataWebPresenceCountRequest) Execute

func (ApiGetScanDataWebPresenceCountRequest) Ids

List of URL IDs to filter by

type ApiGetScanDataWebPresenceRequest

type ApiGetScanDataWebPresenceRequest struct {
	ApiService *ScanDataAPIService
	// contains filtered or unexported fields
}

func (ApiGetScanDataWebPresenceRequest) Dir

Sort direction

func (ApiGetScanDataWebPresenceRequest) Execute

func (ApiGetScanDataWebPresenceRequest) Ids

List of URL IDs to filter by

func (ApiGetScanDataWebPresenceRequest) Lang

Language of text

func (ApiGetScanDataWebPresenceRequest) Limit

Maximum number of entries to return

func (ApiGetScanDataWebPresenceRequest) Offset

Offset into the list of entries to return

func (ApiGetScanDataWebPresenceRequest) Order

Column to order results by

type ApiGetScanGroupByIDRequest

type ApiGetScanGroupByIDRequest struct {
	ApiService *ScanGroupsAPIService
	// contains filtered or unexported fields
}

func (ApiGetScanGroupByIDRequest) Execute

func (ApiGetScanGroupByIDRequest) Expand

Fields to expand with additional information

type ApiGetScanGroupsRequest

type ApiGetScanGroupsRequest struct {
	ApiService *ScanGroupsAPIService
	// contains filtered or unexported fields
}

func (ApiGetScanGroupsRequest) Dir

Sort direction

func (ApiGetScanGroupsRequest) Execute

func (ApiGetScanGroupsRequest) Expand

Fields to expand with additional information

func (ApiGetScanGroupsRequest) IncludeDeleted

func (r ApiGetScanGroupsRequest) IncludeDeleted(includeDeleted bool) ApiGetScanGroupsRequest

Included deleted entries in results

func (ApiGetScanGroupsRequest) Limit

Maximum number of entries to return

func (ApiGetScanGroupsRequest) Offset

Offset into the list of entries to return

func (ApiGetScanGroupsRequest) Order

Column to order results by

func (ApiGetScanGroupsRequest) OrganisationId

func (r ApiGetScanGroupsRequest) OrganisationId(organisationId string) ApiGetScanGroupsRequest

Organisation ID

type ApiGetScanIterationProgressRequest

type ApiGetScanIterationProgressRequest struct {
	ApiService *ScansAPIService
	// contains filtered or unexported fields
}

func (ApiGetScanIterationProgressRequest) Execute

type ApiGetScanIterationsByIdRequest

type ApiGetScanIterationsByIdRequest struct {
	ApiService *ScansAPIService
	// contains filtered or unexported fields
}

func (ApiGetScanIterationsByIdRequest) Dir

Sort direction

func (ApiGetScanIterationsByIdRequest) Execute

func (ApiGetScanIterationsByIdRequest) Limit

Maximum number of entries to return

func (ApiGetScanIterationsByIdRequest) Offset

Offset into the list of entries to return

func (ApiGetScanIterationsByIdRequest) Order

Column to order results by

type ApiGetScanLinkTagsRequest

type ApiGetScanLinkTagsRequest struct {
	ApiService *ScansAPIService
	// contains filtered or unexported fields
}

func (ApiGetScanLinkTagsRequest) Dir

Sort direction

func (ApiGetScanLinkTagsRequest) Execute

func (ApiGetScanLinkTagsRequest) Expand

Fields to expand with additional information

func (ApiGetScanLinkTagsRequest) Limit

Maximum number of entries to return

func (ApiGetScanLinkTagsRequest) Offset

Offset into the list of entries to return

func (ApiGetScanLinkTagsRequest) Order

Column to order results by

type ApiGetScanSeedsByIdRequest

type ApiGetScanSeedsByIdRequest struct {
	ApiService *ScansAPIService
	// contains filtered or unexported fields
}

func (ApiGetScanSeedsByIdRequest) Execute

func (ApiGetScanSeedsByIdRequest) Expand

Fields to expand with additional information

type ApiGetScansCountRequest

type ApiGetScansCountRequest struct {
	ApiService *ScansAPIService
	// contains filtered or unexported fields
}

func (ApiGetScansCountRequest) Execute

func (ApiGetScansCountRequest) IncludeDeleted

func (r ApiGetScansCountRequest) IncludeDeleted(includeDeleted bool) ApiGetScansCountRequest

Include deleted scans

func (ApiGetScansCountRequest) IncludeDisabled

func (r ApiGetScansCountRequest) IncludeDisabled(includeDisabled bool) ApiGetScansCountRequest

Include disabled scans

func (ApiGetScansCountRequest) ScanGroupId

func (r ApiGetScansCountRequest) ScanGroupId(scanGroupId string) ApiGetScansCountRequest

Scan Group ID

func (ApiGetScansCountRequest) Search

Search string

func (ApiGetScansCountRequest) SearchSeeds

func (r ApiGetScansCountRequest) SearchSeeds(searchSeeds bool) ApiGetScansCountRequest

Include seeds in text search

func (ApiGetScansCountRequest) Type_

Filter by scan types

type ApiGetScansRequest

type ApiGetScansRequest struct {
	ApiService *ScansAPIService
	// contains filtered or unexported fields
}

func (ApiGetScansRequest) Dir

Sort direction

func (ApiGetScansRequest) Execute

func (r ApiGetScansRequest) Execute() ([]ScanResponse, *http.Response, error)

func (ApiGetScansRequest) Expand

func (r ApiGetScansRequest) Expand(expand []string) ApiGetScansRequest

Fields to expand with additional information

func (ApiGetScansRequest) IncludeDeleted

func (r ApiGetScansRequest) IncludeDeleted(includeDeleted bool) ApiGetScansRequest

Include deleted scans

func (ApiGetScansRequest) IncludeDisabled

func (r ApiGetScansRequest) IncludeDisabled(includeDisabled bool) ApiGetScansRequest

Include disabled scans

func (ApiGetScansRequest) Limit

Maximum number of entries to return

func (ApiGetScansRequest) Offset

Offset into the list of entries to return

func (ApiGetScansRequest) Order

Column to order results by

func (ApiGetScansRequest) ScanGroupId

func (r ApiGetScansRequest) ScanGroupId(scanGroupId string) ApiGetScansRequest

Scan Group ID

func (ApiGetScansRequest) Search

func (r ApiGetScansRequest) Search(search string) ApiGetScansRequest

Search string

func (ApiGetScansRequest) SearchSeeds

func (r ApiGetScansRequest) SearchSeeds(searchSeeds bool) ApiGetScansRequest

Include seeds in text search

func (ApiGetScansRequest) Type_

func (r ApiGetScansRequest) Type_(type_ []string) ApiGetScansRequest

Filter by scan types

type ApiGetScreenshotByIdRequest

type ApiGetScreenshotByIdRequest struct {
	ApiService *ScansAPIService
	// contains filtered or unexported fields
}

func (ApiGetScreenshotByIdRequest) Execute

type ApiGetStateRequest

type ApiGetStateRequest struct {
	ApiService *AuthAPIService
	// contains filtered or unexported fields
}

func (ApiGetStateRequest) Execute

type ApiGetUsersRequest

type ApiGetUsersRequest struct {
	ApiService *UsersAPIService
	// contains filtered or unexported fields
}

func (ApiGetUsersRequest) Execute

func (r ApiGetUsersRequest) Execute() ([]UserResponse, *http.Response, error)

func (ApiGetUsersRequest) OrganisationId

func (r ApiGetUsersRequest) OrganisationId(organisationId string) ApiGetUsersRequest

Organisation ID

func (ApiGetUsersRequest) ScanGroupId

func (r ApiGetUsersRequest) ScanGroupId(scanGroupId string) ApiGetUsersRequest

Scan Group ID

type ApiRemoveScanSeedByIdRequest

type ApiRemoveScanSeedByIdRequest struct {
	ApiService *ScansAPIService
	// contains filtered or unexported fields
}

func (ApiRemoveScanSeedByIdRequest) Execute

type ApiRemoveSeedTagRequest

type ApiRemoveSeedTagRequest struct {
	ApiService *ScansAPIService
	// contains filtered or unexported fields
}

func (ApiRemoveSeedTagRequest) Execute

func (r ApiRemoveSeedTagRequest) Execute() (*http.Response, error)

type ApiTriggerRescanByScanIdRequest

type ApiTriggerRescanByScanIdRequest struct {
	ApiService *ScansAPIService
	// contains filtered or unexported fields
}

func (ApiTriggerRescanByScanIdRequest) Execute

type ApiUpdateNodeByIdRequest

type ApiUpdateNodeByIdRequest struct {
	ApiService *GraphAPIService
	// contains filtered or unexported fields
}

func (ApiUpdateNodeByIdRequest) Execute

func (ApiUpdateNodeByIdRequest) UpdateNodeRequest

func (r ApiUpdateNodeByIdRequest) UpdateNodeRequest(updateNodeRequest UpdateNodeRequest) ApiUpdateNodeByIdRequest

Parameters to update the node

type ApiUpdateNodeInScanByIdRequest

type ApiUpdateNodeInScanByIdRequest struct {
	ApiService *ScansAPIService
	// contains filtered or unexported fields
}

func (ApiUpdateNodeInScanByIdRequest) Execute

func (ApiUpdateNodeInScanByIdRequest) UpdateNodeRequest

Parameters to update the node

type ApiUpdateScanByIdRequest

type ApiUpdateScanByIdRequest struct {
	ApiService *ScansAPIService
	// contains filtered or unexported fields
}

func (ApiUpdateScanByIdRequest) Execute

func (ApiUpdateScanByIdRequest) UpdateScanByIdRequest

func (r ApiUpdateScanByIdRequest) UpdateScanByIdRequest(updateScanByIdRequest UpdateScanByIdRequest) ApiUpdateScanByIdRequest

type ApiUpdateScanGroupByIDRequest

type ApiUpdateScanGroupByIDRequest struct {
	ApiService *ScanGroupsAPIService
	// contains filtered or unexported fields
}

func (ApiUpdateScanGroupByIDRequest) Execute

func (ApiUpdateScanGroupByIDRequest) ScanGroupUpdateRequestBody

func (r ApiUpdateScanGroupByIDRequest) ScanGroupUpdateRequestBody(scanGroupUpdateRequestBody ScanGroupUpdateRequestBody) ApiUpdateScanGroupByIDRequest

type ApiUpdateUserPreferencesRequest

type ApiUpdateUserPreferencesRequest struct {
	ApiService *UsersAPIService
	// contains filtered or unexported fields
}

func (ApiUpdateUserPreferencesRequest) Execute

func (ApiUpdateUserPreferencesRequest) UpdateUserPreferencesRequest

func (r ApiUpdateUserPreferencesRequest) UpdateUserPreferencesRequest(updateUserPreferencesRequest UpdateUserPreferencesRequest) ApiUpdateUserPreferencesRequest

type ApiUsersApiKeyPostRequest

type ApiUsersApiKeyPostRequest struct {
	ApiService *UsersAPIService
	// contains filtered or unexported fields
}

func (ApiUsersApiKeyPostRequest) Execute

func (ApiUsersApiKeyPostRequest) UsersCreateAPIKeyRequest

func (r ApiUsersApiKeyPostRequest) UsersCreateAPIKeyRequest(usersCreateAPIKeyRequest UsersCreateAPIKeyRequest) ApiUsersApiKeyPostRequest

func (ApiUsersApiKeyPostRequest) XCSRFToken

API Keys can only be created when logged in via session authentication, which requires the session CSRF token to be set.

type AuthAPIService

type AuthAPIService service

AuthAPIService AuthAPI service

func (*AuthAPIService) GetState

GetState Get the auth state and associated user for the request

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return ApiGetStateRequest

func (*AuthAPIService) GetStateExecute

func (a *AuthAPIService) GetStateExecute(r ApiGetStateRequest) (*AuthResponse, *http.Response, error)

Execute executes the request

@return AuthResponse

type AuthResponse

type AuthResponse struct {
	// True if the chosen authentication scheme has passed.
	Authenticated bool `json:"authenticated"`
	// Name of the authentication scheme used.
	Scheme *string `json:"scheme,omitempty"`
	// List of groups for which the current user is a member.
	Groups []string `json:"groups,omitempty"`
	// List of roles granted to the current user
	Roles []string `json:"roles,omitempty"`
	// CSRF token to use with POST/PUT/PATCH/DELETE requests which use session authentication.
	Csrf *string `json:"csrf,omitempty"`
	// Combined attributes for the current user.
	Attributes           map[string]interface{} `json:"attributes,omitempty"`
	User                 *UserRowResponse       `json:"user,omitempty"`
	AdditionalProperties map[string]interface{}
}

AuthResponse struct for AuthResponse

func NewAuthResponse

func NewAuthResponse(authenticated bool) *AuthResponse

NewAuthResponse instantiates a new AuthResponse 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

func NewAuthResponseWithDefaults

func NewAuthResponseWithDefaults() *AuthResponse

NewAuthResponseWithDefaults instantiates a new AuthResponse 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

func (*AuthResponse) GetAttributes

func (o *AuthResponse) GetAttributes() map[string]interface{}

GetAttributes returns the Attributes field value if set, zero value otherwise.

func (*AuthResponse) GetAttributesOk

func (o *AuthResponse) GetAttributesOk() (map[string]interface{}, bool)

GetAttributesOk returns a tuple with the Attributes field value if set, nil otherwise and a boolean to check if the value has been set.

func (*AuthResponse) GetAuthenticated

func (o *AuthResponse) GetAuthenticated() bool

GetAuthenticated returns the Authenticated field value

func (*AuthResponse) GetAuthenticatedOk

func (o *AuthResponse) GetAuthenticatedOk() (*bool, bool)

GetAuthenticatedOk returns a tuple with the Authenticated field value and a boolean to check if the value has been set.

func (*AuthResponse) GetCsrf

func (o *AuthResponse) GetCsrf() string

GetCsrf returns the Csrf field value if set, zero value otherwise.

func (*AuthResponse) GetCsrfOk

func (o *AuthResponse) GetCsrfOk() (*string, bool)

GetCsrfOk returns a tuple with the Csrf field value if set, nil otherwise and a boolean to check if the value has been set.

func (*AuthResponse) GetGroups

func (o *AuthResponse) GetGroups() []string

GetGroups returns the Groups field value if set, zero value otherwise.

func (*AuthResponse) GetGroupsOk

func (o *AuthResponse) GetGroupsOk() ([]string, bool)

GetGroupsOk returns a tuple with the Groups field value if set, nil otherwise and a boolean to check if the value has been set.

func (*AuthResponse) GetRoles

func (o *AuthResponse) GetRoles() []string

GetRoles returns the Roles field value if set, zero value otherwise.

func (*AuthResponse) GetRolesOk

func (o *AuthResponse) GetRolesOk() ([]string, bool)

GetRolesOk returns a tuple with the Roles field value if set, nil otherwise and a boolean to check if the value has been set.

func (*AuthResponse) GetScheme

func (o *AuthResponse) GetScheme() string

GetScheme returns the Scheme field value if set, zero value otherwise.

func (*AuthResponse) GetSchemeOk

func (o *AuthResponse) GetSchemeOk() (*string, bool)

GetSchemeOk returns a tuple with the Scheme field value if set, nil otherwise and a boolean to check if the value has been set.

func (*AuthResponse) GetUser

func (o *AuthResponse) GetUser() UserRowResponse

GetUser returns the User field value if set, zero value otherwise.

func (*AuthResponse) GetUserOk

func (o *AuthResponse) GetUserOk() (*UserRowResponse, bool)

GetUserOk returns a tuple with the User field value if set, nil otherwise and a boolean to check if the value has been set.

func (*AuthResponse) HasAttributes

func (o *AuthResponse) HasAttributes() bool

HasAttributes returns a boolean if a field has been set.

func (*AuthResponse) HasCsrf

func (o *AuthResponse) HasCsrf() bool

HasCsrf returns a boolean if a field has been set.

func (*AuthResponse) HasGroups

func (o *AuthResponse) HasGroups() bool

HasGroups returns a boolean if a field has been set.

func (*AuthResponse) HasRoles

func (o *AuthResponse) HasRoles() bool

HasRoles returns a boolean if a field has been set.

func (*AuthResponse) HasScheme

func (o *AuthResponse) HasScheme() bool

HasScheme returns a boolean if a field has been set.

func (*AuthResponse) HasUser

func (o *AuthResponse) HasUser() bool

HasUser returns a boolean if a field has been set.

func (AuthResponse) MarshalJSON

func (o AuthResponse) MarshalJSON() ([]byte, error)

func (*AuthResponse) SetAttributes

func (o *AuthResponse) SetAttributes(v map[string]interface{})

SetAttributes gets a reference to the given map[string]interface{} and assigns it to the Attributes field.

func (*AuthResponse) SetAuthenticated

func (o *AuthResponse) SetAuthenticated(v bool)

SetAuthenticated sets field value

func (*AuthResponse) SetCsrf

func (o *AuthResponse) SetCsrf(v string)

SetCsrf gets a reference to the given string and assigns it to the Csrf field.

func (*AuthResponse) SetGroups

func (o *AuthResponse) SetGroups(v []string)

SetGroups gets a reference to the given []string and assigns it to the Groups field.

func (*AuthResponse) SetRoles

func (o *AuthResponse) SetRoles(v []string)

SetRoles gets a reference to the given []string and assigns it to the Roles field.

func (*AuthResponse) SetScheme

func (o *AuthResponse) SetScheme(v string)

SetScheme gets a reference to the given string and assigns it to the Scheme field.

func (*AuthResponse) SetUser

func (o *AuthResponse) SetUser(v UserRowResponse)

SetUser gets a reference to the given UserRowResponse and assigns it to the User field.

func (AuthResponse) ToMap

func (o AuthResponse) ToMap() (map[string]interface{}, error)

func (*AuthResponse) UnmarshalJSON

func (o *AuthResponse) UnmarshalJSON(data []byte) (err error)

type BasicAuth

type BasicAuth struct {
	UserName string `json:"userName,omitempty"`
	Password string `json:"password,omitempty"`
}

BasicAuth provides basic http authentication to a request passed via context using ContextBasicAuth

type CompleteReportTemplateUploadBody

type CompleteReportTemplateUploadBody struct {
	// File name of the source file uploaded
	FileName             *string `json:"file_name,omitempty"`
	AdditionalProperties map[string]interface{}
}

CompleteReportTemplateUploadBody struct for CompleteReportTemplateUploadBody

func NewCompleteReportTemplateUploadBody

func NewCompleteReportTemplateUploadBody() *CompleteReportTemplateUploadBody

NewCompleteReportTemplateUploadBody instantiates a new CompleteReportTemplateUploadBody 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

func NewCompleteReportTemplateUploadBodyWithDefaults

func NewCompleteReportTemplateUploadBodyWithDefaults() *CompleteReportTemplateUploadBody

NewCompleteReportTemplateUploadBodyWithDefaults instantiates a new CompleteReportTemplateUploadBody 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

func (*CompleteReportTemplateUploadBody) GetFileName

func (o *CompleteReportTemplateUploadBody) GetFileName() string

GetFileName returns the FileName field value if set, zero value otherwise.

func (*CompleteReportTemplateUploadBody) GetFileNameOk

func (o *CompleteReportTemplateUploadBody) GetFileNameOk() (*string, bool)

GetFileNameOk returns a tuple with the FileName field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CompleteReportTemplateUploadBody) HasFileName

func (o *CompleteReportTemplateUploadBody) HasFileName() bool

HasFileName returns a boolean if a field has been set.

func (CompleteReportTemplateUploadBody) MarshalJSON

func (o CompleteReportTemplateUploadBody) MarshalJSON() ([]byte, error)

func (*CompleteReportTemplateUploadBody) SetFileName

func (o *CompleteReportTemplateUploadBody) SetFileName(v string)

SetFileName gets a reference to the given string and assigns it to the FileName field.

func (CompleteReportTemplateUploadBody) ToMap

func (o CompleteReportTemplateUploadBody) ToMap() (map[string]interface{}, error)

func (*CompleteReportTemplateUploadBody) UnmarshalJSON

func (o *CompleteReportTemplateUploadBody) UnmarshalJSON(data []byte) (err error)

type Configuration

type Configuration struct {
	Host             string            `json:"host,omitempty"`
	Scheme           string            `json:"scheme,omitempty"`
	DefaultHeader    map[string]string `json:"defaultHeader,omitempty"`
	UserAgent        string            `json:"userAgent,omitempty"`
	Debug            bool              `json:"debug,omitempty"`
	Servers          ServerConfigurations
	OperationServers map[string]ServerConfigurations
	HTTPClient       *http.Client
	APIKey           string
}

Configuration stores the configuration of the API client

func NewConfiguration

func NewConfiguration() *Configuration

NewConfiguration returns a new Configuration object

func (*Configuration) AddDefaultHeader

func (c *Configuration) AddDefaultHeader(key string, value string)

AddDefaultHeader adds a new HTTP header to the default header in the request

func (*Configuration) ServerURL

func (c *Configuration) ServerURL(index int, variables map[string]string) (string, error)

ServerURL returns URL based on server settings

func (*Configuration) ServerURLWithContext

func (c *Configuration) ServerURLWithContext(ctx context.Context, endpoint string) (string, error)

ServerURLWithContext returns a new server URL given an endpoint

type CreateExcelSummaryReportBody

type CreateExcelSummaryReportBody struct {
	Type ReportType `json:"type"`
	// Scan ID
	ScanId string `json:"scan_id"`
	// Report display name
	Name string `json:"name"`
	// Send email notification when report is ready
	SendEmail            *bool `json:"send_email,omitempty"`
	AdditionalProperties map[string]interface{}
}

CreateExcelSummaryReportBody struct for CreateExcelSummaryReportBody

func NewCreateExcelSummaryReportBody

func NewCreateExcelSummaryReportBody(type_ ReportType, scanId string, name string) *CreateExcelSummaryReportBody

NewCreateExcelSummaryReportBody instantiates a new CreateExcelSummaryReportBody 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

func NewCreateExcelSummaryReportBodyWithDefaults

func NewCreateExcelSummaryReportBodyWithDefaults() *CreateExcelSummaryReportBody

NewCreateExcelSummaryReportBodyWithDefaults instantiates a new CreateExcelSummaryReportBody 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

func (*CreateExcelSummaryReportBody) GetName

func (o *CreateExcelSummaryReportBody) GetName() string

GetName returns the Name field value

func (*CreateExcelSummaryReportBody) GetNameOk

func (o *CreateExcelSummaryReportBody) GetNameOk() (*string, bool)

GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.

func (*CreateExcelSummaryReportBody) GetScanId

func (o *CreateExcelSummaryReportBody) GetScanId() string

GetScanId returns the ScanId field value

func (*CreateExcelSummaryReportBody) GetScanIdOk

func (o *CreateExcelSummaryReportBody) GetScanIdOk() (*string, bool)

GetScanIdOk returns a tuple with the ScanId field value and a boolean to check if the value has been set.

func (*CreateExcelSummaryReportBody) GetSendEmail

func (o *CreateExcelSummaryReportBody) GetSendEmail() bool

GetSendEmail returns the SendEmail field value if set, zero value otherwise.

func (*CreateExcelSummaryReportBody) GetSendEmailOk

func (o *CreateExcelSummaryReportBody) GetSendEmailOk() (*bool, bool)

GetSendEmailOk returns a tuple with the SendEmail field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CreateExcelSummaryReportBody) GetType

GetType returns the Type field value

func (*CreateExcelSummaryReportBody) GetTypeOk

func (o *CreateExcelSummaryReportBody) GetTypeOk() (*ReportType, bool)

GetTypeOk returns a tuple with the Type field value and a boolean to check if the value has been set.

func (*CreateExcelSummaryReportBody) HasSendEmail

func (o *CreateExcelSummaryReportBody) HasSendEmail() bool

HasSendEmail returns a boolean if a field has been set.

func (CreateExcelSummaryReportBody) MarshalJSON

func (o CreateExcelSummaryReportBody) MarshalJSON() ([]byte, error)

func (*CreateExcelSummaryReportBody) SetName

func (o *CreateExcelSummaryReportBody) SetName(v string)

SetName sets field value

func (*CreateExcelSummaryReportBody) SetScanId

func (o *CreateExcelSummaryReportBody) SetScanId(v string)

SetScanId sets field value

func (*CreateExcelSummaryReportBody) SetSendEmail

func (o *CreateExcelSummaryReportBody) SetSendEmail(v bool)

SetSendEmail gets a reference to the given bool and assigns it to the SendEmail field.

func (*CreateExcelSummaryReportBody) SetType

SetType sets field value

func (CreateExcelSummaryReportBody) ToMap

func (o CreateExcelSummaryReportBody) ToMap() (map[string]interface{}, error)

func (*CreateExcelSummaryReportBody) UnmarshalJSON

func (o *CreateExcelSummaryReportBody) UnmarshalJSON(data []byte) (err error)

type CreateReportRequest

type CreateReportRequest struct {
	CreateExcelSummaryReportBody *CreateExcelSummaryReportBody
	CreateSummaryReportBody      *CreateSummaryReportBody
}

CreateReportRequest - struct for CreateReportRequest

func CreateExcelSummaryReportBodyAsCreateReportRequest

func CreateExcelSummaryReportBodyAsCreateReportRequest(v *CreateExcelSummaryReportBody) CreateReportRequest

CreateExcelSummaryReportBodyAsCreateReportRequest is a convenience function that returns CreateExcelSummaryReportBody wrapped in CreateReportRequest

func CreateSummaryReportBodyAsCreateReportRequest

func CreateSummaryReportBodyAsCreateReportRequest(v *CreateSummaryReportBody) CreateReportRequest

CreateSummaryReportBodyAsCreateReportRequest is a convenience function that returns CreateSummaryReportBody wrapped in CreateReportRequest

func (*CreateReportRequest) GetActualInstance

func (obj *CreateReportRequest) GetActualInstance() interface{}

Get the actual instance

func (CreateReportRequest) GetActualInstanceValue

func (obj CreateReportRequest) GetActualInstanceValue() interface{}

Get the actual instance value

func (CreateReportRequest) MarshalJSON

func (src CreateReportRequest) MarshalJSON() ([]byte, error)

Marshal data from the first non-nil pointers in the struct to JSON

func (*CreateReportRequest) UnmarshalJSON

func (dst *CreateReportRequest) UnmarshalJSON(data []byte) error

Unmarshal JSON data into one of the pointers in the struct

type CreateReportTemplateBody

type CreateReportTemplateBody struct {
	// Templatable report type (subset of ReportType that use templates)
	Type string `json:"type"`
	// Organisation ID
	OrganisationId string `json:"organisation_id"`
	// Report template display name
	Name                 string `json:"name"`
	AdditionalProperties map[string]interface{}
}

CreateReportTemplateBody struct for CreateReportTemplateBody

func NewCreateReportTemplateBody

func NewCreateReportTemplateBody(type_ string, organisationId string, name string) *CreateReportTemplateBody

NewCreateReportTemplateBody instantiates a new CreateReportTemplateBody 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

func NewCreateReportTemplateBodyWithDefaults

func NewCreateReportTemplateBodyWithDefaults() *CreateReportTemplateBody

NewCreateReportTemplateBodyWithDefaults instantiates a new CreateReportTemplateBody 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

func (*CreateReportTemplateBody) GetName

func (o *CreateReportTemplateBody) GetName() string

GetName returns the Name field value

func (*CreateReportTemplateBody) GetNameOk

func (o *CreateReportTemplateBody) GetNameOk() (*string, bool)

GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.

func (*CreateReportTemplateBody) GetOrganisationId

func (o *CreateReportTemplateBody) GetOrganisationId() string

GetOrganisationId returns the OrganisationId field value

func (*CreateReportTemplateBody) GetOrganisationIdOk

func (o *CreateReportTemplateBody) GetOrganisationIdOk() (*string, bool)

GetOrganisationIdOk returns a tuple with the OrganisationId field value and a boolean to check if the value has been set.

func (*CreateReportTemplateBody) GetType

func (o *CreateReportTemplateBody) GetType() string

GetType returns the Type field value

func (*CreateReportTemplateBody) GetTypeOk

func (o *CreateReportTemplateBody) GetTypeOk() (*string, bool)

GetTypeOk returns a tuple with the Type field value and a boolean to check if the value has been set.

func (CreateReportTemplateBody) MarshalJSON

func (o CreateReportTemplateBody) MarshalJSON() ([]byte, error)

func (*CreateReportTemplateBody) SetName

func (o *CreateReportTemplateBody) SetName(v string)

SetName sets field value

func (*CreateReportTemplateBody) SetOrganisationId

func (o *CreateReportTemplateBody) SetOrganisationId(v string)

SetOrganisationId sets field value

func (*CreateReportTemplateBody) SetType

func (o *CreateReportTemplateBody) SetType(v string)

SetType sets field value

func (CreateReportTemplateBody) ToMap

func (o CreateReportTemplateBody) ToMap() (map[string]interface{}, error)

func (*CreateReportTemplateBody) UnmarshalJSON

func (o *CreateReportTemplateBody) UnmarshalJSON(data []byte) (err error)

type CreateScanRequest

type CreateScanRequest struct {
	// Scan name
	Name string `json:"name"`
	// Scan Group ID
	ScanGroupId string   `json:"scan_group_id"`
	Type        ScanType `json:"type"`
	// Check for commonly used seed domains (true if not set)
	DnsNamelist *bool `json:"dns_namelist,omitempty"`
	// Only show IP risks if they relate to seed IP nodes (false if not set)
	IgnoreIpNodes *bool `json:"ignore_ip_nodes,omitempty"`
	// The frequency of scan iteration  i.e. \"daily\", \"weekly\", \"monthly\", \"quarterly\", \"yearly\"
	CalendarSchedule     *string                          `json:"calendar_schedule,omitempty"`
	IncludeBrRisks       *CreateScanRequestIncludeBrRisks `json:"include_br_risks,omitempty"`
	AdditionalProperties map[string]interface{}
}

CreateScanRequest struct for CreateScanRequest

func NewCreateScanRequest

func NewCreateScanRequest(name string, scanGroupId string, type_ ScanType) *CreateScanRequest

NewCreateScanRequest instantiates a new CreateScanRequest 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

func NewCreateScanRequestWithDefaults

func NewCreateScanRequestWithDefaults() *CreateScanRequest

NewCreateScanRequestWithDefaults instantiates a new CreateScanRequest 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

func (*CreateScanRequest) GetCalendarSchedule

func (o *CreateScanRequest) GetCalendarSchedule() string

GetCalendarSchedule returns the CalendarSchedule field value if set, zero value otherwise.

func (*CreateScanRequest) GetCalendarScheduleOk

func (o *CreateScanRequest) GetCalendarScheduleOk() (*string, bool)

GetCalendarScheduleOk returns a tuple with the CalendarSchedule field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CreateScanRequest) GetDnsNamelist

func (o *CreateScanRequest) GetDnsNamelist() bool

GetDnsNamelist returns the DnsNamelist field value if set, zero value otherwise.

func (*CreateScanRequest) GetDnsNamelistOk

func (o *CreateScanRequest) GetDnsNamelistOk() (*bool, bool)

GetDnsNamelistOk returns a tuple with the DnsNamelist field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CreateScanRequest) GetIgnoreIpNodes

func (o *CreateScanRequest) GetIgnoreIpNodes() bool

GetIgnoreIpNodes returns the IgnoreIpNodes field value if set, zero value otherwise.

func (*CreateScanRequest) GetIgnoreIpNodesOk

func (o *CreateScanRequest) GetIgnoreIpNodesOk() (*bool, bool)

GetIgnoreIpNodesOk returns a tuple with the IgnoreIpNodes field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CreateScanRequest) GetIncludeBrRisks

func (o *CreateScanRequest) GetIncludeBrRisks() CreateScanRequestIncludeBrRisks

GetIncludeBrRisks returns the IncludeBrRisks field value if set, zero value otherwise.

func (*CreateScanRequest) GetIncludeBrRisksOk

func (o *CreateScanRequest) GetIncludeBrRisksOk() (*CreateScanRequestIncludeBrRisks, bool)

GetIncludeBrRisksOk returns a tuple with the IncludeBrRisks field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CreateScanRequest) GetName

func (o *CreateScanRequest) GetName() string

GetName returns the Name field value

func (*CreateScanRequest) GetNameOk

func (o *CreateScanRequest) GetNameOk() (*string, bool)

GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.

func (*CreateScanRequest) GetScanGroupId

func (o *CreateScanRequest) GetScanGroupId() string

GetScanGroupId returns the ScanGroupId field value

func (*CreateScanRequest) GetScanGroupIdOk

func (o *CreateScanRequest) GetScanGroupIdOk() (*string, bool)

GetScanGroupIdOk returns a tuple with the ScanGroupId field value and a boolean to check if the value has been set.

func (*CreateScanRequest) GetType

func (o *CreateScanRequest) GetType() ScanType

GetType returns the Type field value

func (*CreateScanRequest) GetTypeOk

func (o *CreateScanRequest) GetTypeOk() (*ScanType, bool)

GetTypeOk returns a tuple with the Type field value and a boolean to check if the value has been set.

func (*CreateScanRequest) HasCalendarSchedule

func (o *CreateScanRequest) HasCalendarSchedule() bool

HasCalendarSchedule returns a boolean if a field has been set.

func (*CreateScanRequest) HasDnsNamelist

func (o *CreateScanRequest) HasDnsNamelist() bool

HasDnsNamelist returns a boolean if a field has been set.

func (*CreateScanRequest) HasIgnoreIpNodes

func (o *CreateScanRequest) HasIgnoreIpNodes() bool

HasIgnoreIpNodes returns a boolean if a field has been set.

func (*CreateScanRequest) HasIncludeBrRisks

func (o *CreateScanRequest) HasIncludeBrRisks() bool

HasIncludeBrRisks returns a boolean if a field has been set.

func (CreateScanRequest) MarshalJSON

func (o CreateScanRequest) MarshalJSON() ([]byte, error)

func (*CreateScanRequest) SetCalendarSchedule

func (o *CreateScanRequest) SetCalendarSchedule(v string)

SetCalendarSchedule gets a reference to the given string and assigns it to the CalendarSchedule field.

func (*CreateScanRequest) SetDnsNamelist

func (o *CreateScanRequest) SetDnsNamelist(v bool)

SetDnsNamelist gets a reference to the given bool and assigns it to the DnsNamelist field.

func (*CreateScanRequest) SetIgnoreIpNodes

func (o *CreateScanRequest) SetIgnoreIpNodes(v bool)

SetIgnoreIpNodes gets a reference to the given bool and assigns it to the IgnoreIpNodes field.

func (*CreateScanRequest) SetIncludeBrRisks

func (o *CreateScanRequest) SetIncludeBrRisks(v CreateScanRequestIncludeBrRisks)

SetIncludeBrRisks gets a reference to the given CreateScanRequestIncludeBrRisks and assigns it to the IncludeBrRisks field.

func (*CreateScanRequest) SetName

func (o *CreateScanRequest) SetName(v string)

SetName sets field value

func (*CreateScanRequest) SetScanGroupId

func (o *CreateScanRequest) SetScanGroupId(v string)

SetScanGroupId sets field value

func (*CreateScanRequest) SetType

func (o *CreateScanRequest) SetType(v ScanType)

SetType sets field value

func (CreateScanRequest) ToMap

func (o CreateScanRequest) ToMap() (map[string]interface{}, error)

func (*CreateScanRequest) UnmarshalJSON

func (o *CreateScanRequest) UnmarshalJSON(data []byte) (err error)

type CreateScanRequestIncludeBrRisks

type CreateScanRequestIncludeBrRisks struct {
	// Include backported resolvable risks for Apache
	UrnComponentApplicationApache bool `json:"urn:component:application:apache"`
	AdditionalProperties          map[string]interface{}
}

CreateScanRequestIncludeBrRisks struct for CreateScanRequestIncludeBrRisks

func NewCreateScanRequestIncludeBrRisks

func NewCreateScanRequestIncludeBrRisks(urnComponentApplicationApache bool) *CreateScanRequestIncludeBrRisks

NewCreateScanRequestIncludeBrRisks instantiates a new CreateScanRequestIncludeBrRisks 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

func NewCreateScanRequestIncludeBrRisksWithDefaults

func NewCreateScanRequestIncludeBrRisksWithDefaults() *CreateScanRequestIncludeBrRisks

NewCreateScanRequestIncludeBrRisksWithDefaults instantiates a new CreateScanRequestIncludeBrRisks 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

func (*CreateScanRequestIncludeBrRisks) GetUrnComponentApplicationApache

func (o *CreateScanRequestIncludeBrRisks) GetUrnComponentApplicationApache() bool

GetUrnComponentApplicationApache returns the UrnComponentApplicationApache field value

func (*CreateScanRequestIncludeBrRisks) GetUrnComponentApplicationApacheOk

func (o *CreateScanRequestIncludeBrRisks) GetUrnComponentApplicationApacheOk() (*bool, bool)

GetUrnComponentApplicationApacheOk returns a tuple with the UrnComponentApplicationApache field value and a boolean to check if the value has been set.

func (CreateScanRequestIncludeBrRisks) MarshalJSON

func (o CreateScanRequestIncludeBrRisks) MarshalJSON() ([]byte, error)

func (*CreateScanRequestIncludeBrRisks) SetUrnComponentApplicationApache

func (o *CreateScanRequestIncludeBrRisks) SetUrnComponentApplicationApache(v bool)

SetUrnComponentApplicationApache sets field value

func (CreateScanRequestIncludeBrRisks) ToMap

func (o CreateScanRequestIncludeBrRisks) ToMap() (map[string]interface{}, error)

func (*CreateScanRequestIncludeBrRisks) UnmarshalJSON

func (o *CreateScanRequestIncludeBrRisks) UnmarshalJSON(data []byte) (err error)

type CreateScanSeedRequest

type CreateScanSeedRequest struct {
	// Seed name
	Name string `json:"name"`
	// Seed type
	Type string `json:"type"`
	// Optional tags to describe seeds
	Tags                 []string `json:"tags,omitempty"`
	AdditionalProperties map[string]interface{}
}

CreateScanSeedRequest struct for CreateScanSeedRequest

func NewCreateScanSeedRequest

func NewCreateScanSeedRequest(name string, type_ string) *CreateScanSeedRequest

NewCreateScanSeedRequest instantiates a new CreateScanSeedRequest 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

func NewCreateScanSeedRequestWithDefaults

func NewCreateScanSeedRequestWithDefaults() *CreateScanSeedRequest

NewCreateScanSeedRequestWithDefaults instantiates a new CreateScanSeedRequest 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

func (*CreateScanSeedRequest) GetName

func (o *CreateScanSeedRequest) GetName() string

GetName returns the Name field value

func (*CreateScanSeedRequest) GetNameOk

func (o *CreateScanSeedRequest) GetNameOk() (*string, bool)

GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.

func (*CreateScanSeedRequest) GetTags

func (o *CreateScanSeedRequest) GetTags() []string

GetTags returns the Tags field value if set, zero value otherwise.

func (*CreateScanSeedRequest) GetTagsOk

func (o *CreateScanSeedRequest) GetTagsOk() ([]string, bool)

GetTagsOk returns a tuple with the Tags field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CreateScanSeedRequest) GetType

func (o *CreateScanSeedRequest) GetType() string

GetType returns the Type field value

func (*CreateScanSeedRequest) GetTypeOk

func (o *CreateScanSeedRequest) GetTypeOk() (*string, bool)

GetTypeOk returns a tuple with the Type field value and a boolean to check if the value has been set.

func (*CreateScanSeedRequest) HasTags

func (o *CreateScanSeedRequest) HasTags() bool

HasTags returns a boolean if a field has been set.

func (CreateScanSeedRequest) MarshalJSON

func (o CreateScanSeedRequest) MarshalJSON() ([]byte, error)

func (*CreateScanSeedRequest) SetName

func (o *CreateScanSeedRequest) SetName(v string)

SetName sets field value

func (*CreateScanSeedRequest) SetTags

func (o *CreateScanSeedRequest) SetTags(v []string)

SetTags gets a reference to the given []string and assigns it to the Tags field.

func (*CreateScanSeedRequest) SetType

func (o *CreateScanSeedRequest) SetType(v string)

SetType sets field value

func (CreateScanSeedRequest) ToMap

func (o CreateScanSeedRequest) ToMap() (map[string]interface{}, error)

func (*CreateScanSeedRequest) UnmarshalJSON

func (o *CreateScanSeedRequest) UnmarshalJSON(data []byte) (err error)

type CreateSummaryReportBody

type CreateSummaryReportBody struct {
	Type ReportType `json:"type"`
	// Scan ID
	ScanId string `json:"scan_id"`
	// Report display name
	Name string `json:"name"`
	// Send email notification when report is ready
	SendEmail *bool `json:"send_email,omitempty"`
	// IANA Time zone
	TimeZone string `json:"time_zone"`
	// Executive summary
	ExecutiveSummary *string              `json:"executive_summary,omitempty"`
	TimeSelection    *ReportTimeSelection `json:"time_selection,omitempty"`
	// Display organisation logo in report header. Requires feature to be enabled for the organisation.
	Branded              *bool `json:"branded,omitempty"`
	AdditionalProperties map[string]interface{}
}

CreateSummaryReportBody struct for CreateSummaryReportBody

func NewCreateSummaryReportBody

func NewCreateSummaryReportBody(type_ ReportType, scanId string, name string, timeZone string) *CreateSummaryReportBody

NewCreateSummaryReportBody instantiates a new CreateSummaryReportBody 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

func NewCreateSummaryReportBodyWithDefaults

func NewCreateSummaryReportBodyWithDefaults() *CreateSummaryReportBody

NewCreateSummaryReportBodyWithDefaults instantiates a new CreateSummaryReportBody 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

func (*CreateSummaryReportBody) GetBranded

func (o *CreateSummaryReportBody) GetBranded() bool

GetBranded returns the Branded field value if set, zero value otherwise.

func (*CreateSummaryReportBody) GetBrandedOk

func (o *CreateSummaryReportBody) GetBrandedOk() (*bool, bool)

GetBrandedOk returns a tuple with the Branded field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CreateSummaryReportBody) GetExecutiveSummary

func (o *CreateSummaryReportBody) GetExecutiveSummary() string

GetExecutiveSummary returns the ExecutiveSummary field value if set, zero value otherwise.

func (*CreateSummaryReportBody) GetExecutiveSummaryOk

func (o *CreateSummaryReportBody) GetExecutiveSummaryOk() (*string, bool)

GetExecutiveSummaryOk returns a tuple with the ExecutiveSummary field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CreateSummaryReportBody) GetName

func (o *CreateSummaryReportBody) GetName() string

GetName returns the Name field value

func (*CreateSummaryReportBody) GetNameOk

func (o *CreateSummaryReportBody) GetNameOk() (*string, bool)

GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.

func (*CreateSummaryReportBody) GetScanId

func (o *CreateSummaryReportBody) GetScanId() string

GetScanId returns the ScanId field value

func (*CreateSummaryReportBody) GetScanIdOk

func (o *CreateSummaryReportBody) GetScanIdOk() (*string, bool)

GetScanIdOk returns a tuple with the ScanId field value and a boolean to check if the value has been set.

func (*CreateSummaryReportBody) GetSendEmail

func (o *CreateSummaryReportBody) GetSendEmail() bool

GetSendEmail returns the SendEmail field value if set, zero value otherwise.

func (*CreateSummaryReportBody) GetSendEmailOk

func (o *CreateSummaryReportBody) GetSendEmailOk() (*bool, bool)

GetSendEmailOk returns a tuple with the SendEmail field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CreateSummaryReportBody) GetTimeSelection

func (o *CreateSummaryReportBody) GetTimeSelection() ReportTimeSelection

GetTimeSelection returns the TimeSelection field value if set, zero value otherwise.

func (*CreateSummaryReportBody) GetTimeSelectionOk

func (o *CreateSummaryReportBody) GetTimeSelectionOk() (*ReportTimeSelection, bool)

GetTimeSelectionOk returns a tuple with the TimeSelection field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CreateSummaryReportBody) GetTimeZone

func (o *CreateSummaryReportBody) GetTimeZone() string

GetTimeZone returns the TimeZone field value

func (*CreateSummaryReportBody) GetTimeZoneOk

func (o *CreateSummaryReportBody) GetTimeZoneOk() (*string, bool)

GetTimeZoneOk returns a tuple with the TimeZone field value and a boolean to check if the value has been set.

func (*CreateSummaryReportBody) GetType

func (o *CreateSummaryReportBody) GetType() ReportType

GetType returns the Type field value

func (*CreateSummaryReportBody) GetTypeOk

func (o *CreateSummaryReportBody) GetTypeOk() (*ReportType, bool)

GetTypeOk returns a tuple with the Type field value and a boolean to check if the value has been set.

func (*CreateSummaryReportBody) HasBranded

func (o *CreateSummaryReportBody) HasBranded() bool

HasBranded returns a boolean if a field has been set.

func (*CreateSummaryReportBody) HasExecutiveSummary

func (o *CreateSummaryReportBody) HasExecutiveSummary() bool

HasExecutiveSummary returns a boolean if a field has been set.

func (*CreateSummaryReportBody) HasSendEmail

func (o *CreateSummaryReportBody) HasSendEmail() bool

HasSendEmail returns a boolean if a field has been set.

func (*CreateSummaryReportBody) HasTimeSelection

func (o *CreateSummaryReportBody) HasTimeSelection() bool

HasTimeSelection returns a boolean if a field has been set.

func (CreateSummaryReportBody) MarshalJSON

func (o CreateSummaryReportBody) MarshalJSON() ([]byte, error)

func (*CreateSummaryReportBody) SetBranded

func (o *CreateSummaryReportBody) SetBranded(v bool)

SetBranded gets a reference to the given bool and assigns it to the Branded field.

func (*CreateSummaryReportBody) SetExecutiveSummary

func (o *CreateSummaryReportBody) SetExecutiveSummary(v string)

SetExecutiveSummary gets a reference to the given string and assigns it to the ExecutiveSummary field.

func (*CreateSummaryReportBody) SetName

func (o *CreateSummaryReportBody) SetName(v string)

SetName sets field value

func (*CreateSummaryReportBody) SetScanId

func (o *CreateSummaryReportBody) SetScanId(v string)

SetScanId sets field value

func (*CreateSummaryReportBody) SetSendEmail

func (o *CreateSummaryReportBody) SetSendEmail(v bool)

SetSendEmail gets a reference to the given bool and assigns it to the SendEmail field.

func (*CreateSummaryReportBody) SetTimeSelection

func (o *CreateSummaryReportBody) SetTimeSelection(v ReportTimeSelection)

SetTimeSelection gets a reference to the given ReportTimeSelection and assigns it to the TimeSelection field.

func (*CreateSummaryReportBody) SetTimeZone

func (o *CreateSummaryReportBody) SetTimeZone(v string)

SetTimeZone sets field value

func (*CreateSummaryReportBody) SetType

func (o *CreateSummaryReportBody) SetType(v ReportType)

SetType sets field value

func (CreateSummaryReportBody) ToMap

func (o CreateSummaryReportBody) ToMap() (map[string]interface{}, error)

func (*CreateSummaryReportBody) UnmarshalJSON

func (o *CreateSummaryReportBody) UnmarshalJSON(data []byte) (err error)

type DomainGraphNode

type DomainGraphNode struct {
	Id                   string    `json:"id"`
	ScanId               string    `json:"scan_id"`
	Label                string    `json:"label"`
	Name                 string    `json:"name"`
	Created              time.Time `json:"created"`
	Updated              time.Time `json:"updated"`
	LastSeen             time.Time `json:"last_seen"`
	Ignored              bool      `json:"ignored"`
	IpsIgnored           bool      `json:"ips_ignored"`
	AdditionalProperties map[string]interface{}
}

DomainGraphNode struct for DomainGraphNode

func NewDomainGraphNode

func NewDomainGraphNode(id string, scanId string, label string, name string, created time.Time, updated time.Time, lastSeen time.Time, ignored bool, ipsIgnored bool) *DomainGraphNode

NewDomainGraphNode instantiates a new DomainGraphNode 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

func NewDomainGraphNodeWithDefaults

func NewDomainGraphNodeWithDefaults() *DomainGraphNode

NewDomainGraphNodeWithDefaults instantiates a new DomainGraphNode 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

func (*DomainGraphNode) GetCreated

func (o *DomainGraphNode) GetCreated() time.Time

GetCreated returns the Created field value

func (*DomainGraphNode) GetCreatedOk

func (o *DomainGraphNode) GetCreatedOk() (*time.Time, bool)

GetCreatedOk returns a tuple with the Created field value and a boolean to check if the value has been set.

func (*DomainGraphNode) GetId

func (o *DomainGraphNode) GetId() string

GetId returns the Id field value

func (*DomainGraphNode) GetIdOk

func (o *DomainGraphNode) GetIdOk() (*string, bool)

GetIdOk returns a tuple with the Id field value and a boolean to check if the value has been set.

func (*DomainGraphNode) GetIgnored

func (o *DomainGraphNode) GetIgnored() bool

GetIgnored returns the Ignored field value

func (*DomainGraphNode) GetIgnoredOk

func (o *DomainGraphNode) GetIgnoredOk() (*bool, bool)

GetIgnoredOk returns a tuple with the Ignored field value and a boolean to check if the value has been set.

func (*DomainGraphNode) GetIpsIgnored

func (o *DomainGraphNode) GetIpsIgnored() bool

GetIpsIgnored returns the IpsIgnored field value

func (*DomainGraphNode) GetIpsIgnoredOk

func (o *DomainGraphNode) GetIpsIgnoredOk() (*bool, bool)

GetIpsIgnoredOk returns a tuple with the IpsIgnored field value and a boolean to check if the value has been set.

func (*DomainGraphNode) GetLabel

func (o *DomainGraphNode) GetLabel() string

GetLabel returns the Label field value

func (*DomainGraphNode) GetLabelOk

func (o *DomainGraphNode) GetLabelOk() (*string, bool)

GetLabelOk returns a tuple with the Label field value and a boolean to check if the value has been set.

func (*DomainGraphNode) GetLastSeen

func (o *DomainGraphNode) GetLastSeen() time.Time

GetLastSeen returns the LastSeen field value

func (*DomainGraphNode) GetLastSeenOk

func (o *DomainGraphNode) GetLastSeenOk() (*time.Time, bool)

GetLastSeenOk returns a tuple with the LastSeen field value and a boolean to check if the value has been set.

func (*DomainGraphNode) GetName

func (o *DomainGraphNode) GetName() string

GetName returns the Name field value

func (*DomainGraphNode) GetNameOk

func (o *DomainGraphNode) GetNameOk() (*string, bool)

GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.

func (*DomainGraphNode) GetScanId

func (o *DomainGraphNode) GetScanId() string

GetScanId returns the ScanId field value

func (*DomainGraphNode) GetScanIdOk

func (o *DomainGraphNode) GetScanIdOk() (*string, bool)

GetScanIdOk returns a tuple with the ScanId field value and a boolean to check if the value has been set.

func (*DomainGraphNode) GetUpdated

func (o *DomainGraphNode) GetUpdated() time.Time

GetUpdated returns the Updated field value

func (*DomainGraphNode) GetUpdatedOk

func (o *DomainGraphNode) GetUpdatedOk() (*time.Time, bool)

GetUpdatedOk returns a tuple with the Updated field value and a boolean to check if the value has been set.

func (DomainGraphNode) MarshalJSON

func (o DomainGraphNode) MarshalJSON() ([]byte, error)

func (*DomainGraphNode) SetCreated

func (o *DomainGraphNode) SetCreated(v time.Time)

SetCreated sets field value

func (*DomainGraphNode) SetId

func (o *DomainGraphNode) SetId(v string)

SetId sets field value

func (*DomainGraphNode) SetIgnored

func (o *DomainGraphNode) SetIgnored(v bool)

SetIgnored sets field value

func (*DomainGraphNode) SetIpsIgnored

func (o *DomainGraphNode) SetIpsIgnored(v bool)

SetIpsIgnored sets field value

func (*DomainGraphNode) SetLabel

func (o *DomainGraphNode) SetLabel(v string)

SetLabel sets field value

func (*DomainGraphNode) SetLastSeen

func (o *DomainGraphNode) SetLastSeen(v time.Time)

SetLastSeen sets field value

func (*DomainGraphNode) SetName

func (o *DomainGraphNode) SetName(v string)

SetName sets field value

func (*DomainGraphNode) SetScanId

func (o *DomainGraphNode) SetScanId(v string)

SetScanId sets field value

func (*DomainGraphNode) SetUpdated

func (o *DomainGraphNode) SetUpdated(v time.Time)

SetUpdated sets field value

func (DomainGraphNode) ToMap

func (o DomainGraphNode) ToMap() (map[string]interface{}, error)

func (*DomainGraphNode) UnmarshalJSON

func (o *DomainGraphNode) UnmarshalJSON(data []byte) (err error)

type ErrorResponse

type ErrorResponse struct {
	// Short code for the specific error type that occurred
	Code                 string `json:"code"`
	AdditionalProperties map[string]interface{}
}

ErrorResponse struct for ErrorResponse

func NewErrorResponse

func NewErrorResponse(code string) *ErrorResponse

NewErrorResponse instantiates a new ErrorResponse 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

func NewErrorResponseWithDefaults

func NewErrorResponseWithDefaults() *ErrorResponse

NewErrorResponseWithDefaults instantiates a new ErrorResponse 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

func (*ErrorResponse) GetCode

func (o *ErrorResponse) GetCode() string

GetCode returns the Code field value

func (*ErrorResponse) GetCodeOk

func (o *ErrorResponse) GetCodeOk() (*string, bool)

GetCodeOk returns a tuple with the Code field value and a boolean to check if the value has been set.

func (ErrorResponse) MarshalJSON

func (o ErrorResponse) MarshalJSON() ([]byte, error)

func (*ErrorResponse) SetCode

func (o *ErrorResponse) SetCode(v string)

SetCode sets field value

func (ErrorResponse) ToMap

func (o ErrorResponse) ToMap() (map[string]interface{}, error)

func (*ErrorResponse) UnmarshalJSON

func (o *ErrorResponse) UnmarshalJSON(data []byte) (err error)

type GenericGraphNode

type GenericGraphNode struct {
	Id                   string    `json:"id"`
	ScanId               string    `json:"scan_id"`
	Label                string    `json:"label"`
	Name                 string    `json:"name"`
	Created              time.Time `json:"created"`
	Updated              time.Time `json:"updated"`
	LastSeen             time.Time `json:"last_seen"`
	AdditionalProperties map[string]interface{}
}

GenericGraphNode struct for GenericGraphNode

func NewGenericGraphNode

func NewGenericGraphNode(id string, scanId string, label string, name string, created time.Time, updated time.Time, lastSeen time.Time) *GenericGraphNode

NewGenericGraphNode instantiates a new GenericGraphNode 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

func NewGenericGraphNodeWithDefaults

func NewGenericGraphNodeWithDefaults() *GenericGraphNode

NewGenericGraphNodeWithDefaults instantiates a new GenericGraphNode 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

func (*GenericGraphNode) GetCreated

func (o *GenericGraphNode) GetCreated() time.Time

GetCreated returns the Created field value

func (*GenericGraphNode) GetCreatedOk

func (o *GenericGraphNode) GetCreatedOk() (*time.Time, bool)

GetCreatedOk returns a tuple with the Created field value and a boolean to check if the value has been set.

func (*GenericGraphNode) GetId

func (o *GenericGraphNode) GetId() string

GetId returns the Id field value

func (*GenericGraphNode) GetIdOk

func (o *GenericGraphNode) GetIdOk() (*string, bool)

GetIdOk returns a tuple with the Id field value and a boolean to check if the value has been set.

func (*GenericGraphNode) GetLabel

func (o *GenericGraphNode) GetLabel() string

GetLabel returns the Label field value

func (*GenericGraphNode) GetLabelOk

func (o *GenericGraphNode) GetLabelOk() (*string, bool)

GetLabelOk returns a tuple with the Label field value and a boolean to check if the value has been set.

func (*GenericGraphNode) GetLastSeen

func (o *GenericGraphNode) GetLastSeen() time.Time

GetLastSeen returns the LastSeen field value

func (*GenericGraphNode) GetLastSeenOk

func (o *GenericGraphNode) GetLastSeenOk() (*time.Time, bool)

GetLastSeenOk returns a tuple with the LastSeen field value and a boolean to check if the value has been set.

func (*GenericGraphNode) GetName

func (o *GenericGraphNode) GetName() string

GetName returns the Name field value

func (*GenericGraphNode) GetNameOk

func (o *GenericGraphNode) GetNameOk() (*string, bool)

GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.

func (*GenericGraphNode) GetScanId

func (o *GenericGraphNode) GetScanId() string

GetScanId returns the ScanId field value

func (*GenericGraphNode) GetScanIdOk

func (o *GenericGraphNode) GetScanIdOk() (*string, bool)

GetScanIdOk returns a tuple with the ScanId field value and a boolean to check if the value has been set.

func (*GenericGraphNode) GetUpdated

func (o *GenericGraphNode) GetUpdated() time.Time

GetUpdated returns the Updated field value

func (*GenericGraphNode) GetUpdatedOk

func (o *GenericGraphNode) GetUpdatedOk() (*time.Time, bool)

GetUpdatedOk returns a tuple with the Updated field value and a boolean to check if the value has been set.

func (GenericGraphNode) MarshalJSON

func (o GenericGraphNode) MarshalJSON() ([]byte, error)

func (*GenericGraphNode) SetCreated

func (o *GenericGraphNode) SetCreated(v time.Time)

SetCreated sets field value

func (*GenericGraphNode) SetId

func (o *GenericGraphNode) SetId(v string)

SetId sets field value

func (*GenericGraphNode) SetLabel

func (o *GenericGraphNode) SetLabel(v string)

SetLabel sets field value

func (*GenericGraphNode) SetLastSeen

func (o *GenericGraphNode) SetLastSeen(v time.Time)

SetLastSeen sets field value

func (*GenericGraphNode) SetName

func (o *GenericGraphNode) SetName(v string)

SetName sets field value

func (*GenericGraphNode) SetScanId

func (o *GenericGraphNode) SetScanId(v string)

SetScanId sets field value

func (*GenericGraphNode) SetUpdated

func (o *GenericGraphNode) SetUpdated(v time.Time)

SetUpdated sets field value

func (GenericGraphNode) ToMap

func (o GenericGraphNode) ToMap() (map[string]interface{}, error)

func (*GenericGraphNode) UnmarshalJSON

func (o *GenericGraphNode) UnmarshalJSON(data []byte) (err error)

type GenericOpenAPIError

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

GenericOpenAPIError Provides access to the body, error and model on returned errors.

func (GenericOpenAPIError) Body

func (e GenericOpenAPIError) Body() []byte

Body returns the raw bytes of the response

func (GenericOpenAPIError) Error

func (e GenericOpenAPIError) Error() string

Error returns non-empty string if there was an error.

func (GenericOpenAPIError) Model

func (e GenericOpenAPIError) Model() interface{}

Model returns the unpacked model of the error

type GraphAPIService

type GraphAPIService service

GraphAPIService GraphAPI service

func (*GraphAPIService) UpdateNodeById

func (a *GraphAPIService) UpdateNodeById(ctx context.Context, id string) ApiUpdateNodeByIdRequest

UpdateNodeById Update a node by ID

Required role: `scans:write`

This endpoint allows you to set a node as a primary or secondary asset, and ignore IPs.

Ignoring IPs can be used to mark CDN hosted domains and hide IP risks (mark IPs as secondary assets) linked to these domains.

**Note:**

  • Only **Domain**, **IPv4** or **IPv6** nodes can be marked as secondary assets.
  • Only **Domain** nodes can be marked to ignore IPs, and the associated organisation must have this feature enabled.
  • You can not use both the deprecated *remove_from_scope* and the *mark_as_secondary* parameters, use one or the other.

This endpoint requires that the associated organisation has API access enabled. If API access is not allowed, the response code will be 403 (Forbidden).

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param id Node ID
@return ApiUpdateNodeByIdRequest

func (*GraphAPIService) UpdateNodeByIdExecute

func (a *GraphAPIService) UpdateNodeByIdExecute(r ApiUpdateNodeByIdRequest) (*GenericGraphNode, *http.Response, error)

Execute executes the request

@return GenericGraphNode

type Group

type Group struct {
	Id                   string                 `json:"id"`
	Name                 string                 `json:"name"`
	Created              time.Time              `json:"created"`
	Priority             float32                `json:"priority"`
	Type                 string                 `json:"type"`
	Attributes           map[string]interface{} `json:"attributes,omitempty"`
	AdditionalProperties map[string]interface{}
}

Group struct for Group

func NewGroup

func NewGroup(id string, name string, created time.Time, priority float32, type_ string) *Group

NewGroup instantiates a new Group 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

func NewGroupWithDefaults

func NewGroupWithDefaults() *Group

NewGroupWithDefaults instantiates a new Group 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

func (*Group) GetAttributes

func (o *Group) GetAttributes() map[string]interface{}

GetAttributes returns the Attributes field value if set, zero value otherwise.

func (*Group) GetAttributesOk

func (o *Group) GetAttributesOk() (map[string]interface{}, bool)

GetAttributesOk returns a tuple with the Attributes field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Group) GetCreated

func (o *Group) GetCreated() time.Time

GetCreated returns the Created field value

func (*Group) GetCreatedOk

func (o *Group) GetCreatedOk() (*time.Time, bool)

GetCreatedOk returns a tuple with the Created field value and a boolean to check if the value has been set.

func (*Group) GetId

func (o *Group) GetId() string

GetId returns the Id field value

func (*Group) GetIdOk

func (o *Group) GetIdOk() (*string, bool)

GetIdOk returns a tuple with the Id field value and a boolean to check if the value has been set.

func (*Group) GetName

func (o *Group) GetName() string

GetName returns the Name field value

func (*Group) GetNameOk

func (o *Group) GetNameOk() (*string, bool)

GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.

func (*Group) GetPriority

func (o *Group) GetPriority() float32

GetPriority returns the Priority field value

func (*Group) GetPriorityOk

func (o *Group) GetPriorityOk() (*float32, bool)

GetPriorityOk returns a tuple with the Priority field value and a boolean to check if the value has been set.

func (*Group) GetType

func (o *Group) GetType() string

GetType returns the Type field value

func (*Group) GetTypeOk

func (o *Group) GetTypeOk() (*string, bool)

GetTypeOk returns a tuple with the Type field value and a boolean to check if the value has been set.

func (*Group) HasAttributes

func (o *Group) HasAttributes() bool

HasAttributes returns a boolean if a field has been set.

func (Group) MarshalJSON

func (o Group) MarshalJSON() ([]byte, error)

func (*Group) SetAttributes

func (o *Group) SetAttributes(v map[string]interface{})

SetAttributes gets a reference to the given map[string]interface{} and assigns it to the Attributes field.

func (*Group) SetCreated

func (o *Group) SetCreated(v time.Time)

SetCreated sets field value

func (*Group) SetId

func (o *Group) SetId(v string)

SetId sets field value

func (*Group) SetName

func (o *Group) SetName(v string)

SetName sets field value

func (*Group) SetPriority

func (o *Group) SetPriority(v float32)

SetPriority sets field value

func (*Group) SetType

func (o *Group) SetType(v string)

SetType sets field value

func (Group) ToMap

func (o Group) ToMap() (map[string]interface{}, error)

func (*Group) UnmarshalJSON

func (o *Group) UnmarshalJSON(data []byte) (err error)

type InlineObject

type InlineObject struct {
	Count                *int32 `json:"count,omitempty"`
	AdditionalProperties map[string]interface{}
}

InlineObject struct for InlineObject

func NewInlineObject

func NewInlineObject() *InlineObject

NewInlineObject instantiates a new InlineObject 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

func NewInlineObjectWithDefaults

func NewInlineObjectWithDefaults() *InlineObject

NewInlineObjectWithDefaults instantiates a new InlineObject 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

func (*InlineObject) GetCount

func (o *InlineObject) GetCount() int32

GetCount returns the Count field value if set, zero value otherwise.

func (*InlineObject) GetCountOk

func (o *InlineObject) GetCountOk() (*int32, bool)

GetCountOk returns a tuple with the Count field value if set, nil otherwise and a boolean to check if the value has been set.

func (*InlineObject) HasCount

func (o *InlineObject) HasCount() bool

HasCount returns a boolean if a field has been set.

func (InlineObject) MarshalJSON

func (o InlineObject) MarshalJSON() ([]byte, error)

func (*InlineObject) SetCount

func (o *InlineObject) SetCount(v int32)

SetCount gets a reference to the given int32 and assigns it to the Count field.

func (InlineObject) ToMap

func (o InlineObject) ToMap() (map[string]interface{}, error)

func (*InlineObject) UnmarshalJSON

func (o *InlineObject) UnmarshalJSON(data []byte) (err error)

type MappedNullable

type MappedNullable interface {
	ToMap() (map[string]interface{}, error)
}

type NodeResponse

type NodeResponse struct {
	Id                   string                 `json:"id"`
	ScanId               string                 `json:"scan_id"`
	Label                string                 `json:"label"`
	Deleted              bool                   `json:"deleted"`
	Hash                 string                 `json:"hash"`
	Metadata             map[string]interface{} `json:"metadata"`
	Created              time.Time              `json:"created"`
	Updated              time.Time              `json:"updated"`
	LastSeen             time.Time              `json:"last_seen"`
	AdditionalProperties map[string]interface{}
}

NodeResponse struct for NodeResponse

func NewNodeResponse

func NewNodeResponse(id string, scanId string, label string, deleted bool, hash string, metadata map[string]interface{}, created time.Time, updated time.Time, lastSeen time.Time) *NodeResponse

NewNodeResponse instantiates a new NodeResponse 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

func NewNodeResponseWithDefaults

func NewNodeResponseWithDefaults() *NodeResponse

NewNodeResponseWithDefaults instantiates a new NodeResponse 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

func (*NodeResponse) GetCreated

func (o *NodeResponse) GetCreated() time.Time

GetCreated returns the Created field value

func (*NodeResponse) GetCreatedOk

func (o *NodeResponse) GetCreatedOk() (*time.Time, bool)

GetCreatedOk returns a tuple with the Created field value and a boolean to check if the value has been set.

func (*NodeResponse) GetDeleted

func (o *NodeResponse) GetDeleted() bool

GetDeleted returns the Deleted field value

func (*NodeResponse) GetDeletedOk

func (o *NodeResponse) GetDeletedOk() (*bool, bool)

GetDeletedOk returns a tuple with the Deleted field value and a boolean to check if the value has been set.

func (*NodeResponse) GetHash

func (o *NodeResponse) GetHash() string

GetHash returns the Hash field value

func (*NodeResponse) GetHashOk

func (o *NodeResponse) GetHashOk() (*string, bool)

GetHashOk returns a tuple with the Hash field value and a boolean to check if the value has been set.

func (*NodeResponse) GetId

func (o *NodeResponse) GetId() string

GetId returns the Id field value

func (*NodeResponse) GetIdOk

func (o *NodeResponse) GetIdOk() (*string, bool)

GetIdOk returns a tuple with the Id field value and a boolean to check if the value has been set.

func (*NodeResponse) GetLabel

func (o *NodeResponse) GetLabel() string

GetLabel returns the Label field value

func (*NodeResponse) GetLabelOk

func (o *NodeResponse) GetLabelOk() (*string, bool)

GetLabelOk returns a tuple with the Label field value and a boolean to check if the value has been set.

func (*NodeResponse) GetLastSeen

func (o *NodeResponse) GetLastSeen() time.Time

GetLastSeen returns the LastSeen field value

func (*NodeResponse) GetLastSeenOk

func (o *NodeResponse) GetLastSeenOk() (*time.Time, bool)

GetLastSeenOk returns a tuple with the LastSeen field value and a boolean to check if the value has been set.

func (*NodeResponse) GetMetadata

func (o *NodeResponse) GetMetadata() map[string]interface{}

GetMetadata returns the Metadata field value

func (*NodeResponse) GetMetadataOk

func (o *NodeResponse) GetMetadataOk() (map[string]interface{}, bool)

GetMetadataOk returns a tuple with the Metadata field value and a boolean to check if the value has been set.

func (*NodeResponse) GetScanId

func (o *NodeResponse) GetScanId() string

GetScanId returns the ScanId field value

func (*NodeResponse) GetScanIdOk

func (o *NodeResponse) GetScanIdOk() (*string, bool)

GetScanIdOk returns a tuple with the ScanId field value and a boolean to check if the value has been set.

func (*NodeResponse) GetUpdated

func (o *NodeResponse) GetUpdated() time.Time

GetUpdated returns the Updated field value

func (*NodeResponse) GetUpdatedOk

func (o *NodeResponse) GetUpdatedOk() (*time.Time, bool)

GetUpdatedOk returns a tuple with the Updated field value and a boolean to check if the value has been set.

func (NodeResponse) MarshalJSON

func (o NodeResponse) MarshalJSON() ([]byte, error)

func (*NodeResponse) SetCreated

func (o *NodeResponse) SetCreated(v time.Time)

SetCreated sets field value

func (*NodeResponse) SetDeleted

func (o *NodeResponse) SetDeleted(v bool)

SetDeleted sets field value

func (*NodeResponse) SetHash

func (o *NodeResponse) SetHash(v string)

SetHash sets field value

func (*NodeResponse) SetId

func (o *NodeResponse) SetId(v string)

SetId sets field value

func (*NodeResponse) SetLabel

func (o *NodeResponse) SetLabel(v string)

SetLabel sets field value

func (*NodeResponse) SetLastSeen

func (o *NodeResponse) SetLastSeen(v time.Time)

SetLastSeen sets field value

func (*NodeResponse) SetMetadata

func (o *NodeResponse) SetMetadata(v map[string]interface{})

SetMetadata sets field value

func (*NodeResponse) SetScanId

func (o *NodeResponse) SetScanId(v string)

SetScanId sets field value

func (*NodeResponse) SetUpdated

func (o *NodeResponse) SetUpdated(v time.Time)

SetUpdated sets field value

func (NodeResponse) ToMap

func (o NodeResponse) ToMap() (map[string]interface{}, error)

func (*NodeResponse) UnmarshalJSON

func (o *NodeResponse) UnmarshalJSON(data []byte) (err error)

type NullableActionLinkResponse

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

func NewNullableActionLinkResponse

func NewNullableActionLinkResponse(val *ActionLinkResponse) *NullableActionLinkResponse

func (NullableActionLinkResponse) Get

func (NullableActionLinkResponse) IsSet

func (v NullableActionLinkResponse) IsSet() bool

func (NullableActionLinkResponse) MarshalJSON

func (v NullableActionLinkResponse) MarshalJSON() ([]byte, error)

func (*NullableActionLinkResponse) Set

func (*NullableActionLinkResponse) UnmarshalJSON

func (v *NullableActionLinkResponse) UnmarshalJSON(src []byte) error

func (*NullableActionLinkResponse) Unset

func (v *NullableActionLinkResponse) Unset()

type NullableActionResponse

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

func NewNullableActionResponse

func NewNullableActionResponse(val *ActionResponse) *NullableActionResponse

func (NullableActionResponse) Get

func (NullableActionResponse) IsSet

func (v NullableActionResponse) IsSet() bool

func (NullableActionResponse) MarshalJSON

func (v NullableActionResponse) MarshalJSON() ([]byte, error)

func (*NullableActionResponse) Set

func (*NullableActionResponse) UnmarshalJSON

func (v *NullableActionResponse) UnmarshalJSON(src []byte) error

func (*NullableActionResponse) Unset

func (v *NullableActionResponse) Unset()

type NullableAuthResponse

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

func NewNullableAuthResponse

func NewNullableAuthResponse(val *AuthResponse) *NullableAuthResponse

func (NullableAuthResponse) Get

func (NullableAuthResponse) IsSet

func (v NullableAuthResponse) IsSet() bool

func (NullableAuthResponse) MarshalJSON

func (v NullableAuthResponse) MarshalJSON() ([]byte, error)

func (*NullableAuthResponse) Set

func (v *NullableAuthResponse) Set(val *AuthResponse)

func (*NullableAuthResponse) UnmarshalJSON

func (v *NullableAuthResponse) UnmarshalJSON(src []byte) error

func (*NullableAuthResponse) Unset

func (v *NullableAuthResponse) Unset()

type NullableBool

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

func NewNullableBool

func NewNullableBool(val *bool) *NullableBool

func (NullableBool) Get

func (v NullableBool) Get() *bool

func (NullableBool) IsSet

func (v NullableBool) IsSet() bool

func (NullableBool) MarshalJSON

func (v NullableBool) MarshalJSON() ([]byte, error)

func (*NullableBool) Set

func (v *NullableBool) Set(val *bool)

func (*NullableBool) UnmarshalJSON

func (v *NullableBool) UnmarshalJSON(src []byte) error

func (*NullableBool) Unset

func (v *NullableBool) Unset()

type NullableCompleteReportTemplateUploadBody

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

func (NullableCompleteReportTemplateUploadBody) Get

func (NullableCompleteReportTemplateUploadBody) IsSet

func (NullableCompleteReportTemplateUploadBody) MarshalJSON

func (*NullableCompleteReportTemplateUploadBody) Set

func (*NullableCompleteReportTemplateUploadBody) UnmarshalJSON

func (v *NullableCompleteReportTemplateUploadBody) UnmarshalJSON(src []byte) error

func (*NullableCompleteReportTemplateUploadBody) Unset

type NullableCreateExcelSummaryReportBody

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

func (NullableCreateExcelSummaryReportBody) Get

func (NullableCreateExcelSummaryReportBody) IsSet

func (NullableCreateExcelSummaryReportBody) MarshalJSON

func (v NullableCreateExcelSummaryReportBody) MarshalJSON() ([]byte, error)

func (*NullableCreateExcelSummaryReportBody) Set

func (*NullableCreateExcelSummaryReportBody) UnmarshalJSON

func (v *NullableCreateExcelSummaryReportBody) UnmarshalJSON(src []byte) error

func (*NullableCreateExcelSummaryReportBody) Unset

type NullableCreateReportRequest

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

func NewNullableCreateReportRequest

func NewNullableCreateReportRequest(val *CreateReportRequest) *NullableCreateReportRequest

func (NullableCreateReportRequest) Get

func (NullableCreateReportRequest) IsSet

func (NullableCreateReportRequest) MarshalJSON

func (v NullableCreateReportRequest) MarshalJSON() ([]byte, error)

func (*NullableCreateReportRequest) Set

func (*NullableCreateReportRequest) UnmarshalJSON

func (v *NullableCreateReportRequest) UnmarshalJSON(src []byte) error

func (*NullableCreateReportRequest) Unset

func (v *NullableCreateReportRequest) Unset()

type NullableCreateReportTemplateBody

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

func (NullableCreateReportTemplateBody) Get

func (NullableCreateReportTemplateBody) IsSet

func (NullableCreateReportTemplateBody) MarshalJSON

func (v NullableCreateReportTemplateBody) MarshalJSON() ([]byte, error)

func (*NullableCreateReportTemplateBody) Set

func (*NullableCreateReportTemplateBody) UnmarshalJSON

func (v *NullableCreateReportTemplateBody) UnmarshalJSON(src []byte) error

func (*NullableCreateReportTemplateBody) Unset

type NullableCreateScanRequest

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

func NewNullableCreateScanRequest

func NewNullableCreateScanRequest(val *CreateScanRequest) *NullableCreateScanRequest

func (NullableCreateScanRequest) Get

func (NullableCreateScanRequest) IsSet

func (v NullableCreateScanRequest) IsSet() bool

func (NullableCreateScanRequest) MarshalJSON

func (v NullableCreateScanRequest) MarshalJSON() ([]byte, error)

func (*NullableCreateScanRequest) Set

func (*NullableCreateScanRequest) UnmarshalJSON

func (v *NullableCreateScanRequest) UnmarshalJSON(src []byte) error

func (*NullableCreateScanRequest) Unset

func (v *NullableCreateScanRequest) Unset()

type NullableCreateScanRequestIncludeBrRisks

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

func (NullableCreateScanRequestIncludeBrRisks) Get

func (NullableCreateScanRequestIncludeBrRisks) IsSet

func (NullableCreateScanRequestIncludeBrRisks) MarshalJSON

func (v NullableCreateScanRequestIncludeBrRisks) MarshalJSON() ([]byte, error)

func (*NullableCreateScanRequestIncludeBrRisks) Set

func (*NullableCreateScanRequestIncludeBrRisks) UnmarshalJSON

func (v *NullableCreateScanRequestIncludeBrRisks) UnmarshalJSON(src []byte) error

func (*NullableCreateScanRequestIncludeBrRisks) Unset

type NullableCreateScanSeedRequest

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

func (NullableCreateScanSeedRequest) Get

func (NullableCreateScanSeedRequest) IsSet

func (NullableCreateScanSeedRequest) MarshalJSON

func (v NullableCreateScanSeedRequest) MarshalJSON() ([]byte, error)

func (*NullableCreateScanSeedRequest) Set

func (*NullableCreateScanSeedRequest) UnmarshalJSON

func (v *NullableCreateScanSeedRequest) UnmarshalJSON(src []byte) error

func (*NullableCreateScanSeedRequest) Unset

func (v *NullableCreateScanSeedRequest) Unset()

type NullableCreateSummaryReportBody

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

func (NullableCreateSummaryReportBody) Get

func (NullableCreateSummaryReportBody) IsSet

func (NullableCreateSummaryReportBody) MarshalJSON

func (v NullableCreateSummaryReportBody) MarshalJSON() ([]byte, error)

func (*NullableCreateSummaryReportBody) Set

func (*NullableCreateSummaryReportBody) UnmarshalJSON

func (v *NullableCreateSummaryReportBody) UnmarshalJSON(src []byte) error

func (*NullableCreateSummaryReportBody) Unset

type NullableDomainGraphNode

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

func NewNullableDomainGraphNode

func NewNullableDomainGraphNode(val *DomainGraphNode) *NullableDomainGraphNode

func (NullableDomainGraphNode) Get

func (NullableDomainGraphNode) IsSet

func (v NullableDomainGraphNode) IsSet() bool

func (NullableDomainGraphNode) MarshalJSON

func (v NullableDomainGraphNode) MarshalJSON() ([]byte, error)

func (*NullableDomainGraphNode) Set

func (*NullableDomainGraphNode) UnmarshalJSON

func (v *NullableDomainGraphNode) UnmarshalJSON(src []byte) error

func (*NullableDomainGraphNode) Unset

func (v *NullableDomainGraphNode) Unset()

type NullableErrorResponse

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

func NewNullableErrorResponse

func NewNullableErrorResponse(val *ErrorResponse) *NullableErrorResponse

func (NullableErrorResponse) Get

func (NullableErrorResponse) IsSet

func (v NullableErrorResponse) IsSet() bool

func (NullableErrorResponse) MarshalJSON

func (v NullableErrorResponse) MarshalJSON() ([]byte, error)

func (*NullableErrorResponse) Set

func (v *NullableErrorResponse) Set(val *ErrorResponse)

func (*NullableErrorResponse) UnmarshalJSON

func (v *NullableErrorResponse) UnmarshalJSON(src []byte) error

func (*NullableErrorResponse) Unset

func (v *NullableErrorResponse) Unset()

type NullableFloat32

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

func NewNullableFloat32

func NewNullableFloat32(val *float32) *NullableFloat32

func (NullableFloat32) Get

func (v NullableFloat32) Get() *float32

func (NullableFloat32) IsSet

func (v NullableFloat32) IsSet() bool

func (NullableFloat32) MarshalJSON

func (v NullableFloat32) MarshalJSON() ([]byte, error)

func (*NullableFloat32) Set

func (v *NullableFloat32) Set(val *float32)

func (*NullableFloat32) UnmarshalJSON

func (v *NullableFloat32) UnmarshalJSON(src []byte) error

func (*NullableFloat32) Unset

func (v *NullableFloat32) Unset()

type NullableFloat64

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

func NewNullableFloat64

func NewNullableFloat64(val *float64) *NullableFloat64

func (NullableFloat64) Get

func (v NullableFloat64) Get() *float64

func (NullableFloat64) IsSet

func (v NullableFloat64) IsSet() bool

func (NullableFloat64) MarshalJSON

func (v NullableFloat64) MarshalJSON() ([]byte, error)

func (*NullableFloat64) Set

func (v *NullableFloat64) Set(val *float64)

func (*NullableFloat64) UnmarshalJSON

func (v *NullableFloat64) UnmarshalJSON(src []byte) error

func (*NullableFloat64) Unset

func (v *NullableFloat64) Unset()

type NullableGenericGraphNode

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

func NewNullableGenericGraphNode

func NewNullableGenericGraphNode(val *GenericGraphNode) *NullableGenericGraphNode

func (NullableGenericGraphNode) Get

func (NullableGenericGraphNode) IsSet

func (v NullableGenericGraphNode) IsSet() bool

func (NullableGenericGraphNode) MarshalJSON

func (v NullableGenericGraphNode) MarshalJSON() ([]byte, error)

func (*NullableGenericGraphNode) Set

func (*NullableGenericGraphNode) UnmarshalJSON

func (v *NullableGenericGraphNode) UnmarshalJSON(src []byte) error

func (*NullableGenericGraphNode) Unset

func (v *NullableGenericGraphNode) Unset()

type NullableGroup

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

func NewNullableGroup

func NewNullableGroup(val *Group) *NullableGroup

func (NullableGroup) Get

func (v NullableGroup) Get() *Group

func (NullableGroup) IsSet

func (v NullableGroup) IsSet() bool

func (NullableGroup) MarshalJSON

func (v NullableGroup) MarshalJSON() ([]byte, error)

func (*NullableGroup) Set

func (v *NullableGroup) Set(val *Group)

func (*NullableGroup) UnmarshalJSON

func (v *NullableGroup) UnmarshalJSON(src []byte) error

func (*NullableGroup) Unset

func (v *NullableGroup) Unset()

type NullableInlineObject

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

func NewNullableInlineObject

func NewNullableInlineObject(val *InlineObject) *NullableInlineObject

func (NullableInlineObject) Get

func (NullableInlineObject) IsSet

func (v NullableInlineObject) IsSet() bool

func (NullableInlineObject) MarshalJSON

func (v NullableInlineObject) MarshalJSON() ([]byte, error)

func (*NullableInlineObject) Set

func (v *NullableInlineObject) Set(val *InlineObject)

func (*NullableInlineObject) UnmarshalJSON

func (v *NullableInlineObject) UnmarshalJSON(src []byte) error

func (*NullableInlineObject) Unset

func (v *NullableInlineObject) Unset()

type NullableInt

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

func NewNullableInt

func NewNullableInt(val *int) *NullableInt

func (NullableInt) Get

func (v NullableInt) Get() *int

func (NullableInt) IsSet

func (v NullableInt) IsSet() bool

func (NullableInt) MarshalJSON

func (v NullableInt) MarshalJSON() ([]byte, error)

func (*NullableInt) Set

func (v *NullableInt) Set(val *int)

func (*NullableInt) UnmarshalJSON

func (v *NullableInt) UnmarshalJSON(src []byte) error

func (*NullableInt) Unset

func (v *NullableInt) Unset()

type NullableInt32

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

func NewNullableInt32

func NewNullableInt32(val *int32) *NullableInt32

func (NullableInt32) Get

func (v NullableInt32) Get() *int32

func (NullableInt32) IsSet

func (v NullableInt32) IsSet() bool

func (NullableInt32) MarshalJSON

func (v NullableInt32) MarshalJSON() ([]byte, error)

func (*NullableInt32) Set

func (v *NullableInt32) Set(val *int32)

func (*NullableInt32) UnmarshalJSON

func (v *NullableInt32) UnmarshalJSON(src []byte) error

func (*NullableInt32) Unset

func (v *NullableInt32) Unset()

type NullableInt64

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

func NewNullableInt64

func NewNullableInt64(val *int64) *NullableInt64

func (NullableInt64) Get

func (v NullableInt64) Get() *int64

func (NullableInt64) IsSet

func (v NullableInt64) IsSet() bool

func (NullableInt64) MarshalJSON

func (v NullableInt64) MarshalJSON() ([]byte, error)

func (*NullableInt64) Set

func (v *NullableInt64) Set(val *int64)

func (*NullableInt64) UnmarshalJSON

func (v *NullableInt64) UnmarshalJSON(src []byte) error

func (*NullableInt64) Unset

func (v *NullableInt64) Unset()

type NullableNodeResponse

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

func NewNullableNodeResponse

func NewNullableNodeResponse(val *NodeResponse) *NullableNodeResponse

func (NullableNodeResponse) Get

func (NullableNodeResponse) IsSet

func (v NullableNodeResponse) IsSet() bool

func (NullableNodeResponse) MarshalJSON

func (v NullableNodeResponse) MarshalJSON() ([]byte, error)

func (*NullableNodeResponse) Set

func (v *NullableNodeResponse) Set(val *NodeResponse)

func (*NullableNodeResponse) UnmarshalJSON

func (v *NullableNodeResponse) UnmarshalJSON(src []byte) error

func (*NullableNodeResponse) Unset

func (v *NullableNodeResponse) Unset()

type NullableOrganisationAssetResponse

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

func (NullableOrganisationAssetResponse) Get

func (NullableOrganisationAssetResponse) IsSet

func (NullableOrganisationAssetResponse) MarshalJSON

func (v NullableOrganisationAssetResponse) MarshalJSON() ([]byte, error)

func (*NullableOrganisationAssetResponse) Set

func (*NullableOrganisationAssetResponse) UnmarshalJSON

func (v *NullableOrganisationAssetResponse) UnmarshalJSON(src []byte) error

func (*NullableOrganisationAssetResponse) Unset

type NullableOrganisationResponse

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

func NewNullableOrganisationResponse

func NewNullableOrganisationResponse(val *OrganisationResponse) *NullableOrganisationResponse

func (NullableOrganisationResponse) Get

func (NullableOrganisationResponse) IsSet

func (NullableOrganisationResponse) MarshalJSON

func (v NullableOrganisationResponse) MarshalJSON() ([]byte, error)

func (*NullableOrganisationResponse) Set

func (*NullableOrganisationResponse) UnmarshalJSON

func (v *NullableOrganisationResponse) UnmarshalJSON(src []byte) error

func (*NullableOrganisationResponse) Unset

func (v *NullableOrganisationResponse) Unset()

type NullableReportResponse

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

func NewNullableReportResponse

func NewNullableReportResponse(val *ReportResponse) *NullableReportResponse

func (NullableReportResponse) Get

func (NullableReportResponse) IsSet

func (v NullableReportResponse) IsSet() bool

func (NullableReportResponse) MarshalJSON

func (v NullableReportResponse) MarshalJSON() ([]byte, error)

func (*NullableReportResponse) Set

func (*NullableReportResponse) UnmarshalJSON

func (v *NullableReportResponse) UnmarshalJSON(src []byte) error

func (*NullableReportResponse) Unset

func (v *NullableReportResponse) Unset()

type NullableReportState

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

func NewNullableReportState

func NewNullableReportState(val *ReportState) *NullableReportState

func (NullableReportState) Get

func (NullableReportState) IsSet

func (v NullableReportState) IsSet() bool

func (NullableReportState) MarshalJSON

func (v NullableReportState) MarshalJSON() ([]byte, error)

func (*NullableReportState) Set

func (v *NullableReportState) Set(val *ReportState)

func (*NullableReportState) UnmarshalJSON

func (v *NullableReportState) UnmarshalJSON(src []byte) error

func (*NullableReportState) Unset

func (v *NullableReportState) Unset()

type NullableReportTemplateResponse

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

func (NullableReportTemplateResponse) Get

func (NullableReportTemplateResponse) IsSet

func (NullableReportTemplateResponse) MarshalJSON

func (v NullableReportTemplateResponse) MarshalJSON() ([]byte, error)

func (*NullableReportTemplateResponse) Set

func (*NullableReportTemplateResponse) UnmarshalJSON

func (v *NullableReportTemplateResponse) UnmarshalJSON(src []byte) error

func (*NullableReportTemplateResponse) Unset

func (v *NullableReportTemplateResponse) Unset()

type NullableReportTemplateState

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

func NewNullableReportTemplateState

func NewNullableReportTemplateState(val *ReportTemplateState) *NullableReportTemplateState

func (NullableReportTemplateState) Get

func (NullableReportTemplateState) IsSet

func (NullableReportTemplateState) MarshalJSON

func (v NullableReportTemplateState) MarshalJSON() ([]byte, error)

func (*NullableReportTemplateState) Set

func (*NullableReportTemplateState) UnmarshalJSON

func (v *NullableReportTemplateState) UnmarshalJSON(src []byte) error

func (*NullableReportTemplateState) Unset

func (v *NullableReportTemplateState) Unset()

type NullableReportTimeSelection

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

func NewNullableReportTimeSelection

func NewNullableReportTimeSelection(val *ReportTimeSelection) *NullableReportTimeSelection

func (NullableReportTimeSelection) Get

func (NullableReportTimeSelection) IsSet

func (NullableReportTimeSelection) MarshalJSON

func (v NullableReportTimeSelection) MarshalJSON() ([]byte, error)

func (*NullableReportTimeSelection) Set

func (*NullableReportTimeSelection) UnmarshalJSON

func (v *NullableReportTimeSelection) UnmarshalJSON(src []byte) error

func (*NullableReportTimeSelection) Unset

func (v *NullableReportTimeSelection) Unset()

type NullableReportType

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

func NewNullableReportType

func NewNullableReportType(val *ReportType) *NullableReportType

func (NullableReportType) Get

func (v NullableReportType) Get() *ReportType

func (NullableReportType) IsSet

func (v NullableReportType) IsSet() bool

func (NullableReportType) MarshalJSON

func (v NullableReportType) MarshalJSON() ([]byte, error)

func (*NullableReportType) Set

func (v *NullableReportType) Set(val *ReportType)

func (*NullableReportType) UnmarshalJSON

func (v *NullableReportType) UnmarshalJSON(src []byte) error

func (*NullableReportType) Unset

func (v *NullableReportType) Unset()

type NullableRole

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

func NewNullableRole

func NewNullableRole(val *Role) *NullableRole

func (NullableRole) Get

func (v NullableRole) Get() *Role

func (NullableRole) IsSet

func (v NullableRole) IsSet() bool

func (NullableRole) MarshalJSON

func (v NullableRole) MarshalJSON() ([]byte, error)

func (*NullableRole) Set

func (v *NullableRole) Set(val *Role)

func (*NullableRole) UnmarshalJSON

func (v *NullableRole) UnmarshalJSON(src []byte) error

func (*NullableRole) Unset

func (v *NullableRole) Unset()

type NullableScanDataComponentResponse

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

func (NullableScanDataComponentResponse) Get

func (NullableScanDataComponentResponse) IsSet

func (NullableScanDataComponentResponse) MarshalJSON

func (v NullableScanDataComponentResponse) MarshalJSON() ([]byte, error)

func (*NullableScanDataComponentResponse) Set

func (*NullableScanDataComponentResponse) UnmarshalJSON

func (v *NullableScanDataComponentResponse) UnmarshalJSON(src []byte) error

func (*NullableScanDataComponentResponse) Unset

type NullableScanDataDomainResponse

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

func (NullableScanDataDomainResponse) Get

func (NullableScanDataDomainResponse) IsSet

func (NullableScanDataDomainResponse) MarshalJSON

func (v NullableScanDataDomainResponse) MarshalJSON() ([]byte, error)

func (*NullableScanDataDomainResponse) Set

func (*NullableScanDataDomainResponse) UnmarshalJSON

func (v *NullableScanDataDomainResponse) UnmarshalJSON(src []byte) error

func (*NullableScanDataDomainResponse) Unset

func (v *NullableScanDataDomainResponse) Unset()

type NullableScanDataIPResponse

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

func NewNullableScanDataIPResponse

func NewNullableScanDataIPResponse(val *ScanDataIPResponse) *NullableScanDataIPResponse

func (NullableScanDataIPResponse) Get

func (NullableScanDataIPResponse) IsSet

func (v NullableScanDataIPResponse) IsSet() bool

func (NullableScanDataIPResponse) MarshalJSON

func (v NullableScanDataIPResponse) MarshalJSON() ([]byte, error)

func (*NullableScanDataIPResponse) Set

func (*NullableScanDataIPResponse) UnmarshalJSON

func (v *NullableScanDataIPResponse) UnmarshalJSON(src []byte) error

func (*NullableScanDataIPResponse) Unset

func (v *NullableScanDataIPResponse) Unset()

type NullableScanDataLinkChangeResponse

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

func (NullableScanDataLinkChangeResponse) Get

func (NullableScanDataLinkChangeResponse) IsSet

func (NullableScanDataLinkChangeResponse) MarshalJSON

func (v NullableScanDataLinkChangeResponse) MarshalJSON() ([]byte, error)

func (*NullableScanDataLinkChangeResponse) Set

func (*NullableScanDataLinkChangeResponse) UnmarshalJSON

func (v *NullableScanDataLinkChangeResponse) UnmarshalJSON(src []byte) error

func (*NullableScanDataLinkChangeResponse) Unset

type NullableScanDataLinkChangeResponseFrom

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

func (NullableScanDataLinkChangeResponseFrom) Get

func (NullableScanDataLinkChangeResponseFrom) IsSet

func (NullableScanDataLinkChangeResponseFrom) MarshalJSON

func (v NullableScanDataLinkChangeResponseFrom) MarshalJSON() ([]byte, error)

func (*NullableScanDataLinkChangeResponseFrom) Set

func (*NullableScanDataLinkChangeResponseFrom) UnmarshalJSON

func (v *NullableScanDataLinkChangeResponseFrom) UnmarshalJSON(src []byte) error

func (*NullableScanDataLinkChangeResponseFrom) Unset

type NullableScanDataLinkChangeResponseTo

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

func (NullableScanDataLinkChangeResponseTo) Get

func (NullableScanDataLinkChangeResponseTo) IsSet

func (NullableScanDataLinkChangeResponseTo) MarshalJSON

func (v NullableScanDataLinkChangeResponseTo) MarshalJSON() ([]byte, error)

func (*NullableScanDataLinkChangeResponseTo) Set

func (*NullableScanDataLinkChangeResponseTo) UnmarshalJSON

func (v *NullableScanDataLinkChangeResponseTo) UnmarshalJSON(src []byte) error

func (*NullableScanDataLinkChangeResponseTo) Unset

type NullableScanDataLinkChangesResponse

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

func (NullableScanDataLinkChangesResponse) Get

func (NullableScanDataLinkChangesResponse) IsSet

func (NullableScanDataLinkChangesResponse) MarshalJSON

func (v NullableScanDataLinkChangesResponse) MarshalJSON() ([]byte, error)

func (*NullableScanDataLinkChangesResponse) Set

func (*NullableScanDataLinkChangesResponse) UnmarshalJSON

func (v *NullableScanDataLinkChangesResponse) UnmarshalJSON(src []byte) error

func (*NullableScanDataLinkChangesResponse) Unset

type NullableScanDataLinkChangesResponseComparison

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

func (NullableScanDataLinkChangesResponseComparison) Get

func (NullableScanDataLinkChangesResponseComparison) IsSet

func (NullableScanDataLinkChangesResponseComparison) MarshalJSON

func (*NullableScanDataLinkChangesResponseComparison) Set

func (*NullableScanDataLinkChangesResponseComparison) UnmarshalJSON

func (*NullableScanDataLinkChangesResponseComparison) Unset

type NullableScanDataNodeResponse

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

func NewNullableScanDataNodeResponse

func NewNullableScanDataNodeResponse(val *ScanDataNodeResponse) *NullableScanDataNodeResponse

func (NullableScanDataNodeResponse) Get

func (NullableScanDataNodeResponse) IsSet

func (NullableScanDataNodeResponse) MarshalJSON

func (v NullableScanDataNodeResponse) MarshalJSON() ([]byte, error)

func (*NullableScanDataNodeResponse) Set

func (*NullableScanDataNodeResponse) UnmarshalJSON

func (v *NullableScanDataNodeResponse) UnmarshalJSON(src []byte) error

func (*NullableScanDataNodeResponse) Unset

func (v *NullableScanDataNodeResponse) Unset()

type NullableScanDataOutOfScopeDomainResponse

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

func (NullableScanDataOutOfScopeDomainResponse) Get

func (NullableScanDataOutOfScopeDomainResponse) IsSet

func (NullableScanDataOutOfScopeDomainResponse) MarshalJSON

func (*NullableScanDataOutOfScopeDomainResponse) Set

func (*NullableScanDataOutOfScopeDomainResponse) UnmarshalJSON

func (v *NullableScanDataOutOfScopeDomainResponse) UnmarshalJSON(src []byte) error

func (*NullableScanDataOutOfScopeDomainResponse) Unset

type NullableScanDataRiskCountsResponse

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

func (NullableScanDataRiskCountsResponse) Get

func (NullableScanDataRiskCountsResponse) IsSet

func (NullableScanDataRiskCountsResponse) MarshalJSON

func (v NullableScanDataRiskCountsResponse) MarshalJSON() ([]byte, error)

func (*NullableScanDataRiskCountsResponse) Set

func (*NullableScanDataRiskCountsResponse) UnmarshalJSON

func (v *NullableScanDataRiskCountsResponse) UnmarshalJSON(src []byte) error

func (*NullableScanDataRiskCountsResponse) Unset

type NullableScanDataRiskResponse

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

func NewNullableScanDataRiskResponse

func NewNullableScanDataRiskResponse(val *ScanDataRiskResponse) *NullableScanDataRiskResponse

func (NullableScanDataRiskResponse) Get

func (NullableScanDataRiskResponse) IsSet

func (NullableScanDataRiskResponse) MarshalJSON

func (v NullableScanDataRiskResponse) MarshalJSON() ([]byte, error)

func (*NullableScanDataRiskResponse) Set

func (*NullableScanDataRiskResponse) UnmarshalJSON

func (v *NullableScanDataRiskResponse) UnmarshalJSON(src []byte) error

func (*NullableScanDataRiskResponse) Unset

func (v *NullableScanDataRiskResponse) Unset()

type NullableScanDataServiceResponse

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

func (NullableScanDataServiceResponse) Get

func (NullableScanDataServiceResponse) IsSet

func (NullableScanDataServiceResponse) MarshalJSON

func (v NullableScanDataServiceResponse) MarshalJSON() ([]byte, error)

func (*NullableScanDataServiceResponse) Set

func (*NullableScanDataServiceResponse) UnmarshalJSON

func (v *NullableScanDataServiceResponse) UnmarshalJSON(src []byte) error

func (*NullableScanDataServiceResponse) Unset

type NullableScanDataServiceResponseHost

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

func (NullableScanDataServiceResponseHost) Get

func (NullableScanDataServiceResponseHost) IsSet

func (NullableScanDataServiceResponseHost) MarshalJSON

func (v NullableScanDataServiceResponseHost) MarshalJSON() ([]byte, error)

func (*NullableScanDataServiceResponseHost) Set

func (*NullableScanDataServiceResponseHost) UnmarshalJSON

func (v *NullableScanDataServiceResponseHost) UnmarshalJSON(src []byte) error

func (*NullableScanDataServiceResponseHost) Unset

type NullableScanDataWebPresenceRedirectResponse

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

func (NullableScanDataWebPresenceRedirectResponse) Get

func (NullableScanDataWebPresenceRedirectResponse) IsSet

func (NullableScanDataWebPresenceRedirectResponse) MarshalJSON

func (*NullableScanDataWebPresenceRedirectResponse) Set

func (*NullableScanDataWebPresenceRedirectResponse) UnmarshalJSON

func (v *NullableScanDataWebPresenceRedirectResponse) UnmarshalJSON(src []byte) error

func (*NullableScanDataWebPresenceRedirectResponse) Unset

type NullableScanDataWebPresenceResponse

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

func (NullableScanDataWebPresenceResponse) Get

func (NullableScanDataWebPresenceResponse) IsSet

func (NullableScanDataWebPresenceResponse) MarshalJSON

func (v NullableScanDataWebPresenceResponse) MarshalJSON() ([]byte, error)

func (*NullableScanDataWebPresenceResponse) Set

func (*NullableScanDataWebPresenceResponse) UnmarshalJSON

func (v *NullableScanDataWebPresenceResponse) UnmarshalJSON(src []byte) error

func (*NullableScanDataWebPresenceResponse) Unset

type NullableScanGroupCreateRequestBody

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

func (NullableScanGroupCreateRequestBody) Get

func (NullableScanGroupCreateRequestBody) IsSet

func (NullableScanGroupCreateRequestBody) MarshalJSON

func (v NullableScanGroupCreateRequestBody) MarshalJSON() ([]byte, error)

func (*NullableScanGroupCreateRequestBody) Set

func (*NullableScanGroupCreateRequestBody) UnmarshalJSON

func (v *NullableScanGroupCreateRequestBody) UnmarshalJSON(src []byte) error

func (*NullableScanGroupCreateRequestBody) Unset

type NullableScanGroupResponse

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

func NewNullableScanGroupResponse

func NewNullableScanGroupResponse(val *ScanGroupResponse) *NullableScanGroupResponse

func (NullableScanGroupResponse) Get

func (NullableScanGroupResponse) IsSet

func (v NullableScanGroupResponse) IsSet() bool

func (NullableScanGroupResponse) MarshalJSON

func (v NullableScanGroupResponse) MarshalJSON() ([]byte, error)

func (*NullableScanGroupResponse) Set

func (*NullableScanGroupResponse) UnmarshalJSON

func (v *NullableScanGroupResponse) UnmarshalJSON(src []byte) error

func (*NullableScanGroupResponse) Unset

func (v *NullableScanGroupResponse) Unset()

type NullableScanGroupUpdateRequestBody

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

func (NullableScanGroupUpdateRequestBody) Get

func (NullableScanGroupUpdateRequestBody) IsSet

func (NullableScanGroupUpdateRequestBody) MarshalJSON

func (v NullableScanGroupUpdateRequestBody) MarshalJSON() ([]byte, error)

func (*NullableScanGroupUpdateRequestBody) Set

func (*NullableScanGroupUpdateRequestBody) UnmarshalJSON

func (v *NullableScanGroupUpdateRequestBody) UnmarshalJSON(src []byte) error

func (*NullableScanGroupUpdateRequestBody) Unset

type NullableScanIterationResponse

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

func (NullableScanIterationResponse) Get

func (NullableScanIterationResponse) IsSet

func (NullableScanIterationResponse) MarshalJSON

func (v NullableScanIterationResponse) MarshalJSON() ([]byte, error)

func (*NullableScanIterationResponse) Set

func (*NullableScanIterationResponse) UnmarshalJSON

func (v *NullableScanIterationResponse) UnmarshalJSON(src []byte) error

func (*NullableScanIterationResponse) Unset

func (v *NullableScanIterationResponse) Unset()

type NullableScanLinkResponse

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

func NewNullableScanLinkResponse

func NewNullableScanLinkResponse(val *ScanLinkResponse) *NullableScanLinkResponse

func (NullableScanLinkResponse) Get

func (NullableScanLinkResponse) IsSet

func (v NullableScanLinkResponse) IsSet() bool

func (NullableScanLinkResponse) MarshalJSON

func (v NullableScanLinkResponse) MarshalJSON() ([]byte, error)

func (*NullableScanLinkResponse) Set

func (*NullableScanLinkResponse) UnmarshalJSON

func (v *NullableScanLinkResponse) UnmarshalJSON(src []byte) error

func (*NullableScanLinkResponse) Unset

func (v *NullableScanLinkResponse) Unset()

type NullableScanLinkTagResponse

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

func NewNullableScanLinkTagResponse

func NewNullableScanLinkTagResponse(val *ScanLinkTagResponse) *NullableScanLinkTagResponse

func (NullableScanLinkTagResponse) Get

func (NullableScanLinkTagResponse) IsSet

func (NullableScanLinkTagResponse) MarshalJSON

func (v NullableScanLinkTagResponse) MarshalJSON() ([]byte, error)

func (*NullableScanLinkTagResponse) Set

func (*NullableScanLinkTagResponse) UnmarshalJSON

func (v *NullableScanLinkTagResponse) UnmarshalJSON(src []byte) error

func (*NullableScanLinkTagResponse) Unset

func (v *NullableScanLinkTagResponse) Unset()

type NullableScanProgressResponse

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

func NewNullableScanProgressResponse

func NewNullableScanProgressResponse(val *ScanProgressResponse) *NullableScanProgressResponse

func (NullableScanProgressResponse) Get

func (NullableScanProgressResponse) IsSet

func (NullableScanProgressResponse) MarshalJSON

func (v NullableScanProgressResponse) MarshalJSON() ([]byte, error)

func (*NullableScanProgressResponse) Set

func (*NullableScanProgressResponse) UnmarshalJSON

func (v *NullableScanProgressResponse) UnmarshalJSON(src []byte) error

func (*NullableScanProgressResponse) Unset

func (v *NullableScanProgressResponse) Unset()

type NullableScanResponse

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

func NewNullableScanResponse

func NewNullableScanResponse(val *ScanResponse) *NullableScanResponse

func (NullableScanResponse) Get

func (NullableScanResponse) IsSet

func (v NullableScanResponse) IsSet() bool

func (NullableScanResponse) MarshalJSON

func (v NullableScanResponse) MarshalJSON() ([]byte, error)

func (*NullableScanResponse) Set

func (v *NullableScanResponse) Set(val *ScanResponse)

func (*NullableScanResponse) UnmarshalJSON

func (v *NullableScanResponse) UnmarshalJSON(src []byte) error

func (*NullableScanResponse) Unset

func (v *NullableScanResponse) Unset()

type NullableScanType

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

func NewNullableScanType

func NewNullableScanType(val *ScanType) *NullableScanType

func (NullableScanType) Get

func (v NullableScanType) Get() *ScanType

func (NullableScanType) IsSet

func (v NullableScanType) IsSet() bool

func (NullableScanType) MarshalJSON

func (v NullableScanType) MarshalJSON() ([]byte, error)

func (*NullableScanType) Set

func (v *NullableScanType) Set(val *ScanType)

func (*NullableScanType) UnmarshalJSON

func (v *NullableScanType) UnmarshalJSON(src []byte) error

func (*NullableScanType) Unset

func (v *NullableScanType) Unset()

type NullableSeedsResponseInner

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

func NewNullableSeedsResponseInner

func NewNullableSeedsResponseInner(val *SeedsResponseInner) *NullableSeedsResponseInner

func (NullableSeedsResponseInner) Get

func (NullableSeedsResponseInner) IsSet

func (v NullableSeedsResponseInner) IsSet() bool

func (NullableSeedsResponseInner) MarshalJSON

func (v NullableSeedsResponseInner) MarshalJSON() ([]byte, error)

func (*NullableSeedsResponseInner) Set

func (*NullableSeedsResponseInner) UnmarshalJSON

func (v *NullableSeedsResponseInner) UnmarshalJSON(src []byte) error

func (*NullableSeedsResponseInner) Unset

func (v *NullableSeedsResponseInner) Unset()

type NullableString

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

func NewNullableString

func NewNullableString(val *string) *NullableString

func (NullableString) Get

func (v NullableString) Get() *string

func (NullableString) IsSet

func (v NullableString) IsSet() bool

func (NullableString) MarshalJSON

func (v NullableString) MarshalJSON() ([]byte, error)

func (*NullableString) Set

func (v *NullableString) Set(val *string)

func (*NullableString) UnmarshalJSON

func (v *NullableString) UnmarshalJSON(src []byte) error

func (*NullableString) Unset

func (v *NullableString) Unset()

type NullableTagResponse

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

func NewNullableTagResponse

func NewNullableTagResponse(val *TagResponse) *NullableTagResponse

func (NullableTagResponse) Get

func (NullableTagResponse) IsSet

func (v NullableTagResponse) IsSet() bool

func (NullableTagResponse) MarshalJSON

func (v NullableTagResponse) MarshalJSON() ([]byte, error)

func (*NullableTagResponse) Set

func (v *NullableTagResponse) Set(val *TagResponse)

func (*NullableTagResponse) UnmarshalJSON

func (v *NullableTagResponse) UnmarshalJSON(src []byte) error

func (*NullableTagResponse) Unset

func (v *NullableTagResponse) Unset()

type NullableTime

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

func NewNullableTime

func NewNullableTime(val *time.Time) *NullableTime

func (NullableTime) Get

func (v NullableTime) Get() *time.Time

func (NullableTime) IsSet

func (v NullableTime) IsSet() bool

func (NullableTime) MarshalJSON

func (v NullableTime) MarshalJSON() ([]byte, error)

func (*NullableTime) Set

func (v *NullableTime) Set(val *time.Time)

func (*NullableTime) UnmarshalJSON

func (v *NullableTime) UnmarshalJSON(src []byte) error

func (*NullableTime) Unset

func (v *NullableTime) Unset()

type NullableUpdateNodeRequest

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

func NewNullableUpdateNodeRequest

func NewNullableUpdateNodeRequest(val *UpdateNodeRequest) *NullableUpdateNodeRequest

func (NullableUpdateNodeRequest) Get

func (NullableUpdateNodeRequest) IsSet

func (v NullableUpdateNodeRequest) IsSet() bool

func (NullableUpdateNodeRequest) MarshalJSON

func (v NullableUpdateNodeRequest) MarshalJSON() ([]byte, error)

func (*NullableUpdateNodeRequest) Set

func (*NullableUpdateNodeRequest) UnmarshalJSON

func (v *NullableUpdateNodeRequest) UnmarshalJSON(src []byte) error

func (*NullableUpdateNodeRequest) Unset

func (v *NullableUpdateNodeRequest) Unset()

type NullableUpdateReportTemplateBody

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

func (NullableUpdateReportTemplateBody) Get

func (NullableUpdateReportTemplateBody) IsSet

func (NullableUpdateReportTemplateBody) MarshalJSON

func (v NullableUpdateReportTemplateBody) MarshalJSON() ([]byte, error)

func (*NullableUpdateReportTemplateBody) Set

func (*NullableUpdateReportTemplateBody) UnmarshalJSON

func (v *NullableUpdateReportTemplateBody) UnmarshalJSON(src []byte) error

func (*NullableUpdateReportTemplateBody) Unset

type NullableUpdateScanByIdRequest

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

func (NullableUpdateScanByIdRequest) Get

func (NullableUpdateScanByIdRequest) IsSet

func (NullableUpdateScanByIdRequest) MarshalJSON

func (v NullableUpdateScanByIdRequest) MarshalJSON() ([]byte, error)

func (*NullableUpdateScanByIdRequest) Set

func (*NullableUpdateScanByIdRequest) UnmarshalJSON

func (v *NullableUpdateScanByIdRequest) UnmarshalJSON(src []byte) error

func (*NullableUpdateScanByIdRequest) Unset

func (v *NullableUpdateScanByIdRequest) Unset()

type NullableUpdateScanByIdRequestIncludeBrRisks

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

func (NullableUpdateScanByIdRequestIncludeBrRisks) Get

func (NullableUpdateScanByIdRequestIncludeBrRisks) IsSet

func (NullableUpdateScanByIdRequestIncludeBrRisks) MarshalJSON

func (*NullableUpdateScanByIdRequestIncludeBrRisks) Set

func (*NullableUpdateScanByIdRequestIncludeBrRisks) UnmarshalJSON

func (v *NullableUpdateScanByIdRequestIncludeBrRisks) UnmarshalJSON(src []byte) error

func (*NullableUpdateScanByIdRequestIncludeBrRisks) Unset

type NullableUpdateUserPreferencesRequest

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

func (NullableUpdateUserPreferencesRequest) Get

func (NullableUpdateUserPreferencesRequest) IsSet

func (NullableUpdateUserPreferencesRequest) MarshalJSON

func (v NullableUpdateUserPreferencesRequest) MarshalJSON() ([]byte, error)

func (*NullableUpdateUserPreferencesRequest) Set

func (*NullableUpdateUserPreferencesRequest) UnmarshalJSON

func (v *NullableUpdateUserPreferencesRequest) UnmarshalJSON(src []byte) error

func (*NullableUpdateUserPreferencesRequest) Unset

type NullableUserDetailsResponse

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

func NewNullableUserDetailsResponse

func NewNullableUserDetailsResponse(val *UserDetailsResponse) *NullableUserDetailsResponse

func (NullableUserDetailsResponse) Get

func (NullableUserDetailsResponse) IsSet

func (NullableUserDetailsResponse) MarshalJSON

func (v NullableUserDetailsResponse) MarshalJSON() ([]byte, error)

func (*NullableUserDetailsResponse) Set

func (*NullableUserDetailsResponse) UnmarshalJSON

func (v *NullableUserDetailsResponse) UnmarshalJSON(src []byte) error

func (*NullableUserDetailsResponse) Unset

func (v *NullableUserDetailsResponse) Unset()

type NullableUserResponse

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

func NewNullableUserResponse

func NewNullableUserResponse(val *UserResponse) *NullableUserResponse

func (NullableUserResponse) Get

func (NullableUserResponse) IsSet

func (v NullableUserResponse) IsSet() bool

func (NullableUserResponse) MarshalJSON

func (v NullableUserResponse) MarshalJSON() ([]byte, error)

func (*NullableUserResponse) Set

func (v *NullableUserResponse) Set(val *UserResponse)

func (*NullableUserResponse) UnmarshalJSON

func (v *NullableUserResponse) UnmarshalJSON(src []byte) error

func (*NullableUserResponse) Unset

func (v *NullableUserResponse) Unset()

type NullableUserResponseScanGroupsInner

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

func (NullableUserResponseScanGroupsInner) Get

func (NullableUserResponseScanGroupsInner) IsSet

func (NullableUserResponseScanGroupsInner) MarshalJSON

func (v NullableUserResponseScanGroupsInner) MarshalJSON() ([]byte, error)

func (*NullableUserResponseScanGroupsInner) Set

func (*NullableUserResponseScanGroupsInner) UnmarshalJSON

func (v *NullableUserResponseScanGroupsInner) UnmarshalJSON(src []byte) error

func (*NullableUserResponseScanGroupsInner) Unset

type NullableUserRowResponse

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

func NewNullableUserRowResponse

func NewNullableUserRowResponse(val *UserRowResponse) *NullableUserRowResponse

func (NullableUserRowResponse) Get

func (NullableUserRowResponse) IsSet

func (v NullableUserRowResponse) IsSet() bool

func (NullableUserRowResponse) MarshalJSON

func (v NullableUserRowResponse) MarshalJSON() ([]byte, error)

func (*NullableUserRowResponse) Set

func (*NullableUserRowResponse) UnmarshalJSON

func (v *NullableUserRowResponse) UnmarshalJSON(src []byte) error

func (*NullableUserRowResponse) Unset

func (v *NullableUserRowResponse) Unset()

type NullableUsersCreateAPIKeyRequest

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

func (NullableUsersCreateAPIKeyRequest) Get

func (NullableUsersCreateAPIKeyRequest) IsSet

func (NullableUsersCreateAPIKeyRequest) MarshalJSON

func (v NullableUsersCreateAPIKeyRequest) MarshalJSON() ([]byte, error)

func (*NullableUsersCreateAPIKeyRequest) Set

func (*NullableUsersCreateAPIKeyRequest) UnmarshalJSON

func (v *NullableUsersCreateAPIKeyRequest) UnmarshalJSON(src []byte) error

func (*NullableUsersCreateAPIKeyRequest) Unset

type NullableUsersCreateAPIKeyResponse

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

func (NullableUsersCreateAPIKeyResponse) Get

func (NullableUsersCreateAPIKeyResponse) IsSet

func (NullableUsersCreateAPIKeyResponse) MarshalJSON

func (v NullableUsersCreateAPIKeyResponse) MarshalJSON() ([]byte, error)

func (*NullableUsersCreateAPIKeyResponse) Set

func (*NullableUsersCreateAPIKeyResponse) UnmarshalJSON

func (v *NullableUsersCreateAPIKeyResponse) UnmarshalJSON(src []byte) error

func (*NullableUsersCreateAPIKeyResponse) Unset

type OrganisationAssetResponse

type OrganisationAssetResponse struct {
	// Asset data
	Asset                string `json:"asset"`
	AdditionalProperties map[string]interface{}
}

OrganisationAssetResponse struct for OrganisationAssetResponse

func NewOrganisationAssetResponse

func NewOrganisationAssetResponse(asset string) *OrganisationAssetResponse

NewOrganisationAssetResponse instantiates a new OrganisationAssetResponse 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

func NewOrganisationAssetResponseWithDefaults

func NewOrganisationAssetResponseWithDefaults() *OrganisationAssetResponse

NewOrganisationAssetResponseWithDefaults instantiates a new OrganisationAssetResponse 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

func (*OrganisationAssetResponse) GetAsset

func (o *OrganisationAssetResponse) GetAsset() string

GetAsset returns the Asset field value

func (*OrganisationAssetResponse) GetAssetOk

func (o *OrganisationAssetResponse) GetAssetOk() (*string, bool)

GetAssetOk returns a tuple with the Asset field value and a boolean to check if the value has been set.

func (OrganisationAssetResponse) MarshalJSON

func (o OrganisationAssetResponse) MarshalJSON() ([]byte, error)

func (*OrganisationAssetResponse) SetAsset

func (o *OrganisationAssetResponse) SetAsset(v string)

SetAsset sets field value

func (OrganisationAssetResponse) ToMap

func (o OrganisationAssetResponse) ToMap() (map[string]interface{}, error)

func (*OrganisationAssetResponse) UnmarshalJSON

func (o *OrganisationAssetResponse) UnmarshalJSON(data []byte) (err error)

type OrganisationResponse

type OrganisationResponse struct {
	// Organisation ID
	Id string `json:"id"`
	// Organisation Name
	Name string `json:"name"`
	// Organisation tier
	Tier string `json:"tier"`
	// Configuration attributes for the organisation
	Attributes map[string]interface{} `json:"attributes"`
	// User ID of the organisation owner
	OwnerId string `json:"owner_id"`
	// Email suffixes for the organisation
	EmailSuffixes []string `json:"email_suffixes,omitempty"`
	// True if the organisation has been marked as deleted
	Deleted bool `json:"deleted"`
	// Timestamp at which the entry was created
	Created time.Time `json:"created"`
	// User ID of the creator user
	CreatedBy string `json:"created_by"`
	// Timestamp at which the entry was last updated
	Updated time.Time `json:"updated"`
	// User ID of the last user to update this entry
	UpdatedBy string `json:"updated_by"`
	// Roles granted to the current user for this organisation if requested
	Roles []string `json:"roles,omitempty"`
	// Groups assigned to the current user for this organisation if requested
	Groups               []string             `json:"groups,omitempty"`
	OwnerUser            *UserDetailsResponse `json:"owner_user,omitempty"`
	CreatedByUser        *UserDetailsResponse `json:"created_by_user,omitempty"`
	AdditionalProperties map[string]interface{}
}

OrganisationResponse struct for OrganisationResponse

func NewOrganisationResponse

func NewOrganisationResponse(id string, name string, tier string, attributes map[string]interface{}, ownerId string, deleted bool, created time.Time, createdBy string, updated time.Time, updatedBy string) *OrganisationResponse

NewOrganisationResponse instantiates a new OrganisationResponse 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

func NewOrganisationResponseWithDefaults

func NewOrganisationResponseWithDefaults() *OrganisationResponse

NewOrganisationResponseWithDefaults instantiates a new OrganisationResponse 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

func (*OrganisationResponse) GetAttributes

func (o *OrganisationResponse) GetAttributes() map[string]interface{}

GetAttributes returns the Attributes field value

func (*OrganisationResponse) GetAttributesOk

func (o *OrganisationResponse) GetAttributesOk() (map[string]interface{}, bool)

GetAttributesOk returns a tuple with the Attributes field value and a boolean to check if the value has been set.

func (*OrganisationResponse) GetCreated

func (o *OrganisationResponse) GetCreated() time.Time

GetCreated returns the Created field value

func (*OrganisationResponse) GetCreatedBy

func (o *OrganisationResponse) GetCreatedBy() string

GetCreatedBy returns the CreatedBy field value

func (*OrganisationResponse) GetCreatedByOk

func (o *OrganisationResponse) GetCreatedByOk() (*string, bool)

GetCreatedByOk returns a tuple with the CreatedBy field value and a boolean to check if the value has been set.

func (*OrganisationResponse) GetCreatedByUser

func (o *OrganisationResponse) GetCreatedByUser() UserDetailsResponse

GetCreatedByUser returns the CreatedByUser field value if set, zero value otherwise.

func (*OrganisationResponse) GetCreatedByUserOk

func (o *OrganisationResponse) GetCreatedByUserOk() (*UserDetailsResponse, bool)

GetCreatedByUserOk returns a tuple with the CreatedByUser field value if set, nil otherwise and a boolean to check if the value has been set.

func (*OrganisationResponse) GetCreatedOk

func (o *OrganisationResponse) GetCreatedOk() (*time.Time, bool)

GetCreatedOk returns a tuple with the Created field value and a boolean to check if the value has been set.

func (*OrganisationResponse) GetDeleted

func (o *OrganisationResponse) GetDeleted() bool

GetDeleted returns the Deleted field value

func (*OrganisationResponse) GetDeletedOk

func (o *OrganisationResponse) GetDeletedOk() (*bool, bool)

GetDeletedOk returns a tuple with the Deleted field value and a boolean to check if the value has been set.

func (*OrganisationResponse) GetEmailSuffixes

func (o *OrganisationResponse) GetEmailSuffixes() []string

GetEmailSuffixes returns the EmailSuffixes field value if set, zero value otherwise.

func (*OrganisationResponse) GetEmailSuffixesOk

func (o *OrganisationResponse) GetEmailSuffixesOk() ([]string, bool)

GetEmailSuffixesOk returns a tuple with the EmailSuffixes field value if set, nil otherwise and a boolean to check if the value has been set.

func (*OrganisationResponse) GetGroups

func (o *OrganisationResponse) GetGroups() []string

GetGroups returns the Groups field value if set, zero value otherwise.

func (*OrganisationResponse) GetGroupsOk

func (o *OrganisationResponse) GetGroupsOk() ([]string, bool)

GetGroupsOk returns a tuple with the Groups field value if set, nil otherwise and a boolean to check if the value has been set.

func (*OrganisationResponse) GetId

func (o *OrganisationResponse) GetId() string

GetId returns the Id field value

func (*OrganisationResponse) GetIdOk

func (o *OrganisationResponse) GetIdOk() (*string, bool)

GetIdOk returns a tuple with the Id field value and a boolean to check if the value has been set.

func (*OrganisationResponse) GetName

func (o *OrganisationResponse) GetName() string

GetName returns the Name field value

func (*OrganisationResponse) GetNameOk

func (o *OrganisationResponse) GetNameOk() (*string, bool)

GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.

func (*OrganisationResponse) GetOwnerId

func (o *OrganisationResponse) GetOwnerId() string

GetOwnerId returns the OwnerId field value

func (*OrganisationResponse) GetOwnerIdOk

func (o *OrganisationResponse) GetOwnerIdOk() (*string, bool)

GetOwnerIdOk returns a tuple with the OwnerId field value and a boolean to check if the value has been set.

func (*OrganisationResponse) GetOwnerUser

func (o *OrganisationResponse) GetOwnerUser() UserDetailsResponse

GetOwnerUser returns the OwnerUser field value if set, zero value otherwise.

func (*OrganisationResponse) GetOwnerUserOk

func (o *OrganisationResponse) GetOwnerUserOk() (*UserDetailsResponse, bool)

GetOwnerUserOk returns a tuple with the OwnerUser field value if set, nil otherwise and a boolean to check if the value has been set.

func (*OrganisationResponse) GetRoles

func (o *OrganisationResponse) GetRoles() []string

GetRoles returns the Roles field value if set, zero value otherwise.

func (*OrganisationResponse) GetRolesOk

func (o *OrganisationResponse) GetRolesOk() ([]string, bool)

GetRolesOk returns a tuple with the Roles field value if set, nil otherwise and a boolean to check if the value has been set.

func (*OrganisationResponse) GetTier

func (o *OrganisationResponse) GetTier() string

GetTier returns the Tier field value

func (*OrganisationResponse) GetTierOk

func (o *OrganisationResponse) GetTierOk() (*string, bool)

GetTierOk returns a tuple with the Tier field value and a boolean to check if the value has been set.

func (*OrganisationResponse) GetUpdated

func (o *OrganisationResponse) GetUpdated() time.Time

GetUpdated returns the Updated field value

func (*OrganisationResponse) GetUpdatedBy

func (o *OrganisationResponse) GetUpdatedBy() string

GetUpdatedBy returns the UpdatedBy field value

func (*OrganisationResponse) GetUpdatedByOk

func (o *OrganisationResponse) GetUpdatedByOk() (*string, bool)

GetUpdatedByOk returns a tuple with the UpdatedBy field value and a boolean to check if the value has been set.

func (*OrganisationResponse) GetUpdatedOk

func (o *OrganisationResponse) GetUpdatedOk() (*time.Time, bool)

GetUpdatedOk returns a tuple with the Updated field value and a boolean to check if the value has been set.

func (*OrganisationResponse) HasCreatedByUser

func (o *OrganisationResponse) HasCreatedByUser() bool

HasCreatedByUser returns a boolean if a field has been set.

func (*OrganisationResponse) HasEmailSuffixes

func (o *OrganisationResponse) HasEmailSuffixes() bool

HasEmailSuffixes returns a boolean if a field has been set.

func (*OrganisationResponse) HasGroups

func (o *OrganisationResponse) HasGroups() bool

HasGroups returns a boolean if a field has been set.

func (*OrganisationResponse) HasOwnerUser

func (o *OrganisationResponse) HasOwnerUser() bool

HasOwnerUser returns a boolean if a field has been set.

func (*OrganisationResponse) HasRoles

func (o *OrganisationResponse) HasRoles() bool

HasRoles returns a boolean if a field has been set.

func (OrganisationResponse) MarshalJSON

func (o OrganisationResponse) MarshalJSON() ([]byte, error)

func (*OrganisationResponse) SetAttributes

func (o *OrganisationResponse) SetAttributes(v map[string]interface{})

SetAttributes sets field value

func (*OrganisationResponse) SetCreated

func (o *OrganisationResponse) SetCreated(v time.Time)

SetCreated sets field value

func (*OrganisationResponse) SetCreatedBy

func (o *OrganisationResponse) SetCreatedBy(v string)

SetCreatedBy sets field value

func (*OrganisationResponse) SetCreatedByUser

func (o *OrganisationResponse) SetCreatedByUser(v UserDetailsResponse)

SetCreatedByUser gets a reference to the given UserDetailsResponse and assigns it to the CreatedByUser field.

func (*OrganisationResponse) SetDeleted

func (o *OrganisationResponse) SetDeleted(v bool)

SetDeleted sets field value

func (*OrganisationResponse) SetEmailSuffixes

func (o *OrganisationResponse) SetEmailSuffixes(v []string)

SetEmailSuffixes gets a reference to the given []string and assigns it to the EmailSuffixes field.

func (*OrganisationResponse) SetGroups

func (o *OrganisationResponse) SetGroups(v []string)

SetGroups gets a reference to the given []string and assigns it to the Groups field.

func (*OrganisationResponse) SetId

func (o *OrganisationResponse) SetId(v string)

SetId sets field value

func (*OrganisationResponse) SetName

func (o *OrganisationResponse) SetName(v string)

SetName sets field value

func (*OrganisationResponse) SetOwnerId

func (o *OrganisationResponse) SetOwnerId(v string)

SetOwnerId sets field value

func (*OrganisationResponse) SetOwnerUser

func (o *OrganisationResponse) SetOwnerUser(v UserDetailsResponse)

SetOwnerUser gets a reference to the given UserDetailsResponse and assigns it to the OwnerUser field.

func (*OrganisationResponse) SetRoles

func (o *OrganisationResponse) SetRoles(v []string)

SetRoles gets a reference to the given []string and assigns it to the Roles field.

func (*OrganisationResponse) SetTier

func (o *OrganisationResponse) SetTier(v string)

SetTier sets field value

func (*OrganisationResponse) SetUpdated

func (o *OrganisationResponse) SetUpdated(v time.Time)

SetUpdated sets field value

func (*OrganisationResponse) SetUpdatedBy

func (o *OrganisationResponse) SetUpdatedBy(v string)

SetUpdatedBy sets field value

func (OrganisationResponse) ToMap

func (o OrganisationResponse) ToMap() (map[string]interface{}, error)

func (*OrganisationResponse) UnmarshalJSON

func (o *OrganisationResponse) UnmarshalJSON(data []byte) (err error)

type OrganisationsAPIService

type OrganisationsAPIService service

OrganisationsAPIService OrganisationsAPI service

func (*OrganisationsAPIService) DeleteOrganisationAsset

func (a *OrganisationsAPIService) DeleteOrganisationAsset(ctx context.Context, id string, key string) ApiDeleteOrganisationAssetRequest

DeleteOrganisationAsset Delete an organisation asset

Required role: `organisations:write`

This endpoint requires that the organisation has API access enabled. If API access is not allowed, the response code will be 403 (Forbidden).

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param id Organisation ID
@param key Asset key
@return ApiDeleteOrganisationAssetRequest

func (*OrganisationsAPIService) DeleteOrganisationAssetExecute

func (a *OrganisationsAPIService) DeleteOrganisationAssetExecute(r ApiDeleteOrganisationAssetRequest) (*http.Response, error)

Execute executes the request

func (*OrganisationsAPIService) GetOrganisationAsset

GetOrganisationAsset Get an organisation asset by key

Required role: `organisations:read`

This endpoint requires that the organisation has API access enabled. If API access is not allowed, the response code will be 403 (Forbidden).

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param id Organisation ID
@param key Asset key
@return ApiGetOrganisationAssetRequest

func (*OrganisationsAPIService) GetOrganisationAssetExecute

Execute executes the request

@return OrganisationAssetResponse

func (*OrganisationsAPIService) GetOrganisationByID

GetOrganisationByID Get an organisation by ID

Required role: `organisations:read`

This endpoint requires that the organisation has API access enabled. If API access is not allowed, the response code will be 403 (Forbidden).

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param id Organisation ID
@return ApiGetOrganisationByIDRequest

func (*OrganisationsAPIService) GetOrganisationByIDExecute

Execute executes the request

@return OrganisationResponse

func (*OrganisationsAPIService) GetOrganisations

GetOrganisations Get the organisations for which the current user is a member

Required role: `organisations:read`

This endpoint only returns entries for which API access is enabled. In the event the user is not a member of any organisation with API access, an empty array will be returned.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return ApiGetOrganisationsRequest

func (*OrganisationsAPIService) GetOrganisationsExecute

Execute executes the request

@return []OrganisationResponse

type ReportResponse

type ReportResponse struct {
	// Report ID
	Id string `json:"id"`
	// Scan ID
	ScanId string `json:"scan_id"`
	// Scan name
	ScanName string `json:"scan_name"`
	// Iteration ID
	IterationId string      `json:"iteration_id"`
	State       ReportState `json:"state"`
	Type        ReportType  `json:"type"`
	// Report display name
	DisplayName string `json:"display_name"`
	// Report file name
	FileName *string `json:"file_name,omitempty"`
	// Report template ID used (for templated report types)
	TemplateId *string `json:"template_id,omitempty"`
	// Report created date
	Created time.Time `json:"created"`
	// Report last updated date
	Updated time.Time `json:"updated"`
	// Will only be present when the report is done. Expires after 60s.
	DownloadUrl *string `json:"download_url,omitempty"`
	// User has \"scans.reports:manage\" role for this report
	CanManage            *bool `json:"can_manage,omitempty"`
	AdditionalProperties map[string]interface{}
}

ReportResponse struct for ReportResponse

func NewReportResponse

func NewReportResponse(id string, scanId string, scanName string, iterationId string, state ReportState, type_ ReportType, displayName string, created time.Time, updated time.Time) *ReportResponse

NewReportResponse instantiates a new ReportResponse 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

func NewReportResponseWithDefaults

func NewReportResponseWithDefaults() *ReportResponse

NewReportResponseWithDefaults instantiates a new ReportResponse 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

func (*ReportResponse) GetCanManage

func (o *ReportResponse) GetCanManage() bool

GetCanManage returns the CanManage field value if set, zero value otherwise.

func (*ReportResponse) GetCanManageOk

func (o *ReportResponse) GetCanManageOk() (*bool, bool)

GetCanManageOk returns a tuple with the CanManage field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ReportResponse) GetCreated

func (o *ReportResponse) GetCreated() time.Time

GetCreated returns the Created field value

func (*ReportResponse) GetCreatedOk

func (o *ReportResponse) GetCreatedOk() (*time.Time, bool)

GetCreatedOk returns a tuple with the Created field value and a boolean to check if the value has been set.

func (*ReportResponse) GetDisplayName

func (o *ReportResponse) GetDisplayName() string

GetDisplayName returns the DisplayName field value

func (*ReportResponse) GetDisplayNameOk

func (o *ReportResponse) GetDisplayNameOk() (*string, bool)

GetDisplayNameOk returns a tuple with the DisplayName field value and a boolean to check if the value has been set.

func (*ReportResponse) GetDownloadUrl

func (o *ReportResponse) GetDownloadUrl() string

GetDownloadUrl returns the DownloadUrl field value if set, zero value otherwise.

func (*ReportResponse) GetDownloadUrlOk

func (o *ReportResponse) GetDownloadUrlOk() (*string, bool)

GetDownloadUrlOk returns a tuple with the DownloadUrl field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ReportResponse) GetFileName

func (o *ReportResponse) GetFileName() string

GetFileName returns the FileName field value if set, zero value otherwise.

func (*ReportResponse) GetFileNameOk

func (o *ReportResponse) GetFileNameOk() (*string, bool)

GetFileNameOk returns a tuple with the FileName field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ReportResponse) GetId

func (o *ReportResponse) GetId() string

GetId returns the Id field value

func (*ReportResponse) GetIdOk

func (o *ReportResponse) GetIdOk() (*string, bool)

GetIdOk returns a tuple with the Id field value and a boolean to check if the value has been set.

func (*ReportResponse) GetIterationId

func (o *ReportResponse) GetIterationId() string

GetIterationId returns the IterationId field value

func (*ReportResponse) GetIterationIdOk

func (o *ReportResponse) GetIterationIdOk() (*string, bool)

GetIterationIdOk returns a tuple with the IterationId field value and a boolean to check if the value has been set.

func (*ReportResponse) GetScanId

func (o *ReportResponse) GetScanId() string

GetScanId returns the ScanId field value

func (*ReportResponse) GetScanIdOk

func (o *ReportResponse) GetScanIdOk() (*string, bool)

GetScanIdOk returns a tuple with the ScanId field value and a boolean to check if the value has been set.

func (*ReportResponse) GetScanName

func (o *ReportResponse) GetScanName() string

GetScanName returns the ScanName field value

func (*ReportResponse) GetScanNameOk

func (o *ReportResponse) GetScanNameOk() (*string, bool)

GetScanNameOk returns a tuple with the ScanName field value and a boolean to check if the value has been set.

func (*ReportResponse) GetState

func (o *ReportResponse) GetState() ReportState

GetState returns the State field value

func (*ReportResponse) GetStateOk

func (o *ReportResponse) GetStateOk() (*ReportState, bool)

GetStateOk returns a tuple with the State field value and a boolean to check if the value has been set.

func (*ReportResponse) GetTemplateId

func (o *ReportResponse) GetTemplateId() string

GetTemplateId returns the TemplateId field value if set, zero value otherwise.

func (*ReportResponse) GetTemplateIdOk

func (o *ReportResponse) GetTemplateIdOk() (*string, bool)

GetTemplateIdOk returns a tuple with the TemplateId field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ReportResponse) GetType

func (o *ReportResponse) GetType() ReportType

GetType returns the Type field value

func (*ReportResponse) GetTypeOk

func (o *ReportResponse) GetTypeOk() (*ReportType, bool)

GetTypeOk returns a tuple with the Type field value and a boolean to check if the value has been set.

func (*ReportResponse) GetUpdated

func (o *ReportResponse) GetUpdated() time.Time

GetUpdated returns the Updated field value

func (*ReportResponse) GetUpdatedOk

func (o *ReportResponse) GetUpdatedOk() (*time.Time, bool)

GetUpdatedOk returns a tuple with the Updated field value and a boolean to check if the value has been set.

func (*ReportResponse) HasCanManage

func (o *ReportResponse) HasCanManage() bool

HasCanManage returns a boolean if a field has been set.

func (*ReportResponse) HasDownloadUrl

func (o *ReportResponse) HasDownloadUrl() bool

HasDownloadUrl returns a boolean if a field has been set.

func (*ReportResponse) HasFileName

func (o *ReportResponse) HasFileName() bool

HasFileName returns a boolean if a field has been set.

func (*ReportResponse) HasTemplateId

func (o *ReportResponse) HasTemplateId() bool

HasTemplateId returns a boolean if a field has been set.

func (ReportResponse) MarshalJSON

func (o ReportResponse) MarshalJSON() ([]byte, error)

func (*ReportResponse) SetCanManage

func (o *ReportResponse) SetCanManage(v bool)

SetCanManage gets a reference to the given bool and assigns it to the CanManage field.

func (*ReportResponse) SetCreated

func (o *ReportResponse) SetCreated(v time.Time)

SetCreated sets field value

func (*ReportResponse) SetDisplayName

func (o *ReportResponse) SetDisplayName(v string)

SetDisplayName sets field value

func (*ReportResponse) SetDownloadUrl

func (o *ReportResponse) SetDownloadUrl(v string)

SetDownloadUrl gets a reference to the given string and assigns it to the DownloadUrl field.

func (*ReportResponse) SetFileName

func (o *ReportResponse) SetFileName(v string)

SetFileName gets a reference to the given string and assigns it to the FileName field.

func (*ReportResponse) SetId

func (o *ReportResponse) SetId(v string)

SetId sets field value

func (*ReportResponse) SetIterationId

func (o *ReportResponse) SetIterationId(v string)

SetIterationId sets field value

func (*ReportResponse) SetScanId

func (o *ReportResponse) SetScanId(v string)

SetScanId sets field value

func (*ReportResponse) SetScanName

func (o *ReportResponse) SetScanName(v string)

SetScanName sets field value

func (*ReportResponse) SetState

func (o *ReportResponse) SetState(v ReportState)

SetState sets field value

func (*ReportResponse) SetTemplateId

func (o *ReportResponse) SetTemplateId(v string)

SetTemplateId gets a reference to the given string and assigns it to the TemplateId field.

func (*ReportResponse) SetType

func (o *ReportResponse) SetType(v ReportType)

SetType sets field value

func (*ReportResponse) SetUpdated

func (o *ReportResponse) SetUpdated(v time.Time)

SetUpdated sets field value

func (ReportResponse) ToMap

func (o ReportResponse) ToMap() (map[string]interface{}, error)

func (*ReportResponse) UnmarshalJSON

func (o *ReportResponse) UnmarshalJSON(data []byte) (err error)

type ReportState

type ReportState string

ReportState Report state

const (
	REPORTSTATE_PENDING     ReportState = "pending"
	REPORTSTATE_IN_PROGRESS ReportState = "in_progress"
	REPORTSTATE_DONE        ReportState = "done"
	REPORTSTATE_FAILED      ReportState = "failed"
)

List of ReportState

func NewReportStateFromValue

func NewReportStateFromValue(v string) (*ReportState, error)

NewReportStateFromValue returns a pointer to a valid ReportState for the value passed as argument, or an error if the value passed is not allowed by the enum

func (ReportState) IsValid

func (v ReportState) IsValid() bool

IsValid return true if the value is valid for the enum, false otherwise

func (ReportState) Ptr

func (v ReportState) Ptr() *ReportState

Ptr returns reference to ReportState value

func (*ReportState) UnmarshalJSON

func (v *ReportState) UnmarshalJSON(src []byte) error

type ReportTemplateResponse

type ReportTemplateResponse struct {
	// Report ID
	Id string `json:"id"`
	// Organisation ID
	OrganisationId string              `json:"organisation_id"`
	State          ReportTemplateState `json:"state"`
	// Templatable report type (subset of ReportType that use templates)
	Type string `json:"type"`
	// Report template display name
	DisplayName string `json:"display_name"`
	// Report template file name
	FileName *string `json:"file_name,omitempty"`
	// Report template created date
	Created time.Time `json:"created"`
	// Report template last updated date
	Updated time.Time `json:"updated"`
	// Expires after 60s.
	DownloadUrl *string `json:"download_url,omitempty"`
	// Expires after 60s.
	UploadUrl            *string `json:"upload_url,omitempty"`
	AdditionalProperties map[string]interface{}
}

ReportTemplateResponse struct for ReportTemplateResponse

func NewReportTemplateResponse

func NewReportTemplateResponse(id string, organisationId string, state ReportTemplateState, type_ string, displayName string, created time.Time, updated time.Time) *ReportTemplateResponse

NewReportTemplateResponse instantiates a new ReportTemplateResponse 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

func NewReportTemplateResponseWithDefaults

func NewReportTemplateResponseWithDefaults() *ReportTemplateResponse

NewReportTemplateResponseWithDefaults instantiates a new ReportTemplateResponse 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

func (*ReportTemplateResponse) GetCreated

func (o *ReportTemplateResponse) GetCreated() time.Time

GetCreated returns the Created field value

func (*ReportTemplateResponse) GetCreatedOk

func (o *ReportTemplateResponse) GetCreatedOk() (*time.Time, bool)

GetCreatedOk returns a tuple with the Created field value and a boolean to check if the value has been set.

func (*ReportTemplateResponse) GetDisplayName

func (o *ReportTemplateResponse) GetDisplayName() string

GetDisplayName returns the DisplayName field value

func (*ReportTemplateResponse) GetDisplayNameOk

func (o *ReportTemplateResponse) GetDisplayNameOk() (*string, bool)

GetDisplayNameOk returns a tuple with the DisplayName field value and a boolean to check if the value has been set.

func (*ReportTemplateResponse) GetDownloadUrl

func (o *ReportTemplateResponse) GetDownloadUrl() string

GetDownloadUrl returns the DownloadUrl field value if set, zero value otherwise.

func (*ReportTemplateResponse) GetDownloadUrlOk

func (o *ReportTemplateResponse) GetDownloadUrlOk() (*string, bool)

GetDownloadUrlOk returns a tuple with the DownloadUrl field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ReportTemplateResponse) GetFileName

func (o *ReportTemplateResponse) GetFileName() string

GetFileName returns the FileName field value if set, zero value otherwise.

func (*ReportTemplateResponse) GetFileNameOk

func (o *ReportTemplateResponse) GetFileNameOk() (*string, bool)

GetFileNameOk returns a tuple with the FileName field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ReportTemplateResponse) GetId

func (o *ReportTemplateResponse) GetId() string

GetId returns the Id field value

func (*ReportTemplateResponse) GetIdOk

func (o *ReportTemplateResponse) GetIdOk() (*string, bool)

GetIdOk returns a tuple with the Id field value and a boolean to check if the value has been set.

func (*ReportTemplateResponse) GetOrganisationId

func (o *ReportTemplateResponse) GetOrganisationId() string

GetOrganisationId returns the OrganisationId field value

func (*ReportTemplateResponse) GetOrganisationIdOk

func (o *ReportTemplateResponse) GetOrganisationIdOk() (*string, bool)

GetOrganisationIdOk returns a tuple with the OrganisationId field value and a boolean to check if the value has been set.

func (*ReportTemplateResponse) GetState

GetState returns the State field value

func (*ReportTemplateResponse) GetStateOk

func (o *ReportTemplateResponse) GetStateOk() (*ReportTemplateState, bool)

GetStateOk returns a tuple with the State field value and a boolean to check if the value has been set.

func (*ReportTemplateResponse) GetType

func (o *ReportTemplateResponse) GetType() string

GetType returns the Type field value

func (*ReportTemplateResponse) GetTypeOk

func (o *ReportTemplateResponse) GetTypeOk() (*string, bool)

GetTypeOk returns a tuple with the Type field value and a boolean to check if the value has been set.

func (*ReportTemplateResponse) GetUpdated

func (o *ReportTemplateResponse) GetUpdated() time.Time

GetUpdated returns the Updated field value

func (*ReportTemplateResponse) GetUpdatedOk

func (o *ReportTemplateResponse) GetUpdatedOk() (*time.Time, bool)

GetUpdatedOk returns a tuple with the Updated field value and a boolean to check if the value has been set.

func (*ReportTemplateResponse) GetUploadUrl

func (o *ReportTemplateResponse) GetUploadUrl() string

GetUploadUrl returns the UploadUrl field value if set, zero value otherwise.

func (*ReportTemplateResponse) GetUploadUrlOk

func (o *ReportTemplateResponse) GetUploadUrlOk() (*string, bool)

GetUploadUrlOk returns a tuple with the UploadUrl field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ReportTemplateResponse) HasDownloadUrl

func (o *ReportTemplateResponse) HasDownloadUrl() bool

HasDownloadUrl returns a boolean if a field has been set.

func (*ReportTemplateResponse) HasFileName

func (o *ReportTemplateResponse) HasFileName() bool

HasFileName returns a boolean if a field has been set.

func (*ReportTemplateResponse) HasUploadUrl

func (o *ReportTemplateResponse) HasUploadUrl() bool

HasUploadUrl returns a boolean if a field has been set.

func (ReportTemplateResponse) MarshalJSON

func (o ReportTemplateResponse) MarshalJSON() ([]byte, error)

func (*ReportTemplateResponse) SetCreated

func (o *ReportTemplateResponse) SetCreated(v time.Time)

SetCreated sets field value

func (*ReportTemplateResponse) SetDisplayName

func (o *ReportTemplateResponse) SetDisplayName(v string)

SetDisplayName sets field value

func (*ReportTemplateResponse) SetDownloadUrl

func (o *ReportTemplateResponse) SetDownloadUrl(v string)

SetDownloadUrl gets a reference to the given string and assigns it to the DownloadUrl field.

func (*ReportTemplateResponse) SetFileName

func (o *ReportTemplateResponse) SetFileName(v string)

SetFileName gets a reference to the given string and assigns it to the FileName field.

func (*ReportTemplateResponse) SetId

func (o *ReportTemplateResponse) SetId(v string)

SetId sets field value

func (*ReportTemplateResponse) SetOrganisationId

func (o *ReportTemplateResponse) SetOrganisationId(v string)

SetOrganisationId sets field value

func (*ReportTemplateResponse) SetState

SetState sets field value

func (*ReportTemplateResponse) SetType

func (o *ReportTemplateResponse) SetType(v string)

SetType sets field value

func (*ReportTemplateResponse) SetUpdated

func (o *ReportTemplateResponse) SetUpdated(v time.Time)

SetUpdated sets field value

func (*ReportTemplateResponse) SetUploadUrl

func (o *ReportTemplateResponse) SetUploadUrl(v string)

SetUploadUrl gets a reference to the given string and assigns it to the UploadUrl field.

func (ReportTemplateResponse) ToMap

func (o ReportTemplateResponse) ToMap() (map[string]interface{}, error)

func (*ReportTemplateResponse) UnmarshalJSON

func (o *ReportTemplateResponse) UnmarshalJSON(data []byte) (err error)

type ReportTemplateState

type ReportTemplateState string

ReportTemplateState Report template state

const (
	REPORTTEMPLATESTATE_PENDING     ReportTemplateState = "pending"
	REPORTTEMPLATESTATE_IN_PROGRESS ReportTemplateState = "in_progress"
	REPORTTEMPLATESTATE_DONE        ReportTemplateState = "done"
	REPORTTEMPLATESTATE_FAILED      ReportTemplateState = "failed"
)

List of ReportTemplateState

func NewReportTemplateStateFromValue

func NewReportTemplateStateFromValue(v string) (*ReportTemplateState, error)

NewReportTemplateStateFromValue returns a pointer to a valid ReportTemplateState for the value passed as argument, or an error if the value passed is not allowed by the enum

func (ReportTemplateState) IsValid

func (v ReportTemplateState) IsValid() bool

IsValid return true if the value is valid for the enum, false otherwise

func (ReportTemplateState) Ptr

Ptr returns reference to ReportTemplateState value

func (*ReportTemplateState) UnmarshalJSON

func (v *ReportTemplateState) UnmarshalJSON(src []byte) error

type ReportTimeSelection

type ReportTimeSelection struct {
	// From time (ISO 8601)
	From *time.Time `json:"from,omitempty"`
	// To time (ISO 8601)
	To                   *time.Time `json:"to,omitempty"`
	AdditionalProperties map[string]interface{}
}

ReportTimeSelection For Ad Hoc scans this doesn't need to be included. For Continuous scans, if this is not provided, only data from the latest iteration will be used.

func NewReportTimeSelection

func NewReportTimeSelection() *ReportTimeSelection

NewReportTimeSelection instantiates a new ReportTimeSelection 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

func NewReportTimeSelectionWithDefaults

func NewReportTimeSelectionWithDefaults() *ReportTimeSelection

NewReportTimeSelectionWithDefaults instantiates a new ReportTimeSelection 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

func (*ReportTimeSelection) GetFrom

func (o *ReportTimeSelection) GetFrom() time.Time

GetFrom returns the From field value if set, zero value otherwise.

func (*ReportTimeSelection) GetFromOk

func (o *ReportTimeSelection) GetFromOk() (*time.Time, bool)

GetFromOk returns a tuple with the From field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ReportTimeSelection) GetTo

func (o *ReportTimeSelection) GetTo() time.Time

GetTo returns the To field value if set, zero value otherwise.

func (*ReportTimeSelection) GetToOk

func (o *ReportTimeSelection) GetToOk() (*time.Time, bool)

GetToOk returns a tuple with the To field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ReportTimeSelection) HasFrom

func (o *ReportTimeSelection) HasFrom() bool

HasFrom returns a boolean if a field has been set.

func (*ReportTimeSelection) HasTo

func (o *ReportTimeSelection) HasTo() bool

HasTo returns a boolean if a field has been set.

func (ReportTimeSelection) MarshalJSON

func (o ReportTimeSelection) MarshalJSON() ([]byte, error)

func (*ReportTimeSelection) SetFrom

func (o *ReportTimeSelection) SetFrom(v time.Time)

SetFrom gets a reference to the given time.Time and assigns it to the From field.

func (*ReportTimeSelection) SetTo

func (o *ReportTimeSelection) SetTo(v time.Time)

SetTo gets a reference to the given time.Time and assigns it to the To field.

func (ReportTimeSelection) ToMap

func (o ReportTimeSelection) ToMap() (map[string]interface{}, error)

func (*ReportTimeSelection) UnmarshalJSON

func (o *ReportTimeSelection) UnmarshalJSON(data []byte) (err error)

type ReportType

type ReportType string

ReportType Report type

const (
	REPORTTYPE_SUMMARY       ReportType = "summary"
	REPORTTYPE_EXCEL_SUMMARY ReportType = "excel_summary"
)

List of ReportType

func NewReportTypeFromValue

func NewReportTypeFromValue(v string) (*ReportType, error)

NewReportTypeFromValue returns a pointer to a valid ReportType for the value passed as argument, or an error if the value passed is not allowed by the enum

func (ReportType) IsValid

func (v ReportType) IsValid() bool

IsValid return true if the value is valid for the enum, false otherwise

func (ReportType) Ptr

func (v ReportType) Ptr() *ReportType

Ptr returns reference to ReportType value

func (*ReportType) UnmarshalJSON

func (v *ReportType) UnmarshalJSON(src []byte) error

type ReportsAPIService

type ReportsAPIService service

ReportsAPIService ReportsAPI service

func (*ReportsAPIService) CreateReport

CreateReport Create a report

Required role: `scans.reports:write`

Report generation is an asynchronous operation. The response will contain the report ID and the report will be generated in the background. You can use the report ID to check the state of the report. The "state" property will be set to "done" when the report is ready for download.

This endpoint requires that the associated organisation has API access enabled. If API access is not allowed, the response code will be 403 (Forbidden).

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return ApiCreateReportRequest

func (*ReportsAPIService) CreateReportExecute

Execute executes the request

@return ReportResponse

func (*ReportsAPIService) DeleteReport

DeleteReport Delete a report

Required role: `scans.reports:write`

This endpoint requires that the associated organisation has API access enabled. If API access is not allowed, the response code will be 403 (Forbidden).

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param id Report ID
@return ApiDeleteReportRequest

func (*ReportsAPIService) DeleteReportExecute

func (a *ReportsAPIService) DeleteReportExecute(r ApiDeleteReportRequest) (*http.Response, error)

Execute executes the request

func (*ReportsAPIService) GetReport

GetReport Get a report

Required role: `scans.reports:read`

The "state" property will be set to "done" when the report is ready for download.

This endpoint requires that the associated organisation has API access enabled. If API access is not allowed, the response code will be 403 (Forbidden).

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param id Report ID
@return ApiGetReportRequest

func (*ReportsAPIService) GetReportCountForOrg

func (a *ReportsAPIService) GetReportCountForOrg(ctx context.Context, orgId string) ApiGetReportCountForOrgRequest

GetReportCountForOrg Get report count for an organisation

Required role: `scans.reports:read`

This endpoint requires that the associated organisation has API access enabled. If API access is not allowed, the response code will be 403 (Forbidden).

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param orgId Organisation ID
@return ApiGetReportCountForOrgRequest

func (*ReportsAPIService) GetReportCountForOrgExecute

func (a *ReportsAPIService) GetReportCountForOrgExecute(r ApiGetReportCountForOrgRequest) (*InlineObject, *http.Response, error)

Execute executes the request

@return InlineObject

func (*ReportsAPIService) GetReportCountForScan

func (a *ReportsAPIService) GetReportCountForScan(ctx context.Context, scanId string) ApiGetReportCountForScanRequest

GetReportCountForScan Get report count for a scan

Required role: `scans.reports:read`

This endpoint requires that the associated organisation has API access enabled. If API access is not allowed, the response code will be 403 (Forbidden).

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param scanId Scan ID
@return ApiGetReportCountForScanRequest

func (*ReportsAPIService) GetReportCountForScanExecute

func (a *ReportsAPIService) GetReportCountForScanExecute(r ApiGetReportCountForScanRequest) (*InlineObject, *http.Response, error)

Execute executes the request

@return InlineObject

func (*ReportsAPIService) GetReportExecute

Execute executes the request

@return ReportResponse

func (*ReportsAPIService) GetReportTemplatesForOrg

func (a *ReportsAPIService) GetReportTemplatesForOrg(ctx context.Context, orgId string) ApiGetReportTemplatesForOrgRequest

GetReportTemplatesForOrg Get report templates for an organisation

Required role: `organisations.report_templates:read`

This endpoint requires that the associated organisation has API access enabled. If API access is not allowed, the response code will be 403 (Forbidden).

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param orgId Organisation ID
@return ApiGetReportTemplatesForOrgRequest

func (*ReportsAPIService) GetReportTemplatesForOrgExecute

Execute executes the request

@return []ReportTemplateResponse

func (*ReportsAPIService) GetReportsForOrg

func (a *ReportsAPIService) GetReportsForOrg(ctx context.Context, orgId string) ApiGetReportsForOrgRequest

GetReportsForOrg Get reports for an organisation

Required role: `scans.reports:read`

The "download_url" property will be blank as it is time-limited, and should be obtained when needed via `GET /v1/reports/{id}`.

This endpoint requires that the associated organisation has API access enabled. If API access is not allowed, the response code will be 403 (Forbidden).

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param orgId Organisation ID
@return ApiGetReportsForOrgRequest

func (*ReportsAPIService) GetReportsForOrgExecute

func (a *ReportsAPIService) GetReportsForOrgExecute(r ApiGetReportsForOrgRequest) ([]ReportResponse, *http.Response, error)

Execute executes the request

@return []ReportResponse

func (*ReportsAPIService) GetReportsForScan

func (a *ReportsAPIService) GetReportsForScan(ctx context.Context, scanId string) ApiGetReportsForScanRequest

GetReportsForScan Get reports for a scan

Required role: `scans.reports:read`

This endpoint requires that the associated organisation has API access enabled. If API access is not allowed, the response code will be 403 (Forbidden).

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param scanId Scan ID
@return ApiGetReportsForScanRequest

func (*ReportsAPIService) GetReportsForScanExecute

func (a *ReportsAPIService) GetReportsForScanExecute(r ApiGetReportsForScanRequest) ([]ReportResponse, *http.Response, error)

Execute executes the request

@return []ReportResponse

type Role

type Role struct {
	GroupId              string `json:"group_id"`
	Role                 string `json:"role"`
	AdditionalProperties map[string]interface{}
}

Role struct for Role

func NewRole

func NewRole(groupId string, role string) *Role

NewRole instantiates a new Role 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

func NewRoleWithDefaults

func NewRoleWithDefaults() *Role

NewRoleWithDefaults instantiates a new Role 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

func (*Role) GetGroupId

func (o *Role) GetGroupId() string

GetGroupId returns the GroupId field value

func (*Role) GetGroupIdOk

func (o *Role) GetGroupIdOk() (*string, bool)

GetGroupIdOk returns a tuple with the GroupId field value and a boolean to check if the value has been set.

func (*Role) GetRole

func (o *Role) GetRole() string

GetRole returns the Role field value

func (*Role) GetRoleOk

func (o *Role) GetRoleOk() (*string, bool)

GetRoleOk returns a tuple with the Role field value and a boolean to check if the value has been set.

func (Role) MarshalJSON

func (o Role) MarshalJSON() ([]byte, error)

func (*Role) SetGroupId

func (o *Role) SetGroupId(v string)

SetGroupId sets field value

func (*Role) SetRole

func (o *Role) SetRole(v string)

SetRole sets field value

func (Role) ToMap

func (o Role) ToMap() (map[string]interface{}, error)

func (*Role) UnmarshalJSON

func (o *Role) UnmarshalJSON(data []byte) (err error)

type ScanDataAPIService

type ScanDataAPIService service

ScanDataAPIService ScanDataAPI service

func (*ScanDataAPIService) GetScanDataComponents

func (a *ScanDataAPIService) GetScanDataComponents(ctx context.Context, scanId string) ApiGetScanDataComponentsRequest

GetScanDataComponents Get components by Scan ID

Required role: `scans:read`

This endpoint requires that the associated organisation has API access enabled. If API access is not allowed, the response code will be 403 (Forbidden).

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param scanId Scan ID
@return ApiGetScanDataComponentsRequest

func (*ScanDataAPIService) GetScanDataComponentsCount

func (a *ScanDataAPIService) GetScanDataComponentsCount(ctx context.Context, scanId string) ApiGetScanDataComponentsCountRequest

GetScanDataComponentsCount Get count of components by Scan ID

Required role: `scans:read`

This endpoint requires that the associated organisation has API access enabled. If API access is not allowed, the response code will be 403 (Forbidden).

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param scanId Scan ID
@return ApiGetScanDataComponentsCountRequest

func (*ScanDataAPIService) GetScanDataComponentsCountExecute

func (a *ScanDataAPIService) GetScanDataComponentsCountExecute(r ApiGetScanDataComponentsCountRequest) (*InlineObject, *http.Response, error)

Execute executes the request

@return InlineObject

func (*ScanDataAPIService) GetScanDataComponentsExecute

Execute executes the request

@return []ScanDataComponentResponse

func (*ScanDataAPIService) GetScanDataDomains

func (a *ScanDataAPIService) GetScanDataDomains(ctx context.Context, scanId string) ApiGetScanDataDomainsRequest

GetScanDataDomains Get primary domains by Scan ID

Required role: `scans:read`

This endpoint requires that the associated organisation has API access enabled. If API access is not allowed, the response code will be 403 (Forbidden).

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param scanId Scan ID
@return ApiGetScanDataDomainsRequest

func (*ScanDataAPIService) GetScanDataDomainsCount

func (a *ScanDataAPIService) GetScanDataDomainsCount(ctx context.Context, scanId string) ApiGetScanDataDomainsCountRequest

GetScanDataDomainsCount Get count of primary domains by Scan ID

Required role: `scans:read`

This endpoint requires that the associated organisation has API access enabled. If API access is not allowed, the response code will be 403 (Forbidden).

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param scanId Scan ID
@return ApiGetScanDataDomainsCountRequest

func (*ScanDataAPIService) GetScanDataDomainsCountExecute

func (a *ScanDataAPIService) GetScanDataDomainsCountExecute(r ApiGetScanDataDomainsCountRequest) (*InlineObject, *http.Response, error)

Execute executes the request

@return InlineObject

func (*ScanDataAPIService) GetScanDataDomainsExecute

Execute executes the request

@return []ScanDataDomainResponse

func (*ScanDataAPIService) GetScanDataIPs

func (a *ScanDataAPIService) GetScanDataIPs(ctx context.Context, scanId string) ApiGetScanDataIPsRequest

GetScanDataIPs Get primary IPs by Scan ID

Required role: `scans:read`

This endpoint requires that the associated organisation has API access enabled. If API access is not allowed, the response code will be 403 (Forbidden).

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param scanId Scan ID
@return ApiGetScanDataIPsRequest

func (*ScanDataAPIService) GetScanDataIPsCount

func (a *ScanDataAPIService) GetScanDataIPsCount(ctx context.Context, scanId string) ApiGetScanDataIPsCountRequest

GetScanDataIPsCount Get count of primary IPs by Scan ID

Required role: `scans:read`

This endpoint requires that the associated organisation has API access enabled. If API access is not allowed, the response code will be 403 (Forbidden).

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param scanId Scan ID
@return ApiGetScanDataIPsCountRequest

func (*ScanDataAPIService) GetScanDataIPsCountExecute

func (a *ScanDataAPIService) GetScanDataIPsCountExecute(r ApiGetScanDataIPsCountRequest) (*InlineObject, *http.Response, error)

Execute executes the request

@return InlineObject

func (*ScanDataAPIService) GetScanDataIPsExecute

Execute executes the request

@return []ScanDataIPResponse

func (*ScanDataAPIService) GetScanDataLinkChanges

func (a *ScanDataAPIService) GetScanDataLinkChanges(ctx context.Context, scanId string) ApiGetScanDataLinkChangesRequest

GetScanDataLinkChanges Get link changes by Scan ID and iteration(s)

Required role: `scans:read`

This endpoint requires that the associated organisation has API access enabled. If API access is not allowed, the response code will be 403 (Forbidden).

The Link Changes endpoint returns the same information shown on the **Changes** page in the Hexiosec ASM app — for example, when a new risk is detected on a service or when a domain starts pointing to a new IP.

For counts of new and removed assets per iteration, see the `/v1/scans/{id}/iterations` endpoint.

Read the full user guide for examples and best practices: docs.hexiosec.com/asm/link-changes-endpoint(https://docs.hexiosec.com/asm/link-changes-endpoint)

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param scanId Scan ID
@return ApiGetScanDataLinkChangesRequest

func (*ScanDataAPIService) GetScanDataLinkChangesExecute

Execute executes the request

@return ScanDataLinkChangesResponse

func (*ScanDataAPIService) GetScanDataOutOfScopeDomains

func (a *ScanDataAPIService) GetScanDataOutOfScopeDomains(ctx context.Context, scanId string) ApiGetScanDataOutOfScopeDomainsRequest

GetScanDataOutOfScopeDomains Get out-of-scope domains by Scan ID

**Deprecated:** Use [Get secondary domains by Scan ID](#get-/v1/scan_data/{scan_id}/secondary_domains) instead. Required role: `scans:read`

This endpoint requires that the associated organisation has API access enabled. If API access is not allowed, the response code will be 403 (Forbidden).

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param scanId Scan ID
@return ApiGetScanDataOutOfScopeDomainsRequest

Deprecated

func (*ScanDataAPIService) GetScanDataOutOfScopeDomainsCount

func (a *ScanDataAPIService) GetScanDataOutOfScopeDomainsCount(ctx context.Context, scanId string) ApiGetScanDataOutOfScopeDomainsCountRequest

GetScanDataOutOfScopeDomainsCount Get count of out-of-scope domains by Scan ID

**Deprecated:** Use [Get count of secondary domains by Scan ID](#get-/v1/scan_data/{scan_id}/secondary_domains/count) instead. Required role: `scans:read`

This endpoint requires that the associated organisation has API access enabled. If API access is not allowed, the response code will be 403 (Forbidden).

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param scanId Scan ID
@return ApiGetScanDataOutOfScopeDomainsCountRequest

Deprecated

func (*ScanDataAPIService) GetScanDataOutOfScopeDomainsCountExecute

func (a *ScanDataAPIService) GetScanDataOutOfScopeDomainsCountExecute(r ApiGetScanDataOutOfScopeDomainsCountRequest) (*InlineObject, *http.Response, error)

Execute executes the request

@return InlineObject

Deprecated

func (*ScanDataAPIService) GetScanDataOutOfScopeDomainsExecute

Execute executes the request

@return []ScanDataOutOfScopeDomainResponse

Deprecated

func (*ScanDataAPIService) GetScanDataRisks

func (a *ScanDataAPIService) GetScanDataRisks(ctx context.Context, scanId string) ApiGetScanDataRisksRequest

GetScanDataRisks Get risks by Scan ID

Required role: `scans:read`

This endpoint requires that the associated organisation has API access enabled. If API access is not allowed, the response code will be 403 (Forbidden).

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param scanId Scan ID
@return ApiGetScanDataRisksRequest

func (*ScanDataAPIService) GetScanDataRisksCount

func (a *ScanDataAPIService) GetScanDataRisksCount(ctx context.Context, scanId string) ApiGetScanDataRisksCountRequest

GetScanDataRisksCount Get count of risks by Scan ID

Required role: `scans:read`

This endpoint requires that the associated organisation has API access enabled. If API access is not allowed, the response code will be 403 (Forbidden).

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param scanId Scan ID
@return ApiGetScanDataRisksCountRequest

func (*ScanDataAPIService) GetScanDataRisksCountExecute

func (a *ScanDataAPIService) GetScanDataRisksCountExecute(r ApiGetScanDataRisksCountRequest) (*InlineObject, *http.Response, error)

Execute executes the request

@return InlineObject

func (*ScanDataAPIService) GetScanDataRisksExecute

Execute executes the request

@return []ScanDataRiskResponse

func (*ScanDataAPIService) GetScanDataSecondaryDomains

func (a *ScanDataAPIService) GetScanDataSecondaryDomains(ctx context.Context, scanId string) ApiGetScanDataSecondaryDomainsRequest

GetScanDataSecondaryDomains Get secondary domains by Scan ID

Required role: `scans:read`

This endpoint requires that the associated organisation has API access enabled. If API access is not allowed, the response code will be 403 (Forbidden).

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param scanId Scan ID
@return ApiGetScanDataSecondaryDomainsRequest

func (*ScanDataAPIService) GetScanDataSecondaryDomainsCount

func (a *ScanDataAPIService) GetScanDataSecondaryDomainsCount(ctx context.Context, scanId string) ApiGetScanDataSecondaryDomainsCountRequest

GetScanDataSecondaryDomainsCount Get count of secondary domains by Scan ID

Required role: `scans:read`

This endpoint requires that the associated organisation has API access enabled. If API access is not allowed, the response code will be 403 (Forbidden).

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param scanId Scan ID
@return ApiGetScanDataSecondaryDomainsCountRequest

func (*ScanDataAPIService) GetScanDataSecondaryDomainsCountExecute

func (a *ScanDataAPIService) GetScanDataSecondaryDomainsCountExecute(r ApiGetScanDataSecondaryDomainsCountRequest) (*InlineObject, *http.Response, error)

Execute executes the request

@return InlineObject

func (*ScanDataAPIService) GetScanDataSecondaryDomainsExecute

Execute executes the request

@return []ScanDataOutOfScopeDomainResponse

func (*ScanDataAPIService) GetScanDataServices

func (a *ScanDataAPIService) GetScanDataServices(ctx context.Context, scanId string) ApiGetScanDataServicesRequest

GetScanDataServices Get services by Scan ID

Required role: `scans:read`

This endpoint requires that the associated organisation has API access enabled. If API access is not allowed, the response code will be 403 (Forbidden).

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param scanId Scan ID
@return ApiGetScanDataServicesRequest

func (*ScanDataAPIService) GetScanDataServicesCount

func (a *ScanDataAPIService) GetScanDataServicesCount(ctx context.Context, scanId string) ApiGetScanDataServicesCountRequest

GetScanDataServicesCount Get count of services by Scan ID

Required role: `scans:read`

This endpoint requires that the associated organisation has API access enabled. If API access is not allowed, the response code will be 403 (Forbidden).

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param scanId Scan ID
@return ApiGetScanDataServicesCountRequest

func (*ScanDataAPIService) GetScanDataServicesCountExecute

func (a *ScanDataAPIService) GetScanDataServicesCountExecute(r ApiGetScanDataServicesCountRequest) (*InlineObject, *http.Response, error)

Execute executes the request

@return InlineObject

func (*ScanDataAPIService) GetScanDataServicesExecute

Execute executes the request

@return []ScanDataServiceResponse

func (*ScanDataAPIService) GetScanDataWebPresence

func (a *ScanDataAPIService) GetScanDataWebPresence(ctx context.Context, scanId string) ApiGetScanDataWebPresenceRequest

GetScanDataWebPresence Get primary web presence URLs by Scan ID

Required role: `scans:read`

This endpoint requires that the associated organisation has API access enabled. If API access is not allowed, the response code will be 403 (Forbidden).

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param scanId Scan ID
@return ApiGetScanDataWebPresenceRequest

func (*ScanDataAPIService) GetScanDataWebPresenceCount

func (a *ScanDataAPIService) GetScanDataWebPresenceCount(ctx context.Context, scanId string) ApiGetScanDataWebPresenceCountRequest

GetScanDataWebPresenceCount Get count of primary web presence URLs by Scan ID

Required role: `scans:read`

This endpoint requires that the associated organisation has API access enabled. If API access is not allowed, the response code will be 403 (Forbidden).

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param scanId Scan ID
@return ApiGetScanDataWebPresenceCountRequest

func (*ScanDataAPIService) GetScanDataWebPresenceCountExecute

func (a *ScanDataAPIService) GetScanDataWebPresenceCountExecute(r ApiGetScanDataWebPresenceCountRequest) (*InlineObject, *http.Response, error)

Execute executes the request

@return InlineObject

func (*ScanDataAPIService) GetScanDataWebPresenceExecute

Execute executes the request

@return []ScanDataWebPresenceResponse

type ScanDataComponentResponse

type ScanDataComponentResponse struct {
	// Component ID
	Id string `json:"id"`
	// Component name
	Name string `json:"name"`
	// Component URN
	Urn string `json:"urn"`
	// Component CPE23
	Cpe23 *string `json:"cpe23,omitempty"`
	// Component vendor
	Vendor *string `json:"vendor,omitempty"`
	// Component version
	Version *string `json:"version,omitempty"`
	// Services
	Services   []ScanDataNodeResponse      `json:"services"`
	RiskCounts *ScanDataRiskCountsResponse `json:"risk_counts,omitempty"`
	Risks      []ScanDataRiskResponse      `json:"risks,omitempty"`
	// Component creation date
	Created time.Time `json:"created"`
	// Component last seen date
	LastSeen             time.Time `json:"last_seen"`
	AdditionalProperties map[string]interface{}
}

ScanDataComponentResponse struct for ScanDataComponentResponse

func NewScanDataComponentResponse

func NewScanDataComponentResponse(id string, name string, urn string, services []ScanDataNodeResponse, created time.Time, lastSeen time.Time) *ScanDataComponentResponse

NewScanDataComponentResponse instantiates a new ScanDataComponentResponse 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

func NewScanDataComponentResponseWithDefaults

func NewScanDataComponentResponseWithDefaults() *ScanDataComponentResponse

NewScanDataComponentResponseWithDefaults instantiates a new ScanDataComponentResponse 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

func (*ScanDataComponentResponse) GetCpe23

func (o *ScanDataComponentResponse) GetCpe23() string

GetCpe23 returns the Cpe23 field value if set, zero value otherwise.

func (*ScanDataComponentResponse) GetCpe23Ok

func (o *ScanDataComponentResponse) GetCpe23Ok() (*string, bool)

GetCpe23Ok returns a tuple with the Cpe23 field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ScanDataComponentResponse) GetCreated

func (o *ScanDataComponentResponse) GetCreated() time.Time

GetCreated returns the Created field value

func (*ScanDataComponentResponse) GetCreatedOk

func (o *ScanDataComponentResponse) GetCreatedOk() (*time.Time, bool)

GetCreatedOk returns a tuple with the Created field value and a boolean to check if the value has been set.

func (*ScanDataComponentResponse) GetId

func (o *ScanDataComponentResponse) GetId() string

GetId returns the Id field value

func (*ScanDataComponentResponse) GetIdOk

func (o *ScanDataComponentResponse) GetIdOk() (*string, bool)

GetIdOk returns a tuple with the Id field value and a boolean to check if the value has been set.

func (*ScanDataComponentResponse) GetLastSeen

func (o *ScanDataComponentResponse) GetLastSeen() time.Time

GetLastSeen returns the LastSeen field value

func (*ScanDataComponentResponse) GetLastSeenOk

func (o *ScanDataComponentResponse) GetLastSeenOk() (*time.Time, bool)

GetLastSeenOk returns a tuple with the LastSeen field value and a boolean to check if the value has been set.

func (*ScanDataComponentResponse) GetName

func (o *ScanDataComponentResponse) GetName() string

GetName returns the Name field value

func (*ScanDataComponentResponse) GetNameOk

func (o *ScanDataComponentResponse) GetNameOk() (*string, bool)

GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.

func (*ScanDataComponentResponse) GetRiskCounts

GetRiskCounts returns the RiskCounts field value if set, zero value otherwise.

func (*ScanDataComponentResponse) GetRiskCountsOk

GetRiskCountsOk returns a tuple with the RiskCounts field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ScanDataComponentResponse) GetRisks

GetRisks returns the Risks field value if set, zero value otherwise.

func (*ScanDataComponentResponse) GetRisksOk

GetRisksOk returns a tuple with the Risks field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ScanDataComponentResponse) GetServices

GetServices returns the Services field value

func (*ScanDataComponentResponse) GetServicesOk

func (o *ScanDataComponentResponse) GetServicesOk() ([]ScanDataNodeResponse, bool)

GetServicesOk returns a tuple with the Services field value and a boolean to check if the value has been set.

func (*ScanDataComponentResponse) GetUrn

func (o *ScanDataComponentResponse) GetUrn() string

GetUrn returns the Urn field value

func (*ScanDataComponentResponse) GetUrnOk

func (o *ScanDataComponentResponse) GetUrnOk() (*string, bool)

GetUrnOk returns a tuple with the Urn field value and a boolean to check if the value has been set.

func (*ScanDataComponentResponse) GetVendor

func (o *ScanDataComponentResponse) GetVendor() string

GetVendor returns the Vendor field value if set, zero value otherwise.

func (*ScanDataComponentResponse) GetVendorOk

func (o *ScanDataComponentResponse) GetVendorOk() (*string, bool)

GetVendorOk returns a tuple with the Vendor field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ScanDataComponentResponse) GetVersion

func (o *ScanDataComponentResponse) GetVersion() string

GetVersion returns the Version field value if set, zero value otherwise.

func (*ScanDataComponentResponse) GetVersionOk

func (o *ScanDataComponentResponse) GetVersionOk() (*string, bool)

GetVersionOk returns a tuple with the Version field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ScanDataComponentResponse) HasCpe23

func (o *ScanDataComponentResponse) HasCpe23() bool

HasCpe23 returns a boolean if a field has been set.

func (*ScanDataComponentResponse) HasRiskCounts

func (o *ScanDataComponentResponse) HasRiskCounts() bool

HasRiskCounts returns a boolean if a field has been set.

func (*ScanDataComponentResponse) HasRisks

func (o *ScanDataComponentResponse) HasRisks() bool

HasRisks returns a boolean if a field has been set.

func (*ScanDataComponentResponse) HasVendor

func (o *ScanDataComponentResponse) HasVendor() bool

HasVendor returns a boolean if a field has been set.

func (*ScanDataComponentResponse) HasVersion

func (o *ScanDataComponentResponse) HasVersion() bool

HasVersion returns a boolean if a field has been set.

func (ScanDataComponentResponse) MarshalJSON

func (o ScanDataComponentResponse) MarshalJSON() ([]byte, error)

func (*ScanDataComponentResponse) SetCpe23

func (o *ScanDataComponentResponse) SetCpe23(v string)

SetCpe23 gets a reference to the given string and assigns it to the Cpe23 field.

func (*ScanDataComponentResponse) SetCreated

func (o *ScanDataComponentResponse) SetCreated(v time.Time)

SetCreated sets field value

func (*ScanDataComponentResponse) SetId

func (o *ScanDataComponentResponse) SetId(v string)

SetId sets field value

func (*ScanDataComponentResponse) SetLastSeen

func (o *ScanDataComponentResponse) SetLastSeen(v time.Time)

SetLastSeen sets field value

func (*ScanDataComponentResponse) SetName

func (o *ScanDataComponentResponse) SetName(v string)

SetName sets field value

func (*ScanDataComponentResponse) SetRiskCounts

SetRiskCounts gets a reference to the given ScanDataRiskCountsResponse and assigns it to the RiskCounts field.

func (*ScanDataComponentResponse) SetRisks

SetRisks gets a reference to the given []ScanDataRiskResponse and assigns it to the Risks field.

func (*ScanDataComponentResponse) SetServices

func (o *ScanDataComponentResponse) SetServices(v []ScanDataNodeResponse)

SetServices sets field value

func (*ScanDataComponentResponse) SetUrn

func (o *ScanDataComponentResponse) SetUrn(v string)

SetUrn sets field value

func (*ScanDataComponentResponse) SetVendor

func (o *ScanDataComponentResponse) SetVendor(v string)

SetVendor gets a reference to the given string and assigns it to the Vendor field.

func (*ScanDataComponentResponse) SetVersion

func (o *ScanDataComponentResponse) SetVersion(v string)

SetVersion gets a reference to the given string and assigns it to the Version field.

func (ScanDataComponentResponse) ToMap

func (o ScanDataComponentResponse) ToMap() (map[string]interface{}, error)

func (*ScanDataComponentResponse) UnmarshalJSON

func (o *ScanDataComponentResponse) UnmarshalJSON(data []byte) (err error)

type ScanDataDomainResponse

type ScanDataDomainResponse struct {
	// Domain ID
	Id string `json:"id"`
	// Domain name
	Name string `json:"name"`
	// [DEPRECATED] use `ips` and `alias` instead, they contain the same data.
	DnsDestinations []ScanDataNodeResponse `json:"dns_destinations"`
	// CNAME Domain
	Alias *ScanDataNodeResponse `json:"alias,omitempty"`
	// IPs
	Ips []ScanDataNodeResponse `json:"ips"`
	// Services
	Services []ScanDataNodeResponse `json:"services"`
	// Certificates
	Certificates []ScanDataNodeResponse `json:"certificates"`
	// Cloud regions
	CloudRegions []ScanDataNodeResponse `json:"cloud_regions"`
	// ASNs
	Asns []ScanDataNodeResponse `json:"asns"`
	// Entities
	Entities   []ScanDataNodeResponse     `json:"entities"`
	RiskCounts ScanDataRiskCountsResponse `json:"risk_counts"`
	Risks      []ScanDataRiskResponse     `json:"risks,omitempty"`
	// Whether the domain is limited or not
	Limited bool `json:"limited"`
	// Whether the domain is stale or not
	Stale bool `json:"stale"`
	// Whether the domain is a name server or not
	NameServer bool `json:"name_server"`
	// Whether the domain is a seed or not
	Seed bool `json:"seed"`
	// Domain creation date
	Created time.Time `json:"created"`
	// Domain last seen date
	LastSeen             time.Time `json:"last_seen"`
	AdditionalProperties map[string]interface{}
}

ScanDataDomainResponse struct for ScanDataDomainResponse

func NewScanDataDomainResponse

func NewScanDataDomainResponse(id string, name string, dnsDestinations []ScanDataNodeResponse, ips []ScanDataNodeResponse, services []ScanDataNodeResponse, certificates []ScanDataNodeResponse, cloudRegions []ScanDataNodeResponse, asns []ScanDataNodeResponse, entities []ScanDataNodeResponse, riskCounts ScanDataRiskCountsResponse, limited bool, stale bool, nameServer bool, seed bool, created time.Time, lastSeen time.Time) *ScanDataDomainResponse

NewScanDataDomainResponse instantiates a new ScanDataDomainResponse 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

func NewScanDataDomainResponseWithDefaults

func NewScanDataDomainResponseWithDefaults() *ScanDataDomainResponse

NewScanDataDomainResponseWithDefaults instantiates a new ScanDataDomainResponse 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

func (*ScanDataDomainResponse) GetAlias

GetAlias returns the Alias field value if set, zero value otherwise.

func (*ScanDataDomainResponse) GetAliasOk

func (o *ScanDataDomainResponse) GetAliasOk() (*ScanDataNodeResponse, bool)

GetAliasOk returns a tuple with the Alias field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ScanDataDomainResponse) GetAsns

GetAsns returns the Asns field value

func (*ScanDataDomainResponse) GetAsnsOk

func (o *ScanDataDomainResponse) GetAsnsOk() ([]ScanDataNodeResponse, bool)

GetAsnsOk returns a tuple with the Asns field value and a boolean to check if the value has been set.

func (*ScanDataDomainResponse) GetCertificates

func (o *ScanDataDomainResponse) GetCertificates() []ScanDataNodeResponse

GetCertificates returns the Certificates field value

func (*ScanDataDomainResponse) GetCertificatesOk

func (o *ScanDataDomainResponse) GetCertificatesOk() ([]ScanDataNodeResponse, bool)

GetCertificatesOk returns a tuple with the Certificates field value and a boolean to check if the value has been set.

func (*ScanDataDomainResponse) GetCloudRegions

func (o *ScanDataDomainResponse) GetCloudRegions() []ScanDataNodeResponse

GetCloudRegions returns the CloudRegions field value

func (*ScanDataDomainResponse) GetCloudRegionsOk

func (o *ScanDataDomainResponse) GetCloudRegionsOk() ([]ScanDataNodeResponse, bool)

GetCloudRegionsOk returns a tuple with the CloudRegions field value and a boolean to check if the value has been set.

func (*ScanDataDomainResponse) GetCreated

func (o *ScanDataDomainResponse) GetCreated() time.Time

GetCreated returns the Created field value

func (*ScanDataDomainResponse) GetCreatedOk

func (o *ScanDataDomainResponse) GetCreatedOk() (*time.Time, bool)

GetCreatedOk returns a tuple with the Created field value and a boolean to check if the value has been set.

func (*ScanDataDomainResponse) GetDnsDestinations

func (o *ScanDataDomainResponse) GetDnsDestinations() []ScanDataNodeResponse

GetDnsDestinations returns the DnsDestinations field value

func (*ScanDataDomainResponse) GetDnsDestinationsOk

func (o *ScanDataDomainResponse) GetDnsDestinationsOk() ([]ScanDataNodeResponse, bool)

GetDnsDestinationsOk returns a tuple with the DnsDestinations field value and a boolean to check if the value has been set.

func (*ScanDataDomainResponse) GetEntities

func (o *ScanDataDomainResponse) GetEntities() []ScanDataNodeResponse

GetEntities returns the Entities field value

func (*ScanDataDomainResponse) GetEntitiesOk

func (o *ScanDataDomainResponse) GetEntitiesOk() ([]ScanDataNodeResponse, bool)

GetEntitiesOk returns a tuple with the Entities field value and a boolean to check if the value has been set.

func (*ScanDataDomainResponse) GetId

func (o *ScanDataDomainResponse) GetId() string

GetId returns the Id field value

func (*ScanDataDomainResponse) GetIdOk

func (o *ScanDataDomainResponse) GetIdOk() (*string, bool)

GetIdOk returns a tuple with the Id field value and a boolean to check if the value has been set.

func (*ScanDataDomainResponse) GetIps

GetIps returns the Ips field value

func (*ScanDataDomainResponse) GetIpsOk

GetIpsOk returns a tuple with the Ips field value and a boolean to check if the value has been set.

func (*ScanDataDomainResponse) GetLastSeen

func (o *ScanDataDomainResponse) GetLastSeen() time.Time

GetLastSeen returns the LastSeen field value

func (*ScanDataDomainResponse) GetLastSeenOk

func (o *ScanDataDomainResponse) GetLastSeenOk() (*time.Time, bool)

GetLastSeenOk returns a tuple with the LastSeen field value and a boolean to check if the value has been set.

func (*ScanDataDomainResponse) GetLimited

func (o *ScanDataDomainResponse) GetLimited() bool

GetLimited returns the Limited field value

func (*ScanDataDomainResponse) GetLimitedOk

func (o *ScanDataDomainResponse) GetLimitedOk() (*bool, bool)

GetLimitedOk returns a tuple with the Limited field value and a boolean to check if the value has been set.

func (*ScanDataDomainResponse) GetName

func (o *ScanDataDomainResponse) GetName() string

GetName returns the Name field value

func (*ScanDataDomainResponse) GetNameOk

func (o *ScanDataDomainResponse) GetNameOk() (*string, bool)

GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.

func (*ScanDataDomainResponse) GetNameServer

func (o *ScanDataDomainResponse) GetNameServer() bool

GetNameServer returns the NameServer field value

func (*ScanDataDomainResponse) GetNameServerOk

func (o *ScanDataDomainResponse) GetNameServerOk() (*bool, bool)

GetNameServerOk returns a tuple with the NameServer field value and a boolean to check if the value has been set.

func (*ScanDataDomainResponse) GetRiskCounts

GetRiskCounts returns the RiskCounts field value

func (*ScanDataDomainResponse) GetRiskCountsOk

func (o *ScanDataDomainResponse) GetRiskCountsOk() (*ScanDataRiskCountsResponse, bool)

GetRiskCountsOk returns a tuple with the RiskCounts field value and a boolean to check if the value has been set.

func (*ScanDataDomainResponse) GetRisks

GetRisks returns the Risks field value if set, zero value otherwise.

func (*ScanDataDomainResponse) GetRisksOk

func (o *ScanDataDomainResponse) GetRisksOk() ([]ScanDataRiskResponse, bool)

GetRisksOk returns a tuple with the Risks field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ScanDataDomainResponse) GetSeed

func (o *ScanDataDomainResponse) GetSeed() bool

GetSeed returns the Seed field value

func (*ScanDataDomainResponse) GetSeedOk

func (o *ScanDataDomainResponse) GetSeedOk() (*bool, bool)

GetSeedOk returns a tuple with the Seed field value and a boolean to check if the value has been set.

func (*ScanDataDomainResponse) GetServices

func (o *ScanDataDomainResponse) GetServices() []ScanDataNodeResponse

GetServices returns the Services field value

func (*ScanDataDomainResponse) GetServicesOk

func (o *ScanDataDomainResponse) GetServicesOk() ([]ScanDataNodeResponse, bool)

GetServicesOk returns a tuple with the Services field value and a boolean to check if the value has been set.

func (*ScanDataDomainResponse) GetStale

func (o *ScanDataDomainResponse) GetStale() bool

GetStale returns the Stale field value

func (*ScanDataDomainResponse) GetStaleOk

func (o *ScanDataDomainResponse) GetStaleOk() (*bool, bool)

GetStaleOk returns a tuple with the Stale field value and a boolean to check if the value has been set.

func (*ScanDataDomainResponse) HasAlias

func (o *ScanDataDomainResponse) HasAlias() bool

HasAlias returns a boolean if a field has been set.

func (*ScanDataDomainResponse) HasRisks

func (o *ScanDataDomainResponse) HasRisks() bool

HasRisks returns a boolean if a field has been set.

func (ScanDataDomainResponse) MarshalJSON

func (o ScanDataDomainResponse) MarshalJSON() ([]byte, error)

func (*ScanDataDomainResponse) SetAlias

SetAlias gets a reference to the given ScanDataNodeResponse and assigns it to the Alias field.

func (*ScanDataDomainResponse) SetAsns

SetAsns sets field value

func (*ScanDataDomainResponse) SetCertificates

func (o *ScanDataDomainResponse) SetCertificates(v []ScanDataNodeResponse)

SetCertificates sets field value

func (*ScanDataDomainResponse) SetCloudRegions

func (o *ScanDataDomainResponse) SetCloudRegions(v []ScanDataNodeResponse)

SetCloudRegions sets field value

func (*ScanDataDomainResponse) SetCreated

func (o *ScanDataDomainResponse) SetCreated(v time.Time)

SetCreated sets field value

func (*ScanDataDomainResponse) SetDnsDestinations

func (o *ScanDataDomainResponse) SetDnsDestinations(v []ScanDataNodeResponse)

SetDnsDestinations sets field value

func (*ScanDataDomainResponse) SetEntities

func (o *ScanDataDomainResponse) SetEntities(v []ScanDataNodeResponse)

SetEntities sets field value

func (*ScanDataDomainResponse) SetId

func (o *ScanDataDomainResponse) SetId(v string)

SetId sets field value

func (*ScanDataDomainResponse) SetIps

SetIps sets field value

func (*ScanDataDomainResponse) SetLastSeen

func (o *ScanDataDomainResponse) SetLastSeen(v time.Time)

SetLastSeen sets field value

func (*ScanDataDomainResponse) SetLimited

func (o *ScanDataDomainResponse) SetLimited(v bool)

SetLimited sets field value

func (*ScanDataDomainResponse) SetName

func (o *ScanDataDomainResponse) SetName(v string)

SetName sets field value

func (*ScanDataDomainResponse) SetNameServer

func (o *ScanDataDomainResponse) SetNameServer(v bool)

SetNameServer sets field value

func (*ScanDataDomainResponse) SetRiskCounts

SetRiskCounts sets field value

func (*ScanDataDomainResponse) SetRisks

SetRisks gets a reference to the given []ScanDataRiskResponse and assigns it to the Risks field.

func (*ScanDataDomainResponse) SetSeed

func (o *ScanDataDomainResponse) SetSeed(v bool)

SetSeed sets field value

func (*ScanDataDomainResponse) SetServices

func (o *ScanDataDomainResponse) SetServices(v []ScanDataNodeResponse)

SetServices sets field value

func (*ScanDataDomainResponse) SetStale

func (o *ScanDataDomainResponse) SetStale(v bool)

SetStale sets field value

func (ScanDataDomainResponse) ToMap

func (o ScanDataDomainResponse) ToMap() (map[string]interface{}, error)

func (*ScanDataDomainResponse) UnmarshalJSON

func (o *ScanDataDomainResponse) UnmarshalJSON(data []byte) (err error)

type ScanDataIPResponse

type ScanDataIPResponse struct {
	// IP ID
	Id string `json:"id"`
	// IP Address
	Ip string `json:"ip"`
	// DNS sources
	DnsSources []ScanDataNodeResponse `json:"dns_sources"`
	// DNS pointers
	DnsPtrs []ScanDataNodeResponse `json:"dns_ptrs"`
	// Services
	Services []ScanDataNodeResponse `json:"services"`
	// Certificates
	Certificates []ScanDataNodeResponse `json:"certificates"`
	// Cloud regions
	CloudRegions []ScanDataNodeResponse `json:"cloud_regions"`
	// ASNs
	Asns []ScanDataNodeResponse `json:"asns"`
	// Entities
	Entities   []ScanDataNodeResponse     `json:"entities"`
	RiskCounts ScanDataRiskCountsResponse `json:"risk_counts"`
	Risks      []ScanDataRiskResponse     `json:"risks,omitempty"`
	// Whether the IP is limited or not
	Limited bool `json:"limited"`
	// Country
	Country *string `json:"country,omitempty"`
	// City
	City *string `json:"city,omitempty"`
	// Latitude
	Latitude *float32 `json:"latitude,omitempty"`
	// Longitude
	Longitude *float32 `json:"longitude,omitempty"`
	// Whether the IP is a seed or not
	Seed bool `json:"seed"`
	// IP creation date
	Created time.Time `json:"created"`
	// IP last seen date
	LastSeen             time.Time `json:"last_seen"`
	AdditionalProperties map[string]interface{}
}

ScanDataIPResponse struct for ScanDataIPResponse

func NewScanDataIPResponse

func NewScanDataIPResponse(id string, ip string, dnsSources []ScanDataNodeResponse, dnsPtrs []ScanDataNodeResponse, services []ScanDataNodeResponse, certificates []ScanDataNodeResponse, cloudRegions []ScanDataNodeResponse, asns []ScanDataNodeResponse, entities []ScanDataNodeResponse, riskCounts ScanDataRiskCountsResponse, limited bool, seed bool, created time.Time, lastSeen time.Time) *ScanDataIPResponse

NewScanDataIPResponse instantiates a new ScanDataIPResponse 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

func NewScanDataIPResponseWithDefaults

func NewScanDataIPResponseWithDefaults() *ScanDataIPResponse

NewScanDataIPResponseWithDefaults instantiates a new ScanDataIPResponse 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

func (*ScanDataIPResponse) GetAsns

GetAsns returns the Asns field value

func (*ScanDataIPResponse) GetAsnsOk

func (o *ScanDataIPResponse) GetAsnsOk() ([]ScanDataNodeResponse, bool)

GetAsnsOk returns a tuple with the Asns field value and a boolean to check if the value has been set.

func (*ScanDataIPResponse) GetCertificates

func (o *ScanDataIPResponse) GetCertificates() []ScanDataNodeResponse

GetCertificates returns the Certificates field value

func (*ScanDataIPResponse) GetCertificatesOk

func (o *ScanDataIPResponse) GetCertificatesOk() ([]ScanDataNodeResponse, bool)

GetCertificatesOk returns a tuple with the Certificates field value and a boolean to check if the value has been set.

func (*ScanDataIPResponse) GetCity

func (o *ScanDataIPResponse) GetCity() string

GetCity returns the City field value if set, zero value otherwise.

func (*ScanDataIPResponse) GetCityOk

func (o *ScanDataIPResponse) GetCityOk() (*string, bool)

GetCityOk returns a tuple with the City field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ScanDataIPResponse) GetCloudRegions

func (o *ScanDataIPResponse) GetCloudRegions() []ScanDataNodeResponse

GetCloudRegions returns the CloudRegions field value

func (*ScanDataIPResponse) GetCloudRegionsOk

func (o *ScanDataIPResponse) GetCloudRegionsOk() ([]ScanDataNodeResponse, bool)

GetCloudRegionsOk returns a tuple with the CloudRegions field value and a boolean to check if the value has been set.

func (*ScanDataIPResponse) GetCountry

func (o *ScanDataIPResponse) GetCountry() string

GetCountry returns the Country field value if set, zero value otherwise.

func (*ScanDataIPResponse) GetCountryOk

func (o *ScanDataIPResponse) GetCountryOk() (*string, bool)

GetCountryOk returns a tuple with the Country field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ScanDataIPResponse) GetCreated

func (o *ScanDataIPResponse) GetCreated() time.Time

GetCreated returns the Created field value

func (*ScanDataIPResponse) GetCreatedOk

func (o *ScanDataIPResponse) GetCreatedOk() (*time.Time, bool)

GetCreatedOk returns a tuple with the Created field value and a boolean to check if the value has been set.

func (*ScanDataIPResponse) GetDnsPtrs

func (o *ScanDataIPResponse) GetDnsPtrs() []ScanDataNodeResponse

GetDnsPtrs returns the DnsPtrs field value

func (*ScanDataIPResponse) GetDnsPtrsOk

func (o *ScanDataIPResponse) GetDnsPtrsOk() ([]ScanDataNodeResponse, bool)

GetDnsPtrsOk returns a tuple with the DnsPtrs field value and a boolean to check if the value has been set.

func (*ScanDataIPResponse) GetDnsSources

func (o *ScanDataIPResponse) GetDnsSources() []ScanDataNodeResponse

GetDnsSources returns the DnsSources field value

func (*ScanDataIPResponse) GetDnsSourcesOk

func (o *ScanDataIPResponse) GetDnsSourcesOk() ([]ScanDataNodeResponse, bool)

GetDnsSourcesOk returns a tuple with the DnsSources field value and a boolean to check if the value has been set.

func (*ScanDataIPResponse) GetEntities

func (o *ScanDataIPResponse) GetEntities() []ScanDataNodeResponse

GetEntities returns the Entities field value

func (*ScanDataIPResponse) GetEntitiesOk

func (o *ScanDataIPResponse) GetEntitiesOk() ([]ScanDataNodeResponse, bool)

GetEntitiesOk returns a tuple with the Entities field value and a boolean to check if the value has been set.

func (*ScanDataIPResponse) GetId

func (o *ScanDataIPResponse) GetId() string

GetId returns the Id field value

func (*ScanDataIPResponse) GetIdOk

func (o *ScanDataIPResponse) GetIdOk() (*string, bool)

GetIdOk returns a tuple with the Id field value and a boolean to check if the value has been set.

func (*ScanDataIPResponse) GetIp

func (o *ScanDataIPResponse) GetIp() string

GetIp returns the Ip field value

func (*ScanDataIPResponse) GetIpOk

func (o *ScanDataIPResponse) GetIpOk() (*string, bool)

GetIpOk returns a tuple with the Ip field value and a boolean to check if the value has been set.

func (*ScanDataIPResponse) GetLastSeen

func (o *ScanDataIPResponse) GetLastSeen() time.Time

GetLastSeen returns the LastSeen field value

func (*ScanDataIPResponse) GetLastSeenOk

func (o *ScanDataIPResponse) GetLastSeenOk() (*time.Time, bool)

GetLastSeenOk returns a tuple with the LastSeen field value and a boolean to check if the value has been set.

func (*ScanDataIPResponse) GetLatitude

func (o *ScanDataIPResponse) GetLatitude() float32

GetLatitude returns the Latitude field value if set, zero value otherwise.

func (*ScanDataIPResponse) GetLatitudeOk

func (o *ScanDataIPResponse) GetLatitudeOk() (*float32, bool)

GetLatitudeOk returns a tuple with the Latitude field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ScanDataIPResponse) GetLimited

func (o *ScanDataIPResponse) GetLimited() bool

GetLimited returns the Limited field value

func (*ScanDataIPResponse) GetLimitedOk

func (o *ScanDataIPResponse) GetLimitedOk() (*bool, bool)

GetLimitedOk returns a tuple with the Limited field value and a boolean to check if the value has been set.

func (*ScanDataIPResponse) GetLongitude

func (o *ScanDataIPResponse) GetLongitude() float32

GetLongitude returns the Longitude field value if set, zero value otherwise.

func (*ScanDataIPResponse) GetLongitudeOk

func (o *ScanDataIPResponse) GetLongitudeOk() (*float32, bool)

GetLongitudeOk returns a tuple with the Longitude field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ScanDataIPResponse) GetRiskCounts

GetRiskCounts returns the RiskCounts field value

func (*ScanDataIPResponse) GetRiskCountsOk

func (o *ScanDataIPResponse) GetRiskCountsOk() (*ScanDataRiskCountsResponse, bool)

GetRiskCountsOk returns a tuple with the RiskCounts field value and a boolean to check if the value has been set.

func (*ScanDataIPResponse) GetRisks

func (o *ScanDataIPResponse) GetRisks() []ScanDataRiskResponse

GetRisks returns the Risks field value if set, zero value otherwise.

func (*ScanDataIPResponse) GetRisksOk

func (o *ScanDataIPResponse) GetRisksOk() ([]ScanDataRiskResponse, bool)

GetRisksOk returns a tuple with the Risks field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ScanDataIPResponse) GetSeed

func (o *ScanDataIPResponse) GetSeed() bool

GetSeed returns the Seed field value

func (*ScanDataIPResponse) GetSeedOk

func (o *ScanDataIPResponse) GetSeedOk() (*bool, bool)

GetSeedOk returns a tuple with the Seed field value and a boolean to check if the value has been set.

func (*ScanDataIPResponse) GetServices

func (o *ScanDataIPResponse) GetServices() []ScanDataNodeResponse

GetServices returns the Services field value

func (*ScanDataIPResponse) GetServicesOk

func (o *ScanDataIPResponse) GetServicesOk() ([]ScanDataNodeResponse, bool)

GetServicesOk returns a tuple with the Services field value and a boolean to check if the value has been set.

func (*ScanDataIPResponse) HasCity

func (o *ScanDataIPResponse) HasCity() bool

HasCity returns a boolean if a field has been set.

func (*ScanDataIPResponse) HasCountry

func (o *ScanDataIPResponse) HasCountry() bool

HasCountry returns a boolean if a field has been set.

func (*ScanDataIPResponse) HasLatitude

func (o *ScanDataIPResponse) HasLatitude() bool

HasLatitude returns a boolean if a field has been set.

func (*ScanDataIPResponse) HasLongitude

func (o *ScanDataIPResponse) HasLongitude() bool

HasLongitude returns a boolean if a field has been set.

func (*ScanDataIPResponse) HasRisks

func (o *ScanDataIPResponse) HasRisks() bool

HasRisks returns a boolean if a field has been set.

func (ScanDataIPResponse) MarshalJSON

func (o ScanDataIPResponse) MarshalJSON() ([]byte, error)

func (*ScanDataIPResponse) SetAsns

func (o *ScanDataIPResponse) SetAsns(v []ScanDataNodeResponse)

SetAsns sets field value

func (*ScanDataIPResponse) SetCertificates

func (o *ScanDataIPResponse) SetCertificates(v []ScanDataNodeResponse)

SetCertificates sets field value

func (*ScanDataIPResponse) SetCity

func (o *ScanDataIPResponse) SetCity(v string)

SetCity gets a reference to the given string and assigns it to the City field.

func (*ScanDataIPResponse) SetCloudRegions

func (o *ScanDataIPResponse) SetCloudRegions(v []ScanDataNodeResponse)

SetCloudRegions sets field value

func (*ScanDataIPResponse) SetCountry

func (o *ScanDataIPResponse) SetCountry(v string)

SetCountry gets a reference to the given string and assigns it to the Country field.

func (*ScanDataIPResponse) SetCreated

func (o *ScanDataIPResponse) SetCreated(v time.Time)

SetCreated sets field value

func (*ScanDataIPResponse) SetDnsPtrs

func (o *ScanDataIPResponse) SetDnsPtrs(v []ScanDataNodeResponse)

SetDnsPtrs sets field value

func (*ScanDataIPResponse) SetDnsSources

func (o *ScanDataIPResponse) SetDnsSources(v []ScanDataNodeResponse)

SetDnsSources sets field value

func (*ScanDataIPResponse) SetEntities

func (o *ScanDataIPResponse) SetEntities(v []ScanDataNodeResponse)

SetEntities sets field value

func (*ScanDataIPResponse) SetId

func (o *ScanDataIPResponse) SetId(v string)

SetId sets field value

func (*ScanDataIPResponse) SetIp

func (o *ScanDataIPResponse) SetIp(v string)

SetIp sets field value

func (*ScanDataIPResponse) SetLastSeen

func (o *ScanDataIPResponse) SetLastSeen(v time.Time)

SetLastSeen sets field value

func (*ScanDataIPResponse) SetLatitude

func (o *ScanDataIPResponse) SetLatitude(v float32)

SetLatitude gets a reference to the given float32 and assigns it to the Latitude field.

func (*ScanDataIPResponse) SetLimited

func (o *ScanDataIPResponse) SetLimited(v bool)

SetLimited sets field value

func (*ScanDataIPResponse) SetLongitude

func (o *ScanDataIPResponse) SetLongitude(v float32)

SetLongitude gets a reference to the given float32 and assigns it to the Longitude field.

func (*ScanDataIPResponse) SetRiskCounts

func (o *ScanDataIPResponse) SetRiskCounts(v ScanDataRiskCountsResponse)

SetRiskCounts sets field value

func (*ScanDataIPResponse) SetRisks

func (o *ScanDataIPResponse) SetRisks(v []ScanDataRiskResponse)

SetRisks gets a reference to the given []ScanDataRiskResponse and assigns it to the Risks field.

func (*ScanDataIPResponse) SetSeed

func (o *ScanDataIPResponse) SetSeed(v bool)

SetSeed sets field value

func (*ScanDataIPResponse) SetServices

func (o *ScanDataIPResponse) SetServices(v []ScanDataNodeResponse)

SetServices sets field value

func (ScanDataIPResponse) ToMap

func (o ScanDataIPResponse) ToMap() (map[string]interface{}, error)

func (*ScanDataIPResponse) UnmarshalJSON

func (o *ScanDataIPResponse) UnmarshalJSON(data []byte) (err error)

type ScanDataLinkChangeResponse

type ScanDataLinkChangeResponse struct {
	// Link ID
	Id string `json:"id"`
	// Type of the link
	LinkType string `json:"link_type"`
	// Iteration ID link was added in
	AddedIn string `json:"added_in"`
	// Iteration ID link was removed in
	RemovedIn *string                        `json:"removed_in,omitempty"`
	From      ScanDataLinkChangeResponseFrom `json:"from"`
	To        ScanDataLinkChangeResponseTo   `json:"to"`
	// Set if the link type is RISK
	RiskSeverity         *string `json:"risk_severity,omitempty"`
	RiskSeverityNumber   *int32  `json:"risk_severity_number,omitempty"`
	AdditionalProperties map[string]interface{}
}

ScanDataLinkChangeResponse struct for ScanDataLinkChangeResponse

func NewScanDataLinkChangeResponse

func NewScanDataLinkChangeResponse(id string, linkType string, addedIn string, from ScanDataLinkChangeResponseFrom, to ScanDataLinkChangeResponseTo) *ScanDataLinkChangeResponse

NewScanDataLinkChangeResponse instantiates a new ScanDataLinkChangeResponse 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

func NewScanDataLinkChangeResponseWithDefaults

func NewScanDataLinkChangeResponseWithDefaults() *ScanDataLinkChangeResponse

NewScanDataLinkChangeResponseWithDefaults instantiates a new ScanDataLinkChangeResponse 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

func (*ScanDataLinkChangeResponse) GetAddedIn

func (o *ScanDataLinkChangeResponse) GetAddedIn() string

GetAddedIn returns the AddedIn field value

func (*ScanDataLinkChangeResponse) GetAddedInOk

func (o *ScanDataLinkChangeResponse) GetAddedInOk() (*string, bool)

GetAddedInOk returns a tuple with the AddedIn field value and a boolean to check if the value has been set.

func (*ScanDataLinkChangeResponse) GetFrom

GetFrom returns the From field value

func (*ScanDataLinkChangeResponse) GetFromOk

GetFromOk returns a tuple with the From field value and a boolean to check if the value has been set.

func (*ScanDataLinkChangeResponse) GetId

GetId returns the Id field value

func (*ScanDataLinkChangeResponse) GetIdOk

func (o *ScanDataLinkChangeResponse) GetIdOk() (*string, bool)

GetIdOk returns a tuple with the Id field value and a boolean to check if the value has been set.

func (*ScanDataLinkChangeResponse) GetLinkType

func (o *ScanDataLinkChangeResponse) GetLinkType() string

GetLinkType returns the LinkType field value

func (*ScanDataLinkChangeResponse) GetLinkTypeOk

func (o *ScanDataLinkChangeResponse) GetLinkTypeOk() (*string, bool)

GetLinkTypeOk returns a tuple with the LinkType field value and a boolean to check if the value has been set.

func (*ScanDataLinkChangeResponse) GetRemovedIn

func (o *ScanDataLinkChangeResponse) GetRemovedIn() string

GetRemovedIn returns the RemovedIn field value if set, zero value otherwise.

func (*ScanDataLinkChangeResponse) GetRemovedInOk

func (o *ScanDataLinkChangeResponse) GetRemovedInOk() (*string, bool)

GetRemovedInOk returns a tuple with the RemovedIn field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ScanDataLinkChangeResponse) GetRiskSeverity

func (o *ScanDataLinkChangeResponse) GetRiskSeverity() string

GetRiskSeverity returns the RiskSeverity field value if set, zero value otherwise.

func (*ScanDataLinkChangeResponse) GetRiskSeverityNumber

func (o *ScanDataLinkChangeResponse) GetRiskSeverityNumber() int32

GetRiskSeverityNumber returns the RiskSeverityNumber field value if set, zero value otherwise.

func (*ScanDataLinkChangeResponse) GetRiskSeverityNumberOk

func (o *ScanDataLinkChangeResponse) GetRiskSeverityNumberOk() (*int32, bool)

GetRiskSeverityNumberOk returns a tuple with the RiskSeverityNumber field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ScanDataLinkChangeResponse) GetRiskSeverityOk

func (o *ScanDataLinkChangeResponse) GetRiskSeverityOk() (*string, bool)

GetRiskSeverityOk returns a tuple with the RiskSeverity field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ScanDataLinkChangeResponse) GetTo

GetTo returns the To field value

func (*ScanDataLinkChangeResponse) GetToOk

GetToOk returns a tuple with the To field value and a boolean to check if the value has been set.

func (*ScanDataLinkChangeResponse) HasRemovedIn

func (o *ScanDataLinkChangeResponse) HasRemovedIn() bool

HasRemovedIn returns a boolean if a field has been set.

func (*ScanDataLinkChangeResponse) HasRiskSeverity

func (o *ScanDataLinkChangeResponse) HasRiskSeverity() bool

HasRiskSeverity returns a boolean if a field has been set.

func (*ScanDataLinkChangeResponse) HasRiskSeverityNumber

func (o *ScanDataLinkChangeResponse) HasRiskSeverityNumber() bool

HasRiskSeverityNumber returns a boolean if a field has been set.

func (ScanDataLinkChangeResponse) MarshalJSON

func (o ScanDataLinkChangeResponse) MarshalJSON() ([]byte, error)

func (*ScanDataLinkChangeResponse) SetAddedIn

func (o *ScanDataLinkChangeResponse) SetAddedIn(v string)

SetAddedIn sets field value

func (*ScanDataLinkChangeResponse) SetFrom

SetFrom sets field value

func (*ScanDataLinkChangeResponse) SetId

func (o *ScanDataLinkChangeResponse) SetId(v string)

SetId sets field value

func (*ScanDataLinkChangeResponse) SetLinkType

func (o *ScanDataLinkChangeResponse) SetLinkType(v string)

SetLinkType sets field value

func (*ScanDataLinkChangeResponse) SetRemovedIn

func (o *ScanDataLinkChangeResponse) SetRemovedIn(v string)

SetRemovedIn gets a reference to the given string and assigns it to the RemovedIn field.

func (*ScanDataLinkChangeResponse) SetRiskSeverity

func (o *ScanDataLinkChangeResponse) SetRiskSeverity(v string)

SetRiskSeverity gets a reference to the given string and assigns it to the RiskSeverity field.

func (*ScanDataLinkChangeResponse) SetRiskSeverityNumber

func (o *ScanDataLinkChangeResponse) SetRiskSeverityNumber(v int32)

SetRiskSeverityNumber gets a reference to the given int32 and assigns it to the RiskSeverityNumber field.

func (*ScanDataLinkChangeResponse) SetTo

SetTo sets field value

func (ScanDataLinkChangeResponse) ToMap

func (o ScanDataLinkChangeResponse) ToMap() (map[string]interface{}, error)

func (*ScanDataLinkChangeResponse) UnmarshalJSON

func (o *ScanDataLinkChangeResponse) UnmarshalJSON(data []byte) (err error)

type ScanDataLinkChangeResponseFrom

type ScanDataLinkChangeResponseFrom struct {
	// Node ID (from)
	Id string `json:"id"`
	// Node type (from)
	Type string `json:"type"`
	// Unique identifier (from)
	Key string `json:"key"`
	// Node name (from)
	DisplayName          string `json:"display_name"`
	AdditionalProperties map[string]interface{}
}

ScanDataLinkChangeResponseFrom struct for ScanDataLinkChangeResponseFrom

func NewScanDataLinkChangeResponseFrom

func NewScanDataLinkChangeResponseFrom(id string, type_ string, key string, displayName string) *ScanDataLinkChangeResponseFrom

NewScanDataLinkChangeResponseFrom instantiates a new ScanDataLinkChangeResponseFrom 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

func NewScanDataLinkChangeResponseFromWithDefaults

func NewScanDataLinkChangeResponseFromWithDefaults() *ScanDataLinkChangeResponseFrom

NewScanDataLinkChangeResponseFromWithDefaults instantiates a new ScanDataLinkChangeResponseFrom 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

func (*ScanDataLinkChangeResponseFrom) GetDisplayName

func (o *ScanDataLinkChangeResponseFrom) GetDisplayName() string

GetDisplayName returns the DisplayName field value

func (*ScanDataLinkChangeResponseFrom) GetDisplayNameOk

func (o *ScanDataLinkChangeResponseFrom) GetDisplayNameOk() (*string, bool)

GetDisplayNameOk returns a tuple with the DisplayName field value and a boolean to check if the value has been set.

func (*ScanDataLinkChangeResponseFrom) GetId

GetId returns the Id field value

func (*ScanDataLinkChangeResponseFrom) GetIdOk

func (o *ScanDataLinkChangeResponseFrom) GetIdOk() (*string, bool)

GetIdOk returns a tuple with the Id field value and a boolean to check if the value has been set.

func (*ScanDataLinkChangeResponseFrom) GetKey

GetKey returns the Key field value

func (*ScanDataLinkChangeResponseFrom) GetKeyOk

func (o *ScanDataLinkChangeResponseFrom) GetKeyOk() (*string, bool)

GetKeyOk returns a tuple with the Key field value and a boolean to check if the value has been set.

func (*ScanDataLinkChangeResponseFrom) GetType

GetType returns the Type field value

func (*ScanDataLinkChangeResponseFrom) GetTypeOk

func (o *ScanDataLinkChangeResponseFrom) GetTypeOk() (*string, bool)

GetTypeOk returns a tuple with the Type field value and a boolean to check if the value has been set.

func (ScanDataLinkChangeResponseFrom) MarshalJSON

func (o ScanDataLinkChangeResponseFrom) MarshalJSON() ([]byte, error)

func (*ScanDataLinkChangeResponseFrom) SetDisplayName

func (o *ScanDataLinkChangeResponseFrom) SetDisplayName(v string)

SetDisplayName sets field value

func (*ScanDataLinkChangeResponseFrom) SetId

SetId sets field value

func (*ScanDataLinkChangeResponseFrom) SetKey

SetKey sets field value

func (*ScanDataLinkChangeResponseFrom) SetType

func (o *ScanDataLinkChangeResponseFrom) SetType(v string)

SetType sets field value

func (ScanDataLinkChangeResponseFrom) ToMap

func (o ScanDataLinkChangeResponseFrom) ToMap() (map[string]interface{}, error)

func (*ScanDataLinkChangeResponseFrom) UnmarshalJSON

func (o *ScanDataLinkChangeResponseFrom) UnmarshalJSON(data []byte) (err error)

type ScanDataLinkChangeResponseTo

type ScanDataLinkChangeResponseTo struct {
	// Node ID (to)
	Id string `json:"id"`
	// Node type (to)
	Type string `json:"type"`
	// Unique identifier (to)
	Key string `json:"key"`
	// Node name (to)
	DisplayName          string `json:"display_name"`
	AdditionalProperties map[string]interface{}
}

ScanDataLinkChangeResponseTo struct for ScanDataLinkChangeResponseTo

func NewScanDataLinkChangeResponseTo

func NewScanDataLinkChangeResponseTo(id string, type_ string, key string, displayName string) *ScanDataLinkChangeResponseTo

NewScanDataLinkChangeResponseTo instantiates a new ScanDataLinkChangeResponseTo 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

func NewScanDataLinkChangeResponseToWithDefaults

func NewScanDataLinkChangeResponseToWithDefaults() *ScanDataLinkChangeResponseTo

NewScanDataLinkChangeResponseToWithDefaults instantiates a new ScanDataLinkChangeResponseTo 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

func (*ScanDataLinkChangeResponseTo) GetDisplayName

func (o *ScanDataLinkChangeResponseTo) GetDisplayName() string

GetDisplayName returns the DisplayName field value

func (*ScanDataLinkChangeResponseTo) GetDisplayNameOk

func (o *ScanDataLinkChangeResponseTo) GetDisplayNameOk() (*string, bool)

GetDisplayNameOk returns a tuple with the DisplayName field value and a boolean to check if the value has been set.

func (*ScanDataLinkChangeResponseTo) GetId

GetId returns the Id field value

func (*ScanDataLinkChangeResponseTo) GetIdOk

func (o *ScanDataLinkChangeResponseTo) GetIdOk() (*string, bool)

GetIdOk returns a tuple with the Id field value and a boolean to check if the value has been set.

func (*ScanDataLinkChangeResponseTo) GetKey

GetKey returns the Key field value

func (*ScanDataLinkChangeResponseTo) GetKeyOk

func (o *ScanDataLinkChangeResponseTo) GetKeyOk() (*string, bool)

GetKeyOk returns a tuple with the Key field value and a boolean to check if the value has been set.

func (*ScanDataLinkChangeResponseTo) GetType

func (o *ScanDataLinkChangeResponseTo) GetType() string

GetType returns the Type field value

func (*ScanDataLinkChangeResponseTo) GetTypeOk

func (o *ScanDataLinkChangeResponseTo) GetTypeOk() (*string, bool)

GetTypeOk returns a tuple with the Type field value and a boolean to check if the value has been set.

func (ScanDataLinkChangeResponseTo) MarshalJSON

func (o ScanDataLinkChangeResponseTo) MarshalJSON() ([]byte, error)

func (*ScanDataLinkChangeResponseTo) SetDisplayName

func (o *ScanDataLinkChangeResponseTo) SetDisplayName(v string)

SetDisplayName sets field value

func (*ScanDataLinkChangeResponseTo) SetId

SetId sets field value

func (*ScanDataLinkChangeResponseTo) SetKey

func (o *ScanDataLinkChangeResponseTo) SetKey(v string)

SetKey sets field value

func (*ScanDataLinkChangeResponseTo) SetType

func (o *ScanDataLinkChangeResponseTo) SetType(v string)

SetType sets field value

func (ScanDataLinkChangeResponseTo) ToMap

func (o ScanDataLinkChangeResponseTo) ToMap() (map[string]interface{}, error)

func (*ScanDataLinkChangeResponseTo) UnmarshalJSON

func (o *ScanDataLinkChangeResponseTo) UnmarshalJSON(data []byte) (err error)

type ScanDataLinkChangesResponse

type ScanDataLinkChangesResponse struct {
	Comparison ScanDataLinkChangesResponseComparison `json:"comparison"`
	// List of added links
	Added []ScanDataLinkChangeResponse `json:"added"`
	// List of removed links
	Removed              []ScanDataLinkChangeResponse `json:"removed"`
	AdditionalProperties map[string]interface{}
}

ScanDataLinkChangesResponse struct for ScanDataLinkChangesResponse

func NewScanDataLinkChangesResponse

NewScanDataLinkChangesResponse instantiates a new ScanDataLinkChangesResponse 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

func NewScanDataLinkChangesResponseWithDefaults

func NewScanDataLinkChangesResponseWithDefaults() *ScanDataLinkChangesResponse

NewScanDataLinkChangesResponseWithDefaults instantiates a new ScanDataLinkChangesResponse 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

func (*ScanDataLinkChangesResponse) GetAdded

GetAdded returns the Added field value

func (*ScanDataLinkChangesResponse) GetAddedOk

GetAddedOk returns a tuple with the Added field value and a boolean to check if the value has been set.

func (*ScanDataLinkChangesResponse) GetComparison

GetComparison returns the Comparison field value

func (*ScanDataLinkChangesResponse) GetComparisonOk

GetComparisonOk returns a tuple with the Comparison field value and a boolean to check if the value has been set.

func (*ScanDataLinkChangesResponse) GetRemoved

GetRemoved returns the Removed field value

func (*ScanDataLinkChangesResponse) GetRemovedOk

GetRemovedOk returns a tuple with the Removed field value and a boolean to check if the value has been set.

func (ScanDataLinkChangesResponse) MarshalJSON

func (o ScanDataLinkChangesResponse) MarshalJSON() ([]byte, error)

func (*ScanDataLinkChangesResponse) SetAdded

SetAdded sets field value

func (*ScanDataLinkChangesResponse) SetComparison

SetComparison sets field value

func (*ScanDataLinkChangesResponse) SetRemoved

SetRemoved sets field value

func (ScanDataLinkChangesResponse) ToMap

func (o ScanDataLinkChangesResponse) ToMap() (map[string]interface{}, error)

func (*ScanDataLinkChangesResponse) UnmarshalJSON

func (o *ScanDataLinkChangesResponse) UnmarshalJSON(data []byte) (err error)

type ScanDataLinkChangesResponseComparison

type ScanDataLinkChangesResponseComparison struct {
	// The starting iteration ID
	IterationFrom string `json:"iteration_from"`
	// The ending iteration ID
	IterationTo string `json:"iteration_to"`
	// List of iteration IDs between the starting and ending iterations.
	IterationIds         []string `json:"iteration_ids"`
	AdditionalProperties map[string]interface{}
}

ScanDataLinkChangesResponseComparison struct for ScanDataLinkChangesResponseComparison

func NewScanDataLinkChangesResponseComparison

func NewScanDataLinkChangesResponseComparison(iterationFrom string, iterationTo string, iterationIds []string) *ScanDataLinkChangesResponseComparison

NewScanDataLinkChangesResponseComparison instantiates a new ScanDataLinkChangesResponseComparison 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

func NewScanDataLinkChangesResponseComparisonWithDefaults

func NewScanDataLinkChangesResponseComparisonWithDefaults() *ScanDataLinkChangesResponseComparison

NewScanDataLinkChangesResponseComparisonWithDefaults instantiates a new ScanDataLinkChangesResponseComparison 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

func (*ScanDataLinkChangesResponseComparison) GetIterationFrom

func (o *ScanDataLinkChangesResponseComparison) GetIterationFrom() string

GetIterationFrom returns the IterationFrom field value

func (*ScanDataLinkChangesResponseComparison) GetIterationFromOk

func (o *ScanDataLinkChangesResponseComparison) GetIterationFromOk() (*string, bool)

GetIterationFromOk returns a tuple with the IterationFrom field value and a boolean to check if the value has been set.

func (*ScanDataLinkChangesResponseComparison) GetIterationIds

func (o *ScanDataLinkChangesResponseComparison) GetIterationIds() []string

GetIterationIds returns the IterationIds field value

func (*ScanDataLinkChangesResponseComparison) GetIterationIdsOk

func (o *ScanDataLinkChangesResponseComparison) GetIterationIdsOk() ([]string, bool)

GetIterationIdsOk returns a tuple with the IterationIds field value and a boolean to check if the value has been set.

func (*ScanDataLinkChangesResponseComparison) GetIterationTo

func (o *ScanDataLinkChangesResponseComparison) GetIterationTo() string

GetIterationTo returns the IterationTo field value

func (*ScanDataLinkChangesResponseComparison) GetIterationToOk

func (o *ScanDataLinkChangesResponseComparison) GetIterationToOk() (*string, bool)

GetIterationToOk returns a tuple with the IterationTo field value and a boolean to check if the value has been set.

func (ScanDataLinkChangesResponseComparison) MarshalJSON

func (o ScanDataLinkChangesResponseComparison) MarshalJSON() ([]byte, error)

func (*ScanDataLinkChangesResponseComparison) SetIterationFrom

func (o *ScanDataLinkChangesResponseComparison) SetIterationFrom(v string)

SetIterationFrom sets field value

func (*ScanDataLinkChangesResponseComparison) SetIterationIds

func (o *ScanDataLinkChangesResponseComparison) SetIterationIds(v []string)

SetIterationIds sets field value

func (*ScanDataLinkChangesResponseComparison) SetIterationTo

func (o *ScanDataLinkChangesResponseComparison) SetIterationTo(v string)

SetIterationTo sets field value

func (ScanDataLinkChangesResponseComparison) ToMap

func (o ScanDataLinkChangesResponseComparison) ToMap() (map[string]interface{}, error)

func (*ScanDataLinkChangesResponseComparison) UnmarshalJSON

func (o *ScanDataLinkChangesResponseComparison) UnmarshalJSON(data []byte) (err error)

type ScanDataNodeResponse

type ScanDataNodeResponse struct {
	// Node ID
	Id string `json:"id"`
	// Node name
	Name                 string `json:"name"`
	AdditionalProperties map[string]interface{}
}

ScanDataNodeResponse struct for ScanDataNodeResponse

func NewScanDataNodeResponse

func NewScanDataNodeResponse(id string, name string) *ScanDataNodeResponse

NewScanDataNodeResponse instantiates a new ScanDataNodeResponse 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

func NewScanDataNodeResponseWithDefaults

func NewScanDataNodeResponseWithDefaults() *ScanDataNodeResponse

NewScanDataNodeResponseWithDefaults instantiates a new ScanDataNodeResponse 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

func (*ScanDataNodeResponse) GetId

func (o *ScanDataNodeResponse) GetId() string

GetId returns the Id field value

func (*ScanDataNodeResponse) GetIdOk

func (o *ScanDataNodeResponse) GetIdOk() (*string, bool)

GetIdOk returns a tuple with the Id field value and a boolean to check if the value has been set.

func (*ScanDataNodeResponse) GetName

func (o *ScanDataNodeResponse) GetName() string

GetName returns the Name field value

func (*ScanDataNodeResponse) GetNameOk

func (o *ScanDataNodeResponse) GetNameOk() (*string, bool)

GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.

func (ScanDataNodeResponse) MarshalJSON

func (o ScanDataNodeResponse) MarshalJSON() ([]byte, error)

func (*ScanDataNodeResponse) SetId

func (o *ScanDataNodeResponse) SetId(v string)

SetId sets field value

func (*ScanDataNodeResponse) SetName

func (o *ScanDataNodeResponse) SetName(v string)

SetName sets field value

func (ScanDataNodeResponse) ToMap

func (o ScanDataNodeResponse) ToMap() (map[string]interface{}, error)

func (*ScanDataNodeResponse) UnmarshalJSON

func (o *ScanDataNodeResponse) UnmarshalJSON(data []byte) (err error)

type ScanDataOutOfScopeDomainResponse

type ScanDataOutOfScopeDomainResponse struct {
	// Domain ID
	Id string `json:"id"`
	// Domain name
	Name string `json:"name"`
	// Domain creation date
	Created time.Time `json:"created"`
	// Domain last seen date
	LastSeen             time.Time `json:"last_seen"`
	AdditionalProperties map[string]interface{}
}

ScanDataOutOfScopeDomainResponse struct for ScanDataOutOfScopeDomainResponse

func NewScanDataOutOfScopeDomainResponse

func NewScanDataOutOfScopeDomainResponse(id string, name string, created time.Time, lastSeen time.Time) *ScanDataOutOfScopeDomainResponse

NewScanDataOutOfScopeDomainResponse instantiates a new ScanDataOutOfScopeDomainResponse 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

func NewScanDataOutOfScopeDomainResponseWithDefaults

func NewScanDataOutOfScopeDomainResponseWithDefaults() *ScanDataOutOfScopeDomainResponse

NewScanDataOutOfScopeDomainResponseWithDefaults instantiates a new ScanDataOutOfScopeDomainResponse 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

func (*ScanDataOutOfScopeDomainResponse) GetCreated

func (o *ScanDataOutOfScopeDomainResponse) GetCreated() time.Time

GetCreated returns the Created field value

func (*ScanDataOutOfScopeDomainResponse) GetCreatedOk

func (o *ScanDataOutOfScopeDomainResponse) GetCreatedOk() (*time.Time, bool)

GetCreatedOk returns a tuple with the Created field value and a boolean to check if the value has been set.

func (*ScanDataOutOfScopeDomainResponse) GetId

GetId returns the Id field value

func (*ScanDataOutOfScopeDomainResponse) GetIdOk

func (o *ScanDataOutOfScopeDomainResponse) GetIdOk() (*string, bool)

GetIdOk returns a tuple with the Id field value and a boolean to check if the value has been set.

func (*ScanDataOutOfScopeDomainResponse) GetLastSeen

func (o *ScanDataOutOfScopeDomainResponse) GetLastSeen() time.Time

GetLastSeen returns the LastSeen field value

func (*ScanDataOutOfScopeDomainResponse) GetLastSeenOk

func (o *ScanDataOutOfScopeDomainResponse) GetLastSeenOk() (*time.Time, bool)

GetLastSeenOk returns a tuple with the LastSeen field value and a boolean to check if the value has been set.

func (*ScanDataOutOfScopeDomainResponse) GetName

GetName returns the Name field value

func (*ScanDataOutOfScopeDomainResponse) GetNameOk

func (o *ScanDataOutOfScopeDomainResponse) GetNameOk() (*string, bool)

GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.

func (ScanDataOutOfScopeDomainResponse) MarshalJSON

func (o ScanDataOutOfScopeDomainResponse) MarshalJSON() ([]byte, error)

func (*ScanDataOutOfScopeDomainResponse) SetCreated

func (o *ScanDataOutOfScopeDomainResponse) SetCreated(v time.Time)

SetCreated sets field value

func (*ScanDataOutOfScopeDomainResponse) SetId

SetId sets field value

func (*ScanDataOutOfScopeDomainResponse) SetLastSeen

func (o *ScanDataOutOfScopeDomainResponse) SetLastSeen(v time.Time)

SetLastSeen sets field value

func (*ScanDataOutOfScopeDomainResponse) SetName

SetName sets field value

func (ScanDataOutOfScopeDomainResponse) ToMap

func (o ScanDataOutOfScopeDomainResponse) ToMap() (map[string]interface{}, error)

func (*ScanDataOutOfScopeDomainResponse) UnmarshalJSON

func (o *ScanDataOutOfScopeDomainResponse) UnmarshalJSON(data []byte) (err error)

type ScanDataRiskCountsResponse

type ScanDataRiskCountsResponse struct {
	// Number of info risks
	Info int32 `json:"info"`
	// Number of low risks
	Low int32 `json:"low"`
	// Number of medium risks
	Medium int32 `json:"medium"`
	// Number of high risks
	High int32 `json:"high"`
	// Number of critical risks
	Critical             int32 `json:"critical"`
	AdditionalProperties map[string]interface{}
}

ScanDataRiskCountsResponse Risk counts per severity

func NewScanDataRiskCountsResponse

func NewScanDataRiskCountsResponse(info int32, low int32, medium int32, high int32, critical int32) *ScanDataRiskCountsResponse

NewScanDataRiskCountsResponse instantiates a new ScanDataRiskCountsResponse 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

func NewScanDataRiskCountsResponseWithDefaults

func NewScanDataRiskCountsResponseWithDefaults() *ScanDataRiskCountsResponse

NewScanDataRiskCountsResponseWithDefaults instantiates a new ScanDataRiskCountsResponse 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

func (*ScanDataRiskCountsResponse) GetCritical

func (o *ScanDataRiskCountsResponse) GetCritical() int32

GetCritical returns the Critical field value

func (*ScanDataRiskCountsResponse) GetCriticalOk

func (o *ScanDataRiskCountsResponse) GetCriticalOk() (*int32, bool)

GetCriticalOk returns a tuple with the Critical field value and a boolean to check if the value has been set.

func (*ScanDataRiskCountsResponse) GetHigh

func (o *ScanDataRiskCountsResponse) GetHigh() int32

GetHigh returns the High field value

func (*ScanDataRiskCountsResponse) GetHighOk

func (o *ScanDataRiskCountsResponse) GetHighOk() (*int32, bool)

GetHighOk returns a tuple with the High field value and a boolean to check if the value has been set.

func (*ScanDataRiskCountsResponse) GetInfo

func (o *ScanDataRiskCountsResponse) GetInfo() int32

GetInfo returns the Info field value

func (*ScanDataRiskCountsResponse) GetInfoOk

func (o *ScanDataRiskCountsResponse) GetInfoOk() (*int32, bool)

GetInfoOk returns a tuple with the Info field value and a boolean to check if the value has been set.

func (*ScanDataRiskCountsResponse) GetLow

func (o *ScanDataRiskCountsResponse) GetLow() int32

GetLow returns the Low field value

func (*ScanDataRiskCountsResponse) GetLowOk

func (o *ScanDataRiskCountsResponse) GetLowOk() (*int32, bool)

GetLowOk returns a tuple with the Low field value and a boolean to check if the value has been set.

func (*ScanDataRiskCountsResponse) GetMedium

func (o *ScanDataRiskCountsResponse) GetMedium() int32

GetMedium returns the Medium field value

func (*ScanDataRiskCountsResponse) GetMediumOk

func (o *ScanDataRiskCountsResponse) GetMediumOk() (*int32, bool)

GetMediumOk returns a tuple with the Medium field value and a boolean to check if the value has been set.

func (ScanDataRiskCountsResponse) MarshalJSON

func (o ScanDataRiskCountsResponse) MarshalJSON() ([]byte, error)

func (*ScanDataRiskCountsResponse) SetCritical

func (o *ScanDataRiskCountsResponse) SetCritical(v int32)

SetCritical sets field value

func (*ScanDataRiskCountsResponse) SetHigh

func (o *ScanDataRiskCountsResponse) SetHigh(v int32)

SetHigh sets field value

func (*ScanDataRiskCountsResponse) SetInfo

func (o *ScanDataRiskCountsResponse) SetInfo(v int32)

SetInfo sets field value

func (*ScanDataRiskCountsResponse) SetLow

func (o *ScanDataRiskCountsResponse) SetLow(v int32)

SetLow sets field value

func (*ScanDataRiskCountsResponse) SetMedium

func (o *ScanDataRiskCountsResponse) SetMedium(v int32)

SetMedium sets field value

func (ScanDataRiskCountsResponse) ToMap

func (o ScanDataRiskCountsResponse) ToMap() (map[string]interface{}, error)

func (*ScanDataRiskCountsResponse) UnmarshalJSON

func (o *ScanDataRiskCountsResponse) UnmarshalJSON(data []byte) (err error)

type ScanDataRiskResponse

type ScanDataRiskResponse struct {
	// Link ID of Risk
	LinkId string `json:"link_id"`
	// Node ID of Risk
	RiskNodeId string `json:"risk_node_id"`
	// URN of Risk
	Urn string `json:"urn"`
	// Type of Risk's parent
	AssetType string `json:"asset_type"`
	// Name of Risk's parent
	AssetName string `json:"asset_name"`
	// Node ID of Risk's parent
	AssetNodeId string `json:"asset_node_id"`
	// Name of Risk
	Name string `json:"name"`
	// Description of Risk
	Description string `json:"description"`
	// Remediation of Risk
	Remediation string `json:"remediation"`
	// Severity of Risk
	Severity string `json:"severity"`
	// Category of Risk
	Category *string `json:"category,omitempty"`
	// Tags of Risk
	Tags []string `json:"tags,omitempty"`
	// Risk has a known exploit
	HasKnownExploit bool `json:"has_known_exploit"`
	// Risk may have backported security patches applied
	IsBrRisk bool `json:"is_br_risk"`
	// Exploit Prediction Scoring System score of CVE, if risk isn't a CVE then this is omitted
	EpssScore *float32 `json:"epss_score,omitempty"`
	// Exploit Prediction Scoring System percentile of CVE, if risk isn't a CVE then this is omitted
	EpssPercentile *float32 `json:"epss_percentile,omitempty"`
	// Exploit Prediction Scoring System model version used for CVE, if risk isn't a CVE then this is omitted
	EpssModelVer *string `json:"epss_model_ver,omitempty"`
	// Exploit Prediction Scoring System last update for CVE, if risk isn't a CVE then this is omitted
	EpssLastUpdate *time.Time `json:"epss_last_update,omitempty"`
	// Creation date of Risk
	Created time.Time `json:"created"`
	// Last seen data of Risk
	LastSeen             time.Time `json:"last_seen"`
	AdditionalProperties map[string]interface{}
}

ScanDataRiskResponse struct for ScanDataRiskResponse

func NewScanDataRiskResponse

func NewScanDataRiskResponse(linkId string, riskNodeId string, urn string, assetType string, assetName string, assetNodeId string, name string, description string, remediation string, severity string, hasKnownExploit bool, isBrRisk bool, created time.Time, lastSeen time.Time) *ScanDataRiskResponse

NewScanDataRiskResponse instantiates a new ScanDataRiskResponse 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

func NewScanDataRiskResponseWithDefaults

func NewScanDataRiskResponseWithDefaults() *ScanDataRiskResponse

NewScanDataRiskResponseWithDefaults instantiates a new ScanDataRiskResponse 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

func (*ScanDataRiskResponse) GetAssetName

func (o *ScanDataRiskResponse) GetAssetName() string

GetAssetName returns the AssetName field value

func (*ScanDataRiskResponse) GetAssetNameOk

func (o *ScanDataRiskResponse) GetAssetNameOk() (*string, bool)

GetAssetNameOk returns a tuple with the AssetName field value and a boolean to check if the value has been set.

func (*ScanDataRiskResponse) GetAssetNodeId

func (o *ScanDataRiskResponse) GetAssetNodeId() string

GetAssetNodeId returns the AssetNodeId field value

func (*ScanDataRiskResponse) GetAssetNodeIdOk

func (o *ScanDataRiskResponse) GetAssetNodeIdOk() (*string, bool)

GetAssetNodeIdOk returns a tuple with the AssetNodeId field value and a boolean to check if the value has been set.

func (*ScanDataRiskResponse) GetAssetType

func (o *ScanDataRiskResponse) GetAssetType() string

GetAssetType returns the AssetType field value

func (*ScanDataRiskResponse) GetAssetTypeOk

func (o *ScanDataRiskResponse) GetAssetTypeOk() (*string, bool)

GetAssetTypeOk returns a tuple with the AssetType field value and a boolean to check if the value has been set.

func (*ScanDataRiskResponse) GetCategory

func (o *ScanDataRiskResponse) GetCategory() string

GetCategory returns the Category field value if set, zero value otherwise.

func (*ScanDataRiskResponse) GetCategoryOk

func (o *ScanDataRiskResponse) GetCategoryOk() (*string, bool)

GetCategoryOk returns a tuple with the Category field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ScanDataRiskResponse) GetCreated

func (o *ScanDataRiskResponse) GetCreated() time.Time

GetCreated returns the Created field value

func (*ScanDataRiskResponse) GetCreatedOk

func (o *ScanDataRiskResponse) GetCreatedOk() (*time.Time, bool)

GetCreatedOk returns a tuple with the Created field value and a boolean to check if the value has been set.

func (*ScanDataRiskResponse) GetDescription

func (o *ScanDataRiskResponse) GetDescription() string

GetDescription returns the Description field value

func (*ScanDataRiskResponse) GetDescriptionOk

func (o *ScanDataRiskResponse) GetDescriptionOk() (*string, bool)

GetDescriptionOk returns a tuple with the Description field value and a boolean to check if the value has been set.

func (*ScanDataRiskResponse) GetEpssLastUpdate

func (o *ScanDataRiskResponse) GetEpssLastUpdate() time.Time

GetEpssLastUpdate returns the EpssLastUpdate field value if set, zero value otherwise.

func (*ScanDataRiskResponse) GetEpssLastUpdateOk

func (o *ScanDataRiskResponse) GetEpssLastUpdateOk() (*time.Time, bool)

GetEpssLastUpdateOk returns a tuple with the EpssLastUpdate field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ScanDataRiskResponse) GetEpssModelVer

func (o *ScanDataRiskResponse) GetEpssModelVer() string

GetEpssModelVer returns the EpssModelVer field value if set, zero value otherwise.

func (*ScanDataRiskResponse) GetEpssModelVerOk

func (o *ScanDataRiskResponse) GetEpssModelVerOk() (*string, bool)

GetEpssModelVerOk returns a tuple with the EpssModelVer field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ScanDataRiskResponse) GetEpssPercentile

func (o *ScanDataRiskResponse) GetEpssPercentile() float32

GetEpssPercentile returns the EpssPercentile field value if set, zero value otherwise.

func (*ScanDataRiskResponse) GetEpssPercentileOk

func (o *ScanDataRiskResponse) GetEpssPercentileOk() (*float32, bool)

GetEpssPercentileOk returns a tuple with the EpssPercentile field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ScanDataRiskResponse) GetEpssScore

func (o *ScanDataRiskResponse) GetEpssScore() float32

GetEpssScore returns the EpssScore field value if set, zero value otherwise.

func (*ScanDataRiskResponse) GetEpssScoreOk

func (o *ScanDataRiskResponse) GetEpssScoreOk() (*float32, bool)

GetEpssScoreOk returns a tuple with the EpssScore field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ScanDataRiskResponse) GetHasKnownExploit

func (o *ScanDataRiskResponse) GetHasKnownExploit() bool

GetHasKnownExploit returns the HasKnownExploit field value

func (*ScanDataRiskResponse) GetHasKnownExploitOk

func (o *ScanDataRiskResponse) GetHasKnownExploitOk() (*bool, bool)

GetHasKnownExploitOk returns a tuple with the HasKnownExploit field value and a boolean to check if the value has been set.

func (*ScanDataRiskResponse) GetIsBrRisk

func (o *ScanDataRiskResponse) GetIsBrRisk() bool

GetIsBrRisk returns the IsBrRisk field value

func (*ScanDataRiskResponse) GetIsBrRiskOk

func (o *ScanDataRiskResponse) GetIsBrRiskOk() (*bool, bool)

GetIsBrRiskOk returns a tuple with the IsBrRisk field value and a boolean to check if the value has been set.

func (*ScanDataRiskResponse) GetLastSeen

func (o *ScanDataRiskResponse) GetLastSeen() time.Time

GetLastSeen returns the LastSeen field value

func (*ScanDataRiskResponse) GetLastSeenOk

func (o *ScanDataRiskResponse) GetLastSeenOk() (*time.Time, bool)

GetLastSeenOk returns a tuple with the LastSeen field value and a boolean to check if the value has been set.

func (*ScanDataRiskResponse) GetLinkId

func (o *ScanDataRiskResponse) GetLinkId() string

GetLinkId returns the LinkId field value

func (*ScanDataRiskResponse) GetLinkIdOk

func (o *ScanDataRiskResponse) GetLinkIdOk() (*string, bool)

GetLinkIdOk returns a tuple with the LinkId field value and a boolean to check if the value has been set.

func (*ScanDataRiskResponse) GetName

func (o *ScanDataRiskResponse) GetName() string

GetName returns the Name field value

func (*ScanDataRiskResponse) GetNameOk

func (o *ScanDataRiskResponse) GetNameOk() (*string, bool)

GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.

func (*ScanDataRiskResponse) GetRemediation

func (o *ScanDataRiskResponse) GetRemediation() string

GetRemediation returns the Remediation field value

func (*ScanDataRiskResponse) GetRemediationOk

func (o *ScanDataRiskResponse) GetRemediationOk() (*string, bool)

GetRemediationOk returns a tuple with the Remediation field value and a boolean to check if the value has been set.

func (*ScanDataRiskResponse) GetRiskNodeId

func (o *ScanDataRiskResponse) GetRiskNodeId() string

GetRiskNodeId returns the RiskNodeId field value

func (*ScanDataRiskResponse) GetRiskNodeIdOk

func (o *ScanDataRiskResponse) GetRiskNodeIdOk() (*string, bool)

GetRiskNodeIdOk returns a tuple with the RiskNodeId field value and a boolean to check if the value has been set.

func (*ScanDataRiskResponse) GetSeverity

func (o *ScanDataRiskResponse) GetSeverity() string

GetSeverity returns the Severity field value

func (*ScanDataRiskResponse) GetSeverityOk

func (o *ScanDataRiskResponse) GetSeverityOk() (*string, bool)

GetSeverityOk returns a tuple with the Severity field value and a boolean to check if the value has been set.

func (*ScanDataRiskResponse) GetTags

func (o *ScanDataRiskResponse) GetTags() []string

GetTags returns the Tags field value if set, zero value otherwise.

func (*ScanDataRiskResponse) GetTagsOk

func (o *ScanDataRiskResponse) GetTagsOk() ([]string, bool)

GetTagsOk returns a tuple with the Tags field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ScanDataRiskResponse) GetUrn

func (o *ScanDataRiskResponse) GetUrn() string

GetUrn returns the Urn field value

func (*ScanDataRiskResponse) GetUrnOk

func (o *ScanDataRiskResponse) GetUrnOk() (*string, bool)

GetUrnOk returns a tuple with the Urn field value and a boolean to check if the value has been set.

func (*ScanDataRiskResponse) HasCategory

func (o *ScanDataRiskResponse) HasCategory() bool

HasCategory returns a boolean if a field has been set.

func (*ScanDataRiskResponse) HasEpssLastUpdate

func (o *ScanDataRiskResponse) HasEpssLastUpdate() bool

HasEpssLastUpdate returns a boolean if a field has been set.

func (*ScanDataRiskResponse) HasEpssModelVer

func (o *ScanDataRiskResponse) HasEpssModelVer() bool

HasEpssModelVer returns a boolean if a field has been set.

func (*ScanDataRiskResponse) HasEpssPercentile

func (o *ScanDataRiskResponse) HasEpssPercentile() bool

HasEpssPercentile returns a boolean if a field has been set.

func (*ScanDataRiskResponse) HasEpssScore

func (o *ScanDataRiskResponse) HasEpssScore() bool

HasEpssScore returns a boolean if a field has been set.

func (*ScanDataRiskResponse) HasTags

func (o *ScanDataRiskResponse) HasTags() bool

HasTags returns a boolean if a field has been set.

func (ScanDataRiskResponse) MarshalJSON

func (o ScanDataRiskResponse) MarshalJSON() ([]byte, error)

func (*ScanDataRiskResponse) SetAssetName

func (o *ScanDataRiskResponse) SetAssetName(v string)

SetAssetName sets field value

func (*ScanDataRiskResponse) SetAssetNodeId

func (o *ScanDataRiskResponse) SetAssetNodeId(v string)

SetAssetNodeId sets field value

func (*ScanDataRiskResponse) SetAssetType

func (o *ScanDataRiskResponse) SetAssetType(v string)

SetAssetType sets field value

func (*ScanDataRiskResponse) SetCategory

func (o *ScanDataRiskResponse) SetCategory(v string)

SetCategory gets a reference to the given string and assigns it to the Category field.

func (*ScanDataRiskResponse) SetCreated

func (o *ScanDataRiskResponse) SetCreated(v time.Time)

SetCreated sets field value

func (*ScanDataRiskResponse) SetDescription

func (o *ScanDataRiskResponse) SetDescription(v string)

SetDescription sets field value

func (*ScanDataRiskResponse) SetEpssLastUpdate

func (o *ScanDataRiskResponse) SetEpssLastUpdate(v time.Time)

SetEpssLastUpdate gets a reference to the given time.Time and assigns it to the EpssLastUpdate field.

func (*ScanDataRiskResponse) SetEpssModelVer

func (o *ScanDataRiskResponse) SetEpssModelVer(v string)

SetEpssModelVer gets a reference to the given string and assigns it to the EpssModelVer field.

func (*ScanDataRiskResponse) SetEpssPercentile

func (o *ScanDataRiskResponse) SetEpssPercentile(v float32)

SetEpssPercentile gets a reference to the given float32 and assigns it to the EpssPercentile field.

func (*ScanDataRiskResponse) SetEpssScore

func (o *ScanDataRiskResponse) SetEpssScore(v float32)

SetEpssScore gets a reference to the given float32 and assigns it to the EpssScore field.

func (*ScanDataRiskResponse) SetHasKnownExploit

func (o *ScanDataRiskResponse) SetHasKnownExploit(v bool)

SetHasKnownExploit sets field value

func (*ScanDataRiskResponse) SetIsBrRisk

func (o *ScanDataRiskResponse) SetIsBrRisk(v bool)

SetIsBrRisk sets field value

func (*ScanDataRiskResponse) SetLastSeen

func (o *ScanDataRiskResponse) SetLastSeen(v time.Time)

SetLastSeen sets field value

func (*ScanDataRiskResponse) SetLinkId

func (o *ScanDataRiskResponse) SetLinkId(v string)

SetLinkId sets field value

func (*ScanDataRiskResponse) SetName

func (o *ScanDataRiskResponse) SetName(v string)

SetName sets field value

func (*ScanDataRiskResponse) SetRemediation

func (o *ScanDataRiskResponse) SetRemediation(v string)

SetRemediation sets field value

func (*ScanDataRiskResponse) SetRiskNodeId

func (o *ScanDataRiskResponse) SetRiskNodeId(v string)

SetRiskNodeId sets field value

func (*ScanDataRiskResponse) SetSeverity

func (o *ScanDataRiskResponse) SetSeverity(v string)

SetSeverity sets field value

func (*ScanDataRiskResponse) SetTags

func (o *ScanDataRiskResponse) SetTags(v []string)

SetTags gets a reference to the given []string and assigns it to the Tags field.

func (*ScanDataRiskResponse) SetUrn

func (o *ScanDataRiskResponse) SetUrn(v string)

SetUrn sets field value

func (ScanDataRiskResponse) ToMap

func (o ScanDataRiskResponse) ToMap() (map[string]interface{}, error)

func (*ScanDataRiskResponse) UnmarshalJSON

func (o *ScanDataRiskResponse) UnmarshalJSON(data []byte) (err error)

type ScanDataServiceResponse

type ScanDataServiceResponse struct {
	// Service ID
	Id string `json:"id"`
	// Service name
	Name string                      `json:"name"`
	Host ScanDataServiceResponseHost `json:"host"`
	// Service port
	Port *int32 `json:"port,omitempty"`
	// Service protocol
	Protocol *string `json:"protocol,omitempty"`
	// Service IANA name
	IanaName *string `json:"iana_name,omitempty"`
	// Service IANA description
	IanaDescription *string `json:"iana_description,omitempty"`
	// Whether the service used SSL
	SocketEncrypted *bool `json:"socket_encrypted,omitempty"`
	// Whether the SSL certificate is valid
	SocketAuthorized *bool                       `json:"socket_authorized,omitempty"`
	RiskCounts       *ScanDataRiskCountsResponse `json:"risk_counts,omitempty"`
	Risks            []ScanDataRiskResponse      `json:"risks,omitempty"`
	// Last time Shodan data was updated for the host IP. Has been replaced by source_last_updated
	// Deprecated
	ShodanLastUpdate *time.Time `json:"shodan_last_update,omitempty"`
	// Last time IP data source was updated for the host IP.
	SourceLastUpdated *time.Time `json:"source_last_updated,omitempty"`
	// Service creation date
	Created time.Time `json:"created"`
	// Service last seen date
	LastSeen             time.Time `json:"last_seen"`
	AdditionalProperties map[string]interface{}
}

ScanDataServiceResponse struct for ScanDataServiceResponse

func NewScanDataServiceResponse

func NewScanDataServiceResponse(id string, name string, host ScanDataServiceResponseHost, created time.Time, lastSeen time.Time) *ScanDataServiceResponse

NewScanDataServiceResponse instantiates a new ScanDataServiceResponse 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

func NewScanDataServiceResponseWithDefaults

func NewScanDataServiceResponseWithDefaults() *ScanDataServiceResponse

NewScanDataServiceResponseWithDefaults instantiates a new ScanDataServiceResponse 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

func (*ScanDataServiceResponse) GetCreated

func (o *ScanDataServiceResponse) GetCreated() time.Time

GetCreated returns the Created field value

func (*ScanDataServiceResponse) GetCreatedOk

func (o *ScanDataServiceResponse) GetCreatedOk() (*time.Time, bool)

GetCreatedOk returns a tuple with the Created field value and a boolean to check if the value has been set.

func (*ScanDataServiceResponse) GetHost

GetHost returns the Host field value

func (*ScanDataServiceResponse) GetHostOk

GetHostOk returns a tuple with the Host field value and a boolean to check if the value has been set.

func (*ScanDataServiceResponse) GetIanaDescription

func (o *ScanDataServiceResponse) GetIanaDescription() string

GetIanaDescription returns the IanaDescription field value if set, zero value otherwise.

func (*ScanDataServiceResponse) GetIanaDescriptionOk

func (o *ScanDataServiceResponse) GetIanaDescriptionOk() (*string, bool)

GetIanaDescriptionOk returns a tuple with the IanaDescription field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ScanDataServiceResponse) GetIanaName

func (o *ScanDataServiceResponse) GetIanaName() string

GetIanaName returns the IanaName field value if set, zero value otherwise.

func (*ScanDataServiceResponse) GetIanaNameOk

func (o *ScanDataServiceResponse) GetIanaNameOk() (*string, bool)

GetIanaNameOk returns a tuple with the IanaName field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ScanDataServiceResponse) GetId

func (o *ScanDataServiceResponse) GetId() string

GetId returns the Id field value

func (*ScanDataServiceResponse) GetIdOk

func (o *ScanDataServiceResponse) GetIdOk() (*string, bool)

GetIdOk returns a tuple with the Id field value and a boolean to check if the value has been set.

func (*ScanDataServiceResponse) GetLastSeen

func (o *ScanDataServiceResponse) GetLastSeen() time.Time

GetLastSeen returns the LastSeen field value

func (*ScanDataServiceResponse) GetLastSeenOk

func (o *ScanDataServiceResponse) GetLastSeenOk() (*time.Time, bool)

GetLastSeenOk returns a tuple with the LastSeen field value and a boolean to check if the value has been set.

func (*ScanDataServiceResponse) GetName

func (o *ScanDataServiceResponse) GetName() string

GetName returns the Name field value

func (*ScanDataServiceResponse) GetNameOk

func (o *ScanDataServiceResponse) GetNameOk() (*string, bool)

GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.

func (*ScanDataServiceResponse) GetPort

func (o *ScanDataServiceResponse) GetPort() int32

GetPort returns the Port field value if set, zero value otherwise.

func (*ScanDataServiceResponse) GetPortOk

func (o *ScanDataServiceResponse) GetPortOk() (*int32, bool)

GetPortOk returns a tuple with the Port field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ScanDataServiceResponse) GetProtocol

func (o *ScanDataServiceResponse) GetProtocol() string

GetProtocol returns the Protocol field value if set, zero value otherwise.

func (*ScanDataServiceResponse) GetProtocolOk

func (o *ScanDataServiceResponse) GetProtocolOk() (*string, bool)

GetProtocolOk returns a tuple with the Protocol field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ScanDataServiceResponse) GetRiskCounts

GetRiskCounts returns the RiskCounts field value if set, zero value otherwise.

func (*ScanDataServiceResponse) GetRiskCountsOk

func (o *ScanDataServiceResponse) GetRiskCountsOk() (*ScanDataRiskCountsResponse, bool)

GetRiskCountsOk returns a tuple with the RiskCounts field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ScanDataServiceResponse) GetRisks

GetRisks returns the Risks field value if set, zero value otherwise.

func (*ScanDataServiceResponse) GetRisksOk

func (o *ScanDataServiceResponse) GetRisksOk() ([]ScanDataRiskResponse, bool)

GetRisksOk returns a tuple with the Risks field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ScanDataServiceResponse) GetShodanLastUpdate

func (o *ScanDataServiceResponse) GetShodanLastUpdate() time.Time

GetShodanLastUpdate returns the ShodanLastUpdate field value if set, zero value otherwise. Deprecated

func (*ScanDataServiceResponse) GetShodanLastUpdateOk

func (o *ScanDataServiceResponse) GetShodanLastUpdateOk() (*time.Time, bool)

GetShodanLastUpdateOk returns a tuple with the ShodanLastUpdate field value if set, nil otherwise and a boolean to check if the value has been set. Deprecated

func (*ScanDataServiceResponse) GetSocketAuthorized

func (o *ScanDataServiceResponse) GetSocketAuthorized() bool

GetSocketAuthorized returns the SocketAuthorized field value if set, zero value otherwise.

func (*ScanDataServiceResponse) GetSocketAuthorizedOk

func (o *ScanDataServiceResponse) GetSocketAuthorizedOk() (*bool, bool)

GetSocketAuthorizedOk returns a tuple with the SocketAuthorized field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ScanDataServiceResponse) GetSocketEncrypted

func (o *ScanDataServiceResponse) GetSocketEncrypted() bool

GetSocketEncrypted returns the SocketEncrypted field value if set, zero value otherwise.

func (*ScanDataServiceResponse) GetSocketEncryptedOk

func (o *ScanDataServiceResponse) GetSocketEncryptedOk() (*bool, bool)

GetSocketEncryptedOk returns a tuple with the SocketEncrypted field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ScanDataServiceResponse) GetSourceLastUpdated

func (o *ScanDataServiceResponse) GetSourceLastUpdated() time.Time

GetSourceLastUpdated returns the SourceLastUpdated field value if set, zero value otherwise.

func (*ScanDataServiceResponse) GetSourceLastUpdatedOk

func (o *ScanDataServiceResponse) GetSourceLastUpdatedOk() (*time.Time, bool)

GetSourceLastUpdatedOk returns a tuple with the SourceLastUpdated field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ScanDataServiceResponse) HasIanaDescription

func (o *ScanDataServiceResponse) HasIanaDescription() bool

HasIanaDescription returns a boolean if a field has been set.

func (*ScanDataServiceResponse) HasIanaName

func (o *ScanDataServiceResponse) HasIanaName() bool

HasIanaName returns a boolean if a field has been set.

func (*ScanDataServiceResponse) HasPort

func (o *ScanDataServiceResponse) HasPort() bool

HasPort returns a boolean if a field has been set.

func (*ScanDataServiceResponse) HasProtocol

func (o *ScanDataServiceResponse) HasProtocol() bool

HasProtocol returns a boolean if a field has been set.

func (*ScanDataServiceResponse) HasRiskCounts

func (o *ScanDataServiceResponse) HasRiskCounts() bool

HasRiskCounts returns a boolean if a field has been set.

func (*ScanDataServiceResponse) HasRisks

func (o *ScanDataServiceResponse) HasRisks() bool

HasRisks returns a boolean if a field has been set.

func (*ScanDataServiceResponse) HasShodanLastUpdate

func (o *ScanDataServiceResponse) HasShodanLastUpdate() bool

HasShodanLastUpdate returns a boolean if a field has been set.

func (*ScanDataServiceResponse) HasSocketAuthorized

func (o *ScanDataServiceResponse) HasSocketAuthorized() bool

HasSocketAuthorized returns a boolean if a field has been set.

func (*ScanDataServiceResponse) HasSocketEncrypted

func (o *ScanDataServiceResponse) HasSocketEncrypted() bool

HasSocketEncrypted returns a boolean if a field has been set.

func (*ScanDataServiceResponse) HasSourceLastUpdated

func (o *ScanDataServiceResponse) HasSourceLastUpdated() bool

HasSourceLastUpdated returns a boolean if a field has been set.

func (ScanDataServiceResponse) MarshalJSON

func (o ScanDataServiceResponse) MarshalJSON() ([]byte, error)

func (*ScanDataServiceResponse) SetCreated

func (o *ScanDataServiceResponse) SetCreated(v time.Time)

SetCreated sets field value

func (*ScanDataServiceResponse) SetHost

SetHost sets field value

func (*ScanDataServiceResponse) SetIanaDescription

func (o *ScanDataServiceResponse) SetIanaDescription(v string)

SetIanaDescription gets a reference to the given string and assigns it to the IanaDescription field.

func (*ScanDataServiceResponse) SetIanaName

func (o *ScanDataServiceResponse) SetIanaName(v string)

SetIanaName gets a reference to the given string and assigns it to the IanaName field.

func (*ScanDataServiceResponse) SetId

func (o *ScanDataServiceResponse) SetId(v string)

SetId sets field value

func (*ScanDataServiceResponse) SetLastSeen

func (o *ScanDataServiceResponse) SetLastSeen(v time.Time)

SetLastSeen sets field value

func (*ScanDataServiceResponse) SetName

func (o *ScanDataServiceResponse) SetName(v string)

SetName sets field value

func (*ScanDataServiceResponse) SetPort

func (o *ScanDataServiceResponse) SetPort(v int32)

SetPort gets a reference to the given int32 and assigns it to the Port field.

func (*ScanDataServiceResponse) SetProtocol

func (o *ScanDataServiceResponse) SetProtocol(v string)

SetProtocol gets a reference to the given string and assigns it to the Protocol field.

func (*ScanDataServiceResponse) SetRiskCounts

SetRiskCounts gets a reference to the given ScanDataRiskCountsResponse and assigns it to the RiskCounts field.

func (*ScanDataServiceResponse) SetRisks

SetRisks gets a reference to the given []ScanDataRiskResponse and assigns it to the Risks field.

func (*ScanDataServiceResponse) SetShodanLastUpdate

func (o *ScanDataServiceResponse) SetShodanLastUpdate(v time.Time)

SetShodanLastUpdate gets a reference to the given time.Time and assigns it to the ShodanLastUpdate field. Deprecated

func (*ScanDataServiceResponse) SetSocketAuthorized

func (o *ScanDataServiceResponse) SetSocketAuthorized(v bool)

SetSocketAuthorized gets a reference to the given bool and assigns it to the SocketAuthorized field.

func (*ScanDataServiceResponse) SetSocketEncrypted

func (o *ScanDataServiceResponse) SetSocketEncrypted(v bool)

SetSocketEncrypted gets a reference to the given bool and assigns it to the SocketEncrypted field.

func (*ScanDataServiceResponse) SetSourceLastUpdated

func (o *ScanDataServiceResponse) SetSourceLastUpdated(v time.Time)

SetSourceLastUpdated gets a reference to the given time.Time and assigns it to the SourceLastUpdated field.

func (ScanDataServiceResponse) ToMap

func (o ScanDataServiceResponse) ToMap() (map[string]interface{}, error)

func (*ScanDataServiceResponse) UnmarshalJSON

func (o *ScanDataServiceResponse) UnmarshalJSON(data []byte) (err error)

type ScanDataServiceResponseHost

type ScanDataServiceResponseHost struct {
	// Host ID
	Id string `json:"id"`
	// Host type
	Type string `json:"type"`
	// Host name
	Name                 string `json:"name"`
	AdditionalProperties map[string]interface{}
}

ScanDataServiceResponseHost struct for ScanDataServiceResponseHost

func NewScanDataServiceResponseHost

func NewScanDataServiceResponseHost(id string, type_ string, name string) *ScanDataServiceResponseHost

NewScanDataServiceResponseHost instantiates a new ScanDataServiceResponseHost 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

func NewScanDataServiceResponseHostWithDefaults

func NewScanDataServiceResponseHostWithDefaults() *ScanDataServiceResponseHost

NewScanDataServiceResponseHostWithDefaults instantiates a new ScanDataServiceResponseHost 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

func (*ScanDataServiceResponseHost) GetId

GetId returns the Id field value

func (*ScanDataServiceResponseHost) GetIdOk

func (o *ScanDataServiceResponseHost) GetIdOk() (*string, bool)

GetIdOk returns a tuple with the Id field value and a boolean to check if the value has been set.

func (*ScanDataServiceResponseHost) GetName

func (o *ScanDataServiceResponseHost) GetName() string

GetName returns the Name field value

func (*ScanDataServiceResponseHost) GetNameOk

func (o *ScanDataServiceResponseHost) GetNameOk() (*string, bool)

GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.

func (*ScanDataServiceResponseHost) GetType

func (o *ScanDataServiceResponseHost) GetType() string

GetType returns the Type field value

func (*ScanDataServiceResponseHost) GetTypeOk

func (o *ScanDataServiceResponseHost) GetTypeOk() (*string, bool)

GetTypeOk returns a tuple with the Type field value and a boolean to check if the value has been set.

func (ScanDataServiceResponseHost) MarshalJSON

func (o ScanDataServiceResponseHost) MarshalJSON() ([]byte, error)

func (*ScanDataServiceResponseHost) SetId

func (o *ScanDataServiceResponseHost) SetId(v string)

SetId sets field value

func (*ScanDataServiceResponseHost) SetName

func (o *ScanDataServiceResponseHost) SetName(v string)

SetName sets field value

func (*ScanDataServiceResponseHost) SetType

func (o *ScanDataServiceResponseHost) SetType(v string)

SetType sets field value

func (ScanDataServiceResponseHost) ToMap

func (o ScanDataServiceResponseHost) ToMap() (map[string]interface{}, error)

func (*ScanDataServiceResponseHost) UnmarshalJSON

func (o *ScanDataServiceResponseHost) UnmarshalJSON(data []byte) (err error)

type ScanDataWebPresenceRedirectResponse

type ScanDataWebPresenceRedirectResponse struct {
	// Redirect ID
	Id string `json:"id"`
	// URL
	Url string `json:"url"`
	// HTTP status code
	StatusCode int32 `json:"status_code"`
	// Can be one of `http`, `https`, `http-risk`, `https-risk`
	TlsStatus            string `json:"tls_status"`
	AdditionalProperties map[string]interface{}
}

ScanDataWebPresenceRedirectResponse struct for ScanDataWebPresenceRedirectResponse

func NewScanDataWebPresenceRedirectResponse

func NewScanDataWebPresenceRedirectResponse(id string, url string, statusCode int32, tlsStatus string) *ScanDataWebPresenceRedirectResponse

NewScanDataWebPresenceRedirectResponse instantiates a new ScanDataWebPresenceRedirectResponse 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

func NewScanDataWebPresenceRedirectResponseWithDefaults

func NewScanDataWebPresenceRedirectResponseWithDefaults() *ScanDataWebPresenceRedirectResponse

NewScanDataWebPresenceRedirectResponseWithDefaults instantiates a new ScanDataWebPresenceRedirectResponse 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

func (*ScanDataWebPresenceRedirectResponse) GetId

GetId returns the Id field value

func (*ScanDataWebPresenceRedirectResponse) GetIdOk

GetIdOk returns a tuple with the Id field value and a boolean to check if the value has been set.

func (*ScanDataWebPresenceRedirectResponse) GetStatusCode

func (o *ScanDataWebPresenceRedirectResponse) GetStatusCode() int32

GetStatusCode returns the StatusCode field value

func (*ScanDataWebPresenceRedirectResponse) GetStatusCodeOk

func (o *ScanDataWebPresenceRedirectResponse) GetStatusCodeOk() (*int32, bool)

GetStatusCodeOk returns a tuple with the StatusCode field value and a boolean to check if the value has been set.

func (*ScanDataWebPresenceRedirectResponse) GetTlsStatus

func (o *ScanDataWebPresenceRedirectResponse) GetTlsStatus() string

GetTlsStatus returns the TlsStatus field value

func (*ScanDataWebPresenceRedirectResponse) GetTlsStatusOk

func (o *ScanDataWebPresenceRedirectResponse) GetTlsStatusOk() (*string, bool)

GetTlsStatusOk returns a tuple with the TlsStatus field value and a boolean to check if the value has been set.

func (*ScanDataWebPresenceRedirectResponse) GetUrl

GetUrl returns the Url field value

func (*ScanDataWebPresenceRedirectResponse) GetUrlOk

GetUrlOk returns a tuple with the Url field value and a boolean to check if the value has been set.

func (ScanDataWebPresenceRedirectResponse) MarshalJSON

func (o ScanDataWebPresenceRedirectResponse) MarshalJSON() ([]byte, error)

func (*ScanDataWebPresenceRedirectResponse) SetId

SetId sets field value

func (*ScanDataWebPresenceRedirectResponse) SetStatusCode

func (o *ScanDataWebPresenceRedirectResponse) SetStatusCode(v int32)

SetStatusCode sets field value

func (*ScanDataWebPresenceRedirectResponse) SetTlsStatus

func (o *ScanDataWebPresenceRedirectResponse) SetTlsStatus(v string)

SetTlsStatus sets field value

func (*ScanDataWebPresenceRedirectResponse) SetUrl

SetUrl sets field value

func (ScanDataWebPresenceRedirectResponse) ToMap

func (o ScanDataWebPresenceRedirectResponse) ToMap() (map[string]interface{}, error)

func (*ScanDataWebPresenceRedirectResponse) UnmarshalJSON

func (o *ScanDataWebPresenceRedirectResponse) UnmarshalJSON(data []byte) (err error)

type ScanDataWebPresenceResponse

type ScanDataWebPresenceResponse struct {
	// URL ID
	Id string `json:"id"`
	// URL
	Url string `json:"url"`
	// Domain
	Domain string `json:"domain"`
	// Screenshot ID
	ScreenshotId *string `json:"screenshot_id,omitempty"`
	// HTTP web server details
	HttpServer *string `json:"http_server,omitempty"`
	// HTTP status code
	StatusCode int32 `json:"status_code"`
	// Page title
	PageTitle *string `json:"page_title,omitempty"`
	// Can be one of `http`, `https`, `http-risk`, `https-risk`
	TlsStatus string `json:"tls_status"`
	// Content type
	ContentType *string `json:"content_type,omitempty"`
	// Whether the web page at the URL contains a form input
	FormInput bool `json:"form_input"`
	// Components
	Components []ScanDataNodeResponse `json:"components"`
	// Redirects
	Redirects []ScanDataWebPresenceRedirectResponse `json:"redirects"`
	// URL creation date
	Created time.Time `json:"created"`
	// URL last seen date
	LastSeen             time.Time `json:"last_seen"`
	AdditionalProperties map[string]interface{}
}

ScanDataWebPresenceResponse struct for ScanDataWebPresenceResponse

func NewScanDataWebPresenceResponse

func NewScanDataWebPresenceResponse(id string, url string, domain string, statusCode int32, tlsStatus string, formInput bool, components []ScanDataNodeResponse, redirects []ScanDataWebPresenceRedirectResponse, created time.Time, lastSeen time.Time) *ScanDataWebPresenceResponse

NewScanDataWebPresenceResponse instantiates a new ScanDataWebPresenceResponse 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

func NewScanDataWebPresenceResponseWithDefaults

func NewScanDataWebPresenceResponseWithDefaults() *ScanDataWebPresenceResponse

NewScanDataWebPresenceResponseWithDefaults instantiates a new ScanDataWebPresenceResponse 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

func (*ScanDataWebPresenceResponse) GetComponents

GetComponents returns the Components field value

func (*ScanDataWebPresenceResponse) GetComponentsOk

func (o *ScanDataWebPresenceResponse) GetComponentsOk() ([]ScanDataNodeResponse, bool)

GetComponentsOk returns a tuple with the Components field value and a boolean to check if the value has been set.

func (*ScanDataWebPresenceResponse) GetContentType

func (o *ScanDataWebPresenceResponse) GetContentType() string

GetContentType returns the ContentType field value if set, zero value otherwise.

func (*ScanDataWebPresenceResponse) GetContentTypeOk

func (o *ScanDataWebPresenceResponse) GetContentTypeOk() (*string, bool)

GetContentTypeOk returns a tuple with the ContentType field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ScanDataWebPresenceResponse) GetCreated

func (o *ScanDataWebPresenceResponse) GetCreated() time.Time

GetCreated returns the Created field value

func (*ScanDataWebPresenceResponse) GetCreatedOk

func (o *ScanDataWebPresenceResponse) GetCreatedOk() (*time.Time, bool)

GetCreatedOk returns a tuple with the Created field value and a boolean to check if the value has been set.

func (*ScanDataWebPresenceResponse) GetDomain

func (o *ScanDataWebPresenceResponse) GetDomain() string

GetDomain returns the Domain field value

func (*ScanDataWebPresenceResponse) GetDomainOk

func (o *ScanDataWebPresenceResponse) GetDomainOk() (*string, bool)

GetDomainOk returns a tuple with the Domain field value and a boolean to check if the value has been set.

func (*ScanDataWebPresenceResponse) GetFormInput

func (o *ScanDataWebPresenceResponse) GetFormInput() bool

GetFormInput returns the FormInput field value

func (*ScanDataWebPresenceResponse) GetFormInputOk

func (o *ScanDataWebPresenceResponse) GetFormInputOk() (*bool, bool)

GetFormInputOk returns a tuple with the FormInput field value and a boolean to check if the value has been set.

func (*ScanDataWebPresenceResponse) GetHttpServer

func (o *ScanDataWebPresenceResponse) GetHttpServer() string

GetHttpServer returns the HttpServer field value if set, zero value otherwise.

func (*ScanDataWebPresenceResponse) GetHttpServerOk

func (o *ScanDataWebPresenceResponse) GetHttpServerOk() (*string, bool)

GetHttpServerOk returns a tuple with the HttpServer field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ScanDataWebPresenceResponse) GetId

GetId returns the Id field value

func (*ScanDataWebPresenceResponse) GetIdOk

func (o *ScanDataWebPresenceResponse) GetIdOk() (*string, bool)

GetIdOk returns a tuple with the Id field value and a boolean to check if the value has been set.

func (*ScanDataWebPresenceResponse) GetLastSeen

func (o *ScanDataWebPresenceResponse) GetLastSeen() time.Time

GetLastSeen returns the LastSeen field value

func (*ScanDataWebPresenceResponse) GetLastSeenOk

func (o *ScanDataWebPresenceResponse) GetLastSeenOk() (*time.Time, bool)

GetLastSeenOk returns a tuple with the LastSeen field value and a boolean to check if the value has been set.

func (*ScanDataWebPresenceResponse) GetPageTitle

func (o *ScanDataWebPresenceResponse) GetPageTitle() string

GetPageTitle returns the PageTitle field value if set, zero value otherwise.

func (*ScanDataWebPresenceResponse) GetPageTitleOk

func (o *ScanDataWebPresenceResponse) GetPageTitleOk() (*string, bool)

GetPageTitleOk returns a tuple with the PageTitle field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ScanDataWebPresenceResponse) GetRedirects

GetRedirects returns the Redirects field value

func (*ScanDataWebPresenceResponse) GetRedirectsOk

GetRedirectsOk returns a tuple with the Redirects field value and a boolean to check if the value has been set.

func (*ScanDataWebPresenceResponse) GetScreenshotId

func (o *ScanDataWebPresenceResponse) GetScreenshotId() string

GetScreenshotId returns the ScreenshotId field value if set, zero value otherwise.

func (*ScanDataWebPresenceResponse) GetScreenshotIdOk

func (o *ScanDataWebPresenceResponse) GetScreenshotIdOk() (*string, bool)

GetScreenshotIdOk returns a tuple with the ScreenshotId field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ScanDataWebPresenceResponse) GetStatusCode

func (o *ScanDataWebPresenceResponse) GetStatusCode() int32

GetStatusCode returns the StatusCode field value

func (*ScanDataWebPresenceResponse) GetStatusCodeOk

func (o *ScanDataWebPresenceResponse) GetStatusCodeOk() (*int32, bool)

GetStatusCodeOk returns a tuple with the StatusCode field value and a boolean to check if the value has been set.

func (*ScanDataWebPresenceResponse) GetTlsStatus

func (o *ScanDataWebPresenceResponse) GetTlsStatus() string

GetTlsStatus returns the TlsStatus field value

func (*ScanDataWebPresenceResponse) GetTlsStatusOk

func (o *ScanDataWebPresenceResponse) GetTlsStatusOk() (*string, bool)

GetTlsStatusOk returns a tuple with the TlsStatus field value and a boolean to check if the value has been set.

func (*ScanDataWebPresenceResponse) GetUrl

func (o *ScanDataWebPresenceResponse) GetUrl() string

GetUrl returns the Url field value

func (*ScanDataWebPresenceResponse) GetUrlOk

func (o *ScanDataWebPresenceResponse) GetUrlOk() (*string, bool)

GetUrlOk returns a tuple with the Url field value and a boolean to check if the value has been set.

func (*ScanDataWebPresenceResponse) HasContentType

func (o *ScanDataWebPresenceResponse) HasContentType() bool

HasContentType returns a boolean if a field has been set.

func (*ScanDataWebPresenceResponse) HasHttpServer

func (o *ScanDataWebPresenceResponse) HasHttpServer() bool

HasHttpServer returns a boolean if a field has been set.

func (*ScanDataWebPresenceResponse) HasPageTitle

func (o *ScanDataWebPresenceResponse) HasPageTitle() bool

HasPageTitle returns a boolean if a field has been set.

func (*ScanDataWebPresenceResponse) HasScreenshotId

func (o *ScanDataWebPresenceResponse) HasScreenshotId() bool

HasScreenshotId returns a boolean if a field has been set.

func (ScanDataWebPresenceResponse) MarshalJSON

func (o ScanDataWebPresenceResponse) MarshalJSON() ([]byte, error)

func (*ScanDataWebPresenceResponse) SetComponents

func (o *ScanDataWebPresenceResponse) SetComponents(v []ScanDataNodeResponse)

SetComponents sets field value

func (*ScanDataWebPresenceResponse) SetContentType

func (o *ScanDataWebPresenceResponse) SetContentType(v string)

SetContentType gets a reference to the given string and assigns it to the ContentType field.

func (*ScanDataWebPresenceResponse) SetCreated

func (o *ScanDataWebPresenceResponse) SetCreated(v time.Time)

SetCreated sets field value

func (*ScanDataWebPresenceResponse) SetDomain

func (o *ScanDataWebPresenceResponse) SetDomain(v string)

SetDomain sets field value

func (*ScanDataWebPresenceResponse) SetFormInput

func (o *ScanDataWebPresenceResponse) SetFormInput(v bool)

SetFormInput sets field value

func (*ScanDataWebPresenceResponse) SetHttpServer

func (o *ScanDataWebPresenceResponse) SetHttpServer(v string)

SetHttpServer gets a reference to the given string and assigns it to the HttpServer field.

func (*ScanDataWebPresenceResponse) SetId

func (o *ScanDataWebPresenceResponse) SetId(v string)

SetId sets field value

func (*ScanDataWebPresenceResponse) SetLastSeen

func (o *ScanDataWebPresenceResponse) SetLastSeen(v time.Time)

SetLastSeen sets field value

func (*ScanDataWebPresenceResponse) SetPageTitle

func (o *ScanDataWebPresenceResponse) SetPageTitle(v string)

SetPageTitle gets a reference to the given string and assigns it to the PageTitle field.

func (*ScanDataWebPresenceResponse) SetRedirects

SetRedirects sets field value

func (*ScanDataWebPresenceResponse) SetScreenshotId

func (o *ScanDataWebPresenceResponse) SetScreenshotId(v string)

SetScreenshotId gets a reference to the given string and assigns it to the ScreenshotId field.

func (*ScanDataWebPresenceResponse) SetStatusCode

func (o *ScanDataWebPresenceResponse) SetStatusCode(v int32)

SetStatusCode sets field value

func (*ScanDataWebPresenceResponse) SetTlsStatus

func (o *ScanDataWebPresenceResponse) SetTlsStatus(v string)

SetTlsStatus sets field value

func (*ScanDataWebPresenceResponse) SetUrl

func (o *ScanDataWebPresenceResponse) SetUrl(v string)

SetUrl sets field value

func (ScanDataWebPresenceResponse) ToMap

func (o ScanDataWebPresenceResponse) ToMap() (map[string]interface{}, error)

func (*ScanDataWebPresenceResponse) UnmarshalJSON

func (o *ScanDataWebPresenceResponse) UnmarshalJSON(data []byte) (err error)

type ScanGroupCreateRequestBody

type ScanGroupCreateRequestBody struct {
	// Scan Group Name
	Name string `json:"name"`
	// Organisation ID
	OrganisationId       string `json:"organisation_id"`
	AdditionalProperties map[string]interface{}
}

ScanGroupCreateRequestBody struct for ScanGroupCreateRequestBody

func NewScanGroupCreateRequestBody

func NewScanGroupCreateRequestBody(name string, organisationId string) *ScanGroupCreateRequestBody

NewScanGroupCreateRequestBody instantiates a new ScanGroupCreateRequestBody 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

func NewScanGroupCreateRequestBodyWithDefaults

func NewScanGroupCreateRequestBodyWithDefaults() *ScanGroupCreateRequestBody

NewScanGroupCreateRequestBodyWithDefaults instantiates a new ScanGroupCreateRequestBody 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

func (*ScanGroupCreateRequestBody) GetName

func (o *ScanGroupCreateRequestBody) GetName() string

GetName returns the Name field value

func (*ScanGroupCreateRequestBody) GetNameOk

func (o *ScanGroupCreateRequestBody) GetNameOk() (*string, bool)

GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.

func (*ScanGroupCreateRequestBody) GetOrganisationId

func (o *ScanGroupCreateRequestBody) GetOrganisationId() string

GetOrganisationId returns the OrganisationId field value

func (*ScanGroupCreateRequestBody) GetOrganisationIdOk

func (o *ScanGroupCreateRequestBody) GetOrganisationIdOk() (*string, bool)

GetOrganisationIdOk returns a tuple with the OrganisationId field value and a boolean to check if the value has been set.

func (ScanGroupCreateRequestBody) MarshalJSON

func (o ScanGroupCreateRequestBody) MarshalJSON() ([]byte, error)

func (*ScanGroupCreateRequestBody) SetName

func (o *ScanGroupCreateRequestBody) SetName(v string)

SetName sets field value

func (*ScanGroupCreateRequestBody) SetOrganisationId

func (o *ScanGroupCreateRequestBody) SetOrganisationId(v string)

SetOrganisationId sets field value

func (ScanGroupCreateRequestBody) ToMap

func (o ScanGroupCreateRequestBody) ToMap() (map[string]interface{}, error)

func (*ScanGroupCreateRequestBody) UnmarshalJSON

func (o *ScanGroupCreateRequestBody) UnmarshalJSON(data []byte) (err error)

type ScanGroupResponse

type ScanGroupResponse struct {
	// Scan Group ID
	Id string `json:"id"`
	// Scan Group ID
	OrganisationId string `json:"organisation_id"`
	// Scan Group Name
	Name string `json:"name"`
	// Timestamp at which the entry was created
	Created time.Time `json:"created"`
	// User ID of the creator user
	CreatedBy string `json:"created_by"`
	// Timestamp at which the entry was last updated
	Updated time.Time `json:"updated"`
	// User ID of the last user to update this entry
	UpdatedBy string `json:"updated_by"`
	// True if the scan group has been marked as deleted
	Deleted bool `json:"deleted"`
	// Roles granted to the current user for this scan group if requested
	Roles []string `json:"roles,omitempty"`
	// Groups assigned to the current user for this scan group if requested
	Groups               []string             `json:"groups,omitempty"`
	CreatedByUser        *UserDetailsResponse `json:"created_by_user,omitempty"`
	UpdatedByUser        *UserDetailsResponse `json:"updated_by_user,omitempty"`
	AdditionalProperties map[string]interface{}
}

ScanGroupResponse struct for ScanGroupResponse

func NewScanGroupResponse

func NewScanGroupResponse(id string, organisationId string, name string, created time.Time, createdBy string, updated time.Time, updatedBy string, deleted bool) *ScanGroupResponse

NewScanGroupResponse instantiates a new ScanGroupResponse 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

func NewScanGroupResponseWithDefaults

func NewScanGroupResponseWithDefaults() *ScanGroupResponse

NewScanGroupResponseWithDefaults instantiates a new ScanGroupResponse 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

func (*ScanGroupResponse) GetCreated

func (o *ScanGroupResponse) GetCreated() time.Time

GetCreated returns the Created field value

func (*ScanGroupResponse) GetCreatedBy

func (o *ScanGroupResponse) GetCreatedBy() string

GetCreatedBy returns the CreatedBy field value

func (*ScanGroupResponse) GetCreatedByOk

func (o *ScanGroupResponse) GetCreatedByOk() (*string, bool)

GetCreatedByOk returns a tuple with the CreatedBy field value and a boolean to check if the value has been set.

func (*ScanGroupResponse) GetCreatedByUser

func (o *ScanGroupResponse) GetCreatedByUser() UserDetailsResponse

GetCreatedByUser returns the CreatedByUser field value if set, zero value otherwise.

func (*ScanGroupResponse) GetCreatedByUserOk

func (o *ScanGroupResponse) GetCreatedByUserOk() (*UserDetailsResponse, bool)

GetCreatedByUserOk returns a tuple with the CreatedByUser field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ScanGroupResponse) GetCreatedOk

func (o *ScanGroupResponse) GetCreatedOk() (*time.Time, bool)

GetCreatedOk returns a tuple with the Created field value and a boolean to check if the value has been set.

func (*ScanGroupResponse) GetDeleted

func (o *ScanGroupResponse) GetDeleted() bool

GetDeleted returns the Deleted field value

func (*ScanGroupResponse) GetDeletedOk

func (o *ScanGroupResponse) GetDeletedOk() (*bool, bool)

GetDeletedOk returns a tuple with the Deleted field value and a boolean to check if the value has been set.

func (*ScanGroupResponse) GetGroups

func (o *ScanGroupResponse) GetGroups() []string

GetGroups returns the Groups field value if set, zero value otherwise.

func (*ScanGroupResponse) GetGroupsOk

func (o *ScanGroupResponse) GetGroupsOk() ([]string, bool)

GetGroupsOk returns a tuple with the Groups field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ScanGroupResponse) GetId

func (o *ScanGroupResponse) GetId() string

GetId returns the Id field value

func (*ScanGroupResponse) GetIdOk

func (o *ScanGroupResponse) GetIdOk() (*string, bool)

GetIdOk returns a tuple with the Id field value and a boolean to check if the value has been set.

func (*ScanGroupResponse) GetName

func (o *ScanGroupResponse) GetName() string

GetName returns the Name field value

func (*ScanGroupResponse) GetNameOk

func (o *ScanGroupResponse) GetNameOk() (*string, bool)

GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.

func (*ScanGroupResponse) GetOrganisationId

func (o *ScanGroupResponse) GetOrganisationId() string

GetOrganisationId returns the OrganisationId field value

func (*ScanGroupResponse) GetOrganisationIdOk

func (o *ScanGroupResponse) GetOrganisationIdOk() (*string, bool)

GetOrganisationIdOk returns a tuple with the OrganisationId field value and a boolean to check if the value has been set.

func (*ScanGroupResponse) GetRoles

func (o *ScanGroupResponse) GetRoles() []string

GetRoles returns the Roles field value if set, zero value otherwise.

func (*ScanGroupResponse) GetRolesOk

func (o *ScanGroupResponse) GetRolesOk() ([]string, bool)

GetRolesOk returns a tuple with the Roles field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ScanGroupResponse) GetUpdated

func (o *ScanGroupResponse) GetUpdated() time.Time

GetUpdated returns the Updated field value

func (*ScanGroupResponse) GetUpdatedBy

func (o *ScanGroupResponse) GetUpdatedBy() string

GetUpdatedBy returns the UpdatedBy field value

func (*ScanGroupResponse) GetUpdatedByOk

func (o *ScanGroupResponse) GetUpdatedByOk() (*string, bool)

GetUpdatedByOk returns a tuple with the UpdatedBy field value and a boolean to check if the value has been set.

func (*ScanGroupResponse) GetUpdatedByUser

func (o *ScanGroupResponse) GetUpdatedByUser() UserDetailsResponse

GetUpdatedByUser returns the UpdatedByUser field value if set, zero value otherwise.

func (*ScanGroupResponse) GetUpdatedByUserOk

func (o *ScanGroupResponse) GetUpdatedByUserOk() (*UserDetailsResponse, bool)

GetUpdatedByUserOk returns a tuple with the UpdatedByUser field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ScanGroupResponse) GetUpdatedOk

func (o *ScanGroupResponse) GetUpdatedOk() (*time.Time, bool)

GetUpdatedOk returns a tuple with the Updated field value and a boolean to check if the value has been set.

func (*ScanGroupResponse) HasCreatedByUser

func (o *ScanGroupResponse) HasCreatedByUser() bool

HasCreatedByUser returns a boolean if a field has been set.

func (*ScanGroupResponse) HasGroups

func (o *ScanGroupResponse) HasGroups() bool

HasGroups returns a boolean if a field has been set.

func (*ScanGroupResponse) HasRoles

func (o *ScanGroupResponse) HasRoles() bool

HasRoles returns a boolean if a field has been set.

func (*ScanGroupResponse) HasUpdatedByUser

func (o *ScanGroupResponse) HasUpdatedByUser() bool

HasUpdatedByUser returns a boolean if a field has been set.

func (ScanGroupResponse) MarshalJSON

func (o ScanGroupResponse) MarshalJSON() ([]byte, error)

func (*ScanGroupResponse) SetCreated

func (o *ScanGroupResponse) SetCreated(v time.Time)

SetCreated sets field value

func (*ScanGroupResponse) SetCreatedBy

func (o *ScanGroupResponse) SetCreatedBy(v string)

SetCreatedBy sets field value

func (*ScanGroupResponse) SetCreatedByUser

func (o *ScanGroupResponse) SetCreatedByUser(v UserDetailsResponse)

SetCreatedByUser gets a reference to the given UserDetailsResponse and assigns it to the CreatedByUser field.

func (*ScanGroupResponse) SetDeleted

func (o *ScanGroupResponse) SetDeleted(v bool)

SetDeleted sets field value

func (*ScanGroupResponse) SetGroups

func (o *ScanGroupResponse) SetGroups(v []string)

SetGroups gets a reference to the given []string and assigns it to the Groups field.

func (*ScanGroupResponse) SetId

func (o *ScanGroupResponse) SetId(v string)

SetId sets field value

func (*ScanGroupResponse) SetName

func (o *ScanGroupResponse) SetName(v string)

SetName sets field value

func (*ScanGroupResponse) SetOrganisationId

func (o *ScanGroupResponse) SetOrganisationId(v string)

SetOrganisationId sets field value

func (*ScanGroupResponse) SetRoles

func (o *ScanGroupResponse) SetRoles(v []string)

SetRoles gets a reference to the given []string and assigns it to the Roles field.

func (*ScanGroupResponse) SetUpdated

func (o *ScanGroupResponse) SetUpdated(v time.Time)

SetUpdated sets field value

func (*ScanGroupResponse) SetUpdatedBy

func (o *ScanGroupResponse) SetUpdatedBy(v string)

SetUpdatedBy sets field value

func (*ScanGroupResponse) SetUpdatedByUser

func (o *ScanGroupResponse) SetUpdatedByUser(v UserDetailsResponse)

SetUpdatedByUser gets a reference to the given UserDetailsResponse and assigns it to the UpdatedByUser field.

func (ScanGroupResponse) ToMap

func (o ScanGroupResponse) ToMap() (map[string]interface{}, error)

func (*ScanGroupResponse) UnmarshalJSON

func (o *ScanGroupResponse) UnmarshalJSON(data []byte) (err error)

type ScanGroupUpdateRequestBody

type ScanGroupUpdateRequestBody struct {
	// Scan Group Name
	Name                 *string `json:"name,omitempty"`
	AdditionalProperties map[string]interface{}
}

ScanGroupUpdateRequestBody struct for ScanGroupUpdateRequestBody

func NewScanGroupUpdateRequestBody

func NewScanGroupUpdateRequestBody() *ScanGroupUpdateRequestBody

NewScanGroupUpdateRequestBody instantiates a new ScanGroupUpdateRequestBody 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

func NewScanGroupUpdateRequestBodyWithDefaults

func NewScanGroupUpdateRequestBodyWithDefaults() *ScanGroupUpdateRequestBody

NewScanGroupUpdateRequestBodyWithDefaults instantiates a new ScanGroupUpdateRequestBody 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

func (*ScanGroupUpdateRequestBody) GetName

func (o *ScanGroupUpdateRequestBody) GetName() string

GetName returns the Name field value if set, zero value otherwise.

func (*ScanGroupUpdateRequestBody) GetNameOk

func (o *ScanGroupUpdateRequestBody) GetNameOk() (*string, bool)

GetNameOk returns a tuple with the Name field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ScanGroupUpdateRequestBody) HasName

func (o *ScanGroupUpdateRequestBody) HasName() bool

HasName returns a boolean if a field has been set.

func (ScanGroupUpdateRequestBody) MarshalJSON

func (o ScanGroupUpdateRequestBody) MarshalJSON() ([]byte, error)

func (*ScanGroupUpdateRequestBody) SetName

func (o *ScanGroupUpdateRequestBody) SetName(v string)

SetName gets a reference to the given string and assigns it to the Name field.

func (ScanGroupUpdateRequestBody) ToMap

func (o ScanGroupUpdateRequestBody) ToMap() (map[string]interface{}, error)

func (*ScanGroupUpdateRequestBody) UnmarshalJSON

func (o *ScanGroupUpdateRequestBody) UnmarshalJSON(data []byte) (err error)

type ScanGroupsAPIService

type ScanGroupsAPIService service

ScanGroupsAPIService ScanGroupsAPI service

func (*ScanGroupsAPIService) CreateScanGroup

CreateScanGroup Create a new scan group

Required role: `scan_groups:create`

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return ApiCreateScanGroupRequest

func (*ScanGroupsAPIService) CreateScanGroupExecute

Execute executes the request

@return ScanGroupResponse

func (*ScanGroupsAPIService) DeleteScanGroupByID

DeleteScanGroupByID Delete a scan group by ID

Required role: `scan_groups:manage`

This endpoint requires that the associated organisation has API access enabled. If API access is not allowed, the response code will be 403 (Forbidden).

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param id Scan Group ID
@return ApiDeleteScanGroupByIDRequest

func (*ScanGroupsAPIService) DeleteScanGroupByIDExecute

func (a *ScanGroupsAPIService) DeleteScanGroupByIDExecute(r ApiDeleteScanGroupByIDRequest) (*http.Response, error)

Execute executes the request

func (*ScanGroupsAPIService) GetScanGroupByID

GetScanGroupByID Get a scan group by ID

Required role: `scan_groups:read`

This endpoint requires that the associated organisation has API access enabled. If API access is not allowed, the response code will be 403 (Forbidden).

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param id Scan Group ID
@return ApiGetScanGroupByIDRequest

func (*ScanGroupsAPIService) GetScanGroupByIDExecute

Execute executes the request

@return ScanGroupResponse

func (*ScanGroupsAPIService) GetScanGroups

GetScanGroups Get the Scan Groups for a specified organisation

Required role: `scan_groups:read`

This endpoint requires that the organisation of which the scan group is part of has API access enabled. If API access is not allowed, the request will succeed but return an empty array.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return ApiGetScanGroupsRequest

func (*ScanGroupsAPIService) GetScanGroupsExecute

Execute executes the request

@return []ScanGroupResponse

func (*ScanGroupsAPIService) UpdateScanGroupByID

UpdateScanGroupByID Update a scan group by ID

Required role: `scan_groups:write`

This endpoint requires that the associated organisation has API access enabled. If API access is not allowed, the response code will be 403 (Forbidden).

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param id Scan Group ID
@return ApiUpdateScanGroupByIDRequest

func (*ScanGroupsAPIService) UpdateScanGroupByIDExecute

Execute executes the request

@return ScanGroupResponse

type ScanIterationResponse

type ScanIterationResponse struct {
	// Scan Iteration ID
	Id string `json:"id"`
	// Scan ID
	ScanId string `json:"scan_id"`
	// Scan Iteration state
	State string `json:"state"`
	// Timestamp at which the entry was created
	Created time.Time `json:"created"`
	// Timestamp at which the entry was last updated
	Updated time.Time `json:"updated"`
	// Timestamp at which the Scan Iteration started running
	Started time.Time `json:"started"`
	// Timestamp at which the Scan Iteration completed running
	Completed *time.Time `json:"completed,omitempty"`
	// Deprecated - Timestamp at which the Scan Iteration completed running - Use **completed**
	// Deprecated
	CompletedTime *time.Time `json:"completed_time,omitempty"`
	// Scan Iteration reached the scan's organisation limit
	Limited *bool `json:"limited,omitempty"`
	// Timestamp at which the scores, issues and stats were generated
	SummaryGenerated *time.Time `json:"summary_generated,omitempty"`
	// Health scores for Scan Iteration
	Scores map[string]interface{} `json:"scores,omitempty"`
	// Summary of issues found in Scan Iteration
	Issues map[string]interface{} `json:"issues,omitempty"`
	// Breakdown of the number of items discovered in Scan Iteration
	Stats map[string]interface{} `json:"stats,omitempty"`
	// Timestamp at which the insights were generated
	InsightsGenerated *time.Time `json:"insights_generated,omitempty"`
	// Insights for Scan Iteration
	Insights map[string]interface{} `json:"insights,omitempty"`
	// Scan Iteration has been consolidated in accordance with scan's organisation history settings
	Merged               *string `json:"merged,omitempty"`
	AdditionalProperties map[string]interface{}
}

ScanIterationResponse struct for ScanIterationResponse

func NewScanIterationResponse

func NewScanIterationResponse(id string, scanId string, state string, created time.Time, updated time.Time, started time.Time) *ScanIterationResponse

NewScanIterationResponse instantiates a new ScanIterationResponse 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

func NewScanIterationResponseWithDefaults

func NewScanIterationResponseWithDefaults() *ScanIterationResponse

NewScanIterationResponseWithDefaults instantiates a new ScanIterationResponse 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

func (*ScanIterationResponse) GetCompleted

func (o *ScanIterationResponse) GetCompleted() time.Time

GetCompleted returns the Completed field value if set, zero value otherwise.

func (*ScanIterationResponse) GetCompletedOk

func (o *ScanIterationResponse) GetCompletedOk() (*time.Time, bool)

GetCompletedOk returns a tuple with the Completed field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ScanIterationResponse) GetCompletedTime

func (o *ScanIterationResponse) GetCompletedTime() time.Time

GetCompletedTime returns the CompletedTime field value if set, zero value otherwise. Deprecated

func (*ScanIterationResponse) GetCompletedTimeOk

func (o *ScanIterationResponse) GetCompletedTimeOk() (*time.Time, bool)

GetCompletedTimeOk returns a tuple with the CompletedTime field value if set, nil otherwise and a boolean to check if the value has been set. Deprecated

func (*ScanIterationResponse) GetCreated

func (o *ScanIterationResponse) GetCreated() time.Time

GetCreated returns the Created field value

func (*ScanIterationResponse) GetCreatedOk

func (o *ScanIterationResponse) GetCreatedOk() (*time.Time, bool)

GetCreatedOk returns a tuple with the Created field value and a boolean to check if the value has been set.

func (*ScanIterationResponse) GetId

func (o *ScanIterationResponse) GetId() string

GetId returns the Id field value

func (*ScanIterationResponse) GetIdOk

func (o *ScanIterationResponse) GetIdOk() (*string, bool)

GetIdOk returns a tuple with the Id field value and a boolean to check if the value has been set.

func (*ScanIterationResponse) GetInsights

func (o *ScanIterationResponse) GetInsights() map[string]interface{}

GetInsights returns the Insights field value if set, zero value otherwise.

func (*ScanIterationResponse) GetInsightsGenerated

func (o *ScanIterationResponse) GetInsightsGenerated() time.Time

GetInsightsGenerated returns the InsightsGenerated field value if set, zero value otherwise.

func (*ScanIterationResponse) GetInsightsGeneratedOk

func (o *ScanIterationResponse) GetInsightsGeneratedOk() (*time.Time, bool)

GetInsightsGeneratedOk returns a tuple with the InsightsGenerated field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ScanIterationResponse) GetInsightsOk

func (o *ScanIterationResponse) GetInsightsOk() (map[string]interface{}, bool)

GetInsightsOk returns a tuple with the Insights field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ScanIterationResponse) GetIssues

func (o *ScanIterationResponse) GetIssues() map[string]interface{}

GetIssues returns the Issues field value if set, zero value otherwise.

func (*ScanIterationResponse) GetIssuesOk

func (o *ScanIterationResponse) GetIssuesOk() (map[string]interface{}, bool)

GetIssuesOk returns a tuple with the Issues field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ScanIterationResponse) GetLimited

func (o *ScanIterationResponse) GetLimited() bool

GetLimited returns the Limited field value if set, zero value otherwise.

func (*ScanIterationResponse) GetLimitedOk

func (o *ScanIterationResponse) GetLimitedOk() (*bool, bool)

GetLimitedOk returns a tuple with the Limited field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ScanIterationResponse) GetMerged

func (o *ScanIterationResponse) GetMerged() string

GetMerged returns the Merged field value if set, zero value otherwise.

func (*ScanIterationResponse) GetMergedOk

func (o *ScanIterationResponse) GetMergedOk() (*string, bool)

GetMergedOk returns a tuple with the Merged field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ScanIterationResponse) GetScanId

func (o *ScanIterationResponse) GetScanId() string

GetScanId returns the ScanId field value

func (*ScanIterationResponse) GetScanIdOk

func (o *ScanIterationResponse) GetScanIdOk() (*string, bool)

GetScanIdOk returns a tuple with the ScanId field value and a boolean to check if the value has been set.

func (*ScanIterationResponse) GetScores

func (o *ScanIterationResponse) GetScores() map[string]interface{}

GetScores returns the Scores field value if set, zero value otherwise.

func (*ScanIterationResponse) GetScoresOk

func (o *ScanIterationResponse) GetScoresOk() (map[string]interface{}, bool)

GetScoresOk returns a tuple with the Scores field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ScanIterationResponse) GetStarted

func (o *ScanIterationResponse) GetStarted() time.Time

GetStarted returns the Started field value

func (*ScanIterationResponse) GetStartedOk

func (o *ScanIterationResponse) GetStartedOk() (*time.Time, bool)

GetStartedOk returns a tuple with the Started field value and a boolean to check if the value has been set.

func (*ScanIterationResponse) GetState

func (o *ScanIterationResponse) GetState() string

GetState returns the State field value

func (*ScanIterationResponse) GetStateOk

func (o *ScanIterationResponse) GetStateOk() (*string, bool)

GetStateOk returns a tuple with the State field value and a boolean to check if the value has been set.

func (*ScanIterationResponse) GetStats

func (o *ScanIterationResponse) GetStats() map[string]interface{}

GetStats returns the Stats field value if set, zero value otherwise.

func (*ScanIterationResponse) GetStatsOk

func (o *ScanIterationResponse) GetStatsOk() (map[string]interface{}, bool)

GetStatsOk returns a tuple with the Stats field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ScanIterationResponse) GetSummaryGenerated

func (o *ScanIterationResponse) GetSummaryGenerated() time.Time

GetSummaryGenerated returns the SummaryGenerated field value if set, zero value otherwise.

func (*ScanIterationResponse) GetSummaryGeneratedOk

func (o *ScanIterationResponse) GetSummaryGeneratedOk() (*time.Time, bool)

GetSummaryGeneratedOk returns a tuple with the SummaryGenerated field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ScanIterationResponse) GetUpdated

func (o *ScanIterationResponse) GetUpdated() time.Time

GetUpdated returns the Updated field value

func (*ScanIterationResponse) GetUpdatedOk

func (o *ScanIterationResponse) GetUpdatedOk() (*time.Time, bool)

GetUpdatedOk returns a tuple with the Updated field value and a boolean to check if the value has been set.

func (*ScanIterationResponse) HasCompleted

func (o *ScanIterationResponse) HasCompleted() bool

HasCompleted returns a boolean if a field has been set.

func (*ScanIterationResponse) HasCompletedTime

func (o *ScanIterationResponse) HasCompletedTime() bool

HasCompletedTime returns a boolean if a field has been set.

func (*ScanIterationResponse) HasInsights

func (o *ScanIterationResponse) HasInsights() bool

HasInsights returns a boolean if a field has been set.

func (*ScanIterationResponse) HasInsightsGenerated

func (o *ScanIterationResponse) HasInsightsGenerated() bool

HasInsightsGenerated returns a boolean if a field has been set.

func (*ScanIterationResponse) HasIssues

func (o *ScanIterationResponse) HasIssues() bool

HasIssues returns a boolean if a field has been set.

func (*ScanIterationResponse) HasLimited

func (o *ScanIterationResponse) HasLimited() bool

HasLimited returns a boolean if a field has been set.

func (*ScanIterationResponse) HasMerged

func (o *ScanIterationResponse) HasMerged() bool

HasMerged returns a boolean if a field has been set.

func (*ScanIterationResponse) HasScores

func (o *ScanIterationResponse) HasScores() bool

HasScores returns a boolean if a field has been set.

func (*ScanIterationResponse) HasStats

func (o *ScanIterationResponse) HasStats() bool

HasStats returns a boolean if a field has been set.

func (*ScanIterationResponse) HasSummaryGenerated

func (o *ScanIterationResponse) HasSummaryGenerated() bool

HasSummaryGenerated returns a boolean if a field has been set.

func (ScanIterationResponse) MarshalJSON

func (o ScanIterationResponse) MarshalJSON() ([]byte, error)

func (*ScanIterationResponse) SetCompleted

func (o *ScanIterationResponse) SetCompleted(v time.Time)

SetCompleted gets a reference to the given time.Time and assigns it to the Completed field.

func (*ScanIterationResponse) SetCompletedTime

func (o *ScanIterationResponse) SetCompletedTime(v time.Time)

SetCompletedTime gets a reference to the given time.Time and assigns it to the CompletedTime field. Deprecated

func (*ScanIterationResponse) SetCreated

func (o *ScanIterationResponse) SetCreated(v time.Time)

SetCreated sets field value

func (*ScanIterationResponse) SetId

func (o *ScanIterationResponse) SetId(v string)

SetId sets field value

func (*ScanIterationResponse) SetInsights

func (o *ScanIterationResponse) SetInsights(v map[string]interface{})

SetInsights gets a reference to the given map[string]interface{} and assigns it to the Insights field.

func (*ScanIterationResponse) SetInsightsGenerated

func (o *ScanIterationResponse) SetInsightsGenerated(v time.Time)

SetInsightsGenerated gets a reference to the given time.Time and assigns it to the InsightsGenerated field.

func (*ScanIterationResponse) SetIssues

func (o *ScanIterationResponse) SetIssues(v map[string]interface{})

SetIssues gets a reference to the given map[string]interface{} and assigns it to the Issues field.

func (*ScanIterationResponse) SetLimited

func (o *ScanIterationResponse) SetLimited(v bool)

SetLimited gets a reference to the given bool and assigns it to the Limited field.

func (*ScanIterationResponse) SetMerged

func (o *ScanIterationResponse) SetMerged(v string)

SetMerged gets a reference to the given string and assigns it to the Merged field.

func (*ScanIterationResponse) SetScanId

func (o *ScanIterationResponse) SetScanId(v string)

SetScanId sets field value

func (*ScanIterationResponse) SetScores

func (o *ScanIterationResponse) SetScores(v map[string]interface{})

SetScores gets a reference to the given map[string]interface{} and assigns it to the Scores field.

func (*ScanIterationResponse) SetStarted

func (o *ScanIterationResponse) SetStarted(v time.Time)

SetStarted sets field value

func (*ScanIterationResponse) SetState

func (o *ScanIterationResponse) SetState(v string)

SetState sets field value

func (*ScanIterationResponse) SetStats

func (o *ScanIterationResponse) SetStats(v map[string]interface{})

SetStats gets a reference to the given map[string]interface{} and assigns it to the Stats field.

func (*ScanIterationResponse) SetSummaryGenerated

func (o *ScanIterationResponse) SetSummaryGenerated(v time.Time)

SetSummaryGenerated gets a reference to the given time.Time and assigns it to the SummaryGenerated field.

func (*ScanIterationResponse) SetUpdated

func (o *ScanIterationResponse) SetUpdated(v time.Time)

SetUpdated sets field value

func (ScanIterationResponse) ToMap

func (o ScanIterationResponse) ToMap() (map[string]interface{}, error)

func (*ScanIterationResponse) UnmarshalJSON

func (o *ScanIterationResponse) UnmarshalJSON(data []byte) (err error)

type ScanLinkResponse

type ScanLinkResponse struct {
	// Link ID
	Id string `json:"id"`
	// From Node ID
	FromId string `json:"from_id"`
	// To Node ID
	ToId string `json:"to_id"`
	// Scan ID
	ScanId string `json:"scan_id"`
	// Link label
	Label string `json:"label"`
	// Hash of metadata
	Hash string `json:"hash"`
	// Timestamp at which the link was created
	Created time.Time `json:"created"`
	// Timestamp at which the link was last updated
	Updated time.Time `json:"updated"`
	// Timestamp at which the link was last seen in an iteration
	LastSeen time.Time `json:"last_seen"`
	// Timestamp at which the link is valid from
	ValidFrom time.Time `json:"valid_from"`
	// Timestamp at which the link is valid to. When valid to < valid from the link is considered open.
	ValidTo time.Time `json:"valid_to"`
	// Link metadata
	Metadata map[string]interface{} `json:"metadata"`
	// Link is deleted
	Deleted              bool `json:"deleted"`
	AdditionalProperties map[string]interface{}
}

ScanLinkResponse struct for ScanLinkResponse

func NewScanLinkResponse

func NewScanLinkResponse(id string, fromId string, toId string, scanId string, label string, hash string, created time.Time, updated time.Time, lastSeen time.Time, validFrom time.Time, validTo time.Time, metadata map[string]interface{}, deleted bool) *ScanLinkResponse

NewScanLinkResponse instantiates a new ScanLinkResponse 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

func NewScanLinkResponseWithDefaults

func NewScanLinkResponseWithDefaults() *ScanLinkResponse

NewScanLinkResponseWithDefaults instantiates a new ScanLinkResponse 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

func (*ScanLinkResponse) GetCreated

func (o *ScanLinkResponse) GetCreated() time.Time

GetCreated returns the Created field value

func (*ScanLinkResponse) GetCreatedOk

func (o *ScanLinkResponse) GetCreatedOk() (*time.Time, bool)

GetCreatedOk returns a tuple with the Created field value and a boolean to check if the value has been set.

func (*ScanLinkResponse) GetDeleted

func (o *ScanLinkResponse) GetDeleted() bool

GetDeleted returns the Deleted field value

func (*ScanLinkResponse) GetDeletedOk

func (o *ScanLinkResponse) GetDeletedOk() (*bool, bool)

GetDeletedOk returns a tuple with the Deleted field value and a boolean to check if the value has been set.

func (*ScanLinkResponse) GetFromId

func (o *ScanLinkResponse) GetFromId() string

GetFromId returns the FromId field value

func (*ScanLinkResponse) GetFromIdOk

func (o *ScanLinkResponse) GetFromIdOk() (*string, bool)

GetFromIdOk returns a tuple with the FromId field value and a boolean to check if the value has been set.

func (*ScanLinkResponse) GetHash

func (o *ScanLinkResponse) GetHash() string

GetHash returns the Hash field value

func (*ScanLinkResponse) GetHashOk

func (o *ScanLinkResponse) GetHashOk() (*string, bool)

GetHashOk returns a tuple with the Hash field value and a boolean to check if the value has been set.

func (*ScanLinkResponse) GetId

func (o *ScanLinkResponse) GetId() string

GetId returns the Id field value

func (*ScanLinkResponse) GetIdOk

func (o *ScanLinkResponse) GetIdOk() (*string, bool)

GetIdOk returns a tuple with the Id field value and a boolean to check if the value has been set.

func (*ScanLinkResponse) GetLabel

func (o *ScanLinkResponse) GetLabel() string

GetLabel returns the Label field value

func (*ScanLinkResponse) GetLabelOk

func (o *ScanLinkResponse) GetLabelOk() (*string, bool)

GetLabelOk returns a tuple with the Label field value and a boolean to check if the value has been set.

func (*ScanLinkResponse) GetLastSeen

func (o *ScanLinkResponse) GetLastSeen() time.Time

GetLastSeen returns the LastSeen field value

func (*ScanLinkResponse) GetLastSeenOk

func (o *ScanLinkResponse) GetLastSeenOk() (*time.Time, bool)

GetLastSeenOk returns a tuple with the LastSeen field value and a boolean to check if the value has been set.

func (*ScanLinkResponse) GetMetadata

func (o *ScanLinkResponse) GetMetadata() map[string]interface{}

GetMetadata returns the Metadata field value

func (*ScanLinkResponse) GetMetadataOk

func (o *ScanLinkResponse) GetMetadataOk() (map[string]interface{}, bool)

GetMetadataOk returns a tuple with the Metadata field value and a boolean to check if the value has been set.

func (*ScanLinkResponse) GetScanId

func (o *ScanLinkResponse) GetScanId() string

GetScanId returns the ScanId field value

func (*ScanLinkResponse) GetScanIdOk

func (o *ScanLinkResponse) GetScanIdOk() (*string, bool)

GetScanIdOk returns a tuple with the ScanId field value and a boolean to check if the value has been set.

func (*ScanLinkResponse) GetToId

func (o *ScanLinkResponse) GetToId() string

GetToId returns the ToId field value

func (*ScanLinkResponse) GetToIdOk

func (o *ScanLinkResponse) GetToIdOk() (*string, bool)

GetToIdOk returns a tuple with the ToId field value and a boolean to check if the value has been set.

func (*ScanLinkResponse) GetUpdated

func (o *ScanLinkResponse) GetUpdated() time.Time

GetUpdated returns the Updated field value

func (*ScanLinkResponse) GetUpdatedOk

func (o *ScanLinkResponse) GetUpdatedOk() (*time.Time, bool)

GetUpdatedOk returns a tuple with the Updated field value and a boolean to check if the value has been set.

func (*ScanLinkResponse) GetValidFrom

func (o *ScanLinkResponse) GetValidFrom() time.Time

GetValidFrom returns the ValidFrom field value

func (*ScanLinkResponse) GetValidFromOk

func (o *ScanLinkResponse) GetValidFromOk() (*time.Time, bool)

GetValidFromOk returns a tuple with the ValidFrom field value and a boolean to check if the value has been set.

func (*ScanLinkResponse) GetValidTo

func (o *ScanLinkResponse) GetValidTo() time.Time

GetValidTo returns the ValidTo field value

func (*ScanLinkResponse) GetValidToOk

func (o *ScanLinkResponse) GetValidToOk() (*time.Time, bool)

GetValidToOk returns a tuple with the ValidTo field value and a boolean to check if the value has been set.

func (ScanLinkResponse) MarshalJSON

func (o ScanLinkResponse) MarshalJSON() ([]byte, error)

func (*ScanLinkResponse) SetCreated

func (o *ScanLinkResponse) SetCreated(v time.Time)

SetCreated sets field value

func (*ScanLinkResponse) SetDeleted

func (o *ScanLinkResponse) SetDeleted(v bool)

SetDeleted sets field value

func (*ScanLinkResponse) SetFromId

func (o *ScanLinkResponse) SetFromId(v string)

SetFromId sets field value

func (*ScanLinkResponse) SetHash

func (o *ScanLinkResponse) SetHash(v string)

SetHash sets field value

func (*ScanLinkResponse) SetId

func (o *ScanLinkResponse) SetId(v string)

SetId sets field value

func (*ScanLinkResponse) SetLabel

func (o *ScanLinkResponse) SetLabel(v string)

SetLabel sets field value

func (*ScanLinkResponse) SetLastSeen

func (o *ScanLinkResponse) SetLastSeen(v time.Time)

SetLastSeen sets field value

func (*ScanLinkResponse) SetMetadata

func (o *ScanLinkResponse) SetMetadata(v map[string]interface{})

SetMetadata sets field value

func (*ScanLinkResponse) SetScanId

func (o *ScanLinkResponse) SetScanId(v string)

SetScanId sets field value

func (*ScanLinkResponse) SetToId

func (o *ScanLinkResponse) SetToId(v string)

SetToId sets field value

func (*ScanLinkResponse) SetUpdated

func (o *ScanLinkResponse) SetUpdated(v time.Time)

SetUpdated sets field value

func (*ScanLinkResponse) SetValidFrom

func (o *ScanLinkResponse) SetValidFrom(v time.Time)

SetValidFrom sets field value

func (*ScanLinkResponse) SetValidTo

func (o *ScanLinkResponse) SetValidTo(v time.Time)

SetValidTo sets field value

func (ScanLinkResponse) ToMap

func (o ScanLinkResponse) ToMap() (map[string]interface{}, error)

func (*ScanLinkResponse) UnmarshalJSON

func (o *ScanLinkResponse) UnmarshalJSON(data []byte) (err error)

type ScanLinkTagResponse

type ScanLinkTagResponse struct {
	// Link ID
	LinkId string `json:"link_id"`
	// Tag ID
	TagId string `json:"tag_id"`
	// Timestamp at which the tag was added to the link
	CreatedAt time.Time `json:"created_at"`
	// User ID of the creator
	CreatedBy string `json:"created_by"`
	// Timestamp at which the link tag was last updated
	UpdatedAt time.Time `json:"updated_at"`
	// User ID of the last updater
	UpdatedBy     string               `json:"updated_by"`
	Link          *ScanLinkResponse    `json:"link,omitempty"`
	Tag           *TagResponse         `json:"tag,omitempty"`
	CreatedByUser *UserDetailsResponse `json:"created_by_user,omitempty"`
	UpdatedByUser *UserDetailsResponse `json:"updated_by_user,omitempty"`
	// Tag Name
	TagName              *string `json:"tag_name,omitempty"`
	AdditionalProperties map[string]interface{}
}

ScanLinkTagResponse struct for ScanLinkTagResponse

func NewScanLinkTagResponse

func NewScanLinkTagResponse(linkId string, tagId string, createdAt time.Time, createdBy string, updatedAt time.Time, updatedBy string) *ScanLinkTagResponse

NewScanLinkTagResponse instantiates a new ScanLinkTagResponse 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

func NewScanLinkTagResponseWithDefaults

func NewScanLinkTagResponseWithDefaults() *ScanLinkTagResponse

NewScanLinkTagResponseWithDefaults instantiates a new ScanLinkTagResponse 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

func (*ScanLinkTagResponse) GetCreatedAt

func (o *ScanLinkTagResponse) GetCreatedAt() time.Time

GetCreatedAt returns the CreatedAt field value

func (*ScanLinkTagResponse) GetCreatedAtOk

func (o *ScanLinkTagResponse) GetCreatedAtOk() (*time.Time, bool)

GetCreatedAtOk returns a tuple with the CreatedAt field value and a boolean to check if the value has been set.

func (*ScanLinkTagResponse) GetCreatedBy

func (o *ScanLinkTagResponse) GetCreatedBy() string

GetCreatedBy returns the CreatedBy field value

func (*ScanLinkTagResponse) GetCreatedByOk

func (o *ScanLinkTagResponse) GetCreatedByOk() (*string, bool)

GetCreatedByOk returns a tuple with the CreatedBy field value and a boolean to check if the value has been set.

func (*ScanLinkTagResponse) GetCreatedByUser

func (o *ScanLinkTagResponse) GetCreatedByUser() UserDetailsResponse

GetCreatedByUser returns the CreatedByUser field value if set, zero value otherwise.

func (*ScanLinkTagResponse) GetCreatedByUserOk

func (o *ScanLinkTagResponse) GetCreatedByUserOk() (*UserDetailsResponse, bool)

GetCreatedByUserOk returns a tuple with the CreatedByUser field value if set, nil otherwise and a boolean to check if the value has been set.

GetLink returns the Link field value if set, zero value otherwise.

func (*ScanLinkTagResponse) GetLinkId

func (o *ScanLinkTagResponse) GetLinkId() string

GetLinkId returns the LinkId field value

func (*ScanLinkTagResponse) GetLinkIdOk

func (o *ScanLinkTagResponse) GetLinkIdOk() (*string, bool)

GetLinkIdOk returns a tuple with the LinkId field value and a boolean to check if the value has been set.

func (*ScanLinkTagResponse) GetLinkOk

func (o *ScanLinkTagResponse) GetLinkOk() (*ScanLinkResponse, bool)

GetLinkOk returns a tuple with the Link field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ScanLinkTagResponse) GetTag

func (o *ScanLinkTagResponse) GetTag() TagResponse

GetTag returns the Tag field value if set, zero value otherwise.

func (*ScanLinkTagResponse) GetTagId

func (o *ScanLinkTagResponse) GetTagId() string

GetTagId returns the TagId field value

func (*ScanLinkTagResponse) GetTagIdOk

func (o *ScanLinkTagResponse) GetTagIdOk() (*string, bool)

GetTagIdOk returns a tuple with the TagId field value and a boolean to check if the value has been set.

func (*ScanLinkTagResponse) GetTagName

func (o *ScanLinkTagResponse) GetTagName() string

GetTagName returns the TagName field value if set, zero value otherwise.

func (*ScanLinkTagResponse) GetTagNameOk

func (o *ScanLinkTagResponse) GetTagNameOk() (*string, bool)

GetTagNameOk returns a tuple with the TagName field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ScanLinkTagResponse) GetTagOk

func (o *ScanLinkTagResponse) GetTagOk() (*TagResponse, bool)

GetTagOk returns a tuple with the Tag field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ScanLinkTagResponse) GetUpdatedAt

func (o *ScanLinkTagResponse) GetUpdatedAt() time.Time

GetUpdatedAt returns the UpdatedAt field value

func (*ScanLinkTagResponse) GetUpdatedAtOk

func (o *ScanLinkTagResponse) GetUpdatedAtOk() (*time.Time, bool)

GetUpdatedAtOk returns a tuple with the UpdatedAt field value and a boolean to check if the value has been set.

func (*ScanLinkTagResponse) GetUpdatedBy

func (o *ScanLinkTagResponse) GetUpdatedBy() string

GetUpdatedBy returns the UpdatedBy field value

func (*ScanLinkTagResponse) GetUpdatedByOk

func (o *ScanLinkTagResponse) GetUpdatedByOk() (*string, bool)

GetUpdatedByOk returns a tuple with the UpdatedBy field value and a boolean to check if the value has been set.

func (*ScanLinkTagResponse) GetUpdatedByUser

func (o *ScanLinkTagResponse) GetUpdatedByUser() UserDetailsResponse

GetUpdatedByUser returns the UpdatedByUser field value if set, zero value otherwise.

func (*ScanLinkTagResponse) GetUpdatedByUserOk

func (o *ScanLinkTagResponse) GetUpdatedByUserOk() (*UserDetailsResponse, bool)

GetUpdatedByUserOk returns a tuple with the UpdatedByUser field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ScanLinkTagResponse) HasCreatedByUser

func (o *ScanLinkTagResponse) HasCreatedByUser() bool

HasCreatedByUser returns a boolean if a field has been set.

func (o *ScanLinkTagResponse) HasLink() bool

HasLink returns a boolean if a field has been set.

func (*ScanLinkTagResponse) HasTag

func (o *ScanLinkTagResponse) HasTag() bool

HasTag returns a boolean if a field has been set.

func (*ScanLinkTagResponse) HasTagName

func (o *ScanLinkTagResponse) HasTagName() bool

HasTagName returns a boolean if a field has been set.

func (*ScanLinkTagResponse) HasUpdatedByUser

func (o *ScanLinkTagResponse) HasUpdatedByUser() bool

HasUpdatedByUser returns a boolean if a field has been set.

func (ScanLinkTagResponse) MarshalJSON

func (o ScanLinkTagResponse) MarshalJSON() ([]byte, error)

func (*ScanLinkTagResponse) SetCreatedAt

func (o *ScanLinkTagResponse) SetCreatedAt(v time.Time)

SetCreatedAt sets field value

func (*ScanLinkTagResponse) SetCreatedBy

func (o *ScanLinkTagResponse) SetCreatedBy(v string)

SetCreatedBy sets field value

func (*ScanLinkTagResponse) SetCreatedByUser

func (o *ScanLinkTagResponse) SetCreatedByUser(v UserDetailsResponse)

SetCreatedByUser gets a reference to the given UserDetailsResponse and assigns it to the CreatedByUser field.

func (o *ScanLinkTagResponse) SetLink(v ScanLinkResponse)

SetLink gets a reference to the given ScanLinkResponse and assigns it to the Link field.

func (*ScanLinkTagResponse) SetLinkId

func (o *ScanLinkTagResponse) SetLinkId(v string)

SetLinkId sets field value

func (*ScanLinkTagResponse) SetTag

func (o *ScanLinkTagResponse) SetTag(v TagResponse)

SetTag gets a reference to the given TagResponse and assigns it to the Tag field.

func (*ScanLinkTagResponse) SetTagId

func (o *ScanLinkTagResponse) SetTagId(v string)

SetTagId sets field value

func (*ScanLinkTagResponse) SetTagName

func (o *ScanLinkTagResponse) SetTagName(v string)

SetTagName gets a reference to the given string and assigns it to the TagName field.

func (*ScanLinkTagResponse) SetUpdatedAt

func (o *ScanLinkTagResponse) SetUpdatedAt(v time.Time)

SetUpdatedAt sets field value

func (*ScanLinkTagResponse) SetUpdatedBy

func (o *ScanLinkTagResponse) SetUpdatedBy(v string)

SetUpdatedBy sets field value

func (*ScanLinkTagResponse) SetUpdatedByUser

func (o *ScanLinkTagResponse) SetUpdatedByUser(v UserDetailsResponse)

SetUpdatedByUser gets a reference to the given UserDetailsResponse and assigns it to the UpdatedByUser field.

func (ScanLinkTagResponse) ToMap

func (o ScanLinkTagResponse) ToMap() (map[string]interface{}, error)

func (*ScanLinkTagResponse) UnmarshalJSON

func (o *ScanLinkTagResponse) UnmarshalJSON(data []byte) (err error)

type ScanProgressResponse

type ScanProgressResponse struct {
	Idle                 float32 `json:"idle"`
	Queued               float32 `json:"queued"`
	InProgress           float32 `json:"in_progress"`
	Done                 float32 `json:"done"`
	Failed               float32 `json:"failed"`
	Error                float32 `json:"error"`
	Total                float32 `json:"total"`
	Complete             float32 `json:"complete"`
	Errors               float32 `json:"errors"`
	AdditionalProperties map[string]interface{}
}

ScanProgressResponse struct for ScanProgressResponse

func NewScanProgressResponse

func NewScanProgressResponse(idle float32, queued float32, inProgress float32, done float32, failed float32, error_ float32, total float32, complete float32, errors float32) *ScanProgressResponse

NewScanProgressResponse instantiates a new ScanProgressResponse 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

func NewScanProgressResponseWithDefaults

func NewScanProgressResponseWithDefaults() *ScanProgressResponse

NewScanProgressResponseWithDefaults instantiates a new ScanProgressResponse 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

func (*ScanProgressResponse) GetComplete

func (o *ScanProgressResponse) GetComplete() float32

GetComplete returns the Complete field value

func (*ScanProgressResponse) GetCompleteOk

func (o *ScanProgressResponse) GetCompleteOk() (*float32, bool)

GetCompleteOk returns a tuple with the Complete field value and a boolean to check if the value has been set.

func (*ScanProgressResponse) GetDone

func (o *ScanProgressResponse) GetDone() float32

GetDone returns the Done field value

func (*ScanProgressResponse) GetDoneOk

func (o *ScanProgressResponse) GetDoneOk() (*float32, bool)

GetDoneOk returns a tuple with the Done field value and a boolean to check if the value has been set.

func (*ScanProgressResponse) GetError

func (o *ScanProgressResponse) GetError() float32

GetError returns the Error field value

func (*ScanProgressResponse) GetErrorOk

func (o *ScanProgressResponse) GetErrorOk() (*float32, bool)

GetErrorOk returns a tuple with the Error field value and a boolean to check if the value has been set.

func (*ScanProgressResponse) GetErrors

func (o *ScanProgressResponse) GetErrors() float32

GetErrors returns the Errors field value

func (*ScanProgressResponse) GetErrorsOk

func (o *ScanProgressResponse) GetErrorsOk() (*float32, bool)

GetErrorsOk returns a tuple with the Errors field value and a boolean to check if the value has been set.

func (*ScanProgressResponse) GetFailed

func (o *ScanProgressResponse) GetFailed() float32

GetFailed returns the Failed field value

func (*ScanProgressResponse) GetFailedOk

func (o *ScanProgressResponse) GetFailedOk() (*float32, bool)

GetFailedOk returns a tuple with the Failed field value and a boolean to check if the value has been set.

func (*ScanProgressResponse) GetIdle

func (o *ScanProgressResponse) GetIdle() float32

GetIdle returns the Idle field value

func (*ScanProgressResponse) GetIdleOk

func (o *ScanProgressResponse) GetIdleOk() (*float32, bool)

GetIdleOk returns a tuple with the Idle field value and a boolean to check if the value has been set.

func (*ScanProgressResponse) GetInProgress

func (o *ScanProgressResponse) GetInProgress() float32

GetInProgress returns the InProgress field value

func (*ScanProgressResponse) GetInProgressOk

func (o *ScanProgressResponse) GetInProgressOk() (*float32, bool)

GetInProgressOk returns a tuple with the InProgress field value and a boolean to check if the value has been set.

func (*ScanProgressResponse) GetQueued

func (o *ScanProgressResponse) GetQueued() float32

GetQueued returns the Queued field value

func (*ScanProgressResponse) GetQueuedOk

func (o *ScanProgressResponse) GetQueuedOk() (*float32, bool)

GetQueuedOk returns a tuple with the Queued field value and a boolean to check if the value has been set.

func (*ScanProgressResponse) GetTotal

func (o *ScanProgressResponse) GetTotal() float32

GetTotal returns the Total field value

func (*ScanProgressResponse) GetTotalOk

func (o *ScanProgressResponse) GetTotalOk() (*float32, bool)

GetTotalOk returns a tuple with the Total field value and a boolean to check if the value has been set.

func (ScanProgressResponse) MarshalJSON

func (o ScanProgressResponse) MarshalJSON() ([]byte, error)

func (*ScanProgressResponse) SetComplete

func (o *ScanProgressResponse) SetComplete(v float32)

SetComplete sets field value

func (*ScanProgressResponse) SetDone

func (o *ScanProgressResponse) SetDone(v float32)

SetDone sets field value

func (*ScanProgressResponse) SetError

func (o *ScanProgressResponse) SetError(v float32)

SetError sets field value

func (*ScanProgressResponse) SetErrors

func (o *ScanProgressResponse) SetErrors(v float32)

SetErrors sets field value

func (*ScanProgressResponse) SetFailed

func (o *ScanProgressResponse) SetFailed(v float32)

SetFailed sets field value

func (*ScanProgressResponse) SetIdle

func (o *ScanProgressResponse) SetIdle(v float32)

SetIdle sets field value

func (*ScanProgressResponse) SetInProgress

func (o *ScanProgressResponse) SetInProgress(v float32)

SetInProgress sets field value

func (*ScanProgressResponse) SetQueued

func (o *ScanProgressResponse) SetQueued(v float32)

SetQueued sets field value

func (*ScanProgressResponse) SetTotal

func (o *ScanProgressResponse) SetTotal(v float32)

SetTotal sets field value

func (ScanProgressResponse) ToMap

func (o ScanProgressResponse) ToMap() (map[string]interface{}, error)

func (*ScanProgressResponse) UnmarshalJSON

func (o *ScanProgressResponse) UnmarshalJSON(data []byte) (err error)

type ScanResponse

type ScanResponse struct {
	// Scan ID
	Id string `json:"id"`
	// Scan name
	Name string `json:"name"`
	// Scan Group ID
	ScanGroupId *string  `json:"scan_group_id,omitempty"`
	Type        ScanType `json:"type"`
	// Scan enabled
	Enabled bool `json:"enabled"`
	// Scan deleted
	Deleted bool `json:"deleted"`
	// Timestamp at which the entry was created
	Created time.Time `json:"created"`
	// User ID of the creator user
	CreatedBy string `json:"created_by"`
	// Timestamp at which the entry was last updated
	Updated time.Time `json:"updated"`
	// Scan graph root node if requested
	Node map[string]interface{} `json:"node,omitempty"`
	// Latest scan iteration state if requested
	Iteration     map[string]interface{} `json:"iteration,omitempty"`
	CreatedByUser *UserDetailsResponse   `json:"created_by_user,omitempty"`
	// Scan has continuous monitor enabled
	Monitor *bool `json:"monitor,omitempty"`
	// The frequency of the continuous scans
	MonitorSchedule *string `json:"monitor_schedule,omitempty"`
	// The next time continuous monitoring will trigger a scan
	MonitorNext *time.Time `json:"monitor_next,omitempty"`
	// Scan configuration
	ShallowPageDepth *float32 `json:"shallow_page_depth,omitempty"`
	// Scan configuration
	DeepPageDepth *float32 `json:"deep_page_depth,omitempty"`
	// Scan configuration
	DnsNamelist *bool `json:"dns_namelist,omitempty"`
	// Scan configuration
	IgnoreIpNodes *bool `json:"ignore_ip_nodes,omitempty"`
	// Config for backported resolvable risks
	IncludeBrRisks map[string]interface{} `json:"include_br_risks"`
	// Timestamp at which the insights were generated
	InsightsGenerated *time.Time `json:"insights_generated,omitempty"`
	// Insights for Scan
	Insights map[string]interface{} `json:"insights,omitempty"`
	// Number of seeds associated with scan
	Seeds *float32 `json:"seeds,omitempty"`
	// Permission groups the user has for this scan if requested
	Groups []Group `json:"groups,omitempty"`
	// Permission roles the user has for this scan if requested
	Roles []Role `json:"roles,omitempty"`
	// Organisation ID the scan belongs to if requested
	OrganisationId       *string `json:"organisation_id,omitempty"`
	AdditionalProperties map[string]interface{}
}

ScanResponse struct for ScanResponse

func NewScanResponse

func NewScanResponse(id string, name string, type_ ScanType, enabled bool, deleted bool, created time.Time, createdBy string, updated time.Time, includeBrRisks map[string]interface{}) *ScanResponse

NewScanResponse instantiates a new ScanResponse 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

func NewScanResponseWithDefaults

func NewScanResponseWithDefaults() *ScanResponse

NewScanResponseWithDefaults instantiates a new ScanResponse 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

func (*ScanResponse) GetCreated

func (o *ScanResponse) GetCreated() time.Time

GetCreated returns the Created field value

func (*ScanResponse) GetCreatedBy

func (o *ScanResponse) GetCreatedBy() string

GetCreatedBy returns the CreatedBy field value

func (*ScanResponse) GetCreatedByOk

func (o *ScanResponse) GetCreatedByOk() (*string, bool)

GetCreatedByOk returns a tuple with the CreatedBy field value and a boolean to check if the value has been set.

func (*ScanResponse) GetCreatedByUser

func (o *ScanResponse) GetCreatedByUser() UserDetailsResponse

GetCreatedByUser returns the CreatedByUser field value if set, zero value otherwise.

func (*ScanResponse) GetCreatedByUserOk

func (o *ScanResponse) GetCreatedByUserOk() (*UserDetailsResponse, bool)

GetCreatedByUserOk returns a tuple with the CreatedByUser field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ScanResponse) GetCreatedOk

func (o *ScanResponse) GetCreatedOk() (*time.Time, bool)

GetCreatedOk returns a tuple with the Created field value and a boolean to check if the value has been set.

func (*ScanResponse) GetDeepPageDepth

func (o *ScanResponse) GetDeepPageDepth() float32

GetDeepPageDepth returns the DeepPageDepth field value if set, zero value otherwise.

func (*ScanResponse) GetDeepPageDepthOk

func (o *ScanResponse) GetDeepPageDepthOk() (*float32, bool)

GetDeepPageDepthOk returns a tuple with the DeepPageDepth field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ScanResponse) GetDeleted

func (o *ScanResponse) GetDeleted() bool

GetDeleted returns the Deleted field value

func (*ScanResponse) GetDeletedOk

func (o *ScanResponse) GetDeletedOk() (*bool, bool)

GetDeletedOk returns a tuple with the Deleted field value and a boolean to check if the value has been set.

func (*ScanResponse) GetDnsNamelist

func (o *ScanResponse) GetDnsNamelist() bool

GetDnsNamelist returns the DnsNamelist field value if set, zero value otherwise.

func (*ScanResponse) GetDnsNamelistOk

func (o *ScanResponse) GetDnsNamelistOk() (*bool, bool)

GetDnsNamelistOk returns a tuple with the DnsNamelist field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ScanResponse) GetEnabled

func (o *ScanResponse) GetEnabled() bool

GetEnabled returns the Enabled field value

func (*ScanResponse) GetEnabledOk

func (o *ScanResponse) GetEnabledOk() (*bool, bool)

GetEnabledOk returns a tuple with the Enabled field value and a boolean to check if the value has been set.

func (*ScanResponse) GetGroups

func (o *ScanResponse) GetGroups() []Group

GetGroups returns the Groups field value if set, zero value otherwise.

func (*ScanResponse) GetGroupsOk

func (o *ScanResponse) GetGroupsOk() ([]Group, bool)

GetGroupsOk returns a tuple with the Groups field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ScanResponse) GetId

func (o *ScanResponse) GetId() string

GetId returns the Id field value

func (*ScanResponse) GetIdOk

func (o *ScanResponse) GetIdOk() (*string, bool)

GetIdOk returns a tuple with the Id field value and a boolean to check if the value has been set.

func (*ScanResponse) GetIgnoreIpNodes

func (o *ScanResponse) GetIgnoreIpNodes() bool

GetIgnoreIpNodes returns the IgnoreIpNodes field value if set, zero value otherwise.

func (*ScanResponse) GetIgnoreIpNodesOk

func (o *ScanResponse) GetIgnoreIpNodesOk() (*bool, bool)

GetIgnoreIpNodesOk returns a tuple with the IgnoreIpNodes field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ScanResponse) GetIncludeBrRisks

func (o *ScanResponse) GetIncludeBrRisks() map[string]interface{}

GetIncludeBrRisks returns the IncludeBrRisks field value

func (*ScanResponse) GetIncludeBrRisksOk

func (o *ScanResponse) GetIncludeBrRisksOk() (map[string]interface{}, bool)

GetIncludeBrRisksOk returns a tuple with the IncludeBrRisks field value and a boolean to check if the value has been set.

func (*ScanResponse) GetInsights

func (o *ScanResponse) GetInsights() map[string]interface{}

GetInsights returns the Insights field value if set, zero value otherwise.

func (*ScanResponse) GetInsightsGenerated

func (o *ScanResponse) GetInsightsGenerated() time.Time

GetInsightsGenerated returns the InsightsGenerated field value if set, zero value otherwise.

func (*ScanResponse) GetInsightsGeneratedOk

func (o *ScanResponse) GetInsightsGeneratedOk() (*time.Time, bool)

GetInsightsGeneratedOk returns a tuple with the InsightsGenerated field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ScanResponse) GetInsightsOk

func (o *ScanResponse) GetInsightsOk() (map[string]interface{}, bool)

GetInsightsOk returns a tuple with the Insights field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ScanResponse) GetIteration

func (o *ScanResponse) GetIteration() map[string]interface{}

GetIteration returns the Iteration field value if set, zero value otherwise.

func (*ScanResponse) GetIterationOk

func (o *ScanResponse) GetIterationOk() (map[string]interface{}, bool)

GetIterationOk returns a tuple with the Iteration field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ScanResponse) GetMonitor

func (o *ScanResponse) GetMonitor() bool

GetMonitor returns the Monitor field value if set, zero value otherwise.

func (*ScanResponse) GetMonitorNext

func (o *ScanResponse) GetMonitorNext() time.Time

GetMonitorNext returns the MonitorNext field value if set, zero value otherwise.

func (*ScanResponse) GetMonitorNextOk

func (o *ScanResponse) GetMonitorNextOk() (*time.Time, bool)

GetMonitorNextOk returns a tuple with the MonitorNext field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ScanResponse) GetMonitorOk

func (o *ScanResponse) GetMonitorOk() (*bool, bool)

GetMonitorOk returns a tuple with the Monitor field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ScanResponse) GetMonitorSchedule

func (o *ScanResponse) GetMonitorSchedule() string

GetMonitorSchedule returns the MonitorSchedule field value if set, zero value otherwise.

func (*ScanResponse) GetMonitorScheduleOk

func (o *ScanResponse) GetMonitorScheduleOk() (*string, bool)

GetMonitorScheduleOk returns a tuple with the MonitorSchedule field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ScanResponse) GetName

func (o *ScanResponse) GetName() string

GetName returns the Name field value

func (*ScanResponse) GetNameOk

func (o *ScanResponse) GetNameOk() (*string, bool)

GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.

func (*ScanResponse) GetNode

func (o *ScanResponse) GetNode() map[string]interface{}

GetNode returns the Node field value if set, zero value otherwise.

func (*ScanResponse) GetNodeOk

func (o *ScanResponse) GetNodeOk() (map[string]interface{}, bool)

GetNodeOk returns a tuple with the Node field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ScanResponse) GetOrganisationId

func (o *ScanResponse) GetOrganisationId() string

GetOrganisationId returns the OrganisationId field value if set, zero value otherwise.

func (*ScanResponse) GetOrganisationIdOk

func (o *ScanResponse) GetOrganisationIdOk() (*string, bool)

GetOrganisationIdOk returns a tuple with the OrganisationId field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ScanResponse) GetRoles

func (o *ScanResponse) GetRoles() []Role

GetRoles returns the Roles field value if set, zero value otherwise.

func (*ScanResponse) GetRolesOk

func (o *ScanResponse) GetRolesOk() ([]Role, bool)

GetRolesOk returns a tuple with the Roles field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ScanResponse) GetScanGroupId

func (o *ScanResponse) GetScanGroupId() string

GetScanGroupId returns the ScanGroupId field value if set, zero value otherwise.

func (*ScanResponse) GetScanGroupIdOk

func (o *ScanResponse) GetScanGroupIdOk() (*string, bool)

GetScanGroupIdOk returns a tuple with the ScanGroupId field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ScanResponse) GetSeeds

func (o *ScanResponse) GetSeeds() float32

GetSeeds returns the Seeds field value if set, zero value otherwise.

func (*ScanResponse) GetSeedsOk

func (o *ScanResponse) GetSeedsOk() (*float32, bool)

GetSeedsOk returns a tuple with the Seeds field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ScanResponse) GetShallowPageDepth

func (o *ScanResponse) GetShallowPageDepth() float32

GetShallowPageDepth returns the ShallowPageDepth field value if set, zero value otherwise.

func (*ScanResponse) GetShallowPageDepthOk

func (o *ScanResponse) GetShallowPageDepthOk() (*float32, bool)

GetShallowPageDepthOk returns a tuple with the ShallowPageDepth field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ScanResponse) GetType

func (o *ScanResponse) GetType() ScanType

GetType returns the Type field value

func (*ScanResponse) GetTypeOk

func (o *ScanResponse) GetTypeOk() (*ScanType, bool)

GetTypeOk returns a tuple with the Type field value and a boolean to check if the value has been set.

func (*ScanResponse) GetUpdated

func (o *ScanResponse) GetUpdated() time.Time

GetUpdated returns the Updated field value

func (*ScanResponse) GetUpdatedOk

func (o *ScanResponse) GetUpdatedOk() (*time.Time, bool)

GetUpdatedOk returns a tuple with the Updated field value and a boolean to check if the value has been set.

func (*ScanResponse) HasCreatedByUser

func (o *ScanResponse) HasCreatedByUser() bool

HasCreatedByUser returns a boolean if a field has been set.

func (*ScanResponse) HasDeepPageDepth

func (o *ScanResponse) HasDeepPageDepth() bool

HasDeepPageDepth returns a boolean if a field has been set.

func (*ScanResponse) HasDnsNamelist

func (o *ScanResponse) HasDnsNamelist() bool

HasDnsNamelist returns a boolean if a field has been set.

func (*ScanResponse) HasGroups

func (o *ScanResponse) HasGroups() bool

HasGroups returns a boolean if a field has been set.

func (*ScanResponse) HasIgnoreIpNodes

func (o *ScanResponse) HasIgnoreIpNodes() bool

HasIgnoreIpNodes returns a boolean if a field has been set.

func (*ScanResponse) HasInsights

func (o *ScanResponse) HasInsights() bool

HasInsights returns a boolean if a field has been set.

func (*ScanResponse) HasInsightsGenerated

func (o *ScanResponse) HasInsightsGenerated() bool

HasInsightsGenerated returns a boolean if a field has been set.

func (*ScanResponse) HasIteration

func (o *ScanResponse) HasIteration() bool

HasIteration returns a boolean if a field has been set.

func (*ScanResponse) HasMonitor

func (o *ScanResponse) HasMonitor() bool

HasMonitor returns a boolean if a field has been set.

func (*ScanResponse) HasMonitorNext

func (o *ScanResponse) HasMonitorNext() bool

HasMonitorNext returns a boolean if a field has been set.

func (*ScanResponse) HasMonitorSchedule

func (o *ScanResponse) HasMonitorSchedule() bool

HasMonitorSchedule returns a boolean if a field has been set.

func (*ScanResponse) HasNode

func (o *ScanResponse) HasNode() bool

HasNode returns a boolean if a field has been set.

func (*ScanResponse) HasOrganisationId

func (o *ScanResponse) HasOrganisationId() bool

HasOrganisationId returns a boolean if a field has been set.

func (*ScanResponse) HasRoles

func (o *ScanResponse) HasRoles() bool

HasRoles returns a boolean if a field has been set.

func (*ScanResponse) HasScanGroupId

func (o *ScanResponse) HasScanGroupId() bool

HasScanGroupId returns a boolean if a field has been set.

func (*ScanResponse) HasSeeds

func (o *ScanResponse) HasSeeds() bool

HasSeeds returns a boolean if a field has been set.

func (*ScanResponse) HasShallowPageDepth

func (o *ScanResponse) HasShallowPageDepth() bool

HasShallowPageDepth returns a boolean if a field has been set.

func (ScanResponse) MarshalJSON

func (o ScanResponse) MarshalJSON() ([]byte, error)

func (*ScanResponse) SetCreated

func (o *ScanResponse) SetCreated(v time.Time)

SetCreated sets field value

func (*ScanResponse) SetCreatedBy

func (o *ScanResponse) SetCreatedBy(v string)

SetCreatedBy sets field value

func (*ScanResponse) SetCreatedByUser

func (o *ScanResponse) SetCreatedByUser(v UserDetailsResponse)

SetCreatedByUser gets a reference to the given UserDetailsResponse and assigns it to the CreatedByUser field.

func (*ScanResponse) SetDeepPageDepth

func (o *ScanResponse) SetDeepPageDepth(v float32)

SetDeepPageDepth gets a reference to the given float32 and assigns it to the DeepPageDepth field.

func (*ScanResponse) SetDeleted

func (o *ScanResponse) SetDeleted(v bool)

SetDeleted sets field value

func (*ScanResponse) SetDnsNamelist

func (o *ScanResponse) SetDnsNamelist(v bool)

SetDnsNamelist gets a reference to the given bool and assigns it to the DnsNamelist field.

func (*ScanResponse) SetEnabled

func (o *ScanResponse) SetEnabled(v bool)

SetEnabled sets field value

func (*ScanResponse) SetGroups

func (o *ScanResponse) SetGroups(v []Group)

SetGroups gets a reference to the given []Group and assigns it to the Groups field.

func (*ScanResponse) SetId

func (o *ScanResponse) SetId(v string)

SetId sets field value

func (*ScanResponse) SetIgnoreIpNodes

func (o *ScanResponse) SetIgnoreIpNodes(v bool)

SetIgnoreIpNodes gets a reference to the given bool and assigns it to the IgnoreIpNodes field.

func (*ScanResponse) SetIncludeBrRisks

func (o *ScanResponse) SetIncludeBrRisks(v map[string]interface{})

SetIncludeBrRisks sets field value

func (*ScanResponse) SetInsights

func (o *ScanResponse) SetInsights(v map[string]interface{})

SetInsights gets a reference to the given map[string]interface{} and assigns it to the Insights field.

func (*ScanResponse) SetInsightsGenerated

func (o *ScanResponse) SetInsightsGenerated(v time.Time)

SetInsightsGenerated gets a reference to the given time.Time and assigns it to the InsightsGenerated field.

func (*ScanResponse) SetIteration

func (o *ScanResponse) SetIteration(v map[string]interface{})

SetIteration gets a reference to the given map[string]interface{} and assigns it to the Iteration field.

func (*ScanResponse) SetMonitor

func (o *ScanResponse) SetMonitor(v bool)

SetMonitor gets a reference to the given bool and assigns it to the Monitor field.

func (*ScanResponse) SetMonitorNext

func (o *ScanResponse) SetMonitorNext(v time.Time)

SetMonitorNext gets a reference to the given time.Time and assigns it to the MonitorNext field.

func (*ScanResponse) SetMonitorSchedule

func (o *ScanResponse) SetMonitorSchedule(v string)

SetMonitorSchedule gets a reference to the given string and assigns it to the MonitorSchedule field.

func (*ScanResponse) SetName

func (o *ScanResponse) SetName(v string)

SetName sets field value

func (*ScanResponse) SetNode

func (o *ScanResponse) SetNode(v map[string]interface{})

SetNode gets a reference to the given map[string]interface{} and assigns it to the Node field.

func (*ScanResponse) SetOrganisationId

func (o *ScanResponse) SetOrganisationId(v string)

SetOrganisationId gets a reference to the given string and assigns it to the OrganisationId field.

func (*ScanResponse) SetRoles

func (o *ScanResponse) SetRoles(v []Role)

SetRoles gets a reference to the given []Role and assigns it to the Roles field.

func (*ScanResponse) SetScanGroupId

func (o *ScanResponse) SetScanGroupId(v string)

SetScanGroupId gets a reference to the given string and assigns it to the ScanGroupId field.

func (*ScanResponse) SetSeeds

func (o *ScanResponse) SetSeeds(v float32)

SetSeeds gets a reference to the given float32 and assigns it to the Seeds field.

func (*ScanResponse) SetShallowPageDepth

func (o *ScanResponse) SetShallowPageDepth(v float32)

SetShallowPageDepth gets a reference to the given float32 and assigns it to the ShallowPageDepth field.

func (*ScanResponse) SetType

func (o *ScanResponse) SetType(v ScanType)

SetType sets field value

func (*ScanResponse) SetUpdated

func (o *ScanResponse) SetUpdated(v time.Time)

SetUpdated sets field value

func (ScanResponse) ToMap

func (o ScanResponse) ToMap() (map[string]interface{}, error)

func (*ScanResponse) UnmarshalJSON

func (o *ScanResponse) UnmarshalJSON(data []byte) (err error)

type ScanType

type ScanType string

ScanType Scan type

const (
	SCANTYPE_ADHOC             ScanType = "adhoc"
	SCANTYPE_CONTINUOUS_OWN    ScanType = "continuous_own"
	SCANTYPE_CONTINUOUS_VENDOR ScanType = "continuous_vendor"
)

List of ScanType

func NewScanTypeFromValue

func NewScanTypeFromValue(v string) (*ScanType, error)

NewScanTypeFromValue returns a pointer to a valid ScanType for the value passed as argument, or an error if the value passed is not allowed by the enum

func (ScanType) IsValid

func (v ScanType) IsValid() bool

IsValid return true if the value is valid for the enum, false otherwise

func (ScanType) Ptr

func (v ScanType) Ptr() *ScanType

Ptr returns reference to ScanType value

func (*ScanType) UnmarshalJSON

func (v *ScanType) UnmarshalJSON(src []byte) error

type ScansAPIService

type ScansAPIService service

ScansAPIService ScansAPI service

func (*ScansAPIService) AddScanSeedById

func (a *ScansAPIService) AddScanSeedById(ctx context.Context, id string) ApiAddScanSeedByIdRequest

AddScanSeedById Add a seed to a scan by ID

Required role: `scans:write`

Step 2 of 3 in creating a scan. [Step 1](#post-/v1/scans). [Step 3](#patch-/v1/scans/-id-)

This endpoint requires that the associated organisation has API access enabled. If API access is not allowed, the response code will be 403 (Forbidden). IP ranges can either be provided in the format "8.8.8.1-8.8.8.254" or using CIDR notation i.e "8.8.8.0/24". The endpoint is subject to usage restrictions based on the associated organisation's plan, to find out more see the [Seeds documentation](https://docs.hexiosec.com/asm/seeds-and-ips)

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param id Scan ID
@return ApiAddScanSeedByIdRequest

func (*ScansAPIService) AddScanSeedByIdExecute

func (a *ScansAPIService) AddScanSeedByIdExecute(r ApiAddScanSeedByIdRequest) (*NodeResponse, *http.Response, error)

Execute executes the request

@return NodeResponse

func (*ScansAPIService) CreateScan

CreateScan Create a scan

Required role: `scans:manage`

Step 1 of 3 in creating a scan. [Step 2](#post-/v1/scans/-id-/seeds). [Step 3](#patch-/v1/scans/-id-)

This endpoint requires that the associated organisation has API access enabled. If API access is not allowed, the response code will be 403 (Forbidden). A calendar schedule can only be provided if the associated organisation and scan type has this feature enabled. The endpoint is subject to usage restrictions based on the associated organisation's plan, to find out more see the [Scan Allowance documentation](https://docs.hexiosec.com/asm/scan-allowances)

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return ApiCreateScanRequest

func (*ScansAPIService) CreateScanExecute

func (a *ScansAPIService) CreateScanExecute(r ApiCreateScanRequest) (*ScanResponse, *http.Response, error)

Execute executes the request

@return ScanResponse

func (*ScansAPIService) DeleteScanById

func (a *ScansAPIService) DeleteScanById(ctx context.Context, id string) ApiDeleteScanByIdRequest

DeleteScanById Delete a scan by ID

Required role: `scans:manage`

This endpoint requires that the associated organisation has API access enabled. If API access is not allowed, the response code will be 403 (Forbidden).

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param id Scan ID
@return ApiDeleteScanByIdRequest

func (*ScansAPIService) DeleteScanByIdExecute

func (a *ScansAPIService) DeleteScanByIdExecute(r ApiDeleteScanByIdRequest) (*http.Response, error)

Execute executes the request

func (*ScansAPIService) GetScanByID

GetScanByID Get a scan by ID

Required role: `scans:read`

This endpoint requires that the associated organisation has API access enabled. If API access is not allowed, the response code will be 403 (Forbidden).

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param id Scan ID
@return ApiGetScanByIDRequest

func (*ScansAPIService) GetScanByIDExecute

func (a *ScansAPIService) GetScanByIDExecute(r ApiGetScanByIDRequest) (*ScanResponse, *http.Response, error)

Execute executes the request

@return ScanResponse

func (*ScansAPIService) GetScanIterationProgress

func (a *ScansAPIService) GetScanIterationProgress(ctx context.Context, scanId string, iterationId string) ApiGetScanIterationProgressRequest

GetScanIterationProgress Get the progress for the provided iteration

Required role: `scans:read`

This endpoint requires that the associated organisation has API access enabled. If API access is not allowed, the response code will be 403 (Forbidden).

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param scanId Scan ID
@param iterationId Iteration ID
@return ApiGetScanIterationProgressRequest

func (*ScansAPIService) GetScanIterationProgressExecute

func (a *ScansAPIService) GetScanIterationProgressExecute(r ApiGetScanIterationProgressRequest) (*ScanProgressResponse, *http.Response, error)

Execute executes the request

@return ScanProgressResponse

func (*ScansAPIService) GetScanIterationsById

func (a *ScansAPIService) GetScanIterationsById(ctx context.Context, id string) ApiGetScanIterationsByIdRequest

GetScanIterationsById Get the Iterations for a specified scan

Required role: `scans:read`

This endpoint requires that the associated organisation has API access enabled. If API access is not allowed, the response code will be 403 (Forbidden).

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param id Scan ID
@return ApiGetScanIterationsByIdRequest

func (*ScansAPIService) GetScanIterationsByIdExecute

func (a *ScansAPIService) GetScanIterationsByIdExecute(r ApiGetScanIterationsByIdRequest) ([]ScanIterationResponse, *http.Response, error)

Execute executes the request

@return []ScanIterationResponse

func (*ScansAPIService) GetScanLinkTags

func (a *ScansAPIService) GetScanLinkTags(ctx context.Context, id string) ApiGetScanLinkTagsRequest

GetScanLinkTags Get link tags for a scan

Required role: `scans:read`

This endpoint requires that the associated organisation has API access enabled. If API access is not allowed, the response code will be 403 (Forbidden).

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param id Scan ID
@return ApiGetScanLinkTagsRequest

func (*ScansAPIService) GetScanLinkTagsExecute

Execute executes the request

@return []ScanLinkTagResponse

func (*ScansAPIService) GetScanSeedsById

func (a *ScansAPIService) GetScanSeedsById(ctx context.Context, id string) ApiGetScanSeedsByIdRequest

GetScanSeedsById Get the seeds for a scan by ID

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param id Scan ID
@return ApiGetScanSeedsByIdRequest

func (*ScansAPIService) GetScanSeedsByIdExecute

func (a *ScansAPIService) GetScanSeedsByIdExecute(r ApiGetScanSeedsByIdRequest) ([]SeedsResponseInner, *http.Response, error)

Execute executes the request

@return []SeedsResponseInner

func (*ScansAPIService) GetScans

GetScans Get the Scans for a specified scan group

Required role: `scans:read`

This endpoint requires that the associated organisation has API access enabled. If API access is not allowed, the response code will be 403 (Forbidden).

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return ApiGetScansRequest

func (*ScansAPIService) GetScansCount

GetScansCount Get the count of Scans for a specified scan group according to the filter settings

Required role: `scans:read`

This endpoint requires that the associated organisation has API access enabled. If API access is not allowed, the response code will be 403 (Forbidden).

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return ApiGetScansCountRequest

func (*ScansAPIService) GetScansCountExecute

func (a *ScansAPIService) GetScansCountExecute(r ApiGetScansCountRequest) (*InlineObject, *http.Response, error)

Execute executes the request

@return InlineObject

func (*ScansAPIService) GetScansExecute

func (a *ScansAPIService) GetScansExecute(r ApiGetScansRequest) ([]ScanResponse, *http.Response, error)

Execute executes the request

@return []ScanResponse

func (*ScansAPIService) GetScreenshotById

func (a *ScansAPIService) GetScreenshotById(ctx context.Context, id string, scanId string) ApiGetScreenshotByIdRequest

GetScreenshotById Get a web presence screenshot by ID

Required role: `scans:read`

This endpoint requires that the associated organisation has API access enabled. If API access is not allowed, the response code will be 403 (Forbidden).

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param id Screenshot ID
@param scanId Scan ID
@return ApiGetScreenshotByIdRequest

func (*ScansAPIService) GetScreenshotByIdExecute

func (a *ScansAPIService) GetScreenshotByIdExecute(r ApiGetScreenshotByIdRequest) (*os.File, *http.Response, error)

Execute executes the request

@return *os.File

func (*ScansAPIService) RemoveScanSeedById

func (a *ScansAPIService) RemoveScanSeedById(ctx context.Context, id string, seedId string) ApiRemoveScanSeedByIdRequest

RemoveScanSeedById Remove a seed from a scan by ID

Required role: `scans:write`

This endpoint requires that the associated organisation has API access enabled. If API access is not allowed, the response code will be 403 (Forbidden).

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param id Scan ID
@param seedId Seed ID
@return ApiRemoveScanSeedByIdRequest

func (*ScansAPIService) RemoveScanSeedByIdExecute

func (a *ScansAPIService) RemoveScanSeedByIdExecute(r ApiRemoveScanSeedByIdRequest) (*http.Response, error)

Execute executes the request

func (*ScansAPIService) RemoveSeedTag

func (a *ScansAPIService) RemoveSeedTag(ctx context.Context, id string, seedId string, tagName string) ApiRemoveSeedTagRequest

RemoveSeedTag Remove a tag from a seed

Required role: `scans:write`

Removes the association between the seed and the specified tag. The seed remains available even when tag removed.

This endpoint requires that the associated organisation has API access enabled. If API access is not allowed, the response code will be 403 (Forbidden).

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param id Scan ID
@param seedId Seed ID
@param tagName Tag name to remove from the seed
@return ApiRemoveSeedTagRequest

func (*ScansAPIService) RemoveSeedTagExecute

func (a *ScansAPIService) RemoveSeedTagExecute(r ApiRemoveSeedTagRequest) (*http.Response, error)

Execute executes the request

func (*ScansAPIService) TriggerRescanByScanId

func (a *ScansAPIService) TriggerRescanByScanId(ctx context.Context, id string) ApiTriggerRescanByScanIdRequest

TriggerRescanByScanId Trigger rescan by scan ID

Required role: `scans:refresh`

This endpoint requires that the associated organisation has API access enabled. If API access is not allowed, the response code will be 403 (Forbidden).

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param id Scan ID
@return ApiTriggerRescanByScanIdRequest

func (*ScansAPIService) TriggerRescanByScanIdExecute

func (a *ScansAPIService) TriggerRescanByScanIdExecute(r ApiTriggerRescanByScanIdRequest) (*http.Response, error)

Execute executes the request

func (*ScansAPIService) UpdateNodeInScanById

func (a *ScansAPIService) UpdateNodeInScanById(ctx context.Context, id string, nodeId string) ApiUpdateNodeInScanByIdRequest

UpdateNodeInScanById Update a node by ID

**Deprecated:** Use [Update a node by ID](#patch-/v1/graph/nodes/-id-) instead.

Required role: `scans:write`

This endpoint allows you to move assets in and out of scope, and ignore IPs.

Ignoring IPs can be used to mark CDN hosted domains and hide IP risks (Out of Scope) linked to these domains.

**Note:**

  • Only **Domain**, **IPv4** or **IPv6** nodes can be removed from scope.
  • Only **Domain** nodes can be marked to ignore IPs, and the associated organisation must have this feature enabled.

This endpoint requires that the associated organisation has API access enabled. If API access is not allowed, the response code will be 403 (Forbidden).

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param id Scan ID
@param nodeId Node ID
@return ApiUpdateNodeInScanByIdRequest

Deprecated

func (*ScansAPIService) UpdateNodeInScanByIdExecute

func (a *ScansAPIService) UpdateNodeInScanByIdExecute(r ApiUpdateNodeInScanByIdRequest) (*GenericGraphNode, *http.Response, error)

Execute executes the request

@return GenericGraphNode

Deprecated

func (*ScansAPIService) UpdateScanById

func (a *ScansAPIService) UpdateScanById(ctx context.Context, id string) ApiUpdateScanByIdRequest

UpdateScanById Update a scan by ID

Required role: `scans:write`

Step 3 of 3 in creating a scan. [Step 1](#post-/v1/scans). [Step 2](#post-/v1/scans/-id-/seeds).

To start a scan, set `enabled` to `true`. Conversely, to stop a scan, set `enabled` to `false`. A calendar schedule can only be provided if the associated organisation and scan type has this feature enabled. This endpoint requires that the associated organisation has API access enabled. If API access is not allowed, the response code will be 403 (Forbidden).

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param id Scan ID
@return ApiUpdateScanByIdRequest

func (*ScansAPIService) UpdateScanByIdExecute

func (a *ScansAPIService) UpdateScanByIdExecute(r ApiUpdateScanByIdRequest) (*ScanResponse, *http.Response, error)

Execute executes the request

@return ScanResponse

type SeedsResponseInner

type SeedsResponseInner struct {
	// Seed ID
	Id string `json:"id"`
	// Seed name
	Name string `json:"name"`
	// Seed type
	Type string `json:"type"`
	// If Seed type is IPRange, then this is the number of IPs in the IP Range.
	Size *float32 `json:"size,omitempty"`
	// Optional tags to describe seeds
	Tags                 []string `json:"tags,omitempty"`
	AdditionalProperties map[string]interface{}
}

SeedsResponseInner struct for SeedsResponseInner

func NewSeedsResponseInner

func NewSeedsResponseInner(id string, name string, type_ string) *SeedsResponseInner

NewSeedsResponseInner instantiates a new SeedsResponseInner 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

func NewSeedsResponseInnerWithDefaults

func NewSeedsResponseInnerWithDefaults() *SeedsResponseInner

NewSeedsResponseInnerWithDefaults instantiates a new SeedsResponseInner 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

func (*SeedsResponseInner) GetId

func (o *SeedsResponseInner) GetId() string

GetId returns the Id field value

func (*SeedsResponseInner) GetIdOk

func (o *SeedsResponseInner) GetIdOk() (*string, bool)

GetIdOk returns a tuple with the Id field value and a boolean to check if the value has been set.

func (*SeedsResponseInner) GetName

func (o *SeedsResponseInner) GetName() string

GetName returns the Name field value

func (*SeedsResponseInner) GetNameOk

func (o *SeedsResponseInner) GetNameOk() (*string, bool)

GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.

func (*SeedsResponseInner) GetSize

func (o *SeedsResponseInner) GetSize() float32

GetSize returns the Size field value if set, zero value otherwise.

func (*SeedsResponseInner) GetSizeOk

func (o *SeedsResponseInner) GetSizeOk() (*float32, bool)

GetSizeOk returns a tuple with the Size field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SeedsResponseInner) GetTags

func (o *SeedsResponseInner) GetTags() []string

GetTags returns the Tags field value if set, zero value otherwise.

func (*SeedsResponseInner) GetTagsOk

func (o *SeedsResponseInner) GetTagsOk() ([]string, bool)

GetTagsOk returns a tuple with the Tags field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SeedsResponseInner) GetType

func (o *SeedsResponseInner) GetType() string

GetType returns the Type field value

func (*SeedsResponseInner) GetTypeOk

func (o *SeedsResponseInner) GetTypeOk() (*string, bool)

GetTypeOk returns a tuple with the Type field value and a boolean to check if the value has been set.

func (*SeedsResponseInner) HasSize

func (o *SeedsResponseInner) HasSize() bool

HasSize returns a boolean if a field has been set.

func (*SeedsResponseInner) HasTags

func (o *SeedsResponseInner) HasTags() bool

HasTags returns a boolean if a field has been set.

func (SeedsResponseInner) MarshalJSON

func (o SeedsResponseInner) MarshalJSON() ([]byte, error)

func (*SeedsResponseInner) SetId

func (o *SeedsResponseInner) SetId(v string)

SetId sets field value

func (*SeedsResponseInner) SetName

func (o *SeedsResponseInner) SetName(v string)

SetName sets field value

func (*SeedsResponseInner) SetSize

func (o *SeedsResponseInner) SetSize(v float32)

SetSize gets a reference to the given float32 and assigns it to the Size field.

func (*SeedsResponseInner) SetTags

func (o *SeedsResponseInner) SetTags(v []string)

SetTags gets a reference to the given []string and assigns it to the Tags field.

func (*SeedsResponseInner) SetType

func (o *SeedsResponseInner) SetType(v string)

SetType sets field value

func (SeedsResponseInner) ToMap

func (o SeedsResponseInner) ToMap() (map[string]interface{}, error)

func (*SeedsResponseInner) UnmarshalJSON

func (o *SeedsResponseInner) UnmarshalJSON(data []byte) (err error)

type ServerConfiguration

type ServerConfiguration struct {
	URL         string
	Description string
	Variables   map[string]ServerVariable
}

ServerConfiguration stores the information about a server

type ServerConfigurations

type ServerConfigurations []ServerConfiguration

ServerConfigurations stores multiple ServerConfiguration items

func (ServerConfigurations) URL

func (sc ServerConfigurations) URL(index int, variables map[string]string) (string, error)

URL formats template on a index using given variables

type ServerVariable

type ServerVariable struct {
	Description  string
	DefaultValue string
	EnumValues   []string
}

ServerVariable stores the information about a server variable

type TagResponse

type TagResponse struct {
	// Tag ID
	Id string `json:"id"`
	// Organisation ID
	OrgId string `json:"org_id"`
	// Tag name
	Name string `json:"name"`
	// Timestamp at which the tag was created
	CreatedAt time.Time `json:"created_at"`
	// User ID of the creator
	CreatedBy string `json:"created_by"`
	// Timestamp at which the tag was last updated
	UpdatedAt time.Time `json:"updated_at"`
	// User ID of the last updater
	UpdatedBy            string `json:"updated_by"`
	AdditionalProperties map[string]interface{}
}

TagResponse struct for TagResponse

func NewTagResponse

func NewTagResponse(id string, orgId string, name string, createdAt time.Time, createdBy string, updatedAt time.Time, updatedBy string) *TagResponse

NewTagResponse instantiates a new TagResponse 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

func NewTagResponseWithDefaults

func NewTagResponseWithDefaults() *TagResponse

NewTagResponseWithDefaults instantiates a new TagResponse 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

func (*TagResponse) GetCreatedAt

func (o *TagResponse) GetCreatedAt() time.Time

GetCreatedAt returns the CreatedAt field value

func (*TagResponse) GetCreatedAtOk

func (o *TagResponse) GetCreatedAtOk() (*time.Time, bool)

GetCreatedAtOk returns a tuple with the CreatedAt field value and a boolean to check if the value has been set.

func (*TagResponse) GetCreatedBy

func (o *TagResponse) GetCreatedBy() string

GetCreatedBy returns the CreatedBy field value

func (*TagResponse) GetCreatedByOk

func (o *TagResponse) GetCreatedByOk() (*string, bool)

GetCreatedByOk returns a tuple with the CreatedBy field value and a boolean to check if the value has been set.

func (*TagResponse) GetId

func (o *TagResponse) GetId() string

GetId returns the Id field value

func (*TagResponse) GetIdOk

func (o *TagResponse) GetIdOk() (*string, bool)

GetIdOk returns a tuple with the Id field value and a boolean to check if the value has been set.

func (*TagResponse) GetName

func (o *TagResponse) GetName() string

GetName returns the Name field value

func (*TagResponse) GetNameOk

func (o *TagResponse) GetNameOk() (*string, bool)

GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.

func (*TagResponse) GetOrgId

func (o *TagResponse) GetOrgId() string

GetOrgId returns the OrgId field value

func (*TagResponse) GetOrgIdOk

func (o *TagResponse) GetOrgIdOk() (*string, bool)

GetOrgIdOk returns a tuple with the OrgId field value and a boolean to check if the value has been set.

func (*TagResponse) GetUpdatedAt

func (o *TagResponse) GetUpdatedAt() time.Time

GetUpdatedAt returns the UpdatedAt field value

func (*TagResponse) GetUpdatedAtOk

func (o *TagResponse) GetUpdatedAtOk() (*time.Time, bool)

GetUpdatedAtOk returns a tuple with the UpdatedAt field value and a boolean to check if the value has been set.

func (*TagResponse) GetUpdatedBy

func (o *TagResponse) GetUpdatedBy() string

GetUpdatedBy returns the UpdatedBy field value

func (*TagResponse) GetUpdatedByOk

func (o *TagResponse) GetUpdatedByOk() (*string, bool)

GetUpdatedByOk returns a tuple with the UpdatedBy field value and a boolean to check if the value has been set.

func (TagResponse) MarshalJSON

func (o TagResponse) MarshalJSON() ([]byte, error)

func (*TagResponse) SetCreatedAt

func (o *TagResponse) SetCreatedAt(v time.Time)

SetCreatedAt sets field value

func (*TagResponse) SetCreatedBy

func (o *TagResponse) SetCreatedBy(v string)

SetCreatedBy sets field value

func (*TagResponse) SetId

func (o *TagResponse) SetId(v string)

SetId sets field value

func (*TagResponse) SetName

func (o *TagResponse) SetName(v string)

SetName sets field value

func (*TagResponse) SetOrgId

func (o *TagResponse) SetOrgId(v string)

SetOrgId sets field value

func (*TagResponse) SetUpdatedAt

func (o *TagResponse) SetUpdatedAt(v time.Time)

SetUpdatedAt sets field value

func (*TagResponse) SetUpdatedBy

func (o *TagResponse) SetUpdatedBy(v string)

SetUpdatedBy sets field value

func (TagResponse) ToMap

func (o TagResponse) ToMap() (map[string]interface{}, error)

func (*TagResponse) UnmarshalJSON

func (o *TagResponse) UnmarshalJSON(data []byte) (err error)

type UpdateNodeRequest

type UpdateNodeRequest struct {
	// Deprecated - remove the node from scope, if it is in scope. Or undo this action, if it has been previously removed from scope - Use **mark_as_secondary**
	// Deprecated
	RemoveFromScope *bool `json:"remove_from_scope,omitempty"`
	// Mark node as secondary asset if the node is a primary asset. Or undo this action, if it has been previously marked as secondary.
	MarkAsSecondary *bool `json:"mark_as_secondary,omitempty"`
	// Ignore IPs for the node
	IgnoreIps            *bool `json:"ignore_ips,omitempty"`
	AdditionalProperties map[string]interface{}
}

UpdateNodeRequest struct for UpdateNodeRequest

func NewUpdateNodeRequest

func NewUpdateNodeRequest() *UpdateNodeRequest

NewUpdateNodeRequest instantiates a new UpdateNodeRequest 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

func NewUpdateNodeRequestWithDefaults

func NewUpdateNodeRequestWithDefaults() *UpdateNodeRequest

NewUpdateNodeRequestWithDefaults instantiates a new UpdateNodeRequest 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

func (*UpdateNodeRequest) GetIgnoreIps

func (o *UpdateNodeRequest) GetIgnoreIps() bool

GetIgnoreIps returns the IgnoreIps field value if set, zero value otherwise.

func (*UpdateNodeRequest) GetIgnoreIpsOk

func (o *UpdateNodeRequest) GetIgnoreIpsOk() (*bool, bool)

GetIgnoreIpsOk returns a tuple with the IgnoreIps field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UpdateNodeRequest) GetMarkAsSecondary

func (o *UpdateNodeRequest) GetMarkAsSecondary() bool

GetMarkAsSecondary returns the MarkAsSecondary field value if set, zero value otherwise.

func (*UpdateNodeRequest) GetMarkAsSecondaryOk

func (o *UpdateNodeRequest) GetMarkAsSecondaryOk() (*bool, bool)

GetMarkAsSecondaryOk returns a tuple with the MarkAsSecondary field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UpdateNodeRequest) GetRemoveFromScope

func (o *UpdateNodeRequest) GetRemoveFromScope() bool

GetRemoveFromScope returns the RemoveFromScope field value if set, zero value otherwise. Deprecated

func (*UpdateNodeRequest) GetRemoveFromScopeOk

func (o *UpdateNodeRequest) GetRemoveFromScopeOk() (*bool, bool)

GetRemoveFromScopeOk returns a tuple with the RemoveFromScope field value if set, nil otherwise and a boolean to check if the value has been set. Deprecated

func (*UpdateNodeRequest) HasIgnoreIps

func (o *UpdateNodeRequest) HasIgnoreIps() bool

HasIgnoreIps returns a boolean if a field has been set.

func (*UpdateNodeRequest) HasMarkAsSecondary

func (o *UpdateNodeRequest) HasMarkAsSecondary() bool

HasMarkAsSecondary returns a boolean if a field has been set.

func (*UpdateNodeRequest) HasRemoveFromScope

func (o *UpdateNodeRequest) HasRemoveFromScope() bool

HasRemoveFromScope returns a boolean if a field has been set.

func (UpdateNodeRequest) MarshalJSON

func (o UpdateNodeRequest) MarshalJSON() ([]byte, error)

func (*UpdateNodeRequest) SetIgnoreIps

func (o *UpdateNodeRequest) SetIgnoreIps(v bool)

SetIgnoreIps gets a reference to the given bool and assigns it to the IgnoreIps field.

func (*UpdateNodeRequest) SetMarkAsSecondary

func (o *UpdateNodeRequest) SetMarkAsSecondary(v bool)

SetMarkAsSecondary gets a reference to the given bool and assigns it to the MarkAsSecondary field.

func (*UpdateNodeRequest) SetRemoveFromScope

func (o *UpdateNodeRequest) SetRemoveFromScope(v bool)

SetRemoveFromScope gets a reference to the given bool and assigns it to the RemoveFromScope field. Deprecated

func (UpdateNodeRequest) ToMap

func (o UpdateNodeRequest) ToMap() (map[string]interface{}, error)

func (*UpdateNodeRequest) UnmarshalJSON

func (o *UpdateNodeRequest) UnmarshalJSON(data []byte) (err error)

type UpdateReportTemplateBody

type UpdateReportTemplateBody struct {
	// Report template display name
	Name                 string `json:"name"`
	AdditionalProperties map[string]interface{}
}

UpdateReportTemplateBody struct for UpdateReportTemplateBody

func NewUpdateReportTemplateBody

func NewUpdateReportTemplateBody(name string) *UpdateReportTemplateBody

NewUpdateReportTemplateBody instantiates a new UpdateReportTemplateBody 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

func NewUpdateReportTemplateBodyWithDefaults

func NewUpdateReportTemplateBodyWithDefaults() *UpdateReportTemplateBody

NewUpdateReportTemplateBodyWithDefaults instantiates a new UpdateReportTemplateBody 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

func (*UpdateReportTemplateBody) GetName

func (o *UpdateReportTemplateBody) GetName() string

GetName returns the Name field value

func (*UpdateReportTemplateBody) GetNameOk

func (o *UpdateReportTemplateBody) GetNameOk() (*string, bool)

GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.

func (UpdateReportTemplateBody) MarshalJSON

func (o UpdateReportTemplateBody) MarshalJSON() ([]byte, error)

func (*UpdateReportTemplateBody) SetName

func (o *UpdateReportTemplateBody) SetName(v string)

SetName sets field value

func (UpdateReportTemplateBody) ToMap

func (o UpdateReportTemplateBody) ToMap() (map[string]interface{}, error)

func (*UpdateReportTemplateBody) UnmarshalJSON

func (o *UpdateReportTemplateBody) UnmarshalJSON(data []byte) (err error)

type UpdateScanByIdRequest

type UpdateScanByIdRequest struct {
	// Name of the scan
	Name *string `json:"name,omitempty"`
	// Whether the scan is enabled (`false` on new scans, enable to start the scan)
	Enabled *bool `json:"enabled,omitempty"`
	// Scan Group ID
	ScanGroupId *string `json:"scan_group_id,omitempty"`
	// Whether to hide IP risks
	IgnoreIpNodes *bool `json:"ignore_ip_nodes,omitempty"`
	// The frequency of scan iteration  i.e. \"daily\", \"weekly\", \"monthly\", \"quarterly\", \"yearly\"
	CalendarSchedule     *string                              `json:"calendar_schedule,omitempty"`
	IncludeBrRisks       *UpdateScanByIdRequestIncludeBrRisks `json:"include_br_risks,omitempty"`
	AdditionalProperties map[string]interface{}
}

UpdateScanByIdRequest struct for UpdateScanByIdRequest

func NewUpdateScanByIdRequest

func NewUpdateScanByIdRequest() *UpdateScanByIdRequest

NewUpdateScanByIdRequest instantiates a new UpdateScanByIdRequest 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

func NewUpdateScanByIdRequestWithDefaults

func NewUpdateScanByIdRequestWithDefaults() *UpdateScanByIdRequest

NewUpdateScanByIdRequestWithDefaults instantiates a new UpdateScanByIdRequest 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

func (*UpdateScanByIdRequest) GetCalendarSchedule

func (o *UpdateScanByIdRequest) GetCalendarSchedule() string

GetCalendarSchedule returns the CalendarSchedule field value if set, zero value otherwise.

func (*UpdateScanByIdRequest) GetCalendarScheduleOk

func (o *UpdateScanByIdRequest) GetCalendarScheduleOk() (*string, bool)

GetCalendarScheduleOk returns a tuple with the CalendarSchedule field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UpdateScanByIdRequest) GetEnabled

func (o *UpdateScanByIdRequest) GetEnabled() bool

GetEnabled returns the Enabled field value if set, zero value otherwise.

func (*UpdateScanByIdRequest) GetEnabledOk

func (o *UpdateScanByIdRequest) GetEnabledOk() (*bool, bool)

GetEnabledOk returns a tuple with the Enabled field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UpdateScanByIdRequest) GetIgnoreIpNodes

func (o *UpdateScanByIdRequest) GetIgnoreIpNodes() bool

GetIgnoreIpNodes returns the IgnoreIpNodes field value if set, zero value otherwise.

func (*UpdateScanByIdRequest) GetIgnoreIpNodesOk

func (o *UpdateScanByIdRequest) GetIgnoreIpNodesOk() (*bool, bool)

GetIgnoreIpNodesOk returns a tuple with the IgnoreIpNodes field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UpdateScanByIdRequest) GetIncludeBrRisks

GetIncludeBrRisks returns the IncludeBrRisks field value if set, zero value otherwise.

func (*UpdateScanByIdRequest) GetIncludeBrRisksOk

func (o *UpdateScanByIdRequest) GetIncludeBrRisksOk() (*UpdateScanByIdRequestIncludeBrRisks, bool)

GetIncludeBrRisksOk returns a tuple with the IncludeBrRisks field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UpdateScanByIdRequest) GetName

func (o *UpdateScanByIdRequest) GetName() string

GetName returns the Name field value if set, zero value otherwise.

func (*UpdateScanByIdRequest) GetNameOk

func (o *UpdateScanByIdRequest) GetNameOk() (*string, bool)

GetNameOk returns a tuple with the Name field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UpdateScanByIdRequest) GetScanGroupId

func (o *UpdateScanByIdRequest) GetScanGroupId() string

GetScanGroupId returns the ScanGroupId field value if set, zero value otherwise.

func (*UpdateScanByIdRequest) GetScanGroupIdOk

func (o *UpdateScanByIdRequest) GetScanGroupIdOk() (*string, bool)

GetScanGroupIdOk returns a tuple with the ScanGroupId field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UpdateScanByIdRequest) HasCalendarSchedule

func (o *UpdateScanByIdRequest) HasCalendarSchedule() bool

HasCalendarSchedule returns a boolean if a field has been set.

func (*UpdateScanByIdRequest) HasEnabled

func (o *UpdateScanByIdRequest) HasEnabled() bool

HasEnabled returns a boolean if a field has been set.

func (*UpdateScanByIdRequest) HasIgnoreIpNodes

func (o *UpdateScanByIdRequest) HasIgnoreIpNodes() bool

HasIgnoreIpNodes returns a boolean if a field has been set.

func (*UpdateScanByIdRequest) HasIncludeBrRisks

func (o *UpdateScanByIdRequest) HasIncludeBrRisks() bool

HasIncludeBrRisks returns a boolean if a field has been set.

func (*UpdateScanByIdRequest) HasName

func (o *UpdateScanByIdRequest) HasName() bool

HasName returns a boolean if a field has been set.

func (*UpdateScanByIdRequest) HasScanGroupId

func (o *UpdateScanByIdRequest) HasScanGroupId() bool

HasScanGroupId returns a boolean if a field has been set.

func (UpdateScanByIdRequest) MarshalJSON

func (o UpdateScanByIdRequest) MarshalJSON() ([]byte, error)

func (*UpdateScanByIdRequest) SetCalendarSchedule

func (o *UpdateScanByIdRequest) SetCalendarSchedule(v string)

SetCalendarSchedule gets a reference to the given string and assigns it to the CalendarSchedule field.

func (*UpdateScanByIdRequest) SetEnabled

func (o *UpdateScanByIdRequest) SetEnabled(v bool)

SetEnabled gets a reference to the given bool and assigns it to the Enabled field.

func (*UpdateScanByIdRequest) SetIgnoreIpNodes

func (o *UpdateScanByIdRequest) SetIgnoreIpNodes(v bool)

SetIgnoreIpNodes gets a reference to the given bool and assigns it to the IgnoreIpNodes field.

func (*UpdateScanByIdRequest) SetIncludeBrRisks

SetIncludeBrRisks gets a reference to the given UpdateScanByIdRequestIncludeBrRisks and assigns it to the IncludeBrRisks field.

func (*UpdateScanByIdRequest) SetName

func (o *UpdateScanByIdRequest) SetName(v string)

SetName gets a reference to the given string and assigns it to the Name field.

func (*UpdateScanByIdRequest) SetScanGroupId

func (o *UpdateScanByIdRequest) SetScanGroupId(v string)

SetScanGroupId gets a reference to the given string and assigns it to the ScanGroupId field.

func (UpdateScanByIdRequest) ToMap

func (o UpdateScanByIdRequest) ToMap() (map[string]interface{}, error)

func (*UpdateScanByIdRequest) UnmarshalJSON

func (o *UpdateScanByIdRequest) UnmarshalJSON(data []byte) (err error)

type UpdateScanByIdRequestIncludeBrRisks

type UpdateScanByIdRequestIncludeBrRisks struct {
	// Include backported resolvable risks for Apache
	UrnComponentApplicationApache *bool `json:"urn:component:application:apache,omitempty"`
	AdditionalProperties          map[string]interface{}
}

UpdateScanByIdRequestIncludeBrRisks struct for UpdateScanByIdRequestIncludeBrRisks

func NewUpdateScanByIdRequestIncludeBrRisks

func NewUpdateScanByIdRequestIncludeBrRisks() *UpdateScanByIdRequestIncludeBrRisks

NewUpdateScanByIdRequestIncludeBrRisks instantiates a new UpdateScanByIdRequestIncludeBrRisks 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

func NewUpdateScanByIdRequestIncludeBrRisksWithDefaults

func NewUpdateScanByIdRequestIncludeBrRisksWithDefaults() *UpdateScanByIdRequestIncludeBrRisks

NewUpdateScanByIdRequestIncludeBrRisksWithDefaults instantiates a new UpdateScanByIdRequestIncludeBrRisks 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

func (*UpdateScanByIdRequestIncludeBrRisks) GetUrnComponentApplicationApache

func (o *UpdateScanByIdRequestIncludeBrRisks) GetUrnComponentApplicationApache() bool

GetUrnComponentApplicationApache returns the UrnComponentApplicationApache field value if set, zero value otherwise.

func (*UpdateScanByIdRequestIncludeBrRisks) GetUrnComponentApplicationApacheOk

func (o *UpdateScanByIdRequestIncludeBrRisks) GetUrnComponentApplicationApacheOk() (*bool, bool)

GetUrnComponentApplicationApacheOk returns a tuple with the UrnComponentApplicationApache field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UpdateScanByIdRequestIncludeBrRisks) HasUrnComponentApplicationApache

func (o *UpdateScanByIdRequestIncludeBrRisks) HasUrnComponentApplicationApache() bool

HasUrnComponentApplicationApache returns a boolean if a field has been set.

func (UpdateScanByIdRequestIncludeBrRisks) MarshalJSON

func (o UpdateScanByIdRequestIncludeBrRisks) MarshalJSON() ([]byte, error)

func (*UpdateScanByIdRequestIncludeBrRisks) SetUrnComponentApplicationApache

func (o *UpdateScanByIdRequestIncludeBrRisks) SetUrnComponentApplicationApache(v bool)

SetUrnComponentApplicationApache gets a reference to the given bool and assigns it to the UrnComponentApplicationApache field.

func (UpdateScanByIdRequestIncludeBrRisks) ToMap

func (o UpdateScanByIdRequestIncludeBrRisks) ToMap() (map[string]interface{}, error)

func (*UpdateScanByIdRequestIncludeBrRisks) UnmarshalJSON

func (o *UpdateScanByIdRequestIncludeBrRisks) UnmarshalJSON(data []byte) (err error)

type UpdateUserPreferencesRequest

type UpdateUserPreferencesRequest struct {
	// Default Scan Group ID (selected by default when creating a new scan)
	DefaultScanGroup     *string `json:"default_scan_group,omitempty"`
	AdditionalProperties map[string]interface{}
}

UpdateUserPreferencesRequest Free-form object containing user attributes to be merged

func NewUpdateUserPreferencesRequest

func NewUpdateUserPreferencesRequest() *UpdateUserPreferencesRequest

NewUpdateUserPreferencesRequest instantiates a new UpdateUserPreferencesRequest 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

func NewUpdateUserPreferencesRequestWithDefaults

func NewUpdateUserPreferencesRequestWithDefaults() *UpdateUserPreferencesRequest

NewUpdateUserPreferencesRequestWithDefaults instantiates a new UpdateUserPreferencesRequest 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

func (*UpdateUserPreferencesRequest) GetDefaultScanGroup

func (o *UpdateUserPreferencesRequest) GetDefaultScanGroup() string

GetDefaultScanGroup returns the DefaultScanGroup field value if set, zero value otherwise.

func (*UpdateUserPreferencesRequest) GetDefaultScanGroupOk

func (o *UpdateUserPreferencesRequest) GetDefaultScanGroupOk() (*string, bool)

GetDefaultScanGroupOk returns a tuple with the DefaultScanGroup field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UpdateUserPreferencesRequest) HasDefaultScanGroup

func (o *UpdateUserPreferencesRequest) HasDefaultScanGroup() bool

HasDefaultScanGroup returns a boolean if a field has been set.

func (UpdateUserPreferencesRequest) MarshalJSON

func (o UpdateUserPreferencesRequest) MarshalJSON() ([]byte, error)

func (*UpdateUserPreferencesRequest) SetDefaultScanGroup

func (o *UpdateUserPreferencesRequest) SetDefaultScanGroup(v string)

SetDefaultScanGroup gets a reference to the given string and assigns it to the DefaultScanGroup field.

func (UpdateUserPreferencesRequest) ToMap

func (o UpdateUserPreferencesRequest) ToMap() (map[string]interface{}, error)

func (*UpdateUserPreferencesRequest) UnmarshalJSON

func (o *UpdateUserPreferencesRequest) UnmarshalJSON(data []byte) (err error)

type UserDetailsResponse

type UserDetailsResponse struct {
	Id string `json:"id"`
	// Full name, might be an empty string
	Name *string `json:"name,omitempty"`
	// Given name, might be an empty string
	GivenName *string `json:"given_name,omitempty"`
	// Family name, might be an empty string
	FamilyName *string `json:"family_name,omitempty"`
	// Email address
	Email                string `json:"email"`
	AdditionalProperties map[string]interface{}
}

UserDetailsResponse struct for UserDetailsResponse

func NewUserDetailsResponse

func NewUserDetailsResponse(id string, email string) *UserDetailsResponse

NewUserDetailsResponse instantiates a new UserDetailsResponse 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

func NewUserDetailsResponseWithDefaults

func NewUserDetailsResponseWithDefaults() *UserDetailsResponse

NewUserDetailsResponseWithDefaults instantiates a new UserDetailsResponse 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

func (*UserDetailsResponse) GetEmail

func (o *UserDetailsResponse) GetEmail() string

GetEmail returns the Email field value

func (*UserDetailsResponse) GetEmailOk

func (o *UserDetailsResponse) GetEmailOk() (*string, bool)

GetEmailOk returns a tuple with the Email field value and a boolean to check if the value has been set.

func (*UserDetailsResponse) GetFamilyName

func (o *UserDetailsResponse) GetFamilyName() string

GetFamilyName returns the FamilyName field value if set, zero value otherwise.

func (*UserDetailsResponse) GetFamilyNameOk

func (o *UserDetailsResponse) GetFamilyNameOk() (*string, bool)

GetFamilyNameOk returns a tuple with the FamilyName field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UserDetailsResponse) GetGivenName

func (o *UserDetailsResponse) GetGivenName() string

GetGivenName returns the GivenName field value if set, zero value otherwise.

func (*UserDetailsResponse) GetGivenNameOk

func (o *UserDetailsResponse) GetGivenNameOk() (*string, bool)

GetGivenNameOk returns a tuple with the GivenName field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UserDetailsResponse) GetId

func (o *UserDetailsResponse) GetId() string

GetId returns the Id field value

func (*UserDetailsResponse) GetIdOk

func (o *UserDetailsResponse) GetIdOk() (*string, bool)

GetIdOk returns a tuple with the Id field value and a boolean to check if the value has been set.

func (*UserDetailsResponse) GetName

func (o *UserDetailsResponse) GetName() string

GetName returns the Name field value if set, zero value otherwise.

func (*UserDetailsResponse) GetNameOk

func (o *UserDetailsResponse) GetNameOk() (*string, bool)

GetNameOk returns a tuple with the Name field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UserDetailsResponse) HasFamilyName

func (o *UserDetailsResponse) HasFamilyName() bool

HasFamilyName returns a boolean if a field has been set.

func (*UserDetailsResponse) HasGivenName

func (o *UserDetailsResponse) HasGivenName() bool

HasGivenName returns a boolean if a field has been set.

func (*UserDetailsResponse) HasName

func (o *UserDetailsResponse) HasName() bool

HasName returns a boolean if a field has been set.

func (UserDetailsResponse) MarshalJSON

func (o UserDetailsResponse) MarshalJSON() ([]byte, error)

func (*UserDetailsResponse) SetEmail

func (o *UserDetailsResponse) SetEmail(v string)

SetEmail sets field value

func (*UserDetailsResponse) SetFamilyName

func (o *UserDetailsResponse) SetFamilyName(v string)

SetFamilyName gets a reference to the given string and assigns it to the FamilyName field.

func (*UserDetailsResponse) SetGivenName

func (o *UserDetailsResponse) SetGivenName(v string)

SetGivenName gets a reference to the given string and assigns it to the GivenName field.

func (*UserDetailsResponse) SetId

func (o *UserDetailsResponse) SetId(v string)

SetId sets field value

func (*UserDetailsResponse) SetName

func (o *UserDetailsResponse) SetName(v string)

SetName gets a reference to the given string and assigns it to the Name field.

func (UserDetailsResponse) ToMap

func (o UserDetailsResponse) ToMap() (map[string]interface{}, error)

func (*UserDetailsResponse) UnmarshalJSON

func (o *UserDetailsResponse) UnmarshalJSON(data []byte) (err error)

type UserResponse

type UserResponse struct {
	Id      string `json:"id"`
	Name    string `json:"name"`
	Email   string `json:"email"`
	Enabled bool   `json:"enabled"`
	// Most recent session activity of user
	LastSessionUpdated *time.Time `json:"last_session_updated,omitempty"`
	// User has enabled Time-based one-time passwords (TOTP)
	TotpEnabled bool `json:"totp_enabled"`
	// User is an SSO user
	SsoUser *bool `json:"sso_user,omitempty"`
	// Groups the user is a apart of in the organisation / scan group
	Groups []string `json:"groups"`
	// Roles the user has in the organisation / scan group
	Roles []string `json:"roles"`
	// Scan Groups the user is apart of in the organisation (if the organisation is requested)
	ScanGroups           []UserResponseScanGroupsInner `json:"scan_groups,omitempty"`
	AdditionalProperties map[string]interface{}
}

UserResponse struct for UserResponse

func NewUserResponse

func NewUserResponse(id string, name string, email string, enabled bool, totpEnabled bool, groups []string, roles []string) *UserResponse

NewUserResponse instantiates a new UserResponse 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

func NewUserResponseWithDefaults

func NewUserResponseWithDefaults() *UserResponse

NewUserResponseWithDefaults instantiates a new UserResponse 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

func (*UserResponse) GetEmail

func (o *UserResponse) GetEmail() string

GetEmail returns the Email field value

func (*UserResponse) GetEmailOk

func (o *UserResponse) GetEmailOk() (*string, bool)

GetEmailOk returns a tuple with the Email field value and a boolean to check if the value has been set.

func (*UserResponse) GetEnabled

func (o *UserResponse) GetEnabled() bool

GetEnabled returns the Enabled field value

func (*UserResponse) GetEnabledOk

func (o *UserResponse) GetEnabledOk() (*bool, bool)

GetEnabledOk returns a tuple with the Enabled field value and a boolean to check if the value has been set.

func (*UserResponse) GetGroups

func (o *UserResponse) GetGroups() []string

GetGroups returns the Groups field value

func (*UserResponse) GetGroupsOk

func (o *UserResponse) GetGroupsOk() ([]string, bool)

GetGroupsOk returns a tuple with the Groups field value and a boolean to check if the value has been set.

func (*UserResponse) GetId

func (o *UserResponse) GetId() string

GetId returns the Id field value

func (*UserResponse) GetIdOk

func (o *UserResponse) GetIdOk() (*string, bool)

GetIdOk returns a tuple with the Id field value and a boolean to check if the value has been set.

func (*UserResponse) GetLastSessionUpdated

func (o *UserResponse) GetLastSessionUpdated() time.Time

GetLastSessionUpdated returns the LastSessionUpdated field value if set, zero value otherwise.

func (*UserResponse) GetLastSessionUpdatedOk

func (o *UserResponse) GetLastSessionUpdatedOk() (*time.Time, bool)

GetLastSessionUpdatedOk returns a tuple with the LastSessionUpdated field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UserResponse) GetName

func (o *UserResponse) GetName() string

GetName returns the Name field value

func (*UserResponse) GetNameOk

func (o *UserResponse) GetNameOk() (*string, bool)

GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.

func (*UserResponse) GetRoles

func (o *UserResponse) GetRoles() []string

GetRoles returns the Roles field value

func (*UserResponse) GetRolesOk

func (o *UserResponse) GetRolesOk() ([]string, bool)

GetRolesOk returns a tuple with the Roles field value and a boolean to check if the value has been set.

func (*UserResponse) GetScanGroups

func (o *UserResponse) GetScanGroups() []UserResponseScanGroupsInner

GetScanGroups returns the ScanGroups field value if set, zero value otherwise.

func (*UserResponse) GetScanGroupsOk

func (o *UserResponse) GetScanGroupsOk() ([]UserResponseScanGroupsInner, bool)

GetScanGroupsOk returns a tuple with the ScanGroups field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UserResponse) GetSsoUser

func (o *UserResponse) GetSsoUser() bool

GetSsoUser returns the SsoUser field value if set, zero value otherwise.

func (*UserResponse) GetSsoUserOk

func (o *UserResponse) GetSsoUserOk() (*bool, bool)

GetSsoUserOk returns a tuple with the SsoUser field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UserResponse) GetTotpEnabled

func (o *UserResponse) GetTotpEnabled() bool

GetTotpEnabled returns the TotpEnabled field value

func (*UserResponse) GetTotpEnabledOk

func (o *UserResponse) GetTotpEnabledOk() (*bool, bool)

GetTotpEnabledOk returns a tuple with the TotpEnabled field value and a boolean to check if the value has been set.

func (*UserResponse) HasLastSessionUpdated

func (o *UserResponse) HasLastSessionUpdated() bool

HasLastSessionUpdated returns a boolean if a field has been set.

func (*UserResponse) HasScanGroups

func (o *UserResponse) HasScanGroups() bool

HasScanGroups returns a boolean if a field has been set.

func (*UserResponse) HasSsoUser

func (o *UserResponse) HasSsoUser() bool

HasSsoUser returns a boolean if a field has been set.

func (UserResponse) MarshalJSON

func (o UserResponse) MarshalJSON() ([]byte, error)

func (*UserResponse) SetEmail

func (o *UserResponse) SetEmail(v string)

SetEmail sets field value

func (*UserResponse) SetEnabled

func (o *UserResponse) SetEnabled(v bool)

SetEnabled sets field value

func (*UserResponse) SetGroups

func (o *UserResponse) SetGroups(v []string)

SetGroups sets field value

func (*UserResponse) SetId

func (o *UserResponse) SetId(v string)

SetId sets field value

func (*UserResponse) SetLastSessionUpdated

func (o *UserResponse) SetLastSessionUpdated(v time.Time)

SetLastSessionUpdated gets a reference to the given time.Time and assigns it to the LastSessionUpdated field.

func (*UserResponse) SetName

func (o *UserResponse) SetName(v string)

SetName sets field value

func (*UserResponse) SetRoles

func (o *UserResponse) SetRoles(v []string)

SetRoles sets field value

func (*UserResponse) SetScanGroups

func (o *UserResponse) SetScanGroups(v []UserResponseScanGroupsInner)

SetScanGroups gets a reference to the given []UserResponseScanGroupsInner and assigns it to the ScanGroups field.

func (*UserResponse) SetSsoUser

func (o *UserResponse) SetSsoUser(v bool)

SetSsoUser gets a reference to the given bool and assigns it to the SsoUser field.

func (*UserResponse) SetTotpEnabled

func (o *UserResponse) SetTotpEnabled(v bool)

SetTotpEnabled sets field value

func (UserResponse) ToMap

func (o UserResponse) ToMap() (map[string]interface{}, error)

func (*UserResponse) UnmarshalJSON

func (o *UserResponse) UnmarshalJSON(data []byte) (err error)

type UserResponseScanGroupsInner

type UserResponseScanGroupsInner struct {
	Id             string `json:"id"`
	OrganisationId string `json:"organisation_id"`
	Name           string `json:"name"`
	// Scan Group is the user's default
	IsDefault bool `json:"is_default"`
	// Groups the user is a apart of in the organisation
	Groups []string `json:"groups"`
	// Roles the user has in the organisation
	Roles                []string `json:"roles"`
	AdditionalProperties map[string]interface{}
}

UserResponseScanGroupsInner struct for UserResponseScanGroupsInner

func NewUserResponseScanGroupsInner

func NewUserResponseScanGroupsInner(id string, organisationId string, name string, isDefault bool, groups []string, roles []string) *UserResponseScanGroupsInner

NewUserResponseScanGroupsInner instantiates a new UserResponseScanGroupsInner 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

func NewUserResponseScanGroupsInnerWithDefaults

func NewUserResponseScanGroupsInnerWithDefaults() *UserResponseScanGroupsInner

NewUserResponseScanGroupsInnerWithDefaults instantiates a new UserResponseScanGroupsInner 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

func (*UserResponseScanGroupsInner) GetGroups

func (o *UserResponseScanGroupsInner) GetGroups() []string

GetGroups returns the Groups field value

func (*UserResponseScanGroupsInner) GetGroupsOk

func (o *UserResponseScanGroupsInner) GetGroupsOk() ([]string, bool)

GetGroupsOk returns a tuple with the Groups field value and a boolean to check if the value has been set.

func (*UserResponseScanGroupsInner) GetId

GetId returns the Id field value

func (*UserResponseScanGroupsInner) GetIdOk

func (o *UserResponseScanGroupsInner) GetIdOk() (*string, bool)

GetIdOk returns a tuple with the Id field value and a boolean to check if the value has been set.

func (*UserResponseScanGroupsInner) GetIsDefault

func (o *UserResponseScanGroupsInner) GetIsDefault() bool

GetIsDefault returns the IsDefault field value

func (*UserResponseScanGroupsInner) GetIsDefaultOk

func (o *UserResponseScanGroupsInner) GetIsDefaultOk() (*bool, bool)

GetIsDefaultOk returns a tuple with the IsDefault field value and a boolean to check if the value has been set.

func (*UserResponseScanGroupsInner) GetName

func (o *UserResponseScanGroupsInner) GetName() string

GetName returns the Name field value

func (*UserResponseScanGroupsInner) GetNameOk

func (o *UserResponseScanGroupsInner) GetNameOk() (*string, bool)

GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.

func (*UserResponseScanGroupsInner) GetOrganisationId

func (o *UserResponseScanGroupsInner) GetOrganisationId() string

GetOrganisationId returns the OrganisationId field value

func (*UserResponseScanGroupsInner) GetOrganisationIdOk

func (o *UserResponseScanGroupsInner) GetOrganisationIdOk() (*string, bool)

GetOrganisationIdOk returns a tuple with the OrganisationId field value and a boolean to check if the value has been set.

func (*UserResponseScanGroupsInner) GetRoles

func (o *UserResponseScanGroupsInner) GetRoles() []string

GetRoles returns the Roles field value

func (*UserResponseScanGroupsInner) GetRolesOk

func (o *UserResponseScanGroupsInner) GetRolesOk() ([]string, bool)

GetRolesOk returns a tuple with the Roles field value and a boolean to check if the value has been set.

func (UserResponseScanGroupsInner) MarshalJSON

func (o UserResponseScanGroupsInner) MarshalJSON() ([]byte, error)

func (*UserResponseScanGroupsInner) SetGroups

func (o *UserResponseScanGroupsInner) SetGroups(v []string)

SetGroups sets field value

func (*UserResponseScanGroupsInner) SetId

func (o *UserResponseScanGroupsInner) SetId(v string)

SetId sets field value

func (*UserResponseScanGroupsInner) SetIsDefault

func (o *UserResponseScanGroupsInner) SetIsDefault(v bool)

SetIsDefault sets field value

func (*UserResponseScanGroupsInner) SetName

func (o *UserResponseScanGroupsInner) SetName(v string)

SetName sets field value

func (*UserResponseScanGroupsInner) SetOrganisationId

func (o *UserResponseScanGroupsInner) SetOrganisationId(v string)

SetOrganisationId sets field value

func (*UserResponseScanGroupsInner) SetRoles

func (o *UserResponseScanGroupsInner) SetRoles(v []string)

SetRoles sets field value

func (UserResponseScanGroupsInner) ToMap

func (o UserResponseScanGroupsInner) ToMap() (map[string]interface{}, error)

func (*UserResponseScanGroupsInner) UnmarshalJSON

func (o *UserResponseScanGroupsInner) UnmarshalJSON(data []byte) (err error)

type UserRowResponse

type UserRowResponse struct {
	Id                    *string                `json:"id,omitempty"`
	Email                 *string                `json:"email,omitempty"`
	Name                  *string                `json:"name,omitempty"`
	FamilyName            *string                `json:"family_name,omitempty"`
	GivenName             *string                `json:"given_name,omitempty"`
	LastIp                *string                `json:"last_ip,omitempty"`
	Created               *time.Time             `json:"created,omitempty"`
	Updated               *time.Time             `json:"updated,omitempty"`
	SsoSubject            *string                `json:"sso_subject,omitempty"`
	Attributes            map[string]interface{} `json:"attributes,omitempty"`
	Enabled               *bool                  `json:"enabled,omitempty"`
	DefaultOrganisationId *string                `json:"default_organisation_id,omitempty"`
	// User has enabled Time-based one-time passwords (TOTP)
	TotpEnabled          *bool `json:"totp_enabled,omitempty"`
	AdditionalProperties map[string]interface{}
}

UserRowResponse struct for UserRowResponse

func NewUserRowResponse

func NewUserRowResponse() *UserRowResponse

NewUserRowResponse instantiates a new UserRowResponse 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

func NewUserRowResponseWithDefaults

func NewUserRowResponseWithDefaults() *UserRowResponse

NewUserRowResponseWithDefaults instantiates a new UserRowResponse 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

func (*UserRowResponse) GetAttributes

func (o *UserRowResponse) GetAttributes() map[string]interface{}

GetAttributes returns the Attributes field value if set, zero value otherwise.

func (*UserRowResponse) GetAttributesOk

func (o *UserRowResponse) GetAttributesOk() (map[string]interface{}, bool)

GetAttributesOk returns a tuple with the Attributes field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UserRowResponse) GetCreated

func (o *UserRowResponse) GetCreated() time.Time

GetCreated returns the Created field value if set, zero value otherwise.

func (*UserRowResponse) GetCreatedOk

func (o *UserRowResponse) GetCreatedOk() (*time.Time, bool)

GetCreatedOk returns a tuple with the Created field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UserRowResponse) GetDefaultOrganisationId

func (o *UserRowResponse) GetDefaultOrganisationId() string

GetDefaultOrganisationId returns the DefaultOrganisationId field value if set, zero value otherwise.

func (*UserRowResponse) GetDefaultOrganisationIdOk

func (o *UserRowResponse) GetDefaultOrganisationIdOk() (*string, bool)

GetDefaultOrganisationIdOk returns a tuple with the DefaultOrganisationId field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UserRowResponse) GetEmail

func (o *UserRowResponse) GetEmail() string

GetEmail returns the Email field value if set, zero value otherwise.

func (*UserRowResponse) GetEmailOk

func (o *UserRowResponse) GetEmailOk() (*string, bool)

GetEmailOk returns a tuple with the Email field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UserRowResponse) GetEnabled

func (o *UserRowResponse) GetEnabled() bool

GetEnabled returns the Enabled field value if set, zero value otherwise.

func (*UserRowResponse) GetEnabledOk

func (o *UserRowResponse) GetEnabledOk() (*bool, bool)

GetEnabledOk returns a tuple with the Enabled field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UserRowResponse) GetFamilyName

func (o *UserRowResponse) GetFamilyName() string

GetFamilyName returns the FamilyName field value if set, zero value otherwise.

func (*UserRowResponse) GetFamilyNameOk

func (o *UserRowResponse) GetFamilyNameOk() (*string, bool)

GetFamilyNameOk returns a tuple with the FamilyName field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UserRowResponse) GetGivenName

func (o *UserRowResponse) GetGivenName() string

GetGivenName returns the GivenName field value if set, zero value otherwise.

func (*UserRowResponse) GetGivenNameOk

func (o *UserRowResponse) GetGivenNameOk() (*string, bool)

GetGivenNameOk returns a tuple with the GivenName field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UserRowResponse) GetId

func (o *UserRowResponse) GetId() string

GetId returns the Id field value if set, zero value otherwise.

func (*UserRowResponse) GetIdOk

func (o *UserRowResponse) GetIdOk() (*string, bool)

GetIdOk returns a tuple with the Id field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UserRowResponse) GetLastIp

func (o *UserRowResponse) GetLastIp() string

GetLastIp returns the LastIp field value if set, zero value otherwise.

func (*UserRowResponse) GetLastIpOk

func (o *UserRowResponse) GetLastIpOk() (*string, bool)

GetLastIpOk returns a tuple with the LastIp field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UserRowResponse) GetName

func (o *UserRowResponse) GetName() string

GetName returns the Name field value if set, zero value otherwise.

func (*UserRowResponse) GetNameOk

func (o *UserRowResponse) GetNameOk() (*string, bool)

GetNameOk returns a tuple with the Name field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UserRowResponse) GetSsoSubject

func (o *UserRowResponse) GetSsoSubject() string

GetSsoSubject returns the SsoSubject field value if set, zero value otherwise.

func (*UserRowResponse) GetSsoSubjectOk

func (o *UserRowResponse) GetSsoSubjectOk() (*string, bool)

GetSsoSubjectOk returns a tuple with the SsoSubject field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UserRowResponse) GetTotpEnabled

func (o *UserRowResponse) GetTotpEnabled() bool

GetTotpEnabled returns the TotpEnabled field value if set, zero value otherwise.

func (*UserRowResponse) GetTotpEnabledOk

func (o *UserRowResponse) GetTotpEnabledOk() (*bool, bool)

GetTotpEnabledOk returns a tuple with the TotpEnabled field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UserRowResponse) GetUpdated

func (o *UserRowResponse) GetUpdated() time.Time

GetUpdated returns the Updated field value if set, zero value otherwise.

func (*UserRowResponse) GetUpdatedOk

func (o *UserRowResponse) GetUpdatedOk() (*time.Time, bool)

GetUpdatedOk returns a tuple with the Updated field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UserRowResponse) HasAttributes

func (o *UserRowResponse) HasAttributes() bool

HasAttributes returns a boolean if a field has been set.

func (*UserRowResponse) HasCreated

func (o *UserRowResponse) HasCreated() bool

HasCreated returns a boolean if a field has been set.

func (*UserRowResponse) HasDefaultOrganisationId

func (o *UserRowResponse) HasDefaultOrganisationId() bool

HasDefaultOrganisationId returns a boolean if a field has been set.

func (*UserRowResponse) HasEmail

func (o *UserRowResponse) HasEmail() bool

HasEmail returns a boolean if a field has been set.

func (*UserRowResponse) HasEnabled

func (o *UserRowResponse) HasEnabled() bool

HasEnabled returns a boolean if a field has been set.

func (*UserRowResponse) HasFamilyName

func (o *UserRowResponse) HasFamilyName() bool

HasFamilyName returns a boolean if a field has been set.

func (*UserRowResponse) HasGivenName

func (o *UserRowResponse) HasGivenName() bool

HasGivenName returns a boolean if a field has been set.

func (*UserRowResponse) HasId

func (o *UserRowResponse) HasId() bool

HasId returns a boolean if a field has been set.

func (*UserRowResponse) HasLastIp

func (o *UserRowResponse) HasLastIp() bool

HasLastIp returns a boolean if a field has been set.

func (*UserRowResponse) HasName

func (o *UserRowResponse) HasName() bool

HasName returns a boolean if a field has been set.

func (*UserRowResponse) HasSsoSubject

func (o *UserRowResponse) HasSsoSubject() bool

HasSsoSubject returns a boolean if a field has been set.

func (*UserRowResponse) HasTotpEnabled

func (o *UserRowResponse) HasTotpEnabled() bool

HasTotpEnabled returns a boolean if a field has been set.

func (*UserRowResponse) HasUpdated

func (o *UserRowResponse) HasUpdated() bool

HasUpdated returns a boolean if a field has been set.

func (UserRowResponse) MarshalJSON

func (o UserRowResponse) MarshalJSON() ([]byte, error)

func (*UserRowResponse) SetAttributes

func (o *UserRowResponse) SetAttributes(v map[string]interface{})

SetAttributes gets a reference to the given map[string]interface{} and assigns it to the Attributes field.

func (*UserRowResponse) SetCreated

func (o *UserRowResponse) SetCreated(v time.Time)

SetCreated gets a reference to the given time.Time and assigns it to the Created field.

func (*UserRowResponse) SetDefaultOrganisationId

func (o *UserRowResponse) SetDefaultOrganisationId(v string)

SetDefaultOrganisationId gets a reference to the given string and assigns it to the DefaultOrganisationId field.

func (*UserRowResponse) SetEmail

func (o *UserRowResponse) SetEmail(v string)

SetEmail gets a reference to the given string and assigns it to the Email field.

func (*UserRowResponse) SetEnabled

func (o *UserRowResponse) SetEnabled(v bool)

SetEnabled gets a reference to the given bool and assigns it to the Enabled field.

func (*UserRowResponse) SetFamilyName

func (o *UserRowResponse) SetFamilyName(v string)

SetFamilyName gets a reference to the given string and assigns it to the FamilyName field.

func (*UserRowResponse) SetGivenName

func (o *UserRowResponse) SetGivenName(v string)

SetGivenName gets a reference to the given string and assigns it to the GivenName field.

func (*UserRowResponse) SetId

func (o *UserRowResponse) SetId(v string)

SetId gets a reference to the given string and assigns it to the Id field.

func (*UserRowResponse) SetLastIp

func (o *UserRowResponse) SetLastIp(v string)

SetLastIp gets a reference to the given string and assigns it to the LastIp field.

func (*UserRowResponse) SetName

func (o *UserRowResponse) SetName(v string)

SetName gets a reference to the given string and assigns it to the Name field.

func (*UserRowResponse) SetSsoSubject

func (o *UserRowResponse) SetSsoSubject(v string)

SetSsoSubject gets a reference to the given string and assigns it to the SsoSubject field.

func (*UserRowResponse) SetTotpEnabled

func (o *UserRowResponse) SetTotpEnabled(v bool)

SetTotpEnabled gets a reference to the given bool and assigns it to the TotpEnabled field.

func (*UserRowResponse) SetUpdated

func (o *UserRowResponse) SetUpdated(v time.Time)

SetUpdated gets a reference to the given time.Time and assigns it to the Updated field.

func (UserRowResponse) ToMap

func (o UserRowResponse) ToMap() (map[string]interface{}, error)

func (*UserRowResponse) UnmarshalJSON

func (o *UserRowResponse) UnmarshalJSON(data []byte) (err error)

type UsersAPIService

type UsersAPIService service

UsersAPIService UsersAPI service

func (*UsersAPIService) GetUsers

GetUsers Get the users in an organisation or scan group

Required role: `organisations:read` or `scan_groups:read`

Either an Organisation ID or ScanGroup ID must be specified.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return ApiGetUsersRequest

func (*UsersAPIService) GetUsersExecute

func (a *UsersAPIService) GetUsersExecute(r ApiGetUsersRequest) ([]UserResponse, *http.Response, error)

Execute executes the request

@return []UserResponse

func (*UsersAPIService) UpdateUserPreferences

func (a *UsersAPIService) UpdateUserPreferences(ctx context.Context) ApiUpdateUserPreferencesRequest

UpdateUserPreferences Update preferences for the user logged in to the current session

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return ApiUpdateUserPreferencesRequest

func (*UsersAPIService) UpdateUserPreferencesExecute

func (a *UsersAPIService) UpdateUserPreferencesExecute(r ApiUpdateUserPreferencesRequest) (*UserRowResponse, *http.Response, error)

Execute executes the request

@return UserRowResponse

func (*UsersAPIService) UsersApiKeyPost

func (a *UsersAPIService) UsersApiKeyPost(ctx context.Context) ApiUsersApiKeyPostRequest

UsersApiKeyPost Create an API key for the user logged in to the current session

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return ApiUsersApiKeyPostRequest

func (*UsersAPIService) UsersApiKeyPostExecute

Execute executes the request

@return UsersCreateAPIKeyResponse

type UsersCreateAPIKeyRequest

type UsersCreateAPIKeyRequest struct {
	// API Key description
	Description string `json:"description"`
	// Validity duration (Valid time units include \"s\", \"m\", \"h\")
	Lifetime             string `json:"lifetime"`
	AdditionalProperties map[string]interface{}
}

UsersCreateAPIKeyRequest struct for UsersCreateAPIKeyRequest

func NewUsersCreateAPIKeyRequest

func NewUsersCreateAPIKeyRequest(description string, lifetime string) *UsersCreateAPIKeyRequest

NewUsersCreateAPIKeyRequest instantiates a new UsersCreateAPIKeyRequest 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

func NewUsersCreateAPIKeyRequestWithDefaults

func NewUsersCreateAPIKeyRequestWithDefaults() *UsersCreateAPIKeyRequest

NewUsersCreateAPIKeyRequestWithDefaults instantiates a new UsersCreateAPIKeyRequest 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

func (*UsersCreateAPIKeyRequest) GetDescription

func (o *UsersCreateAPIKeyRequest) GetDescription() string

GetDescription returns the Description field value

func (*UsersCreateAPIKeyRequest) GetDescriptionOk

func (o *UsersCreateAPIKeyRequest) GetDescriptionOk() (*string, bool)

GetDescriptionOk returns a tuple with the Description field value and a boolean to check if the value has been set.

func (*UsersCreateAPIKeyRequest) GetLifetime

func (o *UsersCreateAPIKeyRequest) GetLifetime() string

GetLifetime returns the Lifetime field value

func (*UsersCreateAPIKeyRequest) GetLifetimeOk

func (o *UsersCreateAPIKeyRequest) GetLifetimeOk() (*string, bool)

GetLifetimeOk returns a tuple with the Lifetime field value and a boolean to check if the value has been set.

func (UsersCreateAPIKeyRequest) MarshalJSON

func (o UsersCreateAPIKeyRequest) MarshalJSON() ([]byte, error)

func (*UsersCreateAPIKeyRequest) SetDescription

func (o *UsersCreateAPIKeyRequest) SetDescription(v string)

SetDescription sets field value

func (*UsersCreateAPIKeyRequest) SetLifetime

func (o *UsersCreateAPIKeyRequest) SetLifetime(v string)

SetLifetime sets field value

func (UsersCreateAPIKeyRequest) ToMap

func (o UsersCreateAPIKeyRequest) ToMap() (map[string]interface{}, error)

func (*UsersCreateAPIKeyRequest) UnmarshalJSON

func (o *UsersCreateAPIKeyRequest) UnmarshalJSON(data []byte) (err error)

type UsersCreateAPIKeyResponse

type UsersCreateAPIKeyResponse struct {
	// API Key
	ApiKey string `json:"api_key"`
	// API Key description
	Description string `json:"description"`
	// Validity duration
	Lifetime             *string `json:"lifetime,omitempty"`
	AdditionalProperties map[string]interface{}
}

UsersCreateAPIKeyResponse struct for UsersCreateAPIKeyResponse

func NewUsersCreateAPIKeyResponse

func NewUsersCreateAPIKeyResponse(apiKey string, description string) *UsersCreateAPIKeyResponse

NewUsersCreateAPIKeyResponse instantiates a new UsersCreateAPIKeyResponse 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

func NewUsersCreateAPIKeyResponseWithDefaults

func NewUsersCreateAPIKeyResponseWithDefaults() *UsersCreateAPIKeyResponse

NewUsersCreateAPIKeyResponseWithDefaults instantiates a new UsersCreateAPIKeyResponse 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

func (*UsersCreateAPIKeyResponse) GetApiKey

func (o *UsersCreateAPIKeyResponse) GetApiKey() string

GetApiKey returns the ApiKey field value

func (*UsersCreateAPIKeyResponse) GetApiKeyOk

func (o *UsersCreateAPIKeyResponse) GetApiKeyOk() (*string, bool)

GetApiKeyOk returns a tuple with the ApiKey field value and a boolean to check if the value has been set.

func (*UsersCreateAPIKeyResponse) GetDescription

func (o *UsersCreateAPIKeyResponse) GetDescription() string

GetDescription returns the Description field value

func (*UsersCreateAPIKeyResponse) GetDescriptionOk

func (o *UsersCreateAPIKeyResponse) GetDescriptionOk() (*string, bool)

GetDescriptionOk returns a tuple with the Description field value and a boolean to check if the value has been set.

func (*UsersCreateAPIKeyResponse) GetLifetime

func (o *UsersCreateAPIKeyResponse) GetLifetime() string

GetLifetime returns the Lifetime field value if set, zero value otherwise.

func (*UsersCreateAPIKeyResponse) GetLifetimeOk

func (o *UsersCreateAPIKeyResponse) GetLifetimeOk() (*string, bool)

GetLifetimeOk returns a tuple with the Lifetime field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UsersCreateAPIKeyResponse) HasLifetime

func (o *UsersCreateAPIKeyResponse) HasLifetime() bool

HasLifetime returns a boolean if a field has been set.

func (UsersCreateAPIKeyResponse) MarshalJSON

func (o UsersCreateAPIKeyResponse) MarshalJSON() ([]byte, error)

func (*UsersCreateAPIKeyResponse) SetApiKey

func (o *UsersCreateAPIKeyResponse) SetApiKey(v string)

SetApiKey sets field value

func (*UsersCreateAPIKeyResponse) SetDescription

func (o *UsersCreateAPIKeyResponse) SetDescription(v string)

SetDescription sets field value

func (*UsersCreateAPIKeyResponse) SetLifetime

func (o *UsersCreateAPIKeyResponse) SetLifetime(v string)

SetLifetime gets a reference to the given string and assigns it to the Lifetime field.

func (UsersCreateAPIKeyResponse) ToMap

func (o UsersCreateAPIKeyResponse) ToMap() (map[string]interface{}, error)

func (*UsersCreateAPIKeyResponse) UnmarshalJSON

func (o *UsersCreateAPIKeyResponse) UnmarshalJSON(data []byte) (err error)

Source Files

Jump to

Keyboard shortcuts

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