Name | Type | Description | Notes |
---|---|---|---|
FlightMode | Pointer to ShipNavFlightMode | [optional] [default to SHIPNAVFLIGHTMODE_CRUISE] |
func NewPatchShipNavRequest() *PatchShipNavRequest
NewPatchShipNavRequest instantiates a new PatchShipNavRequest 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 NewPatchShipNavRequestWithDefaults() *PatchShipNavRequest
NewPatchShipNavRequestWithDefaults instantiates a new PatchShipNavRequest 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 *PatchShipNavRequest) GetFlightMode() ShipNavFlightMode
GetFlightMode returns the FlightMode field if non-nil, zero value otherwise.
func (o *PatchShipNavRequest) GetFlightModeOk() (*ShipNavFlightMode, bool)
GetFlightModeOk returns a tuple with the FlightMode field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *PatchShipNavRequest) SetFlightMode(v ShipNavFlightMode)
SetFlightMode sets FlightMode field to given value.
func (o *PatchShipNavRequest) HasFlightMode() bool
HasFlightMode returns a boolean if a field has been set.