spacetraders/docs/ExtractResources201Response...

2.9 KiB

ExtractResources201ResponseData

Properties

Name Type Description Notes
Cooldown Cooldown
Extraction Extraction
Cargo ShipCargo

Methods

NewExtractResources201ResponseData

func NewExtractResources201ResponseData(cooldown Cooldown, extraction Extraction, cargo ShipCargo, ) *ExtractResources201ResponseData

NewExtractResources201ResponseData instantiates a new ExtractResources201ResponseData 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

NewExtractResources201ResponseDataWithDefaults

func NewExtractResources201ResponseDataWithDefaults() *ExtractResources201ResponseData

NewExtractResources201ResponseDataWithDefaults instantiates a new ExtractResources201ResponseData 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

GetCooldown

func (o *ExtractResources201ResponseData) GetCooldown() Cooldown

GetCooldown returns the Cooldown field if non-nil, zero value otherwise.

GetCooldownOk

func (o *ExtractResources201ResponseData) GetCooldownOk() (*Cooldown, bool)

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

SetCooldown

func (o *ExtractResources201ResponseData) SetCooldown(v Cooldown)

SetCooldown sets Cooldown field to given value.

GetExtraction

func (o *ExtractResources201ResponseData) GetExtraction() Extraction

GetExtraction returns the Extraction field if non-nil, zero value otherwise.

GetExtractionOk

func (o *ExtractResources201ResponseData) GetExtractionOk() (*Extraction, bool)

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

SetExtraction

func (o *ExtractResources201ResponseData) SetExtraction(v Extraction)

SetExtraction sets Extraction field to given value.

GetCargo

func (o *ExtractResources201ResponseData) GetCargo() ShipCargo

GetCargo returns the Cargo field if non-nil, zero value otherwise.

GetCargoOk

func (o *ExtractResources201ResponseData) GetCargoOk() (*ShipCargo, bool)

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

SetCargo

func (o *ExtractResources201ResponseData) SetCargo(v ShipCargo)

SetCargo sets Cargo field to given value.

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