Skip to content

Latest commit

 

History

History
150 lines (81 loc) · 4.73 KB

File metadata and controls

150 lines (81 loc) · 4.73 KB

ContextInstances

Properties

Name Type Description Notes
Links Pointer to map[string]Link The location and content type of related resources [optional]
TotalCount Pointer to int32 The number of unique context instances [optional]
EnvironmentId string The environment ID
ContinuationToken Pointer to string An obfuscated string that references the last context instance on the previous page of results. You can use this for pagination, however, we recommend using the <code>next</code> link instead. [optional]
Items []ContextInstanceRecord A collection of context instances. Can include multiple versions of context instances that have the same <code>id</code>, but different <code>applicationId</code>s.

Methods

NewContextInstances

func NewContextInstances(environmentId string, items []ContextInstanceRecord, ) *ContextInstances

NewContextInstances instantiates a new ContextInstances 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

NewContextInstancesWithDefaults

func NewContextInstancesWithDefaults() *ContextInstances

NewContextInstancesWithDefaults instantiates a new ContextInstances 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

GetLinks

func (o *ContextInstances) GetLinks() map[string]Link

GetLinks returns the Links field if non-nil, zero value otherwise.

GetLinksOk

func (o *ContextInstances) GetLinksOk() (*map[string]Link, bool)

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

SetLinks

func (o *ContextInstances) SetLinks(v map[string]Link)

SetLinks sets Links field to given value.

HasLinks

func (o *ContextInstances) HasLinks() bool

HasLinks returns a boolean if a field has been set.

GetTotalCount

func (o *ContextInstances) GetTotalCount() int32

GetTotalCount returns the TotalCount field if non-nil, zero value otherwise.

GetTotalCountOk

func (o *ContextInstances) GetTotalCountOk() (*int32, bool)

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

SetTotalCount

func (o *ContextInstances) SetTotalCount(v int32)

SetTotalCount sets TotalCount field to given value.

HasTotalCount

func (o *ContextInstances) HasTotalCount() bool

HasTotalCount returns a boolean if a field has been set.

GetEnvironmentId

func (o *ContextInstances) GetEnvironmentId() string

GetEnvironmentId returns the EnvironmentId field if non-nil, zero value otherwise.

GetEnvironmentIdOk

func (o *ContextInstances) GetEnvironmentIdOk() (*string, bool)

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

SetEnvironmentId

func (o *ContextInstances) SetEnvironmentId(v string)

SetEnvironmentId sets EnvironmentId field to given value.

GetContinuationToken

func (o *ContextInstances) GetContinuationToken() string

GetContinuationToken returns the ContinuationToken field if non-nil, zero value otherwise.

GetContinuationTokenOk

func (o *ContextInstances) GetContinuationTokenOk() (*string, bool)

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

SetContinuationToken

func (o *ContextInstances) SetContinuationToken(v string)

SetContinuationToken sets ContinuationToken field to given value.

HasContinuationToken

func (o *ContextInstances) HasContinuationToken() bool

HasContinuationToken returns a boolean if a field has been set.

GetItems

func (o *ContextInstances) GetItems() []ContextInstanceRecord

GetItems returns the Items field if non-nil, zero value otherwise.

GetItemsOk

func (o *ContextInstances) GetItemsOk() (*[]ContextInstanceRecord, bool)

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

SetItems

func (o *ContextInstances) SetItems(v []ContextInstanceRecord)

SetItems sets Items field to given value.

[Back to Model list] [Back to API list] [Back to README]