GoogleCloudApigeeV1CertInfo.fromJson constructor

GoogleCloudApigeeV1CertInfo.fromJson(
  1. Map json_
)

Implementation

GoogleCloudApigeeV1CertInfo.fromJson(core.Map json_)
    : this(
        basicConstraints: json_.containsKey('basicConstraints')
            ? json_['basicConstraints'] as core.String
            : null,
        expiryDate: json_.containsKey('expiryDate')
            ? json_['expiryDate'] as core.String
            : null,
        isValid: json_.containsKey('isValid')
            ? json_['isValid'] as core.String
            : null,
        issuer: json_.containsKey('issuer')
            ? json_['issuer'] as core.String
            : null,
        publicKey: json_.containsKey('publicKey')
            ? json_['publicKey'] as core.String
            : null,
        serialNumber: json_.containsKey('serialNumber')
            ? json_['serialNumber'] as core.String
            : null,
        sigAlgName: json_.containsKey('sigAlgName')
            ? json_['sigAlgName'] as core.String
            : null,
        subject: json_.containsKey('subject')
            ? json_['subject'] as core.String
            : null,
        subjectAlternativeNames: json_.containsKey('subjectAlternativeNames')
            ? (json_['subjectAlternativeNames'] as core.List)
                .map((value) => value as core.String)
                .toList()
            : null,
        validFrom: json_.containsKey('validFrom')
            ? json_['validFrom'] as core.String
            : null,
        version: json_.containsKey('version')
            ? json_['version'] as core.int
            : null,
      );