Skip to main content

Segment

Properties​

NameTypeDescriptionNotes
IdPointer to stringThe segment's ID.[optional]
NamePointer to stringThe segment's business name.[optional]
CreatedPointer to SailPointTimeThe time when the segment is created.[optional]
ModifiedPointer to SailPointTimeThe time when the segment is modified.[optional]
DescriptionPointer to stringThe segment's optional description.[optional]
OwnerPointer to NullableOwnerReferenceSegments[optional]
VisibilityCriteriaPointer to SegmentVisibilityCriteria[optional]
ActivePointer to boolThis boolean indicates whether the segment is currently active. Inactive segments have no effect.[optional] [default to false]

Methods​

NewSegment​

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

NewSegmentWithDefaults​

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

GetId​

func (o *Segment) GetId() string

GetId returns the Id field if non-nil, zero value otherwise.

GetIdOk​

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.

SetId​

func (o *Segment) SetId(v string)

SetId sets Id field to given value.

HasId​

func (o *Segment) HasId() bool

HasId returns a boolean if a field has been set.

GetName​

func (o *Segment) GetName() string

GetName returns the Name field if non-nil, zero value otherwise.

GetNameOk​

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.

SetName​

func (o *Segment) SetName(v string)

SetName sets Name field to given value.

HasName​

func (o *Segment) HasName() bool

HasName returns a boolean if a field has been set.

GetCreated​

func (o *Segment) GetCreated() SailPointTime

GetCreated returns the Created field if non-nil, zero value otherwise.

GetCreatedOk​

func (o *Segment) GetCreatedOk() (*SailPointTime, 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.

SetCreated​

func (o *Segment) SetCreated(v SailPointTime)

SetCreated sets Created field to given value.

HasCreated​

func (o *Segment) HasCreated() bool

HasCreated returns a boolean if a field has been set.

GetModified​

func (o *Segment) GetModified() SailPointTime

GetModified returns the Modified field if non-nil, zero value otherwise.

GetModifiedOk​

func (o *Segment) GetModifiedOk() (*SailPointTime, 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.

SetModified​

func (o *Segment) SetModified(v SailPointTime)

SetModified sets Modified field to given value.

HasModified​

func (o *Segment) HasModified() bool

HasModified returns a boolean if a field has been set.

GetDescription​

func (o *Segment) GetDescription() string

GetDescription returns the Description field if non-nil, zero value otherwise.

GetDescriptionOk​

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.

SetDescription​

func (o *Segment) SetDescription(v string)

SetDescription sets Description field to given value.

HasDescription​

func (o *Segment) HasDescription() bool

HasDescription returns a boolean if a field has been set.

GetOwner​

func (o *Segment) GetOwner() OwnerReferenceSegments

GetOwner returns the Owner field if non-nil, zero value otherwise.

GetOwnerOk​

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.

SetOwner​

func (o *Segment) SetOwner(v OwnerReferenceSegments)

SetOwner sets Owner field to given value.

HasOwner​

func (o *Segment) HasOwner() bool

HasOwner returns a boolean if a field has been set.

SetOwnerNil​

func (o *Segment) SetOwnerNil(b bool)

SetOwnerNil sets the value for Owner to be an explicit nil

UnsetOwner​

func (o *Segment) UnsetOwner()

UnsetOwner ensures that no value is present for Owner, not even an explicit nil

GetVisibilityCriteria​

func (o *Segment) GetVisibilityCriteria() SegmentVisibilityCriteria

GetVisibilityCriteria returns the VisibilityCriteria field if non-nil, zero value otherwise.

GetVisibilityCriteriaOk​

func (o *Segment) GetVisibilityCriteriaOk() (*SegmentVisibilityCriteria, 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.

SetVisibilityCriteria​

func (o *Segment) SetVisibilityCriteria(v SegmentVisibilityCriteria)

SetVisibilityCriteria sets VisibilityCriteria field to given value.

HasVisibilityCriteria​

func (o *Segment) HasVisibilityCriteria() bool

HasVisibilityCriteria returns a boolean if a field has been set.

GetActive​

func (o *Segment) GetActive() bool

GetActive returns the Active field if non-nil, zero value otherwise.

GetActiveOk​

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.

SetActive​

func (o *Segment) SetActive(v bool)

SetActive sets Active field to given value.

HasActive​

func (o *Segment) HasActive() bool

HasActive returns a boolean if a field has been set.