IsListable
public protocol IsListable: Resource
Flags a resource as being listable i.e. it has a collection. This protocol
does nothing by itself, but has constrained extensions for types implementing
RootResource and ChildResource.
-
listExtension methodA static value for
RootResourcewhich returns aPaththat encodes aGETrequest for listing resources.Declaration
Swift
public static var list: Path<Self, CollectionPath, GET>
-
listExtension methodA static value for
ChildResourcewhich returns aPaththat encodes aGETrequest for listing resources.Declaration
Swift
public static var list: ChildPath<Self, CollectionPath, GET>
View on GitHub
Install in Dash
IsListable Protocol Reference