CertificateIssuanceConfig.fromJson constructor

CertificateIssuanceConfig.fromJson(
  1. Map json_
)

Implementation

CertificateIssuanceConfig.fromJson(core.Map json_)
    : this(
        certificateAuthorityConfig:
            json_.containsKey('certificateAuthorityConfig')
                ? CertificateAuthorityConfig.fromJson(
                    json_['certificateAuthorityConfig']
                        as core.Map<core.String, core.dynamic>)
                : null,
        createTime: json_.containsKey('createTime')
            ? json_['createTime'] as core.String
            : null,
        description: json_.containsKey('description')
            ? json_['description'] as core.String
            : null,
        keyAlgorithm: json_.containsKey('keyAlgorithm')
            ? json_['keyAlgorithm'] as core.String
            : null,
        labels: json_.containsKey('labels')
            ? (json_['labels'] as core.Map<core.String, core.dynamic>).map(
                (key, value) => core.MapEntry(
                  key,
                  value as core.String,
                ),
              )
            : null,
        lifetime: json_.containsKey('lifetime')
            ? json_['lifetime'] as core.String
            : null,
        name: json_.containsKey('name') ? json_['name'] as core.String : null,
        rotationWindowPercentage:
            json_.containsKey('rotationWindowPercentage')
                ? json_['rotationWindowPercentage'] as core.int
                : null,
        updateTime: json_.containsKey('updateTime')
            ? json_['updateTime'] as core.String
            : null,
      );