Skip to content

Latest commit

 

History

History
395 lines (212 loc) · 9.4 KB

ASNRange.md

File metadata and controls

395 lines (212 loc) · 9.4 KB

ASNRange

Properties

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]

Methods

NewASNRange

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

NewASNRangeWithDefaults

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

GetId

func (o *ASNRange) GetId() int32

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

GetIdOk

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.

SetId

func (o *ASNRange) SetId(v int32)

SetId sets Id field to given value.

GetUrl

func (o *ASNRange) GetUrl() string

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

GetUrlOk

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.

SetUrl

func (o *ASNRange) SetUrl(v string)

SetUrl sets Url field to given value.

GetDisplay

func (o *ASNRange) GetDisplay() string

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

GetDisplayOk

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.

SetDisplay

func (o *ASNRange) SetDisplay(v string)

SetDisplay sets Display field to given value.

GetName

func (o *ASNRange) GetName() string

GetName returns the Name field if non-nil, zero value otherwise.

GetNameOk

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.

SetName

func (o *ASNRange) SetName(v string)

SetName sets Name field to given value.

GetSlug

func (o *ASNRange) GetSlug() string

GetSlug returns the Slug field if non-nil, zero value otherwise.

GetSlugOk

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.

SetSlug

func (o *ASNRange) SetSlug(v string)

SetSlug sets Slug field to given value.

GetRir

func (o *ASNRange) GetRir() RIR

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

GetRirOk

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.

SetRir

func (o *ASNRange) SetRir(v RIR)

SetRir sets Rir field to given value.

GetStart

func (o *ASNRange) GetStart() int64

GetStart returns the Start field if non-nil, zero value otherwise.

GetStartOk

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.

SetStart

func (o *ASNRange) SetStart(v int64)

SetStart sets Start field to given value.

GetEnd

func (o *ASNRange) GetEnd() int64

GetEnd returns the End field if non-nil, zero value otherwise.

GetEndOk

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.

SetEnd

func (o *ASNRange) SetEnd(v int64)

SetEnd sets End field to given value.

GetTenant

func (o *ASNRange) GetTenant() Tenant

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

GetTenantOk

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.

SetTenant

func (o *ASNRange) SetTenant(v Tenant)

SetTenant sets Tenant field to given value.

HasTenant

func (o *ASNRange) HasTenant() bool

HasTenant returns a boolean if a field has been set.

SetTenantNil

func (o *ASNRange) SetTenantNil(b bool)

SetTenantNil sets the value for Tenant to be an explicit nil

UnsetTenant

func (o *ASNRange) UnsetTenant()

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

GetDescription

func (o *ASNRange) GetDescription() string

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

GetDescriptionOk

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.

SetDescription

func (o *ASNRange) SetDescription(v string)

SetDescription sets Description field to given value.

HasDescription

func (o *ASNRange) HasDescription() bool

HasDescription returns a boolean if a field has been set.

GetTags

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

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

GetTagsOk

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.

SetTags

func (o *ASNRange) SetTags(v []NestedTag)

SetTags sets Tags field to given value.

HasTags

func (o *ASNRange) HasTags() bool

HasTags returns a boolean if a field has been set.

GetCustomFields

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

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

GetCustomFieldsOk

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.

SetCustomFields

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

SetCustomFields sets CustomFields field to given value.

HasCustomFields

func (o *ASNRange) HasCustomFields() bool

HasCustomFields returns a boolean if a field has been set.

GetCreated

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

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

GetCreatedOk

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.

SetCreated

func (o *ASNRange) SetCreated(v time.Time)

SetCreated sets Created field to given value.

SetCreatedNil

func (o *ASNRange) SetCreatedNil(b bool)

SetCreatedNil sets the value for Created to be an explicit nil

UnsetCreated

func (o *ASNRange) UnsetCreated()

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

GetLastUpdated

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

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

GetLastUpdatedOk

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.

SetLastUpdated

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

SetLastUpdated sets LastUpdated field to given value.

SetLastUpdatedNil

func (o *ASNRange) SetLastUpdatedNil(b bool)

SetLastUpdatedNil sets the value for LastUpdated to be an explicit nil

UnsetLastUpdated

func (o *ASNRange) UnsetLastUpdated()

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

GetAsnCount

func (o *ASNRange) GetAsnCount() int32

GetAsnCount returns the AsnCount field if non-nil, zero value otherwise.

GetAsnCountOk

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.

SetAsnCount

func (o *ASNRange) SetAsnCount(v int32)

SetAsnCount sets AsnCount field to given value.

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