Name | Type | Description | Notes |
---|---|---|---|
Type | string | ||
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] | |
Id | string | [readonly] | |
Tags | map[string]TagRelationshipOutput | [readonly] | |
RootType | string | [readonly] | |
RelatedObservablesCount | int32 | [readonly] |
func NewEntity(type_ string, name string, id string, tags map[string]TagRelationshipOutput, rootType string, relatedObservablesCount int32, ) *Entity
NewEntity instantiates a new Entity 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 NewEntityWithDefaults() *Entity
NewEntityWithDefaults instantiates a new Entity 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 *Entity) GetType() string
GetType returns the Type field if non-nil, zero value otherwise.
func (o *Entity) 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 *Entity) SetType(v string)
SetType sets Type field to given value.
func (o *Entity) GetName() string
GetName returns the Name field if non-nil, zero value otherwise.
func (o *Entity) 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 *Entity) SetName(v string)
SetName sets Name field to given value.
func (o *Entity) GetDescription() string
GetDescription returns the Description field if non-nil, zero value otherwise.
func (o *Entity) 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 *Entity) SetDescription(v string)
SetDescription sets Description field to given value.
func (o *Entity) HasDescription() bool
HasDescription returns a boolean if a field has been set.
func (o *Entity) GetContext() []map[string]interface{}
GetContext returns the Context field if non-nil, zero value otherwise.
func (o *Entity) 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.
func (o *Entity) SetContext(v []map[string]interface{})
SetContext sets Context field to given value.
func (o *Entity) HasContext() bool
HasContext returns a boolean if a field has been set.
func (o *Entity) GetCreated() time.Time
GetCreated returns the Created field if non-nil, zero value otherwise.
func (o *Entity) 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 *Entity) SetCreated(v time.Time)
SetCreated sets Created field to given value.
func (o *Entity) HasCreated() bool
HasCreated returns a boolean if a field has been set.
func (o *Entity) GetModified() time.Time
GetModified returns the Modified field if non-nil, zero value otherwise.
func (o *Entity) 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 *Entity) SetModified(v time.Time)
SetModified sets Modified field to given value.
func (o *Entity) HasModified() bool
HasModified returns a boolean if a field has been set.
func (o *Entity) GetId() string
GetId returns the Id field if non-nil, zero value otherwise.
func (o *Entity) 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 *Entity) SetId(v string)
SetId sets Id field to given value.
func (o *Entity) GetTags() map[string]TagRelationshipOutput
GetTags returns the Tags field if non-nil, zero value otherwise.
func (o *Entity) 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 *Entity) SetTags(v map[string]TagRelationshipOutput)
SetTags sets Tags field to given value.
func (o *Entity) GetRootType() string
GetRootType returns the RootType field if non-nil, zero value otherwise.
func (o *Entity) 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 *Entity) SetRootType(v string)
SetRootType sets RootType field to given value.
func (o *Entity) GetRelatedObservablesCount() int32
GetRelatedObservablesCount returns the RelatedObservablesCount field if non-nil, zero value otherwise.
func (o *Entity) GetRelatedObservablesCountOk() (*int32, bool)
GetRelatedObservablesCountOk returns a tuple with the RelatedObservablesCount field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Entity) SetRelatedObservablesCount(v int32)
SetRelatedObservablesCount sets RelatedObservablesCount field to given value.