/* Options: Date: 2025-12-17 01:11:16 Version: 8.60 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://shortlinks-api.qa.platform.georiot.com //Package: //GlobalNamespace: dtos //AddPropertyAccessors: True //SettersReturnThis: True //AddServiceStackTypes: True //AddResponseStatus: False //AddDescriptionAsComments: True //AddImplicitVersion: IncludeTypes: MigrateShortLinksRequest.* //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="/v4/short-links/migrate", Verbs="POST") @DataContract public static class MigrateShortLinksRequest implements IReturn { @DataMember(Name="sourceUsername") @SerializedName("sourceUsername") public String sourceUsername = null; @DataMember(Name="targetUsername") @SerializedName("targetUsername") public String targetUsername = null; @DataMember(Name="sourceGroupId") @SerializedName("sourceGroupId") public Long sourceGroupId = null; @DataMember(Name="targetGroupId") @SerializedName("targetGroupId") public Long targetGroupId = null; public String getSourceUsername() { return sourceUsername; } public MigrateShortLinksRequest setSourceUsername(String value) { this.sourceUsername = value; return this; } public String getTargetUsername() { return targetUsername; } public MigrateShortLinksRequest setTargetUsername(String value) { this.targetUsername = value; return this; } public Long getSourceGroupId() { return sourceGroupId; } public MigrateShortLinksRequest setSourceGroupId(Long value) { this.sourceGroupId = value; return this; } public Long getTargetGroupId() { return targetGroupId; } public MigrateShortLinksRequest setTargetGroupId(Long value) { this.targetGroupId = value; return this; } private static Object responseType = MigrateShortLinksResponse.class; public Object getResponseType() { return responseType; } } @DataContract public static class MigrateShortLinksResponse { @DataMember(Name="linksMigrated") @SerializedName("linksMigrated") public Integer linksMigrated = null; @DataMember(Name="responseStatus") @SerializedName("responseStatus") public ResponseStatus responseStatus = null; public Integer getLinksMigrated() { return linksMigrated; } public MigrateShortLinksResponse setLinksMigrated(Integer value) { this.linksMigrated = value; return this; } public ResponseStatus getResponseStatus() { return responseStatus; } public MigrateShortLinksResponse setResponseStatus(ResponseStatus value) { this.responseStatus = value; return this; } } }