cinder.api.v3.views.attachments module

class ViewBuilder

Bases: object

Model an attachment API response as a python dictionary.

classmethod detail(attachment, flat=False)

Detailed view of an attachment.

classmethod list(attachments, detail=False)

Build a view of a list of attachments.

static summary(attachment, flat=False)

Non detailed view of an attachment.