Interfaces

Interfaces serve as parent objects from which other objects can inherit.

For example, Starrable is an interface because both Repository and Gist objects can be starred. An interface has its own list of named fields that are shared by implementing objects.

For more information, see "Implementation."