Goonstation 13 - Modules - TypesProc Details

/datum/apiModel

Base apiModel datum - ABSTRACT Everything is generally required unless annotated as such

Procs

SetupFromResponseOverride to build a model from an API response object
ToListOverride to convert a model to an associative list
ToStringGet a string representation of a model for debugging purposes. Optional.
VerifyIntegrityOverride to verify that the model object is correctly formed. Return FALSE if not.

Proc Details

SetupFromResponse

Override to build a model from an API response object

ToList

Override to convert a model to an associative list

ToString

Get a string representation of a model for debugging purposes. Optional.

VerifyIntegrity

Override to verify that the model object is correctly formed. Return FALSE if not.