Name | Type | Description | Notes |
---|---|---|---|
Connect | bool | ||
PublishState | bool | ||
PublishEvents | bool | ||
PublishEventsRegex | string | ||
PublishLoopback | bool | ||
SubscribeCommand | bool | ||
SubscribeCommandRegex | string | ||
SubscribeBroadcast | bool | ||
SubscribeBroadcastRegex | string | ||
SubscribeConfig | bool |
func NewPolicy(connect bool, publishState bool, publishEvents bool, publishEventsRegex string, publishLoopback bool, subscribeCommand bool, subscribeCommandRegex string, subscribeBroadcast bool, subscribeBroadcastRegex string, subscribeConfig bool, ) *Policy
NewPolicy instantiates a new Policy 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 NewPolicyWithDefaults() *Policy
NewPolicyWithDefaults instantiates a new Policy 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 *Policy) GetConnect() bool
GetConnect returns the Connect field if non-nil, zero value otherwise.
func (o *Policy) GetConnectOk() (*bool, bool)
GetConnectOk returns a tuple with the Connect field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Policy) SetConnect(v bool)
SetConnect sets Connect field to given value.
func (o *Policy) GetPublishState() bool
GetPublishState returns the PublishState field if non-nil, zero value otherwise.
func (o *Policy) GetPublishStateOk() (*bool, bool)
GetPublishStateOk returns a tuple with the PublishState field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Policy) SetPublishState(v bool)
SetPublishState sets PublishState field to given value.
func (o *Policy) GetPublishEvents() bool
GetPublishEvents returns the PublishEvents field if non-nil, zero value otherwise.
func (o *Policy) GetPublishEventsOk() (*bool, bool)
GetPublishEventsOk returns a tuple with the PublishEvents field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Policy) SetPublishEvents(v bool)
SetPublishEvents sets PublishEvents field to given value.
func (o *Policy) GetPublishEventsRegex() string
GetPublishEventsRegex returns the PublishEventsRegex field if non-nil, zero value otherwise.
func (o *Policy) GetPublishEventsRegexOk() (*string, bool)
GetPublishEventsRegexOk returns a tuple with the PublishEventsRegex field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Policy) SetPublishEventsRegex(v string)
SetPublishEventsRegex sets PublishEventsRegex field to given value.
func (o *Policy) GetPublishLoopback() bool
GetPublishLoopback returns the PublishLoopback field if non-nil, zero value otherwise.
func (o *Policy) GetPublishLoopbackOk() (*bool, bool)
GetPublishLoopbackOk returns a tuple with the PublishLoopback field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Policy) SetPublishLoopback(v bool)
SetPublishLoopback sets PublishLoopback field to given value.
func (o *Policy) GetSubscribeCommand() bool
GetSubscribeCommand returns the SubscribeCommand field if non-nil, zero value otherwise.
func (o *Policy) GetSubscribeCommandOk() (*bool, bool)
GetSubscribeCommandOk returns a tuple with the SubscribeCommand field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Policy) SetSubscribeCommand(v bool)
SetSubscribeCommand sets SubscribeCommand field to given value.
func (o *Policy) GetSubscribeCommandRegex() string
GetSubscribeCommandRegex returns the SubscribeCommandRegex field if non-nil, zero value otherwise.
func (o *Policy) GetSubscribeCommandRegexOk() (*string, bool)
GetSubscribeCommandRegexOk returns a tuple with the SubscribeCommandRegex field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Policy) SetSubscribeCommandRegex(v string)
SetSubscribeCommandRegex sets SubscribeCommandRegex field to given value.
func (o *Policy) GetSubscribeBroadcast() bool
GetSubscribeBroadcast returns the SubscribeBroadcast field if non-nil, zero value otherwise.
func (o *Policy) GetSubscribeBroadcastOk() (*bool, bool)
GetSubscribeBroadcastOk returns a tuple with the SubscribeBroadcast field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Policy) SetSubscribeBroadcast(v bool)
SetSubscribeBroadcast sets SubscribeBroadcast field to given value.
func (o *Policy) GetSubscribeBroadcastRegex() string
GetSubscribeBroadcastRegex returns the SubscribeBroadcastRegex field if non-nil, zero value otherwise.
func (o *Policy) GetSubscribeBroadcastRegexOk() (*string, bool)
GetSubscribeBroadcastRegexOk returns a tuple with the SubscribeBroadcastRegex field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Policy) SetSubscribeBroadcastRegex(v string)
SetSubscribeBroadcastRegex sets SubscribeBroadcastRegex field to given value.
func (o *Policy) GetSubscribeConfig() bool
GetSubscribeConfig returns the SubscribeConfig field if non-nil, zero value otherwise.
func (o *Policy) GetSubscribeConfigOk() (*bool, bool)
GetSubscribeConfigOk returns a tuple with the SubscribeConfig field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Policy) SetSubscribeConfig(v bool)
SetSubscribeConfig sets SubscribeConfig field to given value.