Name | Type | Description | Notes |
---|---|---|---|
Id | string | The name of the capability | |
Label | string | The UI label for the capability. | |
DependsOn | []string | Any capabilities that are required for this capability to be enabled. | |
Group | CapabilityDefinitionGroup | ||
Message | Pointer to string | Warning message that appears when this capability is enabled. | [optional] |
func NewCapabilityDefinition(id string, label string, dependsOn []string, group CapabilityDefinitionGroup, ) *CapabilityDefinition
NewCapabilityDefinition instantiates a new CapabilityDefinition 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 NewCapabilityDefinitionWithDefaults() *CapabilityDefinition
NewCapabilityDefinitionWithDefaults instantiates a new CapabilityDefinition 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 *CapabilityDefinition) GetId() string
GetId returns the Id field if non-nil, zero value otherwise.
func (o *CapabilityDefinition) GetIdOk() (*string, 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.
func (o *CapabilityDefinition) SetId(v string)
SetId sets Id field to given value.
func (o *CapabilityDefinition) GetLabel() string
GetLabel returns the Label field if non-nil, zero value otherwise.
func (o *CapabilityDefinition) GetLabelOk() (*string, bool)
GetLabelOk returns a tuple with the Label field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *CapabilityDefinition) SetLabel(v string)
SetLabel sets Label field to given value.
func (o *CapabilityDefinition) GetDependsOn() []string
GetDependsOn returns the DependsOn field if non-nil, zero value otherwise.
func (o *CapabilityDefinition) GetDependsOnOk() (*[]string, bool)
GetDependsOnOk returns a tuple with the DependsOn field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *CapabilityDefinition) SetDependsOn(v []string)
SetDependsOn sets DependsOn field to given value.
func (o *CapabilityDefinition) GetGroup() CapabilityDefinitionGroup
GetGroup returns the Group field if non-nil, zero value otherwise.
func (o *CapabilityDefinition) GetGroupOk() (*CapabilityDefinitionGroup, bool)
GetGroupOk returns a tuple with the Group field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *CapabilityDefinition) SetGroup(v CapabilityDefinitionGroup)
SetGroup sets Group field to given value.
func (o *CapabilityDefinition) GetMessage() string
GetMessage returns the Message field if non-nil, zero value otherwise.
func (o *CapabilityDefinition) GetMessageOk() (*string, bool)
GetMessageOk returns a tuple with the Message field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *CapabilityDefinition) SetMessage(v string)
SetMessage sets Message field to given value.
func (o *CapabilityDefinition) HasMessage() bool
HasMessage returns a boolean if a field has been set.