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] |
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
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
func (o *QueryOutput) GetName() string
GetName returns the Name field if non-nil, zero value otherwise.
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.
func (o *QueryOutput) SetName(v string)
SetName sets Name field to given value.
func (o *QueryOutput) GetType() string
GetType returns the Type field if non-nil, zero value otherwise.
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.
func (o *QueryOutput) SetType(v string)
SetType sets Type field to given value.
func (o *QueryOutput) HasType() bool
HasType returns a boolean if a field has been set.
func (o *QueryOutput) GetDescription() string
GetDescription returns the Description field if non-nil, zero value otherwise.
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.
func (o *QueryOutput) SetDescription(v string)
SetDescription sets Description field to given value.
func (o *QueryOutput) HasDescription() bool
HasDescription returns a boolean if a field has been set.
func (o *QueryOutput) GetCreated() time.Time
GetCreated returns the Created field if non-nil, zero value otherwise.
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.
func (o *QueryOutput) SetCreated(v time.Time)
SetCreated sets Created field to given value.
func (o *QueryOutput) HasCreated() bool
HasCreated returns a boolean if a field has been set.
func (o *QueryOutput) GetModified() time.Time
GetModified returns the Modified field if non-nil, zero value otherwise.
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.
func (o *QueryOutput) SetModified(v time.Time)
SetModified sets Modified field to given value.
func (o *QueryOutput) HasModified() bool
HasModified returns a boolean if a field has been set.
func (o *QueryOutput) GetValidFrom() time.Time
GetValidFrom returns the ValidFrom field if non-nil, zero value otherwise.
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.
func (o *QueryOutput) SetValidFrom(v time.Time)
SetValidFrom sets ValidFrom field to given value.
func (o *QueryOutput) HasValidFrom() bool
HasValidFrom returns a boolean if a field has been set.
func (o *QueryOutput) GetValidUntil() time.Time
GetValidUntil returns the ValidUntil field if non-nil, zero value otherwise.
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.
func (o *QueryOutput) SetValidUntil(v time.Time)
SetValidUntil sets ValidUntil field to given value.
func (o *QueryOutput) HasValidUntil() bool
HasValidUntil returns a boolean if a field has been set.
func (o *QueryOutput) GetPattern() string
GetPattern returns the Pattern field if non-nil, zero value otherwise.
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.
func (o *QueryOutput) SetPattern(v string)
SetPattern sets Pattern field to given value.
func (o *QueryOutput) GetLocation() string
GetLocation returns the Location field if non-nil, zero value otherwise.
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.
func (o *QueryOutput) SetLocation(v string)
SetLocation sets Location field to given value.
func (o *QueryOutput) HasLocation() bool
HasLocation returns a boolean if a field has been set.
func (o *QueryOutput) GetDiamond() DiamondModel
GetDiamond returns the Diamond field if non-nil, zero value otherwise.
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.
func (o *QueryOutput) SetDiamond(v DiamondModel)
SetDiamond sets Diamond field to given value.
func (o *QueryOutput) GetKillChainPhases() []string
GetKillChainPhases returns the KillChainPhases field if non-nil, zero value otherwise.
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.
func (o *QueryOutput) SetKillChainPhases(v []string)
SetKillChainPhases sets KillChainPhases field to given value.
func (o *QueryOutput) HasKillChainPhases() bool
HasKillChainPhases returns a boolean if a field has been set.
func (o *QueryOutput) GetRelevantTags() []string
GetRelevantTags returns the RelevantTags field if non-nil, zero value otherwise.
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.
func (o *QueryOutput) SetRelevantTags(v []string)
SetRelevantTags sets RelevantTags field to given value.
func (o *QueryOutput) HasRelevantTags() bool
HasRelevantTags returns a boolean if a field has been set.
func (o *QueryOutput) GetQueryType() string
GetQueryType returns the QueryType field if non-nil, zero value otherwise.
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.
func (o *QueryOutput) SetQueryType(v string)
SetQueryType sets QueryType field to given value.
func (o *QueryOutput) GetTargetSystems() []string
GetTargetSystems returns the TargetSystems field if non-nil, zero value otherwise.
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.
func (o *QueryOutput) SetTargetSystems(v []string)
SetTargetSystems sets TargetSystems field to given value.
func (o *QueryOutput) HasTargetSystems() bool
HasTargetSystems returns a boolean if a field has been set.
func (o *QueryOutput) GetId() string
GetId returns the Id field if non-nil, zero value otherwise.
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.
func (o *QueryOutput) SetId(v string)
SetId sets Id field to given value.
func (o *QueryOutput) GetTags() map[string]TagRelationshipOutput
GetTags returns the Tags field if non-nil, zero value otherwise.
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.
func (o *QueryOutput) SetTags(v map[string]TagRelationshipOutput)
SetTags sets Tags field to given value.
func (o *QueryOutput) GetRootType() string
GetRootType returns the RootType field if non-nil, zero value otherwise.
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.
func (o *QueryOutput) SetRootType(v string)
SetRootType sets RootType field to given value.