toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (createTime != null) 'createTime': createTime!,
      if (displayName != null) 'displayName': displayName!,
      if (gatewayServiceAccount != null)
        'gatewayServiceAccount': gatewayServiceAccount!,
      if (grpcServices != null) 'grpcServices': grpcServices!,
      if (labels != null) 'labels': labels!,
      if (managedServiceConfigs != null)
        'managedServiceConfigs': managedServiceConfigs!,
      if (name != null) 'name': name!,
      if (openapiDocuments != null) 'openapiDocuments': openapiDocuments!,
      if (serviceConfigId != null) 'serviceConfigId': serviceConfigId!,
      if (state != null) 'state': state!,
      if (updateTime != null) 'updateTime': updateTime!,
    };