BatchWriteOperationResponse.fromJson constructor
BatchWriteOperationResponse.fromJson(
- Map<String, dynamic> json
)
Implementation
factory BatchWriteOperationResponse.fromJson(Map<String, dynamic> json) {
return BatchWriteOperationResponse(
addFacetToObject: json['AddFacetToObject'] != null
? BatchAddFacetToObjectResponse.fromJson(
json['AddFacetToObject'] as Map<String, dynamic>)
: null,
attachObject: json['AttachObject'] != null
? BatchAttachObjectResponse.fromJson(
json['AttachObject'] as Map<String, dynamic>)
: null,
attachPolicy: json['AttachPolicy'] != null
? BatchAttachPolicyResponse.fromJson(
json['AttachPolicy'] as Map<String, dynamic>)
: null,
attachToIndex: json['AttachToIndex'] != null
? BatchAttachToIndexResponse.fromJson(
json['AttachToIndex'] as Map<String, dynamic>)
: null,
attachTypedLink: json['AttachTypedLink'] != null
? BatchAttachTypedLinkResponse.fromJson(
json['AttachTypedLink'] as Map<String, dynamic>)
: null,
createIndex: json['CreateIndex'] != null
? BatchCreateIndexResponse.fromJson(
json['CreateIndex'] as Map<String, dynamic>)
: null,
createObject: json['CreateObject'] != null
? BatchCreateObjectResponse.fromJson(
json['CreateObject'] as Map<String, dynamic>)
: null,
deleteObject: json['DeleteObject'] != null
? BatchDeleteObjectResponse.fromJson(
json['DeleteObject'] as Map<String, dynamic>)
: null,
detachFromIndex: json['DetachFromIndex'] != null
? BatchDetachFromIndexResponse.fromJson(
json['DetachFromIndex'] as Map<String, dynamic>)
: null,
detachObject: json['DetachObject'] != null
? BatchDetachObjectResponse.fromJson(
json['DetachObject'] as Map<String, dynamic>)
: null,
detachPolicy: json['DetachPolicy'] != null
? BatchDetachPolicyResponse.fromJson(
json['DetachPolicy'] as Map<String, dynamic>)
: null,
detachTypedLink: json['DetachTypedLink'] != null
? BatchDetachTypedLinkResponse.fromJson(
json['DetachTypedLink'] as Map<String, dynamic>)
: null,
removeFacetFromObject: json['RemoveFacetFromObject'] != null
? BatchRemoveFacetFromObjectResponse.fromJson(
json['RemoveFacetFromObject'] as Map<String, dynamic>)
: null,
updateLinkAttributes: json['UpdateLinkAttributes'] != null
? BatchUpdateLinkAttributesResponse.fromJson(
json['UpdateLinkAttributes'] as Map<String, dynamic>)
: null,
updateObjectAttributes: json['UpdateObjectAttributes'] != null
? BatchUpdateObjectAttributesResponse.fromJson(
json['UpdateObjectAttributes'] as Map<String, dynamic>)
: null,
);
}