tacker.api.views.vnf_lcm_op_occs module

class tacker.api.views.vnf_lcm_op_occs.ViewBuilder

Bases: BaseViewBuilder

COMPLEX_ATTRIBUTES = ['error', 'resourceChanges', 'changedInfo', 'operationParams', 'changedExtConnectivity']
FLATTEN_ATTRIBUTES = {'changedInfo': ('changed_info', 'string', 'VnfLcmOpOccs'), 'error': ('error', 'string', 'VnfLcmOpOccs'), 'errorPoint': ('error_point', 'number', 'VnfLcmOpOccs'), 'grantId': ('grant_id', 'string', 'VnfLcmOpOccs'), 'id': ('id', 'uuid', 'VnfLcmOpOccs'), 'isAutomaticInvocation': ('is_automatic_invocation', 'boolean', 'VnfLcmOpOccs'), 'isCancelPending': ('is_cancel_pending', 'string', 'VnfLcmOpOccs'), 'operation': ('operation', 'string', 'VnfLcmOpOccs'), 'operationParams': ('operation_params', 'string', 'VnfLcmOpOccs'), 'operationState': ('operation_state', 'string', 'VnfLcmOpOccs'), 'resourceChanges': ('resource_changes', 'string', 'VnfLcmOpOccs'), 'startTime': ('start_time', 'datetime', 'VnfLcmOpOccs'), 'stateEnteredTime': ('state_entered_time', 'datetime', 'VnfLcmOpOccs'), 'vnfInstanceId': ('vnf_instance_id', 'string', 'VnfLcmOpOccs')}
FLATTEN_COMPLEX_ATTRIBUTES = []
index(request, vnf_lcm_op_occs, all_fields=True, exclude_fields=None, fields=None, exclude_default=False)