Skip to content

Latest commit

 

History

History
212 lines (115 loc) · 5.21 KB

File metadata and controls

212 lines (115 loc) · 5.21 KB

SegmentData

Properties

Name Type Description Notes
Id Pointer to string The segment ID [optional]
Name Pointer to string The segment name [optional]
CreatedAt Pointer to string Date segment created [optional]
UpdatedAt Pointer to string Date segment last updated [optional]
AppId Pointer to string The app id [optional]
ReadOnly Pointer to bool Is the segment read only? [optional]
IsActive Pointer to bool Is the segment active? [optional]

Methods

NewSegmentData

func NewSegmentData() *SegmentData

NewSegmentData instantiates a new SegmentData 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

NewSegmentDataWithDefaults

func NewSegmentDataWithDefaults() *SegmentData

NewSegmentDataWithDefaults instantiates a new SegmentData 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 *SegmentData) GetId() string

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

GetIdOk

func (o *SegmentData) 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 *SegmentData) SetId(v string)

SetId sets Id field to given value.

HasId

func (o *SegmentData) HasId() bool

HasId returns a boolean if a field has been set.

GetName

func (o *SegmentData) GetName() string

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

GetNameOk

func (o *SegmentData) 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 *SegmentData) SetName(v string)

SetName sets Name field to given value.

HasName

func (o *SegmentData) HasName() bool

HasName returns a boolean if a field has been set.

GetCreatedAt

func (o *SegmentData) GetCreatedAt() string

GetCreatedAt returns the CreatedAt field if non-nil, zero value otherwise.

GetCreatedAtOk

func (o *SegmentData) GetCreatedAtOk() (*string, bool)

GetCreatedAtOk returns a tuple with the CreatedAt field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetCreatedAt

func (o *SegmentData) SetCreatedAt(v string)

SetCreatedAt sets CreatedAt field to given value.

HasCreatedAt

func (o *SegmentData) HasCreatedAt() bool

HasCreatedAt returns a boolean if a field has been set.

GetUpdatedAt

func (o *SegmentData) GetUpdatedAt() string

GetUpdatedAt returns the UpdatedAt field if non-nil, zero value otherwise.

GetUpdatedAtOk

func (o *SegmentData) GetUpdatedAtOk() (*string, bool)

GetUpdatedAtOk returns a tuple with the UpdatedAt field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetUpdatedAt

func (o *SegmentData) SetUpdatedAt(v string)

SetUpdatedAt sets UpdatedAt field to given value.

HasUpdatedAt

func (o *SegmentData) HasUpdatedAt() bool

HasUpdatedAt returns a boolean if a field has been set.

GetAppId

func (o *SegmentData) GetAppId() string

GetAppId returns the AppId field if non-nil, zero value otherwise.

GetAppIdOk

func (o *SegmentData) GetAppIdOk() (*string, bool)

GetAppIdOk returns a tuple with the AppId field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetAppId

func (o *SegmentData) SetAppId(v string)

SetAppId sets AppId field to given value.

HasAppId

func (o *SegmentData) HasAppId() bool

HasAppId returns a boolean if a field has been set.

GetReadOnly

func (o *SegmentData) GetReadOnly() bool

GetReadOnly returns the ReadOnly field if non-nil, zero value otherwise.

GetReadOnlyOk

func (o *SegmentData) GetReadOnlyOk() (*bool, bool)

GetReadOnlyOk returns a tuple with the ReadOnly field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetReadOnly

func (o *SegmentData) SetReadOnly(v bool)

SetReadOnly sets ReadOnly field to given value.

HasReadOnly

func (o *SegmentData) HasReadOnly() bool

HasReadOnly returns a boolean if a field has been set.

GetIsActive

func (o *SegmentData) GetIsActive() bool

GetIsActive returns the IsActive field if non-nil, zero value otherwise.

GetIsActiveOk

func (o *SegmentData) GetIsActiveOk() (*bool, bool)

GetIsActiveOk returns a tuple with the IsActive field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetIsActive

func (o *SegmentData) SetIsActive(v bool)

SetIsActive sets IsActive field to given value.

HasIsActive

func (o *SegmentData) HasIsActive() bool

HasIsActive returns a boolean if a field has been set.

[Back to API list] [Back to README]