Skip to content

Latest commit

 

History

History
394 lines (213 loc) · 9.31 KB

File metadata and controls

394 lines (213 loc) · 9.31 KB

ASN

Properties

Name Type Description Notes
Id int32 [readonly]
Url string [readonly]
Display string [readonly]
Asn int64 16- or 32-bit autonomous system number
Rir Pointer to NullableRIR [optional]
Tenant Pointer to NullableTenant [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]
SiteCount int64 [readonly]
ProviderCount int64 [readonly]

Methods

NewASN

func NewASN(id int32, url string, display string, asn int64, created NullableTime, lastUpdated NullableTime, siteCount int64, providerCount int64, ) *ASN

NewASN instantiates a new ASN 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

NewASNWithDefaults

func NewASNWithDefaults() *ASN

NewASNWithDefaults instantiates a new ASN 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 *ASN) GetId() int32

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

GetIdOk

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

SetId sets Id field to given value.

GetUrl

func (o *ASN) GetUrl() string

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

GetUrlOk

func (o *ASN) 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 *ASN) SetUrl(v string)

SetUrl sets Url field to given value.

GetDisplay

func (o *ASN) GetDisplay() string

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

GetDisplayOk

func (o *ASN) 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 *ASN) SetDisplay(v string)

SetDisplay sets Display field to given value.

GetAsn

func (o *ASN) GetAsn() int64

GetAsn returns the Asn field if non-nil, zero value otherwise.

GetAsnOk

func (o *ASN) GetAsnOk() (*int64, bool)

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

SetAsn

func (o *ASN) SetAsn(v int64)

SetAsn sets Asn field to given value.

GetRir

func (o *ASN) GetRir() RIR

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

GetRirOk

func (o *ASN) 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 *ASN) SetRir(v RIR)

SetRir sets Rir field to given value.

HasRir

func (o *ASN) HasRir() bool

HasRir returns a boolean if a field has been set.

SetRirNil

func (o *ASN) SetRirNil(b bool)

SetRirNil sets the value for Rir to be an explicit nil

UnsetRir

func (o *ASN) UnsetRir()

UnsetRir ensures that no value is present for Rir, not even an explicit nil

GetTenant

func (o *ASN) GetTenant() Tenant

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

GetTenantOk

func (o *ASN) 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 *ASN) SetTenant(v Tenant)

SetTenant sets Tenant field to given value.

HasTenant

func (o *ASN) HasTenant() bool

HasTenant returns a boolean if a field has been set.

SetTenantNil

func (o *ASN) SetTenantNil(b bool)

SetTenantNil sets the value for Tenant to be an explicit nil

UnsetTenant

func (o *ASN) UnsetTenant()

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

GetDescription

func (o *ASN) GetDescription() string

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

GetDescriptionOk

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

SetDescription sets Description field to given value.

HasDescription

func (o *ASN) HasDescription() bool

HasDescription returns a boolean if a field has been set.

GetComments

func (o *ASN) GetComments() string

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

GetCommentsOk

func (o *ASN) 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 *ASN) SetComments(v string)

SetComments sets Comments field to given value.

HasComments

func (o *ASN) HasComments() bool

HasComments returns a boolean if a field has been set.

GetTags

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

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

GetTagsOk

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

SetTags sets Tags field to given value.

HasTags

func (o *ASN) HasTags() bool

HasTags returns a boolean if a field has been set.

GetCustomFields

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

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

GetCustomFieldsOk

func (o *ASN) 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 *ASN) SetCustomFields(v map[string]interface{})

SetCustomFields sets CustomFields field to given value.

HasCustomFields

func (o *ASN) HasCustomFields() bool

HasCustomFields returns a boolean if a field has been set.

GetCreated

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

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

GetCreatedOk

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

SetCreated sets Created field to given value.

SetCreatedNil

func (o *ASN) SetCreatedNil(b bool)

SetCreatedNil sets the value for Created to be an explicit nil

UnsetCreated

func (o *ASN) UnsetCreated()

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

GetLastUpdated

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

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

GetLastUpdatedOk

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

SetLastUpdated sets LastUpdated field to given value.

SetLastUpdatedNil

func (o *ASN) SetLastUpdatedNil(b bool)

SetLastUpdatedNil sets the value for LastUpdated to be an explicit nil

UnsetLastUpdated

func (o *ASN) UnsetLastUpdated()

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

GetSiteCount

func (o *ASN) GetSiteCount() int64

GetSiteCount returns the SiteCount field if non-nil, zero value otherwise.

GetSiteCountOk

func (o *ASN) GetSiteCountOk() (*int64, bool)

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

SetSiteCount

func (o *ASN) SetSiteCount(v int64)

SetSiteCount sets SiteCount field to given value.

GetProviderCount

func (o *ASN) GetProviderCount() int64

GetProviderCount returns the ProviderCount field if non-nil, zero value otherwise.

GetProviderCountOk

func (o *ASN) GetProviderCountOk() (*int64, bool)

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

SetProviderCount

func (o *ASN) SetProviderCount(v int64)

SetProviderCount sets ProviderCount field to given value.

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