/* Options: Date: 2025-01-08 03:11:55 Version: 8.53 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://blazordiffusion.com //Package: //GlobalNamespace: dtos //AddPropertyAccessors: True //SettersReturnThis: True //AddServiceStackTypes: True //AddResponseStatus: False //AddDescriptionAsComments: True //AddImplicitVersion: IncludeTypes: CreateGenerationApiProvider.* //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 { public static class CreateGenerationApiProvider implements IReturn, ICreateDb { public String name = null; public String apiKey = null; public String apiKeyHeader = null; public String apiBaseUrl = null; public String heartbeatUrl = null; public Integer concurrency = null; public Integer priority = null; public Boolean enabled = null; public Date offlineDate = null; public ArrayList models = null; public Integer generationApiTypeId = null; public String getName() { return name; } public CreateGenerationApiProvider setName(String value) { this.name = value; return this; } public String getApiKey() { return apiKey; } public CreateGenerationApiProvider setApiKey(String value) { this.apiKey = value; return this; } public String getApiKeyHeader() { return apiKeyHeader; } public CreateGenerationApiProvider setApiKeyHeader(String value) { this.apiKeyHeader = value; return this; } public String getApiBaseUrl() { return apiBaseUrl; } public CreateGenerationApiProvider setApiBaseUrl(String value) { this.apiBaseUrl = value; return this; } public String getHeartbeatUrl() { return heartbeatUrl; } public CreateGenerationApiProvider setHeartbeatUrl(String value) { this.heartbeatUrl = value; return this; } public Integer getConcurrency() { return concurrency; } public CreateGenerationApiProvider setConcurrency(Integer value) { this.concurrency = value; return this; } public Integer getPriority() { return priority; } public CreateGenerationApiProvider setPriority(Integer value) { this.priority = value; return this; } public Boolean isEnabled() { return enabled; } public CreateGenerationApiProvider setEnabled(Boolean value) { this.enabled = value; return this; } public Date getOfflineDate() { return offlineDate; } public CreateGenerationApiProvider setOfflineDate(Date value) { this.offlineDate = value; return this; } public ArrayList getModels() { return models; } public CreateGenerationApiProvider setModels(ArrayList value) { this.models = value; return this; } public Integer getGenerationApiTypeId() { return generationApiTypeId; } public CreateGenerationApiProvider setGenerationApiTypeId(Integer value) { this.generationApiTypeId = value; return this; } private static Object responseType = IdResponse.class; public Object getResponseType() { return responseType; } } @DataContract public static class IdResponse { @DataMember(Order=1) public String id = null; @DataMember(Order=2) public ResponseStatus responseStatus = null; public String getId() { return id; } public IdResponse setId(String value) { this.id = value; return this; } public ResponseStatus getResponseStatus() { return responseStatus; } public IdResponse setResponseStatus(ResponseStatus value) { this.responseStatus = value; return this; } } public static class GenerationApiProvider extends AiProviderBase { @References(Type=GenerationApiType.class) public Integer generationApiTypeId = null; public GenerationApiType type = null; public Integer getGenerationApiTypeId() { return generationApiTypeId; } public GenerationApiProvider setGenerationApiTypeId(Integer value) { this.generationApiTypeId = value; return this; } public GenerationApiType getType() { return type; } public GenerationApiProvider setType(GenerationApiType value) { this.type = value; return this; } } }