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] |
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
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
func (o *Distribution) GetName() string
GetName returns the Name field if non-nil, zero value otherwise.
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.
func (o *Distribution) SetName(v string)
SetName sets Name field to given value.
func (o *Distribution) GetSelfUrl() string
GetSelfUrl returns the SelfUrl field if non-nil, zero value otherwise.
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.
func (o *Distribution) SetSelfUrl(v string)
SetSelfUrl sets SelfUrl field to given value.
func (o *Distribution) HasSelfUrl() bool
HasSelfUrl returns a boolean if a field has been set.
func (o *Distribution) GetSlug() string
GetSlug returns the Slug field if non-nil, zero value otherwise.
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.
func (o *Distribution) SetSlug(v string)
SetSlug sets Slug field to given value.
func (o *Distribution) HasSlug() bool
HasSlug returns a boolean if a field has been set.
func (o *Distribution) GetVariants() string
GetVariants returns the Variants field if non-nil, zero value otherwise.
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.
func (o *Distribution) SetVariants(v string)
SetVariants sets Variants field to given value.
func (o *Distribution) HasVariants() bool
HasVariants returns a boolean if a field has been set.
func (o *Distribution) SetVariantsNil(b bool)
SetVariantsNil sets the value for Variants to be an explicit nil
func (o *Distribution) UnsetVariants()
UnsetVariants ensures that no value is present for Variants, not even an explicit nil