IsDeletable
public protocol IsDeletable: Resource
Flags a resource as being deletable. This protocol does nothing by itself, but
has constrained extensions for types implementing RootResource and
ChildResource.
-
delete(_:)Extension methodA static function for
RootResourcewhich returns aPaththat encodes aDELETErequest for single resource.Declaration
Swift
public static func delete(_ id: ID) -> Path<Self, SingularPath, DELETE> -
deleteExtension methodA value for an instance of
RootResourcewhich returns aPaththat encodes aDELETErequest for that resource.Declaration
Swift
public var delete: Path<Self, SingularPath, DELETE>
-
delete(_:)Extension methodA static function for
ChildResourcewhich returns aPaththat encodes aDELETErequest for single resource.Declaration
Swift
public static func delete(_ id: ID) -> ChildPath<Self, SingularPath, DELETE> -
deleteExtension methodA value for an instance of
ChildResourcewhich returns aPaththat encodes aDELETErequest for that resource.Declaration
Swift
public var delete: ChildPath<Self, SingularPath, DELETE>
-
deleteExtension methodA static function for
SingularRootResourcewhich returns aPaththat encodes aDELETErequest for single resource.Declaration
Swift
public static var delete: Path<Self, SingularPath, DELETE> -
deleteExtension methodA value for an instance of
SingularRootResourcewhich returns aPaththat encodes aDELETErequest for that resource.Declaration
Swift
public var delete: Path<Self, SingularPath, DELETE>
-
deleteExtension methodA static function for
SingularChildResourcewhich returns aPaththat encodes aDELETErequest for single resource.Declaration
Swift
public static var delete: ChildPath<Self, SingularPath, DELETE> -
deleteExtension methodA value for an instance of
SingularChildResourcewhich returns aPaththat encodes aDELETErequest for that resource.Declaration
Swift
public var delete: ChildPath<Self, SingularPath, DELETE>
View on GitHub
Install in Dash
IsDeletable Protocol Reference