toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() {
  final _json = <String, dynamic>{};
  _json['appId'] = appId;
  _json['qosVersion'] = qosVersion;
  _json['pivotContainerImageUrl'] = pivotContainerImageUrl;
  _json['pivotPath'] = pivotPath;
  _json['pivotArgs'] = pivotArgs;
  _json['expectedPivotDigest'] = expectedPivotDigest;
  if (nonce != null) {
    _json['nonce'] = nonce;
  }
  if (pivotContainerEncryptedPullSecret != null) {
    _json['pivotContainerEncryptedPullSecret'] =
        pivotContainerEncryptedPullSecret;
  }
  if (debugMode != null) {
    _json['debugMode'] = debugMode;
  }
  _json['healthCheckType'] = v1TvcHealthCheckTypeToJson(healthCheckType);
  _json['healthCheckPort'] = healthCheckPort;
  _json['publicIngressPort'] = publicIngressPort;
  return _json;
}