Name | Type | Description | Notes |
---|---|---|---|
Id | Pointer to string | The segment's ID. | [optional] |
Name | Pointer to string | The segment's business name. | [optional] |
Created | Pointer to time.Time | The time when the segment is created. | [optional] |
Modified | Pointer to time.Time | The time when the segment is modified. | [optional] |
Description | Pointer to string | The segment's optional description. | [optional] |
Owner | Pointer to NullableOwnerReferenceSegments | [optional] | |
VisibilityCriteria | Pointer to VisibilityCriteria | [optional] | |
Active | Pointer to bool | This boolean indicates whether the segment is currently active. Inactive segments have no effect. | [optional] [default to false] |
func NewSegment() *Segment
NewSegment instantiates a new Segment 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 NewSegmentWithDefaults() *Segment
NewSegmentWithDefaults instantiates a new Segment 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 *Segment) GetId() string
GetId returns the Id field if non-nil, zero value otherwise.
func (o *Segment) 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 *Segment) SetId(v string)
SetId sets Id field to given value.
func (o *Segment) HasId() bool
HasId returns a boolean if a field has been set.
func (o *Segment) GetName() string
GetName returns the Name field if non-nil, zero value otherwise.
func (o *Segment) 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 *Segment) SetName(v string)
SetName sets Name field to given value.
func (o *Segment) HasName() bool
HasName returns a boolean if a field has been set.
func (o *Segment) GetCreated() time.Time
GetCreated returns the Created field if non-nil, zero value otherwise.
func (o *Segment) GetCreatedOk() (*time.Time, bool)
GetCreatedOk returns a tuple with the Created field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Segment) SetCreated(v time.Time)
SetCreated sets Created field to given value.
func (o *Segment) HasCreated() bool
HasCreated returns a boolean if a field has been set.
func (o *Segment) GetModified() time.Time
GetModified returns the Modified field if non-nil, zero value otherwise.
func (o *Segment) GetModifiedOk() (*time.Time, bool)
GetModifiedOk returns a tuple with the Modified field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Segment) SetModified(v time.Time)
SetModified sets Modified field to given value.
func (o *Segment) HasModified() bool
HasModified returns a boolean if a field has been set.
func (o *Segment) GetDescription() string
GetDescription returns the Description field if non-nil, zero value otherwise.
func (o *Segment) GetDescriptionOk() (*string, bool)
GetDescriptionOk returns a tuple with the Description field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Segment) SetDescription(v string)
SetDescription sets Description field to given value.
func (o *Segment) HasDescription() bool
HasDescription returns a boolean if a field has been set.
func (o *Segment) GetOwner() OwnerReferenceSegments
GetOwner returns the Owner field if non-nil, zero value otherwise.
func (o *Segment) GetOwnerOk() (*OwnerReferenceSegments, bool)
GetOwnerOk returns a tuple with the Owner field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Segment) SetOwner(v OwnerReferenceSegments)
SetOwner sets Owner field to given value.
func (o *Segment) HasOwner() bool
HasOwner returns a boolean if a field has been set.
func (o *Segment) SetOwnerNil(b bool)
SetOwnerNil sets the value for Owner to be an explicit nil
func (o *Segment) UnsetOwner()
UnsetOwner ensures that no value is present for Owner, not even an explicit nil
func (o *Segment) GetVisibilityCriteria() VisibilityCriteria
GetVisibilityCriteria returns the VisibilityCriteria field if non-nil, zero value otherwise.
func (o *Segment) GetVisibilityCriteriaOk() (*VisibilityCriteria, bool)
GetVisibilityCriteriaOk returns a tuple with the VisibilityCriteria field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Segment) SetVisibilityCriteria(v VisibilityCriteria)
SetVisibilityCriteria sets VisibilityCriteria field to given value.
func (o *Segment) HasVisibilityCriteria() bool
HasVisibilityCriteria returns a boolean if a field has been set.
func (o *Segment) GetActive() bool
GetActive returns the Active field if non-nil, zero value otherwise.
func (o *Segment) GetActiveOk() (*bool, bool)
GetActiveOk returns a tuple with the Active field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Segment) SetActive(v bool)
SetActive sets Active field to given value.
func (o *Segment) HasActive() bool
HasActive returns a boolean if a field has been set.