Skip to content

Latest commit

 

History

History
285 lines (154 loc) · 7.52 KB

ThreatActorInput.md

File metadata and controls

285 lines (154 loc) · 7.52 KB

ThreatActorInput

Properties

Name Type Description Notes
Type Pointer to string [optional] [default to "threat-actor"]
Name string
Description Pointer to string [optional] [default to ""]
Context Pointer to []map[string]interface{} [optional] [default to []]
Created Pointer to time.Time [optional]
Modified Pointer to time.Time [optional]
ThreatActorTypes Pointer to []string [optional] [default to []]
Aliases Pointer to []string [optional] [default to []]
FirstSeen Pointer to time.Time [optional]
LastSeen Pointer to time.Time [optional]

Methods

NewThreatActorInput

func NewThreatActorInput(name string, ) *ThreatActorInput

NewThreatActorInput instantiates a new ThreatActorInput 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

NewThreatActorInputWithDefaults

func NewThreatActorInputWithDefaults() *ThreatActorInput

NewThreatActorInputWithDefaults instantiates a new ThreatActorInput 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

GetType

func (o *ThreatActorInput) GetType() string

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

GetTypeOk

func (o *ThreatActorInput) 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 *ThreatActorInput) SetType(v string)

SetType sets Type field to given value.

HasType

func (o *ThreatActorInput) HasType() bool

HasType returns a boolean if a field has been set.

GetName

func (o *ThreatActorInput) GetName() string

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

GetNameOk

func (o *ThreatActorInput) 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 *ThreatActorInput) SetName(v string)

SetName sets Name field to given value.

GetDescription

func (o *ThreatActorInput) GetDescription() string

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

GetDescriptionOk

func (o *ThreatActorInput) 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 *ThreatActorInput) SetDescription(v string)

SetDescription sets Description field to given value.

HasDescription

func (o *ThreatActorInput) HasDescription() bool

HasDescription returns a boolean if a field has been set.

GetContext

func (o *ThreatActorInput) GetContext() []map[string]interface{}

GetContext returns the Context field if non-nil, zero value otherwise.

GetContextOk

func (o *ThreatActorInput) GetContextOk() (*[]map[string]interface{}, bool)

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

SetContext

func (o *ThreatActorInput) SetContext(v []map[string]interface{})

SetContext sets Context field to given value.

HasContext

func (o *ThreatActorInput) HasContext() bool

HasContext returns a boolean if a field has been set.

GetCreated

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

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

GetCreatedOk

func (o *ThreatActorInput) 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 *ThreatActorInput) SetCreated(v time.Time)

SetCreated sets Created field to given value.

HasCreated

func (o *ThreatActorInput) HasCreated() bool

HasCreated returns a boolean if a field has been set.

GetModified

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

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

GetModifiedOk

func (o *ThreatActorInput) 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 *ThreatActorInput) SetModified(v time.Time)

SetModified sets Modified field to given value.

HasModified

func (o *ThreatActorInput) HasModified() bool

HasModified returns a boolean if a field has been set.

GetThreatActorTypes

func (o *ThreatActorInput) GetThreatActorTypes() []string

GetThreatActorTypes returns the ThreatActorTypes field if non-nil, zero value otherwise.

GetThreatActorTypesOk

func (o *ThreatActorInput) GetThreatActorTypesOk() (*[]string, bool)

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

SetThreatActorTypes

func (o *ThreatActorInput) SetThreatActorTypes(v []string)

SetThreatActorTypes sets ThreatActorTypes field to given value.

HasThreatActorTypes

func (o *ThreatActorInput) HasThreatActorTypes() bool

HasThreatActorTypes returns a boolean if a field has been set.

GetAliases

func (o *ThreatActorInput) GetAliases() []string

GetAliases returns the Aliases field if non-nil, zero value otherwise.

GetAliasesOk

func (o *ThreatActorInput) GetAliasesOk() (*[]string, bool)

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

SetAliases

func (o *ThreatActorInput) SetAliases(v []string)

SetAliases sets Aliases field to given value.

HasAliases

func (o *ThreatActorInput) HasAliases() bool

HasAliases returns a boolean if a field has been set.

GetFirstSeen

func (o *ThreatActorInput) GetFirstSeen() time.Time

GetFirstSeen returns the FirstSeen field if non-nil, zero value otherwise.

GetFirstSeenOk

func (o *ThreatActorInput) GetFirstSeenOk() (*time.Time, bool)

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

SetFirstSeen

func (o *ThreatActorInput) SetFirstSeen(v time.Time)

SetFirstSeen sets FirstSeen field to given value.

HasFirstSeen

func (o *ThreatActorInput) HasFirstSeen() bool

HasFirstSeen returns a boolean if a field has been set.

GetLastSeen

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

GetLastSeen returns the LastSeen field if non-nil, zero value otherwise.

GetLastSeenOk

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

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

SetLastSeen

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

SetLastSeen sets LastSeen field to given value.

HasLastSeen

func (o *ThreatActorInput) HasLastSeen() bool

HasLastSeen returns a boolean if a field has been set.

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