toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (accessUrls != null) 'accessUrls': accessUrls!.toJson(),
      if (caCertificateDescriptions != null)
        'caCertificateDescriptions': caCertificateDescriptions!
            .map((value) => value.toJson())
            .toList(),
      if (certificatePolicy != null)
        'certificatePolicy': certificatePolicy!.toJson(),
      if (config != null) 'config': config!.toJson(),
      if (createTime != null) 'createTime': createTime!,
      if (deleteTime != null) 'deleteTime': deleteTime!,
      if (gcsBucket != null) 'gcsBucket': gcsBucket!,
      if (issuingOptions != null) 'issuingOptions': issuingOptions!.toJson(),
      if (keySpec != null) 'keySpec': keySpec!.toJson(),
      if (labels != null) 'labels': labels!,
      if (lifetime != null) 'lifetime': lifetime!,
      if (name != null) 'name': name!,
      if (pemCaCertificates != null) 'pemCaCertificates': pemCaCertificates!,
      if (state != null) 'state': state!,
      if (subordinateConfig != null)
        'subordinateConfig': subordinateConfig!.toJson(),
      if (tier != null) 'tier': tier!,
      if (type != null) 'type': type!,
      if (updateTime != null) 'updateTime': updateTime!,
    };