Skip to content

Latest commit

 

History

History
322 lines (173 loc) · 8.03 KB

CircuitType.md

File metadata and controls

322 lines (173 loc) · 8.03 KB

CircuitType

Properties

Name Type Description Notes
Id int32 [readonly]
Url string [readonly]
Display string [readonly]
Name string
Slug string
Color Pointer to string [optional]
Description Pointer to string [optional]
Tags Pointer to []NestedTag [optional]
CustomFields Pointer to map[string]interface{} [optional]
Created NullableTime [readonly]
LastUpdated NullableTime [readonly]
CircuitCount int64 [readonly]

Methods

NewCircuitType

func NewCircuitType(id int32, url string, display string, name string, slug string, created NullableTime, lastUpdated NullableTime, circuitCount int64, ) *CircuitType

NewCircuitType instantiates a new CircuitType 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

NewCircuitTypeWithDefaults

func NewCircuitTypeWithDefaults() *CircuitType

NewCircuitTypeWithDefaults instantiates a new CircuitType 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 *CircuitType) GetId() int32

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

GetIdOk

func (o *CircuitType) 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 *CircuitType) SetId(v int32)

SetId sets Id field to given value.

GetUrl

func (o *CircuitType) GetUrl() string

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

GetUrlOk

func (o *CircuitType) 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 *CircuitType) SetUrl(v string)

SetUrl sets Url field to given value.

GetDisplay

func (o *CircuitType) GetDisplay() string

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

GetDisplayOk

func (o *CircuitType) 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 *CircuitType) SetDisplay(v string)

SetDisplay sets Display field to given value.

GetName

func (o *CircuitType) GetName() string

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

GetNameOk

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

SetName sets Name field to given value.

GetSlug

func (o *CircuitType) GetSlug() string

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

GetSlugOk

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

SetSlug sets Slug field to given value.

GetColor

func (o *CircuitType) GetColor() string

GetColor returns the Color field if non-nil, zero value otherwise.

GetColorOk

func (o *CircuitType) GetColorOk() (*string, bool)

GetColorOk returns a tuple with the Color field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetColor

func (o *CircuitType) SetColor(v string)

SetColor sets Color field to given value.

HasColor

func (o *CircuitType) HasColor() bool

HasColor returns a boolean if a field has been set.

GetDescription

func (o *CircuitType) GetDescription() string

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

GetDescriptionOk

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

SetDescription sets Description field to given value.

HasDescription

func (o *CircuitType) HasDescription() bool

HasDescription returns a boolean if a field has been set.

GetTags

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

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

GetTagsOk

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

SetTags sets Tags field to given value.

HasTags

func (o *CircuitType) HasTags() bool

HasTags returns a boolean if a field has been set.

GetCustomFields

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

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

GetCustomFieldsOk

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

SetCustomFields sets CustomFields field to given value.

HasCustomFields

func (o *CircuitType) HasCustomFields() bool

HasCustomFields returns a boolean if a field has been set.

GetCreated

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

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

GetCreatedOk

func (o *CircuitType) 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 *CircuitType) SetCreated(v time.Time)

SetCreated sets Created field to given value.

SetCreatedNil

func (o *CircuitType) SetCreatedNil(b bool)

SetCreatedNil sets the value for Created to be an explicit nil

UnsetCreated

func (o *CircuitType) UnsetCreated()

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

GetLastUpdated

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

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

GetLastUpdatedOk

func (o *CircuitType) 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 *CircuitType) SetLastUpdated(v time.Time)

SetLastUpdated sets LastUpdated field to given value.

SetLastUpdatedNil

func (o *CircuitType) SetLastUpdatedNil(b bool)

SetLastUpdatedNil sets the value for LastUpdated to be an explicit nil

UnsetLastUpdated

func (o *CircuitType) UnsetLastUpdated()

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

GetCircuitCount

func (o *CircuitType) GetCircuitCount() int64

GetCircuitCount returns the CircuitCount field if non-nil, zero value otherwise.

GetCircuitCountOk

func (o *CircuitType) GetCircuitCountOk() (*int64, bool)

GetCircuitCountOk returns a tuple with the CircuitCount field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetCircuitCount

func (o *CircuitType) SetCircuitCount(v int64)

SetCircuitCount sets CircuitCount field to given value.

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