Skip to content

Latest commit

 

History

History
139 lines (76 loc) · 3.53 KB

Distribution.md

File metadata and controls

139 lines (76 loc) · 3.53 KB

Distribution

Properties

Name Type Description Notes
Name string
SelfUrl Pointer to string [optional] [readonly]
Slug Pointer to string The slug identifier for this distribution [optional] [readonly]
Variants Pointer to NullableString [optional]

Methods

NewDistribution

func NewDistribution(name string, ) *Distribution

NewDistribution instantiates a new Distribution 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

NewDistributionWithDefaults

func NewDistributionWithDefaults() *Distribution

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

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

GetNameOk

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

SetName sets Name field to given value.

GetSelfUrl

func (o *Distribution) GetSelfUrl() string

GetSelfUrl returns the SelfUrl field if non-nil, zero value otherwise.

GetSelfUrlOk

func (o *Distribution) GetSelfUrlOk() (*string, bool)

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

SetSelfUrl

func (o *Distribution) SetSelfUrl(v string)

SetSelfUrl sets SelfUrl field to given value.

HasSelfUrl

func (o *Distribution) HasSelfUrl() bool

HasSelfUrl returns a boolean if a field has been set.

GetSlug

func (o *Distribution) GetSlug() string

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

GetSlugOk

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

SetSlug sets Slug field to given value.

HasSlug

func (o *Distribution) HasSlug() bool

HasSlug returns a boolean if a field has been set.

GetVariants

func (o *Distribution) GetVariants() string

GetVariants returns the Variants field if non-nil, zero value otherwise.

GetVariantsOk

func (o *Distribution) GetVariantsOk() (*string, bool)

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

SetVariants

func (o *Distribution) SetVariants(v string)

SetVariants sets Variants field to given value.

HasVariants

func (o *Distribution) HasVariants() bool

HasVariants returns a boolean if a field has been set.

SetVariantsNil

func (o *Distribution) SetVariantsNil(b bool)

SetVariantsNil sets the value for Variants to be an explicit nil

UnsetVariants

func (o *Distribution) UnsetVariants()

UnsetVariants ensures that no value is present for Variants, not even an explicit nil

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