DeleteOperations

pt.tecnico.dsi.openstack.common.services.DeleteOperations
trait DeleteOperations[F[_], Model <: Identifiable]

Idempotent delete operations for a domain model of an Openstack REST API.

Attributes

Source
DeleteOperations.scala
Graph
Supertypes
class Object
trait Matchable
class Any
Known subtypes
class CrudService[F, Model, Create, Update]
Self type

Members list

Value members

Concrete methods

def delete(model: Model, extraHeaders: ToRaw*): F[Unit]

Deletes the given domainModel.

Deletes the given domainModel.

Value parameters

extraHeaders

extra headers to pass when making the request. The authToken header is always added.

model

the domainModel to delete.

Attributes

Source
DeleteOperations.scala
def delete(id: String, extraHeaders: ToRaw*): F[Unit]

Deletes the domainModel with the given id.

Deletes the domainModel with the given id.

Value parameters

extraHeaders

extra headers to pass when making the request. The authToken header is always added.

id

the id of the domainModel to delete. Usually a random UUID.

Attributes

Source
DeleteOperations.scala