Name | Type | Description | Notes |
---|---|---|---|
Value | string | ||
Type | Pointer to string | [optional] [default to "hostname"] | |
Created | Pointer to time.Time | [optional] | |
Context | Pointer to []map[string]interface{} | [optional] [default to []] | |
LastAnalysis | Pointer to map[string]time.Time | [optional] [default to {}] | |
Id | string | [readonly] | |
Tags | map[string]TagRelationshipOutput | [readonly] | |
RootType | string | [readonly] |
func NewHostnameOutput(value string, id string, tags map[string]TagRelationshipOutput, rootType string, ) *HostnameOutput
NewHostnameOutput instantiates a new HostnameOutput 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 NewHostnameOutputWithDefaults() *HostnameOutput
NewHostnameOutputWithDefaults instantiates a new HostnameOutput 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 *HostnameOutput) GetValue() string
GetValue returns the Value field if non-nil, zero value otherwise.
func (o *HostnameOutput) GetValueOk() (*string, bool)
GetValueOk returns a tuple with the Value field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *HostnameOutput) SetValue(v string)
SetValue sets Value field to given value.
func (o *HostnameOutput) GetType() string
GetType returns the Type field if non-nil, zero value otherwise.
func (o *HostnameOutput) 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 *HostnameOutput) SetType(v string)
SetType sets Type field to given value.
func (o *HostnameOutput) HasType() bool
HasType returns a boolean if a field has been set.
func (o *HostnameOutput) GetCreated() time.Time
GetCreated returns the Created field if non-nil, zero value otherwise.
func (o *HostnameOutput) 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 *HostnameOutput) SetCreated(v time.Time)
SetCreated sets Created field to given value.
func (o *HostnameOutput) HasCreated() bool
HasCreated returns a boolean if a field has been set.
func (o *HostnameOutput) GetContext() []map[string]interface{}
GetContext returns the Context field if non-nil, zero value otherwise.
func (o *HostnameOutput) 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 *HostnameOutput) SetContext(v []map[string]interface{})
SetContext sets Context field to given value.
func (o *HostnameOutput) HasContext() bool
HasContext returns a boolean if a field has been set.
func (o *HostnameOutput) GetLastAnalysis() map[string]time.Time
GetLastAnalysis returns the LastAnalysis field if non-nil, zero value otherwise.
func (o *HostnameOutput) GetLastAnalysisOk() (*map[string]time.Time, bool)
GetLastAnalysisOk returns a tuple with the LastAnalysis field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *HostnameOutput) SetLastAnalysis(v map[string]time.Time)
SetLastAnalysis sets LastAnalysis field to given value.
func (o *HostnameOutput) HasLastAnalysis() bool
HasLastAnalysis returns a boolean if a field has been set.
func (o *HostnameOutput) GetId() string
GetId returns the Id field if non-nil, zero value otherwise.
func (o *HostnameOutput) 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 *HostnameOutput) SetId(v string)
SetId sets Id field to given value.
func (o *HostnameOutput) GetTags() map[string]TagRelationshipOutput
GetTags returns the Tags field if non-nil, zero value otherwise.
func (o *HostnameOutput) 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 *HostnameOutput) SetTags(v map[string]TagRelationshipOutput)
SetTags sets Tags field to given value.
func (o *HostnameOutput) GetRootType() string
GetRootType returns the RootType field if non-nil, zero value otherwise.
func (o *HostnameOutput) 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 *HostnameOutput) SetRootType(v string)
SetRootType sets RootType field to given value.