/* Options: Date: 2025-08-03 23:51:24 Version: 8.40 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://active-ewebservice.biz/aeServices30/api //Package: //GlobalNamespace: dtos //AddPropertyAccessors: True //SettersReturnThis: True //AddServiceStackTypes: True //AddResponseStatus: False //AddDescriptionAsComments: True //AddImplicitVersion: IncludeTypes: C2BToggleContractLockRequest.* //ExcludeTypes: //TreatTypesAsStrings: //DefaultImports: java.math.*,java.util.*,net.servicestack.client.* */ import java.math.*; import java.util.*; import net.servicestack.client.*; public class dtos { /** * C2BToggleContractLockRequires active-e Contracts Service. */ @Route(Path="/C2BToggleContractLock", Verbs="POST") @DataContract public static class C2BToggleContractLockRequest extends BaseSecureRequest implements IReturn { /** * LOCK or UNLOCK */ @DataMember @ApiMember(Description="LOCK or UNLOCK", Name="Mode", ParameterType="query") public String Mode = null; /** * A single WebRef to lock or unlock. An error will be returned if the record is already in that state. */ @DataMember @ApiMember(Description="A single WebRef to lock or unlock. An error will be returned if the record is already in that state.", Name="WebRef", ParameterType="query") public String WebRef = null; /** * A list of WebRefw to lock or unlock. No errors will be returned if one or more records are already in that state. */ @DataMember @ApiMember(Description="A list of WebRefw to lock or unlock. No errors will be returned if one or more records are already in that state.", Name="WebRefs", ParameterType="query") public ArrayList WebRefs = null; public String getMode() { return Mode; } public C2BToggleContractLockRequest setMode(String value) { this.Mode = value; return this; } public String getWebRef() { return WebRef; } public C2BToggleContractLockRequest setWebRef(String value) { this.WebRef = value; return this; } public ArrayList getWebRefs() { return WebRefs; } public C2BToggleContractLockRequest setWebRefs(ArrayList value) { this.WebRefs = value; return this; } private static Object responseType = C2BToggleContractLockResponse.class; public Object getResponseType() { return responseType; } } @DataContract public static class C2BToggleContractLockResponse extends BaseResponse { } @DataContract public static class BaseRequest { /** * This is your AIM API Key provided by Tri-Tech */ @DataMember @ApiMember(DataType="string", Description="This is your AIM API Key provided by Tri-Tech", IsRequired=true, Name="ApiKey", ParameterType="Header") public String ApiKey = null; /** * The OAuthToken token return by AeServices30 */ @DataMember @ApiMember(DataType="string", Description="The OAuthToken token return by AeServices30", IsRequired=true, Name="OAuthToken", ParameterType="Header") public String OAuthToken = null; /** * The Device ID of the Mobile Device. Not used for non-mobile devices. */ @DataMember @ApiMember(DataType="string", Description="The Device ID of the Mobile Device. Not used for non-mobile devices.", Name="DeviceId", ParameterType="Header") public String DeviceId = null; /** * An identifier for your integration */ @DataMember @ApiMember(DataType="string", Description="An identifier for your integration", IsRequired=true, Name="AppId", ParameterType="Header") public String AppId = null; public String getApiKey() { return ApiKey; } public BaseRequest setApiKey(String value) { this.ApiKey = value; return this; } public String getOAuthToken() { return OAuthToken; } public BaseRequest setOAuthToken(String value) { this.OAuthToken = value; return this; } public String getDeviceId() { return DeviceId; } public BaseRequest setDeviceId(String value) { this.DeviceId = value; return this; } public String getAppId() { return AppId; } public BaseRequest setAppId(String value) { this.AppId = value; return this; } } @DataContract public static class BaseSecureRequest extends BaseRequest { /** * The Login Token return by the Security API. Required for secured calls. */ @DataMember @ApiMember(DataType="string", Description="The Login Token return by the Security API. Required for secured calls.", Name="Token", ParameterType="Header") public String Token = null; public String getToken() { return Token; } public BaseSecureRequest setToken(String value) { this.Token = value; return this; } } @DataContract public static class BaseResponse { /** * */ @DataMember @ApiMember(DataType="BaseResponseResult", Description="", Name="Status", ParameterType="body") public BaseResponseResult Status = null; public BaseResponseResult getStatus() { return Status; } public BaseResponse setStatus(BaseResponseResult value) { this.Status = value; return this; } } }