Name | Type | Description | Notes |
---|---|---|---|
IncludedSegments | Pointer to []string | The segment names you want to target. Users in these segments will receive a notification. This targeting parameter is only compatible with excluded_segments. Example: ["Active Users", "Inactive Users"] | [optional] |
ExcludedSegments | Pointer to []string | Segment that will be excluded when sending. Users in these segments will not receive a notification, even if they were included in included_segments. This targeting parameter is only compatible with included_segments. Example: ["Active Users", "Inactive Users"] | [optional] |
func NewSegmentNotificationTarget() *SegmentNotificationTarget
NewSegmentNotificationTarget instantiates a new SegmentNotificationTarget 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 NewSegmentNotificationTargetWithDefaults() *SegmentNotificationTarget
NewSegmentNotificationTargetWithDefaults instantiates a new SegmentNotificationTarget 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 *SegmentNotificationTarget) GetIncludedSegments() []string
GetIncludedSegments returns the IncludedSegments field if non-nil, zero value otherwise.
func (o *SegmentNotificationTarget) GetIncludedSegmentsOk() (*[]string, bool)
GetIncludedSegmentsOk returns a tuple with the IncludedSegments field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *SegmentNotificationTarget) SetIncludedSegments(v []string)
SetIncludedSegments sets IncludedSegments field to given value.
func (o *SegmentNotificationTarget) HasIncludedSegments() bool
HasIncludedSegments returns a boolean if a field has been set.
func (o *SegmentNotificationTarget) GetExcludedSegments() []string
GetExcludedSegments returns the ExcludedSegments field if non-nil, zero value otherwise.
func (o *SegmentNotificationTarget) GetExcludedSegmentsOk() (*[]string, bool)
GetExcludedSegmentsOk returns a tuple with the ExcludedSegments field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *SegmentNotificationTarget) SetExcludedSegments(v []string)
SetExcludedSegments sets ExcludedSegments field to given value.
func (o *SegmentNotificationTarget) HasExcludedSegments() bool
HasExcludedSegments returns a boolean if a field has been set.