Documentation ¶
Index ¶
- Variables
- func CacheExpires(r *http.Response) time.Time
- func PtrBool(v bool) *bool
- func PtrFloat32(v float32) *float32
- func PtrFloat64(v float64) *float64
- func PtrInt(v int) *int
- func PtrInt32(v int32) *int32
- func PtrInt64(v int64) *int64
- func PtrString(v string) *string
- func PtrTime(v time.Time) *time.Time
- type APIClient
- type APIKey
- type ApiDeleteItemItemRequest
- type ApiDeleteMonsterItemRequest
- type ApiDeletePrayerItemRequest
- type ApiDeleteitemsRequest
- type ApiDeletemonstersRequest
- type ApiDeleteprayersRequest
- type ApiGetItemItemRequest
- type ApiGetMonsterItemRequest
- type ApiGetPrayerItemRequest
- type ApiGetitemsRequest
- func (r ApiGetitemsRequest) Execute() (InlineResponse200, *_nethttp.Response, error)
- func (r ApiGetitemsRequest) MaxResults(maxResults int32) ApiGetitemsRequest
- func (r ApiGetitemsRequest) Page(page int32) ApiGetitemsRequest
- func (r ApiGetitemsRequest) Projection(projection string) ApiGetitemsRequest
- func (r ApiGetitemsRequest) Sort(sort string) ApiGetitemsRequest
- func (r ApiGetitemsRequest) Where(where string) ApiGetitemsRequest
- type ApiGetmonstersRequest
- func (r ApiGetmonstersRequest) Execute() (InlineResponse2003, *_nethttp.Response, error)
- func (r ApiGetmonstersRequest) MaxResults(maxResults int32) ApiGetmonstersRequest
- func (r ApiGetmonstersRequest) Page(page int32) ApiGetmonstersRequest
- func (r ApiGetmonstersRequest) Projection(projection string) ApiGetmonstersRequest
- func (r ApiGetmonstersRequest) Sort(sort string) ApiGetmonstersRequest
- func (r ApiGetmonstersRequest) Where(where string) ApiGetmonstersRequest
- type ApiGetprayersRequest
- func (r ApiGetprayersRequest) Execute() (InlineResponse2004, *_nethttp.Response, error)
- func (r ApiGetprayersRequest) MaxResults(maxResults int32) ApiGetprayersRequest
- func (r ApiGetprayersRequest) Page(page int32) ApiGetprayersRequest
- func (r ApiGetprayersRequest) Projection(projection string) ApiGetprayersRequest
- func (r ApiGetprayersRequest) Sort(sort string) ApiGetprayersRequest
- func (r ApiGetprayersRequest) Where(where string) ApiGetprayersRequest
- type ApiPostitemsRequest
- type ApiPostmonstersRequest
- type ApiPostprayersRequest
- type ApiPutItemItemRequest
- type ApiPutMonsterItemRequest
- type ApiPutPrayerItemRequest
- type BasicAuth
- type Configuration
- type Equipment
- func (o *Equipment) GetBuyLimit() int32
- func (o *Equipment) GetBuyLimitOk() (*int32, bool)
- func (o *Equipment) GetCost() int32
- func (o *Equipment) GetCostOk() (*int32, bool)
- func (o *Equipment) GetDuplicate() bool
- func (o *Equipment) GetDuplicateOk() (*bool, bool)
- func (o *Equipment) GetEquipable() bool
- func (o *Equipment) GetEquipableByPlayer() bool
- func (o *Equipment) GetEquipableByPlayerOk() (*bool, bool)
- func (o *Equipment) GetEquipableOk() (*bool, bool)
- func (o *Equipment) GetEquipableWeapon() bool
- func (o *Equipment) GetEquipableWeaponOk() (*bool, bool)
- func (o *Equipment) GetEquipment() ItemEquipment
- func (o *Equipment) GetEquipmentOk() (*ItemEquipment, bool)
- func (o *Equipment) GetExamine() string
- func (o *Equipment) GetExamineOk() (*string, bool)
- func (o *Equipment) GetHighalch() int32
- func (o *Equipment) GetHighalchOk() (*int32, bool)
- func (o *Equipment) GetIcon() string
- func (o *Equipment) GetIconOk() (*string, bool)
- func (o *Equipment) GetId() string
- func (o *Equipment) GetIdOk() (*string, bool)
- func (o *Equipment) GetIncomplete() bool
- func (o *Equipment) GetIncompleteOk() (*bool, bool)
- func (o *Equipment) GetLastUpdated() string
- func (o *Equipment) GetLastUpdatedOk() (*string, bool)
- func (o *Equipment) GetLinkedIdItem() int32
- func (o *Equipment) GetLinkedIdItemOk() (*int32, bool)
- func (o *Equipment) GetLinkedIdNoted() int32
- func (o *Equipment) GetLinkedIdNotedOk() (*int32, bool)
- func (o *Equipment) GetLinkedIdPlaceholder() int32
- func (o *Equipment) GetLinkedIdPlaceholderOk() (*int32, bool)
- func (o *Equipment) GetLowalch() int32
- func (o *Equipment) GetLowalchOk() (*int32, bool)
- func (o *Equipment) GetMembers() bool
- func (o *Equipment) GetMembersOk() (*bool, bool)
- func (o *Equipment) GetName() string
- func (o *Equipment) GetNameOk() (*string, bool)
- func (o *Equipment) GetNoteable() bool
- func (o *Equipment) GetNoteableOk() (*bool, bool)
- func (o *Equipment) GetNoted() bool
- func (o *Equipment) GetNotedOk() (*bool, bool)
- func (o *Equipment) GetPlaceholder() bool
- func (o *Equipment) GetPlaceholderOk() (*bool, bool)
- func (o *Equipment) GetQuestItem() bool
- func (o *Equipment) GetQuestItemOk() (*bool, bool)
- func (o *Equipment) GetReleaseDate() string
- func (o *Equipment) GetReleaseDateOk() (*string, bool)
- func (o *Equipment) GetStackable() bool
- func (o *Equipment) GetStackableOk() (*bool, bool)
- func (o *Equipment) GetStacked() int32
- func (o *Equipment) GetStackedOk() (*int32, bool)
- func (o *Equipment) GetTradeable() bool
- func (o *Equipment) GetTradeableOk() (*bool, bool)
- func (o *Equipment) GetTradeableOnGe() bool
- func (o *Equipment) GetTradeableOnGeOk() (*bool, bool)
- func (o *Equipment) GetWeapon() ItemWeapon
- func (o *Equipment) GetWeaponOk() (*ItemWeapon, bool)
- func (o *Equipment) GetWeight() float32
- func (o *Equipment) GetWeightOk() (*float32, bool)
- func (o *Equipment) GetWikiName() string
- func (o *Equipment) GetWikiNameOk() (*string, bool)
- func (o *Equipment) GetWikiUrl() string
- func (o *Equipment) GetWikiUrlOk() (*string, bool)
- func (o Equipment) MarshalJSON() ([]byte, error)
- func (o *Equipment) SetBuyLimit(v int32)
- func (o *Equipment) SetCost(v int32)
- func (o *Equipment) SetDuplicate(v bool)
- func (o *Equipment) SetEquipable(v bool)
- func (o *Equipment) SetEquipableByPlayer(v bool)
- func (o *Equipment) SetEquipableWeapon(v bool)
- func (o *Equipment) SetEquipment(v ItemEquipment)
- func (o *Equipment) SetExamine(v string)
- func (o *Equipment) SetHighalch(v int32)
- func (o *Equipment) SetIcon(v string)
- func (o *Equipment) SetId(v string)
- func (o *Equipment) SetIncomplete(v bool)
- func (o *Equipment) SetLastUpdated(v string)
- func (o *Equipment) SetLinkedIdItem(v int32)
- func (o *Equipment) SetLinkedIdNoted(v int32)
- func (o *Equipment) SetLinkedIdPlaceholder(v int32)
- func (o *Equipment) SetLowalch(v int32)
- func (o *Equipment) SetMembers(v bool)
- func (o *Equipment) SetName(v string)
- func (o *Equipment) SetNoteable(v bool)
- func (o *Equipment) SetNoted(v bool)
- func (o *Equipment) SetPlaceholder(v bool)
- func (o *Equipment) SetQuestItem(v bool)
- func (o *Equipment) SetReleaseDate(v string)
- func (o *Equipment) SetStackable(v bool)
- func (o *Equipment) SetStacked(v int32)
- func (o *Equipment) SetTradeable(v bool)
- func (o *Equipment) SetTradeableOnGe(v bool)
- func (o *Equipment) SetWeapon(v ItemWeapon)
- func (o *Equipment) SetWeight(v float32)
- func (o *Equipment) SetWikiName(v string)
- func (o *Equipment) SetWikiUrl(v string)
- type Error
- type ErrorError
- func (o *ErrorError) GetCode() int32
- func (o *ErrorError) GetCodeOk() (*int32, bool)
- func (o *ErrorError) GetMessage() string
- func (o *ErrorError) GetMessageOk() (*string, bool)
- func (o *ErrorError) HasCode() bool
- func (o *ErrorError) HasMessage() bool
- func (o ErrorError) MarshalJSON() ([]byte, error)
- func (o *ErrorError) SetCode(v int32)
- func (o *ErrorError) SetMessage(v string)
- type GenericOpenAPIError
- type IconsItem
- type IconsPrayer
- func (o *IconsPrayer) GetIcon() string
- func (o *IconsPrayer) GetIconOk() (*string, bool)
- func (o *IconsPrayer) GetId() string
- func (o *IconsPrayer) GetIdOk() (*string, bool)
- func (o IconsPrayer) MarshalJSON() ([]byte, error)
- func (o *IconsPrayer) SetIcon(v string)
- func (o *IconsPrayer) SetId(v string)
- type InlineResponse200
- func (o *InlineResponse200) GetItems() []Item
- func (o *InlineResponse200) GetItemsOk() (*[]Item, bool)
- func (o *InlineResponse200) GetLinks() ResponeLinks
- func (o *InlineResponse200) GetLinksOk() (*ResponeLinks, bool)
- func (o *InlineResponse200) GetMeta() ResponeMetadata
- func (o *InlineResponse200) GetMetaOk() (*ResponeMetadata, bool)
- func (o *InlineResponse200) HasItems() bool
- func (o *InlineResponse200) HasLinks() bool
- func (o *InlineResponse200) HasMeta() bool
- func (o InlineResponse200) MarshalJSON() ([]byte, error)
- func (o *InlineResponse200) SetItems(v []Item)
- func (o *InlineResponse200) SetLinks(v ResponeLinks)
- func (o *InlineResponse200) SetMeta(v ResponeMetadata)
- type InlineResponse2001
- func (o *InlineResponse2001) GetItems() []Weapon
- func (o *InlineResponse2001) GetItemsOk() (*[]Weapon, bool)
- func (o *InlineResponse2001) GetLinks() ResponeLinks
- func (o *InlineResponse2001) GetLinksOk() (*ResponeLinks, bool)
- func (o *InlineResponse2001) GetMeta() ResponeMetadata
- func (o *InlineResponse2001) GetMetaOk() (*ResponeMetadata, bool)
- func (o *InlineResponse2001) HasItems() bool
- func (o *InlineResponse2001) HasLinks() bool
- func (o *InlineResponse2001) HasMeta() bool
- func (o InlineResponse2001) MarshalJSON() ([]byte, error)
- func (o *InlineResponse2001) SetItems(v []Weapon)
- func (o *InlineResponse2001) SetLinks(v ResponeLinks)
- func (o *InlineResponse2001) SetMeta(v ResponeMetadata)
- type InlineResponse2002
- func (o *InlineResponse2002) GetItems() []Equipment
- func (o *InlineResponse2002) GetItemsOk() (*[]Equipment, bool)
- func (o *InlineResponse2002) GetLinks() ResponeLinks
- func (o *InlineResponse2002) GetLinksOk() (*ResponeLinks, bool)
- func (o *InlineResponse2002) GetMeta() ResponeMetadata
- func (o *InlineResponse2002) GetMetaOk() (*ResponeMetadata, bool)
- func (o *InlineResponse2002) HasItems() bool
- func (o *InlineResponse2002) HasLinks() bool
- func (o *InlineResponse2002) HasMeta() bool
- func (o InlineResponse2002) MarshalJSON() ([]byte, error)
- func (o *InlineResponse2002) SetItems(v []Equipment)
- func (o *InlineResponse2002) SetLinks(v ResponeLinks)
- func (o *InlineResponse2002) SetMeta(v ResponeMetadata)
- type InlineResponse2003
- func (o *InlineResponse2003) GetItems() []Monster
- func (o *InlineResponse2003) GetItemsOk() (*[]Monster, bool)
- func (o *InlineResponse2003) GetLinks() ResponeLinks
- func (o *InlineResponse2003) GetLinksOk() (*ResponeLinks, bool)
- func (o *InlineResponse2003) GetMeta() ResponeMetadata
- func (o *InlineResponse2003) GetMetaOk() (*ResponeMetadata, bool)
- func (o *InlineResponse2003) HasItems() bool
- func (o *InlineResponse2003) HasLinks() bool
- func (o *InlineResponse2003) HasMeta() bool
- func (o InlineResponse2003) MarshalJSON() ([]byte, error)
- func (o *InlineResponse2003) SetItems(v []Monster)
- func (o *InlineResponse2003) SetLinks(v ResponeLinks)
- func (o *InlineResponse2003) SetMeta(v ResponeMetadata)
- type InlineResponse2004
- func (o *InlineResponse2004) GetItems() []Prayer
- func (o *InlineResponse2004) GetItemsOk() (*[]Prayer, bool)
- func (o *InlineResponse2004) GetLinks() ResponeLinks
- func (o *InlineResponse2004) GetLinksOk() (*ResponeLinks, bool)
- func (o *InlineResponse2004) GetMeta() ResponeMetadata
- func (o *InlineResponse2004) GetMetaOk() (*ResponeMetadata, bool)
- func (o *InlineResponse2004) HasItems() bool
- func (o *InlineResponse2004) HasLinks() bool
- func (o *InlineResponse2004) HasMeta() bool
- func (o InlineResponse2004) MarshalJSON() ([]byte, error)
- func (o *InlineResponse2004) SetItems(v []Prayer)
- func (o *InlineResponse2004) SetLinks(v ResponeLinks)
- func (o *InlineResponse2004) SetMeta(v ResponeMetadata)
- type InlineResponse2005
- func (o *InlineResponse2005) GetItems() []IconsItem
- func (o *InlineResponse2005) GetItemsOk() (*[]IconsItem, bool)
- func (o *InlineResponse2005) GetLinks() ResponeLinks
- func (o *InlineResponse2005) GetLinksOk() (*ResponeLinks, bool)
- func (o *InlineResponse2005) GetMeta() ResponeMetadata
- func (o *InlineResponse2005) GetMetaOk() (*ResponeMetadata, bool)
- func (o *InlineResponse2005) HasItems() bool
- func (o *InlineResponse2005) HasLinks() bool
- func (o *InlineResponse2005) HasMeta() bool
- func (o InlineResponse2005) MarshalJSON() ([]byte, error)
- func (o *InlineResponse2005) SetItems(v []IconsItem)
- func (o *InlineResponse2005) SetLinks(v ResponeLinks)
- func (o *InlineResponse2005) SetMeta(v ResponeMetadata)
- type InlineResponse2006
- func (o *InlineResponse2006) GetItems() []IconsPrayer
- func (o *InlineResponse2006) GetItemsOk() (*[]IconsPrayer, bool)
- func (o *InlineResponse2006) GetLinks() ResponeLinks
- func (o *InlineResponse2006) GetLinksOk() (*ResponeLinks, bool)
- func (o *InlineResponse2006) GetMeta() ResponeMetadata
- func (o *InlineResponse2006) GetMetaOk() (*ResponeMetadata, bool)
- func (o *InlineResponse2006) HasItems() bool
- func (o *InlineResponse2006) HasLinks() bool
- func (o *InlineResponse2006) HasMeta() bool
- func (o InlineResponse2006) MarshalJSON() ([]byte, error)
- func (o *InlineResponse2006) SetItems(v []IconsPrayer)
- func (o *InlineResponse2006) SetLinks(v ResponeLinks)
- func (o *InlineResponse2006) SetMeta(v ResponeMetadata)
- type Item
- func (o *Item) GetBuyLimit() int32
- func (o *Item) GetBuyLimitOk() (*int32, bool)
- func (o *Item) GetCost() int32
- func (o *Item) GetCostOk() (*int32, bool)
- func (o *Item) GetDuplicate() bool
- func (o *Item) GetDuplicateOk() (*bool, bool)
- func (o *Item) GetEquipable() bool
- func (o *Item) GetEquipableByPlayer() bool
- func (o *Item) GetEquipableByPlayerOk() (*bool, bool)
- func (o *Item) GetEquipableOk() (*bool, bool)
- func (o *Item) GetEquipableWeapon() bool
- func (o *Item) GetEquipableWeaponOk() (*bool, bool)
- func (o *Item) GetEquipment() ItemEquipment
- func (o *Item) GetEquipmentOk() (*ItemEquipment, bool)
- func (o *Item) GetExamine() string
- func (o *Item) GetExamineOk() (*string, bool)
- func (o *Item) GetHighalch() int32
- func (o *Item) GetHighalchOk() (*int32, bool)
- func (o *Item) GetIcon() string
- func (o *Item) GetIconOk() (*string, bool)
- func (o *Item) GetId() string
- func (o *Item) GetIdOk() (*string, bool)
- func (o *Item) GetIncomplete() bool
- func (o *Item) GetIncompleteOk() (*bool, bool)
- func (o *Item) GetLastUpdated() string
- func (o *Item) GetLastUpdatedOk() (*string, bool)
- func (o *Item) GetLinkedIdItem() int32
- func (o *Item) GetLinkedIdItemOk() (*int32, bool)
- func (o *Item) GetLinkedIdNoted() int32
- func (o *Item) GetLinkedIdNotedOk() (*int32, bool)
- func (o *Item) GetLinkedIdPlaceholder() int32
- func (o *Item) GetLinkedIdPlaceholderOk() (*int32, bool)
- func (o *Item) GetLowalch() int32
- func (o *Item) GetLowalchOk() (*int32, bool)
- func (o *Item) GetMembers() bool
- func (o *Item) GetMembersOk() (*bool, bool)
- func (o *Item) GetName() string
- func (o *Item) GetNameOk() (*string, bool)
- func (o *Item) GetNoteable() bool
- func (o *Item) GetNoteableOk() (*bool, bool)
- func (o *Item) GetNoted() bool
- func (o *Item) GetNotedOk() (*bool, bool)
- func (o *Item) GetPlaceholder() bool
- func (o *Item) GetPlaceholderOk() (*bool, bool)
- func (o *Item) GetQuestItem() bool
- func (o *Item) GetQuestItemOk() (*bool, bool)
- func (o *Item) GetReleaseDate() string
- func (o *Item) GetReleaseDateOk() (*string, bool)
- func (o *Item) GetStackable() bool
- func (o *Item) GetStackableOk() (*bool, bool)
- func (o *Item) GetStacked() int32
- func (o *Item) GetStackedOk() (*int32, bool)
- func (o *Item) GetTradeable() bool
- func (o *Item) GetTradeableOk() (*bool, bool)
- func (o *Item) GetTradeableOnGe() bool
- func (o *Item) GetTradeableOnGeOk() (*bool, bool)
- func (o *Item) GetWeapon() ItemWeapon
- func (o *Item) GetWeaponOk() (*ItemWeapon, bool)
- func (o *Item) GetWeight() float32
- func (o *Item) GetWeightOk() (*float32, bool)
- func (o *Item) GetWikiName() string
- func (o *Item) GetWikiNameOk() (*string, bool)
- func (o *Item) GetWikiUrl() string
- func (o *Item) GetWikiUrlOk() (*string, bool)
- func (o Item) MarshalJSON() ([]byte, error)
- func (o *Item) SetBuyLimit(v int32)
- func (o *Item) SetCost(v int32)
- func (o *Item) SetDuplicate(v bool)
- func (o *Item) SetEquipable(v bool)
- func (o *Item) SetEquipableByPlayer(v bool)
- func (o *Item) SetEquipableWeapon(v bool)
- func (o *Item) SetEquipment(v ItemEquipment)
- func (o *Item) SetExamine(v string)
- func (o *Item) SetHighalch(v int32)
- func (o *Item) SetIcon(v string)
- func (o *Item) SetId(v string)
- func (o *Item) SetIncomplete(v bool)
- func (o *Item) SetLastUpdated(v string)
- func (o *Item) SetLinkedIdItem(v int32)
- func (o *Item) SetLinkedIdNoted(v int32)
- func (o *Item) SetLinkedIdPlaceholder(v int32)
- func (o *Item) SetLowalch(v int32)
- func (o *Item) SetMembers(v bool)
- func (o *Item) SetName(v string)
- func (o *Item) SetNoteable(v bool)
- func (o *Item) SetNoted(v bool)
- func (o *Item) SetPlaceholder(v bool)
- func (o *Item) SetQuestItem(v bool)
- func (o *Item) SetReleaseDate(v string)
- func (o *Item) SetStackable(v bool)
- func (o *Item) SetStacked(v int32)
- func (o *Item) SetTradeable(v bool)
- func (o *Item) SetTradeableOnGe(v bool)
- func (o *Item) SetWeapon(v ItemWeapon)
- func (o *Item) SetWeight(v float32)
- func (o *Item) SetWikiName(v string)
- func (o *Item) SetWikiUrl(v string)
- type ItemApiService
- func (a *ItemApiService) DeleteItemItem(ctx _context.Context, itemId string) ApiDeleteItemItemRequest
- func (a *ItemApiService) DeleteItemItemExecute(r ApiDeleteItemItemRequest) (*_nethttp.Response, error)
- func (a *ItemApiService) Deleteitems(ctx _context.Context) ApiDeleteitemsRequest
- func (a *ItemApiService) DeleteitemsExecute(r ApiDeleteitemsRequest) (*_nethttp.Response, error)
- func (a *ItemApiService) GetItemItem(ctx _context.Context, itemId string) ApiGetItemItemRequest
- func (a *ItemApiService) GetItemItemExecute(r ApiGetItemItemRequest) (Item, *_nethttp.Response, error)
- func (a *ItemApiService) Getitems(ctx _context.Context) ApiGetitemsRequest
- func (a *ItemApiService) GetitemsExecute(r ApiGetitemsRequest) (InlineResponse200, *_nethttp.Response, error)
- func (a *ItemApiService) Postitems(ctx _context.Context) ApiPostitemsRequest
- func (a *ItemApiService) PostitemsExecute(r ApiPostitemsRequest) (*_nethttp.Response, error)
- func (a *ItemApiService) PutItemItem(ctx _context.Context, itemId string) ApiPutItemItemRequest
- func (a *ItemApiService) PutItemItemExecute(r ApiPutItemItemRequest) (*_nethttp.Response, error)
- type ItemEquipment
- func (o *ItemEquipment) GetAttackCrush() int32
- func (o *ItemEquipment) GetAttackCrushOk() (*int32, bool)
- func (o *ItemEquipment) GetAttackMagic() int32
- func (o *ItemEquipment) GetAttackMagicOk() (*int32, bool)
- func (o *ItemEquipment) GetAttackRanged() int32
- func (o *ItemEquipment) GetAttackRangedOk() (*int32, bool)
- func (o *ItemEquipment) GetAttackSlash() int32
- func (o *ItemEquipment) GetAttackSlashOk() (*int32, bool)
- func (o *ItemEquipment) GetAttackStab() int32
- func (o *ItemEquipment) GetAttackStabOk() (*int32, bool)
- func (o *ItemEquipment) GetDefenceCrush() int32
- func (o *ItemEquipment) GetDefenceCrushOk() (*int32, bool)
- func (o *ItemEquipment) GetDefenceMagic() int32
- func (o *ItemEquipment) GetDefenceMagicOk() (*int32, bool)
- func (o *ItemEquipment) GetDefenceRanged() int32
- func (o *ItemEquipment) GetDefenceRangedOk() (*int32, bool)
- func (o *ItemEquipment) GetDefenceSlash() int32
- func (o *ItemEquipment) GetDefenceSlashOk() (*int32, bool)
- func (o *ItemEquipment) GetDefenceStab() int32
- func (o *ItemEquipment) GetDefenceStabOk() (*int32, bool)
- func (o *ItemEquipment) GetMagicDamage() int32
- func (o *ItemEquipment) GetMagicDamageOk() (*int32, bool)
- func (o *ItemEquipment) GetMeleeStrength() int32
- func (o *ItemEquipment) GetMeleeStrengthOk() (*int32, bool)
- func (o *ItemEquipment) GetPrayer() int32
- func (o *ItemEquipment) GetPrayerOk() (*int32, bool)
- func (o *ItemEquipment) GetRangedStrength() int32
- func (o *ItemEquipment) GetRangedStrengthOk() (*int32, bool)
- func (o *ItemEquipment) GetRequirements() map[string]interface{}
- func (o *ItemEquipment) GetRequirementsOk() (*map[string]interface{}, bool)
- func (o *ItemEquipment) GetSlot() string
- func (o *ItemEquipment) GetSlotOk() (*string, bool)
- func (o ItemEquipment) MarshalJSON() ([]byte, error)
- func (o *ItemEquipment) SetAttackCrush(v int32)
- func (o *ItemEquipment) SetAttackMagic(v int32)
- func (o *ItemEquipment) SetAttackRanged(v int32)
- func (o *ItemEquipment) SetAttackSlash(v int32)
- func (o *ItemEquipment) SetAttackStab(v int32)
- func (o *ItemEquipment) SetDefenceCrush(v int32)
- func (o *ItemEquipment) SetDefenceMagic(v int32)
- func (o *ItemEquipment) SetDefenceRanged(v int32)
- func (o *ItemEquipment) SetDefenceSlash(v int32)
- func (o *ItemEquipment) SetDefenceStab(v int32)
- func (o *ItemEquipment) SetMagicDamage(v int32)
- func (o *ItemEquipment) SetMeleeStrength(v int32)
- func (o *ItemEquipment) SetPrayer(v int32)
- func (o *ItemEquipment) SetRangedStrength(v int32)
- func (o *ItemEquipment) SetRequirements(v map[string]interface{})
- func (o *ItemEquipment) SetSlot(v string)
- type ItemWeapon
- func (o *ItemWeapon) GetAttackSpeed() int32
- func (o *ItemWeapon) GetAttackSpeedOk() (*int32, bool)
- func (o *ItemWeapon) GetStances() []ItemWeaponStances
- func (o *ItemWeapon) GetStancesOk() (*[]ItemWeaponStances, bool)
- func (o *ItemWeapon) GetWeaponType() string
- func (o *ItemWeapon) GetWeaponTypeOk() (*string, bool)
- func (o ItemWeapon) MarshalJSON() ([]byte, error)
- func (o *ItemWeapon) SetAttackSpeed(v int32)
- func (o *ItemWeapon) SetStances(v []ItemWeaponStances)
- func (o *ItemWeapon) SetWeaponType(v string)
- type ItemWeaponStances
- func (o *ItemWeaponStances) GetAttackStyle() string
- func (o *ItemWeaponStances) GetAttackStyleOk() (*string, bool)
- func (o *ItemWeaponStances) GetAttackType() string
- func (o *ItemWeaponStances) GetAttackTypeOk() (*string, bool)
- func (o *ItemWeaponStances) GetBoosts() string
- func (o *ItemWeaponStances) GetBoostsOk() (*string, bool)
- func (o *ItemWeaponStances) GetCombatStyle() string
- func (o *ItemWeaponStances) GetCombatStyleOk() (*string, bool)
- func (o *ItemWeaponStances) GetExperience() string
- func (o *ItemWeaponStances) GetExperienceOk() (*string, bool)
- func (o ItemWeaponStances) MarshalJSON() ([]byte, error)
- func (o *ItemWeaponStances) SetAttackStyle(v string)
- func (o *ItemWeaponStances) SetAttackType(v string)
- func (o *ItemWeaponStances) SetBoosts(v string)
- func (o *ItemWeaponStances) SetCombatStyle(v string)
- func (o *ItemWeaponStances) SetExperience(v string)
- type Monster
- func (o *Monster) GetAggressive() bool
- func (o *Monster) GetAggressiveOk() (*bool, bool)
- func (o *Monster) GetAttackBonus() int32
- func (o *Monster) GetAttackBonusOk() (*int32, bool)
- func (o *Monster) GetAttackLevel() int32
- func (o *Monster) GetAttackLevelOk() (*int32, bool)
- func (o *Monster) GetAttackMagic() int32
- func (o *Monster) GetAttackMagicOk() (*int32, bool)
- func (o *Monster) GetAttackRanged() int32
- func (o *Monster) GetAttackRangedOk() (*int32, bool)
- func (o *Monster) GetAttackSpeed() int32
- func (o *Monster) GetAttackSpeedOk() (*int32, bool)
- func (o *Monster) GetAttackType() []string
- func (o *Monster) GetAttackTypeOk() (*[]string, bool)
- func (o *Monster) GetAttributes() []string
- func (o *Monster) GetAttributesOk() (*[]string, bool)
- func (o *Monster) GetCategory() []string
- func (o *Monster) GetCategoryOk() (*[]string, bool)
- func (o *Monster) GetCombatLevel() int32
- func (o *Monster) GetCombatLevelOk() (*int32, bool)
- func (o *Monster) GetDefenceCrush() int32
- func (o *Monster) GetDefenceCrushOk() (*int32, bool)
- func (o *Monster) GetDefenceLevel() int32
- func (o *Monster) GetDefenceLevelOk() (*int32, bool)
- func (o *Monster) GetDefenceMagic() int32
- func (o *Monster) GetDefenceMagicOk() (*int32, bool)
- func (o *Monster) GetDefenceRanged() int32
- func (o *Monster) GetDefenceRangedOk() (*int32, bool)
- func (o *Monster) GetDefenceSlash() int32
- func (o *Monster) GetDefenceSlashOk() (*int32, bool)
- func (o *Monster) GetDefenceStab() int32
- func (o *Monster) GetDefenceStabOk() (*int32, bool)
- func (o *Monster) GetDrops() []MonsterDrops
- func (o *Monster) GetDropsOk() (*[]MonsterDrops, bool)
- func (o *Monster) GetDuplicate() bool
- func (o *Monster) GetDuplicateOk() (*bool, bool)
- func (o *Monster) GetExamine() string
- func (o *Monster) GetExamineOk() (*string, bool)
- func (o *Monster) GetHitpoints() int32
- func (o *Monster) GetHitpointsOk() (*int32, bool)
- func (o *Monster) GetId() string
- func (o *Monster) GetIdOk() (*string, bool)
- func (o *Monster) GetImmunePoison() bool
- func (o *Monster) GetImmunePoisonOk() (*bool, bool)
- func (o *Monster) GetImmuneVenom() bool
- func (o *Monster) GetImmuneVenomOk() (*bool, bool)
- func (o *Monster) GetIncomplete() bool
- func (o *Monster) GetIncompleteOk() (*bool, bool)
- func (o *Monster) GetLastUpdated() string
- func (o *Monster) GetLastUpdatedOk() (*string, bool)
- func (o *Monster) GetMagicBonus() int32
- func (o *Monster) GetMagicBonusOk() (*int32, bool)
- func (o *Monster) GetMagicLevel() int32
- func (o *Monster) GetMagicLevelOk() (*int32, bool)
- func (o *Monster) GetMaxHit() int32
- func (o *Monster) GetMaxHitOk() (*int32, bool)
- func (o *Monster) GetMembers() bool
- func (o *Monster) GetMembersOk() (*bool, bool)
- func (o *Monster) GetName() string
- func (o *Monster) GetNameOk() (*string, bool)
- func (o *Monster) GetPoisonous() bool
- func (o *Monster) GetPoisonousOk() (*bool, bool)
- func (o *Monster) GetRangedBonus() int32
- func (o *Monster) GetRangedBonusOk() (*int32, bool)
- func (o *Monster) GetRangedLevel() int32
- func (o *Monster) GetRangedLevelOk() (*int32, bool)
- func (o *Monster) GetReleaseDate() string
- func (o *Monster) GetReleaseDateOk() (*string, bool)
- func (o *Monster) GetSize() int32
- func (o *Monster) GetSizeOk() (*int32, bool)
- func (o *Monster) GetSlayerLevel() int32
- func (o *Monster) GetSlayerLevelOk() (*int32, bool)
- func (o *Monster) GetSlayerMasters() []string
- func (o *Monster) GetSlayerMastersOk() (*[]string, bool)
- func (o *Monster) GetSlayerMonster() bool
- func (o *Monster) GetSlayerMonsterOk() (*bool, bool)
- func (o *Monster) GetSlayerXp() float32
- func (o *Monster) GetSlayerXpOk() (*float32, bool)
- func (o *Monster) GetStrengthBonus() int32
- func (o *Monster) GetStrengthBonusOk() (*int32, bool)
- func (o *Monster) GetStrengthLevel() int32
- func (o *Monster) GetStrengthLevelOk() (*int32, bool)
- func (o *Monster) GetVenomous() bool
- func (o *Monster) GetVenomousOk() (*bool, bool)
- func (o *Monster) GetWikiName() string
- func (o *Monster) GetWikiNameOk() (*string, bool)
- func (o *Monster) GetWikiUrl() string
- func (o *Monster) GetWikiUrlOk() (*string, bool)
- func (o Monster) MarshalJSON() ([]byte, error)
- func (o *Monster) SetAggressive(v bool)
- func (o *Monster) SetAttackBonus(v int32)
- func (o *Monster) SetAttackLevel(v int32)
- func (o *Monster) SetAttackMagic(v int32)
- func (o *Monster) SetAttackRanged(v int32)
- func (o *Monster) SetAttackSpeed(v int32)
- func (o *Monster) SetAttackType(v []string)
- func (o *Monster) SetAttributes(v []string)
- func (o *Monster) SetCategory(v []string)
- func (o *Monster) SetCombatLevel(v int32)
- func (o *Monster) SetDefenceCrush(v int32)
- func (o *Monster) SetDefenceLevel(v int32)
- func (o *Monster) SetDefenceMagic(v int32)
- func (o *Monster) SetDefenceRanged(v int32)
- func (o *Monster) SetDefenceSlash(v int32)
- func (o *Monster) SetDefenceStab(v int32)
- func (o *Monster) SetDrops(v []MonsterDrops)
- func (o *Monster) SetDuplicate(v bool)
- func (o *Monster) SetExamine(v string)
- func (o *Monster) SetHitpoints(v int32)
- func (o *Monster) SetId(v string)
- func (o *Monster) SetImmunePoison(v bool)
- func (o *Monster) SetImmuneVenom(v bool)
- func (o *Monster) SetIncomplete(v bool)
- func (o *Monster) SetLastUpdated(v string)
- func (o *Monster) SetMagicBonus(v int32)
- func (o *Monster) SetMagicLevel(v int32)
- func (o *Monster) SetMaxHit(v int32)
- func (o *Monster) SetMembers(v bool)
- func (o *Monster) SetName(v string)
- func (o *Monster) SetPoisonous(v bool)
- func (o *Monster) SetRangedBonus(v int32)
- func (o *Monster) SetRangedLevel(v int32)
- func (o *Monster) SetReleaseDate(v string)
- func (o *Monster) SetSize(v int32)
- func (o *Monster) SetSlayerLevel(v int32)
- func (o *Monster) SetSlayerMasters(v []string)
- func (o *Monster) SetSlayerMonster(v bool)
- func (o *Monster) SetSlayerXp(v float32)
- func (o *Monster) SetStrengthBonus(v int32)
- func (o *Monster) SetStrengthLevel(v int32)
- func (o *Monster) SetVenomous(v bool)
- func (o *Monster) SetWikiName(v string)
- func (o *Monster) SetWikiUrl(v string)
- type MonsterApiService
- func (a *MonsterApiService) DeleteMonsterItem(ctx _context.Context, monsterId string) ApiDeleteMonsterItemRequest
- func (a *MonsterApiService) DeleteMonsterItemExecute(r ApiDeleteMonsterItemRequest) (*_nethttp.Response, error)
- func (a *MonsterApiService) Deletemonsters(ctx _context.Context) ApiDeletemonstersRequest
- func (a *MonsterApiService) DeletemonstersExecute(r ApiDeletemonstersRequest) (*_nethttp.Response, error)
- func (a *MonsterApiService) GetMonsterItem(ctx _context.Context, monsterId string) ApiGetMonsterItemRequest
- func (a *MonsterApiService) GetMonsterItemExecute(r ApiGetMonsterItemRequest) (Monster, *_nethttp.Response, error)
- func (a *MonsterApiService) Getmonsters(ctx _context.Context) ApiGetmonstersRequest
- func (a *MonsterApiService) GetmonstersExecute(r ApiGetmonstersRequest) (InlineResponse2003, *_nethttp.Response, error)
- func (a *MonsterApiService) Postmonsters(ctx _context.Context) ApiPostmonstersRequest
- func (a *MonsterApiService) PostmonstersExecute(r ApiPostmonstersRequest) (*_nethttp.Response, error)
- func (a *MonsterApiService) PutMonsterItem(ctx _context.Context, monsterId string) ApiPutMonsterItemRequest
- func (a *MonsterApiService) PutMonsterItemExecute(r ApiPutMonsterItemRequest) (*_nethttp.Response, error)
- type MonsterDrops
- func (o *MonsterDrops) GetId() int32
- func (o *MonsterDrops) GetIdOk() (*int32, bool)
- func (o *MonsterDrops) GetMembers() bool
- func (o *MonsterDrops) GetMembersOk() (*bool, bool)
- func (o *MonsterDrops) GetName() string
- func (o *MonsterDrops) GetNameOk() (*string, bool)
- func (o *MonsterDrops) GetNoted() bool
- func (o *MonsterDrops) GetNotedOk() (*bool, bool)
- func (o *MonsterDrops) GetQuantity() string
- func (o *MonsterDrops) GetQuantityOk() (*string, bool)
- func (o *MonsterDrops) GetRarity() float32
- func (o *MonsterDrops) GetRarityOk() (*float32, bool)
- func (o *MonsterDrops) GetRolls() int32
- func (o *MonsterDrops) GetRollsOk() (*int32, bool)
- func (o MonsterDrops) MarshalJSON() ([]byte, error)
- func (o *MonsterDrops) SetId(v int32)
- func (o *MonsterDrops) SetMembers(v bool)
- func (o *MonsterDrops) SetName(v string)
- func (o *MonsterDrops) SetNoted(v bool)
- func (o *MonsterDrops) SetQuantity(v string)
- func (o *MonsterDrops) SetRarity(v float32)
- func (o *MonsterDrops) SetRolls(v int32)
- type NullableBool
- type NullableEquipment
- type NullableError
- type NullableErrorError
- type NullableFloat32
- type NullableFloat64
- type NullableIconsItem
- type NullableIconsPrayer
- func (v NullableIconsPrayer) Get() *IconsPrayer
- func (v NullableIconsPrayer) IsSet() bool
- func (v NullableIconsPrayer) MarshalJSON() ([]byte, error)
- func (v *NullableIconsPrayer) Set(val *IconsPrayer)
- func (v *NullableIconsPrayer) UnmarshalJSON(src []byte) error
- func (v *NullableIconsPrayer) Unset()
- type NullableInlineResponse200
- func (v NullableInlineResponse200) Get() *InlineResponse200
- func (v NullableInlineResponse200) IsSet() bool
- func (v NullableInlineResponse200) MarshalJSON() ([]byte, error)
- func (v *NullableInlineResponse200) Set(val *InlineResponse200)
- func (v *NullableInlineResponse200) UnmarshalJSON(src []byte) error
- func (v *NullableInlineResponse200) Unset()
- type NullableInlineResponse2001
- func (v NullableInlineResponse2001) Get() *InlineResponse2001
- func (v NullableInlineResponse2001) IsSet() bool
- func (v NullableInlineResponse2001) MarshalJSON() ([]byte, error)
- func (v *NullableInlineResponse2001) Set(val *InlineResponse2001)
- func (v *NullableInlineResponse2001) UnmarshalJSON(src []byte) error
- func (v *NullableInlineResponse2001) Unset()
- type NullableInlineResponse2002
- func (v NullableInlineResponse2002) Get() *InlineResponse2002
- func (v NullableInlineResponse2002) IsSet() bool
- func (v NullableInlineResponse2002) MarshalJSON() ([]byte, error)
- func (v *NullableInlineResponse2002) Set(val *InlineResponse2002)
- func (v *NullableInlineResponse2002) UnmarshalJSON(src []byte) error
- func (v *NullableInlineResponse2002) Unset()
- type NullableInlineResponse2003
- func (v NullableInlineResponse2003) Get() *InlineResponse2003
- func (v NullableInlineResponse2003) IsSet() bool
- func (v NullableInlineResponse2003) MarshalJSON() ([]byte, error)
- func (v *NullableInlineResponse2003) Set(val *InlineResponse2003)
- func (v *NullableInlineResponse2003) UnmarshalJSON(src []byte) error
- func (v *NullableInlineResponse2003) Unset()
- type NullableInlineResponse2004
- func (v NullableInlineResponse2004) Get() *InlineResponse2004
- func (v NullableInlineResponse2004) IsSet() bool
- func (v NullableInlineResponse2004) MarshalJSON() ([]byte, error)
- func (v *NullableInlineResponse2004) Set(val *InlineResponse2004)
- func (v *NullableInlineResponse2004) UnmarshalJSON(src []byte) error
- func (v *NullableInlineResponse2004) Unset()
- type NullableInlineResponse2005
- func (v NullableInlineResponse2005) Get() *InlineResponse2005
- func (v NullableInlineResponse2005) IsSet() bool
- func (v NullableInlineResponse2005) MarshalJSON() ([]byte, error)
- func (v *NullableInlineResponse2005) Set(val *InlineResponse2005)
- func (v *NullableInlineResponse2005) UnmarshalJSON(src []byte) error
- func (v *NullableInlineResponse2005) Unset()
- type NullableInlineResponse2006
- func (v NullableInlineResponse2006) Get() *InlineResponse2006
- func (v NullableInlineResponse2006) IsSet() bool
- func (v NullableInlineResponse2006) MarshalJSON() ([]byte, error)
- func (v *NullableInlineResponse2006) Set(val *InlineResponse2006)
- func (v *NullableInlineResponse2006) UnmarshalJSON(src []byte) error
- func (v *NullableInlineResponse2006) Unset()
- type NullableInt
- type NullableInt32
- type NullableInt64
- type NullableItem
- type NullableItemEquipment
- func (v NullableItemEquipment) Get() *ItemEquipment
- func (v NullableItemEquipment) IsSet() bool
- func (v NullableItemEquipment) MarshalJSON() ([]byte, error)
- func (v *NullableItemEquipment) Set(val *ItemEquipment)
- func (v *NullableItemEquipment) UnmarshalJSON(src []byte) error
- func (v *NullableItemEquipment) Unset()
- type NullableItemWeapon
- type NullableItemWeaponStances
- func (v NullableItemWeaponStances) Get() *ItemWeaponStances
- func (v NullableItemWeaponStances) IsSet() bool
- func (v NullableItemWeaponStances) MarshalJSON() ([]byte, error)
- func (v *NullableItemWeaponStances) Set(val *ItemWeaponStances)
- func (v *NullableItemWeaponStances) UnmarshalJSON(src []byte) error
- func (v *NullableItemWeaponStances) Unset()
- type NullableMonster
- type NullableMonsterDrops
- func (v NullableMonsterDrops) Get() *MonsterDrops
- func (v NullableMonsterDrops) IsSet() bool
- func (v NullableMonsterDrops) MarshalJSON() ([]byte, error)
- func (v *NullableMonsterDrops) Set(val *MonsterDrops)
- func (v *NullableMonsterDrops) UnmarshalJSON(src []byte) error
- func (v *NullableMonsterDrops) Unset()
- type NullablePrayer
- type NullableResponeLinks
- func (v NullableResponeLinks) Get() *ResponeLinks
- func (v NullableResponeLinks) IsSet() bool
- func (v NullableResponeLinks) MarshalJSON() ([]byte, error)
- func (v *NullableResponeLinks) Set(val *ResponeLinks)
- func (v *NullableResponeLinks) UnmarshalJSON(src []byte) error
- func (v *NullableResponeLinks) Unset()
- type NullableResponeLinksParent
- func (v NullableResponeLinksParent) Get() *ResponeLinksParent
- func (v NullableResponeLinksParent) IsSet() bool
- func (v NullableResponeLinksParent) MarshalJSON() ([]byte, error)
- func (v *NullableResponeLinksParent) Set(val *ResponeLinksParent)
- func (v *NullableResponeLinksParent) UnmarshalJSON(src []byte) error
- func (v *NullableResponeLinksParent) Unset()
- type NullableResponeMetadata
- func (v NullableResponeMetadata) Get() *ResponeMetadata
- func (v NullableResponeMetadata) IsSet() bool
- func (v NullableResponeMetadata) MarshalJSON() ([]byte, error)
- func (v *NullableResponeMetadata) Set(val *ResponeMetadata)
- func (v *NullableResponeMetadata) UnmarshalJSON(src []byte) error
- func (v *NullableResponeMetadata) Unset()
- type NullableString
- type NullableTime
- type NullableWeapon
- type Prayer
- func (o *Prayer) GetBonuses() map[string]interface{}
- func (o *Prayer) GetBonusesOk() (*map[string]interface{}, bool)
- func (o *Prayer) GetDescription() string
- func (o *Prayer) GetDescriptionOk() (*string, bool)
- func (o *Prayer) GetDrainPerMinute() float32
- func (o *Prayer) GetDrainPerMinuteOk() (*float32, bool)
- func (o *Prayer) GetIcon() string
- func (o *Prayer) GetIconOk() (*string, bool)
- func (o *Prayer) GetId() string
- func (o *Prayer) GetIdOk() (*string, bool)
- func (o *Prayer) GetMembers() bool
- func (o *Prayer) GetMembersOk() (*bool, bool)
- func (o *Prayer) GetName() string
- func (o *Prayer) GetNameOk() (*string, bool)
- func (o *Prayer) GetRequirements() map[string]interface{}
- func (o *Prayer) GetRequirementsOk() (*map[string]interface{}, bool)
- func (o *Prayer) GetWikiUrl() string
- func (o *Prayer) GetWikiUrlOk() (*string, bool)
- func (o Prayer) MarshalJSON() ([]byte, error)
- func (o *Prayer) SetBonuses(v map[string]interface{})
- func (o *Prayer) SetDescription(v string)
- func (o *Prayer) SetDrainPerMinute(v float32)
- func (o *Prayer) SetIcon(v string)
- func (o *Prayer) SetId(v string)
- func (o *Prayer) SetMembers(v bool)
- func (o *Prayer) SetName(v string)
- func (o *Prayer) SetRequirements(v map[string]interface{})
- func (o *Prayer) SetWikiUrl(v string)
- type PrayerApiService
- func (a *PrayerApiService) DeletePrayerItem(ctx _context.Context, prayerId string) ApiDeletePrayerItemRequest
- func (a *PrayerApiService) DeletePrayerItemExecute(r ApiDeletePrayerItemRequest) (*_nethttp.Response, error)
- func (a *PrayerApiService) Deleteprayers(ctx _context.Context) ApiDeleteprayersRequest
- func (a *PrayerApiService) DeleteprayersExecute(r ApiDeleteprayersRequest) (*_nethttp.Response, error)
- func (a *PrayerApiService) GetPrayerItem(ctx _context.Context, prayerId string) ApiGetPrayerItemRequest
- func (a *PrayerApiService) GetPrayerItemExecute(r ApiGetPrayerItemRequest) (Prayer, *_nethttp.Response, error)
- func (a *PrayerApiService) Getprayers(ctx _context.Context) ApiGetprayersRequest
- func (a *PrayerApiService) GetprayersExecute(r ApiGetprayersRequest) (InlineResponse2004, *_nethttp.Response, error)
- func (a *PrayerApiService) Postprayers(ctx _context.Context) ApiPostprayersRequest
- func (a *PrayerApiService) PostprayersExecute(r ApiPostprayersRequest) (*_nethttp.Response, error)
- func (a *PrayerApiService) PutPrayerItem(ctx _context.Context, prayerId string) ApiPutPrayerItemRequest
- func (a *PrayerApiService) PutPrayerItemExecute(r ApiPutPrayerItemRequest) (*_nethttp.Response, error)
- type ResponeLinks
- func (o *ResponeLinks) GetParent() ResponeLinksParent
- func (o *ResponeLinks) GetParentOk() (*ResponeLinksParent, bool)
- func (o *ResponeLinks) GetSelf() ResponeLinksParent
- func (o *ResponeLinks) GetSelfOk() (*ResponeLinksParent, bool)
- func (o *ResponeLinks) HasParent() bool
- func (o *ResponeLinks) HasSelf() bool
- func (o ResponeLinks) MarshalJSON() ([]byte, error)
- func (o *ResponeLinks) SetParent(v ResponeLinksParent)
- func (o *ResponeLinks) SetSelf(v ResponeLinksParent)
- type ResponeLinksParent
- func (o *ResponeLinksParent) GetHref() string
- func (o *ResponeLinksParent) GetHrefOk() (*string, bool)
- func (o *ResponeLinksParent) GetTitle() string
- func (o *ResponeLinksParent) GetTitleOk() (*string, bool)
- func (o *ResponeLinksParent) HasHref() bool
- func (o *ResponeLinksParent) HasTitle() bool
- func (o ResponeLinksParent) MarshalJSON() ([]byte, error)
- func (o *ResponeLinksParent) SetHref(v string)
- func (o *ResponeLinksParent) SetTitle(v string)
- type ResponeMetadata
- func (o *ResponeMetadata) GetMaxResults() int32
- func (o *ResponeMetadata) GetMaxResultsOk() (*int32, bool)
- func (o *ResponeMetadata) GetPage() int32
- func (o *ResponeMetadata) GetPageOk() (*int32, bool)
- func (o *ResponeMetadata) GetTotal() int32
- func (o *ResponeMetadata) GetTotalOk() (*int32, bool)
- func (o *ResponeMetadata) HasMaxResults() bool
- func (o *ResponeMetadata) HasPage() bool
- func (o *ResponeMetadata) HasTotal() bool
- func (o ResponeMetadata) MarshalJSON() ([]byte, error)
- func (o *ResponeMetadata) SetMaxResults(v int32)
- func (o *ResponeMetadata) SetPage(v int32)
- func (o *ResponeMetadata) SetTotal(v int32)
- type ServerConfiguration
- type ServerConfigurations
- type ServerVariable
- type Weapon
- func (o *Weapon) GetBuyLimit() int32
- func (o *Weapon) GetBuyLimitOk() (*int32, bool)
- func (o *Weapon) GetCost() int32
- func (o *Weapon) GetCostOk() (*int32, bool)
- func (o *Weapon) GetDuplicate() bool
- func (o *Weapon) GetDuplicateOk() (*bool, bool)
- func (o *Weapon) GetEquipable() bool
- func (o *Weapon) GetEquipableByPlayer() bool
- func (o *Weapon) GetEquipableByPlayerOk() (*bool, bool)
- func (o *Weapon) GetEquipableOk() (*bool, bool)
- func (o *Weapon) GetEquipableWeapon() bool
- func (o *Weapon) GetEquipableWeaponOk() (*bool, bool)
- func (o *Weapon) GetEquipment() ItemEquipment
- func (o *Weapon) GetEquipmentOk() (*ItemEquipment, bool)
- func (o *Weapon) GetExamine() string
- func (o *Weapon) GetExamineOk() (*string, bool)
- func (o *Weapon) GetHighalch() int32
- func (o *Weapon) GetHighalchOk() (*int32, bool)
- func (o *Weapon) GetIcon() string
- func (o *Weapon) GetIconOk() (*string, bool)
- func (o *Weapon) GetId() string
- func (o *Weapon) GetIdOk() (*string, bool)
- func (o *Weapon) GetIncomplete() bool
- func (o *Weapon) GetIncompleteOk() (*bool, bool)
- func (o *Weapon) GetLastUpdated() string
- func (o *Weapon) GetLastUpdatedOk() (*string, bool)
- func (o *Weapon) GetLinkedIdItem() int32
- func (o *Weapon) GetLinkedIdItemOk() (*int32, bool)
- func (o *Weapon) GetLinkedIdNoted() int32
- func (o *Weapon) GetLinkedIdNotedOk() (*int32, bool)
- func (o *Weapon) GetLinkedIdPlaceholder() int32
- func (o *Weapon) GetLinkedIdPlaceholderOk() (*int32, bool)
- func (o *Weapon) GetLowalch() int32
- func (o *Weapon) GetLowalchOk() (*int32, bool)
- func (o *Weapon) GetMembers() bool
- func (o *Weapon) GetMembersOk() (*bool, bool)
- func (o *Weapon) GetName() string
- func (o *Weapon) GetNameOk() (*string, bool)
- func (o *Weapon) GetNoteable() bool
- func (o *Weapon) GetNoteableOk() (*bool, bool)
- func (o *Weapon) GetNoted() bool
- func (o *Weapon) GetNotedOk() (*bool, bool)
- func (o *Weapon) GetPlaceholder() bool
- func (o *Weapon) GetPlaceholderOk() (*bool, bool)
- func (o *Weapon) GetQuestItem() bool
- func (o *Weapon) GetQuestItemOk() (*bool, bool)
- func (o *Weapon) GetReleaseDate() string
- func (o *Weapon) GetReleaseDateOk() (*string, bool)
- func (o *Weapon) GetStackable() bool
- func (o *Weapon) GetStackableOk() (*bool, bool)
- func (o *Weapon) GetStacked() int32
- func (o *Weapon) GetStackedOk() (*int32, bool)
- func (o *Weapon) GetTradeable() bool
- func (o *Weapon) GetTradeableOk() (*bool, bool)
- func (o *Weapon) GetTradeableOnGe() bool
- func (o *Weapon) GetTradeableOnGeOk() (*bool, bool)
- func (o *Weapon) GetWeapon() ItemWeapon
- func (o *Weapon) GetWeaponOk() (*ItemWeapon, bool)
- func (o *Weapon) GetWeight() float32
- func (o *Weapon) GetWeightOk() (*float32, bool)
- func (o *Weapon) GetWikiName() string
- func (o *Weapon) GetWikiNameOk() (*string, bool)
- func (o *Weapon) GetWikiUrl() string
- func (o *Weapon) GetWikiUrlOk() (*string, bool)
- func (o Weapon) MarshalJSON() ([]byte, error)
- func (o *Weapon) SetBuyLimit(v int32)
- func (o *Weapon) SetCost(v int32)
- func (o *Weapon) SetDuplicate(v bool)
- func (o *Weapon) SetEquipable(v bool)
- func (o *Weapon) SetEquipableByPlayer(v bool)
- func (o *Weapon) SetEquipableWeapon(v bool)
- func (o *Weapon) SetEquipment(v ItemEquipment)
- func (o *Weapon) SetExamine(v string)
- func (o *Weapon) SetHighalch(v int32)
- func (o *Weapon) SetIcon(v string)
- func (o *Weapon) SetId(v string)
- func (o *Weapon) SetIncomplete(v bool)
- func (o *Weapon) SetLastUpdated(v string)
- func (o *Weapon) SetLinkedIdItem(v int32)
- func (o *Weapon) SetLinkedIdNoted(v int32)
- func (o *Weapon) SetLinkedIdPlaceholder(v int32)
- func (o *Weapon) SetLowalch(v int32)
- func (o *Weapon) SetMembers(v bool)
- func (o *Weapon) SetName(v string)
- func (o *Weapon) SetNoteable(v bool)
- func (o *Weapon) SetNoted(v bool)
- func (o *Weapon) SetPlaceholder(v bool)
- func (o *Weapon) SetQuestItem(v bool)
- func (o *Weapon) SetReleaseDate(v string)
- func (o *Weapon) SetStackable(v bool)
- func (o *Weapon) SetStacked(v int32)
- func (o *Weapon) SetTradeable(v bool)
- func (o *Weapon) SetTradeableOnGe(v bool)
- func (o *Weapon) SetWeapon(v ItemWeapon)
- func (o *Weapon) SetWeight(v float32)
- func (o *Weapon) SetWikiName(v string)
- func (o *Weapon) SetWikiUrl(v string)
Constants ¶
This section is empty.
Variables ¶
var ( // ContextOAuth2 takes an oauth2.TokenSource as authentication for the request. ContextOAuth2 = contextKey("token") // ContextBasicAuth takes BasicAuth as authentication for the request. ContextBasicAuth = contextKey("basic") // ContextAccessToken takes a string oauth2 access token as authentication for the request. ContextAccessToken = contextKey("accesstoken") // ContextAPIKeys takes a string apikey as authentication for the request ContextAPIKeys = contextKey("apiKeys") // ContextHttpSignatureAuth takes HttpSignatureAuth as authentication for the request. ContextHttpSignatureAuth = contextKey("httpsignature") // ContextServerIndex uses a server configuration from the index. ContextServerIndex = contextKey("serverIndex") // ContextOperationServerIndices uses a server configuration from the index mapping. ContextOperationServerIndices = contextKey("serverOperationIndices") // ContextServerVariables overrides a server configuration variables. ContextServerVariables = contextKey("serverVariables") // ContextOperationServerVariables overrides a server configuration variables using operation specific values. ContextOperationServerVariables = contextKey("serverOperationVariables") )
Functions ¶
func CacheExpires ¶
CacheExpires helper function to determine remaining time before repeating a request.
func PtrFloat32 ¶
PtrFloat32 is a helper routine that returns a pointer to given float value.
func PtrFloat64 ¶
PtrFloat64 is a helper routine that returns a pointer to given float value.
Types ¶
type APIClient ¶
type APIClient struct { ItemApi *ItemApiService MonsterApi *MonsterApiService PrayerApi *PrayerApiService // contains filtered or unexported fields }
APIClient manages communication with the osrsbox-api API v1.0 In most cases there should be only one, shared, APIClient.
func NewAPIClient ¶
func NewAPIClient(cfg *Configuration) *APIClient
NewAPIClient creates a new API client. Requires a userAgent string describing your application. optionally a custom http.Client to allow for advanced features such as caching.
func (*APIClient) GetConfig ¶
func (c *APIClient) GetConfig() *Configuration
Allow modification of underlying config for alternate implementations and testing Caution: modifying the configuration while live can cause data races and potentially unwanted behavior
type APIKey ¶
APIKey provides API key based authentication to a request passed via context using ContextAPIKey
type ApiDeleteItemItemRequest ¶
type ApiDeleteItemItemRequest struct { ApiService *ItemApiService // contains filtered or unexported fields }
func (ApiDeleteItemItemRequest) Execute ¶
func (r ApiDeleteItemItemRequest) Execute() (*_nethttp.Response, error)
func (ApiDeleteItemItemRequest) IfMatch ¶
func (r ApiDeleteItemItemRequest) IfMatch(ifMatch string) ApiDeleteItemItemRequest
type ApiDeleteMonsterItemRequest ¶
type ApiDeleteMonsterItemRequest struct { ApiService *MonsterApiService // contains filtered or unexported fields }
func (ApiDeleteMonsterItemRequest) Execute ¶
func (r ApiDeleteMonsterItemRequest) Execute() (*_nethttp.Response, error)
func (ApiDeleteMonsterItemRequest) IfMatch ¶
func (r ApiDeleteMonsterItemRequest) IfMatch(ifMatch string) ApiDeleteMonsterItemRequest
type ApiDeletePrayerItemRequest ¶
type ApiDeletePrayerItemRequest struct { ApiService *PrayerApiService // contains filtered or unexported fields }
func (ApiDeletePrayerItemRequest) Execute ¶
func (r ApiDeletePrayerItemRequest) Execute() (*_nethttp.Response, error)
func (ApiDeletePrayerItemRequest) IfMatch ¶
func (r ApiDeletePrayerItemRequest) IfMatch(ifMatch string) ApiDeletePrayerItemRequest
type ApiDeleteitemsRequest ¶
type ApiDeleteitemsRequest struct { ApiService *ItemApiService // contains filtered or unexported fields }
type ApiDeletemonstersRequest ¶
type ApiDeletemonstersRequest struct { ApiService *MonsterApiService // contains filtered or unexported fields }
type ApiDeleteprayersRequest ¶
type ApiDeleteprayersRequest struct { ApiService *PrayerApiService // contains filtered or unexported fields }
type ApiGetItemItemRequest ¶
type ApiGetItemItemRequest struct { ApiService *ItemApiService // contains filtered or unexported fields }
type ApiGetMonsterItemRequest ¶
type ApiGetMonsterItemRequest struct { ApiService *MonsterApiService // contains filtered or unexported fields }
type ApiGetPrayerItemRequest ¶
type ApiGetPrayerItemRequest struct { ApiService *PrayerApiService // contains filtered or unexported fields }
type ApiGetitemsRequest ¶
type ApiGetitemsRequest struct { ApiService *ItemApiService // contains filtered or unexported fields }
func (ApiGetitemsRequest) Execute ¶
func (r ApiGetitemsRequest) Execute() (InlineResponse200, *_nethttp.Response, error)
func (ApiGetitemsRequest) MaxResults ¶
func (r ApiGetitemsRequest) MaxResults(maxResults int32) ApiGetitemsRequest
func (ApiGetitemsRequest) Page ¶
func (r ApiGetitemsRequest) Page(page int32) ApiGetitemsRequest
func (ApiGetitemsRequest) Projection ¶
func (r ApiGetitemsRequest) Projection(projection string) ApiGetitemsRequest
func (ApiGetitemsRequest) Sort ¶
func (r ApiGetitemsRequest) Sort(sort string) ApiGetitemsRequest
func (ApiGetitemsRequest) Where ¶
func (r ApiGetitemsRequest) Where(where string) ApiGetitemsRequest
type ApiGetmonstersRequest ¶
type ApiGetmonstersRequest struct { ApiService *MonsterApiService // contains filtered or unexported fields }
func (ApiGetmonstersRequest) Execute ¶
func (r ApiGetmonstersRequest) Execute() (InlineResponse2003, *_nethttp.Response, error)
func (ApiGetmonstersRequest) MaxResults ¶
func (r ApiGetmonstersRequest) MaxResults(maxResults int32) ApiGetmonstersRequest
func (ApiGetmonstersRequest) Page ¶
func (r ApiGetmonstersRequest) Page(page int32) ApiGetmonstersRequest
func (ApiGetmonstersRequest) Projection ¶
func (r ApiGetmonstersRequest) Projection(projection string) ApiGetmonstersRequest
func (ApiGetmonstersRequest) Sort ¶
func (r ApiGetmonstersRequest) Sort(sort string) ApiGetmonstersRequest
func (ApiGetmonstersRequest) Where ¶
func (r ApiGetmonstersRequest) Where(where string) ApiGetmonstersRequest
type ApiGetprayersRequest ¶
type ApiGetprayersRequest struct { ApiService *PrayerApiService // contains filtered or unexported fields }
func (ApiGetprayersRequest) Execute ¶
func (r ApiGetprayersRequest) Execute() (InlineResponse2004, *_nethttp.Response, error)
func (ApiGetprayersRequest) MaxResults ¶
func (r ApiGetprayersRequest) MaxResults(maxResults int32) ApiGetprayersRequest
func (ApiGetprayersRequest) Page ¶
func (r ApiGetprayersRequest) Page(page int32) ApiGetprayersRequest
func (ApiGetprayersRequest) Projection ¶
func (r ApiGetprayersRequest) Projection(projection string) ApiGetprayersRequest
func (ApiGetprayersRequest) Sort ¶
func (r ApiGetprayersRequest) Sort(sort string) ApiGetprayersRequest
func (ApiGetprayersRequest) Where ¶
func (r ApiGetprayersRequest) Where(where string) ApiGetprayersRequest
type ApiPostitemsRequest ¶
type ApiPostitemsRequest struct { ApiService *ItemApiService // contains filtered or unexported fields }
func (ApiPostitemsRequest) Execute ¶
func (r ApiPostitemsRequest) Execute() (*_nethttp.Response, error)
func (ApiPostitemsRequest) Item ¶
func (r ApiPostitemsRequest) Item(item Item) ApiPostitemsRequest
type ApiPostmonstersRequest ¶
type ApiPostmonstersRequest struct { ApiService *MonsterApiService // contains filtered or unexported fields }
func (ApiPostmonstersRequest) Execute ¶
func (r ApiPostmonstersRequest) Execute() (*_nethttp.Response, error)
func (ApiPostmonstersRequest) Monster ¶
func (r ApiPostmonstersRequest) Monster(monster Monster) ApiPostmonstersRequest
type ApiPostprayersRequest ¶
type ApiPostprayersRequest struct { ApiService *PrayerApiService // contains filtered or unexported fields }
func (ApiPostprayersRequest) Execute ¶
func (r ApiPostprayersRequest) Execute() (*_nethttp.Response, error)
func (ApiPostprayersRequest) Prayer ¶
func (r ApiPostprayersRequest) Prayer(prayer Prayer) ApiPostprayersRequest
type ApiPutItemItemRequest ¶
type ApiPutItemItemRequest struct { ApiService *ItemApiService // contains filtered or unexported fields }
func (ApiPutItemItemRequest) Execute ¶
func (r ApiPutItemItemRequest) Execute() (*_nethttp.Response, error)
func (ApiPutItemItemRequest) IfMatch ¶
func (r ApiPutItemItemRequest) IfMatch(ifMatch string) ApiPutItemItemRequest
func (ApiPutItemItemRequest) Item ¶
func (r ApiPutItemItemRequest) Item(item Item) ApiPutItemItemRequest
type ApiPutMonsterItemRequest ¶
type ApiPutMonsterItemRequest struct { ApiService *MonsterApiService // contains filtered or unexported fields }
func (ApiPutMonsterItemRequest) Execute ¶
func (r ApiPutMonsterItemRequest) Execute() (*_nethttp.Response, error)
func (ApiPutMonsterItemRequest) IfMatch ¶
func (r ApiPutMonsterItemRequest) IfMatch(ifMatch string) ApiPutMonsterItemRequest
func (ApiPutMonsterItemRequest) Monster ¶
func (r ApiPutMonsterItemRequest) Monster(monster Monster) ApiPutMonsterItemRequest
type ApiPutPrayerItemRequest ¶
type ApiPutPrayerItemRequest struct { ApiService *PrayerApiService // contains filtered or unexported fields }
func (ApiPutPrayerItemRequest) Execute ¶
func (r ApiPutPrayerItemRequest) Execute() (*_nethttp.Response, error)
func (ApiPutPrayerItemRequest) IfMatch ¶
func (r ApiPutPrayerItemRequest) IfMatch(ifMatch string) ApiPutPrayerItemRequest
func (ApiPutPrayerItemRequest) Prayer ¶
func (r ApiPutPrayerItemRequest) Prayer(prayer Prayer) ApiPutPrayerItemRequest
type BasicAuth ¶
type BasicAuth struct { UserName string `json:"userName,omitempty"` Password string `json:"password,omitempty"` }
BasicAuth provides basic http authentication to a request passed via context using ContextBasicAuth
type Configuration ¶
type Configuration struct { Host string `json:"host,omitempty"` Scheme string `json:"scheme,omitempty"` DefaultHeader map[string]string `json:"defaultHeader,omitempty"` UserAgent string `json:"userAgent,omitempty"` Debug bool `json:"debug,omitempty"` Servers ServerConfigurations OperationServers map[string]ServerConfigurations HTTPClient *http.Client }
Configuration stores the configuration of the API client
func NewConfiguration ¶
func NewConfiguration() *Configuration
NewConfiguration returns a new Configuration object
func (*Configuration) AddDefaultHeader ¶
func (c *Configuration) AddDefaultHeader(key string, value string)
AddDefaultHeader adds a new HTTP header to the default header in the request
func (*Configuration) ServerURLWithContext ¶
ServerURLWithContext returns a new server URL given an endpoint
type Equipment ¶
type Equipment struct { // Unique OSRS item ID number. Id string `json:"id"` // The name of the item. Name string `json:"name"` // The last time (UTC) the item was updated (in ISO8601 date format). LastUpdated string `json:"last_updated"` // If the item has incomplete wiki data. Incomplete bool `json:"incomplete"` // If the item is a members-only. Members bool `json:"members"` // If the item is tradeable (between players and on the GE). Tradeable bool `json:"tradeable"` // If the item is tradeable (only on GE). TradeableOnGe bool `json:"tradeable_on_ge"` // If the item is stackable (in inventory). Stackable bool `json:"stackable"` // If the item is stacked, indicated by the stack count. Stacked NullableInt32 `json:"stacked"` // If the item is noted. Noted bool `json:"noted"` // If the item is noteable. Noteable bool `json:"noteable"` // The linked ID of the actual item (if noted/placeholder). LinkedIdItem NullableInt32 `json:"linked_id_item"` // The linked ID of an item in noted form. LinkedIdNoted NullableInt32 `json:"linked_id_noted"` // The linked ID of an item in placeholder form. LinkedIdPlaceholder NullableInt32 `json:"linked_id_placeholder"` // If the item is a placeholder. Placeholder bool `json:"placeholder"` // If the item is equipable (based on right-click menu entry). Equipable bool `json:"equipable"` // If the item is equipable in-game by a player. EquipableByPlayer bool `json:"equipable_by_player"` // If the item is an equipable weapon. EquipableWeapon bool `json:"equipable_weapon"` // The store price of an item. Cost int32 `json:"cost"` // The low alchemy value of the item (cost * 0.4). Lowalch NullableInt32 `json:"lowalch"` // The high alchemy value of the item (cost * 0.6). Highalch NullableInt32 `json:"highalch"` // The weight (in kilograms) of the item. Weight NullableFloat32 `json:"weight"` // The Grand Exchange buy limit of the item. BuyLimit NullableInt32 `json:"buy_limit"` // If the item is associated with a quest. QuestItem bool `json:"quest_item"` // Date the item was released (in ISO8601 format). ReleaseDate NullableString `json:"release_date"` // If the item is a duplicate. Duplicate bool `json:"duplicate"` // The examine text for the item. Examine NullableString `json:"examine"` // The item icon (in base64 encoding). Icon string `json:"icon"` // The OSRS Wiki name for the item. WikiName NullableString `json:"wiki_name"` // The OSRS Wiki URL (possibly including anchor link). WikiUrl NullableString `json:"wiki_url"` Equipment NullableItemEquipment `json:"equipment"` Weapon NullableItemWeapon `json:"weapon"` }
Equipment struct for Equipment
func NewEquipment ¶
func NewEquipment(id string, name string, lastUpdated string, incomplete bool, members bool, tradeable bool, tradeableOnGe bool, stackable bool, stacked NullableInt32, noted bool, noteable bool, linkedIdItem NullableInt32, linkedIdNoted NullableInt32, linkedIdPlaceholder NullableInt32, placeholder bool, equipable bool, equipableByPlayer bool, equipableWeapon bool, cost int32, lowalch NullableInt32, highalch NullableInt32, weight NullableFloat32, buyLimit NullableInt32, questItem bool, releaseDate NullableString, duplicate bool, examine NullableString, icon string, wikiName NullableString, wikiUrl NullableString, equipment NullableItemEquipment, weapon NullableItemWeapon) *Equipment
NewEquipment instantiates a new Equipment 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 NewEquipmentWithDefaults ¶
func NewEquipmentWithDefaults() *Equipment
NewEquipmentWithDefaults instantiates a new Equipment 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 (*Equipment) GetBuyLimit ¶
GetBuyLimit returns the BuyLimit field value If the value is explicit nil, the zero value for int32 will be returned
func (*Equipment) GetBuyLimitOk ¶
GetBuyLimitOk returns a tuple with the BuyLimit field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*Equipment) GetCostOk ¶
GetCostOk returns a tuple with the Cost field value and a boolean to check if the value has been set.
func (*Equipment) GetDuplicate ¶
GetDuplicate returns the Duplicate field value
func (*Equipment) GetDuplicateOk ¶
GetDuplicateOk returns a tuple with the Duplicate field value and a boolean to check if the value has been set.
func (*Equipment) GetEquipable ¶
GetEquipable returns the Equipable field value
func (*Equipment) GetEquipableByPlayer ¶
GetEquipableByPlayer returns the EquipableByPlayer field value
func (*Equipment) GetEquipableByPlayerOk ¶
GetEquipableByPlayerOk returns a tuple with the EquipableByPlayer field value and a boolean to check if the value has been set.
func (*Equipment) GetEquipableOk ¶
GetEquipableOk returns a tuple with the Equipable field value and a boolean to check if the value has been set.
func (*Equipment) GetEquipableWeapon ¶
GetEquipableWeapon returns the EquipableWeapon field value
func (*Equipment) GetEquipableWeaponOk ¶
GetEquipableWeaponOk returns a tuple with the EquipableWeapon field value and a boolean to check if the value has been set.
func (*Equipment) GetEquipment ¶
func (o *Equipment) GetEquipment() ItemEquipment
GetEquipment returns the Equipment field value If the value is explicit nil, the zero value for ItemEquipment will be returned
func (*Equipment) GetEquipmentOk ¶
func (o *Equipment) GetEquipmentOk() (*ItemEquipment, bool)
GetEquipmentOk returns a tuple with the Equipment field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*Equipment) GetExamine ¶
GetExamine returns the Examine field value If the value is explicit nil, the zero value for string will be returned
func (*Equipment) GetExamineOk ¶
GetExamineOk returns a tuple with the Examine field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*Equipment) GetHighalch ¶
GetHighalch returns the Highalch field value If the value is explicit nil, the zero value for int32 will be returned
func (*Equipment) GetHighalchOk ¶
GetHighalchOk returns a tuple with the Highalch field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*Equipment) GetIconOk ¶
GetIconOk returns a tuple with the Icon field value and a boolean to check if the value has been set.
func (*Equipment) GetIdOk ¶
GetIdOk returns a tuple with the Id field value and a boolean to check if the value has been set.
func (*Equipment) GetIncomplete ¶
GetIncomplete returns the Incomplete field value
func (*Equipment) GetIncompleteOk ¶
GetIncompleteOk returns a tuple with the Incomplete field value and a boolean to check if the value has been set.
func (*Equipment) GetLastUpdated ¶
GetLastUpdated returns the LastUpdated field value
func (*Equipment) GetLastUpdatedOk ¶
GetLastUpdatedOk returns a tuple with the LastUpdated field value and a boolean to check if the value has been set.
func (*Equipment) GetLinkedIdItem ¶
GetLinkedIdItem returns the LinkedIdItem field value If the value is explicit nil, the zero value for int32 will be returned
func (*Equipment) GetLinkedIdItemOk ¶
GetLinkedIdItemOk returns a tuple with the LinkedIdItem field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*Equipment) GetLinkedIdNoted ¶
GetLinkedIdNoted returns the LinkedIdNoted field value If the value is explicit nil, the zero value for int32 will be returned
func (*Equipment) GetLinkedIdNotedOk ¶
GetLinkedIdNotedOk returns a tuple with the LinkedIdNoted field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*Equipment) GetLinkedIdPlaceholder ¶
GetLinkedIdPlaceholder returns the LinkedIdPlaceholder field value If the value is explicit nil, the zero value for int32 will be returned
func (*Equipment) GetLinkedIdPlaceholderOk ¶
GetLinkedIdPlaceholderOk returns a tuple with the LinkedIdPlaceholder field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*Equipment) GetLowalch ¶
GetLowalch returns the Lowalch field value If the value is explicit nil, the zero value for int32 will be returned
func (*Equipment) GetLowalchOk ¶
GetLowalchOk returns a tuple with the Lowalch field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*Equipment) GetMembers ¶
GetMembers returns the Members field value
func (*Equipment) GetMembersOk ¶
GetMembersOk returns a tuple with the Members field value and a boolean to check if the value has been set.
func (*Equipment) GetNameOk ¶
GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.
func (*Equipment) GetNoteable ¶
GetNoteable returns the Noteable field value
func (*Equipment) GetNoteableOk ¶
GetNoteableOk returns a tuple with the Noteable field value and a boolean to check if the value has been set.
func (*Equipment) GetNotedOk ¶
GetNotedOk returns a tuple with the Noted field value and a boolean to check if the value has been set.
func (*Equipment) GetPlaceholder ¶
GetPlaceholder returns the Placeholder field value
func (*Equipment) GetPlaceholderOk ¶
GetPlaceholderOk returns a tuple with the Placeholder field value and a boolean to check if the value has been set.
func (*Equipment) GetQuestItem ¶
GetQuestItem returns the QuestItem field value
func (*Equipment) GetQuestItemOk ¶
GetQuestItemOk returns a tuple with the QuestItem field value and a boolean to check if the value has been set.
func (*Equipment) GetReleaseDate ¶
GetReleaseDate returns the ReleaseDate field value If the value is explicit nil, the zero value for string will be returned
func (*Equipment) GetReleaseDateOk ¶
GetReleaseDateOk returns a tuple with the ReleaseDate field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*Equipment) GetStackable ¶
GetStackable returns the Stackable field value
func (*Equipment) GetStackableOk ¶
GetStackableOk returns a tuple with the Stackable field value and a boolean to check if the value has been set.
func (*Equipment) GetStacked ¶
GetStacked returns the Stacked field value If the value is explicit nil, the zero value for int32 will be returned
func (*Equipment) GetStackedOk ¶
GetStackedOk returns a tuple with the Stacked field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*Equipment) GetTradeable ¶
GetTradeable returns the Tradeable field value
func (*Equipment) GetTradeableOk ¶
GetTradeableOk returns a tuple with the Tradeable field value and a boolean to check if the value has been set.
func (*Equipment) GetTradeableOnGe ¶
GetTradeableOnGe returns the TradeableOnGe field value
func (*Equipment) GetTradeableOnGeOk ¶
GetTradeableOnGeOk returns a tuple with the TradeableOnGe field value and a boolean to check if the value has been set.
func (*Equipment) GetWeapon ¶
func (o *Equipment) GetWeapon() ItemWeapon
GetWeapon returns the Weapon field value If the value is explicit nil, the zero value for ItemWeapon will be returned
func (*Equipment) GetWeaponOk ¶
func (o *Equipment) GetWeaponOk() (*ItemWeapon, bool)
GetWeaponOk returns a tuple with the Weapon field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*Equipment) GetWeight ¶
GetWeight returns the Weight field value If the value is explicit nil, the zero value for float32 will be returned
func (*Equipment) GetWeightOk ¶
GetWeightOk returns a tuple with the Weight field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*Equipment) GetWikiName ¶
GetWikiName returns the WikiName field value If the value is explicit nil, the zero value for string will be returned
func (*Equipment) GetWikiNameOk ¶
GetWikiNameOk returns a tuple with the WikiName field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*Equipment) GetWikiUrl ¶
GetWikiUrl returns the WikiUrl field value If the value is explicit nil, the zero value for string will be returned
func (*Equipment) GetWikiUrlOk ¶
GetWikiUrlOk returns a tuple with the WikiUrl field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (Equipment) MarshalJSON ¶
func (*Equipment) SetBuyLimit ¶
SetBuyLimit sets field value
func (*Equipment) SetDuplicate ¶
SetDuplicate sets field value
func (*Equipment) SetEquipable ¶
SetEquipable sets field value
func (*Equipment) SetEquipableByPlayer ¶
SetEquipableByPlayer sets field value
func (*Equipment) SetEquipableWeapon ¶
SetEquipableWeapon sets field value
func (*Equipment) SetEquipment ¶
func (o *Equipment) SetEquipment(v ItemEquipment)
SetEquipment sets field value
func (*Equipment) SetHighalch ¶
SetHighalch sets field value
func (*Equipment) SetIncomplete ¶
SetIncomplete sets field value
func (*Equipment) SetLastUpdated ¶
SetLastUpdated sets field value
func (*Equipment) SetLinkedIdItem ¶
SetLinkedIdItem sets field value
func (*Equipment) SetLinkedIdNoted ¶
SetLinkedIdNoted sets field value
func (*Equipment) SetLinkedIdPlaceholder ¶
SetLinkedIdPlaceholder sets field value
func (*Equipment) SetNoteable ¶
SetNoteable sets field value
func (*Equipment) SetPlaceholder ¶
SetPlaceholder sets field value
func (*Equipment) SetQuestItem ¶
SetQuestItem sets field value
func (*Equipment) SetReleaseDate ¶
SetReleaseDate sets field value
func (*Equipment) SetStackable ¶
SetStackable sets field value
func (*Equipment) SetTradeable ¶
SetTradeable sets field value
func (*Equipment) SetTradeableOnGe ¶
SetTradeableOnGe sets field value
func (*Equipment) SetWeapon ¶
func (o *Equipment) SetWeapon(v ItemWeapon)
SetWeapon sets field value
func (*Equipment) SetWikiName ¶
SetWikiName sets field value
type Error ¶
type Error struct { Status string `json:"_status"` Error ErrorError `json:"_error"` }
Error struct for Error
func NewError ¶
func NewError(status string, error_ ErrorError) *Error
NewError instantiates a new Error 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 NewErrorWithDefaults ¶
func NewErrorWithDefaults() *Error
NewErrorWithDefaults instantiates a new Error 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 (*Error) GetError ¶
func (o *Error) GetError() ErrorError
GetError returns the Error field value
func (*Error) GetErrorOk ¶
func (o *Error) GetErrorOk() (*ErrorError, bool)
GetErrorOk returns a tuple with the Error field value and a boolean to check if the value has been set.
func (*Error) GetStatusOk ¶
GetStatusOk returns a tuple with the Status field value and a boolean to check if the value has been set.
func (Error) MarshalJSON ¶
type ErrorError ¶
type ErrorError struct { Code *int32 `json:"code,omitempty"` Message *string `json:"message,omitempty"` }
ErrorError struct for ErrorError
func NewErrorError ¶
func NewErrorError() *ErrorError
NewErrorError instantiates a new ErrorError 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 NewErrorErrorWithDefaults ¶
func NewErrorErrorWithDefaults() *ErrorError
NewErrorErrorWithDefaults instantiates a new ErrorError 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 (*ErrorError) GetCode ¶
func (o *ErrorError) GetCode() int32
GetCode returns the Code field value if set, zero value otherwise.
func (*ErrorError) GetCodeOk ¶
func (o *ErrorError) GetCodeOk() (*int32, bool)
GetCodeOk returns a tuple with the Code field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ErrorError) GetMessage ¶
func (o *ErrorError) GetMessage() string
GetMessage returns the Message field value if set, zero value otherwise.
func (*ErrorError) GetMessageOk ¶
func (o *ErrorError) GetMessageOk() (*string, bool)
GetMessageOk returns a tuple with the Message field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ErrorError) HasCode ¶
func (o *ErrorError) HasCode() bool
HasCode returns a boolean if a field has been set.
func (*ErrorError) HasMessage ¶
func (o *ErrorError) HasMessage() bool
HasMessage returns a boolean if a field has been set.
func (ErrorError) MarshalJSON ¶
func (o ErrorError) MarshalJSON() ([]byte, error)
func (*ErrorError) SetCode ¶
func (o *ErrorError) SetCode(v int32)
SetCode gets a reference to the given int32 and assigns it to the Code field.
func (*ErrorError) SetMessage ¶
func (o *ErrorError) SetMessage(v string)
SetMessage gets a reference to the given string and assigns it to the Message field.
type GenericOpenAPIError ¶
type GenericOpenAPIError struct {
// contains filtered or unexported fields
}
GenericOpenAPIError Provides access to the body, error and model on returned errors.
func (GenericOpenAPIError) Body ¶
func (e GenericOpenAPIError) Body() []byte
Body returns the raw bytes of the response
func (GenericOpenAPIError) Error ¶
func (e GenericOpenAPIError) Error() string
Error returns non-empty string if there was an error.
func (GenericOpenAPIError) Model ¶
func (e GenericOpenAPIError) Model() interface{}
Model returns the unpacked model of the error
type IconsItem ¶
type IconsItem struct { // Unique OSRS item ID number. Id string `json:"id"` // The icon image (in base64 encoding) of the item. Icon string `json:"icon"` }
IconsItem struct for IconsItem
func NewIconsItem ¶
NewIconsItem instantiates a new IconsItem 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 NewIconsItemWithDefaults ¶
func NewIconsItemWithDefaults() *IconsItem
NewIconsItemWithDefaults instantiates a new IconsItem 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 (*IconsItem) GetIconOk ¶
GetIconOk returns a tuple with the Icon field value and a boolean to check if the value has been set.
func (*IconsItem) GetIdOk ¶
GetIdOk returns a tuple with the Id field value and a boolean to check if the value has been set.
func (IconsItem) MarshalJSON ¶
type IconsPrayer ¶
type IconsPrayer struct { // Unique OSRS prayer ID number. Id string `json:"id"` // The icon image (in base64 encoding) of the prayer. Icon string `json:"icon"` }
IconsPrayer struct for IconsPrayer
func NewIconsPrayer ¶
func NewIconsPrayer(id string, icon string) *IconsPrayer
NewIconsPrayer instantiates a new IconsPrayer 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 NewIconsPrayerWithDefaults ¶
func NewIconsPrayerWithDefaults() *IconsPrayer
NewIconsPrayerWithDefaults instantiates a new IconsPrayer 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 (*IconsPrayer) GetIcon ¶
func (o *IconsPrayer) GetIcon() string
GetIcon returns the Icon field value
func (*IconsPrayer) GetIconOk ¶
func (o *IconsPrayer) GetIconOk() (*string, bool)
GetIconOk returns a tuple with the Icon field value and a boolean to check if the value has been set.
func (*IconsPrayer) GetIdOk ¶
func (o *IconsPrayer) GetIdOk() (*string, bool)
GetIdOk returns a tuple with the Id field value and a boolean to check if the value has been set.
func (IconsPrayer) MarshalJSON ¶
func (o IconsPrayer) MarshalJSON() ([]byte, error)
type InlineResponse200 ¶
type InlineResponse200 struct { Items *[]Item `json:"_items,omitempty"` Meta *ResponeMetadata `json:"_meta,omitempty"` Links *ResponeLinks `json:"_links,omitempty"` }
InlineResponse200 struct for InlineResponse200
func NewInlineResponse200 ¶
func NewInlineResponse200() *InlineResponse200
NewInlineResponse200 instantiates a new InlineResponse200 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 NewInlineResponse200WithDefaults ¶
func NewInlineResponse200WithDefaults() *InlineResponse200
NewInlineResponse200WithDefaults instantiates a new InlineResponse200 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 (*InlineResponse200) GetItems ¶
func (o *InlineResponse200) GetItems() []Item
GetItems returns the Items field value if set, zero value otherwise.
func (*InlineResponse200) GetItemsOk ¶
func (o *InlineResponse200) GetItemsOk() (*[]Item, bool)
GetItemsOk returns a tuple with the Items field value if set, nil otherwise and a boolean to check if the value has been set.
func (*InlineResponse200) GetLinks ¶
func (o *InlineResponse200) GetLinks() ResponeLinks
GetLinks returns the Links field value if set, zero value otherwise.
func (*InlineResponse200) GetLinksOk ¶
func (o *InlineResponse200) GetLinksOk() (*ResponeLinks, bool)
GetLinksOk returns a tuple with the Links field value if set, nil otherwise and a boolean to check if the value has been set.
func (*InlineResponse200) GetMeta ¶
func (o *InlineResponse200) GetMeta() ResponeMetadata
GetMeta returns the Meta field value if set, zero value otherwise.
func (*InlineResponse200) GetMetaOk ¶
func (o *InlineResponse200) GetMetaOk() (*ResponeMetadata, bool)
GetMetaOk returns a tuple with the Meta field value if set, nil otherwise and a boolean to check if the value has been set.
func (*InlineResponse200) HasItems ¶
func (o *InlineResponse200) HasItems() bool
HasItems returns a boolean if a field has been set.
func (*InlineResponse200) HasLinks ¶
func (o *InlineResponse200) HasLinks() bool
HasLinks returns a boolean if a field has been set.
func (*InlineResponse200) HasMeta ¶
func (o *InlineResponse200) HasMeta() bool
HasMeta returns a boolean if a field has been set.
func (InlineResponse200) MarshalJSON ¶
func (o InlineResponse200) MarshalJSON() ([]byte, error)
func (*InlineResponse200) SetItems ¶
func (o *InlineResponse200) SetItems(v []Item)
SetItems gets a reference to the given []Item and assigns it to the Items field.
func (*InlineResponse200) SetLinks ¶
func (o *InlineResponse200) SetLinks(v ResponeLinks)
SetLinks gets a reference to the given ResponeLinks and assigns it to the Links field.
func (*InlineResponse200) SetMeta ¶
func (o *InlineResponse200) SetMeta(v ResponeMetadata)
SetMeta gets a reference to the given ResponeMetadata and assigns it to the Meta field.
type InlineResponse2001 ¶
type InlineResponse2001 struct { Items *[]Weapon `json:"_items,omitempty"` Meta *ResponeMetadata `json:"_meta,omitempty"` Links *ResponeLinks `json:"_links,omitempty"` }
InlineResponse2001 struct for InlineResponse2001
func NewInlineResponse2001 ¶
func NewInlineResponse2001() *InlineResponse2001
NewInlineResponse2001 instantiates a new InlineResponse2001 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 NewInlineResponse2001WithDefaults ¶
func NewInlineResponse2001WithDefaults() *InlineResponse2001
NewInlineResponse2001WithDefaults instantiates a new InlineResponse2001 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 (*InlineResponse2001) GetItems ¶
func (o *InlineResponse2001) GetItems() []Weapon
GetItems returns the Items field value if set, zero value otherwise.
func (*InlineResponse2001) GetItemsOk ¶
func (o *InlineResponse2001) GetItemsOk() (*[]Weapon, bool)
GetItemsOk returns a tuple with the Items field value if set, nil otherwise and a boolean to check if the value has been set.
func (*InlineResponse2001) GetLinks ¶
func (o *InlineResponse2001) GetLinks() ResponeLinks
GetLinks returns the Links field value if set, zero value otherwise.
func (*InlineResponse2001) GetLinksOk ¶
func (o *InlineResponse2001) GetLinksOk() (*ResponeLinks, bool)
GetLinksOk returns a tuple with the Links field value if set, nil otherwise and a boolean to check if the value has been set.
func (*InlineResponse2001) GetMeta ¶
func (o *InlineResponse2001) GetMeta() ResponeMetadata
GetMeta returns the Meta field value if set, zero value otherwise.
func (*InlineResponse2001) GetMetaOk ¶
func (o *InlineResponse2001) GetMetaOk() (*ResponeMetadata, bool)
GetMetaOk returns a tuple with the Meta field value if set, nil otherwise and a boolean to check if the value has been set.
func (*InlineResponse2001) HasItems ¶
func (o *InlineResponse2001) HasItems() bool
HasItems returns a boolean if a field has been set.
func (*InlineResponse2001) HasLinks ¶
func (o *InlineResponse2001) HasLinks() bool
HasLinks returns a boolean if a field has been set.
func (*InlineResponse2001) HasMeta ¶
func (o *InlineResponse2001) HasMeta() bool
HasMeta returns a boolean if a field has been set.
func (InlineResponse2001) MarshalJSON ¶
func (o InlineResponse2001) MarshalJSON() ([]byte, error)
func (*InlineResponse2001) SetItems ¶
func (o *InlineResponse2001) SetItems(v []Weapon)
SetItems gets a reference to the given []Weapon and assigns it to the Items field.
func (*InlineResponse2001) SetLinks ¶
func (o *InlineResponse2001) SetLinks(v ResponeLinks)
SetLinks gets a reference to the given ResponeLinks and assigns it to the Links field.
func (*InlineResponse2001) SetMeta ¶
func (o *InlineResponse2001) SetMeta(v ResponeMetadata)
SetMeta gets a reference to the given ResponeMetadata and assigns it to the Meta field.
type InlineResponse2002 ¶
type InlineResponse2002 struct { Items *[]Equipment `json:"_items,omitempty"` Meta *ResponeMetadata `json:"_meta,omitempty"` Links *ResponeLinks `json:"_links,omitempty"` }
InlineResponse2002 struct for InlineResponse2002
func NewInlineResponse2002 ¶
func NewInlineResponse2002() *InlineResponse2002
NewInlineResponse2002 instantiates a new InlineResponse2002 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 NewInlineResponse2002WithDefaults ¶
func NewInlineResponse2002WithDefaults() *InlineResponse2002
NewInlineResponse2002WithDefaults instantiates a new InlineResponse2002 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 (*InlineResponse2002) GetItems ¶
func (o *InlineResponse2002) GetItems() []Equipment
GetItems returns the Items field value if set, zero value otherwise.
func (*InlineResponse2002) GetItemsOk ¶
func (o *InlineResponse2002) GetItemsOk() (*[]Equipment, bool)
GetItemsOk returns a tuple with the Items field value if set, nil otherwise and a boolean to check if the value has been set.
func (*InlineResponse2002) GetLinks ¶
func (o *InlineResponse2002) GetLinks() ResponeLinks
GetLinks returns the Links field value if set, zero value otherwise.
func (*InlineResponse2002) GetLinksOk ¶
func (o *InlineResponse2002) GetLinksOk() (*ResponeLinks, bool)
GetLinksOk returns a tuple with the Links field value if set, nil otherwise and a boolean to check if the value has been set.
func (*InlineResponse2002) GetMeta ¶
func (o *InlineResponse2002) GetMeta() ResponeMetadata
GetMeta returns the Meta field value if set, zero value otherwise.
func (*InlineResponse2002) GetMetaOk ¶
func (o *InlineResponse2002) GetMetaOk() (*ResponeMetadata, bool)
GetMetaOk returns a tuple with the Meta field value if set, nil otherwise and a boolean to check if the value has been set.
func (*InlineResponse2002) HasItems ¶
func (o *InlineResponse2002) HasItems() bool
HasItems returns a boolean if a field has been set.
func (*InlineResponse2002) HasLinks ¶
func (o *InlineResponse2002) HasLinks() bool
HasLinks returns a boolean if a field has been set.
func (*InlineResponse2002) HasMeta ¶
func (o *InlineResponse2002) HasMeta() bool
HasMeta returns a boolean if a field has been set.
func (InlineResponse2002) MarshalJSON ¶
func (o InlineResponse2002) MarshalJSON() ([]byte, error)
func (*InlineResponse2002) SetItems ¶
func (o *InlineResponse2002) SetItems(v []Equipment)
SetItems gets a reference to the given []Equipment and assigns it to the Items field.
func (*InlineResponse2002) SetLinks ¶
func (o *InlineResponse2002) SetLinks(v ResponeLinks)
SetLinks gets a reference to the given ResponeLinks and assigns it to the Links field.
func (*InlineResponse2002) SetMeta ¶
func (o *InlineResponse2002) SetMeta(v ResponeMetadata)
SetMeta gets a reference to the given ResponeMetadata and assigns it to the Meta field.
type InlineResponse2003 ¶
type InlineResponse2003 struct { Items *[]Monster `json:"_items,omitempty"` Meta *ResponeMetadata `json:"_meta,omitempty"` Links *ResponeLinks `json:"_links,omitempty"` }
InlineResponse2003 struct for InlineResponse2003
func NewInlineResponse2003 ¶
func NewInlineResponse2003() *InlineResponse2003
NewInlineResponse2003 instantiates a new InlineResponse2003 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 NewInlineResponse2003WithDefaults ¶
func NewInlineResponse2003WithDefaults() *InlineResponse2003
NewInlineResponse2003WithDefaults instantiates a new InlineResponse2003 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 (*InlineResponse2003) GetItems ¶
func (o *InlineResponse2003) GetItems() []Monster
GetItems returns the Items field value if set, zero value otherwise.
func (*InlineResponse2003) GetItemsOk ¶
func (o *InlineResponse2003) GetItemsOk() (*[]Monster, bool)
GetItemsOk returns a tuple with the Items field value if set, nil otherwise and a boolean to check if the value has been set.
func (*InlineResponse2003) GetLinks ¶
func (o *InlineResponse2003) GetLinks() ResponeLinks
GetLinks returns the Links field value if set, zero value otherwise.
func (*InlineResponse2003) GetLinksOk ¶
func (o *InlineResponse2003) GetLinksOk() (*ResponeLinks, bool)
GetLinksOk returns a tuple with the Links field value if set, nil otherwise and a boolean to check if the value has been set.
func (*InlineResponse2003) GetMeta ¶
func (o *InlineResponse2003) GetMeta() ResponeMetadata
GetMeta returns the Meta field value if set, zero value otherwise.
func (*InlineResponse2003) GetMetaOk ¶
func (o *InlineResponse2003) GetMetaOk() (*ResponeMetadata, bool)
GetMetaOk returns a tuple with the Meta field value if set, nil otherwise and a boolean to check if the value has been set.
func (*InlineResponse2003) HasItems ¶
func (o *InlineResponse2003) HasItems() bool
HasItems returns a boolean if a field has been set.
func (*InlineResponse2003) HasLinks ¶
func (o *InlineResponse2003) HasLinks() bool
HasLinks returns a boolean if a field has been set.
func (*InlineResponse2003) HasMeta ¶
func (o *InlineResponse2003) HasMeta() bool
HasMeta returns a boolean if a field has been set.
func (InlineResponse2003) MarshalJSON ¶
func (o InlineResponse2003) MarshalJSON() ([]byte, error)
func (*InlineResponse2003) SetItems ¶
func (o *InlineResponse2003) SetItems(v []Monster)
SetItems gets a reference to the given []Monster and assigns it to the Items field.
func (*InlineResponse2003) SetLinks ¶
func (o *InlineResponse2003) SetLinks(v ResponeLinks)
SetLinks gets a reference to the given ResponeLinks and assigns it to the Links field.
func (*InlineResponse2003) SetMeta ¶
func (o *InlineResponse2003) SetMeta(v ResponeMetadata)
SetMeta gets a reference to the given ResponeMetadata and assigns it to the Meta field.
type InlineResponse2004 ¶
type InlineResponse2004 struct { Items *[]Prayer `json:"_items,omitempty"` Meta *ResponeMetadata `json:"_meta,omitempty"` Links *ResponeLinks `json:"_links,omitempty"` }
InlineResponse2004 struct for InlineResponse2004
func NewInlineResponse2004 ¶
func NewInlineResponse2004() *InlineResponse2004
NewInlineResponse2004 instantiates a new InlineResponse2004 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 NewInlineResponse2004WithDefaults ¶
func NewInlineResponse2004WithDefaults() *InlineResponse2004
NewInlineResponse2004WithDefaults instantiates a new InlineResponse2004 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 (*InlineResponse2004) GetItems ¶
func (o *InlineResponse2004) GetItems() []Prayer
GetItems returns the Items field value if set, zero value otherwise.
func (*InlineResponse2004) GetItemsOk ¶
func (o *InlineResponse2004) GetItemsOk() (*[]Prayer, bool)
GetItemsOk returns a tuple with the Items field value if set, nil otherwise and a boolean to check if the value has been set.
func (*InlineResponse2004) GetLinks ¶
func (o *InlineResponse2004) GetLinks() ResponeLinks
GetLinks returns the Links field value if set, zero value otherwise.
func (*InlineResponse2004) GetLinksOk ¶
func (o *InlineResponse2004) GetLinksOk() (*ResponeLinks, bool)
GetLinksOk returns a tuple with the Links field value if set, nil otherwise and a boolean to check if the value has been set.
func (*InlineResponse2004) GetMeta ¶
func (o *InlineResponse2004) GetMeta() ResponeMetadata
GetMeta returns the Meta field value if set, zero value otherwise.
func (*InlineResponse2004) GetMetaOk ¶
func (o *InlineResponse2004) GetMetaOk() (*ResponeMetadata, bool)
GetMetaOk returns a tuple with the Meta field value if set, nil otherwise and a boolean to check if the value has been set.
func (*InlineResponse2004) HasItems ¶
func (o *InlineResponse2004) HasItems() bool
HasItems returns a boolean if a field has been set.
func (*InlineResponse2004) HasLinks ¶
func (o *InlineResponse2004) HasLinks() bool
HasLinks returns a boolean if a field has been set.
func (*InlineResponse2004) HasMeta ¶
func (o *InlineResponse2004) HasMeta() bool
HasMeta returns a boolean if a field has been set.
func (InlineResponse2004) MarshalJSON ¶
func (o InlineResponse2004) MarshalJSON() ([]byte, error)
func (*InlineResponse2004) SetItems ¶
func (o *InlineResponse2004) SetItems(v []Prayer)
SetItems gets a reference to the given []Prayer and assigns it to the Items field.
func (*InlineResponse2004) SetLinks ¶
func (o *InlineResponse2004) SetLinks(v ResponeLinks)
SetLinks gets a reference to the given ResponeLinks and assigns it to the Links field.
func (*InlineResponse2004) SetMeta ¶
func (o *InlineResponse2004) SetMeta(v ResponeMetadata)
SetMeta gets a reference to the given ResponeMetadata and assigns it to the Meta field.
type InlineResponse2005 ¶
type InlineResponse2005 struct { Items *[]IconsItem `json:"_items,omitempty"` Meta *ResponeMetadata `json:"_meta,omitempty"` Links *ResponeLinks `json:"_links,omitempty"` }
InlineResponse2005 struct for InlineResponse2005
func NewInlineResponse2005 ¶
func NewInlineResponse2005() *InlineResponse2005
NewInlineResponse2005 instantiates a new InlineResponse2005 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 NewInlineResponse2005WithDefaults ¶
func NewInlineResponse2005WithDefaults() *InlineResponse2005
NewInlineResponse2005WithDefaults instantiates a new InlineResponse2005 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 (*InlineResponse2005) GetItems ¶
func (o *InlineResponse2005) GetItems() []IconsItem
GetItems returns the Items field value if set, zero value otherwise.
func (*InlineResponse2005) GetItemsOk ¶
func (o *InlineResponse2005) GetItemsOk() (*[]IconsItem, bool)
GetItemsOk returns a tuple with the Items field value if set, nil otherwise and a boolean to check if the value has been set.
func (*InlineResponse2005) GetLinks ¶
func (o *InlineResponse2005) GetLinks() ResponeLinks
GetLinks returns the Links field value if set, zero value otherwise.
func (*InlineResponse2005) GetLinksOk ¶
func (o *InlineResponse2005) GetLinksOk() (*ResponeLinks, bool)
GetLinksOk returns a tuple with the Links field value if set, nil otherwise and a boolean to check if the value has been set.
func (*InlineResponse2005) GetMeta ¶
func (o *InlineResponse2005) GetMeta() ResponeMetadata
GetMeta returns the Meta field value if set, zero value otherwise.
func (*InlineResponse2005) GetMetaOk ¶
func (o *InlineResponse2005) GetMetaOk() (*ResponeMetadata, bool)
GetMetaOk returns a tuple with the Meta field value if set, nil otherwise and a boolean to check if the value has been set.
func (*InlineResponse2005) HasItems ¶
func (o *InlineResponse2005) HasItems() bool
HasItems returns a boolean if a field has been set.
func (*InlineResponse2005) HasLinks ¶
func (o *InlineResponse2005) HasLinks() bool
HasLinks returns a boolean if a field has been set.
func (*InlineResponse2005) HasMeta ¶
func (o *InlineResponse2005) HasMeta() bool
HasMeta returns a boolean if a field has been set.
func (InlineResponse2005) MarshalJSON ¶
func (o InlineResponse2005) MarshalJSON() ([]byte, error)
func (*InlineResponse2005) SetItems ¶
func (o *InlineResponse2005) SetItems(v []IconsItem)
SetItems gets a reference to the given []IconsItem and assigns it to the Items field.
func (*InlineResponse2005) SetLinks ¶
func (o *InlineResponse2005) SetLinks(v ResponeLinks)
SetLinks gets a reference to the given ResponeLinks and assigns it to the Links field.
func (*InlineResponse2005) SetMeta ¶
func (o *InlineResponse2005) SetMeta(v ResponeMetadata)
SetMeta gets a reference to the given ResponeMetadata and assigns it to the Meta field.
type InlineResponse2006 ¶
type InlineResponse2006 struct { Items *[]IconsPrayer `json:"_items,omitempty"` Meta *ResponeMetadata `json:"_meta,omitempty"` Links *ResponeLinks `json:"_links,omitempty"` }
InlineResponse2006 struct for InlineResponse2006
func NewInlineResponse2006 ¶
func NewInlineResponse2006() *InlineResponse2006
NewInlineResponse2006 instantiates a new InlineResponse2006 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 NewInlineResponse2006WithDefaults ¶
func NewInlineResponse2006WithDefaults() *InlineResponse2006
NewInlineResponse2006WithDefaults instantiates a new InlineResponse2006 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 (*InlineResponse2006) GetItems ¶
func (o *InlineResponse2006) GetItems() []IconsPrayer
GetItems returns the Items field value if set, zero value otherwise.
func (*InlineResponse2006) GetItemsOk ¶
func (o *InlineResponse2006) GetItemsOk() (*[]IconsPrayer, bool)
GetItemsOk returns a tuple with the Items field value if set, nil otherwise and a boolean to check if the value has been set.
func (*InlineResponse2006) GetLinks ¶
func (o *InlineResponse2006) GetLinks() ResponeLinks
GetLinks returns the Links field value if set, zero value otherwise.
func (*InlineResponse2006) GetLinksOk ¶
func (o *InlineResponse2006) GetLinksOk() (*ResponeLinks, bool)
GetLinksOk returns a tuple with the Links field value if set, nil otherwise and a boolean to check if the value has been set.
func (*InlineResponse2006) GetMeta ¶
func (o *InlineResponse2006) GetMeta() ResponeMetadata
GetMeta returns the Meta field value if set, zero value otherwise.
func (*InlineResponse2006) GetMetaOk ¶
func (o *InlineResponse2006) GetMetaOk() (*ResponeMetadata, bool)
GetMetaOk returns a tuple with the Meta field value if set, nil otherwise and a boolean to check if the value has been set.
func (*InlineResponse2006) HasItems ¶
func (o *InlineResponse2006) HasItems() bool
HasItems returns a boolean if a field has been set.
func (*InlineResponse2006) HasLinks ¶
func (o *InlineResponse2006) HasLinks() bool
HasLinks returns a boolean if a field has been set.
func (*InlineResponse2006) HasMeta ¶
func (o *InlineResponse2006) HasMeta() bool
HasMeta returns a boolean if a field has been set.
func (InlineResponse2006) MarshalJSON ¶
func (o InlineResponse2006) MarshalJSON() ([]byte, error)
func (*InlineResponse2006) SetItems ¶
func (o *InlineResponse2006) SetItems(v []IconsPrayer)
SetItems gets a reference to the given []IconsPrayer and assigns it to the Items field.
func (*InlineResponse2006) SetLinks ¶
func (o *InlineResponse2006) SetLinks(v ResponeLinks)
SetLinks gets a reference to the given ResponeLinks and assigns it to the Links field.
func (*InlineResponse2006) SetMeta ¶
func (o *InlineResponse2006) SetMeta(v ResponeMetadata)
SetMeta gets a reference to the given ResponeMetadata and assigns it to the Meta field.
type Item ¶
type Item struct { // Unique OSRS item ID number. Id string `json:"id"` // The name of the item. Name string `json:"name"` // The last time (UTC) the item was updated (in ISO8601 date format). LastUpdated string `json:"last_updated"` // If the item has incomplete wiki data. Incomplete bool `json:"incomplete"` // If the item is a members-only. Members bool `json:"members"` // If the item is tradeable (between players and on the GE). Tradeable bool `json:"tradeable"` // If the item is tradeable (only on GE). TradeableOnGe bool `json:"tradeable_on_ge"` // If the item is stackable (in inventory). Stackable bool `json:"stackable"` // If the item is stacked, indicated by the stack count. Stacked NullableInt32 `json:"stacked"` // If the item is noted. Noted bool `json:"noted"` // If the item is noteable. Noteable bool `json:"noteable"` // The linked ID of the actual item (if noted/placeholder). LinkedIdItem NullableInt32 `json:"linked_id_item"` // The linked ID of an item in noted form. LinkedIdNoted NullableInt32 `json:"linked_id_noted"` // The linked ID of an item in placeholder form. LinkedIdPlaceholder NullableInt32 `json:"linked_id_placeholder"` // If the item is a placeholder. Placeholder bool `json:"placeholder"` // If the item is equipable (based on right-click menu entry). Equipable bool `json:"equipable"` // If the item is equipable in-game by a player. EquipableByPlayer bool `json:"equipable_by_player"` // If the item is an equipable weapon. EquipableWeapon bool `json:"equipable_weapon"` // The store price of an item. Cost int32 `json:"cost"` // The low alchemy value of the item (cost * 0.4). Lowalch NullableInt32 `json:"lowalch"` // The high alchemy value of the item (cost * 0.6). Highalch NullableInt32 `json:"highalch"` // The weight (in kilograms) of the item. Weight NullableFloat32 `json:"weight"` // The Grand Exchange buy limit of the item. BuyLimit NullableInt32 `json:"buy_limit"` // If the item is associated with a quest. QuestItem bool `json:"quest_item"` // Date the item was released (in ISO8601 format). ReleaseDate NullableString `json:"release_date"` // If the item is a duplicate. Duplicate bool `json:"duplicate"` // The examine text for the item. Examine NullableString `json:"examine"` // The item icon (in base64 encoding). Icon string `json:"icon"` // The OSRS Wiki name for the item. WikiName NullableString `json:"wiki_name"` // The OSRS Wiki URL (possibly including anchor link). WikiUrl NullableString `json:"wiki_url"` Equipment NullableItemEquipment `json:"equipment"` Weapon NullableItemWeapon `json:"weapon"` }
Item struct for Item
func NewItem ¶
func NewItem(id string, name string, lastUpdated string, incomplete bool, members bool, tradeable bool, tradeableOnGe bool, stackable bool, stacked NullableInt32, noted bool, noteable bool, linkedIdItem NullableInt32, linkedIdNoted NullableInt32, linkedIdPlaceholder NullableInt32, placeholder bool, equipable bool, equipableByPlayer bool, equipableWeapon bool, cost int32, lowalch NullableInt32, highalch NullableInt32, weight NullableFloat32, buyLimit NullableInt32, questItem bool, releaseDate NullableString, duplicate bool, examine NullableString, icon string, wikiName NullableString, wikiUrl NullableString, equipment NullableItemEquipment, weapon NullableItemWeapon) *Item
NewItem instantiates a new Item 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 NewItemWithDefaults ¶
func NewItemWithDefaults() *Item
NewItemWithDefaults instantiates a new Item 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 (*Item) GetBuyLimit ¶
GetBuyLimit returns the BuyLimit field value If the value is explicit nil, the zero value for int32 will be returned
func (*Item) GetBuyLimitOk ¶
GetBuyLimitOk returns a tuple with the BuyLimit field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*Item) GetCostOk ¶
GetCostOk returns a tuple with the Cost field value and a boolean to check if the value has been set.
func (*Item) GetDuplicate ¶
GetDuplicate returns the Duplicate field value
func (*Item) GetDuplicateOk ¶
GetDuplicateOk returns a tuple with the Duplicate field value and a boolean to check if the value has been set.
func (*Item) GetEquipable ¶
GetEquipable returns the Equipable field value
func (*Item) GetEquipableByPlayer ¶
GetEquipableByPlayer returns the EquipableByPlayer field value
func (*Item) GetEquipableByPlayerOk ¶
GetEquipableByPlayerOk returns a tuple with the EquipableByPlayer field value and a boolean to check if the value has been set.
func (*Item) GetEquipableOk ¶
GetEquipableOk returns a tuple with the Equipable field value and a boolean to check if the value has been set.
func (*Item) GetEquipableWeapon ¶
GetEquipableWeapon returns the EquipableWeapon field value
func (*Item) GetEquipableWeaponOk ¶
GetEquipableWeaponOk returns a tuple with the EquipableWeapon field value and a boolean to check if the value has been set.
func (*Item) GetEquipment ¶
func (o *Item) GetEquipment() ItemEquipment
GetEquipment returns the Equipment field value If the value is explicit nil, the zero value for ItemEquipment will be returned
func (*Item) GetEquipmentOk ¶
func (o *Item) GetEquipmentOk() (*ItemEquipment, bool)
GetEquipmentOk returns a tuple with the Equipment field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*Item) GetExamine ¶
GetExamine returns the Examine field value If the value is explicit nil, the zero value for string will be returned
func (*Item) GetExamineOk ¶
GetExamineOk returns a tuple with the Examine field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*Item) GetHighalch ¶
GetHighalch returns the Highalch field value If the value is explicit nil, the zero value for int32 will be returned
func (*Item) GetHighalchOk ¶
GetHighalchOk returns a tuple with the Highalch field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*Item) GetIconOk ¶
GetIconOk returns a tuple with the Icon field value and a boolean to check if the value has been set.
func (*Item) GetIdOk ¶
GetIdOk returns a tuple with the Id field value and a boolean to check if the value has been set.
func (*Item) GetIncomplete ¶
GetIncomplete returns the Incomplete field value
func (*Item) GetIncompleteOk ¶
GetIncompleteOk returns a tuple with the Incomplete field value and a boolean to check if the value has been set.
func (*Item) GetLastUpdated ¶
GetLastUpdated returns the LastUpdated field value
func (*Item) GetLastUpdatedOk ¶
GetLastUpdatedOk returns a tuple with the LastUpdated field value and a boolean to check if the value has been set.
func (*Item) GetLinkedIdItem ¶
GetLinkedIdItem returns the LinkedIdItem field value If the value is explicit nil, the zero value for int32 will be returned
func (*Item) GetLinkedIdItemOk ¶
GetLinkedIdItemOk returns a tuple with the LinkedIdItem field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*Item) GetLinkedIdNoted ¶
GetLinkedIdNoted returns the LinkedIdNoted field value If the value is explicit nil, the zero value for int32 will be returned
func (*Item) GetLinkedIdNotedOk ¶
GetLinkedIdNotedOk returns a tuple with the LinkedIdNoted field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*Item) GetLinkedIdPlaceholder ¶
GetLinkedIdPlaceholder returns the LinkedIdPlaceholder field value If the value is explicit nil, the zero value for int32 will be returned
func (*Item) GetLinkedIdPlaceholderOk ¶
GetLinkedIdPlaceholderOk returns a tuple with the LinkedIdPlaceholder field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*Item) GetLowalch ¶
GetLowalch returns the Lowalch field value If the value is explicit nil, the zero value for int32 will be returned
func (*Item) GetLowalchOk ¶
GetLowalchOk returns a tuple with the Lowalch field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*Item) GetMembers ¶
GetMembers returns the Members field value
func (*Item) GetMembersOk ¶
GetMembersOk returns a tuple with the Members field value and a boolean to check if the value has been set.
func (*Item) GetNameOk ¶
GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.
func (*Item) GetNoteable ¶
GetNoteable returns the Noteable field value
func (*Item) GetNoteableOk ¶
GetNoteableOk returns a tuple with the Noteable field value and a boolean to check if the value has been set.
func (*Item) GetNotedOk ¶
GetNotedOk returns a tuple with the Noted field value and a boolean to check if the value has been set.
func (*Item) GetPlaceholder ¶
GetPlaceholder returns the Placeholder field value
func (*Item) GetPlaceholderOk ¶
GetPlaceholderOk returns a tuple with the Placeholder field value and a boolean to check if the value has been set.
func (*Item) GetQuestItem ¶
GetQuestItem returns the QuestItem field value
func (*Item) GetQuestItemOk ¶
GetQuestItemOk returns a tuple with the QuestItem field value and a boolean to check if the value has been set.
func (*Item) GetReleaseDate ¶
GetReleaseDate returns the ReleaseDate field value If the value is explicit nil, the zero value for string will be returned
func (*Item) GetReleaseDateOk ¶
GetReleaseDateOk returns a tuple with the ReleaseDate field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*Item) GetStackable ¶
GetStackable returns the Stackable field value
func (*Item) GetStackableOk ¶
GetStackableOk returns a tuple with the Stackable field value and a boolean to check if the value has been set.
func (*Item) GetStacked ¶
GetStacked returns the Stacked field value If the value is explicit nil, the zero value for int32 will be returned
func (*Item) GetStackedOk ¶
GetStackedOk returns a tuple with the Stacked field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*Item) GetTradeable ¶
GetTradeable returns the Tradeable field value
func (*Item) GetTradeableOk ¶
GetTradeableOk returns a tuple with the Tradeable field value and a boolean to check if the value has been set.
func (*Item) GetTradeableOnGe ¶
GetTradeableOnGe returns the TradeableOnGe field value
func (*Item) GetTradeableOnGeOk ¶
GetTradeableOnGeOk returns a tuple with the TradeableOnGe field value and a boolean to check if the value has been set.
func (*Item) GetWeapon ¶
func (o *Item) GetWeapon() ItemWeapon
GetWeapon returns the Weapon field value If the value is explicit nil, the zero value for ItemWeapon will be returned
func (*Item) GetWeaponOk ¶
func (o *Item) GetWeaponOk() (*ItemWeapon, bool)
GetWeaponOk returns a tuple with the Weapon field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*Item) GetWeight ¶
GetWeight returns the Weight field value If the value is explicit nil, the zero value for float32 will be returned
func (*Item) GetWeightOk ¶
GetWeightOk returns a tuple with the Weight field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*Item) GetWikiName ¶
GetWikiName returns the WikiName field value If the value is explicit nil, the zero value for string will be returned
func (*Item) GetWikiNameOk ¶
GetWikiNameOk returns a tuple with the WikiName field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*Item) GetWikiUrl ¶
GetWikiUrl returns the WikiUrl field value If the value is explicit nil, the zero value for string will be returned
func (*Item) GetWikiUrlOk ¶
GetWikiUrlOk returns a tuple with the WikiUrl field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (Item) MarshalJSON ¶
func (*Item) SetEquipableByPlayer ¶
SetEquipableByPlayer sets field value
func (*Item) SetEquipableWeapon ¶
SetEquipableWeapon sets field value
func (*Item) SetEquipment ¶
func (o *Item) SetEquipment(v ItemEquipment)
SetEquipment sets field value
func (*Item) SetLastUpdated ¶
SetLastUpdated sets field value
func (*Item) SetLinkedIdItem ¶
SetLinkedIdItem sets field value
func (*Item) SetLinkedIdNoted ¶
SetLinkedIdNoted sets field value
func (*Item) SetLinkedIdPlaceholder ¶
SetLinkedIdPlaceholder sets field value
func (*Item) SetReleaseDate ¶
SetReleaseDate sets field value
func (*Item) SetTradeableOnGe ¶
SetTradeableOnGe sets field value
type ItemApiService ¶
type ItemApiService service
ItemApiService ItemApi service
func (*ItemApiService) DeleteItemItem ¶
func (a *ItemApiService) DeleteItemItem(ctx _context.Context, itemId string) ApiDeleteItemItemRequest
* DeleteItemItem Deletes a Item document * @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). * @param itemId Unique OSRS item ID number. * @return ApiDeleteItemItemRequest
func (*ItemApiService) DeleteItemItemExecute ¶
func (a *ItemApiService) DeleteItemItemExecute(r ApiDeleteItemItemRequest) (*_nethttp.Response, error)
* Execute executes the request
func (*ItemApiService) Deleteitems ¶
func (a *ItemApiService) Deleteitems(ctx _context.Context) ApiDeleteitemsRequest
* Deleteitems Deletes all items * @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). * @return ApiDeleteitemsRequest
func (*ItemApiService) DeleteitemsExecute ¶
func (a *ItemApiService) DeleteitemsExecute(r ApiDeleteitemsRequest) (*_nethttp.Response, error)
* Execute executes the request
func (*ItemApiService) GetItemItem ¶
func (a *ItemApiService) GetItemItem(ctx _context.Context, itemId string) ApiGetItemItemRequest
* GetItemItem Retrieves a Item document * @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). * @param itemId Unique OSRS item ID number. * @return ApiGetItemItemRequest
func (*ItemApiService) GetItemItemExecute ¶
func (a *ItemApiService) GetItemItemExecute(r ApiGetItemItemRequest) (Item, *_nethttp.Response, error)
* Execute executes the request * @return Item
func (*ItemApiService) Getitems ¶
func (a *ItemApiService) Getitems(ctx _context.Context) ApiGetitemsRequest
* Getitems Retrieves one or more items * @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). * @return ApiGetitemsRequest
func (*ItemApiService) GetitemsExecute ¶
func (a *ItemApiService) GetitemsExecute(r ApiGetitemsRequest) (InlineResponse200, *_nethttp.Response, error)
* Execute executes the request * @return InlineResponse200
func (*ItemApiService) Postitems ¶
func (a *ItemApiService) Postitems(ctx _context.Context) ApiPostitemsRequest
* Postitems Stores one or more items. * @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). * @return ApiPostitemsRequest
func (*ItemApiService) PostitemsExecute ¶
func (a *ItemApiService) PostitemsExecute(r ApiPostitemsRequest) (*_nethttp.Response, error)
* Execute executes the request
func (*ItemApiService) PutItemItem ¶
func (a *ItemApiService) PutItemItem(ctx _context.Context, itemId string) ApiPutItemItemRequest
* PutItemItem Replaces a Item document * @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). * @param itemId Unique OSRS item ID number. * @return ApiPutItemItemRequest
func (*ItemApiService) PutItemItemExecute ¶
func (a *ItemApiService) PutItemItemExecute(r ApiPutItemItemRequest) (*_nethttp.Response, error)
* Execute executes the request
type ItemEquipment ¶
type ItemEquipment struct { // The attack stab bonus of the item. AttackStab int32 `json:"attack_stab"` // The attack slash bonus of the item. AttackSlash int32 `json:"attack_slash"` // The attack crush bonus of the item. AttackCrush int32 `json:"attack_crush"` // The attack magic bonus of the item. AttackMagic int32 `json:"attack_magic"` // The attack ranged bonus of the item. AttackRanged int32 `json:"attack_ranged"` // The defence stab bonus of the item. DefenceStab int32 `json:"defence_stab"` // The defence slash bonus of the item. DefenceSlash int32 `json:"defence_slash"` // The defence crush bonus of the item. DefenceCrush int32 `json:"defence_crush"` // The defence magic bonus of the item. DefenceMagic int32 `json:"defence_magic"` // The defence ranged bonus of the item. DefenceRanged int32 `json:"defence_ranged"` // The melee strength bonus of the item. MeleeStrength int32 `json:"melee_strength"` // The ranged strength bonus of the item. RangedStrength int32 `json:"ranged_strength"` // The magic damage bonus of the item. MagicDamage int32 `json:"magic_damage"` // The prayer bonus of the item. Prayer int32 `json:"prayer"` // The equipment slot associated with the item (e.g., head). Slot string `json:"slot"` // An object of requirements {skill: level}. Requirements map[string]interface{} `json:"requirements"` }
ItemEquipment The equipment bonuses of equipable armour/weapons.
func NewItemEquipment ¶
func NewItemEquipment(attackStab int32, attackSlash int32, attackCrush int32, attackMagic int32, attackRanged int32, defenceStab int32, defenceSlash int32, defenceCrush int32, defenceMagic int32, defenceRanged int32, meleeStrength int32, rangedStrength int32, magicDamage int32, prayer int32, slot string, requirements map[string]interface{}) *ItemEquipment
NewItemEquipment instantiates a new ItemEquipment 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 NewItemEquipmentWithDefaults ¶
func NewItemEquipmentWithDefaults() *ItemEquipment
NewItemEquipmentWithDefaults instantiates a new ItemEquipment 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 (*ItemEquipment) GetAttackCrush ¶
func (o *ItemEquipment) GetAttackCrush() int32
GetAttackCrush returns the AttackCrush field value
func (*ItemEquipment) GetAttackCrushOk ¶
func (o *ItemEquipment) GetAttackCrushOk() (*int32, bool)
GetAttackCrushOk returns a tuple with the AttackCrush field value and a boolean to check if the value has been set.
func (*ItemEquipment) GetAttackMagic ¶
func (o *ItemEquipment) GetAttackMagic() int32
GetAttackMagic returns the AttackMagic field value
func (*ItemEquipment) GetAttackMagicOk ¶
func (o *ItemEquipment) GetAttackMagicOk() (*int32, bool)
GetAttackMagicOk returns a tuple with the AttackMagic field value and a boolean to check if the value has been set.
func (*ItemEquipment) GetAttackRanged ¶
func (o *ItemEquipment) GetAttackRanged() int32
GetAttackRanged returns the AttackRanged field value
func (*ItemEquipment) GetAttackRangedOk ¶
func (o *ItemEquipment) GetAttackRangedOk() (*int32, bool)
GetAttackRangedOk returns a tuple with the AttackRanged field value and a boolean to check if the value has been set.
func (*ItemEquipment) GetAttackSlash ¶
func (o *ItemEquipment) GetAttackSlash() int32
GetAttackSlash returns the AttackSlash field value
func (*ItemEquipment) GetAttackSlashOk ¶
func (o *ItemEquipment) GetAttackSlashOk() (*int32, bool)
GetAttackSlashOk returns a tuple with the AttackSlash field value and a boolean to check if the value has been set.
func (*ItemEquipment) GetAttackStab ¶
func (o *ItemEquipment) GetAttackStab() int32
GetAttackStab returns the AttackStab field value
func (*ItemEquipment) GetAttackStabOk ¶
func (o *ItemEquipment) GetAttackStabOk() (*int32, bool)
GetAttackStabOk returns a tuple with the AttackStab field value and a boolean to check if the value has been set.
func (*ItemEquipment) GetDefenceCrush ¶
func (o *ItemEquipment) GetDefenceCrush() int32
GetDefenceCrush returns the DefenceCrush field value
func (*ItemEquipment) GetDefenceCrushOk ¶
func (o *ItemEquipment) GetDefenceCrushOk() (*int32, bool)
GetDefenceCrushOk returns a tuple with the DefenceCrush field value and a boolean to check if the value has been set.
func (*ItemEquipment) GetDefenceMagic ¶
func (o *ItemEquipment) GetDefenceMagic() int32
GetDefenceMagic returns the DefenceMagic field value
func (*ItemEquipment) GetDefenceMagicOk ¶
func (o *ItemEquipment) GetDefenceMagicOk() (*int32, bool)
GetDefenceMagicOk returns a tuple with the DefenceMagic field value and a boolean to check if the value has been set.
func (*ItemEquipment) GetDefenceRanged ¶
func (o *ItemEquipment) GetDefenceRanged() int32
GetDefenceRanged returns the DefenceRanged field value
func (*ItemEquipment) GetDefenceRangedOk ¶
func (o *ItemEquipment) GetDefenceRangedOk() (*int32, bool)
GetDefenceRangedOk returns a tuple with the DefenceRanged field value and a boolean to check if the value has been set.
func (*ItemEquipment) GetDefenceSlash ¶
func (o *ItemEquipment) GetDefenceSlash() int32
GetDefenceSlash returns the DefenceSlash field value
func (*ItemEquipment) GetDefenceSlashOk ¶
func (o *ItemEquipment) GetDefenceSlashOk() (*int32, bool)
GetDefenceSlashOk returns a tuple with the DefenceSlash field value and a boolean to check if the value has been set.
func (*ItemEquipment) GetDefenceStab ¶
func (o *ItemEquipment) GetDefenceStab() int32
GetDefenceStab returns the DefenceStab field value
func (*ItemEquipment) GetDefenceStabOk ¶
func (o *ItemEquipment) GetDefenceStabOk() (*int32, bool)
GetDefenceStabOk returns a tuple with the DefenceStab field value and a boolean to check if the value has been set.
func (*ItemEquipment) GetMagicDamage ¶
func (o *ItemEquipment) GetMagicDamage() int32
GetMagicDamage returns the MagicDamage field value
func (*ItemEquipment) GetMagicDamageOk ¶
func (o *ItemEquipment) GetMagicDamageOk() (*int32, bool)
GetMagicDamageOk returns a tuple with the MagicDamage field value and a boolean to check if the value has been set.
func (*ItemEquipment) GetMeleeStrength ¶
func (o *ItemEquipment) GetMeleeStrength() int32
GetMeleeStrength returns the MeleeStrength field value
func (*ItemEquipment) GetMeleeStrengthOk ¶
func (o *ItemEquipment) GetMeleeStrengthOk() (*int32, bool)
GetMeleeStrengthOk returns a tuple with the MeleeStrength field value and a boolean to check if the value has been set.
func (*ItemEquipment) GetPrayer ¶
func (o *ItemEquipment) GetPrayer() int32
GetPrayer returns the Prayer field value
func (*ItemEquipment) GetPrayerOk ¶
func (o *ItemEquipment) GetPrayerOk() (*int32, bool)
GetPrayerOk returns a tuple with the Prayer field value and a boolean to check if the value has been set.
func (*ItemEquipment) GetRangedStrength ¶
func (o *ItemEquipment) GetRangedStrength() int32
GetRangedStrength returns the RangedStrength field value
func (*ItemEquipment) GetRangedStrengthOk ¶
func (o *ItemEquipment) GetRangedStrengthOk() (*int32, bool)
GetRangedStrengthOk returns a tuple with the RangedStrength field value and a boolean to check if the value has been set.
func (*ItemEquipment) GetRequirements ¶
func (o *ItemEquipment) GetRequirements() map[string]interface{}
GetRequirements returns the Requirements field value If the value is explicit nil, the zero value for map[string]interface{} will be returned
func (*ItemEquipment) GetRequirementsOk ¶
func (o *ItemEquipment) GetRequirementsOk() (*map[string]interface{}, bool)
GetRequirementsOk returns a tuple with the Requirements field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*ItemEquipment) GetSlot ¶
func (o *ItemEquipment) GetSlot() string
GetSlot returns the Slot field value
func (*ItemEquipment) GetSlotOk ¶
func (o *ItemEquipment) GetSlotOk() (*string, bool)
GetSlotOk returns a tuple with the Slot field value and a boolean to check if the value has been set.
func (ItemEquipment) MarshalJSON ¶
func (o ItemEquipment) MarshalJSON() ([]byte, error)
func (*ItemEquipment) SetAttackCrush ¶
func (o *ItemEquipment) SetAttackCrush(v int32)
SetAttackCrush sets field value
func (*ItemEquipment) SetAttackMagic ¶
func (o *ItemEquipment) SetAttackMagic(v int32)
SetAttackMagic sets field value
func (*ItemEquipment) SetAttackRanged ¶
func (o *ItemEquipment) SetAttackRanged(v int32)
SetAttackRanged sets field value
func (*ItemEquipment) SetAttackSlash ¶
func (o *ItemEquipment) SetAttackSlash(v int32)
SetAttackSlash sets field value
func (*ItemEquipment) SetAttackStab ¶
func (o *ItemEquipment) SetAttackStab(v int32)
SetAttackStab sets field value
func (*ItemEquipment) SetDefenceCrush ¶
func (o *ItemEquipment) SetDefenceCrush(v int32)
SetDefenceCrush sets field value
func (*ItemEquipment) SetDefenceMagic ¶
func (o *ItemEquipment) SetDefenceMagic(v int32)
SetDefenceMagic sets field value
func (*ItemEquipment) SetDefenceRanged ¶
func (o *ItemEquipment) SetDefenceRanged(v int32)
SetDefenceRanged sets field value
func (*ItemEquipment) SetDefenceSlash ¶
func (o *ItemEquipment) SetDefenceSlash(v int32)
SetDefenceSlash sets field value
func (*ItemEquipment) SetDefenceStab ¶
func (o *ItemEquipment) SetDefenceStab(v int32)
SetDefenceStab sets field value
func (*ItemEquipment) SetMagicDamage ¶
func (o *ItemEquipment) SetMagicDamage(v int32)
SetMagicDamage sets field value
func (*ItemEquipment) SetMeleeStrength ¶
func (o *ItemEquipment) SetMeleeStrength(v int32)
SetMeleeStrength sets field value
func (*ItemEquipment) SetPrayer ¶
func (o *ItemEquipment) SetPrayer(v int32)
SetPrayer sets field value
func (*ItemEquipment) SetRangedStrength ¶
func (o *ItemEquipment) SetRangedStrength(v int32)
SetRangedStrength sets field value
func (*ItemEquipment) SetRequirements ¶
func (o *ItemEquipment) SetRequirements(v map[string]interface{})
SetRequirements sets field value
type ItemWeapon ¶
type ItemWeapon struct { // The attack speed of a weapon (in game ticks). AttackSpeed int32 `json:"attack_speed"` // The weapon classification (e.g., axes) WeaponType string `json:"weapon_type"` // An array of weapon stance information. Stances []ItemWeaponStances `json:"stances"` }
ItemWeapon The weapon bonuses including attack speed, type and stance.
func NewItemWeapon ¶
func NewItemWeapon(attackSpeed int32, weaponType string, stances []ItemWeaponStances) *ItemWeapon
NewItemWeapon instantiates a new ItemWeapon 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 NewItemWeaponWithDefaults ¶
func NewItemWeaponWithDefaults() *ItemWeapon
NewItemWeaponWithDefaults instantiates a new ItemWeapon 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 (*ItemWeapon) GetAttackSpeed ¶
func (o *ItemWeapon) GetAttackSpeed() int32
GetAttackSpeed returns the AttackSpeed field value
func (*ItemWeapon) GetAttackSpeedOk ¶
func (o *ItemWeapon) GetAttackSpeedOk() (*int32, bool)
GetAttackSpeedOk returns a tuple with the AttackSpeed field value and a boolean to check if the value has been set.
func (*ItemWeapon) GetStances ¶
func (o *ItemWeapon) GetStances() []ItemWeaponStances
GetStances returns the Stances field value
func (*ItemWeapon) GetStancesOk ¶
func (o *ItemWeapon) GetStancesOk() (*[]ItemWeaponStances, bool)
GetStancesOk returns a tuple with the Stances field value and a boolean to check if the value has been set.
func (*ItemWeapon) GetWeaponType ¶
func (o *ItemWeapon) GetWeaponType() string
GetWeaponType returns the WeaponType field value
func (*ItemWeapon) GetWeaponTypeOk ¶
func (o *ItemWeapon) GetWeaponTypeOk() (*string, bool)
GetWeaponTypeOk returns a tuple with the WeaponType field value and a boolean to check if the value has been set.
func (ItemWeapon) MarshalJSON ¶
func (o ItemWeapon) MarshalJSON() ([]byte, error)
func (*ItemWeapon) SetAttackSpeed ¶
func (o *ItemWeapon) SetAttackSpeed(v int32)
SetAttackSpeed sets field value
func (*ItemWeapon) SetStances ¶
func (o *ItemWeapon) SetStances(v []ItemWeaponStances)
SetStances sets field value
func (*ItemWeapon) SetWeaponType ¶
func (o *ItemWeapon) SetWeaponType(v string)
SetWeaponType sets field value
type ItemWeaponStances ¶
type ItemWeaponStances struct { CombatStyle string `json:"combat_style"` AttackType NullableString `json:"attack_type"` AttackStyle NullableString `json:"attack_style"` Experience NullableString `json:"experience"` Boosts NullableString `json:"boosts"` }
ItemWeaponStances struct for ItemWeaponStances
func NewItemWeaponStances ¶
func NewItemWeaponStances(combatStyle string, attackType NullableString, attackStyle NullableString, experience NullableString, boosts NullableString) *ItemWeaponStances
NewItemWeaponStances instantiates a new ItemWeaponStances 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 NewItemWeaponStancesWithDefaults ¶
func NewItemWeaponStancesWithDefaults() *ItemWeaponStances
NewItemWeaponStancesWithDefaults instantiates a new ItemWeaponStances 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 (*ItemWeaponStances) GetAttackStyle ¶
func (o *ItemWeaponStances) GetAttackStyle() string
GetAttackStyle returns the AttackStyle field value If the value is explicit nil, the zero value for string will be returned
func (*ItemWeaponStances) GetAttackStyleOk ¶
func (o *ItemWeaponStances) GetAttackStyleOk() (*string, bool)
GetAttackStyleOk returns a tuple with the AttackStyle field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*ItemWeaponStances) GetAttackType ¶
func (o *ItemWeaponStances) GetAttackType() string
GetAttackType returns the AttackType field value If the value is explicit nil, the zero value for string will be returned
func (*ItemWeaponStances) GetAttackTypeOk ¶
func (o *ItemWeaponStances) GetAttackTypeOk() (*string, bool)
GetAttackTypeOk returns a tuple with the AttackType field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*ItemWeaponStances) GetBoosts ¶
func (o *ItemWeaponStances) GetBoosts() string
GetBoosts returns the Boosts field value If the value is explicit nil, the zero value for string will be returned
func (*ItemWeaponStances) GetBoostsOk ¶
func (o *ItemWeaponStances) GetBoostsOk() (*string, bool)
GetBoostsOk returns a tuple with the Boosts field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*ItemWeaponStances) GetCombatStyle ¶
func (o *ItemWeaponStances) GetCombatStyle() string
GetCombatStyle returns the CombatStyle field value
func (*ItemWeaponStances) GetCombatStyleOk ¶
func (o *ItemWeaponStances) GetCombatStyleOk() (*string, bool)
GetCombatStyleOk returns a tuple with the CombatStyle field value and a boolean to check if the value has been set.
func (*ItemWeaponStances) GetExperience ¶
func (o *ItemWeaponStances) GetExperience() string
GetExperience returns the Experience field value If the value is explicit nil, the zero value for string will be returned
func (*ItemWeaponStances) GetExperienceOk ¶
func (o *ItemWeaponStances) GetExperienceOk() (*string, bool)
GetExperienceOk returns a tuple with the Experience field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (ItemWeaponStances) MarshalJSON ¶
func (o ItemWeaponStances) MarshalJSON() ([]byte, error)
func (*ItemWeaponStances) SetAttackStyle ¶
func (o *ItemWeaponStances) SetAttackStyle(v string)
SetAttackStyle sets field value
func (*ItemWeaponStances) SetAttackType ¶
func (o *ItemWeaponStances) SetAttackType(v string)
SetAttackType sets field value
func (*ItemWeaponStances) SetBoosts ¶
func (o *ItemWeaponStances) SetBoosts(v string)
SetBoosts sets field value
func (*ItemWeaponStances) SetCombatStyle ¶
func (o *ItemWeaponStances) SetCombatStyle(v string)
SetCombatStyle sets field value
func (*ItemWeaponStances) SetExperience ¶
func (o *ItemWeaponStances) SetExperience(v string)
SetExperience sets field value
type Monster ¶
type Monster struct { // Unique OSRS monster ID number. Id string `json:"id"` // The name of the monster. Name string `json:"name"` // The last time (UTC) the monster was updated (in ISO8601 date format). LastUpdated NullableString `json:"last_updated"` // If the monster has incomplete wiki data. Incomplete bool `json:"incomplete"` // If the monster is members only, or not. Members bool `json:"members"` // The release date of the monster (in ISO8601 date format). ReleaseDate NullableString `json:"release_date"` // The combat level of the monster. CombatLevel int32 `json:"combat_level"` // The size, in tiles, of the monster. Size int32 `json:"size"` // The number of hitpoints a monster has. Hitpoints NullableInt32 `json:"hitpoints"` // The maximum hit of the monster. MaxHit NullableInt32 `json:"max_hit"` // The attack style (e.g., melee, magic, range) of the monster. AttackType []string `json:"attack_type"` // The attack speed (in game ticks) of the monster. AttackSpeed NullableInt32 `json:"attack_speed"` // If the monster is aggressive, or not. Aggressive bool `json:"aggressive"` // If the monster poisons, or not Poisonous bool `json:"poisonous"` // If the monster poisons using venom, or not Venomous bool `json:"venomous"` // If the monster is immune to poison, or not ImmunePoison bool `json:"immune_poison"` // If the monster is immune to venom, or not ImmuneVenom bool `json:"immune_venom"` // An array of monster attributes. Attributes []string `json:"attributes"` // An array of monster category. Category []string `json:"category"` // If the monster is a potential slayer task. SlayerMonster bool `json:"slayer_monster"` // The slayer level required to kill the monster. SlayerLevel NullableInt32 `json:"slayer_level"` // The slayer XP rewarded for a monster kill. SlayerXp NullableFloat32 `json:"slayer_xp"` // The slayer masters who can assign the monster. SlayerMasters []string `json:"slayer_masters"` // If the monster is a duplicate. Duplicate bool `json:"duplicate"` // The examine text of the monster. Examine string `json:"examine"` // The OSRS Wiki name for the monster. WikiName string `json:"wiki_name"` // The OSRS Wiki URL (possibly including anchor link). WikiUrl string `json:"wiki_url"` // The attack level of the monster. AttackLevel int32 `json:"attack_level"` // The strength level of the monster. StrengthLevel int32 `json:"strength_level"` // The defence level of the monster. DefenceLevel int32 `json:"defence_level"` // The magic level of the monster. MagicLevel int32 `json:"magic_level"` // The ranged level of the monster. RangedLevel int32 `json:"ranged_level"` // The attack bonus of the monster. AttackBonus int32 `json:"attack_bonus"` // The strength bonus of the monster. StrengthBonus int32 `json:"strength_bonus"` // The magic attack of the monster. AttackMagic int32 `json:"attack_magic"` // The magic bonus of the monster. MagicBonus int32 `json:"magic_bonus"` // The ranged attack of the monster. AttackRanged int32 `json:"attack_ranged"` // The ranged bonus of the monster. RangedBonus int32 `json:"ranged_bonus"` // The defence stab bonus of the monster. DefenceStab int32 `json:"defence_stab"` // The defence slash bonus of the monster. DefenceSlash int32 `json:"defence_slash"` // The defence crush bonus of the monster. DefenceCrush int32 `json:"defence_crush"` // The defence magic bonus of the monster. DefenceMagic int32 `json:"defence_magic"` // The defence ranged bonus of the monster. DefenceRanged int32 `json:"defence_ranged"` // An array of monster drop objects. Drops []MonsterDrops `json:"drops"` }
Monster struct for Monster
func NewMonster ¶
func NewMonster(id string, name string, lastUpdated NullableString, incomplete bool, members bool, releaseDate NullableString, combatLevel int32, size int32, hitpoints NullableInt32, maxHit NullableInt32, attackType []string, attackSpeed NullableInt32, aggressive bool, poisonous bool, venomous bool, immunePoison bool, immuneVenom bool, attributes []string, category []string, slayerMonster bool, slayerLevel NullableInt32, slayerXp NullableFloat32, slayerMasters []string, duplicate bool, examine string, wikiName string, wikiUrl string, attackLevel int32, strengthLevel int32, defenceLevel int32, magicLevel int32, rangedLevel int32, attackBonus int32, strengthBonus int32, attackMagic int32, magicBonus int32, attackRanged int32, rangedBonus int32, defenceStab int32, defenceSlash int32, defenceCrush int32, defenceMagic int32, defenceRanged int32, drops []MonsterDrops) *Monster
NewMonster instantiates a new Monster 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 NewMonsterWithDefaults ¶
func NewMonsterWithDefaults() *Monster
NewMonsterWithDefaults instantiates a new Monster 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 (*Monster) GetAggressive ¶
GetAggressive returns the Aggressive field value
func (*Monster) GetAggressiveOk ¶
GetAggressiveOk returns a tuple with the Aggressive field value and a boolean to check if the value has been set.
func (*Monster) GetAttackBonus ¶
GetAttackBonus returns the AttackBonus field value
func (*Monster) GetAttackBonusOk ¶
GetAttackBonusOk returns a tuple with the AttackBonus field value and a boolean to check if the value has been set.
func (*Monster) GetAttackLevel ¶
GetAttackLevel returns the AttackLevel field value
func (*Monster) GetAttackLevelOk ¶
GetAttackLevelOk returns a tuple with the AttackLevel field value and a boolean to check if the value has been set.
func (*Monster) GetAttackMagic ¶
GetAttackMagic returns the AttackMagic field value
func (*Monster) GetAttackMagicOk ¶
GetAttackMagicOk returns a tuple with the AttackMagic field value and a boolean to check if the value has been set.
func (*Monster) GetAttackRanged ¶
GetAttackRanged returns the AttackRanged field value
func (*Monster) GetAttackRangedOk ¶
GetAttackRangedOk returns a tuple with the AttackRanged field value and a boolean to check if the value has been set.
func (*Monster) GetAttackSpeed ¶
GetAttackSpeed returns the AttackSpeed field value If the value is explicit nil, the zero value for int32 will be returned
func (*Monster) GetAttackSpeedOk ¶
GetAttackSpeedOk returns a tuple with the AttackSpeed field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*Monster) GetAttackType ¶
GetAttackType returns the AttackType field value
func (*Monster) GetAttackTypeOk ¶
GetAttackTypeOk returns a tuple with the AttackType field value and a boolean to check if the value has been set.
func (*Monster) GetAttributes ¶
GetAttributes returns the Attributes field value
func (*Monster) GetAttributesOk ¶
GetAttributesOk returns a tuple with the Attributes field value and a boolean to check if the value has been set.
func (*Monster) GetCategory ¶
GetCategory returns the Category field value
func (*Monster) GetCategoryOk ¶
GetCategoryOk returns a tuple with the Category field value and a boolean to check if the value has been set.
func (*Monster) GetCombatLevel ¶
GetCombatLevel returns the CombatLevel field value
func (*Monster) GetCombatLevelOk ¶
GetCombatLevelOk returns a tuple with the CombatLevel field value and a boolean to check if the value has been set.
func (*Monster) GetDefenceCrush ¶
GetDefenceCrush returns the DefenceCrush field value
func (*Monster) GetDefenceCrushOk ¶
GetDefenceCrushOk returns a tuple with the DefenceCrush field value and a boolean to check if the value has been set.
func (*Monster) GetDefenceLevel ¶
GetDefenceLevel returns the DefenceLevel field value
func (*Monster) GetDefenceLevelOk ¶
GetDefenceLevelOk returns a tuple with the DefenceLevel field value and a boolean to check if the value has been set.
func (*Monster) GetDefenceMagic ¶
GetDefenceMagic returns the DefenceMagic field value
func (*Monster) GetDefenceMagicOk ¶
GetDefenceMagicOk returns a tuple with the DefenceMagic field value and a boolean to check if the value has been set.
func (*Monster) GetDefenceRanged ¶
GetDefenceRanged returns the DefenceRanged field value
func (*Monster) GetDefenceRangedOk ¶
GetDefenceRangedOk returns a tuple with the DefenceRanged field value and a boolean to check if the value has been set.
func (*Monster) GetDefenceSlash ¶
GetDefenceSlash returns the DefenceSlash field value
func (*Monster) GetDefenceSlashOk ¶
GetDefenceSlashOk returns a tuple with the DefenceSlash field value and a boolean to check if the value has been set.
func (*Monster) GetDefenceStab ¶
GetDefenceStab returns the DefenceStab field value
func (*Monster) GetDefenceStabOk ¶
GetDefenceStabOk returns a tuple with the DefenceStab field value and a boolean to check if the value has been set.
func (*Monster) GetDrops ¶
func (o *Monster) GetDrops() []MonsterDrops
GetDrops returns the Drops field value
func (*Monster) GetDropsOk ¶
func (o *Monster) GetDropsOk() (*[]MonsterDrops, bool)
GetDropsOk returns a tuple with the Drops field value and a boolean to check if the value has been set.
func (*Monster) GetDuplicate ¶
GetDuplicate returns the Duplicate field value
func (*Monster) GetDuplicateOk ¶
GetDuplicateOk returns a tuple with the Duplicate field value and a boolean to check if the value has been set.
func (*Monster) GetExamine ¶
GetExamine returns the Examine field value
func (*Monster) GetExamineOk ¶
GetExamineOk returns a tuple with the Examine field value and a boolean to check if the value has been set.
func (*Monster) GetHitpoints ¶
GetHitpoints returns the Hitpoints field value If the value is explicit nil, the zero value for int32 will be returned
func (*Monster) GetHitpointsOk ¶
GetHitpointsOk returns a tuple with the Hitpoints field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*Monster) GetIdOk ¶
GetIdOk returns a tuple with the Id field value and a boolean to check if the value has been set.
func (*Monster) GetImmunePoison ¶
GetImmunePoison returns the ImmunePoison field value
func (*Monster) GetImmunePoisonOk ¶
GetImmunePoisonOk returns a tuple with the ImmunePoison field value and a boolean to check if the value has been set.
func (*Monster) GetImmuneVenom ¶
GetImmuneVenom returns the ImmuneVenom field value
func (*Monster) GetImmuneVenomOk ¶
GetImmuneVenomOk returns a tuple with the ImmuneVenom field value and a boolean to check if the value has been set.
func (*Monster) GetIncomplete ¶
GetIncomplete returns the Incomplete field value
func (*Monster) GetIncompleteOk ¶
GetIncompleteOk returns a tuple with the Incomplete field value and a boolean to check if the value has been set.
func (*Monster) GetLastUpdated ¶
GetLastUpdated returns the LastUpdated field value If the value is explicit nil, the zero value for string will be returned
func (*Monster) GetLastUpdatedOk ¶
GetLastUpdatedOk returns a tuple with the LastUpdated field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*Monster) GetMagicBonus ¶
GetMagicBonus returns the MagicBonus field value
func (*Monster) GetMagicBonusOk ¶
GetMagicBonusOk returns a tuple with the MagicBonus field value and a boolean to check if the value has been set.
func (*Monster) GetMagicLevel ¶
GetMagicLevel returns the MagicLevel field value
func (*Monster) GetMagicLevelOk ¶
GetMagicLevelOk returns a tuple with the MagicLevel field value and a boolean to check if the value has been set.
func (*Monster) GetMaxHit ¶
GetMaxHit returns the MaxHit field value If the value is explicit nil, the zero value for int32 will be returned
func (*Monster) GetMaxHitOk ¶
GetMaxHitOk returns a tuple with the MaxHit field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*Monster) GetMembers ¶
GetMembers returns the Members field value
func (*Monster) GetMembersOk ¶
GetMembersOk returns a tuple with the Members field value and a boolean to check if the value has been set.
func (*Monster) GetNameOk ¶
GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.
func (*Monster) GetPoisonous ¶
GetPoisonous returns the Poisonous field value
func (*Monster) GetPoisonousOk ¶
GetPoisonousOk returns a tuple with the Poisonous field value and a boolean to check if the value has been set.
func (*Monster) GetRangedBonus ¶
GetRangedBonus returns the RangedBonus field value
func (*Monster) GetRangedBonusOk ¶
GetRangedBonusOk returns a tuple with the RangedBonus field value and a boolean to check if the value has been set.
func (*Monster) GetRangedLevel ¶
GetRangedLevel returns the RangedLevel field value
func (*Monster) GetRangedLevelOk ¶
GetRangedLevelOk returns a tuple with the RangedLevel field value and a boolean to check if the value has been set.
func (*Monster) GetReleaseDate ¶
GetReleaseDate returns the ReleaseDate field value If the value is explicit nil, the zero value for string will be returned
func (*Monster) GetReleaseDateOk ¶
GetReleaseDateOk returns a tuple with the ReleaseDate field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*Monster) GetSizeOk ¶
GetSizeOk returns a tuple with the Size field value and a boolean to check if the value has been set.
func (*Monster) GetSlayerLevel ¶
GetSlayerLevel returns the SlayerLevel field value If the value is explicit nil, the zero value for int32 will be returned
func (*Monster) GetSlayerLevelOk ¶
GetSlayerLevelOk returns a tuple with the SlayerLevel field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*Monster) GetSlayerMasters ¶
GetSlayerMasters returns the SlayerMasters field value
func (*Monster) GetSlayerMastersOk ¶
GetSlayerMastersOk returns a tuple with the SlayerMasters field value and a boolean to check if the value has been set.
func (*Monster) GetSlayerMonster ¶
GetSlayerMonster returns the SlayerMonster field value
func (*Monster) GetSlayerMonsterOk ¶
GetSlayerMonsterOk returns a tuple with the SlayerMonster field value and a boolean to check if the value has been set.
func (*Monster) GetSlayerXp ¶
GetSlayerXp returns the SlayerXp field value If the value is explicit nil, the zero value for float32 will be returned
func (*Monster) GetSlayerXpOk ¶
GetSlayerXpOk returns a tuple with the SlayerXp field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*Monster) GetStrengthBonus ¶
GetStrengthBonus returns the StrengthBonus field value
func (*Monster) GetStrengthBonusOk ¶
GetStrengthBonusOk returns a tuple with the StrengthBonus field value and a boolean to check if the value has been set.
func (*Monster) GetStrengthLevel ¶
GetStrengthLevel returns the StrengthLevel field value
func (*Monster) GetStrengthLevelOk ¶
GetStrengthLevelOk returns a tuple with the StrengthLevel field value and a boolean to check if the value has been set.
func (*Monster) GetVenomous ¶
GetVenomous returns the Venomous field value
func (*Monster) GetVenomousOk ¶
GetVenomousOk returns a tuple with the Venomous field value and a boolean to check if the value has been set.
func (*Monster) GetWikiName ¶
GetWikiName returns the WikiName field value
func (*Monster) GetWikiNameOk ¶
GetWikiNameOk returns a tuple with the WikiName field value and a boolean to check if the value has been set.
func (*Monster) GetWikiUrl ¶
GetWikiUrl returns the WikiUrl field value
func (*Monster) GetWikiUrlOk ¶
GetWikiUrlOk returns a tuple with the WikiUrl field value and a boolean to check if the value has been set.
func (Monster) MarshalJSON ¶
func (*Monster) SetAggressive ¶
SetAggressive sets field value
func (*Monster) SetAttackBonus ¶
SetAttackBonus sets field value
func (*Monster) SetAttackLevel ¶
SetAttackLevel sets field value
func (*Monster) SetAttackMagic ¶
SetAttackMagic sets field value
func (*Monster) SetAttackRanged ¶
SetAttackRanged sets field value
func (*Monster) SetAttackSpeed ¶
SetAttackSpeed sets field value
func (*Monster) SetAttackType ¶
SetAttackType sets field value
func (*Monster) SetAttributes ¶
SetAttributes sets field value
func (*Monster) SetCategory ¶
SetCategory sets field value
func (*Monster) SetCombatLevel ¶
SetCombatLevel sets field value
func (*Monster) SetDefenceCrush ¶
SetDefenceCrush sets field value
func (*Monster) SetDefenceLevel ¶
SetDefenceLevel sets field value
func (*Monster) SetDefenceMagic ¶
SetDefenceMagic sets field value
func (*Monster) SetDefenceRanged ¶
SetDefenceRanged sets field value
func (*Monster) SetDefenceSlash ¶
SetDefenceSlash sets field value
func (*Monster) SetDefenceStab ¶
SetDefenceStab sets field value
func (*Monster) SetHitpoints ¶
SetHitpoints sets field value
func (*Monster) SetImmunePoison ¶
SetImmunePoison sets field value
func (*Monster) SetImmuneVenom ¶
SetImmuneVenom sets field value
func (*Monster) SetIncomplete ¶
SetIncomplete sets field value
func (*Monster) SetLastUpdated ¶
SetLastUpdated sets field value
func (*Monster) SetMagicBonus ¶
SetMagicBonus sets field value
func (*Monster) SetMagicLevel ¶
SetMagicLevel sets field value
func (*Monster) SetRangedBonus ¶
SetRangedBonus sets field value
func (*Monster) SetRangedLevel ¶
SetRangedLevel sets field value
func (*Monster) SetReleaseDate ¶
SetReleaseDate sets field value
func (*Monster) SetSlayerLevel ¶
SetSlayerLevel sets field value
func (*Monster) SetSlayerMasters ¶
SetSlayerMasters sets field value
func (*Monster) SetSlayerMonster ¶
SetSlayerMonster sets field value
func (*Monster) SetStrengthBonus ¶
SetStrengthBonus sets field value
func (*Monster) SetStrengthLevel ¶
SetStrengthLevel sets field value
type MonsterApiService ¶
type MonsterApiService service
MonsterApiService MonsterApi service
func (*MonsterApiService) DeleteMonsterItem ¶
func (a *MonsterApiService) DeleteMonsterItem(ctx _context.Context, monsterId string) ApiDeleteMonsterItemRequest
* DeleteMonsterItem Deletes a Monster document * @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). * @param monsterId Unique OSRS monster ID number. * @return ApiDeleteMonsterItemRequest
func (*MonsterApiService) DeleteMonsterItemExecute ¶
func (a *MonsterApiService) DeleteMonsterItemExecute(r ApiDeleteMonsterItemRequest) (*_nethttp.Response, error)
* Execute executes the request
func (*MonsterApiService) Deletemonsters ¶
func (a *MonsterApiService) Deletemonsters(ctx _context.Context) ApiDeletemonstersRequest
* Deletemonsters Deletes all monsters * @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). * @return ApiDeletemonstersRequest
func (*MonsterApiService) DeletemonstersExecute ¶
func (a *MonsterApiService) DeletemonstersExecute(r ApiDeletemonstersRequest) (*_nethttp.Response, error)
* Execute executes the request
func (*MonsterApiService) GetMonsterItem ¶
func (a *MonsterApiService) GetMonsterItem(ctx _context.Context, monsterId string) ApiGetMonsterItemRequest
* GetMonsterItem Retrieves a Monster document * @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). * @param monsterId Unique OSRS monster ID number. * @return ApiGetMonsterItemRequest
func (*MonsterApiService) GetMonsterItemExecute ¶
func (a *MonsterApiService) GetMonsterItemExecute(r ApiGetMonsterItemRequest) (Monster, *_nethttp.Response, error)
* Execute executes the request * @return Monster
func (*MonsterApiService) Getmonsters ¶
func (a *MonsterApiService) Getmonsters(ctx _context.Context) ApiGetmonstersRequest
* Getmonsters Retrieves one or more monsters * @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). * @return ApiGetmonstersRequest
func (*MonsterApiService) GetmonstersExecute ¶
func (a *MonsterApiService) GetmonstersExecute(r ApiGetmonstersRequest) (InlineResponse2003, *_nethttp.Response, error)
* Execute executes the request * @return InlineResponse2003
func (*MonsterApiService) Postmonsters ¶
func (a *MonsterApiService) Postmonsters(ctx _context.Context) ApiPostmonstersRequest
* Postmonsters Stores one or more monsters. * @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). * @return ApiPostmonstersRequest
func (*MonsterApiService) PostmonstersExecute ¶
func (a *MonsterApiService) PostmonstersExecute(r ApiPostmonstersRequest) (*_nethttp.Response, error)
* Execute executes the request
func (*MonsterApiService) PutMonsterItem ¶
func (a *MonsterApiService) PutMonsterItem(ctx _context.Context, monsterId string) ApiPutMonsterItemRequest
* PutMonsterItem Replaces a Monster document * @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). * @param monsterId Unique OSRS monster ID number. * @return ApiPutMonsterItemRequest
func (*MonsterApiService) PutMonsterItemExecute ¶
func (a *MonsterApiService) PutMonsterItemExecute(r ApiPutMonsterItemRequest) (*_nethttp.Response, error)
* Execute executes the request
type MonsterDrops ¶
type MonsterDrops struct { // The ID number of the item drop. Id int32 `json:"id"` // The name of the item drop. Name string `json:"name"` // If the drop is a members-only item. Members bool `json:"members"` // The quantity of the item drop (integer, comma-separated or range). Quantity NullableString `json:"quantity"` // If the item drop is noted, or not. Noted bool `json:"noted"` // The rarity of the item drop (as a float out of 1.0). Rarity float32 `json:"rarity"` // Number of rolls from the drop. Rolls int32 `json:"rolls"` }
MonsterDrops struct for MonsterDrops
func NewMonsterDrops ¶
func NewMonsterDrops(id int32, name string, members bool, quantity NullableString, noted bool, rarity float32, rolls int32) *MonsterDrops
NewMonsterDrops instantiates a new MonsterDrops 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 NewMonsterDropsWithDefaults ¶
func NewMonsterDropsWithDefaults() *MonsterDrops
NewMonsterDropsWithDefaults instantiates a new MonsterDrops 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 (*MonsterDrops) GetIdOk ¶
func (o *MonsterDrops) GetIdOk() (*int32, bool)
GetIdOk returns a tuple with the Id field value and a boolean to check if the value has been set.
func (*MonsterDrops) GetMembers ¶
func (o *MonsterDrops) GetMembers() bool
GetMembers returns the Members field value
func (*MonsterDrops) GetMembersOk ¶
func (o *MonsterDrops) GetMembersOk() (*bool, bool)
GetMembersOk returns a tuple with the Members field value and a boolean to check if the value has been set.
func (*MonsterDrops) GetName ¶
func (o *MonsterDrops) GetName() string
GetName returns the Name field value
func (*MonsterDrops) GetNameOk ¶
func (o *MonsterDrops) GetNameOk() (*string, bool)
GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.
func (*MonsterDrops) GetNoted ¶
func (o *MonsterDrops) GetNoted() bool
GetNoted returns the Noted field value
func (*MonsterDrops) GetNotedOk ¶
func (o *MonsterDrops) GetNotedOk() (*bool, bool)
GetNotedOk returns a tuple with the Noted field value and a boolean to check if the value has been set.
func (*MonsterDrops) GetQuantity ¶
func (o *MonsterDrops) GetQuantity() string
GetQuantity returns the Quantity field value If the value is explicit nil, the zero value for string will be returned
func (*MonsterDrops) GetQuantityOk ¶
func (o *MonsterDrops) GetQuantityOk() (*string, bool)
GetQuantityOk returns a tuple with the Quantity field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*MonsterDrops) GetRarity ¶
func (o *MonsterDrops) GetRarity() float32
GetRarity returns the Rarity field value
func (*MonsterDrops) GetRarityOk ¶
func (o *MonsterDrops) GetRarityOk() (*float32, bool)
GetRarityOk returns a tuple with the Rarity field value and a boolean to check if the value has been set.
func (*MonsterDrops) GetRolls ¶
func (o *MonsterDrops) GetRolls() int32
GetRolls returns the Rolls field value
func (*MonsterDrops) GetRollsOk ¶
func (o *MonsterDrops) GetRollsOk() (*int32, bool)
GetRollsOk returns a tuple with the Rolls field value and a boolean to check if the value has been set.
func (MonsterDrops) MarshalJSON ¶
func (o MonsterDrops) MarshalJSON() ([]byte, error)
func (*MonsterDrops) SetMembers ¶
func (o *MonsterDrops) SetMembers(v bool)
SetMembers sets field value
func (*MonsterDrops) SetQuantity ¶
func (o *MonsterDrops) SetQuantity(v string)
SetQuantity sets field value
func (*MonsterDrops) SetRarity ¶
func (o *MonsterDrops) SetRarity(v float32)
SetRarity sets field value
type NullableBool ¶
type NullableBool struct {
// contains filtered or unexported fields
}
func NewNullableBool ¶
func NewNullableBool(val *bool) *NullableBool
func (NullableBool) Get ¶
func (v NullableBool) Get() *bool
func (NullableBool) IsSet ¶
func (v NullableBool) IsSet() bool
func (NullableBool) MarshalJSON ¶
func (v NullableBool) MarshalJSON() ([]byte, error)
func (*NullableBool) Set ¶
func (v *NullableBool) Set(val *bool)
func (*NullableBool) UnmarshalJSON ¶
func (v *NullableBool) UnmarshalJSON(src []byte) error
func (*NullableBool) Unset ¶
func (v *NullableBool) Unset()
type NullableEquipment ¶
type NullableEquipment struct {
// contains filtered or unexported fields
}
func NewNullableEquipment ¶
func NewNullableEquipment(val *Equipment) *NullableEquipment
func (NullableEquipment) Get ¶
func (v NullableEquipment) Get() *Equipment
func (NullableEquipment) IsSet ¶
func (v NullableEquipment) IsSet() bool
func (NullableEquipment) MarshalJSON ¶
func (v NullableEquipment) MarshalJSON() ([]byte, error)
func (*NullableEquipment) Set ¶
func (v *NullableEquipment) Set(val *Equipment)
func (*NullableEquipment) UnmarshalJSON ¶
func (v *NullableEquipment) UnmarshalJSON(src []byte) error
func (*NullableEquipment) Unset ¶
func (v *NullableEquipment) Unset()
type NullableError ¶
type NullableError struct {
// contains filtered or unexported fields
}
func NewNullableError ¶
func NewNullableError(val *Error) *NullableError
func (NullableError) Get ¶
func (v NullableError) Get() *Error
func (NullableError) IsSet ¶
func (v NullableError) IsSet() bool
func (NullableError) MarshalJSON ¶
func (v NullableError) MarshalJSON() ([]byte, error)
func (*NullableError) Set ¶
func (v *NullableError) Set(val *Error)
func (*NullableError) UnmarshalJSON ¶
func (v *NullableError) UnmarshalJSON(src []byte) error
func (*NullableError) Unset ¶
func (v *NullableError) Unset()
type NullableErrorError ¶
type NullableErrorError struct {
// contains filtered or unexported fields
}
func NewNullableErrorError ¶
func NewNullableErrorError(val *ErrorError) *NullableErrorError
func (NullableErrorError) Get ¶
func (v NullableErrorError) Get() *ErrorError
func (NullableErrorError) IsSet ¶
func (v NullableErrorError) IsSet() bool
func (NullableErrorError) MarshalJSON ¶
func (v NullableErrorError) MarshalJSON() ([]byte, error)
func (*NullableErrorError) Set ¶
func (v *NullableErrorError) Set(val *ErrorError)
func (*NullableErrorError) UnmarshalJSON ¶
func (v *NullableErrorError) UnmarshalJSON(src []byte) error
func (*NullableErrorError) Unset ¶
func (v *NullableErrorError) Unset()
type NullableFloat32 ¶
type NullableFloat32 struct {
// contains filtered or unexported fields
}
func NewNullableFloat32 ¶
func NewNullableFloat32(val *float32) *NullableFloat32
func (NullableFloat32) Get ¶
func (v NullableFloat32) Get() *float32
func (NullableFloat32) IsSet ¶
func (v NullableFloat32) IsSet() bool
func (NullableFloat32) MarshalJSON ¶
func (v NullableFloat32) MarshalJSON() ([]byte, error)
func (*NullableFloat32) Set ¶
func (v *NullableFloat32) Set(val *float32)
func (*NullableFloat32) UnmarshalJSON ¶
func (v *NullableFloat32) UnmarshalJSON(src []byte) error
func (*NullableFloat32) Unset ¶
func (v *NullableFloat32) Unset()
type NullableFloat64 ¶
type NullableFloat64 struct {
// contains filtered or unexported fields
}
func NewNullableFloat64 ¶
func NewNullableFloat64(val *float64) *NullableFloat64
func (NullableFloat64) Get ¶
func (v NullableFloat64) Get() *float64
func (NullableFloat64) IsSet ¶
func (v NullableFloat64) IsSet() bool
func (NullableFloat64) MarshalJSON ¶
func (v NullableFloat64) MarshalJSON() ([]byte, error)
func (*NullableFloat64) Set ¶
func (v *NullableFloat64) Set(val *float64)
func (*NullableFloat64) UnmarshalJSON ¶
func (v *NullableFloat64) UnmarshalJSON(src []byte) error
func (*NullableFloat64) Unset ¶
func (v *NullableFloat64) Unset()
type NullableIconsItem ¶
type NullableIconsItem struct {
// contains filtered or unexported fields
}
func NewNullableIconsItem ¶
func NewNullableIconsItem(val *IconsItem) *NullableIconsItem
func (NullableIconsItem) Get ¶
func (v NullableIconsItem) Get() *IconsItem
func (NullableIconsItem) IsSet ¶
func (v NullableIconsItem) IsSet() bool
func (NullableIconsItem) MarshalJSON ¶
func (v NullableIconsItem) MarshalJSON() ([]byte, error)
func (*NullableIconsItem) Set ¶
func (v *NullableIconsItem) Set(val *IconsItem)
func (*NullableIconsItem) UnmarshalJSON ¶
func (v *NullableIconsItem) UnmarshalJSON(src []byte) error
func (*NullableIconsItem) Unset ¶
func (v *NullableIconsItem) Unset()
type NullableIconsPrayer ¶
type NullableIconsPrayer struct {
// contains filtered or unexported fields
}
func NewNullableIconsPrayer ¶
func NewNullableIconsPrayer(val *IconsPrayer) *NullableIconsPrayer
func (NullableIconsPrayer) Get ¶
func (v NullableIconsPrayer) Get() *IconsPrayer
func (NullableIconsPrayer) IsSet ¶
func (v NullableIconsPrayer) IsSet() bool
func (NullableIconsPrayer) MarshalJSON ¶
func (v NullableIconsPrayer) MarshalJSON() ([]byte, error)
func (*NullableIconsPrayer) Set ¶
func (v *NullableIconsPrayer) Set(val *IconsPrayer)
func (*NullableIconsPrayer) UnmarshalJSON ¶
func (v *NullableIconsPrayer) UnmarshalJSON(src []byte) error
func (*NullableIconsPrayer) Unset ¶
func (v *NullableIconsPrayer) Unset()
type NullableInlineResponse200 ¶
type NullableInlineResponse200 struct {
// contains filtered or unexported fields
}
func NewNullableInlineResponse200 ¶
func NewNullableInlineResponse200(val *InlineResponse200) *NullableInlineResponse200
func (NullableInlineResponse200) Get ¶
func (v NullableInlineResponse200) Get() *InlineResponse200
func (NullableInlineResponse200) IsSet ¶
func (v NullableInlineResponse200) IsSet() bool
func (NullableInlineResponse200) MarshalJSON ¶
func (v NullableInlineResponse200) MarshalJSON() ([]byte, error)
func (*NullableInlineResponse200) Set ¶
func (v *NullableInlineResponse200) Set(val *InlineResponse200)
func (*NullableInlineResponse200) UnmarshalJSON ¶
func (v *NullableInlineResponse200) UnmarshalJSON(src []byte) error
func (*NullableInlineResponse200) Unset ¶
func (v *NullableInlineResponse200) Unset()
type NullableInlineResponse2001 ¶
type NullableInlineResponse2001 struct {
// contains filtered or unexported fields
}
func NewNullableInlineResponse2001 ¶
func NewNullableInlineResponse2001(val *InlineResponse2001) *NullableInlineResponse2001
func (NullableInlineResponse2001) Get ¶
func (v NullableInlineResponse2001) Get() *InlineResponse2001
func (NullableInlineResponse2001) IsSet ¶
func (v NullableInlineResponse2001) IsSet() bool
func (NullableInlineResponse2001) MarshalJSON ¶
func (v NullableInlineResponse2001) MarshalJSON() ([]byte, error)
func (*NullableInlineResponse2001) Set ¶
func (v *NullableInlineResponse2001) Set(val *InlineResponse2001)
func (*NullableInlineResponse2001) UnmarshalJSON ¶
func (v *NullableInlineResponse2001) UnmarshalJSON(src []byte) error
func (*NullableInlineResponse2001) Unset ¶
func (v *NullableInlineResponse2001) Unset()
type NullableInlineResponse2002 ¶
type NullableInlineResponse2002 struct {
// contains filtered or unexported fields
}
func NewNullableInlineResponse2002 ¶
func NewNullableInlineResponse2002(val *InlineResponse2002) *NullableInlineResponse2002
func (NullableInlineResponse2002) Get ¶
func (v NullableInlineResponse2002) Get() *InlineResponse2002
func (NullableInlineResponse2002) IsSet ¶
func (v NullableInlineResponse2002) IsSet() bool
func (NullableInlineResponse2002) MarshalJSON ¶
func (v NullableInlineResponse2002) MarshalJSON() ([]byte, error)
func (*NullableInlineResponse2002) Set ¶
func (v *NullableInlineResponse2002) Set(val *InlineResponse2002)
func (*NullableInlineResponse2002) UnmarshalJSON ¶
func (v *NullableInlineResponse2002) UnmarshalJSON(src []byte) error
func (*NullableInlineResponse2002) Unset ¶
func (v *NullableInlineResponse2002) Unset()
type NullableInlineResponse2003 ¶
type NullableInlineResponse2003 struct {
// contains filtered or unexported fields
}
func NewNullableInlineResponse2003 ¶
func NewNullableInlineResponse2003(val *InlineResponse2003) *NullableInlineResponse2003
func (NullableInlineResponse2003) Get ¶
func (v NullableInlineResponse2003) Get() *InlineResponse2003
func (NullableInlineResponse2003) IsSet ¶
func (v NullableInlineResponse2003) IsSet() bool
func (NullableInlineResponse2003) MarshalJSON ¶
func (v NullableInlineResponse2003) MarshalJSON() ([]byte, error)
func (*NullableInlineResponse2003) Set ¶
func (v *NullableInlineResponse2003) Set(val *InlineResponse2003)
func (*NullableInlineResponse2003) UnmarshalJSON ¶
func (v *NullableInlineResponse2003) UnmarshalJSON(src []byte) error
func (*NullableInlineResponse2003) Unset ¶
func (v *NullableInlineResponse2003) Unset()
type NullableInlineResponse2004 ¶
type NullableInlineResponse2004 struct {
// contains filtered or unexported fields
}
func NewNullableInlineResponse2004 ¶
func NewNullableInlineResponse2004(val *InlineResponse2004) *NullableInlineResponse2004
func (NullableInlineResponse2004) Get ¶
func (v NullableInlineResponse2004) Get() *InlineResponse2004
func (NullableInlineResponse2004) IsSet ¶
func (v NullableInlineResponse2004) IsSet() bool
func (NullableInlineResponse2004) MarshalJSON ¶
func (v NullableInlineResponse2004) MarshalJSON() ([]byte, error)
func (*NullableInlineResponse2004) Set ¶
func (v *NullableInlineResponse2004) Set(val *InlineResponse2004)
func (*NullableInlineResponse2004) UnmarshalJSON ¶
func (v *NullableInlineResponse2004) UnmarshalJSON(src []byte) error
func (*NullableInlineResponse2004) Unset ¶
func (v *NullableInlineResponse2004) Unset()
type NullableInlineResponse2005 ¶
type NullableInlineResponse2005 struct {
// contains filtered or unexported fields
}
func NewNullableInlineResponse2005 ¶
func NewNullableInlineResponse2005(val *InlineResponse2005) *NullableInlineResponse2005
func (NullableInlineResponse2005) Get ¶
func (v NullableInlineResponse2005) Get() *InlineResponse2005
func (NullableInlineResponse2005) IsSet ¶
func (v NullableInlineResponse2005) IsSet() bool
func (NullableInlineResponse2005) MarshalJSON ¶
func (v NullableInlineResponse2005) MarshalJSON() ([]byte, error)
func (*NullableInlineResponse2005) Set ¶
func (v *NullableInlineResponse2005) Set(val *InlineResponse2005)
func (*NullableInlineResponse2005) UnmarshalJSON ¶
func (v *NullableInlineResponse2005) UnmarshalJSON(src []byte) error
func (*NullableInlineResponse2005) Unset ¶
func (v *NullableInlineResponse2005) Unset()
type NullableInlineResponse2006 ¶
type NullableInlineResponse2006 struct {
// contains filtered or unexported fields
}
func NewNullableInlineResponse2006 ¶
func NewNullableInlineResponse2006(val *InlineResponse2006) *NullableInlineResponse2006
func (NullableInlineResponse2006) Get ¶
func (v NullableInlineResponse2006) Get() *InlineResponse2006
func (NullableInlineResponse2006) IsSet ¶
func (v NullableInlineResponse2006) IsSet() bool
func (NullableInlineResponse2006) MarshalJSON ¶
func (v NullableInlineResponse2006) MarshalJSON() ([]byte, error)
func (*NullableInlineResponse2006) Set ¶
func (v *NullableInlineResponse2006) Set(val *InlineResponse2006)
func (*NullableInlineResponse2006) UnmarshalJSON ¶
func (v *NullableInlineResponse2006) UnmarshalJSON(src []byte) error
func (*NullableInlineResponse2006) Unset ¶
func (v *NullableInlineResponse2006) Unset()
type NullableInt ¶
type NullableInt struct {
// contains filtered or unexported fields
}
func NewNullableInt ¶
func NewNullableInt(val *int) *NullableInt
func (NullableInt) Get ¶
func (v NullableInt) Get() *int
func (NullableInt) IsSet ¶
func (v NullableInt) IsSet() bool
func (NullableInt) MarshalJSON ¶
func (v NullableInt) MarshalJSON() ([]byte, error)
func (*NullableInt) Set ¶
func (v *NullableInt) Set(val *int)
func (*NullableInt) UnmarshalJSON ¶
func (v *NullableInt) UnmarshalJSON(src []byte) error
func (*NullableInt) Unset ¶
func (v *NullableInt) Unset()
type NullableInt32 ¶
type NullableInt32 struct {
// contains filtered or unexported fields
}
func NewNullableInt32 ¶
func NewNullableInt32(val *int32) *NullableInt32
func (NullableInt32) Get ¶
func (v NullableInt32) Get() *int32
func (NullableInt32) IsSet ¶
func (v NullableInt32) IsSet() bool
func (NullableInt32) MarshalJSON ¶
func (v NullableInt32) MarshalJSON() ([]byte, error)
func (*NullableInt32) Set ¶
func (v *NullableInt32) Set(val *int32)
func (*NullableInt32) UnmarshalJSON ¶
func (v *NullableInt32) UnmarshalJSON(src []byte) error
func (*NullableInt32) Unset ¶
func (v *NullableInt32) Unset()
type NullableInt64 ¶
type NullableInt64 struct {
// contains filtered or unexported fields
}
func NewNullableInt64 ¶
func NewNullableInt64(val *int64) *NullableInt64
func (NullableInt64) Get ¶
func (v NullableInt64) Get() *int64
func (NullableInt64) IsSet ¶
func (v NullableInt64) IsSet() bool
func (NullableInt64) MarshalJSON ¶
func (v NullableInt64) MarshalJSON() ([]byte, error)
func (*NullableInt64) Set ¶
func (v *NullableInt64) Set(val *int64)
func (*NullableInt64) UnmarshalJSON ¶
func (v *NullableInt64) UnmarshalJSON(src []byte) error
func (*NullableInt64) Unset ¶
func (v *NullableInt64) Unset()
type NullableItem ¶
type NullableItem struct {
// contains filtered or unexported fields
}
func NewNullableItem ¶
func NewNullableItem(val *Item) *NullableItem
func (NullableItem) Get ¶
func (v NullableItem) Get() *Item
func (NullableItem) IsSet ¶
func (v NullableItem) IsSet() bool
func (NullableItem) MarshalJSON ¶
func (v NullableItem) MarshalJSON() ([]byte, error)
func (*NullableItem) Set ¶
func (v *NullableItem) Set(val *Item)
func (*NullableItem) UnmarshalJSON ¶
func (v *NullableItem) UnmarshalJSON(src []byte) error
func (*NullableItem) Unset ¶
func (v *NullableItem) Unset()
type NullableItemEquipment ¶
type NullableItemEquipment struct {
// contains filtered or unexported fields
}
func NewNullableItemEquipment ¶
func NewNullableItemEquipment(val *ItemEquipment) *NullableItemEquipment
func (NullableItemEquipment) Get ¶
func (v NullableItemEquipment) Get() *ItemEquipment
func (NullableItemEquipment) IsSet ¶
func (v NullableItemEquipment) IsSet() bool
func (NullableItemEquipment) MarshalJSON ¶
func (v NullableItemEquipment) MarshalJSON() ([]byte, error)
func (*NullableItemEquipment) Set ¶
func (v *NullableItemEquipment) Set(val *ItemEquipment)
func (*NullableItemEquipment) UnmarshalJSON ¶
func (v *NullableItemEquipment) UnmarshalJSON(src []byte) error
func (*NullableItemEquipment) Unset ¶
func (v *NullableItemEquipment) Unset()
type NullableItemWeapon ¶
type NullableItemWeapon struct {
// contains filtered or unexported fields
}
func NewNullableItemWeapon ¶
func NewNullableItemWeapon(val *ItemWeapon) *NullableItemWeapon
func (NullableItemWeapon) Get ¶
func (v NullableItemWeapon) Get() *ItemWeapon
func (NullableItemWeapon) IsSet ¶
func (v NullableItemWeapon) IsSet() bool
func (NullableItemWeapon) MarshalJSON ¶
func (v NullableItemWeapon) MarshalJSON() ([]byte, error)
func (*NullableItemWeapon) Set ¶
func (v *NullableItemWeapon) Set(val *ItemWeapon)
func (*NullableItemWeapon) UnmarshalJSON ¶
func (v *NullableItemWeapon) UnmarshalJSON(src []byte) error
func (*NullableItemWeapon) Unset ¶
func (v *NullableItemWeapon) Unset()
type NullableItemWeaponStances ¶
type NullableItemWeaponStances struct {
// contains filtered or unexported fields
}
func NewNullableItemWeaponStances ¶
func NewNullableItemWeaponStances(val *ItemWeaponStances) *NullableItemWeaponStances
func (NullableItemWeaponStances) Get ¶
func (v NullableItemWeaponStances) Get() *ItemWeaponStances
func (NullableItemWeaponStances) IsSet ¶
func (v NullableItemWeaponStances) IsSet() bool
func (NullableItemWeaponStances) MarshalJSON ¶
func (v NullableItemWeaponStances) MarshalJSON() ([]byte, error)
func (*NullableItemWeaponStances) Set ¶
func (v *NullableItemWeaponStances) Set(val *ItemWeaponStances)
func (*NullableItemWeaponStances) UnmarshalJSON ¶
func (v *NullableItemWeaponStances) UnmarshalJSON(src []byte) error
func (*NullableItemWeaponStances) Unset ¶
func (v *NullableItemWeaponStances) Unset()
type NullableMonster ¶
type NullableMonster struct {
// contains filtered or unexported fields
}
func NewNullableMonster ¶
func NewNullableMonster(val *Monster) *NullableMonster
func (NullableMonster) Get ¶
func (v NullableMonster) Get() *Monster
func (NullableMonster) IsSet ¶
func (v NullableMonster) IsSet() bool
func (NullableMonster) MarshalJSON ¶
func (v NullableMonster) MarshalJSON() ([]byte, error)
func (*NullableMonster) Set ¶
func (v *NullableMonster) Set(val *Monster)
func (*NullableMonster) UnmarshalJSON ¶
func (v *NullableMonster) UnmarshalJSON(src []byte) error
func (*NullableMonster) Unset ¶
func (v *NullableMonster) Unset()
type NullableMonsterDrops ¶
type NullableMonsterDrops struct {
// contains filtered or unexported fields
}
func NewNullableMonsterDrops ¶
func NewNullableMonsterDrops(val *MonsterDrops) *NullableMonsterDrops
func (NullableMonsterDrops) Get ¶
func (v NullableMonsterDrops) Get() *MonsterDrops
func (NullableMonsterDrops) IsSet ¶
func (v NullableMonsterDrops) IsSet() bool
func (NullableMonsterDrops) MarshalJSON ¶
func (v NullableMonsterDrops) MarshalJSON() ([]byte, error)
func (*NullableMonsterDrops) Set ¶
func (v *NullableMonsterDrops) Set(val *MonsterDrops)
func (*NullableMonsterDrops) UnmarshalJSON ¶
func (v *NullableMonsterDrops) UnmarshalJSON(src []byte) error
func (*NullableMonsterDrops) Unset ¶
func (v *NullableMonsterDrops) Unset()
type NullablePrayer ¶
type NullablePrayer struct {
// contains filtered or unexported fields
}
func NewNullablePrayer ¶
func NewNullablePrayer(val *Prayer) *NullablePrayer
func (NullablePrayer) Get ¶
func (v NullablePrayer) Get() *Prayer
func (NullablePrayer) IsSet ¶
func (v NullablePrayer) IsSet() bool
func (NullablePrayer) MarshalJSON ¶
func (v NullablePrayer) MarshalJSON() ([]byte, error)
func (*NullablePrayer) Set ¶
func (v *NullablePrayer) Set(val *Prayer)
func (*NullablePrayer) UnmarshalJSON ¶
func (v *NullablePrayer) UnmarshalJSON(src []byte) error
func (*NullablePrayer) Unset ¶
func (v *NullablePrayer) Unset()
type NullableResponeLinks ¶
type NullableResponeLinks struct {
// contains filtered or unexported fields
}
func NewNullableResponeLinks ¶
func NewNullableResponeLinks(val *ResponeLinks) *NullableResponeLinks
func (NullableResponeLinks) Get ¶
func (v NullableResponeLinks) Get() *ResponeLinks
func (NullableResponeLinks) IsSet ¶
func (v NullableResponeLinks) IsSet() bool
func (NullableResponeLinks) MarshalJSON ¶
func (v NullableResponeLinks) MarshalJSON() ([]byte, error)
func (*NullableResponeLinks) Set ¶
func (v *NullableResponeLinks) Set(val *ResponeLinks)
func (*NullableResponeLinks) UnmarshalJSON ¶
func (v *NullableResponeLinks) UnmarshalJSON(src []byte) error
func (*NullableResponeLinks) Unset ¶
func (v *NullableResponeLinks) Unset()
type NullableResponeLinksParent ¶
type NullableResponeLinksParent struct {
// contains filtered or unexported fields
}
func NewNullableResponeLinksParent ¶
func NewNullableResponeLinksParent(val *ResponeLinksParent) *NullableResponeLinksParent
func (NullableResponeLinksParent) Get ¶
func (v NullableResponeLinksParent) Get() *ResponeLinksParent
func (NullableResponeLinksParent) IsSet ¶
func (v NullableResponeLinksParent) IsSet() bool
func (NullableResponeLinksParent) MarshalJSON ¶
func (v NullableResponeLinksParent) MarshalJSON() ([]byte, error)
func (*NullableResponeLinksParent) Set ¶
func (v *NullableResponeLinksParent) Set(val *ResponeLinksParent)
func (*NullableResponeLinksParent) UnmarshalJSON ¶
func (v *NullableResponeLinksParent) UnmarshalJSON(src []byte) error
func (*NullableResponeLinksParent) Unset ¶
func (v *NullableResponeLinksParent) Unset()
type NullableResponeMetadata ¶
type NullableResponeMetadata struct {
// contains filtered or unexported fields
}
func NewNullableResponeMetadata ¶
func NewNullableResponeMetadata(val *ResponeMetadata) *NullableResponeMetadata
func (NullableResponeMetadata) Get ¶
func (v NullableResponeMetadata) Get() *ResponeMetadata
func (NullableResponeMetadata) IsSet ¶
func (v NullableResponeMetadata) IsSet() bool
func (NullableResponeMetadata) MarshalJSON ¶
func (v NullableResponeMetadata) MarshalJSON() ([]byte, error)
func (*NullableResponeMetadata) Set ¶
func (v *NullableResponeMetadata) Set(val *ResponeMetadata)
func (*NullableResponeMetadata) UnmarshalJSON ¶
func (v *NullableResponeMetadata) UnmarshalJSON(src []byte) error
func (*NullableResponeMetadata) Unset ¶
func (v *NullableResponeMetadata) Unset()
type NullableString ¶
type NullableString struct {
// contains filtered or unexported fields
}
func NewNullableString ¶
func NewNullableString(val *string) *NullableString
func (NullableString) Get ¶
func (v NullableString) Get() *string
func (NullableString) IsSet ¶
func (v NullableString) IsSet() bool
func (NullableString) MarshalJSON ¶
func (v NullableString) MarshalJSON() ([]byte, error)
func (*NullableString) Set ¶
func (v *NullableString) Set(val *string)
func (*NullableString) UnmarshalJSON ¶
func (v *NullableString) UnmarshalJSON(src []byte) error
func (*NullableString) Unset ¶
func (v *NullableString) Unset()
type NullableTime ¶
type NullableTime struct {
// contains filtered or unexported fields
}
func NewNullableTime ¶
func NewNullableTime(val *time.Time) *NullableTime
func (NullableTime) Get ¶
func (v NullableTime) Get() *time.Time
func (NullableTime) IsSet ¶
func (v NullableTime) IsSet() bool
func (NullableTime) MarshalJSON ¶
func (v NullableTime) MarshalJSON() ([]byte, error)
func (*NullableTime) Set ¶
func (v *NullableTime) Set(val *time.Time)
func (*NullableTime) UnmarshalJSON ¶
func (v *NullableTime) UnmarshalJSON(src []byte) error
func (*NullableTime) Unset ¶
func (v *NullableTime) Unset()
type NullableWeapon ¶
type NullableWeapon struct {
// contains filtered or unexported fields
}
func NewNullableWeapon ¶
func NewNullableWeapon(val *Weapon) *NullableWeapon
func (NullableWeapon) Get ¶
func (v NullableWeapon) Get() *Weapon
func (NullableWeapon) IsSet ¶
func (v NullableWeapon) IsSet() bool
func (NullableWeapon) MarshalJSON ¶
func (v NullableWeapon) MarshalJSON() ([]byte, error)
func (*NullableWeapon) Set ¶
func (v *NullableWeapon) Set(val *Weapon)
func (*NullableWeapon) UnmarshalJSON ¶
func (v *NullableWeapon) UnmarshalJSON(src []byte) error
func (*NullableWeapon) Unset ¶
func (v *NullableWeapon) Unset()
type Prayer ¶
type Prayer struct { // Unique prayer ID number. Id string `json:"id"` // The name of the prayer. Name string `json:"name"` // If the prayer is members-only. Members bool `json:"members"` // The prayer description (as show in-game). Description string `json:"description"` // The prayer point drain rate per minute. DrainPerMinute float32 `json:"drain_per_minute"` // The OSRS Wiki URL. WikiUrl string `json:"wiki_url"` // The stat requirements to use the prayer. Requirements map[string]interface{} `json:"requirements"` // The bonuses a prayer provides. Bonuses map[string]interface{} `json:"bonuses"` // The prayer icon. Icon string `json:"icon"` }
Prayer struct for Prayer
func NewPrayer ¶
func NewPrayer(id string, name string, members bool, description string, drainPerMinute float32, wikiUrl string, requirements map[string]interface{}, bonuses map[string]interface{}, icon string) *Prayer
NewPrayer instantiates a new Prayer 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 NewPrayerWithDefaults ¶
func NewPrayerWithDefaults() *Prayer
NewPrayerWithDefaults instantiates a new Prayer 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 (*Prayer) GetBonuses ¶
GetBonuses returns the Bonuses field value
func (*Prayer) GetBonusesOk ¶
GetBonusesOk returns a tuple with the Bonuses field value and a boolean to check if the value has been set.
func (*Prayer) GetDescription ¶
GetDescription returns the Description field value
func (*Prayer) GetDescriptionOk ¶
GetDescriptionOk returns a tuple with the Description field value and a boolean to check if the value has been set.
func (*Prayer) GetDrainPerMinute ¶
GetDrainPerMinute returns the DrainPerMinute field value
func (*Prayer) GetDrainPerMinuteOk ¶
GetDrainPerMinuteOk returns a tuple with the DrainPerMinute field value and a boolean to check if the value has been set.
func (*Prayer) GetIconOk ¶
GetIconOk returns a tuple with the Icon field value and a boolean to check if the value has been set.
func (*Prayer) GetIdOk ¶
GetIdOk returns a tuple with the Id field value and a boolean to check if the value has been set.
func (*Prayer) GetMembers ¶
GetMembers returns the Members field value
func (*Prayer) GetMembersOk ¶
GetMembersOk returns a tuple with the Members field value and a boolean to check if the value has been set.
func (*Prayer) GetNameOk ¶
GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.
func (*Prayer) GetRequirements ¶
GetRequirements returns the Requirements field value
func (*Prayer) GetRequirementsOk ¶
GetRequirementsOk returns a tuple with the Requirements field value and a boolean to check if the value has been set.
func (*Prayer) GetWikiUrl ¶
GetWikiUrl returns the WikiUrl field value
func (*Prayer) GetWikiUrlOk ¶
GetWikiUrlOk returns a tuple with the WikiUrl field value and a boolean to check if the value has been set.
func (Prayer) MarshalJSON ¶
func (*Prayer) SetBonuses ¶
SetBonuses sets field value
func (*Prayer) SetDescription ¶
SetDescription sets field value
func (*Prayer) SetDrainPerMinute ¶
SetDrainPerMinute sets field value
func (*Prayer) SetRequirements ¶
SetRequirements sets field value
type PrayerApiService ¶
type PrayerApiService service
PrayerApiService PrayerApi service
func (*PrayerApiService) DeletePrayerItem ¶
func (a *PrayerApiService) DeletePrayerItem(ctx _context.Context, prayerId string) ApiDeletePrayerItemRequest
* DeletePrayerItem Deletes a Prayer document * @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). * @param prayerId Unique prayer ID number. * @return ApiDeletePrayerItemRequest
func (*PrayerApiService) DeletePrayerItemExecute ¶
func (a *PrayerApiService) DeletePrayerItemExecute(r ApiDeletePrayerItemRequest) (*_nethttp.Response, error)
* Execute executes the request
func (*PrayerApiService) Deleteprayers ¶
func (a *PrayerApiService) Deleteprayers(ctx _context.Context) ApiDeleteprayersRequest
* Deleteprayers Deletes all prayers * @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). * @return ApiDeleteprayersRequest
func (*PrayerApiService) DeleteprayersExecute ¶
func (a *PrayerApiService) DeleteprayersExecute(r ApiDeleteprayersRequest) (*_nethttp.Response, error)
* Execute executes the request
func (*PrayerApiService) GetPrayerItem ¶
func (a *PrayerApiService) GetPrayerItem(ctx _context.Context, prayerId string) ApiGetPrayerItemRequest
* GetPrayerItem Retrieves a Prayer document * @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). * @param prayerId Unique prayer ID number. * @return ApiGetPrayerItemRequest
func (*PrayerApiService) GetPrayerItemExecute ¶
func (a *PrayerApiService) GetPrayerItemExecute(r ApiGetPrayerItemRequest) (Prayer, *_nethttp.Response, error)
* Execute executes the request * @return Prayer
func (*PrayerApiService) Getprayers ¶
func (a *PrayerApiService) Getprayers(ctx _context.Context) ApiGetprayersRequest
* Getprayers Retrieves one or more prayers * @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). * @return ApiGetprayersRequest
func (*PrayerApiService) GetprayersExecute ¶
func (a *PrayerApiService) GetprayersExecute(r ApiGetprayersRequest) (InlineResponse2004, *_nethttp.Response, error)
* Execute executes the request * @return InlineResponse2004
func (*PrayerApiService) Postprayers ¶
func (a *PrayerApiService) Postprayers(ctx _context.Context) ApiPostprayersRequest
* Postprayers Stores one or more prayers. * @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). * @return ApiPostprayersRequest
func (*PrayerApiService) PostprayersExecute ¶
func (a *PrayerApiService) PostprayersExecute(r ApiPostprayersRequest) (*_nethttp.Response, error)
* Execute executes the request
func (*PrayerApiService) PutPrayerItem ¶
func (a *PrayerApiService) PutPrayerItem(ctx _context.Context, prayerId string) ApiPutPrayerItemRequest
* PutPrayerItem Replaces a Prayer document * @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). * @param prayerId Unique prayer ID number. * @return ApiPutPrayerItemRequest
func (*PrayerApiService) PutPrayerItemExecute ¶
func (a *PrayerApiService) PutPrayerItemExecute(r ApiPutPrayerItemRequest) (*_nethttp.Response, error)
* Execute executes the request
type ResponeLinks ¶
type ResponeLinks struct { Parent *ResponeLinksParent `json:"parent,omitempty"` Self *ResponeLinksParent `json:"self,omitempty"` }
ResponeLinks struct for ResponeLinks
func NewResponeLinks ¶
func NewResponeLinks() *ResponeLinks
NewResponeLinks instantiates a new ResponeLinks 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 NewResponeLinksWithDefaults ¶
func NewResponeLinksWithDefaults() *ResponeLinks
NewResponeLinksWithDefaults instantiates a new ResponeLinks 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 (*ResponeLinks) GetParent ¶
func (o *ResponeLinks) GetParent() ResponeLinksParent
GetParent returns the Parent field value if set, zero value otherwise.
func (*ResponeLinks) GetParentOk ¶
func (o *ResponeLinks) GetParentOk() (*ResponeLinksParent, bool)
GetParentOk returns a tuple with the Parent field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ResponeLinks) GetSelf ¶
func (o *ResponeLinks) GetSelf() ResponeLinksParent
GetSelf returns the Self field value if set, zero value otherwise.
func (*ResponeLinks) GetSelfOk ¶
func (o *ResponeLinks) GetSelfOk() (*ResponeLinksParent, bool)
GetSelfOk returns a tuple with the Self field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ResponeLinks) HasParent ¶
func (o *ResponeLinks) HasParent() bool
HasParent returns a boolean if a field has been set.
func (*ResponeLinks) HasSelf ¶
func (o *ResponeLinks) HasSelf() bool
HasSelf returns a boolean if a field has been set.
func (ResponeLinks) MarshalJSON ¶
func (o ResponeLinks) MarshalJSON() ([]byte, error)
func (*ResponeLinks) SetParent ¶
func (o *ResponeLinks) SetParent(v ResponeLinksParent)
SetParent gets a reference to the given ResponeLinksParent and assigns it to the Parent field.
func (*ResponeLinks) SetSelf ¶
func (o *ResponeLinks) SetSelf(v ResponeLinksParent)
SetSelf gets a reference to the given ResponeLinksParent and assigns it to the Self field.
type ResponeLinksParent ¶
type ResponeLinksParent struct { Title *string `json:"title,omitempty"` Href *string `json:"href,omitempty"` }
ResponeLinksParent struct for ResponeLinksParent
func NewResponeLinksParent ¶
func NewResponeLinksParent() *ResponeLinksParent
NewResponeLinksParent instantiates a new ResponeLinksParent 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 NewResponeLinksParentWithDefaults ¶
func NewResponeLinksParentWithDefaults() *ResponeLinksParent
NewResponeLinksParentWithDefaults instantiates a new ResponeLinksParent 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 (*ResponeLinksParent) GetHref ¶
func (o *ResponeLinksParent) GetHref() string
GetHref returns the Href field value if set, zero value otherwise.
func (*ResponeLinksParent) GetHrefOk ¶
func (o *ResponeLinksParent) GetHrefOk() (*string, bool)
GetHrefOk returns a tuple with the Href field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ResponeLinksParent) GetTitle ¶
func (o *ResponeLinksParent) GetTitle() string
GetTitle returns the Title field value if set, zero value otherwise.
func (*ResponeLinksParent) GetTitleOk ¶
func (o *ResponeLinksParent) GetTitleOk() (*string, bool)
GetTitleOk returns a tuple with the Title field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ResponeLinksParent) HasHref ¶
func (o *ResponeLinksParent) HasHref() bool
HasHref returns a boolean if a field has been set.
func (*ResponeLinksParent) HasTitle ¶
func (o *ResponeLinksParent) HasTitle() bool
HasTitle returns a boolean if a field has been set.
func (ResponeLinksParent) MarshalJSON ¶
func (o ResponeLinksParent) MarshalJSON() ([]byte, error)
func (*ResponeLinksParent) SetHref ¶
func (o *ResponeLinksParent) SetHref(v string)
SetHref gets a reference to the given string and assigns it to the Href field.
func (*ResponeLinksParent) SetTitle ¶
func (o *ResponeLinksParent) SetTitle(v string)
SetTitle gets a reference to the given string and assigns it to the Title field.
type ResponeMetadata ¶
type ResponeMetadata struct { Page *int32 `json:"page,omitempty"` Total *int32 `json:"total,omitempty"` MaxResults *int32 `json:"max_results,omitempty"` }
ResponeMetadata struct for ResponeMetadata
func NewResponeMetadata ¶
func NewResponeMetadata() *ResponeMetadata
NewResponeMetadata instantiates a new ResponeMetadata 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 NewResponeMetadataWithDefaults ¶
func NewResponeMetadataWithDefaults() *ResponeMetadata
NewResponeMetadataWithDefaults instantiates a new ResponeMetadata 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 (*ResponeMetadata) GetMaxResults ¶
func (o *ResponeMetadata) GetMaxResults() int32
GetMaxResults returns the MaxResults field value if set, zero value otherwise.
func (*ResponeMetadata) GetMaxResultsOk ¶
func (o *ResponeMetadata) GetMaxResultsOk() (*int32, bool)
GetMaxResultsOk returns a tuple with the MaxResults field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ResponeMetadata) GetPage ¶
func (o *ResponeMetadata) GetPage() int32
GetPage returns the Page field value if set, zero value otherwise.
func (*ResponeMetadata) GetPageOk ¶
func (o *ResponeMetadata) GetPageOk() (*int32, bool)
GetPageOk returns a tuple with the Page field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ResponeMetadata) GetTotal ¶
func (o *ResponeMetadata) GetTotal() int32
GetTotal returns the Total field value if set, zero value otherwise.
func (*ResponeMetadata) GetTotalOk ¶
func (o *ResponeMetadata) GetTotalOk() (*int32, bool)
GetTotalOk returns a tuple with the Total field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ResponeMetadata) HasMaxResults ¶
func (o *ResponeMetadata) HasMaxResults() bool
HasMaxResults returns a boolean if a field has been set.
func (*ResponeMetadata) HasPage ¶
func (o *ResponeMetadata) HasPage() bool
HasPage returns a boolean if a field has been set.
func (*ResponeMetadata) HasTotal ¶
func (o *ResponeMetadata) HasTotal() bool
HasTotal returns a boolean if a field has been set.
func (ResponeMetadata) MarshalJSON ¶
func (o ResponeMetadata) MarshalJSON() ([]byte, error)
func (*ResponeMetadata) SetMaxResults ¶
func (o *ResponeMetadata) SetMaxResults(v int32)
SetMaxResults gets a reference to the given int32 and assigns it to the MaxResults field.
func (*ResponeMetadata) SetPage ¶
func (o *ResponeMetadata) SetPage(v int32)
SetPage gets a reference to the given int32 and assigns it to the Page field.
func (*ResponeMetadata) SetTotal ¶
func (o *ResponeMetadata) SetTotal(v int32)
SetTotal gets a reference to the given int32 and assigns it to the Total field.
type ServerConfiguration ¶
type ServerConfiguration struct { URL string Description string Variables map[string]ServerVariable }
ServerConfiguration stores the information about a server
type ServerConfigurations ¶
type ServerConfigurations []ServerConfiguration
ServerConfigurations stores multiple ServerConfiguration items
type ServerVariable ¶
ServerVariable stores the information about a server variable
type Weapon ¶
type Weapon struct { // Unique OSRS item ID number. Id string `json:"id"` // The name of the item. Name string `json:"name"` // The last time (UTC) the item was updated (in ISO8601 date format). LastUpdated string `json:"last_updated"` // If the item has incomplete wiki data. Incomplete bool `json:"incomplete"` // If the item is a members-only. Members bool `json:"members"` // If the item is tradeable (between players and on the GE). Tradeable bool `json:"tradeable"` // If the item is tradeable (only on GE). TradeableOnGe bool `json:"tradeable_on_ge"` // If the item is stackable (in inventory). Stackable bool `json:"stackable"` // If the item is stacked, indicated by the stack count. Stacked NullableInt32 `json:"stacked"` // If the item is noted. Noted bool `json:"noted"` // If the item is noteable. Noteable bool `json:"noteable"` // The linked ID of the actual item (if noted/placeholder). LinkedIdItem NullableInt32 `json:"linked_id_item"` // The linked ID of an item in noted form. LinkedIdNoted NullableInt32 `json:"linked_id_noted"` // The linked ID of an item in placeholder form. LinkedIdPlaceholder NullableInt32 `json:"linked_id_placeholder"` // If the item is a placeholder. Placeholder bool `json:"placeholder"` // If the item is equipable (based on right-click menu entry). Equipable bool `json:"equipable"` // If the item is equipable in-game by a player. EquipableByPlayer bool `json:"equipable_by_player"` // If the item is an equipable weapon. EquipableWeapon bool `json:"equipable_weapon"` // The store price of an item. Cost int32 `json:"cost"` // The low alchemy value of the item (cost * 0.4). Lowalch NullableInt32 `json:"lowalch"` // The high alchemy value of the item (cost * 0.6). Highalch NullableInt32 `json:"highalch"` // The weight (in kilograms) of the item. Weight NullableFloat32 `json:"weight"` // The Grand Exchange buy limit of the item. BuyLimit NullableInt32 `json:"buy_limit"` // If the item is associated with a quest. QuestItem bool `json:"quest_item"` // Date the item was released (in ISO8601 format). ReleaseDate NullableString `json:"release_date"` // If the item is a duplicate. Duplicate bool `json:"duplicate"` // The examine text for the item. Examine NullableString `json:"examine"` // The item icon (in base64 encoding). Icon string `json:"icon"` // The OSRS Wiki name for the item. WikiName NullableString `json:"wiki_name"` // The OSRS Wiki URL (possibly including anchor link). WikiUrl NullableString `json:"wiki_url"` Equipment NullableItemEquipment `json:"equipment"` Weapon NullableItemWeapon `json:"weapon"` }
Weapon struct for Weapon
func NewWeapon ¶
func NewWeapon(id string, name string, lastUpdated string, incomplete bool, members bool, tradeable bool, tradeableOnGe bool, stackable bool, stacked NullableInt32, noted bool, noteable bool, linkedIdItem NullableInt32, linkedIdNoted NullableInt32, linkedIdPlaceholder NullableInt32, placeholder bool, equipable bool, equipableByPlayer bool, equipableWeapon bool, cost int32, lowalch NullableInt32, highalch NullableInt32, weight NullableFloat32, buyLimit NullableInt32, questItem bool, releaseDate NullableString, duplicate bool, examine NullableString, icon string, wikiName NullableString, wikiUrl NullableString, equipment NullableItemEquipment, weapon NullableItemWeapon) *Weapon
NewWeapon instantiates a new Weapon 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 NewWeaponWithDefaults ¶
func NewWeaponWithDefaults() *Weapon
NewWeaponWithDefaults instantiates a new Weapon 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 (*Weapon) GetBuyLimit ¶
GetBuyLimit returns the BuyLimit field value If the value is explicit nil, the zero value for int32 will be returned
func (*Weapon) GetBuyLimitOk ¶
GetBuyLimitOk returns a tuple with the BuyLimit field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*Weapon) GetCostOk ¶
GetCostOk returns a tuple with the Cost field value and a boolean to check if the value has been set.
func (*Weapon) GetDuplicate ¶
GetDuplicate returns the Duplicate field value
func (*Weapon) GetDuplicateOk ¶
GetDuplicateOk returns a tuple with the Duplicate field value and a boolean to check if the value has been set.
func (*Weapon) GetEquipable ¶
GetEquipable returns the Equipable field value
func (*Weapon) GetEquipableByPlayer ¶
GetEquipableByPlayer returns the EquipableByPlayer field value
func (*Weapon) GetEquipableByPlayerOk ¶
GetEquipableByPlayerOk returns a tuple with the EquipableByPlayer field value and a boolean to check if the value has been set.
func (*Weapon) GetEquipableOk ¶
GetEquipableOk returns a tuple with the Equipable field value and a boolean to check if the value has been set.
func (*Weapon) GetEquipableWeapon ¶
GetEquipableWeapon returns the EquipableWeapon field value
func (*Weapon) GetEquipableWeaponOk ¶
GetEquipableWeaponOk returns a tuple with the EquipableWeapon field value and a boolean to check if the value has been set.
func (*Weapon) GetEquipment ¶
func (o *Weapon) GetEquipment() ItemEquipment
GetEquipment returns the Equipment field value If the value is explicit nil, the zero value for ItemEquipment will be returned
func (*Weapon) GetEquipmentOk ¶
func (o *Weapon) GetEquipmentOk() (*ItemEquipment, bool)
GetEquipmentOk returns a tuple with the Equipment field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*Weapon) GetExamine ¶
GetExamine returns the Examine field value If the value is explicit nil, the zero value for string will be returned
func (*Weapon) GetExamineOk ¶
GetExamineOk returns a tuple with the Examine field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*Weapon) GetHighalch ¶
GetHighalch returns the Highalch field value If the value is explicit nil, the zero value for int32 will be returned
func (*Weapon) GetHighalchOk ¶
GetHighalchOk returns a tuple with the Highalch field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*Weapon) GetIconOk ¶
GetIconOk returns a tuple with the Icon field value and a boolean to check if the value has been set.
func (*Weapon) GetIdOk ¶
GetIdOk returns a tuple with the Id field value and a boolean to check if the value has been set.
func (*Weapon) GetIncomplete ¶
GetIncomplete returns the Incomplete field value
func (*Weapon) GetIncompleteOk ¶
GetIncompleteOk returns a tuple with the Incomplete field value and a boolean to check if the value has been set.
func (*Weapon) GetLastUpdated ¶
GetLastUpdated returns the LastUpdated field value
func (*Weapon) GetLastUpdatedOk ¶
GetLastUpdatedOk returns a tuple with the LastUpdated field value and a boolean to check if the value has been set.
func (*Weapon) GetLinkedIdItem ¶
GetLinkedIdItem returns the LinkedIdItem field value If the value is explicit nil, the zero value for int32 will be returned
func (*Weapon) GetLinkedIdItemOk ¶
GetLinkedIdItemOk returns a tuple with the LinkedIdItem field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*Weapon) GetLinkedIdNoted ¶
GetLinkedIdNoted returns the LinkedIdNoted field value If the value is explicit nil, the zero value for int32 will be returned
func (*Weapon) GetLinkedIdNotedOk ¶
GetLinkedIdNotedOk returns a tuple with the LinkedIdNoted field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*Weapon) GetLinkedIdPlaceholder ¶
GetLinkedIdPlaceholder returns the LinkedIdPlaceholder field value If the value is explicit nil, the zero value for int32 will be returned
func (*Weapon) GetLinkedIdPlaceholderOk ¶
GetLinkedIdPlaceholderOk returns a tuple with the LinkedIdPlaceholder field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*Weapon) GetLowalch ¶
GetLowalch returns the Lowalch field value If the value is explicit nil, the zero value for int32 will be returned
func (*Weapon) GetLowalchOk ¶
GetLowalchOk returns a tuple with the Lowalch field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*Weapon) GetMembers ¶
GetMembers returns the Members field value
func (*Weapon) GetMembersOk ¶
GetMembersOk returns a tuple with the Members field value and a boolean to check if the value has been set.
func (*Weapon) GetNameOk ¶
GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.
func (*Weapon) GetNoteable ¶
GetNoteable returns the Noteable field value
func (*Weapon) GetNoteableOk ¶
GetNoteableOk returns a tuple with the Noteable field value and a boolean to check if the value has been set.
func (*Weapon) GetNotedOk ¶
GetNotedOk returns a tuple with the Noted field value and a boolean to check if the value has been set.
func (*Weapon) GetPlaceholder ¶
GetPlaceholder returns the Placeholder field value
func (*Weapon) GetPlaceholderOk ¶
GetPlaceholderOk returns a tuple with the Placeholder field value and a boolean to check if the value has been set.
func (*Weapon) GetQuestItem ¶
GetQuestItem returns the QuestItem field value
func (*Weapon) GetQuestItemOk ¶
GetQuestItemOk returns a tuple with the QuestItem field value and a boolean to check if the value has been set.
func (*Weapon) GetReleaseDate ¶
GetReleaseDate returns the ReleaseDate field value If the value is explicit nil, the zero value for string will be returned
func (*Weapon) GetReleaseDateOk ¶
GetReleaseDateOk returns a tuple with the ReleaseDate field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*Weapon) GetStackable ¶
GetStackable returns the Stackable field value
func (*Weapon) GetStackableOk ¶
GetStackableOk returns a tuple with the Stackable field value and a boolean to check if the value has been set.
func (*Weapon) GetStacked ¶
GetStacked returns the Stacked field value If the value is explicit nil, the zero value for int32 will be returned
func (*Weapon) GetStackedOk ¶
GetStackedOk returns a tuple with the Stacked field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*Weapon) GetTradeable ¶
GetTradeable returns the Tradeable field value
func (*Weapon) GetTradeableOk ¶
GetTradeableOk returns a tuple with the Tradeable field value and a boolean to check if the value has been set.
func (*Weapon) GetTradeableOnGe ¶
GetTradeableOnGe returns the TradeableOnGe field value
func (*Weapon) GetTradeableOnGeOk ¶
GetTradeableOnGeOk returns a tuple with the TradeableOnGe field value and a boolean to check if the value has been set.
func (*Weapon) GetWeapon ¶
func (o *Weapon) GetWeapon() ItemWeapon
GetWeapon returns the Weapon field value If the value is explicit nil, the zero value for ItemWeapon will be returned
func (*Weapon) GetWeaponOk ¶
func (o *Weapon) GetWeaponOk() (*ItemWeapon, bool)
GetWeaponOk returns a tuple with the Weapon field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*Weapon) GetWeight ¶
GetWeight returns the Weight field value If the value is explicit nil, the zero value for float32 will be returned
func (*Weapon) GetWeightOk ¶
GetWeightOk returns a tuple with the Weight field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*Weapon) GetWikiName ¶
GetWikiName returns the WikiName field value If the value is explicit nil, the zero value for string will be returned
func (*Weapon) GetWikiNameOk ¶
GetWikiNameOk returns a tuple with the WikiName field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*Weapon) GetWikiUrl ¶
GetWikiUrl returns the WikiUrl field value If the value is explicit nil, the zero value for string will be returned
func (*Weapon) GetWikiUrlOk ¶
GetWikiUrlOk returns a tuple with the WikiUrl field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (Weapon) MarshalJSON ¶
func (*Weapon) SetEquipableByPlayer ¶
SetEquipableByPlayer sets field value
func (*Weapon) SetEquipableWeapon ¶
SetEquipableWeapon sets field value
func (*Weapon) SetEquipment ¶
func (o *Weapon) SetEquipment(v ItemEquipment)
SetEquipment sets field value
func (*Weapon) SetIncomplete ¶
SetIncomplete sets field value
func (*Weapon) SetLastUpdated ¶
SetLastUpdated sets field value
func (*Weapon) SetLinkedIdItem ¶
SetLinkedIdItem sets field value
func (*Weapon) SetLinkedIdNoted ¶
SetLinkedIdNoted sets field value
func (*Weapon) SetLinkedIdPlaceholder ¶
SetLinkedIdPlaceholder sets field value
func (*Weapon) SetPlaceholder ¶
SetPlaceholder sets field value
func (*Weapon) SetReleaseDate ¶
SetReleaseDate sets field value
func (*Weapon) SetTradeableOnGe ¶
SetTradeableOnGe sets field value
Source Files ¶
- api_item.go
- api_monster.go
- api_prayer.go
- client.go
- configuration.go
- model_equipment.go
- model_error.go
- model_error__error.go
- model_icons_item.go
- model_icons_prayer.go
- model_inline_response_200.go
- model_inline_response_200_1.go
- model_inline_response_200_2.go
- model_inline_response_200_3.go
- model_inline_response_200_4.go
- model_inline_response_200_5.go
- model_inline_response_200_6.go
- model_item.go
- model_item_equipment.go
- model_item_weapon.go
- model_item_weapon_stances.go
- model_monster.go
- model_monster_drops.go
- model_prayer.go
- model_respone_links.go
- model_respone_links_parent.go
- model_respone_metadata.go
- model_weapon.go
- utils.go