Skip to content

Latest commit

 

History

History
74 lines (41 loc) · 1.9 KB

Feature.md

File metadata and controls

74 lines (41 loc) · 1.9 KB

Feature

Properties

Name Type Description Notes
Enabled bool [default to true]
Properties Pointer to map[string]interface{} [optional]

Methods

NewFeature

func NewFeature(enabled bool, ) *Feature

NewFeature instantiates a new Feature 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

NewFeatureWithDefaults

func NewFeatureWithDefaults() *Feature

NewFeatureWithDefaults instantiates a new Feature 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

GetEnabled

func (o *Feature) GetEnabled() bool

GetEnabled returns the Enabled field if non-nil, zero value otherwise.

GetEnabledOk

func (o *Feature) GetEnabledOk() (*bool, bool)

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

SetEnabled

func (o *Feature) SetEnabled(v bool)

SetEnabled sets Enabled field to given value.

GetProperties

func (o *Feature) GetProperties() map[string]interface{}

GetProperties returns the Properties field if non-nil, zero value otherwise.

GetPropertiesOk

func (o *Feature) GetPropertiesOk() (*map[string]interface{}, bool)

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

SetProperties

func (o *Feature) SetProperties(v map[string]interface{})

SetProperties sets Properties field to given value.

HasProperties

func (o *Feature) HasProperties() bool

HasProperties returns a boolean if a field has been set.