| 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] |
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
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
func (o *ASN) GetId() int32
GetId returns the Id field if non-nil, zero value otherwise.
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.
func (o *ASN) SetId(v int32)
SetId sets Id field to given value.
func (o *ASN) GetUrl() string
GetUrl returns the Url field if non-nil, zero value otherwise.
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.
func (o *ASN) SetUrl(v string)
SetUrl sets Url field to given value.
func (o *ASN) GetDisplay() string
GetDisplay returns the Display field if non-nil, zero value otherwise.
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.
func (o *ASN) SetDisplay(v string)
SetDisplay sets Display field to given value.
func (o *ASN) GetAsn() int64
GetAsn returns the Asn field if non-nil, zero value otherwise.
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.
func (o *ASN) SetAsn(v int64)
SetAsn sets Asn field to given value.
func (o *ASN) GetRir() RIR
GetRir returns the Rir field if non-nil, zero value otherwise.
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.
func (o *ASN) SetRir(v RIR)
SetRir sets Rir field to given value.
func (o *ASN) HasRir() bool
HasRir returns a boolean if a field has been set.
func (o *ASN) SetRirNil(b bool)
SetRirNil sets the value for Rir to be an explicit nil
func (o *ASN) UnsetRir()
UnsetRir ensures that no value is present for Rir, not even an explicit nil
func (o *ASN) GetTenant() Tenant
GetTenant returns the Tenant field if non-nil, zero value otherwise.
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.
func (o *ASN) SetTenant(v Tenant)
SetTenant sets Tenant field to given value.
func (o *ASN) HasTenant() bool
HasTenant returns a boolean if a field has been set.
func (o *ASN) SetTenantNil(b bool)
SetTenantNil sets the value for Tenant to be an explicit nil
func (o *ASN) UnsetTenant()
UnsetTenant ensures that no value is present for Tenant, not even an explicit nil
func (o *ASN) GetDescription() string
GetDescription returns the Description field if non-nil, zero value otherwise.
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.
func (o *ASN) SetDescription(v string)
SetDescription sets Description field to given value.
func (o *ASN) HasDescription() bool
HasDescription returns a boolean if a field has been set.
func (o *ASN) GetComments() string
GetComments returns the Comments field if non-nil, zero value otherwise.
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.
func (o *ASN) SetComments(v string)
SetComments sets Comments field to given value.
func (o *ASN) HasComments() bool
HasComments returns a boolean if a field has been set.
func (o *ASN) GetTags() []NestedTag
GetTags returns the Tags field if non-nil, zero value otherwise.
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.
func (o *ASN) SetTags(v []NestedTag)
SetTags sets Tags field to given value.
func (o *ASN) HasTags() bool
HasTags returns a boolean if a field has been set.
func (o *ASN) GetCustomFields() map[string]interface{}
GetCustomFields returns the CustomFields field if non-nil, zero value otherwise.
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.
func (o *ASN) SetCustomFields(v map[string]interface{})
SetCustomFields sets CustomFields field to given value.
func (o *ASN) HasCustomFields() bool
HasCustomFields returns a boolean if a field has been set.
func (o *ASN) GetCreated() time.Time
GetCreated returns the Created field if non-nil, zero value otherwise.
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.
func (o *ASN) SetCreated(v time.Time)
SetCreated sets Created field to given value.
func (o *ASN) SetCreatedNil(b bool)
SetCreatedNil sets the value for Created to be an explicit nil
func (o *ASN) UnsetCreated()
UnsetCreated ensures that no value is present for Created, not even an explicit nil
func (o *ASN) GetLastUpdated() time.Time
GetLastUpdated returns the LastUpdated field if non-nil, zero value otherwise.
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.
func (o *ASN) SetLastUpdated(v time.Time)
SetLastUpdated sets LastUpdated field to given value.
func (o *ASN) SetLastUpdatedNil(b bool)
SetLastUpdatedNil sets the value for LastUpdated to be an explicit nil
func (o *ASN) UnsetLastUpdated()
UnsetLastUpdated ensures that no value is present for LastUpdated, not even an explicit nil
func (o *ASN) GetSiteCount() int64
GetSiteCount returns the SiteCount field if non-nil, zero value otherwise.
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.
func (o *ASN) SetSiteCount(v int64)
SetSiteCount sets SiteCount field to given value.
func (o *ASN) GetProviderCount() int64
GetProviderCount returns the ProviderCount field if non-nil, zero value otherwise.
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.
func (o *ASN) SetProviderCount(v int64)
SetProviderCount sets ProviderCount field to given value.