Skip to content
This repository has been archived by the owner on Aug 28, 2021. It is now read-only.

Commit

Permalink
Partially revert adding JsonClass(generateAdapter) annotation to DNSR…
Browse files Browse the repository at this point in the history
…ecord, Zone, and ZoneSetting
  • Loading branch information
jtsalva committed Mar 21, 2020
1 parent 707d83f commit 693be0e
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 6 deletions.
2 changes: 0 additions & 2 deletions app/src/main/java/dev/jtsalva/cloudmare/api/dns/DNSRecord.kt
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,12 @@ package dev.jtsalva.cloudmare.api.dns
import android.os.Parcel
import android.os.Parcelable
import com.squareup.moshi.Json
import com.squareup.moshi.JsonClass
import dev.jtsalva.cloudmare.CloudMareActivity
import dev.jtsalva.cloudmare.R
import dev.jtsalva.cloudmare.api.IdTranslator
import dev.jtsalva.cloudmare.api.readStringOrBlank

@Suppress("UNUSED")
@JsonClass(generateAdapter = true)
data class DNSRecord(
@field:Json(name = "id") val id: String,
@field:Json(name = "type") var type: String,
Expand Down
2 changes: 0 additions & 2 deletions app/src/main/java/dev/jtsalva/cloudmare/api/zone/Zone.kt
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,9 @@ package dev.jtsalva.cloudmare.api.zone
import android.os.Parcel
import android.os.Parcelable
import com.squareup.moshi.Json
import com.squareup.moshi.JsonClass
import dev.jtsalva.cloudmare.api.createStringArrayListOrBlank
import dev.jtsalva.cloudmare.api.readStringOrBlank

@JsonClass(generateAdapter = true)
data class Zone(
@field:Json(name = "id") val id: String,
@field:Json(name = "name") val name: String,
Expand Down
Original file line number Diff line number Diff line change
@@ -1,13 +1,11 @@
package dev.jtsalva.cloudmare.api.zonesettings

import com.squareup.moshi.Json
import com.squareup.moshi.JsonClass
import dev.jtsalva.cloudmare.CloudMareActivity
import dev.jtsalva.cloudmare.R
import dev.jtsalva.cloudmare.api.IdTranslator

@Suppress("UNUSED")
@JsonClass(generateAdapter = true)
data class ZoneSetting(
@field:Json(name = "id") val id: String,
@field:Json(name = "value") val value: Any,
Expand Down

0 comments on commit 693be0e

Please sign in to comment.