Name | Type | Description | Notes |
---|---|---|---|
AccountId | Pointer to string | Account ID that is tied to this agent. Only included on your own agent. | [optional] |
Symbol | string | Symbol of the agent. | |
Headquarters | string | The headquarters of the agent. | |
Credits | int64 | The number of credits the agent has available. Credits can be negative if funds have been overdrawn. | |
StartingFaction | string | The faction the agent started with. | |
ShipCount | int32 | How many ships are owned by the agent. |
func NewAgent(symbol string, headquarters string, credits int64, startingFaction string, shipCount int32, ) *Agent
NewAgent instantiates a new Agent 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 NewAgentWithDefaults() *Agent
NewAgentWithDefaults instantiates a new Agent 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 *Agent) GetAccountId() string
GetAccountId returns the AccountId field if non-nil, zero value otherwise.
func (o *Agent) GetAccountIdOk() (*string, bool)
GetAccountIdOk returns a tuple with the AccountId field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Agent) SetAccountId(v string)
SetAccountId sets AccountId field to given value.
func (o *Agent) HasAccountId() bool
HasAccountId returns a boolean if a field has been set.
func (o *Agent) GetSymbol() string
GetSymbol returns the Symbol field if non-nil, zero value otherwise.
func (o *Agent) GetSymbolOk() (*string, bool)
GetSymbolOk returns a tuple with the Symbol field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Agent) SetSymbol(v string)
SetSymbol sets Symbol field to given value.
func (o *Agent) GetHeadquarters() string
GetHeadquarters returns the Headquarters field if non-nil, zero value otherwise.
func (o *Agent) GetHeadquartersOk() (*string, bool)
GetHeadquartersOk returns a tuple with the Headquarters field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Agent) SetHeadquarters(v string)
SetHeadquarters sets Headquarters field to given value.
func (o *Agent) GetCredits() int64
GetCredits returns the Credits field if non-nil, zero value otherwise.
func (o *Agent) GetCreditsOk() (*int64, bool)
GetCreditsOk returns a tuple with the Credits field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Agent) SetCredits(v int64)
SetCredits sets Credits field to given value.
func (o *Agent) GetStartingFaction() string
GetStartingFaction returns the StartingFaction field if non-nil, zero value otherwise.
func (o *Agent) GetStartingFactionOk() (*string, bool)
GetStartingFactionOk returns a tuple with the StartingFaction field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Agent) SetStartingFaction(v string)
SetStartingFaction sets StartingFaction field to given value.
func (o *Agent) GetShipCount() int32
GetShipCount returns the ShipCount field if non-nil, zero value otherwise.
func (o *Agent) GetShipCountOk() (*int32, bool)
GetShipCountOk returns a tuple with the ShipCount field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Agent) SetShipCount(v int32)
SetShipCount sets ShipCount field to given value.