scala.googleapis.storage.FolderPendingRenameInfo.scala Maven / Gradle / Ivy
The newest version!
package googleapis.storage
import io.circe._
import io.circe.syntax._
final case class FolderPendingRenameInfo(
/** The ID of the rename folder operation.
*/
operationId: Option[String] = None
)
object FolderPendingRenameInfo {
implicit val encoder: Encoder[
FolderPendingRenameInfo
] = Encoder.instance(x => Json.obj("operationId" := x.operationId))
implicit val decoder: Decoder[
FolderPendingRenameInfo
] = Decoder.instance { c =>
for {
v0 <- c.get[Option[String]]("operationId")
} yield FolderPendingRenameInfo(v0)
}
}