Skip to content

Latest commit

 

History

History
134 lines (73 loc) · 4 KB

ContextSearch.md

File metadata and controls

134 lines (73 loc) · 4 KB

ContextSearch

Properties

Name Type Description Notes
Filter Pointer to string A collection of context filters [optional]
Sort Pointer to string Specifies a field by which to sort. LaunchDarkly supports sorting by timestamp in ascending order by specifying <code>ts</code> for this value, or descending order by specifying <code>-ts</code>. [optional]
Limit Pointer to int32 Specifies the maximum number of items in the collection to return (max: 50, default: 20) [optional]
ContinuationToken Pointer to string Limits results to contexts with sort values after the value specified. You can use this for pagination, however, we recommend using the <code>next</code> link instead, because this value is an obfuscated string. [optional]

Methods

NewContextSearch

func NewContextSearch() *ContextSearch

NewContextSearch instantiates a new ContextSearch 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

NewContextSearchWithDefaults

func NewContextSearchWithDefaults() *ContextSearch

NewContextSearchWithDefaults instantiates a new ContextSearch 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

GetFilter

func (o *ContextSearch) GetFilter() string

GetFilter returns the Filter field if non-nil, zero value otherwise.

GetFilterOk

func (o *ContextSearch) GetFilterOk() (*string, bool)

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

SetFilter

func (o *ContextSearch) SetFilter(v string)

SetFilter sets Filter field to given value.

HasFilter

func (o *ContextSearch) HasFilter() bool

HasFilter returns a boolean if a field has been set.

GetSort

func (o *ContextSearch) GetSort() string

GetSort returns the Sort field if non-nil, zero value otherwise.

GetSortOk

func (o *ContextSearch) GetSortOk() (*string, bool)

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

SetSort

func (o *ContextSearch) SetSort(v string)

SetSort sets Sort field to given value.

HasSort

func (o *ContextSearch) HasSort() bool

HasSort returns a boolean if a field has been set.

GetLimit

func (o *ContextSearch) GetLimit() int32

GetLimit returns the Limit field if non-nil, zero value otherwise.

GetLimitOk

func (o *ContextSearch) GetLimitOk() (*int32, bool)

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

SetLimit

func (o *ContextSearch) SetLimit(v int32)

SetLimit sets Limit field to given value.

HasLimit

func (o *ContextSearch) HasLimit() bool

HasLimit returns a boolean if a field has been set.

GetContinuationToken

func (o *ContextSearch) GetContinuationToken() string

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

GetContinuationTokenOk

func (o *ContextSearch) 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 *ContextSearch) SetContinuationToken(v string)

SetContinuationToken sets ContinuationToken field to given value.

HasContinuationToken

func (o *ContextSearch) HasContinuationToken() bool

HasContinuationToken returns a boolean if a field has been set.

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