api

package
v0.0.0-...-2a4d795 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 1, 2021 License: Apache-2.0 Imports: 22 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
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

func CacheExpires(r *http.Response) time.Time

CacheExpires helper function to determine remaining time before repeating a request.

func PtrBool

func PtrBool(v bool) *bool

PtrBool is a helper routine that returns a pointer to given boolean value.

func PtrFloat32

func PtrFloat32(v float32) *float32

PtrFloat32 is a helper routine that returns a pointer to given float value.

func PtrFloat64

func PtrFloat64(v float64) *float64

PtrFloat64 is a helper routine that returns a pointer to given float value.

func PtrInt

func PtrInt(v int) *int

PtrInt is a helper routine that returns a pointer to given integer value.

func PtrInt32

func PtrInt32(v int32) *int32

PtrInt32 is a helper routine that returns a pointer to given integer value.

func PtrInt64

func PtrInt64(v int64) *int64

PtrInt64 is a helper routine that returns a pointer to given integer value.

func PtrString

func PtrString(v string) *string

PtrString is a helper routine that returns a pointer to given string value.

func PtrTime

func PtrTime(v time.Time) *time.Time

PtrTime is helper routine that returns a pointer to given Time 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

type APIKey struct {
	Key    string
	Prefix string
}

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 (ApiDeleteItemItemRequest) IfMatch

type ApiDeleteMonsterItemRequest

type ApiDeleteMonsterItemRequest struct {
	ApiService *MonsterApiService
	// contains filtered or unexported fields
}

func (ApiDeleteMonsterItemRequest) Execute

func (ApiDeleteMonsterItemRequest) IfMatch

type ApiDeletePrayerItemRequest

type ApiDeletePrayerItemRequest struct {
	ApiService *PrayerApiService
	// contains filtered or unexported fields
}

func (ApiDeletePrayerItemRequest) Execute

func (ApiDeletePrayerItemRequest) IfMatch

type ApiDeleteitemsRequest

type ApiDeleteitemsRequest struct {
	ApiService *ItemApiService
	// contains filtered or unexported fields
}

func (ApiDeleteitemsRequest) Execute

func (r ApiDeleteitemsRequest) Execute() (*_nethttp.Response, error)

type ApiDeletemonstersRequest

type ApiDeletemonstersRequest struct {
	ApiService *MonsterApiService
	// contains filtered or unexported fields
}

func (ApiDeletemonstersRequest) Execute

type ApiDeleteprayersRequest

type ApiDeleteprayersRequest struct {
	ApiService *PrayerApiService
	// contains filtered or unexported fields
}

func (ApiDeleteprayersRequest) Execute

type ApiGetItemItemRequest

type ApiGetItemItemRequest struct {
	ApiService *ItemApiService
	// contains filtered or unexported fields
}

func (ApiGetItemItemRequest) Execute

type ApiGetMonsterItemRequest

type ApiGetMonsterItemRequest struct {
	ApiService *MonsterApiService
	// contains filtered or unexported fields
}

func (ApiGetMonsterItemRequest) Execute

type ApiGetPrayerItemRequest

type ApiGetPrayerItemRequest struct {
	ApiService *PrayerApiService
	// contains filtered or unexported fields
}

func (ApiGetPrayerItemRequest) Execute

type ApiGetitemsRequest

type ApiGetitemsRequest struct {
	ApiService *ItemApiService
	// contains filtered or unexported fields
}

func (ApiGetitemsRequest) Execute

func (ApiGetitemsRequest) MaxResults

func (r ApiGetitemsRequest) MaxResults(maxResults int32) ApiGetitemsRequest

func (ApiGetitemsRequest) Page

func (ApiGetitemsRequest) Projection

func (r ApiGetitemsRequest) Projection(projection string) ApiGetitemsRequest

func (ApiGetitemsRequest) Sort

func (ApiGetitemsRequest) Where

type ApiGetmonstersRequest

type ApiGetmonstersRequest struct {
	ApiService *MonsterApiService
	// contains filtered or unexported fields
}

func (ApiGetmonstersRequest) Execute

func (ApiGetmonstersRequest) MaxResults

func (r ApiGetmonstersRequest) MaxResults(maxResults int32) ApiGetmonstersRequest

func (ApiGetmonstersRequest) Page

func (ApiGetmonstersRequest) Projection

func (r ApiGetmonstersRequest) Projection(projection string) ApiGetmonstersRequest

func (ApiGetmonstersRequest) Sort

func (ApiGetmonstersRequest) Where

type ApiGetprayersRequest

type ApiGetprayersRequest struct {
	ApiService *PrayerApiService
	// contains filtered or unexported fields
}

func (ApiGetprayersRequest) Execute

func (ApiGetprayersRequest) MaxResults

func (r ApiGetprayersRequest) MaxResults(maxResults int32) ApiGetprayersRequest

func (ApiGetprayersRequest) Page

func (ApiGetprayersRequest) Projection

func (r ApiGetprayersRequest) Projection(projection string) ApiGetprayersRequest

func (ApiGetprayersRequest) Sort

func (ApiGetprayersRequest) Where

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

type ApiPostmonstersRequest

type ApiPostmonstersRequest struct {
	ApiService *MonsterApiService
	// contains filtered or unexported fields
}

func (ApiPostmonstersRequest) Execute

func (ApiPostmonstersRequest) Monster

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

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 (ApiPutItemItemRequest) Item

type ApiPutMonsterItemRequest

type ApiPutMonsterItemRequest struct {
	ApiService *MonsterApiService
	// contains filtered or unexported fields
}

func (ApiPutMonsterItemRequest) Execute

func (ApiPutMonsterItemRequest) IfMatch

func (ApiPutMonsterItemRequest) Monster

type ApiPutPrayerItemRequest

type ApiPutPrayerItemRequest struct {
	ApiService *PrayerApiService
	// contains filtered or unexported fields
}

func (ApiPutPrayerItemRequest) Execute

func (ApiPutPrayerItemRequest) IfMatch

func (ApiPutPrayerItemRequest) Prayer

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) ServerURL

func (c *Configuration) ServerURL(index int, variables map[string]string) (string, error)

ServerURL returns URL based on server settings

func (*Configuration) ServerURLWithContext

func (c *Configuration) ServerURLWithContext(ctx context.Context, endpoint string) (string, error)

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

func (o *Equipment) GetBuyLimit() int32

GetBuyLimit returns the BuyLimit field value If the value is explicit nil, the zero value for int32 will be returned

func (*Equipment) GetBuyLimitOk

func (o *Equipment) GetBuyLimitOk() (*int32, bool)

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) GetCost

func (o *Equipment) GetCost() int32

GetCost returns the Cost field value

func (*Equipment) GetCostOk

func (o *Equipment) GetCostOk() (*int32, bool)

GetCostOk returns a tuple with the Cost field value and a boolean to check if the value has been set.

func (*Equipment) GetDuplicate

func (o *Equipment) GetDuplicate() bool

GetDuplicate returns the Duplicate field value

func (*Equipment) GetDuplicateOk

func (o *Equipment) GetDuplicateOk() (*bool, bool)

GetDuplicateOk returns a tuple with the Duplicate field value and a boolean to check if the value has been set.

func (*Equipment) GetEquipable

func (o *Equipment) GetEquipable() bool

GetEquipable returns the Equipable field value

func (*Equipment) GetEquipableByPlayer

func (o *Equipment) GetEquipableByPlayer() bool

GetEquipableByPlayer returns the EquipableByPlayer field value

func (*Equipment) GetEquipableByPlayerOk

func (o *Equipment) GetEquipableByPlayerOk() (*bool, bool)

GetEquipableByPlayerOk returns a tuple with the EquipableByPlayer field value and a boolean to check if the value has been set.

func (*Equipment) GetEquipableOk

func (o *Equipment) GetEquipableOk() (*bool, bool)

GetEquipableOk returns a tuple with the Equipable field value and a boolean to check if the value has been set.

func (*Equipment) GetEquipableWeapon

func (o *Equipment) GetEquipableWeapon() bool

GetEquipableWeapon returns the EquipableWeapon field value

func (*Equipment) GetEquipableWeaponOk

func (o *Equipment) GetEquipableWeaponOk() (*bool, bool)

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

func (o *Equipment) GetExamine() string

GetExamine returns the Examine field value If the value is explicit nil, the zero value for string will be returned

func (*Equipment) GetExamineOk

func (o *Equipment) GetExamineOk() (*string, bool)

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

func (o *Equipment) GetHighalch() int32

GetHighalch returns the Highalch field value If the value is explicit nil, the zero value for int32 will be returned

func (*Equipment) GetHighalchOk

func (o *Equipment) GetHighalchOk() (*int32, bool)

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) GetIcon

func (o *Equipment) GetIcon() string

GetIcon returns the Icon field value

func (*Equipment) GetIconOk

func (o *Equipment) GetIconOk() (*string, bool)

GetIconOk returns a tuple with the Icon field value and a boolean to check if the value has been set.

func (*Equipment) GetId

func (o *Equipment) GetId() string

GetId returns the Id field value

func (*Equipment) GetIdOk

func (o *Equipment) GetIdOk() (*string, bool)

GetIdOk returns a tuple with the Id field value and a boolean to check if the value has been set.

func (*Equipment) GetIncomplete

func (o *Equipment) GetIncomplete() bool

GetIncomplete returns the Incomplete field value

func (*Equipment) GetIncompleteOk

func (o *Equipment) GetIncompleteOk() (*bool, bool)

GetIncompleteOk returns a tuple with the Incomplete field value and a boolean to check if the value has been set.

func (*Equipment) GetLastUpdated

func (o *Equipment) GetLastUpdated() string

GetLastUpdated returns the LastUpdated field value

func (*Equipment) GetLastUpdatedOk

func (o *Equipment) GetLastUpdatedOk() (*string, bool)

GetLastUpdatedOk returns a tuple with the LastUpdated field value and a boolean to check if the value has been set.

func (*Equipment) GetLinkedIdItem

func (o *Equipment) GetLinkedIdItem() int32

GetLinkedIdItem returns the LinkedIdItem field value If the value is explicit nil, the zero value for int32 will be returned

func (*Equipment) GetLinkedIdItemOk

func (o *Equipment) GetLinkedIdItemOk() (*int32, bool)

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

func (o *Equipment) GetLinkedIdNoted() int32

GetLinkedIdNoted returns the LinkedIdNoted field value If the value is explicit nil, the zero value for int32 will be returned

func (*Equipment) GetLinkedIdNotedOk

func (o *Equipment) GetLinkedIdNotedOk() (*int32, bool)

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

func (o *Equipment) GetLinkedIdPlaceholder() int32

GetLinkedIdPlaceholder returns the LinkedIdPlaceholder field value If the value is explicit nil, the zero value for int32 will be returned

func (*Equipment) GetLinkedIdPlaceholderOk

func (o *Equipment) GetLinkedIdPlaceholderOk() (*int32, bool)

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

func (o *Equipment) GetLowalch() int32

GetLowalch returns the Lowalch field value If the value is explicit nil, the zero value for int32 will be returned

func (*Equipment) GetLowalchOk

func (o *Equipment) GetLowalchOk() (*int32, bool)

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

func (o *Equipment) GetMembers() bool

GetMembers returns the Members field value

func (*Equipment) GetMembersOk

func (o *Equipment) GetMembersOk() (*bool, bool)

GetMembersOk returns a tuple with the Members field value and a boolean to check if the value has been set.

func (*Equipment) GetName

func (o *Equipment) GetName() string

GetName returns the Name field value

func (*Equipment) GetNameOk

func (o *Equipment) GetNameOk() (*string, bool)

GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.

func (*Equipment) GetNoteable

func (o *Equipment) GetNoteable() bool

GetNoteable returns the Noteable field value

func (*Equipment) GetNoteableOk

func (o *Equipment) GetNoteableOk() (*bool, bool)

GetNoteableOk returns a tuple with the Noteable field value and a boolean to check if the value has been set.

func (*Equipment) GetNoted

func (o *Equipment) GetNoted() bool

GetNoted returns the Noted field value

func (*Equipment) GetNotedOk

func (o *Equipment) GetNotedOk() (*bool, bool)

GetNotedOk returns a tuple with the Noted field value and a boolean to check if the value has been set.

func (*Equipment) GetPlaceholder

func (o *Equipment) GetPlaceholder() bool

GetPlaceholder returns the Placeholder field value

func (*Equipment) GetPlaceholderOk

func (o *Equipment) GetPlaceholderOk() (*bool, bool)

GetPlaceholderOk returns a tuple with the Placeholder field value and a boolean to check if the value has been set.

func (*Equipment) GetQuestItem

func (o *Equipment) GetQuestItem() bool

GetQuestItem returns the QuestItem field value

func (*Equipment) GetQuestItemOk

func (o *Equipment) GetQuestItemOk() (*bool, bool)

GetQuestItemOk returns a tuple with the QuestItem field value and a boolean to check if the value has been set.

func (*Equipment) GetReleaseDate

func (o *Equipment) GetReleaseDate() string

GetReleaseDate returns the ReleaseDate field value If the value is explicit nil, the zero value for string will be returned

func (*Equipment) GetReleaseDateOk

func (o *Equipment) GetReleaseDateOk() (*string, bool)

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

func (o *Equipment) GetStackable() bool

GetStackable returns the Stackable field value

func (*Equipment) GetStackableOk

func (o *Equipment) GetStackableOk() (*bool, bool)

GetStackableOk returns a tuple with the Stackable field value and a boolean to check if the value has been set.

func (*Equipment) GetStacked

func (o *Equipment) GetStacked() int32

GetStacked returns the Stacked field value If the value is explicit nil, the zero value for int32 will be returned

func (*Equipment) GetStackedOk

func (o *Equipment) GetStackedOk() (*int32, bool)

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

func (o *Equipment) GetTradeable() bool

GetTradeable returns the Tradeable field value

func (*Equipment) GetTradeableOk

func (o *Equipment) GetTradeableOk() (*bool, bool)

GetTradeableOk returns a tuple with the Tradeable field value and a boolean to check if the value has been set.

func (*Equipment) GetTradeableOnGe

func (o *Equipment) GetTradeableOnGe() bool

GetTradeableOnGe returns the TradeableOnGe field value

func (*Equipment) GetTradeableOnGeOk

func (o *Equipment) GetTradeableOnGeOk() (*bool, bool)

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

func (o *Equipment) GetWeight() float32

GetWeight returns the Weight field value If the value is explicit nil, the zero value for float32 will be returned

func (*Equipment) GetWeightOk

func (o *Equipment) GetWeightOk() (*float32, bool)

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

func (o *Equipment) GetWikiName() string

GetWikiName returns the WikiName field value If the value is explicit nil, the zero value for string will be returned

func (*Equipment) GetWikiNameOk

func (o *Equipment) GetWikiNameOk() (*string, bool)

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

func (o *Equipment) GetWikiUrl() string

GetWikiUrl returns the WikiUrl field value If the value is explicit nil, the zero value for string will be returned

func (*Equipment) GetWikiUrlOk

func (o *Equipment) GetWikiUrlOk() (*string, bool)

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 (o Equipment) MarshalJSON() ([]byte, error)

func (*Equipment) SetBuyLimit

func (o *Equipment) SetBuyLimit(v int32)

SetBuyLimit sets field value

func (*Equipment) SetCost

func (o *Equipment) SetCost(v int32)

SetCost sets field value

func (*Equipment) SetDuplicate

func (o *Equipment) SetDuplicate(v bool)

SetDuplicate sets field value

func (*Equipment) SetEquipable

func (o *Equipment) SetEquipable(v bool)

SetEquipable sets field value

func (*Equipment) SetEquipableByPlayer

func (o *Equipment) SetEquipableByPlayer(v bool)

SetEquipableByPlayer sets field value

func (*Equipment) SetEquipableWeapon

func (o *Equipment) SetEquipableWeapon(v bool)

SetEquipableWeapon sets field value

func (*Equipment) SetEquipment

func (o *Equipment) SetEquipment(v ItemEquipment)

SetEquipment sets field value

func (*Equipment) SetExamine

func (o *Equipment) SetExamine(v string)

SetExamine sets field value

func (*Equipment) SetHighalch

func (o *Equipment) SetHighalch(v int32)

SetHighalch sets field value

func (*Equipment) SetIcon

func (o *Equipment) SetIcon(v string)

SetIcon sets field value

func (*Equipment) SetId

func (o *Equipment) SetId(v string)

SetId sets field value

func (*Equipment) SetIncomplete

func (o *Equipment) SetIncomplete(v bool)

SetIncomplete sets field value

func (*Equipment) SetLastUpdated

func (o *Equipment) SetLastUpdated(v string)

SetLastUpdated sets field value

func (*Equipment) SetLinkedIdItem

func (o *Equipment) SetLinkedIdItem(v int32)

SetLinkedIdItem sets field value

func (*Equipment) SetLinkedIdNoted

func (o *Equipment) SetLinkedIdNoted(v int32)

SetLinkedIdNoted sets field value

func (*Equipment) SetLinkedIdPlaceholder

func (o *Equipment) SetLinkedIdPlaceholder(v int32)

SetLinkedIdPlaceholder sets field value

func (*Equipment) SetLowalch

func (o *Equipment) SetLowalch(v int32)

SetLowalch sets field value

func (*Equipment) SetMembers

func (o *Equipment) SetMembers(v bool)

SetMembers sets field value

func (*Equipment) SetName

func (o *Equipment) SetName(v string)

SetName sets field value

func (*Equipment) SetNoteable

func (o *Equipment) SetNoteable(v bool)

SetNoteable sets field value

func (*Equipment) SetNoted

func (o *Equipment) SetNoted(v bool)

SetNoted sets field value

func (*Equipment) SetPlaceholder

func (o *Equipment) SetPlaceholder(v bool)

SetPlaceholder sets field value

func (*Equipment) SetQuestItem

func (o *Equipment) SetQuestItem(v bool)

SetQuestItem sets field value

func (*Equipment) SetReleaseDate

func (o *Equipment) SetReleaseDate(v string)

SetReleaseDate sets field value

func (*Equipment) SetStackable

func (o *Equipment) SetStackable(v bool)

SetStackable sets field value

func (*Equipment) SetStacked

func (o *Equipment) SetStacked(v int32)

SetStacked sets field value

func (*Equipment) SetTradeable

func (o *Equipment) SetTradeable(v bool)

SetTradeable sets field value

func (*Equipment) SetTradeableOnGe

func (o *Equipment) SetTradeableOnGe(v bool)

SetTradeableOnGe sets field value

func (*Equipment) SetWeapon

func (o *Equipment) SetWeapon(v ItemWeapon)

SetWeapon sets field value

func (*Equipment) SetWeight

func (o *Equipment) SetWeight(v float32)

SetWeight sets field value

func (*Equipment) SetWikiName

func (o *Equipment) SetWikiName(v string)

SetWikiName sets field value

func (*Equipment) SetWikiUrl

func (o *Equipment) SetWikiUrl(v string)

SetWikiUrl 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) GetStatus

func (o *Error) GetStatus() string

GetStatus returns the Status field value

func (*Error) GetStatusOk

func (o *Error) GetStatusOk() (*string, bool)

GetStatusOk returns a tuple with the Status field value and a boolean to check if the value has been set.

func (Error) MarshalJSON

func (o Error) MarshalJSON() ([]byte, error)

func (*Error) SetError

func (o *Error) SetError(v ErrorError)

SetError sets field value

func (*Error) SetStatus

func (o *Error) SetStatus(v string)

SetStatus sets field value

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

func NewIconsItem(id string, icon string) *IconsItem

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) GetIcon

func (o *IconsItem) GetIcon() string

GetIcon returns the Icon field value

func (*IconsItem) GetIconOk

func (o *IconsItem) GetIconOk() (*string, bool)

GetIconOk returns a tuple with the Icon field value and a boolean to check if the value has been set.

func (*IconsItem) GetId

func (o *IconsItem) GetId() string

GetId returns the Id field value

func (*IconsItem) GetIdOk

func (o *IconsItem) GetIdOk() (*string, bool)

GetIdOk returns a tuple with the Id field value and a boolean to check if the value has been set.

func (IconsItem) MarshalJSON

func (o IconsItem) MarshalJSON() ([]byte, error)

func (*IconsItem) SetIcon

func (o *IconsItem) SetIcon(v string)

SetIcon sets field value

func (*IconsItem) SetId

func (o *IconsItem) SetId(v string)

SetId sets field value

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) GetId

func (o *IconsPrayer) GetId() string

GetId returns the Id field value

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)

func (*IconsPrayer) SetIcon

func (o *IconsPrayer) SetIcon(v string)

SetIcon sets field value

func (*IconsPrayer) SetId

func (o *IconsPrayer) SetId(v string)

SetId sets field value

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 (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 (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 (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 (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 (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 (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 (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 (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 (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 (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 (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 (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 (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 (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 (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 (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 (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 (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 (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 (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 (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

func (o *Item) GetBuyLimit() int32

GetBuyLimit returns the BuyLimit field value If the value is explicit nil, the zero value for int32 will be returned

func (*Item) GetBuyLimitOk

func (o *Item) GetBuyLimitOk() (*int32, bool)

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) GetCost

func (o *Item) GetCost() int32

GetCost returns the Cost field value

func (*Item) GetCostOk

func (o *Item) GetCostOk() (*int32, bool)

GetCostOk returns a tuple with the Cost field value and a boolean to check if the value has been set.

func (*Item) GetDuplicate

func (o *Item) GetDuplicate() bool

GetDuplicate returns the Duplicate field value

func (*Item) GetDuplicateOk

func (o *Item) GetDuplicateOk() (*bool, bool)

GetDuplicateOk returns a tuple with the Duplicate field value and a boolean to check if the value has been set.

func (*Item) GetEquipable

func (o *Item) GetEquipable() bool

GetEquipable returns the Equipable field value

func (*Item) GetEquipableByPlayer

func (o *Item) GetEquipableByPlayer() bool

GetEquipableByPlayer returns the EquipableByPlayer field value

func (*Item) GetEquipableByPlayerOk

func (o *Item) GetEquipableByPlayerOk() (*bool, bool)

GetEquipableByPlayerOk returns a tuple with the EquipableByPlayer field value and a boolean to check if the value has been set.

func (*Item) GetEquipableOk

func (o *Item) GetEquipableOk() (*bool, bool)

GetEquipableOk returns a tuple with the Equipable field value and a boolean to check if the value has been set.

func (*Item) GetEquipableWeapon

func (o *Item) GetEquipableWeapon() bool

GetEquipableWeapon returns the EquipableWeapon field value

func (*Item) GetEquipableWeaponOk

func (o *Item) GetEquipableWeaponOk() (*bool, bool)

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

func (o *Item) GetExamine() string

GetExamine returns the Examine field value If the value is explicit nil, the zero value for string will be returned

func (*Item) GetExamineOk

func (o *Item) GetExamineOk() (*string, bool)

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

func (o *Item) GetHighalch() int32

GetHighalch returns the Highalch field value If the value is explicit nil, the zero value for int32 will be returned

func (*Item) GetHighalchOk

func (o *Item) GetHighalchOk() (*int32, bool)

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) GetIcon

func (o *Item) GetIcon() string

GetIcon returns the Icon field value

func (*Item) GetIconOk

func (o *Item) GetIconOk() (*string, bool)

GetIconOk returns a tuple with the Icon field value and a boolean to check if the value has been set.

func (*Item) GetId

func (o *Item) GetId() string

GetId returns the Id field value

func (*Item) GetIdOk

func (o *Item) GetIdOk() (*string, bool)

GetIdOk returns a tuple with the Id field value and a boolean to check if the value has been set.

func (*Item) GetIncomplete

func (o *Item) GetIncomplete() bool

GetIncomplete returns the Incomplete field value

func (*Item) GetIncompleteOk

func (o *Item) GetIncompleteOk() (*bool, bool)

GetIncompleteOk returns a tuple with the Incomplete field value and a boolean to check if the value has been set.

func (*Item) GetLastUpdated

func (o *Item) GetLastUpdated() string

GetLastUpdated returns the LastUpdated field value

func (*Item) GetLastUpdatedOk

func (o *Item) GetLastUpdatedOk() (*string, bool)

GetLastUpdatedOk returns a tuple with the LastUpdated field value and a boolean to check if the value has been set.

func (*Item) GetLinkedIdItem

func (o *Item) GetLinkedIdItem() int32

GetLinkedIdItem returns the LinkedIdItem field value If the value is explicit nil, the zero value for int32 will be returned

func (*Item) GetLinkedIdItemOk

func (o *Item) GetLinkedIdItemOk() (*int32, bool)

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

func (o *Item) GetLinkedIdNoted() int32

GetLinkedIdNoted returns the LinkedIdNoted field value If the value is explicit nil, the zero value for int32 will be returned

func (*Item) GetLinkedIdNotedOk

func (o *Item) GetLinkedIdNotedOk() (*int32, bool)

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

func (o *Item) GetLinkedIdPlaceholder() int32

GetLinkedIdPlaceholder returns the LinkedIdPlaceholder field value If the value is explicit nil, the zero value for int32 will be returned

func (*Item) GetLinkedIdPlaceholderOk

func (o *Item) GetLinkedIdPlaceholderOk() (*int32, bool)

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

func (o *Item) GetLowalch() int32

GetLowalch returns the Lowalch field value If the value is explicit nil, the zero value for int32 will be returned

func (*Item) GetLowalchOk

func (o *Item) GetLowalchOk() (*int32, bool)

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

func (o *Item) GetMembers() bool

GetMembers returns the Members field value

func (*Item) GetMembersOk

func (o *Item) GetMembersOk() (*bool, bool)

GetMembersOk returns a tuple with the Members field value and a boolean to check if the value has been set.

func (*Item) GetName

func (o *Item) GetName() string

GetName returns the Name field value

func (*Item) GetNameOk

func (o *Item) GetNameOk() (*string, bool)

GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.

func (*Item) GetNoteable

func (o *Item) GetNoteable() bool

GetNoteable returns the Noteable field value

func (*Item) GetNoteableOk

func (o *Item) GetNoteableOk() (*bool, bool)

GetNoteableOk returns a tuple with the Noteable field value and a boolean to check if the value has been set.

func (*Item) GetNoted

func (o *Item) GetNoted() bool

GetNoted returns the Noted field value

func (*Item) GetNotedOk

func (o *Item) GetNotedOk() (*bool, bool)

GetNotedOk returns a tuple with the Noted field value and a boolean to check if the value has been set.

func (*Item) GetPlaceholder

func (o *Item) GetPlaceholder() bool

GetPlaceholder returns the Placeholder field value

func (*Item) GetPlaceholderOk

func (o *Item) GetPlaceholderOk() (*bool, bool)

GetPlaceholderOk returns a tuple with the Placeholder field value and a boolean to check if the value has been set.

func (*Item) GetQuestItem

func (o *Item) GetQuestItem() bool

GetQuestItem returns the QuestItem field value

func (*Item) GetQuestItemOk

func (o *Item) GetQuestItemOk() (*bool, bool)

GetQuestItemOk returns a tuple with the QuestItem field value and a boolean to check if the value has been set.

func (*Item) GetReleaseDate

func (o *Item) GetReleaseDate() string

GetReleaseDate returns the ReleaseDate field value If the value is explicit nil, the zero value for string will be returned

func (*Item) GetReleaseDateOk

func (o *Item) GetReleaseDateOk() (*string, bool)

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

func (o *Item) GetStackable() bool

GetStackable returns the Stackable field value

func (*Item) GetStackableOk

func (o *Item) GetStackableOk() (*bool, bool)

GetStackableOk returns a tuple with the Stackable field value and a boolean to check if the value has been set.

func (*Item) GetStacked

func (o *Item) GetStacked() int32

GetStacked returns the Stacked field value If the value is explicit nil, the zero value for int32 will be returned

func (*Item) GetStackedOk

func (o *Item) GetStackedOk() (*int32, bool)

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

func (o *Item) GetTradeable() bool

GetTradeable returns the Tradeable field value

func (*Item) GetTradeableOk

func (o *Item) GetTradeableOk() (*bool, bool)

GetTradeableOk returns a tuple with the Tradeable field value and a boolean to check if the value has been set.

func (*Item) GetTradeableOnGe

func (o *Item) GetTradeableOnGe() bool

GetTradeableOnGe returns the TradeableOnGe field value

func (*Item) GetTradeableOnGeOk

func (o *Item) GetTradeableOnGeOk() (*bool, bool)

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

func (o *Item) GetWeight() float32

GetWeight returns the Weight field value If the value is explicit nil, the zero value for float32 will be returned

func (*Item) GetWeightOk

func (o *Item) GetWeightOk() (*float32, bool)

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

func (o *Item) GetWikiName() string

GetWikiName returns the WikiName field value If the value is explicit nil, the zero value for string will be returned

func (*Item) GetWikiNameOk

func (o *Item) GetWikiNameOk() (*string, bool)

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

func (o *Item) GetWikiUrl() string

GetWikiUrl returns the WikiUrl field value If the value is explicit nil, the zero value for string will be returned

func (*Item) GetWikiUrlOk

func (o *Item) GetWikiUrlOk() (*string, bool)

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 (o Item) MarshalJSON() ([]byte, error)

func (*Item) SetBuyLimit

func (o *Item) SetBuyLimit(v int32)

SetBuyLimit sets field value

func (*Item) SetCost

func (o *Item) SetCost(v int32)

SetCost sets field value

func (*Item) SetDuplicate

func (o *Item) SetDuplicate(v bool)

SetDuplicate sets field value

func (*Item) SetEquipable

func (o *Item) SetEquipable(v bool)

SetEquipable sets field value

func (*Item) SetEquipableByPlayer

func (o *Item) SetEquipableByPlayer(v bool)

SetEquipableByPlayer sets field value

func (*Item) SetEquipableWeapon

func (o *Item) SetEquipableWeapon(v bool)

SetEquipableWeapon sets field value

func (*Item) SetEquipment

func (o *Item) SetEquipment(v ItemEquipment)

SetEquipment sets field value

func (*Item) SetExamine

func (o *Item) SetExamine(v string)

SetExamine sets field value

func (*Item) SetHighalch

func (o *Item) SetHighalch(v int32)

SetHighalch sets field value

func (*Item) SetIcon

func (o *Item) SetIcon(v string)

SetIcon sets field value

func (*Item) SetId

func (o *Item) SetId(v string)

SetId sets field value

func (*Item) SetIncomplete

func (o *Item) SetIncomplete(v bool)

SetIncomplete sets field value

func (*Item) SetLastUpdated

func (o *Item) SetLastUpdated(v string)

SetLastUpdated sets field value

func (*Item) SetLinkedIdItem

func (o *Item) SetLinkedIdItem(v int32)

SetLinkedIdItem sets field value

func (*Item) SetLinkedIdNoted

func (o *Item) SetLinkedIdNoted(v int32)

SetLinkedIdNoted sets field value

func (*Item) SetLinkedIdPlaceholder

func (o *Item) SetLinkedIdPlaceholder(v int32)

SetLinkedIdPlaceholder sets field value

func (*Item) SetLowalch

func (o *Item) SetLowalch(v int32)

SetLowalch sets field value

func (*Item) SetMembers

func (o *Item) SetMembers(v bool)

SetMembers sets field value

func (*Item) SetName

func (o *Item) SetName(v string)

SetName sets field value

func (*Item) SetNoteable

func (o *Item) SetNoteable(v bool)

SetNoteable sets field value

func (*Item) SetNoted

func (o *Item) SetNoted(v bool)

SetNoted sets field value

func (*Item) SetPlaceholder

func (o *Item) SetPlaceholder(v bool)

SetPlaceholder sets field value

func (*Item) SetQuestItem

func (o *Item) SetQuestItem(v bool)

SetQuestItem sets field value

func (*Item) SetReleaseDate

func (o *Item) SetReleaseDate(v string)

SetReleaseDate sets field value

func (*Item) SetStackable

func (o *Item) SetStackable(v bool)

SetStackable sets field value

func (*Item) SetStacked

func (o *Item) SetStacked(v int32)

SetStacked sets field value

func (*Item) SetTradeable

func (o *Item) SetTradeable(v bool)

SetTradeable sets field value

func (*Item) SetTradeableOnGe

func (o *Item) SetTradeableOnGe(v bool)

SetTradeableOnGe sets field value

func (*Item) SetWeapon

func (o *Item) SetWeapon(v ItemWeapon)

SetWeapon sets field value

func (*Item) SetWeight

func (o *Item) SetWeight(v float32)

SetWeight sets field value

func (*Item) SetWikiName

func (o *Item) SetWikiName(v string)

SetWikiName sets field value

func (*Item) SetWikiUrl

func (o *Item) SetWikiUrl(v string)

SetWikiUrl 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

* 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

* 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

* Execute executes the request * @return InlineResponse200

func (*ItemApiService) Postitems

* 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

func (*ItemEquipment) SetSlot

func (o *ItemEquipment) SetSlot(v string)

SetSlot 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

func (o *Monster) GetAggressive() bool

GetAggressive returns the Aggressive field value

func (*Monster) GetAggressiveOk

func (o *Monster) GetAggressiveOk() (*bool, bool)

GetAggressiveOk returns a tuple with the Aggressive field value and a boolean to check if the value has been set.

func (*Monster) GetAttackBonus

func (o *Monster) GetAttackBonus() int32

GetAttackBonus returns the AttackBonus field value

func (*Monster) GetAttackBonusOk

func (o *Monster) GetAttackBonusOk() (*int32, bool)

GetAttackBonusOk returns a tuple with the AttackBonus field value and a boolean to check if the value has been set.

func (*Monster) GetAttackLevel

func (o *Monster) GetAttackLevel() int32

GetAttackLevel returns the AttackLevel field value

func (*Monster) GetAttackLevelOk

func (o *Monster) GetAttackLevelOk() (*int32, bool)

GetAttackLevelOk returns a tuple with the AttackLevel field value and a boolean to check if the value has been set.

func (*Monster) GetAttackMagic

func (o *Monster) GetAttackMagic() int32

GetAttackMagic returns the AttackMagic field value

func (*Monster) GetAttackMagicOk

func (o *Monster) GetAttackMagicOk() (*int32, bool)

GetAttackMagicOk returns a tuple with the AttackMagic field value and a boolean to check if the value has been set.

func (*Monster) GetAttackRanged

func (o *Monster) GetAttackRanged() int32

GetAttackRanged returns the AttackRanged field value

func (*Monster) GetAttackRangedOk

func (o *Monster) GetAttackRangedOk() (*int32, bool)

GetAttackRangedOk returns a tuple with the AttackRanged field value and a boolean to check if the value has been set.

func (*Monster) GetAttackSpeed

func (o *Monster) GetAttackSpeed() int32

GetAttackSpeed returns the AttackSpeed field value If the value is explicit nil, the zero value for int32 will be returned

func (*Monster) GetAttackSpeedOk

func (o *Monster) GetAttackSpeedOk() (*int32, bool)

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

func (o *Monster) GetAttackType() []string

GetAttackType returns the AttackType field value

func (*Monster) GetAttackTypeOk

func (o *Monster) GetAttackTypeOk() (*[]string, bool)

GetAttackTypeOk returns a tuple with the AttackType field value and a boolean to check if the value has been set.

func (*Monster) GetAttributes

func (o *Monster) GetAttributes() []string

GetAttributes returns the Attributes field value

func (*Monster) GetAttributesOk

func (o *Monster) GetAttributesOk() (*[]string, bool)

GetAttributesOk returns a tuple with the Attributes field value and a boolean to check if the value has been set.

func (*Monster) GetCategory

func (o *Monster) GetCategory() []string

GetCategory returns the Category field value

func (*Monster) GetCategoryOk

func (o *Monster) GetCategoryOk() (*[]string, bool)

GetCategoryOk returns a tuple with the Category field value and a boolean to check if the value has been set.

func (*Monster) GetCombatLevel

func (o *Monster) GetCombatLevel() int32

GetCombatLevel returns the CombatLevel field value

func (*Monster) GetCombatLevelOk

func (o *Monster) GetCombatLevelOk() (*int32, bool)

GetCombatLevelOk returns a tuple with the CombatLevel field value and a boolean to check if the value has been set.

func (*Monster) GetDefenceCrush

func (o *Monster) GetDefenceCrush() int32

GetDefenceCrush returns the DefenceCrush field value

func (*Monster) GetDefenceCrushOk

func (o *Monster) GetDefenceCrushOk() (*int32, bool)

GetDefenceCrushOk returns a tuple with the DefenceCrush field value and a boolean to check if the value has been set.

func (*Monster) GetDefenceLevel

func (o *Monster) GetDefenceLevel() int32

GetDefenceLevel returns the DefenceLevel field value

func (*Monster) GetDefenceLevelOk

func (o *Monster) GetDefenceLevelOk() (*int32, bool)

GetDefenceLevelOk returns a tuple with the DefenceLevel field value and a boolean to check if the value has been set.

func (*Monster) GetDefenceMagic

func (o *Monster) GetDefenceMagic() int32

GetDefenceMagic returns the DefenceMagic field value

func (*Monster) GetDefenceMagicOk

func (o *Monster) GetDefenceMagicOk() (*int32, bool)

GetDefenceMagicOk returns a tuple with the DefenceMagic field value and a boolean to check if the value has been set.

func (*Monster) GetDefenceRanged

func (o *Monster) GetDefenceRanged() int32

GetDefenceRanged returns the DefenceRanged field value

func (*Monster) GetDefenceRangedOk

func (o *Monster) GetDefenceRangedOk() (*int32, bool)

GetDefenceRangedOk returns a tuple with the DefenceRanged field value and a boolean to check if the value has been set.

func (*Monster) GetDefenceSlash

func (o *Monster) GetDefenceSlash() int32

GetDefenceSlash returns the DefenceSlash field value

func (*Monster) GetDefenceSlashOk

func (o *Monster) GetDefenceSlashOk() (*int32, bool)

GetDefenceSlashOk returns a tuple with the DefenceSlash field value and a boolean to check if the value has been set.

func (*Monster) GetDefenceStab

func (o *Monster) GetDefenceStab() int32

GetDefenceStab returns the DefenceStab field value

func (*Monster) GetDefenceStabOk

func (o *Monster) GetDefenceStabOk() (*int32, bool)

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

func (o *Monster) GetDuplicate() bool

GetDuplicate returns the Duplicate field value

func (*Monster) GetDuplicateOk

func (o *Monster) GetDuplicateOk() (*bool, bool)

GetDuplicateOk returns a tuple with the Duplicate field value and a boolean to check if the value has been set.

func (*Monster) GetExamine

func (o *Monster) GetExamine() string

GetExamine returns the Examine field value

func (*Monster) GetExamineOk

func (o *Monster) GetExamineOk() (*string, bool)

GetExamineOk returns a tuple with the Examine field value and a boolean to check if the value has been set.

func (*Monster) GetHitpoints

func (o *Monster) GetHitpoints() int32

GetHitpoints returns the Hitpoints field value If the value is explicit nil, the zero value for int32 will be returned

func (*Monster) GetHitpointsOk

func (o *Monster) GetHitpointsOk() (*int32, bool)

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) GetId

func (o *Monster) GetId() string

GetId returns the Id field value

func (*Monster) GetIdOk

func (o *Monster) GetIdOk() (*string, bool)

GetIdOk returns a tuple with the Id field value and a boolean to check if the value has been set.

func (*Monster) GetImmunePoison

func (o *Monster) GetImmunePoison() bool

GetImmunePoison returns the ImmunePoison field value

func (*Monster) GetImmunePoisonOk

func (o *Monster) GetImmunePoisonOk() (*bool, bool)

GetImmunePoisonOk returns a tuple with the ImmunePoison field value and a boolean to check if the value has been set.

func (*Monster) GetImmuneVenom

func (o *Monster) GetImmuneVenom() bool

GetImmuneVenom returns the ImmuneVenom field value

func (*Monster) GetImmuneVenomOk

func (o *Monster) GetImmuneVenomOk() (*bool, bool)

GetImmuneVenomOk returns a tuple with the ImmuneVenom field value and a boolean to check if the value has been set.

func (*Monster) GetIncomplete

func (o *Monster) GetIncomplete() bool

GetIncomplete returns the Incomplete field value

func (*Monster) GetIncompleteOk

func (o *Monster) GetIncompleteOk() (*bool, bool)

GetIncompleteOk returns a tuple with the Incomplete field value and a boolean to check if the value has been set.

func (*Monster) GetLastUpdated

func (o *Monster) GetLastUpdated() string

GetLastUpdated returns the LastUpdated field value If the value is explicit nil, the zero value for string will be returned

func (*Monster) GetLastUpdatedOk

func (o *Monster) GetLastUpdatedOk() (*string, bool)

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

func (o *Monster) GetMagicBonus() int32

GetMagicBonus returns the MagicBonus field value

func (*Monster) GetMagicBonusOk

func (o *Monster) GetMagicBonusOk() (*int32, bool)

GetMagicBonusOk returns a tuple with the MagicBonus field value and a boolean to check if the value has been set.

func (*Monster) GetMagicLevel

func (o *Monster) GetMagicLevel() int32

GetMagicLevel returns the MagicLevel field value

func (*Monster) GetMagicLevelOk

func (o *Monster) GetMagicLevelOk() (*int32, bool)

GetMagicLevelOk returns a tuple with the MagicLevel field value and a boolean to check if the value has been set.

func (*Monster) GetMaxHit

func (o *Monster) GetMaxHit() int32

GetMaxHit returns the MaxHit field value If the value is explicit nil, the zero value for int32 will be returned

func (*Monster) GetMaxHitOk

func (o *Monster) GetMaxHitOk() (*int32, bool)

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

func (o *Monster) GetMembers() bool

GetMembers returns the Members field value

func (*Monster) GetMembersOk

func (o *Monster) GetMembersOk() (*bool, bool)

GetMembersOk returns a tuple with the Members field value and a boolean to check if the value has been set.

func (*Monster) GetName

func (o *Monster) GetName() string

GetName returns the Name field value

func (*Monster) GetNameOk

func (o *Monster) GetNameOk() (*string, bool)

GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.

func (*Monster) GetPoisonous

func (o *Monster) GetPoisonous() bool

GetPoisonous returns the Poisonous field value

func (*Monster) GetPoisonousOk

func (o *Monster) GetPoisonousOk() (*bool, bool)

GetPoisonousOk returns a tuple with the Poisonous field value and a boolean to check if the value has been set.

func (*Monster) GetRangedBonus

func (o *Monster) GetRangedBonus() int32

GetRangedBonus returns the RangedBonus field value

func (*Monster) GetRangedBonusOk

func (o *Monster) GetRangedBonusOk() (*int32, bool)

GetRangedBonusOk returns a tuple with the RangedBonus field value and a boolean to check if the value has been set.

func (*Monster) GetRangedLevel

func (o *Monster) GetRangedLevel() int32

GetRangedLevel returns the RangedLevel field value

func (*Monster) GetRangedLevelOk

func (o *Monster) GetRangedLevelOk() (*int32, bool)

GetRangedLevelOk returns a tuple with the RangedLevel field value and a boolean to check if the value has been set.

func (*Monster) GetReleaseDate

func (o *Monster) GetReleaseDate() string

GetReleaseDate returns the ReleaseDate field value If the value is explicit nil, the zero value for string will be returned

func (*Monster) GetReleaseDateOk

func (o *Monster) GetReleaseDateOk() (*string, bool)

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) GetSize

func (o *Monster) GetSize() int32

GetSize returns the Size field value

func (*Monster) GetSizeOk

func (o *Monster) GetSizeOk() (*int32, bool)

GetSizeOk returns a tuple with the Size field value and a boolean to check if the value has been set.

func (*Monster) GetSlayerLevel

func (o *Monster) GetSlayerLevel() int32

GetSlayerLevel returns the SlayerLevel field value If the value is explicit nil, the zero value for int32 will be returned

func (*Monster) GetSlayerLevelOk

func (o *Monster) GetSlayerLevelOk() (*int32, bool)

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

func (o *Monster) GetSlayerMasters() []string

GetSlayerMasters returns the SlayerMasters field value

func (*Monster) GetSlayerMastersOk

func (o *Monster) GetSlayerMastersOk() (*[]string, bool)

GetSlayerMastersOk returns a tuple with the SlayerMasters field value and a boolean to check if the value has been set.

func (*Monster) GetSlayerMonster

func (o *Monster) GetSlayerMonster() bool

GetSlayerMonster returns the SlayerMonster field value

func (*Monster) GetSlayerMonsterOk

func (o *Monster) GetSlayerMonsterOk() (*bool, bool)

GetSlayerMonsterOk returns a tuple with the SlayerMonster field value and a boolean to check if the value has been set.

func (*Monster) GetSlayerXp

func (o *Monster) GetSlayerXp() float32

GetSlayerXp returns the SlayerXp field value If the value is explicit nil, the zero value for float32 will be returned

func (*Monster) GetSlayerXpOk

func (o *Monster) GetSlayerXpOk() (*float32, bool)

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

func (o *Monster) GetStrengthBonus() int32

GetStrengthBonus returns the StrengthBonus field value

func (*Monster) GetStrengthBonusOk

func (o *Monster) GetStrengthBonusOk() (*int32, bool)

GetStrengthBonusOk returns a tuple with the StrengthBonus field value and a boolean to check if the value has been set.

func (*Monster) GetStrengthLevel

func (o *Monster) GetStrengthLevel() int32

GetStrengthLevel returns the StrengthLevel field value

func (*Monster) GetStrengthLevelOk

func (o *Monster) GetStrengthLevelOk() (*int32, bool)

GetStrengthLevelOk returns a tuple with the StrengthLevel field value and a boolean to check if the value has been set.

func (*Monster) GetVenomous

func (o *Monster) GetVenomous() bool

GetVenomous returns the Venomous field value

func (*Monster) GetVenomousOk

func (o *Monster) GetVenomousOk() (*bool, bool)

GetVenomousOk returns a tuple with the Venomous field value and a boolean to check if the value has been set.

func (*Monster) GetWikiName

func (o *Monster) GetWikiName() string

GetWikiName returns the WikiName field value

func (*Monster) GetWikiNameOk

func (o *Monster) GetWikiNameOk() (*string, bool)

GetWikiNameOk returns a tuple with the WikiName field value and a boolean to check if the value has been set.

func (*Monster) GetWikiUrl

func (o *Monster) GetWikiUrl() string

GetWikiUrl returns the WikiUrl field value

func (*Monster) GetWikiUrlOk

func (o *Monster) GetWikiUrlOk() (*string, bool)

GetWikiUrlOk returns a tuple with the WikiUrl field value and a boolean to check if the value has been set.

func (Monster) MarshalJSON

func (o Monster) MarshalJSON() ([]byte, error)

func (*Monster) SetAggressive

func (o *Monster) SetAggressive(v bool)

SetAggressive sets field value

func (*Monster) SetAttackBonus

func (o *Monster) SetAttackBonus(v int32)

SetAttackBonus sets field value

func (*Monster) SetAttackLevel

func (o *Monster) SetAttackLevel(v int32)

SetAttackLevel sets field value

func (*Monster) SetAttackMagic

func (o *Monster) SetAttackMagic(v int32)

SetAttackMagic sets field value

func (*Monster) SetAttackRanged

func (o *Monster) SetAttackRanged(v int32)

SetAttackRanged sets field value

func (*Monster) SetAttackSpeed

func (o *Monster) SetAttackSpeed(v int32)

SetAttackSpeed sets field value

func (*Monster) SetAttackType

func (o *Monster) SetAttackType(v []string)

SetAttackType sets field value

func (*Monster) SetAttributes

func (o *Monster) SetAttributes(v []string)

SetAttributes sets field value

func (*Monster) SetCategory

func (o *Monster) SetCategory(v []string)

SetCategory sets field value

func (*Monster) SetCombatLevel

func (o *Monster) SetCombatLevel(v int32)

SetCombatLevel sets field value

func (*Monster) SetDefenceCrush

func (o *Monster) SetDefenceCrush(v int32)

SetDefenceCrush sets field value

func (*Monster) SetDefenceLevel

func (o *Monster) SetDefenceLevel(v int32)

SetDefenceLevel sets field value

func (*Monster) SetDefenceMagic

func (o *Monster) SetDefenceMagic(v int32)

SetDefenceMagic sets field value

func (*Monster) SetDefenceRanged

func (o *Monster) SetDefenceRanged(v int32)

SetDefenceRanged sets field value

func (*Monster) SetDefenceSlash

func (o *Monster) SetDefenceSlash(v int32)

SetDefenceSlash sets field value

func (*Monster) SetDefenceStab

func (o *Monster) SetDefenceStab(v int32)

SetDefenceStab sets field value

func (*Monster) SetDrops

func (o *Monster) SetDrops(v []MonsterDrops)

SetDrops sets field value

func (*Monster) SetDuplicate

func (o *Monster) SetDuplicate(v bool)

SetDuplicate sets field value

func (*Monster) SetExamine

func (o *Monster) SetExamine(v string)

SetExamine sets field value

func (*Monster) SetHitpoints

func (o *Monster) SetHitpoints(v int32)

SetHitpoints sets field value

func (*Monster) SetId

func (o *Monster) SetId(v string)

SetId sets field value

func (*Monster) SetImmunePoison

func (o *Monster) SetImmunePoison(v bool)

SetImmunePoison sets field value

func (*Monster) SetImmuneVenom

func (o *Monster) SetImmuneVenom(v bool)

SetImmuneVenom sets field value

func (*Monster) SetIncomplete

func (o *Monster) SetIncomplete(v bool)

SetIncomplete sets field value

func (*Monster) SetLastUpdated

func (o *Monster) SetLastUpdated(v string)

SetLastUpdated sets field value

func (*Monster) SetMagicBonus

func (o *Monster) SetMagicBonus(v int32)

SetMagicBonus sets field value

func (*Monster) SetMagicLevel

func (o *Monster) SetMagicLevel(v int32)

SetMagicLevel sets field value

func (*Monster) SetMaxHit

func (o *Monster) SetMaxHit(v int32)

SetMaxHit sets field value

func (*Monster) SetMembers

func (o *Monster) SetMembers(v bool)

SetMembers sets field value

func (*Monster) SetName

func (o *Monster) SetName(v string)

SetName sets field value

func (*Monster) SetPoisonous

func (o *Monster) SetPoisonous(v bool)

SetPoisonous sets field value

func (*Monster) SetRangedBonus

func (o *Monster) SetRangedBonus(v int32)

SetRangedBonus sets field value

func (*Monster) SetRangedLevel

func (o *Monster) SetRangedLevel(v int32)

SetRangedLevel sets field value

func (*Monster) SetReleaseDate

func (o *Monster) SetReleaseDate(v string)

SetReleaseDate sets field value

func (*Monster) SetSize

func (o *Monster) SetSize(v int32)

SetSize sets field value

func (*Monster) SetSlayerLevel

func (o *Monster) SetSlayerLevel(v int32)

SetSlayerLevel sets field value

func (*Monster) SetSlayerMasters

func (o *Monster) SetSlayerMasters(v []string)

SetSlayerMasters sets field value

func (*Monster) SetSlayerMonster

func (o *Monster) SetSlayerMonster(v bool)

SetSlayerMonster sets field value

func (*Monster) SetSlayerXp

func (o *Monster) SetSlayerXp(v float32)

SetSlayerXp sets field value

func (*Monster) SetStrengthBonus

func (o *Monster) SetStrengthBonus(v int32)

SetStrengthBonus sets field value

func (*Monster) SetStrengthLevel

func (o *Monster) SetStrengthLevel(v int32)

SetStrengthLevel sets field value

func (*Monster) SetVenomous

func (o *Monster) SetVenomous(v bool)

SetVenomous sets field value

func (*Monster) SetWikiName

func (o *Monster) SetWikiName(v string)

SetWikiName sets field value

func (*Monster) SetWikiUrl

func (o *Monster) SetWikiUrl(v string)

SetWikiUrl 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

* 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

* 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

* Execute executes the request * @return InlineResponse2003

func (*MonsterApiService) Postmonsters

* 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) GetId

func (o *MonsterDrops) GetId() int32

GetId returns the Id field value

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) SetId

func (o *MonsterDrops) SetId(v int32)

SetId sets field value

func (*MonsterDrops) SetMembers

func (o *MonsterDrops) SetMembers(v bool)

SetMembers sets field value

func (*MonsterDrops) SetName

func (o *MonsterDrops) SetName(v string)

SetName sets field value

func (*MonsterDrops) SetNoted

func (o *MonsterDrops) SetNoted(v bool)

SetNoted 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

func (*MonsterDrops) SetRolls

func (o *MonsterDrops) SetRolls(v int32)

SetRolls 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 (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 (NullableInlineResponse200) IsSet

func (v NullableInlineResponse200) IsSet() bool

func (NullableInlineResponse200) MarshalJSON

func (v NullableInlineResponse200) MarshalJSON() ([]byte, error)

func (*NullableInlineResponse200) Set

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 (NullableInlineResponse2001) IsSet

func (v NullableInlineResponse2001) IsSet() bool

func (NullableInlineResponse2001) MarshalJSON

func (v NullableInlineResponse2001) MarshalJSON() ([]byte, error)

func (*NullableInlineResponse2001) Set

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 (NullableInlineResponse2002) IsSet

func (v NullableInlineResponse2002) IsSet() bool

func (NullableInlineResponse2002) MarshalJSON

func (v NullableInlineResponse2002) MarshalJSON() ([]byte, error)

func (*NullableInlineResponse2002) Set

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 (NullableInlineResponse2003) IsSet

func (v NullableInlineResponse2003) IsSet() bool

func (NullableInlineResponse2003) MarshalJSON

func (v NullableInlineResponse2003) MarshalJSON() ([]byte, error)

func (*NullableInlineResponse2003) Set

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 (NullableInlineResponse2004) IsSet

func (v NullableInlineResponse2004) IsSet() bool

func (NullableInlineResponse2004) MarshalJSON

func (v NullableInlineResponse2004) MarshalJSON() ([]byte, error)

func (*NullableInlineResponse2004) Set

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 (NullableInlineResponse2005) IsSet

func (v NullableInlineResponse2005) IsSet() bool

func (NullableInlineResponse2005) MarshalJSON

func (v NullableInlineResponse2005) MarshalJSON() ([]byte, error)

func (*NullableInlineResponse2005) Set

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 (NullableInlineResponse2006) IsSet

func (v NullableInlineResponse2006) IsSet() bool

func (NullableInlineResponse2006) MarshalJSON

func (v NullableInlineResponse2006) MarshalJSON() ([]byte, error)

func (*NullableInlineResponse2006) Set

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 (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 (NullableItemWeaponStances) IsSet

func (v NullableItemWeaponStances) IsSet() bool

func (NullableItemWeaponStances) MarshalJSON

func (v NullableItemWeaponStances) MarshalJSON() ([]byte, error)

func (*NullableItemWeaponStances) Set

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 (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 struct {
	// contains filtered or unexported fields
}
func NewNullableResponeLinks(val *ResponeLinks) *NullableResponeLinks

func (NullableResponeLinks) Get

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 (NullableResponeLinksParent) IsSet

func (v NullableResponeLinksParent) IsSet() bool

func (NullableResponeLinksParent) MarshalJSON

func (v NullableResponeLinksParent) MarshalJSON() ([]byte, error)

func (*NullableResponeLinksParent) Set

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 (NullableResponeMetadata) IsSet

func (v NullableResponeMetadata) IsSet() bool

func (NullableResponeMetadata) MarshalJSON

func (v NullableResponeMetadata) MarshalJSON() ([]byte, error)

func (*NullableResponeMetadata) Set

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

func (o *Prayer) GetBonuses() map[string]interface{}

GetBonuses returns the Bonuses field value

func (*Prayer) GetBonusesOk

func (o *Prayer) GetBonusesOk() (*map[string]interface{}, bool)

GetBonusesOk returns a tuple with the Bonuses field value and a boolean to check if the value has been set.

func (*Prayer) GetDescription

func (o *Prayer) GetDescription() string

GetDescription returns the Description field value

func (*Prayer) GetDescriptionOk

func (o *Prayer) GetDescriptionOk() (*string, bool)

GetDescriptionOk returns a tuple with the Description field value and a boolean to check if the value has been set.

func (*Prayer) GetDrainPerMinute

func (o *Prayer) GetDrainPerMinute() float32

GetDrainPerMinute returns the DrainPerMinute field value

func (*Prayer) GetDrainPerMinuteOk

func (o *Prayer) GetDrainPerMinuteOk() (*float32, bool)

GetDrainPerMinuteOk returns a tuple with the DrainPerMinute field value and a boolean to check if the value has been set.

func (*Prayer) GetIcon

func (o *Prayer) GetIcon() string

GetIcon returns the Icon field value

func (*Prayer) GetIconOk

func (o *Prayer) GetIconOk() (*string, bool)

GetIconOk returns a tuple with the Icon field value and a boolean to check if the value has been set.

func (*Prayer) GetId

func (o *Prayer) GetId() string

GetId returns the Id field value

func (*Prayer) GetIdOk

func (o *Prayer) GetIdOk() (*string, bool)

GetIdOk returns a tuple with the Id field value and a boolean to check if the value has been set.

func (*Prayer) GetMembers

func (o *Prayer) GetMembers() bool

GetMembers returns the Members field value

func (*Prayer) GetMembersOk

func (o *Prayer) GetMembersOk() (*bool, bool)

GetMembersOk returns a tuple with the Members field value and a boolean to check if the value has been set.

func (*Prayer) GetName

func (o *Prayer) GetName() string

GetName returns the Name field value

func (*Prayer) GetNameOk

func (o *Prayer) GetNameOk() (*string, bool)

GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.

func (*Prayer) GetRequirements

func (o *Prayer) GetRequirements() map[string]interface{}

GetRequirements returns the Requirements field value

func (*Prayer) GetRequirementsOk

func (o *Prayer) 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.

func (*Prayer) GetWikiUrl

func (o *Prayer) GetWikiUrl() string

GetWikiUrl returns the WikiUrl field value

func (*Prayer) GetWikiUrlOk

func (o *Prayer) GetWikiUrlOk() (*string, bool)

GetWikiUrlOk returns a tuple with the WikiUrl field value and a boolean to check if the value has been set.

func (Prayer) MarshalJSON

func (o Prayer) MarshalJSON() ([]byte, error)

func (*Prayer) SetBonuses

func (o *Prayer) SetBonuses(v map[string]interface{})

SetBonuses sets field value

func (*Prayer) SetDescription

func (o *Prayer) SetDescription(v string)

SetDescription sets field value

func (*Prayer) SetDrainPerMinute

func (o *Prayer) SetDrainPerMinute(v float32)

SetDrainPerMinute sets field value

func (*Prayer) SetIcon

func (o *Prayer) SetIcon(v string)

SetIcon sets field value

func (*Prayer) SetId

func (o *Prayer) SetId(v string)

SetId sets field value

func (*Prayer) SetMembers

func (o *Prayer) SetMembers(v bool)

SetMembers sets field value

func (*Prayer) SetName

func (o *Prayer) SetName(v string)

SetName sets field value

func (*Prayer) SetRequirements

func (o *Prayer) SetRequirements(v map[string]interface{})

SetRequirements sets field value

func (*Prayer) SetWikiUrl

func (o *Prayer) SetWikiUrl(v string)

SetWikiUrl 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

* 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

* 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

* Execute executes the request * @return InlineResponse2004

func (*PrayerApiService) Postprayers

* 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 struct {
	Parent *ResponeLinksParent `json:"parent,omitempty"`
	Self   *ResponeLinksParent `json:"self,omitempty"`
}

ResponeLinks struct for ResponeLinks

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

func (ServerConfigurations) URL

func (sc ServerConfigurations) URL(index int, variables map[string]string) (string, error)

URL formats template on a index using given variables

type ServerVariable

type ServerVariable struct {
	Description  string
	DefaultValue string
	EnumValues   []string
}

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

func (o *Weapon) GetBuyLimit() int32

GetBuyLimit returns the BuyLimit field value If the value is explicit nil, the zero value for int32 will be returned

func (*Weapon) GetBuyLimitOk

func (o *Weapon) GetBuyLimitOk() (*int32, bool)

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) GetCost

func (o *Weapon) GetCost() int32

GetCost returns the Cost field value

func (*Weapon) GetCostOk

func (o *Weapon) GetCostOk() (*int32, bool)

GetCostOk returns a tuple with the Cost field value and a boolean to check if the value has been set.

func (*Weapon) GetDuplicate

func (o *Weapon) GetDuplicate() bool

GetDuplicate returns the Duplicate field value

func (*Weapon) GetDuplicateOk

func (o *Weapon) GetDuplicateOk() (*bool, bool)

GetDuplicateOk returns a tuple with the Duplicate field value and a boolean to check if the value has been set.

func (*Weapon) GetEquipable

func (o *Weapon) GetEquipable() bool

GetEquipable returns the Equipable field value

func (*Weapon) GetEquipableByPlayer

func (o *Weapon) GetEquipableByPlayer() bool

GetEquipableByPlayer returns the EquipableByPlayer field value

func (*Weapon) GetEquipableByPlayerOk

func (o *Weapon) GetEquipableByPlayerOk() (*bool, bool)

GetEquipableByPlayerOk returns a tuple with the EquipableByPlayer field value and a boolean to check if the value has been set.

func (*Weapon) GetEquipableOk

func (o *Weapon) GetEquipableOk() (*bool, bool)

GetEquipableOk returns a tuple with the Equipable field value and a boolean to check if the value has been set.

func (*Weapon) GetEquipableWeapon

func (o *Weapon) GetEquipableWeapon() bool

GetEquipableWeapon returns the EquipableWeapon field value

func (*Weapon) GetEquipableWeaponOk

func (o *Weapon) GetEquipableWeaponOk() (*bool, bool)

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

func (o *Weapon) GetExamine() string

GetExamine returns the Examine field value If the value is explicit nil, the zero value for string will be returned

func (*Weapon) GetExamineOk

func (o *Weapon) GetExamineOk() (*string, bool)

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

func (o *Weapon) GetHighalch() int32

GetHighalch returns the Highalch field value If the value is explicit nil, the zero value for int32 will be returned

func (*Weapon) GetHighalchOk

func (o *Weapon) GetHighalchOk() (*int32, bool)

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) GetIcon

func (o *Weapon) GetIcon() string

GetIcon returns the Icon field value

func (*Weapon) GetIconOk

func (o *Weapon) GetIconOk() (*string, bool)

GetIconOk returns a tuple with the Icon field value and a boolean to check if the value has been set.

func (*Weapon) GetId

func (o *Weapon) GetId() string

GetId returns the Id field value

func (*Weapon) GetIdOk

func (o *Weapon) GetIdOk() (*string, bool)

GetIdOk returns a tuple with the Id field value and a boolean to check if the value has been set.

func (*Weapon) GetIncomplete

func (o *Weapon) GetIncomplete() bool

GetIncomplete returns the Incomplete field value

func (*Weapon) GetIncompleteOk

func (o *Weapon) GetIncompleteOk() (*bool, bool)

GetIncompleteOk returns a tuple with the Incomplete field value and a boolean to check if the value has been set.

func (*Weapon) GetLastUpdated

func (o *Weapon) GetLastUpdated() string

GetLastUpdated returns the LastUpdated field value

func (*Weapon) GetLastUpdatedOk

func (o *Weapon) GetLastUpdatedOk() (*string, bool)

GetLastUpdatedOk returns a tuple with the LastUpdated field value and a boolean to check if the value has been set.

func (*Weapon) GetLinkedIdItem

func (o *Weapon) GetLinkedIdItem() int32

GetLinkedIdItem returns the LinkedIdItem field value If the value is explicit nil, the zero value for int32 will be returned

func (*Weapon) GetLinkedIdItemOk

func (o *Weapon) GetLinkedIdItemOk() (*int32, bool)

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

func (o *Weapon) GetLinkedIdNoted() int32

GetLinkedIdNoted returns the LinkedIdNoted field value If the value is explicit nil, the zero value for int32 will be returned

func (*Weapon) GetLinkedIdNotedOk

func (o *Weapon) GetLinkedIdNotedOk() (*int32, bool)

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

func (o *Weapon) GetLinkedIdPlaceholder() int32

GetLinkedIdPlaceholder returns the LinkedIdPlaceholder field value If the value is explicit nil, the zero value for int32 will be returned

func (*Weapon) GetLinkedIdPlaceholderOk

func (o *Weapon) GetLinkedIdPlaceholderOk() (*int32, bool)

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

func (o *Weapon) GetLowalch() int32

GetLowalch returns the Lowalch field value If the value is explicit nil, the zero value for int32 will be returned

func (*Weapon) GetLowalchOk

func (o *Weapon) GetLowalchOk() (*int32, bool)

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

func (o *Weapon) GetMembers() bool

GetMembers returns the Members field value

func (*Weapon) GetMembersOk

func (o *Weapon) GetMembersOk() (*bool, bool)

GetMembersOk returns a tuple with the Members field value and a boolean to check if the value has been set.

func (*Weapon) GetName

func (o *Weapon) GetName() string

GetName returns the Name field value

func (*Weapon) GetNameOk

func (o *Weapon) GetNameOk() (*string, bool)

GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.

func (*Weapon) GetNoteable

func (o *Weapon) GetNoteable() bool

GetNoteable returns the Noteable field value

func (*Weapon) GetNoteableOk

func (o *Weapon) GetNoteableOk() (*bool, bool)

GetNoteableOk returns a tuple with the Noteable field value and a boolean to check if the value has been set.

func (*Weapon) GetNoted

func (o *Weapon) GetNoted() bool

GetNoted returns the Noted field value

func (*Weapon) GetNotedOk

func (o *Weapon) GetNotedOk() (*bool, bool)

GetNotedOk returns a tuple with the Noted field value and a boolean to check if the value has been set.

func (*Weapon) GetPlaceholder

func (o *Weapon) GetPlaceholder() bool

GetPlaceholder returns the Placeholder field value

func (*Weapon) GetPlaceholderOk

func (o *Weapon) GetPlaceholderOk() (*bool, bool)

GetPlaceholderOk returns a tuple with the Placeholder field value and a boolean to check if the value has been set.

func (*Weapon) GetQuestItem

func (o *Weapon) GetQuestItem() bool

GetQuestItem returns the QuestItem field value

func (*Weapon) GetQuestItemOk

func (o *Weapon) GetQuestItemOk() (*bool, bool)

GetQuestItemOk returns a tuple with the QuestItem field value and a boolean to check if the value has been set.

func (*Weapon) GetReleaseDate

func (o *Weapon) GetReleaseDate() string

GetReleaseDate returns the ReleaseDate field value If the value is explicit nil, the zero value for string will be returned

func (*Weapon) GetReleaseDateOk

func (o *Weapon) GetReleaseDateOk() (*string, bool)

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

func (o *Weapon) GetStackable() bool

GetStackable returns the Stackable field value

func (*Weapon) GetStackableOk

func (o *Weapon) GetStackableOk() (*bool, bool)

GetStackableOk returns a tuple with the Stackable field value and a boolean to check if the value has been set.

func (*Weapon) GetStacked

func (o *Weapon) GetStacked() int32

GetStacked returns the Stacked field value If the value is explicit nil, the zero value for int32 will be returned

func (*Weapon) GetStackedOk

func (o *Weapon) GetStackedOk() (*int32, bool)

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

func (o *Weapon) GetTradeable() bool

GetTradeable returns the Tradeable field value

func (*Weapon) GetTradeableOk

func (o *Weapon) GetTradeableOk() (*bool, bool)

GetTradeableOk returns a tuple with the Tradeable field value and a boolean to check if the value has been set.

func (*Weapon) GetTradeableOnGe

func (o *Weapon) GetTradeableOnGe() bool

GetTradeableOnGe returns the TradeableOnGe field value

func (*Weapon) GetTradeableOnGeOk

func (o *Weapon) GetTradeableOnGeOk() (*bool, bool)

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

func (o *Weapon) GetWeight() float32

GetWeight returns the Weight field value If the value is explicit nil, the zero value for float32 will be returned

func (*Weapon) GetWeightOk

func (o *Weapon) GetWeightOk() (*float32, bool)

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

func (o *Weapon) GetWikiName() string

GetWikiName returns the WikiName field value If the value is explicit nil, the zero value for string will be returned

func (*Weapon) GetWikiNameOk

func (o *Weapon) GetWikiNameOk() (*string, bool)

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

func (o *Weapon) GetWikiUrl() string

GetWikiUrl returns the WikiUrl field value If the value is explicit nil, the zero value for string will be returned

func (*Weapon) GetWikiUrlOk

func (o *Weapon) GetWikiUrlOk() (*string, bool)

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 (o Weapon) MarshalJSON() ([]byte, error)

func (*Weapon) SetBuyLimit

func (o *Weapon) SetBuyLimit(v int32)

SetBuyLimit sets field value

func (*Weapon) SetCost

func (o *Weapon) SetCost(v int32)

SetCost sets field value

func (*Weapon) SetDuplicate

func (o *Weapon) SetDuplicate(v bool)

SetDuplicate sets field value

func (*Weapon) SetEquipable

func (o *Weapon) SetEquipable(v bool)

SetEquipable sets field value

func (*Weapon) SetEquipableByPlayer

func (o *Weapon) SetEquipableByPlayer(v bool)

SetEquipableByPlayer sets field value

func (*Weapon) SetEquipableWeapon

func (o *Weapon) SetEquipableWeapon(v bool)

SetEquipableWeapon sets field value

func (*Weapon) SetEquipment

func (o *Weapon) SetEquipment(v ItemEquipment)

SetEquipment sets field value

func (*Weapon) SetExamine

func (o *Weapon) SetExamine(v string)

SetExamine sets field value

func (*Weapon) SetHighalch

func (o *Weapon) SetHighalch(v int32)

SetHighalch sets field value

func (*Weapon) SetIcon

func (o *Weapon) SetIcon(v string)

SetIcon sets field value

func (*Weapon) SetId

func (o *Weapon) SetId(v string)

SetId sets field value

func (*Weapon) SetIncomplete

func (o *Weapon) SetIncomplete(v bool)

SetIncomplete sets field value

func (*Weapon) SetLastUpdated

func (o *Weapon) SetLastUpdated(v string)

SetLastUpdated sets field value

func (*Weapon) SetLinkedIdItem

func (o *Weapon) SetLinkedIdItem(v int32)

SetLinkedIdItem sets field value

func (*Weapon) SetLinkedIdNoted

func (o *Weapon) SetLinkedIdNoted(v int32)

SetLinkedIdNoted sets field value

func (*Weapon) SetLinkedIdPlaceholder

func (o *Weapon) SetLinkedIdPlaceholder(v int32)

SetLinkedIdPlaceholder sets field value

func (*Weapon) SetLowalch

func (o *Weapon) SetLowalch(v int32)

SetLowalch sets field value

func (*Weapon) SetMembers

func (o *Weapon) SetMembers(v bool)

SetMembers sets field value

func (*Weapon) SetName

func (o *Weapon) SetName(v string)

SetName sets field value

func (*Weapon) SetNoteable

func (o *Weapon) SetNoteable(v bool)

SetNoteable sets field value

func (*Weapon) SetNoted

func (o *Weapon) SetNoted(v bool)

SetNoted sets field value

func (*Weapon) SetPlaceholder

func (o *Weapon) SetPlaceholder(v bool)

SetPlaceholder sets field value

func (*Weapon) SetQuestItem

func (o *Weapon) SetQuestItem(v bool)

SetQuestItem sets field value

func (*Weapon) SetReleaseDate

func (o *Weapon) SetReleaseDate(v string)

SetReleaseDate sets field value

func (*Weapon) SetStackable

func (o *Weapon) SetStackable(v bool)

SetStackable sets field value

func (*Weapon) SetStacked

func (o *Weapon) SetStacked(v int32)

SetStacked sets field value

func (*Weapon) SetTradeable

func (o *Weapon) SetTradeable(v bool)

SetTradeable sets field value

func (*Weapon) SetTradeableOnGe

func (o *Weapon) SetTradeableOnGe(v bool)

SetTradeableOnGe sets field value

func (*Weapon) SetWeapon

func (o *Weapon) SetWeapon(v ItemWeapon)

SetWeapon sets field value

func (*Weapon) SetWeight

func (o *Weapon) SetWeight(v float32)

SetWeight sets field value

func (*Weapon) SetWikiName

func (o *Weapon) SetWikiName(v string)

SetWikiName sets field value

func (*Weapon) SetWikiUrl

func (o *Weapon) SetWikiUrl(v string)

SetWikiUrl sets field value

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL