/* Options: Date: 2026-04-15 21:23:35 Version: 8.60 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: http://api.booklinker.com //Package: //GlobalNamespace: dtos //AddPropertyAccessors: True //SettersReturnThis: True //AddServiceStackTypes: True //AddResponseStatus: False //AddDescriptionAsComments: True //AddImplicitVersion: IncludeTypes: PutLinkUpdateRequest.* //ExcludeTypes: //TreatTypesAsStrings: //DefaultImports: java.math.*,java.util.*,java.io.InputStream,net.servicestack.client.*,com.google.gson.annotations.*,com.google.gson.reflect.* */ import java.math.*; import java.util.*; import java.io.InputStream; import net.servicestack.client.*; import com.google.gson.annotations.*; import com.google.gson.reflect.*; public class dtos { @Route(Path="/v1/links", Verbs="PUT") public static class PutLinkUpdateRequest implements IReturn { @DataMember(Name="baseCode") @SerializedName("baseCode") public String baseCode = null; @DataMember(Name="domain") @SerializedName("domain") public String domain = null; @DataMember(Name="code") @SerializedName("code") public String vanityCode = null; @DataMember(Name="url") @SerializedName("url") public String newUrl = null; public String getBaseCode() { return baseCode; } public PutLinkUpdateRequest setBaseCode(String value) { this.baseCode = value; return this; } public String getDomain() { return domain; } public PutLinkUpdateRequest setDomain(String value) { this.domain = value; return this; } public String getVanityCode() { return vanityCode; } public PutLinkUpdateRequest setVanityCode(String value) { this.vanityCode = value; return this; } public String getNewUrl() { return newUrl; } public PutLinkUpdateRequest setNewUrl(String value) { this.newUrl = value; return this; } private static Object responseType = PutLinkUpdateResponse.class; public Object getResponseType() { return responseType; } } @DataContract public static class PutLinkUpdateResponse { @DataMember(Name="success") @SerializedName("success") public Boolean success = null; @DataMember(Name="responseStatus") @SerializedName("responseStatus") public ResponseStatus responseStatus = null; public Boolean isSuccess() { return success; } public PutLinkUpdateResponse setSuccess(Boolean value) { this.success = value; return this; } public ResponseStatus getResponseStatus() { return responseStatus; } public PutLinkUpdateResponse setResponseStatus(ResponseStatus value) { this.responseStatus = value; return this; } } }