/* Options: Date: 2026-04-04 02:55:33 Version: 8.52 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://pfapi.pstpf.com.au/api //Package: //GlobalNamespace: dtos //AddPropertyAccessors: True //SettersReturnThis: True //AddServiceStackTypes: True //AddResponseStatus: False //AddDescriptionAsComments: True //AddImplicitVersion: IncludeTypes: SaveImageAsObjectPrimary.* //ExcludeTypes: //TreatTypesAsStrings: //DefaultImports: java.math.*,java.util.*,java.io.InputStream,net.servicestack.client.* */ import java.math.*; import java.util.*; import java.io.InputStream; import net.servicestack.client.*; public class dtos { /** * Updates the specified objects primary image with the specified Images Media File ID. */ @Route(Path="/json/reply/SaveImageAsObjectPrimary") // @Route(Path="/SaveImageAsObjectPrimary") // @Route(Path="/SaveImageAsObjectPrimary/userprofile") @Api(Description="Updates the specified objects primary image with the specified Images Media File ID.") public static class SaveImageAsObjectPrimary implements IReturn { /** * Guid of the object whose primary image details we want to update. */ @ApiMember(DataType="Guid", Description="Guid of the object whose primary image details we want to update.", IsRequired=true, Name="ObjectId", ParameterType="query") public UUID ObjectId = null; /** * Guid of the Media File that contains details of the image we want to be primary. */ @ApiMember(DataType="Guid", Description="Guid of the Media File that contains details of the image we want to be primary.", IsRequired=true, Name="PrimaryImageMediaFileId", ParameterType="query") public UUID PrimaryImageMediaFileId = null; /** * URL to the full image. */ @ApiMember(DataType="Guid", Description="URL to the full image.", IsRequired=true, Name="BlobImageURL", ParameterType="query") public String BlobImageURL = null; /** * URL to the thumbnail image. */ @ApiMember(DataType="Guid", Description="URL to the thumbnail image.", IsRequired=true, Name="BlobImageURLThumbnail", ParameterType="query") public String BlobImageURLThumbnail = null; public UUID getObjectId() { return ObjectId; } public SaveImageAsObjectPrimary setObjectId(UUID value) { this.ObjectId = value; return this; } public UUID getPrimaryImageMediaFileId() { return PrimaryImageMediaFileId; } public SaveImageAsObjectPrimary setPrimaryImageMediaFileId(UUID value) { this.PrimaryImageMediaFileId = value; return this; } public String getBlobImageURL() { return BlobImageURL; } public SaveImageAsObjectPrimary setBlobImageURL(String value) { this.BlobImageURL = value; return this; } public String getBlobImageURLThumbnail() { return BlobImageURLThumbnail; } public SaveImageAsObjectPrimary setBlobImageURLThumbnail(String value) { this.BlobImageURLThumbnail = value; return this; } private static Object responseType = ResponseStatus.class; public Object getResponseType() { return responseType; } } @DataContract public static class ResponseStatus { @DataMember(Order=1) public String ErrorCode = null; @DataMember(Order=2) public String Message = null; @DataMember(Order=3) public String StackTrace = null; @DataMember(Order=4) public ArrayList Errors = null; @DataMember(Order=5) public HashMap Meta = null; public String getErrorCode() { return ErrorCode; } public ResponseStatus setErrorCode(String value) { this.ErrorCode = value; return this; } public String getMessage() { return Message; } public ResponseStatus setMessage(String value) { this.Message = value; return this; } public String getStackTrace() { return StackTrace; } public ResponseStatus setStackTrace(String value) { this.StackTrace = value; return this; } public ArrayList getErrors() { return Errors; } public ResponseStatus setErrors(ArrayList value) { this.Errors = value; return this; } public HashMap getMeta() { return Meta; } public ResponseStatus setMeta(HashMap value) { this.Meta = value; return this; } } }