IsShowable
public protocol IsShowable: Resource
Flags a resource as being showable i.e. a single resource can be requested.
This protocol does nothing by itself, but has constrained extensions for types
implementing RootResource and ChildResource.
-
show(_:)Extension methodA static function for
RootResourcewhich returns aPaththat encodes aGETrequest for single resource.Declaration
Swift
public static func show(_ id: ID) -> Path<Self, SingularPath, GET> -
showExtension methodA value for an instance of
RootResourcewhich returns aPaththat encodes aGETrequest for that resource.Declaration
Swift
public var show: Path<Self, SingularPath, GET>
-
show(_:)Extension methodA static function for
ChildResourcewhich returns aPaththat encodes aGETrequest for single resource.Declaration
Swift
public static func show(_ id: ID) -> ChildPath<Self, SingularPath, GET> -
showExtension methodA value for an instance of
ChildResourcewhich returns aPaththat encodes aGETrequest for that resource.Declaration
Swift
public var show: ChildPath<Self, SingularPath, GET>
-
showExtension methodA static function for
SingularRootResourcewhich returns aPaththat encodes aGETrequest for that resource.Declaration
Swift
public static var show: Path<Self, SingularPath, GET> -
showExtension methodA value for an instance of
SingularRootResourcewhich returns aPaththat encodes aGETrequest for that resource.Declaration
Swift
public var show: Path<Self, SingularPath, GET>
-
showExtension methodA static function for
SingularChildResourcewhich returns aPaththat encodes aGETrequest for that resource.Declaration
Swift
public static var show: ChildPath<Self, SingularPath, GET> -
showExtension methodA value for an instance of
SingularChildResourcewhich returns aPaththat encodes aGETrequest for that resource.Declaration
Swift
public var show: ChildPath<Self, SingularPath, GET>
View on GitHub
Install in Dash
IsShowable Protocol Reference