Skip to content

Instantly share code, notes, and snippets.

@WesleyBatista
Created January 29, 2018 06:23
Show Gist options
  • Save WesleyBatista/70a7ad05b246d38255392aa768499a3d to your computer and use it in GitHub Desktop.
Save WesleyBatista/70a7ad05b246d38255392aa768499a3d to your computer and use it in GitHub Desktop.
package com.example.salesforce
import com.google.gson.Gson
import scala.collection.mutable.{Map,
SynchronizedMap, HashMap}
case class DescribeField(name: String, `type`: String)
case class DescribeResponse(fields: Array[DescribeField])
case class Response(
totalSize: Int,
done: Boolean,
nextRecordsUrl: String,
records: Array[Any]
)
case class CountObject(count: Int, name: String)
case class RecordCountResponse(sObjects: List[CountObject])
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment