Name | Type | Description | Notes |
---|---|---|---|
AccountId | string | ||
Symbol | string | ||
Headquarters | string | The headquarters of the agent. | |
Credits | int32 | 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. |
func NewAgent(accountId string, symbol string, headquarters string, credits int32, startingFaction string, ) *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) 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() int32
GetCredits returns the Credits field if non-nil, zero value otherwise.
func (o *Agent) GetCreditsOk() (*int32, 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 int32)
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.