| Name | Type | Description | Notes |
|---|---|---|---|
| EnvironmentKey | string | A project-unique key for the environment. | |
| Name | string | The audience name | |
| SegmentKeys | Pointer to []string | Segments targeted by this audience. | [optional] |
| Configuration | Pointer to AudienceConfiguration | [optional] |
func NewAudiencePost(environmentKey string, name string, ) *AudiencePost
NewAudiencePost instantiates a new AudiencePost 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 NewAudiencePostWithDefaults() *AudiencePost
NewAudiencePostWithDefaults instantiates a new AudiencePost 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 *AudiencePost) GetEnvironmentKey() string
GetEnvironmentKey returns the EnvironmentKey field if non-nil, zero value otherwise.
func (o *AudiencePost) GetEnvironmentKeyOk() (*string, bool)
GetEnvironmentKeyOk returns a tuple with the EnvironmentKey field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *AudiencePost) SetEnvironmentKey(v string)
SetEnvironmentKey sets EnvironmentKey field to given value.
func (o *AudiencePost) GetName() string
GetName returns the Name field if non-nil, zero value otherwise.
func (o *AudiencePost) GetNameOk() (*string, bool)
GetNameOk returns a tuple with the Name field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *AudiencePost) SetName(v string)
SetName sets Name field to given value.
func (o *AudiencePost) GetSegmentKeys() []string
GetSegmentKeys returns the SegmentKeys field if non-nil, zero value otherwise.
func (o *AudiencePost) GetSegmentKeysOk() (*[]string, bool)
GetSegmentKeysOk returns a tuple with the SegmentKeys field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *AudiencePost) SetSegmentKeys(v []string)
SetSegmentKeys sets SegmentKeys field to given value.
func (o *AudiencePost) HasSegmentKeys() bool
HasSegmentKeys returns a boolean if a field has been set.
func (o *AudiencePost) GetConfiguration() AudienceConfiguration
GetConfiguration returns the Configuration field if non-nil, zero value otherwise.
func (o *AudiencePost) GetConfigurationOk() (*AudienceConfiguration, bool)
GetConfigurationOk returns a tuple with the Configuration field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *AudiencePost) SetConfiguration(v AudienceConfiguration)
SetConfiguration sets Configuration field to given value.
func (o *AudiencePost) HasConfiguration() bool
HasConfiguration returns a boolean if a field has been set.