BatchReadSuccessfulResponse.fromJson constructor

BatchReadSuccessfulResponse.fromJson(
  1. Map<String, dynamic> json
)

Implementation

factory BatchReadSuccessfulResponse.fromJson(Map<String, dynamic> json) {
  return BatchReadSuccessfulResponse(
    getLinkAttributes: json['GetLinkAttributes'] != null
        ? BatchGetLinkAttributesResponse.fromJson(
            json['GetLinkAttributes'] as Map<String, dynamic>)
        : null,
    getObjectAttributes: json['GetObjectAttributes'] != null
        ? BatchGetObjectAttributesResponse.fromJson(
            json['GetObjectAttributes'] as Map<String, dynamic>)
        : null,
    getObjectInformation: json['GetObjectInformation'] != null
        ? BatchGetObjectInformationResponse.fromJson(
            json['GetObjectInformation'] as Map<String, dynamic>)
        : null,
    listAttachedIndices: json['ListAttachedIndices'] != null
        ? BatchListAttachedIndicesResponse.fromJson(
            json['ListAttachedIndices'] as Map<String, dynamic>)
        : null,
    listIncomingTypedLinks: json['ListIncomingTypedLinks'] != null
        ? BatchListIncomingTypedLinksResponse.fromJson(
            json['ListIncomingTypedLinks'] as Map<String, dynamic>)
        : null,
    listIndex: json['ListIndex'] != null
        ? BatchListIndexResponse.fromJson(
            json['ListIndex'] as Map<String, dynamic>)
        : null,
    listObjectAttributes: json['ListObjectAttributes'] != null
        ? BatchListObjectAttributesResponse.fromJson(
            json['ListObjectAttributes'] as Map<String, dynamic>)
        : null,
    listObjectChildren: json['ListObjectChildren'] != null
        ? BatchListObjectChildrenResponse.fromJson(
            json['ListObjectChildren'] as Map<String, dynamic>)
        : null,
    listObjectParentPaths: json['ListObjectParentPaths'] != null
        ? BatchListObjectParentPathsResponse.fromJson(
            json['ListObjectParentPaths'] as Map<String, dynamic>)
        : null,
    listObjectPolicies: json['ListObjectPolicies'] != null
        ? BatchListObjectPoliciesResponse.fromJson(
            json['ListObjectPolicies'] as Map<String, dynamic>)
        : null,
    listOutgoingTypedLinks: json['ListOutgoingTypedLinks'] != null
        ? BatchListOutgoingTypedLinksResponse.fromJson(
            json['ListOutgoingTypedLinks'] as Map<String, dynamic>)
        : null,
    listPolicyAttachments: json['ListPolicyAttachments'] != null
        ? BatchListPolicyAttachmentsResponse.fromJson(
            json['ListPolicyAttachments'] as Map<String, dynamic>)
        : null,
    lookupPolicy: json['LookupPolicy'] != null
        ? BatchLookupPolicyResponse.fromJson(
            json['LookupPolicy'] as Map<String, dynamic>)
        : null,
  );
}