Name | Type | Description | Notes |
---|---|---|---|
X | Pointer to float64 | The x coordinate. | [optional] |
Y | Pointer to float64 | The y coordinate. | [optional] |
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
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
func (o *Position) GetX() float64
GetX returns the X field if non-nil, zero value otherwise.
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.
func (o *Position) SetX(v float64)
SetX sets X field to given value.
func (o *Position) HasX() bool
HasX returns a boolean if a field has been set.
func (o *Position) GetY() float64
GetY returns the Y field if non-nil, zero value otherwise.
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.
func (o *Position) SetY(v float64)
SetY sets Y field to given value.
func (o *Position) HasY() bool
HasY returns a boolean if a field has been set.