Skip to content

Latest commit

 

History

History
82 lines (45 loc) · 1.92 KB

Position.md

File metadata and controls

82 lines (45 loc) · 1.92 KB

Position

Properties

Name Type Description Notes
X Pointer to float64 The x coordinate. [optional]
Y Pointer to float64 The y coordinate. [optional]

Methods

NewPosition

func NewPosition() *Position

NewPosition instantiates a new Position 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

NewPositionWithDefaults

func NewPositionWithDefaults() *Position

NewPositionWithDefaults instantiates a new Position 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

GetX

func (o *Position) GetX() float64

GetX returns the X field if non-nil, zero value otherwise.

GetXOk

func (o *Position) GetXOk() (*float64, bool)

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

SetX

func (o *Position) SetX(v float64)

SetX sets X field to given value.

HasX

func (o *Position) HasX() bool

HasX returns a boolean if a field has been set.

GetY

func (o *Position) GetY() float64

GetY returns the Y field if non-nil, zero value otherwise.

GetYOk

func (o *Position) GetYOk() (*float64, bool)

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

SetY

func (o *Position) SetY(v float64)

SetY sets Y field to given value.

HasY

func (o *Position) HasY() bool

HasY returns a boolean if a field has been set.

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