Name | Type | Description | Notes |
---|---|---|---|
Direction | Pointer to PortSortDirection | [optional] [default to PORTSORTDIRECTION_DESC] | |
Property | Pointer to PortSortBy | [optional] [default to PORTSORTBY_DEVICE_NAME] |
func NewPortSortCriteria() *PortSortCriteria
NewPortSortCriteria instantiates a new PortSortCriteria 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 NewPortSortCriteriaWithDefaults() *PortSortCriteria
NewPortSortCriteriaWithDefaults instantiates a new PortSortCriteria 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 *PortSortCriteria) GetDirection() PortSortDirection
GetDirection returns the Direction field if non-nil, zero value otherwise.
func (o *PortSortCriteria) GetDirectionOk() (*PortSortDirection, 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 *PortSortCriteria) SetDirection(v PortSortDirection)
SetDirection sets Direction field to given value.
func (o *PortSortCriteria) HasDirection() bool
HasDirection returns a boolean if a field has been set.
func (o *PortSortCriteria) GetProperty() PortSortBy
GetProperty returns the Property field if non-nil, zero value otherwise.
func (o *PortSortCriteria) GetPropertyOk() (*PortSortBy, 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 *PortSortCriteria) SetProperty(v PortSortBy)
SetProperty sets Property field to given value.
func (o *PortSortCriteria) HasProperty() bool
HasProperty returns a boolean if a field has been set.