com.colisweb.gdrive.client.sheets.GoogleGridCoordinate.scala Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of google-drive-scala-client_2.13 Show documentation
Show all versions of google-drive-scala-client_2.13 Show documentation
Google Drive Scala Client is a Scala wrapper around the Google Drive client for Java
The newest version!
package com.colisweb.gdrive.client.sheets
import com.google.api.services.sheets.v4.model.GridCoordinate
final case class GoogleGridCoordinate(sheetId: Int, rowIndex: Int, columnIndex: Int) {
val toGoogle: GridCoordinate =
new GridCoordinate().setSheetId(sheetId).setRowIndex(rowIndex).setColumnIndex(columnIndex)
}
object GoogleGridCoordinate {
def zero(sheetId: Int): GoogleGridCoordinate = GoogleGridCoordinate(sheetId, 0, 0)
}