GoogleCloudContentwarehouseV1DocumentLink.fromJson constructor

GoogleCloudContentwarehouseV1DocumentLink.fromJson(
  1. Map json_
)

Implementation

GoogleCloudContentwarehouseV1DocumentLink.fromJson(core.Map json_)
    : this(
        createTime: json_.containsKey('createTime')
            ? json_['createTime'] as core.String
            : null,
        description: json_.containsKey('description')
            ? json_['description'] as core.String
            : null,
        name: json_.containsKey('name') ? json_['name'] as core.String : null,
        sourceDocumentReference: json_.containsKey('sourceDocumentReference')
            ? GoogleCloudContentwarehouseV1DocumentReference.fromJson(
                json_['sourceDocumentReference']
                    as core.Map<core.String, core.dynamic>)
            : null,
        state:
            json_.containsKey('state') ? json_['state'] as core.String : null,
        targetDocumentReference: json_.containsKey('targetDocumentReference')
            ? GoogleCloudContentwarehouseV1DocumentReference.fromJson(
                json_['targetDocumentReference']
                    as core.Map<core.String, core.dynamic>)
            : null,
        updateTime: json_.containsKey('updateTime')
            ? json_['updateTime'] as core.String
            : null,
      );