Name | Type | Description | Notes |
---|---|---|---|
Id | Pointer to string | Directive id | [optional] |
DisplayName | Pointer to string | Human readable name of the directive | [optional] |
ShortDescription | Pointer to string | One line directive description | [optional] |
LongDescription | Pointer to string | Description of the technique (rendered as markdown) | [optional] |
TechniqueName | Pointer to string | Directive id | [optional] |
TechniqueVersion | Pointer to string | Directive id | [optional] |
Priority | Pointer to int32 | Directive priority. `0` has highest priority. | [optional] |
Enabled | Pointer to bool | Is the directive enabled | [optional] |
System | Pointer to bool | If true it is an internal Rudder directive | [optional] |
PolicyMode | Pointer to string | Policy mode of the directive | [optional] |
Tags | Pointer to []DirectiveTagsInner | [optional] | |
Parameters | Pointer to map[string]interface{} | Directive parameters (depends on the source technique) | [optional] |
func NewDirective() *Directive
NewDirective instantiates a new Directive 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 NewDirectiveWithDefaults() *Directive
NewDirectiveWithDefaults instantiates a new Directive 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 *Directive) GetId() string
GetId returns the Id field if non-nil, zero value otherwise.
func (o *Directive) 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 *Directive) SetId(v string)
SetId sets Id field to given value.
func (o *Directive) HasId() bool
HasId returns a boolean if a field has been set.
func (o *Directive) GetDisplayName() string
GetDisplayName returns the DisplayName field if non-nil, zero value otherwise.
func (o *Directive) GetDisplayNameOk() (*string, bool)
GetDisplayNameOk returns a tuple with the DisplayName field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Directive) SetDisplayName(v string)
SetDisplayName sets DisplayName field to given value.
func (o *Directive) HasDisplayName() bool
HasDisplayName returns a boolean if a field has been set.
func (o *Directive) GetShortDescription() string
GetShortDescription returns the ShortDescription field if non-nil, zero value otherwise.
func (o *Directive) GetShortDescriptionOk() (*string, bool)
GetShortDescriptionOk returns a tuple with the ShortDescription field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Directive) SetShortDescription(v string)
SetShortDescription sets ShortDescription field to given value.
func (o *Directive) HasShortDescription() bool
HasShortDescription returns a boolean if a field has been set.
func (o *Directive) GetLongDescription() string
GetLongDescription returns the LongDescription field if non-nil, zero value otherwise.
func (o *Directive) GetLongDescriptionOk() (*string, bool)
GetLongDescriptionOk returns a tuple with the LongDescription field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Directive) SetLongDescription(v string)
SetLongDescription sets LongDescription field to given value.
func (o *Directive) HasLongDescription() bool
HasLongDescription returns a boolean if a field has been set.
func (o *Directive) GetTechniqueName() string
GetTechniqueName returns the TechniqueName field if non-nil, zero value otherwise.
func (o *Directive) GetTechniqueNameOk() (*string, bool)
GetTechniqueNameOk returns a tuple with the TechniqueName field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Directive) SetTechniqueName(v string)
SetTechniqueName sets TechniqueName field to given value.
func (o *Directive) HasTechniqueName() bool
HasTechniqueName returns a boolean if a field has been set.
func (o *Directive) GetTechniqueVersion() string
GetTechniqueVersion returns the TechniqueVersion field if non-nil, zero value otherwise.
func (o *Directive) GetTechniqueVersionOk() (*string, bool)
GetTechniqueVersionOk returns a tuple with the TechniqueVersion field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Directive) SetTechniqueVersion(v string)
SetTechniqueVersion sets TechniqueVersion field to given value.
func (o *Directive) HasTechniqueVersion() bool
HasTechniqueVersion returns a boolean if a field has been set.
func (o *Directive) GetPriority() int32
GetPriority returns the Priority field if non-nil, zero value otherwise.
func (o *Directive) GetPriorityOk() (*int32, bool)
GetPriorityOk returns a tuple with the Priority field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Directive) SetPriority(v int32)
SetPriority sets Priority field to given value.
func (o *Directive) HasPriority() bool
HasPriority returns a boolean if a field has been set.
func (o *Directive) GetEnabled() bool
GetEnabled returns the Enabled field if non-nil, zero value otherwise.
func (o *Directive) 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.
func (o *Directive) SetEnabled(v bool)
SetEnabled sets Enabled field to given value.
func (o *Directive) HasEnabled() bool
HasEnabled returns a boolean if a field has been set.
func (o *Directive) GetSystem() bool
GetSystem returns the System field if non-nil, zero value otherwise.
func (o *Directive) GetSystemOk() (*bool, bool)
GetSystemOk returns a tuple with the System field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Directive) SetSystem(v bool)
SetSystem sets System field to given value.
func (o *Directive) HasSystem() bool
HasSystem returns a boolean if a field has been set.
func (o *Directive) GetPolicyMode() string
GetPolicyMode returns the PolicyMode field if non-nil, zero value otherwise.
func (o *Directive) GetPolicyModeOk() (*string, bool)
GetPolicyModeOk returns a tuple with the PolicyMode field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Directive) SetPolicyMode(v string)
SetPolicyMode sets PolicyMode field to given value.
func (o *Directive) HasPolicyMode() bool
HasPolicyMode returns a boolean if a field has been set.
func (o *Directive) GetTags() []DirectiveTagsInner
GetTags returns the Tags field if non-nil, zero value otherwise.
func (o *Directive) GetTagsOk() (*[]DirectiveTagsInner, 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.
func (o *Directive) SetTags(v []DirectiveTagsInner)
SetTags sets Tags field to given value.
func (o *Directive) HasTags() bool
HasTags returns a boolean if a field has been set.
func (o *Directive) GetParameters() map[string]interface{}
GetParameters returns the Parameters field if non-nil, zero value otherwise.
func (o *Directive) GetParametersOk() (*map[string]interface{}, bool)
GetParametersOk returns a tuple with the Parameters field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Directive) SetParameters(v map[string]interface{})
SetParameters sets Parameters field to given value.
func (o *Directive) HasParameters() bool
HasParameters returns a boolean if a field has been set.