Name | Type | Description | Notes |
---|---|---|---|
Direction | Pointer to SortDirection | [optional] [default to SORTDIRECTION_DESC] | |
Property | Pointer to SortBy | [optional] [default to SORTBY_CHANGE_LOG_UPDATED_DATE_TIME] |
func NewSortCriteria() *SortCriteria
NewSortCriteria instantiates a new SortCriteria 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
func NewSortCriteriaWithDefaults() *SortCriteria
NewSortCriteriaWithDefaults instantiates a new SortCriteria 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
func (o *SortCriteria) GetDirection() SortDirection
GetDirection returns the Direction field if non-nil, zero value otherwise.
func (o *SortCriteria) GetDirectionOk() (*SortDirection, 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.
func (o *SortCriteria) SetDirection(v SortDirection)
SetDirection sets Direction field to given value.
func (o *SortCriteria) HasDirection() bool
HasDirection returns a boolean if a field has been set.
func (o *SortCriteria) GetProperty() SortBy
GetProperty returns the Property field if non-nil, zero value otherwise.
func (o *SortCriteria) GetPropertyOk() (*SortBy, bool)
GetPropertyOk returns a tuple with the Property field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *SortCriteria) SetProperty(v SortBy)
SetProperty sets Property field to given value.
func (o *SortCriteria) HasProperty() bool
HasProperty returns a boolean if a field has been set.