Skip to content

Latest commit

 

History

History
249 lines (134 loc) · 6.31 KB

ASNRangeRequest.md

File metadata and controls

249 lines (134 loc) · 6.31 KB

ASNRangeRequest

Properties

Name Type Description Notes
Name string
Slug string
Rir RIRRequest
Start int64
End int64
Tenant Pointer to NullableTenantRequest [optional]
Description Pointer to string [optional]
Tags Pointer to []NestedTagRequest [optional]
CustomFields Pointer to map[string]interface{} [optional]

Methods

NewASNRangeRequest

func NewASNRangeRequest(name string, slug string, rir RIRRequest, start int64, end int64, ) *ASNRangeRequest

NewASNRangeRequest instantiates a new ASNRangeRequest 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

NewASNRangeRequestWithDefaults

func NewASNRangeRequestWithDefaults() *ASNRangeRequest

NewASNRangeRequestWithDefaults instantiates a new ASNRangeRequest 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

GetName

func (o *ASNRangeRequest) GetName() string

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

GetNameOk

func (o *ASNRangeRequest) 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 *ASNRangeRequest) SetName(v string)

SetName sets Name field to given value.

GetSlug

func (o *ASNRangeRequest) GetSlug() string

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

GetSlugOk

func (o *ASNRangeRequest) 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 *ASNRangeRequest) SetSlug(v string)

SetSlug sets Slug field to given value.

GetRir

func (o *ASNRangeRequest) GetRir() RIRRequest

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

GetRirOk

func (o *ASNRangeRequest) GetRirOk() (*RIRRequest, 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 *ASNRangeRequest) SetRir(v RIRRequest)

SetRir sets Rir field to given value.

GetStart

func (o *ASNRangeRequest) GetStart() int64

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

GetStartOk

func (o *ASNRangeRequest) 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 *ASNRangeRequest) SetStart(v int64)

SetStart sets Start field to given value.

GetEnd

func (o *ASNRangeRequest) GetEnd() int64

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

GetEndOk

func (o *ASNRangeRequest) 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 *ASNRangeRequest) SetEnd(v int64)

SetEnd sets End field to given value.

GetTenant

func (o *ASNRangeRequest) GetTenant() TenantRequest

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

GetTenantOk

func (o *ASNRangeRequest) GetTenantOk() (*TenantRequest, 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 *ASNRangeRequest) SetTenant(v TenantRequest)

SetTenant sets Tenant field to given value.

HasTenant

func (o *ASNRangeRequest) HasTenant() bool

HasTenant returns a boolean if a field has been set.

SetTenantNil

func (o *ASNRangeRequest) SetTenantNil(b bool)

SetTenantNil sets the value for Tenant to be an explicit nil

UnsetTenant

func (o *ASNRangeRequest) UnsetTenant()

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

GetDescription

func (o *ASNRangeRequest) GetDescription() string

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

GetDescriptionOk

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

SetDescription sets Description field to given value.

HasDescription

func (o *ASNRangeRequest) HasDescription() bool

HasDescription returns a boolean if a field has been set.

GetTags

func (o *ASNRangeRequest) GetTags() []NestedTagRequest

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

GetTagsOk

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

SetTags sets Tags field to given value.

HasTags

func (o *ASNRangeRequest) HasTags() bool

HasTags returns a boolean if a field has been set.

GetCustomFields

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

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

GetCustomFieldsOk

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

SetCustomFields sets CustomFields field to given value.

HasCustomFields

func (o *ASNRangeRequest) HasCustomFields() bool

HasCustomFields returns a boolean if a field has been set.

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