Skip to content

Commit 83211af

Browse files
committed
Duration in Go is actually expressed as a long value
1 parent a57c3a3 commit 83211af

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/main/kotlin/com/coder/gateway/sdk/v2/models/Workspace.kt

+1-2
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
package com.coder.gateway.sdk.v2.models
22

33
import com.google.gson.annotations.SerializedName
4-
import java.time.Duration
54
import java.time.Instant
65
import java.util.UUID
76

@@ -20,5 +19,5 @@ data class Workspace(
2019
@SerializedName("outdated") val outdated: Boolean,
2120
@SerializedName("name") val name: String,
2221
@SerializedName("autostart_schedule") val autostartSchedule: String,
23-
@SerializedName("ttl") val ttl: Duration,
22+
@SerializedName("ttl") val ttl: Long,
2423
)

0 commit comments

Comments
 (0)