Name | Type | Description | Notes |
---|---|---|---|
Id | int32 | [readonly] | |
Url | string | [readonly] | |
Display | string | [readonly] | |
Name | string | ||
Slug | string | ||
Rir | RIR | ||
Start | int64 | ||
End | int64 | ||
Tenant | Pointer to NullableTenant | [optional] | |
Description | Pointer to string | [optional] | |
Tags | Pointer to []NestedTag | [optional] | |
CustomFields | Pointer to map[string]interface{} | [optional] | |
Created | NullableTime | [readonly] | |
LastUpdated | NullableTime | [readonly] | |
AsnCount | int32 | [readonly] |
func NewASNRange(id int32, url string, display string, name string, slug string, rir RIR, start int64, end int64, created NullableTime, lastUpdated NullableTime, asnCount int32, ) *ASNRange
NewASNRange instantiates a new ASNRange 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 NewASNRangeWithDefaults() *ASNRange
NewASNRangeWithDefaults instantiates a new ASNRange 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 *ASNRange) GetId() int32
GetId returns the Id field if non-nil, zero value otherwise.
func (o *ASNRange) 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 *ASNRange) SetId(v int32)
SetId sets Id field to given value.
func (o *ASNRange) GetUrl() string
GetUrl returns the Url field if non-nil, zero value otherwise.
func (o *ASNRange) 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 *ASNRange) SetUrl(v string)
SetUrl sets Url field to given value.
func (o *ASNRange) GetDisplay() string
GetDisplay returns the Display field if non-nil, zero value otherwise.
func (o *ASNRange) 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 *ASNRange) SetDisplay(v string)
SetDisplay sets Display field to given value.
func (o *ASNRange) GetName() string
GetName returns the Name field if non-nil, zero value otherwise.
func (o *ASNRange) 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 *ASNRange) SetName(v string)
SetName sets Name field to given value.
func (o *ASNRange) GetSlug() string
GetSlug returns the Slug field if non-nil, zero value otherwise.
func (o *ASNRange) GetSlugOk() (*string, bool)
GetSlugOk returns a tuple with the Slug field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *ASNRange) SetSlug(v string)
SetSlug sets Slug field to given value.
func (o *ASNRange) GetRir() RIR
GetRir returns the Rir field if non-nil, zero value otherwise.
func (o *ASNRange) 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 *ASNRange) SetRir(v RIR)
SetRir sets Rir field to given value.
func (o *ASNRange) GetStart() int64
GetStart returns the Start field if non-nil, zero value otherwise.
func (o *ASNRange) GetStartOk() (*int64, bool)
GetStartOk returns a tuple with the Start field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *ASNRange) SetStart(v int64)
SetStart sets Start field to given value.
func (o *ASNRange) GetEnd() int64
GetEnd returns the End field if non-nil, zero value otherwise.
func (o *ASNRange) GetEndOk() (*int64, bool)
GetEndOk returns a tuple with the End field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *ASNRange) SetEnd(v int64)
SetEnd sets End field to given value.
func (o *ASNRange) GetTenant() Tenant
GetTenant returns the Tenant field if non-nil, zero value otherwise.
func (o *ASNRange) 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 *ASNRange) SetTenant(v Tenant)
SetTenant sets Tenant field to given value.
func (o *ASNRange) HasTenant() bool
HasTenant returns a boolean if a field has been set.
func (o *ASNRange) SetTenantNil(b bool)
SetTenantNil sets the value for Tenant to be an explicit nil
func (o *ASNRange) UnsetTenant()
UnsetTenant ensures that no value is present for Tenant, not even an explicit nil
func (o *ASNRange) GetDescription() string
GetDescription returns the Description field if non-nil, zero value otherwise.
func (o *ASNRange) 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 *ASNRange) SetDescription(v string)
SetDescription sets Description field to given value.
func (o *ASNRange) HasDescription() bool
HasDescription returns a boolean if a field has been set.
func (o *ASNRange) GetTags() []NestedTag
GetTags returns the Tags field if non-nil, zero value otherwise.
func (o *ASNRange) 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 *ASNRange) SetTags(v []NestedTag)
SetTags sets Tags field to given value.
func (o *ASNRange) HasTags() bool
HasTags returns a boolean if a field has been set.
func (o *ASNRange) GetCustomFields() map[string]interface{}
GetCustomFields returns the CustomFields field if non-nil, zero value otherwise.
func (o *ASNRange) 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 *ASNRange) SetCustomFields(v map[string]interface{})
SetCustomFields sets CustomFields field to given value.
func (o *ASNRange) HasCustomFields() bool
HasCustomFields returns a boolean if a field has been set.
func (o *ASNRange) GetCreated() time.Time
GetCreated returns the Created field if non-nil, zero value otherwise.
func (o *ASNRange) 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 *ASNRange) SetCreated(v time.Time)
SetCreated sets Created field to given value.
func (o *ASNRange) SetCreatedNil(b bool)
SetCreatedNil sets the value for Created to be an explicit nil
func (o *ASNRange) UnsetCreated()
UnsetCreated ensures that no value is present for Created, not even an explicit nil
func (o *ASNRange) GetLastUpdated() time.Time
GetLastUpdated returns the LastUpdated field if non-nil, zero value otherwise.
func (o *ASNRange) 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 *ASNRange) SetLastUpdated(v time.Time)
SetLastUpdated sets LastUpdated field to given value.
func (o *ASNRange) SetLastUpdatedNil(b bool)
SetLastUpdatedNil sets the value for LastUpdated to be an explicit nil
func (o *ASNRange) UnsetLastUpdated()
UnsetLastUpdated ensures that no value is present for LastUpdated, not even an explicit nil
func (o *ASNRange) GetAsnCount() int32
GetAsnCount returns the AsnCount field if non-nil, zero value otherwise.
func (o *ASNRange) GetAsnCountOk() (*int32, bool)
GetAsnCountOk returns a tuple with the AsnCount field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *ASNRange) SetAsnCount(v int32)
SetAsnCount sets AsnCount field to given value.