Skip to content

Latest commit

 

History

History
394 lines (213 loc) · 9.73 KB

Aggregate.md

File metadata and controls

394 lines (213 loc) · 9.73 KB

Aggregate

Properties

Name Type Description Notes
Id int32 [readonly]
Url string [readonly]
Display string [readonly]
Family AggregateFamily
Prefix string
Rir RIR
Tenant Pointer to NullableTenant [optional]
DateAdded Pointer to NullableString [optional]
Description Pointer to string [optional]
Comments Pointer to string [optional]
Tags Pointer to []NestedTag [optional]
CustomFields Pointer to map[string]interface{} [optional]
Created NullableTime [readonly]
LastUpdated NullableTime [readonly]

Methods

NewAggregate

func NewAggregate(id int32, url string, display string, family AggregateFamily, prefix string, rir RIR, created NullableTime, lastUpdated NullableTime, ) *Aggregate

NewAggregate instantiates a new Aggregate 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

NewAggregateWithDefaults

func NewAggregateWithDefaults() *Aggregate

NewAggregateWithDefaults instantiates a new Aggregate 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

GetId

func (o *Aggregate) GetId() int32

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

GetIdOk

func (o *Aggregate) GetIdOk() (*int32, 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 *Aggregate) SetId(v int32)

SetId sets Id field to given value.

GetUrl

func (o *Aggregate) GetUrl() string

GetUrl returns the Url field if non-nil, zero value otherwise.

GetUrlOk

func (o *Aggregate) GetUrlOk() (*string, bool)

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

SetUrl

func (o *Aggregate) SetUrl(v string)

SetUrl sets Url field to given value.

GetDisplay

func (o *Aggregate) GetDisplay() string

GetDisplay returns the Display field if non-nil, zero value otherwise.

GetDisplayOk

func (o *Aggregate) GetDisplayOk() (*string, bool)

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

SetDisplay

func (o *Aggregate) SetDisplay(v string)

SetDisplay sets Display field to given value.

GetFamily

func (o *Aggregate) GetFamily() AggregateFamily

GetFamily returns the Family field if non-nil, zero value otherwise.

GetFamilyOk

func (o *Aggregate) GetFamilyOk() (*AggregateFamily, bool)

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

SetFamily

func (o *Aggregate) SetFamily(v AggregateFamily)

SetFamily sets Family field to given value.

GetPrefix

func (o *Aggregate) GetPrefix() string

GetPrefix returns the Prefix field if non-nil, zero value otherwise.

GetPrefixOk

func (o *Aggregate) GetPrefixOk() (*string, bool)

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

SetPrefix

func (o *Aggregate) SetPrefix(v string)

SetPrefix sets Prefix field to given value.

GetRir

func (o *Aggregate) GetRir() RIR

GetRir returns the Rir field if non-nil, zero value otherwise.

GetRirOk

func (o *Aggregate) GetRirOk() (*RIR, bool)

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

SetRir

func (o *Aggregate) SetRir(v RIR)

SetRir sets Rir field to given value.

GetTenant

func (o *Aggregate) GetTenant() Tenant

GetTenant returns the Tenant field if non-nil, zero value otherwise.

GetTenantOk

func (o *Aggregate) GetTenantOk() (*Tenant, bool)

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

SetTenant

func (o *Aggregate) SetTenant(v Tenant)

SetTenant sets Tenant field to given value.

HasTenant

func (o *Aggregate) HasTenant() bool

HasTenant returns a boolean if a field has been set.

SetTenantNil

func (o *Aggregate) SetTenantNil(b bool)

SetTenantNil sets the value for Tenant to be an explicit nil

UnsetTenant

func (o *Aggregate) UnsetTenant()

UnsetTenant ensures that no value is present for Tenant, not even an explicit nil

GetDateAdded

func (o *Aggregate) GetDateAdded() string

GetDateAdded returns the DateAdded field if non-nil, zero value otherwise.

GetDateAddedOk

func (o *Aggregate) GetDateAddedOk() (*string, bool)

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

SetDateAdded

func (o *Aggregate) SetDateAdded(v string)

SetDateAdded sets DateAdded field to given value.

HasDateAdded

func (o *Aggregate) HasDateAdded() bool

HasDateAdded returns a boolean if a field has been set.

SetDateAddedNil

func (o *Aggregate) SetDateAddedNil(b bool)

SetDateAddedNil sets the value for DateAdded to be an explicit nil

UnsetDateAdded

func (o *Aggregate) UnsetDateAdded()

UnsetDateAdded ensures that no value is present for DateAdded, not even an explicit nil

GetDescription

func (o *Aggregate) GetDescription() string

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

GetDescriptionOk

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

SetDescription sets Description field to given value.

HasDescription

func (o *Aggregate) HasDescription() bool

HasDescription returns a boolean if a field has been set.

GetComments

func (o *Aggregate) GetComments() string

GetComments returns the Comments field if non-nil, zero value otherwise.

GetCommentsOk

func (o *Aggregate) GetCommentsOk() (*string, bool)

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

SetComments

func (o *Aggregate) SetComments(v string)

SetComments sets Comments field to given value.

HasComments

func (o *Aggregate) HasComments() bool

HasComments returns a boolean if a field has been set.

GetTags

func (o *Aggregate) GetTags() []NestedTag

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

GetTagsOk

func (o *Aggregate) GetTagsOk() (*[]NestedTag, 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 *Aggregate) SetTags(v []NestedTag)

SetTags sets Tags field to given value.

HasTags

func (o *Aggregate) HasTags() bool

HasTags returns a boolean if a field has been set.

GetCustomFields

func (o *Aggregate) GetCustomFields() map[string]interface{}

GetCustomFields returns the CustomFields field if non-nil, zero value otherwise.

GetCustomFieldsOk

func (o *Aggregate) GetCustomFieldsOk() (*map[string]interface{}, bool)

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

SetCustomFields

func (o *Aggregate) SetCustomFields(v map[string]interface{})

SetCustomFields sets CustomFields field to given value.

HasCustomFields

func (o *Aggregate) HasCustomFields() bool

HasCustomFields returns a boolean if a field has been set.

GetCreated

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

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

GetCreatedOk

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

SetCreated sets Created field to given value.

SetCreatedNil

func (o *Aggregate) SetCreatedNil(b bool)

SetCreatedNil sets the value for Created to be an explicit nil

UnsetCreated

func (o *Aggregate) UnsetCreated()

UnsetCreated ensures that no value is present for Created, not even an explicit nil

GetLastUpdated

func (o *Aggregate) GetLastUpdated() time.Time

GetLastUpdated returns the LastUpdated field if non-nil, zero value otherwise.

GetLastUpdatedOk

func (o *Aggregate) GetLastUpdatedOk() (*time.Time, bool)

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

SetLastUpdated

func (o *Aggregate) SetLastUpdated(v time.Time)

SetLastUpdated sets LastUpdated field to given value.

SetLastUpdatedNil

func (o *Aggregate) SetLastUpdatedNil(b bool)

SetLastUpdatedNil sets the value for LastUpdated to be an explicit nil

UnsetLastUpdated

func (o *Aggregate) UnsetLastUpdated()

UnsetLastUpdated ensures that no value is present for LastUpdated, not even an explicit nil

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