Name | Type | Description | Notes |
---|---|---|---|
Id | Pointer to string | Rule id | [optional] |
DisplayName | Pointer to string | Rule name | [optional] |
ShortDescription | Pointer to string | One line rule description | [optional] |
LongDescription | Pointer to string | Rule documentation | [optional] |
Category | Pointer to string | The parent category id. | [optional] |
Directives | Pointer to []string | Directives linked to the rule | [optional] |
Targets | Pointer to []RuleTargetsInner | Node and special groups targeted by that rule | [optional] |
Enabled | Pointer to bool | Is the rule enabled | [optional] |
System | Pointer to bool | If true it is an internal Rudder rule | [optional] |
Tags | Pointer to []DirectiveTagsInner | [optional] |
func NewRuleWithCategory() *RuleWithCategory
NewRuleWithCategory instantiates a new RuleWithCategory 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 NewRuleWithCategoryWithDefaults() *RuleWithCategory
NewRuleWithCategoryWithDefaults instantiates a new RuleWithCategory 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 *RuleWithCategory) GetId() string
GetId returns the Id field if non-nil, zero value otherwise.
func (o *RuleWithCategory) 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 *RuleWithCategory) SetId(v string)
SetId sets Id field to given value.
func (o *RuleWithCategory) HasId() bool
HasId returns a boolean if a field has been set.
func (o *RuleWithCategory) GetDisplayName() string
GetDisplayName returns the DisplayName field if non-nil, zero value otherwise.
func (o *RuleWithCategory) 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 *RuleWithCategory) SetDisplayName(v string)
SetDisplayName sets DisplayName field to given value.
func (o *RuleWithCategory) HasDisplayName() bool
HasDisplayName returns a boolean if a field has been set.
func (o *RuleWithCategory) GetShortDescription() string
GetShortDescription returns the ShortDescription field if non-nil, zero value otherwise.
func (o *RuleWithCategory) 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 *RuleWithCategory) SetShortDescription(v string)
SetShortDescription sets ShortDescription field to given value.
func (o *RuleWithCategory) HasShortDescription() bool
HasShortDescription returns a boolean if a field has been set.
func (o *RuleWithCategory) GetLongDescription() string
GetLongDescription returns the LongDescription field if non-nil, zero value otherwise.
func (o *RuleWithCategory) 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 *RuleWithCategory) SetLongDescription(v string)
SetLongDescription sets LongDescription field to given value.
func (o *RuleWithCategory) HasLongDescription() bool
HasLongDescription returns a boolean if a field has been set.
func (o *RuleWithCategory) GetCategory() string
GetCategory returns the Category field if non-nil, zero value otherwise.
func (o *RuleWithCategory) GetCategoryOk() (*string, bool)
GetCategoryOk returns a tuple with the Category field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *RuleWithCategory) SetCategory(v string)
SetCategory sets Category field to given value.
func (o *RuleWithCategory) HasCategory() bool
HasCategory returns a boolean if a field has been set.
func (o *RuleWithCategory) GetDirectives() []string
GetDirectives returns the Directives field if non-nil, zero value otherwise.
func (o *RuleWithCategory) GetDirectivesOk() (*[]string, bool)
GetDirectivesOk returns a tuple with the Directives field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *RuleWithCategory) SetDirectives(v []string)
SetDirectives sets Directives field to given value.
func (o *RuleWithCategory) HasDirectives() bool
HasDirectives returns a boolean if a field has been set.
func (o *RuleWithCategory) GetTargets() []RuleTargetsInner
GetTargets returns the Targets field if non-nil, zero value otherwise.
func (o *RuleWithCategory) GetTargetsOk() (*[]RuleTargetsInner, bool)
GetTargetsOk returns a tuple with the Targets field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *RuleWithCategory) SetTargets(v []RuleTargetsInner)
SetTargets sets Targets field to given value.
func (o *RuleWithCategory) HasTargets() bool
HasTargets returns a boolean if a field has been set.
func (o *RuleWithCategory) GetEnabled() bool
GetEnabled returns the Enabled field if non-nil, zero value otherwise.
func (o *RuleWithCategory) 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 *RuleWithCategory) SetEnabled(v bool)
SetEnabled sets Enabled field to given value.
func (o *RuleWithCategory) HasEnabled() bool
HasEnabled returns a boolean if a field has been set.
func (o *RuleWithCategory) GetSystem() bool
GetSystem returns the System field if non-nil, zero value otherwise.
func (o *RuleWithCategory) 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 *RuleWithCategory) SetSystem(v bool)
SetSystem sets System field to given value.
func (o *RuleWithCategory) HasSystem() bool
HasSystem returns a boolean if a field has been set.
func (o *RuleWithCategory) GetTags() []DirectiveTagsInner
GetTags returns the Tags field if non-nil, zero value otherwise.
func (o *RuleWithCategory) 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 *RuleWithCategory) SetTags(v []DirectiveTagsInner)
SetTags sets Tags field to given value.
func (o *RuleWithCategory) HasTags() bool
HasTags returns a boolean if a field has been set.