Skip to content

Latest commit

 

History

History
119 lines (64 loc) · 5.05 KB

File metadata and controls

119 lines (64 loc) · 5.05 KB

V2ObjectsObjectRecordsQueryPostRequestSortsInner

Properties

Name Type Description Notes
Direction string The direction to sort the results by.
Attribute string A slug or ID to identify the attribute to sort by.
Field Pointer to string Which field on the value to sort by e.g. "last_name" on a name value. [optional]
Path [][]V2ObjectsObjectRecordsQueryPostRequestSortsInnerAnyOf1PathInnerInner You may use the `path` property to traverse record reference attributes and parent records on list entries. `path` accepts an array of tuples where the first element of each tuple is the slug or ID of a list/object, and the second element is the slug or ID of an attribute on that list/object. The first element of the first tuple must correspond to the list or object that you are querying. For example, if you wanted to sort by the name of the parent record (a company) on a list with the slug "sales", you would pass the value `[['sales', 'parent_record'], ['companies', 'name']]`.

Methods

NewV2ObjectsObjectRecordsQueryPostRequestSortsInner

func NewV2ObjectsObjectRecordsQueryPostRequestSortsInner(direction string, attribute string, path [][]V2ObjectsObjectRecordsQueryPostRequestSortsInnerAnyOf1PathInnerInner, ) *V2ObjectsObjectRecordsQueryPostRequestSortsInner

NewV2ObjectsObjectRecordsQueryPostRequestSortsInner instantiates a new V2ObjectsObjectRecordsQueryPostRequestSortsInner 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

NewV2ObjectsObjectRecordsQueryPostRequestSortsInnerWithDefaults

func NewV2ObjectsObjectRecordsQueryPostRequestSortsInnerWithDefaults() *V2ObjectsObjectRecordsQueryPostRequestSortsInner

NewV2ObjectsObjectRecordsQueryPostRequestSortsInnerWithDefaults instantiates a new V2ObjectsObjectRecordsQueryPostRequestSortsInner 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

GetDirection

func (o *V2ObjectsObjectRecordsQueryPostRequestSortsInner) GetDirection() string

GetDirection returns the Direction field if non-nil, zero value otherwise.

GetDirectionOk

func (o *V2ObjectsObjectRecordsQueryPostRequestSortsInner) GetDirectionOk() (*string, bool)

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

SetDirection

func (o *V2ObjectsObjectRecordsQueryPostRequestSortsInner) SetDirection(v string)

SetDirection sets Direction field to given value.

GetAttribute

func (o *V2ObjectsObjectRecordsQueryPostRequestSortsInner) GetAttribute() string

GetAttribute returns the Attribute field if non-nil, zero value otherwise.

GetAttributeOk

func (o *V2ObjectsObjectRecordsQueryPostRequestSortsInner) GetAttributeOk() (*string, bool)

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

SetAttribute

func (o *V2ObjectsObjectRecordsQueryPostRequestSortsInner) SetAttribute(v string)

SetAttribute sets Attribute field to given value.

GetField

func (o *V2ObjectsObjectRecordsQueryPostRequestSortsInner) GetField() string

GetField returns the Field field if non-nil, zero value otherwise.

GetFieldOk

func (o *V2ObjectsObjectRecordsQueryPostRequestSortsInner) GetFieldOk() (*string, bool)

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

SetField

func (o *V2ObjectsObjectRecordsQueryPostRequestSortsInner) SetField(v string)

SetField sets Field field to given value.

HasField

func (o *V2ObjectsObjectRecordsQueryPostRequestSortsInner) HasField() bool

HasField returns a boolean if a field has been set.

GetPath

func (o *V2ObjectsObjectRecordsQueryPostRequestSortsInner) GetPath() [][]V2ObjectsObjectRecordsQueryPostRequestSortsInnerAnyOf1PathInnerInner

GetPath returns the Path field if non-nil, zero value otherwise.

GetPathOk

func (o *V2ObjectsObjectRecordsQueryPostRequestSortsInner) GetPathOk() (*[][]V2ObjectsObjectRecordsQueryPostRequestSortsInnerAnyOf1PathInnerInner, bool)

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

SetPath

func (o *V2ObjectsObjectRecordsQueryPostRequestSortsInner) SetPath(v [][]V2ObjectsObjectRecordsQueryPostRequestSortsInnerAnyOf1PathInnerInner)

SetPath sets Path field to given value.

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