Skip to content

Latest commit

 

History

History
437 lines (234 loc) · 11.2 KB

QueryOutput.md

File metadata and controls

437 lines (234 loc) · 11.2 KB

QueryOutput

Properties

Name Type Description Notes
Name string
Type Pointer to string [optional] [default to "query"]
Description Pointer to string [optional] [default to ""]
Created Pointer to time.Time [optional]
Modified Pointer to time.Time [optional]
ValidFrom Pointer to time.Time [optional]
ValidUntil Pointer to time.Time [optional]
Pattern string
Location Pointer to string [optional] [default to ""]
Diamond DiamondModel
KillChainPhases Pointer to []string [optional] [default to []]
RelevantTags Pointer to []string [optional] [default to []]
QueryType string
TargetSystems Pointer to []string [optional] [default to []]
Id string [readonly]
Tags map[string]TagRelationshipOutput [readonly]
RootType string [readonly]

Methods

NewQueryOutput

func NewQueryOutput(name string, pattern string, diamond DiamondModel, queryType string, id string, tags map[string]TagRelationshipOutput, rootType string, ) *QueryOutput

NewQueryOutput instantiates a new QueryOutput 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

NewQueryOutputWithDefaults

func NewQueryOutputWithDefaults() *QueryOutput

NewQueryOutputWithDefaults instantiates a new QueryOutput 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

GetName

func (o *QueryOutput) GetName() string

GetName returns the Name field if non-nil, zero value otherwise.

GetNameOk

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

GetNameOk returns a tuple with the Name field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetName

func (o *QueryOutput) SetName(v string)

SetName sets Name field to given value.

GetType

func (o *QueryOutput) GetType() string

GetType returns the Type field if non-nil, zero value otherwise.

GetTypeOk

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

GetTypeOk returns a tuple with the Type field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetType

func (o *QueryOutput) SetType(v string)

SetType sets Type field to given value.

HasType

func (o *QueryOutput) HasType() bool

HasType returns a boolean if a field has been set.

GetDescription

func (o *QueryOutput) GetDescription() string

GetDescription returns the Description field if non-nil, zero value otherwise.

GetDescriptionOk

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

GetDescriptionOk returns a tuple with the Description field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetDescription

func (o *QueryOutput) SetDescription(v string)

SetDescription sets Description field to given value.

HasDescription

func (o *QueryOutput) HasDescription() bool

HasDescription returns a boolean if a field has been set.

GetCreated

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

GetCreated returns the Created field if non-nil, zero value otherwise.

GetCreatedOk

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

GetCreatedOk returns a tuple with the Created field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetCreated

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

SetCreated sets Created field to given value.

HasCreated

func (o *QueryOutput) HasCreated() bool

HasCreated returns a boolean if a field has been set.

GetModified

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

GetModified returns the Modified field if non-nil, zero value otherwise.

GetModifiedOk

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

GetModifiedOk returns a tuple with the Modified field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetModified

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

SetModified sets Modified field to given value.

HasModified

func (o *QueryOutput) HasModified() bool

HasModified returns a boolean if a field has been set.

GetValidFrom

func (o *QueryOutput) GetValidFrom() time.Time

GetValidFrom returns the ValidFrom field if non-nil, zero value otherwise.

GetValidFromOk

func (o *QueryOutput) GetValidFromOk() (*time.Time, bool)

GetValidFromOk returns a tuple with the ValidFrom field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetValidFrom

func (o *QueryOutput) SetValidFrom(v time.Time)

SetValidFrom sets ValidFrom field to given value.

HasValidFrom

func (o *QueryOutput) HasValidFrom() bool

HasValidFrom returns a boolean if a field has been set.

GetValidUntil

func (o *QueryOutput) GetValidUntil() time.Time

GetValidUntil returns the ValidUntil field if non-nil, zero value otherwise.

GetValidUntilOk

func (o *QueryOutput) GetValidUntilOk() (*time.Time, bool)

GetValidUntilOk returns a tuple with the ValidUntil field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetValidUntil

func (o *QueryOutput) SetValidUntil(v time.Time)

SetValidUntil sets ValidUntil field to given value.

HasValidUntil

func (o *QueryOutput) HasValidUntil() bool

HasValidUntil returns a boolean if a field has been set.

GetPattern

func (o *QueryOutput) GetPattern() string

GetPattern returns the Pattern field if non-nil, zero value otherwise.

GetPatternOk

func (o *QueryOutput) GetPatternOk() (*string, bool)

GetPatternOk returns a tuple with the Pattern field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetPattern

func (o *QueryOutput) SetPattern(v string)

SetPattern sets Pattern field to given value.

GetLocation

func (o *QueryOutput) GetLocation() string

GetLocation returns the Location field if non-nil, zero value otherwise.

GetLocationOk

func (o *QueryOutput) GetLocationOk() (*string, bool)

GetLocationOk returns a tuple with the Location field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetLocation

func (o *QueryOutput) SetLocation(v string)

SetLocation sets Location field to given value.

HasLocation

func (o *QueryOutput) HasLocation() bool

HasLocation returns a boolean if a field has been set.

GetDiamond

func (o *QueryOutput) GetDiamond() DiamondModel

GetDiamond returns the Diamond field if non-nil, zero value otherwise.

GetDiamondOk

func (o *QueryOutput) GetDiamondOk() (*DiamondModel, bool)

GetDiamondOk returns a tuple with the Diamond field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetDiamond

func (o *QueryOutput) SetDiamond(v DiamondModel)

SetDiamond sets Diamond field to given value.

GetKillChainPhases

func (o *QueryOutput) GetKillChainPhases() []string

GetKillChainPhases returns the KillChainPhases field if non-nil, zero value otherwise.

GetKillChainPhasesOk

func (o *QueryOutput) GetKillChainPhasesOk() (*[]string, bool)

GetKillChainPhasesOk returns a tuple with the KillChainPhases field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetKillChainPhases

func (o *QueryOutput) SetKillChainPhases(v []string)

SetKillChainPhases sets KillChainPhases field to given value.

HasKillChainPhases

func (o *QueryOutput) HasKillChainPhases() bool

HasKillChainPhases returns a boolean if a field has been set.

GetRelevantTags

func (o *QueryOutput) GetRelevantTags() []string

GetRelevantTags returns the RelevantTags field if non-nil, zero value otherwise.

GetRelevantTagsOk

func (o *QueryOutput) GetRelevantTagsOk() (*[]string, bool)

GetRelevantTagsOk returns a tuple with the RelevantTags field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetRelevantTags

func (o *QueryOutput) SetRelevantTags(v []string)

SetRelevantTags sets RelevantTags field to given value.

HasRelevantTags

func (o *QueryOutput) HasRelevantTags() bool

HasRelevantTags returns a boolean if a field has been set.

GetQueryType

func (o *QueryOutput) GetQueryType() string

GetQueryType returns the QueryType field if non-nil, zero value otherwise.

GetQueryTypeOk

func (o *QueryOutput) GetQueryTypeOk() (*string, bool)

GetQueryTypeOk returns a tuple with the QueryType field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetQueryType

func (o *QueryOutput) SetQueryType(v string)

SetQueryType sets QueryType field to given value.

GetTargetSystems

func (o *QueryOutput) GetTargetSystems() []string

GetTargetSystems returns the TargetSystems field if non-nil, zero value otherwise.

GetTargetSystemsOk

func (o *QueryOutput) GetTargetSystemsOk() (*[]string, bool)

GetTargetSystemsOk returns a tuple with the TargetSystems field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetTargetSystems

func (o *QueryOutput) SetTargetSystems(v []string)

SetTargetSystems sets TargetSystems field to given value.

HasTargetSystems

func (o *QueryOutput) HasTargetSystems() bool

HasTargetSystems returns a boolean if a field has been set.

GetId

func (o *QueryOutput) GetId() string

GetId returns the Id field if non-nil, zero value otherwise.

GetIdOk

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

GetIdOk returns a tuple with the Id field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetId

func (o *QueryOutput) SetId(v string)

SetId sets Id field to given value.

GetTags

func (o *QueryOutput) GetTags() map[string]TagRelationshipOutput

GetTags returns the Tags field if non-nil, zero value otherwise.

GetTagsOk

func (o *QueryOutput) GetTagsOk() (*map[string]TagRelationshipOutput, bool)

GetTagsOk returns a tuple with the Tags field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetTags

func (o *QueryOutput) SetTags(v map[string]TagRelationshipOutput)

SetTags sets Tags field to given value.

GetRootType

func (o *QueryOutput) GetRootType() string

GetRootType returns the RootType field if non-nil, zero value otherwise.

GetRootTypeOk

func (o *QueryOutput) GetRootTypeOk() (*string, bool)

GetRootTypeOk returns a tuple with the RootType field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetRootType

func (o *QueryOutput) SetRootType(v string)

SetRootType sets RootType field to given value.

[Back to Model list] [Back to API list] [Back to README]