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
RootResource
which returns aPath
that encodes aDELETE
request for single resource.Declaration
Swift
public static func delete(_ id: ID) -> Path<Self, SingularPath, DELETE>
-
delete
Extension methodA value for an instance of
RootResource
which returns aPath
that encodes aDELETE
request for that resource.Declaration
Swift
public var delete: Path<Self, SingularPath, DELETE>
-
delete(_:)
Extension methodA static function for
ChildResource
which returns aPath
that encodes aDELETE
request for single resource.Declaration
Swift
public static func delete(_ id: ID) -> ChildPath<Self, SingularPath, DELETE>
-
delete
Extension methodA value for an instance of
ChildResource
which returns aPath
that encodes aDELETE
request for that resource.Declaration
Swift
public var delete: ChildPath<Self, SingularPath, DELETE>
-
delete
Extension methodA static function for
SingularRootResource
which returns aPath
that encodes aDELETE
request for single resource.Declaration
Swift
public static var delete: Path<Self, SingularPath, DELETE>
-
delete
Extension methodA value for an instance of
SingularRootResource
which returns aPath
that encodes aDELETE
request for that resource.Declaration
Swift
public var delete: Path<Self, SingularPath, DELETE>
-
delete
Extension methodA static function for
SingularChildResource
which returns aPath
that encodes aDELETE
request for single resource.Declaration
Swift
public static var delete: ChildPath<Self, SingularPath, DELETE>
-
delete
Extension methodA value for an instance of
SingularChildResource
which returns aPath
that encodes aDELETE
request for that resource.Declaration
Swift
public var delete: ChildPath<Self, SingularPath, DELETE>