Skip to content

Latest commit

 

History

History
249 lines (134 loc) · 6.56 KB

WritableASNRangeRequest.md

File metadata and controls

249 lines (134 loc) · 6.56 KB

WritableASNRangeRequest

Properties

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

Methods

NewWritableASNRangeRequest

func NewWritableASNRangeRequest(name string, slug string, rir int32, start int64, end int64, ) *WritableASNRangeRequest

NewWritableASNRangeRequest instantiates a new WritableASNRangeRequest 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

NewWritableASNRangeRequestWithDefaults

func NewWritableASNRangeRequestWithDefaults() *WritableASNRangeRequest

NewWritableASNRangeRequestWithDefaults instantiates a new WritableASNRangeRequest 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 *WritableASNRangeRequest) GetName() string

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

GetNameOk

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

SetName sets Name field to given value.

GetSlug

func (o *WritableASNRangeRequest) GetSlug() string

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

GetSlugOk

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

SetSlug sets Slug field to given value.

GetRir

func (o *WritableASNRangeRequest) GetRir() int32

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

GetRirOk

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

SetRir sets Rir field to given value.

GetStart

func (o *WritableASNRangeRequest) GetStart() int64

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

GetStartOk

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

SetStart sets Start field to given value.

GetEnd

func (o *WritableASNRangeRequest) GetEnd() int64

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

GetEndOk

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

SetEnd sets End field to given value.

GetTenant

func (o *WritableASNRangeRequest) GetTenant() int32

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

GetTenantOk

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

SetTenant sets Tenant field to given value.

HasTenant

func (o *WritableASNRangeRequest) HasTenant() bool

HasTenant returns a boolean if a field has been set.

SetTenantNil

func (o *WritableASNRangeRequest) SetTenantNil(b bool)

SetTenantNil sets the value for Tenant to be an explicit nil

UnsetTenant

func (o *WritableASNRangeRequest) UnsetTenant()

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

GetDescription

func (o *WritableASNRangeRequest) GetDescription() string

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

GetDescriptionOk

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

SetDescription sets Description field to given value.

HasDescription

func (o *WritableASNRangeRequest) HasDescription() bool

HasDescription returns a boolean if a field has been set.

GetTags

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

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

GetTagsOk

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

SetTags sets Tags field to given value.

HasTags

func (o *WritableASNRangeRequest) HasTags() bool

HasTags returns a boolean if a field has been set.

GetCustomFields

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

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

GetCustomFieldsOk

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

SetCustomFields sets CustomFields field to given value.

HasCustomFields

func (o *WritableASNRangeRequest) HasCustomFields() bool

HasCustomFields returns a boolean if a field has been set.

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