diff --git a/CHANGELOG b/CHANGELOG index fe3c42048..c37064082 100644 --- a/CHANGELOG +++ b/CHANGELOG @@ -1,3 +1,6 @@ +2024-08-01 Version: 1.0.1 +- add openapi for Personalized Text to Image ablity init version. + 2024-08-01 Version: 3.7.18 - Generated 2015-12-01 for `Dds`. diff --git a/aliyun-net-sdk-aicontent/AiContent/Model/V20240611/AliyunConsoleOpenApiQueryAliyunConsoleServcieListResponse.cs b/aliyun-net-sdk-aicontent/AiContent/Model/V20240611/AliyunConsoleOpenApiQueryAliyunConsoleServcieListResponse.cs index 50f904e3a..ec41a65cd 100644 --- a/aliyun-net-sdk-aicontent/AiContent/Model/V20240611/AliyunConsoleOpenApiQueryAliyunConsoleServcieListResponse.cs +++ b/aliyun-net-sdk-aicontent/AiContent/Model/V20240611/AliyunConsoleOpenApiQueryAliyunConsoleServcieListResponse.cs @@ -33,6 +33,8 @@ public class AliyunConsoleOpenApiQueryAliyunConsoleServcieListResponse : AcsResp private string errMessage; + private int? httpStatusCode; + private List data; public string RequestId @@ -83,260 +85,86 @@ public string ErrMessage } } - public List Data + public int? HttpStatusCode { get { - return data; + return httpStatusCode; } set { - data = value; + httpStatusCode = value; } } - public class AliyunConsoleOpenApiQueryAliyunConsoleServcieList_DataItem + public List Data { - - private string id; - - private string modelId; - - private string name; - - private string objectType; - - private string jobStatus; - - private double? jobTrainProgress; - - private int? inferenceImageCount; - - private string createTime; - - private List inferenceJobList; - - private List imageUrl; - - public string Id + get { - get - { - return id; - } - set - { - id = value; - } + return data; } - - public string ModelId + set { - get - { - return modelId; - } - set - { - modelId = value; - } + data = value; } + } - public string Name - { - get - { - return name; - } - set - { - name = value; - } - } + public class AliyunConsoleOpenApiQueryAliyunConsoleServcieList_DataItem + { - public string ObjectType - { - get - { - return objectType; - } - set - { - objectType = value; - } - } + private string serviceCode; - public string JobStatus - { - get - { - return jobStatus; - } - set - { - jobStatus = value; - } - } + private string serviceName; - public double? JobTrainProgress - { - get - { - return jobTrainProgress; - } - set - { - jobTrainProgress = value; - } - } + private int? freeCount; + + private int? freeConcurrencyCount; - public int? InferenceImageCount + public string ServiceCode { get { - return inferenceImageCount; + return serviceCode; } set { - inferenceImageCount = value; + serviceCode = value; } } - public string CreateTime + public string ServiceName { get { - return createTime; + return serviceName; } set { - createTime = value; + serviceName = value; } } - public List InferenceJobList + public int? FreeCount { get { - return inferenceJobList; + return freeCount; } set { - inferenceJobList = value; + freeCount = value; } } - public List ImageUrl + public int? FreeConcurrencyCount { get { - return imageUrl; + return freeConcurrencyCount; } set { - imageUrl = value; - } - } - - public class AliyunConsoleOpenApiQueryAliyunConsoleServcieList_InferenceJobListItem - { - - private string id; - - private string promptId; - - private string modelId; - - private string jobStatus; - - private double? jobTrainProgress; - - private string createTime; - - private List resultImageUrl; - - public string Id - { - get - { - return id; - } - set - { - id = value; - } - } - - public string PromptId - { - get - { - return promptId; - } - set - { - promptId = value; - } - } - - public string ModelId - { - get - { - return modelId; - } - set - { - modelId = value; - } - } - - public string JobStatus - { - get - { - return jobStatus; - } - set - { - jobStatus = value; - } - } - - public double? JobTrainProgress - { - get - { - return jobTrainProgress; - } - set - { - jobTrainProgress = value; - } - } - - public string CreateTime - { - get - { - return createTime; - } - set - { - createTime = value; - } - } - - public List ResultImageUrl - { - get - { - return resultImageUrl; - } - set - { - resultImageUrl = value; - } + freeConcurrencyCount = value; } } } diff --git a/aliyun-net-sdk-aicontent/AiContent/Model/V20240611/Personalizedtxt2imgAddInferenceJobResponse.cs b/aliyun-net-sdk-aicontent/AiContent/Model/V20240611/Personalizedtxt2imgAddInferenceJobResponse.cs index 4e7ec25d4..1205934ef 100644 --- a/aliyun-net-sdk-aicontent/AiContent/Model/V20240611/Personalizedtxt2imgAddInferenceJobResponse.cs +++ b/aliyun-net-sdk-aicontent/AiContent/Model/V20240611/Personalizedtxt2imgAddInferenceJobResponse.cs @@ -33,6 +33,8 @@ public class Personalizedtxt2imgAddInferenceJobResponse : AcsResponse private string errMessage; + private int? httpStatusCode; + private Personalizedtxt2imgAddInferenceJob_Data data; public string RequestId @@ -83,6 +85,18 @@ public string ErrMessage } } + public int? HttpStatusCode + { + get + { + return httpStatusCode; + } + set + { + httpStatusCode = value; + } + } + public Personalizedtxt2imgAddInferenceJob_Data Data { get @@ -98,17 +112,101 @@ public Personalizedtxt2imgAddInferenceJob_Data Data public class Personalizedtxt2imgAddInferenceJob_Data { - private string modelTrainStatus; + private string id; + + private string promptId; + + private string modelId; + + private string jobStatus; + + private double? jobTrainProgress; + + private string createTime; + + private List resultImageUrl; + + public string Id + { + get + { + return id; + } + set + { + id = value; + } + } + + public string PromptId + { + get + { + return promptId; + } + set + { + promptId = value; + } + } + + public string ModelId + { + get + { + return modelId; + } + set + { + modelId = value; + } + } + + public string JobStatus + { + get + { + return jobStatus; + } + set + { + jobStatus = value; + } + } + + public double? JobTrainProgress + { + get + { + return jobTrainProgress; + } + set + { + jobTrainProgress = value; + } + } + + public string CreateTime + { + get + { + return createTime; + } + set + { + createTime = value; + } + } - public string ModelTrainStatus + public List ResultImageUrl { get { - return modelTrainStatus; + return resultImageUrl; } set { - modelTrainStatus = value; + resultImageUrl = value; } } } diff --git a/aliyun-net-sdk-aicontent/AiContent/Model/V20240611/Personalizedtxt2imgAddModelTrainJobResponse.cs b/aliyun-net-sdk-aicontent/AiContent/Model/V20240611/Personalizedtxt2imgAddModelTrainJobResponse.cs index 70ae1049f..bd8d957c1 100644 --- a/aliyun-net-sdk-aicontent/AiContent/Model/V20240611/Personalizedtxt2imgAddModelTrainJobResponse.cs +++ b/aliyun-net-sdk-aicontent/AiContent/Model/V20240611/Personalizedtxt2imgAddModelTrainJobResponse.cs @@ -33,6 +33,8 @@ public class Personalizedtxt2imgAddModelTrainJobResponse : AcsResponse private string errMessage; + private int? httpStatusCode; + private Personalizedtxt2imgAddModelTrainJob_Data data; public string RequestId @@ -83,6 +85,18 @@ public string ErrMessage } } + public int? HttpStatusCode + { + get + { + return httpStatusCode; + } + set + { + httpStatusCode = value; + } + } + public Personalizedtxt2imgAddModelTrainJob_Data Data { get @@ -98,17 +112,245 @@ public Personalizedtxt2imgAddModelTrainJob_Data Data public class Personalizedtxt2imgAddModelTrainJob_Data { - private string modelTrainStatus; + private string id; + + private string modelId; + + private string name; + + private string objectType; + + private string jobStatus; + + private double? jobTrainProgress; + + private int? inferenceImageCount; + + private string createTime; + + private List inferenceJobList; + + private List imageUrl; + + public string Id + { + get + { + return id; + } + set + { + id = value; + } + } + + public string ModelId + { + get + { + return modelId; + } + set + { + modelId = value; + } + } + + public string Name + { + get + { + return name; + } + set + { + name = value; + } + } - public string ModelTrainStatus + public string ObjectType { get { - return modelTrainStatus; + return objectType; } set { - modelTrainStatus = value; + objectType = value; + } + } + + public string JobStatus + { + get + { + return jobStatus; + } + set + { + jobStatus = value; + } + } + + public double? JobTrainProgress + { + get + { + return jobTrainProgress; + } + set + { + jobTrainProgress = value; + } + } + + public int? InferenceImageCount + { + get + { + return inferenceImageCount; + } + set + { + inferenceImageCount = value; + } + } + + public string CreateTime + { + get + { + return createTime; + } + set + { + createTime = value; + } + } + + public List InferenceJobList + { + get + { + return inferenceJobList; + } + set + { + inferenceJobList = value; + } + } + + public List ImageUrl + { + get + { + return imageUrl; + } + set + { + imageUrl = value; + } + } + + public class Personalizedtxt2imgAddModelTrainJob_InferenceJobListItem + { + + private string id; + + private string promptId; + + private string modelId; + + private string jobStatus; + + private double? jobTrainProgress; + + private string createTime; + + private List resultImageUrl; + + public string Id + { + get + { + return id; + } + set + { + id = value; + } + } + + public string PromptId + { + get + { + return promptId; + } + set + { + promptId = value; + } + } + + public string ModelId + { + get + { + return modelId; + } + set + { + modelId = value; + } + } + + public string JobStatus + { + get + { + return jobStatus; + } + set + { + jobStatus = value; + } + } + + public double? JobTrainProgress + { + get + { + return jobTrainProgress; + } + set + { + jobTrainProgress = value; + } + } + + public string CreateTime + { + get + { + return createTime; + } + set + { + createTime = value; + } + } + + public List ResultImageUrl + { + get + { + return resultImageUrl; + } + set + { + resultImageUrl = value; + } } } } diff --git a/aliyun-net-sdk-aicontent/AiContent/Model/V20240611/Personalizedtxt2imgQueryInferenceJobInfoResponse.cs b/aliyun-net-sdk-aicontent/AiContent/Model/V20240611/Personalizedtxt2imgQueryInferenceJobInfoResponse.cs index 44dc8844c..a480f47fe 100644 --- a/aliyun-net-sdk-aicontent/AiContent/Model/V20240611/Personalizedtxt2imgQueryInferenceJobInfoResponse.cs +++ b/aliyun-net-sdk-aicontent/AiContent/Model/V20240611/Personalizedtxt2imgQueryInferenceJobInfoResponse.cs @@ -33,6 +33,8 @@ public class Personalizedtxt2imgQueryInferenceJobInfoResponse : AcsResponse private string errMessage; + private int? httpStatusCode; + private Personalizedtxt2imgQueryInferenceJobInfo_Data data; public string RequestId @@ -83,6 +85,18 @@ public string ErrMessage } } + public int? HttpStatusCode + { + get + { + return httpStatusCode; + } + set + { + httpStatusCode = value; + } + } + public Personalizedtxt2imgQueryInferenceJobInfo_Data Data { get @@ -98,17 +112,101 @@ public Personalizedtxt2imgQueryInferenceJobInfo_Data Data public class Personalizedtxt2imgQueryInferenceJobInfo_Data { - private string modelTrainStatus; + private string id; + + private string promptId; + + private string modelId; + + private string jobStatus; + + private double? jobTrainProgress; + + private string createTime; + + private List resultImageUrl; + + public string Id + { + get + { + return id; + } + set + { + id = value; + } + } + + public string PromptId + { + get + { + return promptId; + } + set + { + promptId = value; + } + } + + public string ModelId + { + get + { + return modelId; + } + set + { + modelId = value; + } + } + + public string JobStatus + { + get + { + return jobStatus; + } + set + { + jobStatus = value; + } + } + + public double? JobTrainProgress + { + get + { + return jobTrainProgress; + } + set + { + jobTrainProgress = value; + } + } + + public string CreateTime + { + get + { + return createTime; + } + set + { + createTime = value; + } + } - public string ModelTrainStatus + public List ResultImageUrl { get { - return modelTrainStatus; + return resultImageUrl; } set { - modelTrainStatus = value; + resultImageUrl = value; } } } diff --git a/aliyun-net-sdk-aicontent/AiContent/Model/V20240611/Personalizedtxt2imgQueryModelTrainJobListResponse.cs b/aliyun-net-sdk-aicontent/AiContent/Model/V20240611/Personalizedtxt2imgQueryModelTrainJobListResponse.cs index 66767d280..e8cef3170 100644 --- a/aliyun-net-sdk-aicontent/AiContent/Model/V20240611/Personalizedtxt2imgQueryModelTrainJobListResponse.cs +++ b/aliyun-net-sdk-aicontent/AiContent/Model/V20240611/Personalizedtxt2imgQueryModelTrainJobListResponse.cs @@ -33,6 +33,8 @@ public class Personalizedtxt2imgQueryModelTrainJobListResponse : AcsResponse private string errMessage; + private int? httpStatusCode; + private List data; public string RequestId @@ -83,6 +85,18 @@ public string ErrMessage } } + public int? HttpStatusCode + { + get + { + return httpStatusCode; + } + set + { + httpStatusCode = value; + } + } + public List Data { get diff --git a/aliyun-net-sdk-aicontent/AiContent/Model/V20240611/Personalizedtxt2imgQueryModelTrainStatusResponse.cs b/aliyun-net-sdk-aicontent/AiContent/Model/V20240611/Personalizedtxt2imgQueryModelTrainStatusResponse.cs index 710cf7777..9cceb6d29 100644 --- a/aliyun-net-sdk-aicontent/AiContent/Model/V20240611/Personalizedtxt2imgQueryModelTrainStatusResponse.cs +++ b/aliyun-net-sdk-aicontent/AiContent/Model/V20240611/Personalizedtxt2imgQueryModelTrainStatusResponse.cs @@ -33,6 +33,8 @@ public class Personalizedtxt2imgQueryModelTrainStatusResponse : AcsResponse private string errMessage; + private int? httpStatusCode; + private Personalizedtxt2imgQueryModelTrainStatus_Data data; public string RequestId @@ -83,6 +85,18 @@ public string ErrMessage } } + public int? HttpStatusCode + { + get + { + return httpStatusCode; + } + set + { + httpStatusCode = value; + } + } + public Personalizedtxt2imgQueryModelTrainStatus_Data Data { get diff --git a/aliyun-net-sdk-aicontent/AiContent/Transform/V20240611/AliyunConsoleOpenApiQueryAliyunConsoleServcieListResponseUnmarshaller.cs b/aliyun-net-sdk-aicontent/AiContent/Transform/V20240611/AliyunConsoleOpenApiQueryAliyunConsoleServcieListResponseUnmarshaller.cs index 523681aac..e5617103e 100644 --- a/aliyun-net-sdk-aicontent/AiContent/Transform/V20240611/AliyunConsoleOpenApiQueryAliyunConsoleServcieListResponseUnmarshaller.cs +++ b/aliyun-net-sdk-aicontent/AiContent/Transform/V20240611/AliyunConsoleOpenApiQueryAliyunConsoleServcieListResponseUnmarshaller.cs @@ -35,44 +35,15 @@ public static AliyunConsoleOpenApiQueryAliyunConsoleServcieListResponse Unmarsha aliyunConsoleOpenApiQueryAliyunConsoleServcieListResponse.Success = _ctx.BooleanValue("AliyunConsoleOpenApiQueryAliyunConsoleServcieList.success"); aliyunConsoleOpenApiQueryAliyunConsoleServcieListResponse.ErrCode = _ctx.StringValue("AliyunConsoleOpenApiQueryAliyunConsoleServcieList.errCode"); aliyunConsoleOpenApiQueryAliyunConsoleServcieListResponse.ErrMessage = _ctx.StringValue("AliyunConsoleOpenApiQueryAliyunConsoleServcieList.errMessage"); + aliyunConsoleOpenApiQueryAliyunConsoleServcieListResponse.HttpStatusCode = _ctx.IntegerValue("AliyunConsoleOpenApiQueryAliyunConsoleServcieList.httpStatusCode"); List aliyunConsoleOpenApiQueryAliyunConsoleServcieListResponse_data = new List(); for (int i = 0; i < _ctx.Length("AliyunConsoleOpenApiQueryAliyunConsoleServcieList.Data.Length"); i++) { AliyunConsoleOpenApiQueryAliyunConsoleServcieListResponse.AliyunConsoleOpenApiQueryAliyunConsoleServcieList_DataItem dataItem = new AliyunConsoleOpenApiQueryAliyunConsoleServcieListResponse.AliyunConsoleOpenApiQueryAliyunConsoleServcieList_DataItem(); - dataItem.Id = _ctx.StringValue("AliyunConsoleOpenApiQueryAliyunConsoleServcieList.Data["+ i +"].id"); - dataItem.ModelId = _ctx.StringValue("AliyunConsoleOpenApiQueryAliyunConsoleServcieList.Data["+ i +"].modelId"); - dataItem.Name = _ctx.StringValue("AliyunConsoleOpenApiQueryAliyunConsoleServcieList.Data["+ i +"].name"); - dataItem.ObjectType = _ctx.StringValue("AliyunConsoleOpenApiQueryAliyunConsoleServcieList.Data["+ i +"].objectType"); - dataItem.JobStatus = _ctx.StringValue("AliyunConsoleOpenApiQueryAliyunConsoleServcieList.Data["+ i +"].jobStatus"); - dataItem.JobTrainProgress = _ctx.DoubleValue("AliyunConsoleOpenApiQueryAliyunConsoleServcieList.Data["+ i +"].jobTrainProgress"); - dataItem.InferenceImageCount = _ctx.IntegerValue("AliyunConsoleOpenApiQueryAliyunConsoleServcieList.Data["+ i +"].inferenceImageCount"); - dataItem.CreateTime = _ctx.StringValue("AliyunConsoleOpenApiQueryAliyunConsoleServcieList.Data["+ i +"].createTime"); - - List dataItem_imageUrl = new List(); - for (int j = 0; j < _ctx.Length("AliyunConsoleOpenApiQueryAliyunConsoleServcieList.Data["+ i +"].ImageUrl.Length"); j++) { - dataItem_imageUrl.Add(_ctx.StringValue("AliyunConsoleOpenApiQueryAliyunConsoleServcieList.Data["+ i +"].ImageUrl["+ j +"]")); - } - dataItem.ImageUrl = dataItem_imageUrl; - - List dataItem_inferenceJobList = new List(); - for (int j = 0; j < _ctx.Length("AliyunConsoleOpenApiQueryAliyunConsoleServcieList.Data["+ i +"].InferenceJobList.Length"); j++) { - AliyunConsoleOpenApiQueryAliyunConsoleServcieListResponse.AliyunConsoleOpenApiQueryAliyunConsoleServcieList_DataItem.AliyunConsoleOpenApiQueryAliyunConsoleServcieList_InferenceJobListItem inferenceJobListItem = new AliyunConsoleOpenApiQueryAliyunConsoleServcieListResponse.AliyunConsoleOpenApiQueryAliyunConsoleServcieList_DataItem.AliyunConsoleOpenApiQueryAliyunConsoleServcieList_InferenceJobListItem(); - inferenceJobListItem.Id = _ctx.StringValue("AliyunConsoleOpenApiQueryAliyunConsoleServcieList.Data["+ i +"].InferenceJobList["+ j +"].id"); - inferenceJobListItem.PromptId = _ctx.StringValue("AliyunConsoleOpenApiQueryAliyunConsoleServcieList.Data["+ i +"].InferenceJobList["+ j +"].promptId"); - inferenceJobListItem.ModelId = _ctx.StringValue("AliyunConsoleOpenApiQueryAliyunConsoleServcieList.Data["+ i +"].InferenceJobList["+ j +"].modelId"); - inferenceJobListItem.JobStatus = _ctx.StringValue("AliyunConsoleOpenApiQueryAliyunConsoleServcieList.Data["+ i +"].InferenceJobList["+ j +"].jobStatus"); - inferenceJobListItem.JobTrainProgress = _ctx.DoubleValue("AliyunConsoleOpenApiQueryAliyunConsoleServcieList.Data["+ i +"].InferenceJobList["+ j +"].jobTrainProgress"); - inferenceJobListItem.CreateTime = _ctx.StringValue("AliyunConsoleOpenApiQueryAliyunConsoleServcieList.Data["+ i +"].InferenceJobList["+ j +"].createTime"); - - List inferenceJobListItem_resultImageUrl = new List(); - for (int k = 0; k < _ctx.Length("AliyunConsoleOpenApiQueryAliyunConsoleServcieList.Data["+ i +"].InferenceJobList["+ j +"].ResultImageUrl.Length"); k++) { - inferenceJobListItem_resultImageUrl.Add(_ctx.StringValue("AliyunConsoleOpenApiQueryAliyunConsoleServcieList.Data["+ i +"].InferenceJobList["+ j +"].ResultImageUrl["+ k +"]")); - } - inferenceJobListItem.ResultImageUrl = inferenceJobListItem_resultImageUrl; - - dataItem_inferenceJobList.Add(inferenceJobListItem); - } - dataItem.InferenceJobList = dataItem_inferenceJobList; + dataItem.ServiceCode = _ctx.StringValue("AliyunConsoleOpenApiQueryAliyunConsoleServcieList.Data["+ i +"].ServiceCode"); + dataItem.ServiceName = _ctx.StringValue("AliyunConsoleOpenApiQueryAliyunConsoleServcieList.Data["+ i +"].ServiceName"); + dataItem.FreeCount = _ctx.IntegerValue("AliyunConsoleOpenApiQueryAliyunConsoleServcieList.Data["+ i +"].FreeCount"); + dataItem.FreeConcurrencyCount = _ctx.IntegerValue("AliyunConsoleOpenApiQueryAliyunConsoleServcieList.Data["+ i +"].FreeConcurrencyCount"); aliyunConsoleOpenApiQueryAliyunConsoleServcieListResponse_data.Add(dataItem); } diff --git a/aliyun-net-sdk-aicontent/AiContent/Transform/V20240611/Personalizedtxt2imgAddInferenceJobResponseUnmarshaller.cs b/aliyun-net-sdk-aicontent/AiContent/Transform/V20240611/Personalizedtxt2imgAddInferenceJobResponseUnmarshaller.cs index ce972a72e..8129eef3a 100644 --- a/aliyun-net-sdk-aicontent/AiContent/Transform/V20240611/Personalizedtxt2imgAddInferenceJobResponseUnmarshaller.cs +++ b/aliyun-net-sdk-aicontent/AiContent/Transform/V20240611/Personalizedtxt2imgAddInferenceJobResponseUnmarshaller.cs @@ -35,9 +35,21 @@ public static Personalizedtxt2imgAddInferenceJobResponse Unmarshall(Unmarshaller personalizedtxt2imgAddInferenceJobResponse.Success = _ctx.BooleanValue("Personalizedtxt2imgAddInferenceJob.success"); personalizedtxt2imgAddInferenceJobResponse.ErrCode = _ctx.StringValue("Personalizedtxt2imgAddInferenceJob.errCode"); personalizedtxt2imgAddInferenceJobResponse.ErrMessage = _ctx.StringValue("Personalizedtxt2imgAddInferenceJob.errMessage"); + personalizedtxt2imgAddInferenceJobResponse.HttpStatusCode = _ctx.IntegerValue("Personalizedtxt2imgAddInferenceJob.httpStatusCode"); Personalizedtxt2imgAddInferenceJobResponse.Personalizedtxt2imgAddInferenceJob_Data data = new Personalizedtxt2imgAddInferenceJobResponse.Personalizedtxt2imgAddInferenceJob_Data(); - data.ModelTrainStatus = _ctx.StringValue("Personalizedtxt2imgAddInferenceJob.Data.modelTrainStatus"); + data.Id = _ctx.StringValue("Personalizedtxt2imgAddInferenceJob.Data.id"); + data.PromptId = _ctx.StringValue("Personalizedtxt2imgAddInferenceJob.Data.promptId"); + data.ModelId = _ctx.StringValue("Personalizedtxt2imgAddInferenceJob.Data.modelId"); + data.JobStatus = _ctx.StringValue("Personalizedtxt2imgAddInferenceJob.Data.jobStatus"); + data.JobTrainProgress = _ctx.DoubleValue("Personalizedtxt2imgAddInferenceJob.Data.jobTrainProgress"); + data.CreateTime = _ctx.StringValue("Personalizedtxt2imgAddInferenceJob.Data.createTime"); + + List data_resultImageUrl = new List(); + for (int i = 0; i < _ctx.Length("Personalizedtxt2imgAddInferenceJob.Data.ResultImageUrl.Length"); i++) { + data_resultImageUrl.Add(_ctx.StringValue("Personalizedtxt2imgAddInferenceJob.Data.ResultImageUrl["+ i +"]")); + } + data.ResultImageUrl = data_resultImageUrl; personalizedtxt2imgAddInferenceJobResponse.Data = data; return personalizedtxt2imgAddInferenceJobResponse; diff --git a/aliyun-net-sdk-aicontent/AiContent/Transform/V20240611/Personalizedtxt2imgAddModelTrainJobResponseUnmarshaller.cs b/aliyun-net-sdk-aicontent/AiContent/Transform/V20240611/Personalizedtxt2imgAddModelTrainJobResponseUnmarshaller.cs index 1ba081023..418d1192e 100644 --- a/aliyun-net-sdk-aicontent/AiContent/Transform/V20240611/Personalizedtxt2imgAddModelTrainJobResponseUnmarshaller.cs +++ b/aliyun-net-sdk-aicontent/AiContent/Transform/V20240611/Personalizedtxt2imgAddModelTrainJobResponseUnmarshaller.cs @@ -35,9 +35,43 @@ public static Personalizedtxt2imgAddModelTrainJobResponse Unmarshall(Unmarshalle personalizedtxt2imgAddModelTrainJobResponse.Success = _ctx.BooleanValue("Personalizedtxt2imgAddModelTrainJob.success"); personalizedtxt2imgAddModelTrainJobResponse.ErrCode = _ctx.StringValue("Personalizedtxt2imgAddModelTrainJob.errCode"); personalizedtxt2imgAddModelTrainJobResponse.ErrMessage = _ctx.StringValue("Personalizedtxt2imgAddModelTrainJob.errMessage"); + personalizedtxt2imgAddModelTrainJobResponse.HttpStatusCode = _ctx.IntegerValue("Personalizedtxt2imgAddModelTrainJob.httpStatusCode"); Personalizedtxt2imgAddModelTrainJobResponse.Personalizedtxt2imgAddModelTrainJob_Data data = new Personalizedtxt2imgAddModelTrainJobResponse.Personalizedtxt2imgAddModelTrainJob_Data(); - data.ModelTrainStatus = _ctx.StringValue("Personalizedtxt2imgAddModelTrainJob.Data.modelTrainStatus"); + data.Id = _ctx.StringValue("Personalizedtxt2imgAddModelTrainJob.Data.id"); + data.ModelId = _ctx.StringValue("Personalizedtxt2imgAddModelTrainJob.Data.modelId"); + data.Name = _ctx.StringValue("Personalizedtxt2imgAddModelTrainJob.Data.name"); + data.ObjectType = _ctx.StringValue("Personalizedtxt2imgAddModelTrainJob.Data.objectType"); + data.JobStatus = _ctx.StringValue("Personalizedtxt2imgAddModelTrainJob.Data.jobStatus"); + data.JobTrainProgress = _ctx.DoubleValue("Personalizedtxt2imgAddModelTrainJob.Data.jobTrainProgress"); + data.InferenceImageCount = _ctx.IntegerValue("Personalizedtxt2imgAddModelTrainJob.Data.inferenceImageCount"); + data.CreateTime = _ctx.StringValue("Personalizedtxt2imgAddModelTrainJob.Data.createTime"); + + List data_imageUrl = new List(); + for (int i = 0; i < _ctx.Length("Personalizedtxt2imgAddModelTrainJob.Data.ImageUrl.Length"); i++) { + data_imageUrl.Add(_ctx.StringValue("Personalizedtxt2imgAddModelTrainJob.Data.ImageUrl["+ i +"]")); + } + data.ImageUrl = data_imageUrl; + + List data_inferenceJobList = new List(); + for (int i = 0; i < _ctx.Length("Personalizedtxt2imgAddModelTrainJob.Data.InferenceJobList.Length"); i++) { + Personalizedtxt2imgAddModelTrainJobResponse.Personalizedtxt2imgAddModelTrainJob_Data.Personalizedtxt2imgAddModelTrainJob_InferenceJobListItem inferenceJobListItem = new Personalizedtxt2imgAddModelTrainJobResponse.Personalizedtxt2imgAddModelTrainJob_Data.Personalizedtxt2imgAddModelTrainJob_InferenceJobListItem(); + inferenceJobListItem.Id = _ctx.StringValue("Personalizedtxt2imgAddModelTrainJob.Data.InferenceJobList["+ i +"].id"); + inferenceJobListItem.PromptId = _ctx.StringValue("Personalizedtxt2imgAddModelTrainJob.Data.InferenceJobList["+ i +"].promptId"); + inferenceJobListItem.ModelId = _ctx.StringValue("Personalizedtxt2imgAddModelTrainJob.Data.InferenceJobList["+ i +"].modelId"); + inferenceJobListItem.JobStatus = _ctx.StringValue("Personalizedtxt2imgAddModelTrainJob.Data.InferenceJobList["+ i +"].jobStatus"); + inferenceJobListItem.JobTrainProgress = _ctx.DoubleValue("Personalizedtxt2imgAddModelTrainJob.Data.InferenceJobList["+ i +"].jobTrainProgress"); + inferenceJobListItem.CreateTime = _ctx.StringValue("Personalizedtxt2imgAddModelTrainJob.Data.InferenceJobList["+ i +"].createTime"); + + List inferenceJobListItem_resultImageUrl = new List(); + for (int j = 0; j < _ctx.Length("Personalizedtxt2imgAddModelTrainJob.Data.InferenceJobList["+ i +"].ResultImageUrl.Length"); j++) { + inferenceJobListItem_resultImageUrl.Add(_ctx.StringValue("Personalizedtxt2imgAddModelTrainJob.Data.InferenceJobList["+ i +"].ResultImageUrl["+ j +"]")); + } + inferenceJobListItem.ResultImageUrl = inferenceJobListItem_resultImageUrl; + + data_inferenceJobList.Add(inferenceJobListItem); + } + data.InferenceJobList = data_inferenceJobList; personalizedtxt2imgAddModelTrainJobResponse.Data = data; return personalizedtxt2imgAddModelTrainJobResponse; diff --git a/aliyun-net-sdk-aicontent/AiContent/Transform/V20240611/Personalizedtxt2imgQueryInferenceJobInfoResponseUnmarshaller.cs b/aliyun-net-sdk-aicontent/AiContent/Transform/V20240611/Personalizedtxt2imgQueryInferenceJobInfoResponseUnmarshaller.cs index face53e8d..f0dce5349 100644 --- a/aliyun-net-sdk-aicontent/AiContent/Transform/V20240611/Personalizedtxt2imgQueryInferenceJobInfoResponseUnmarshaller.cs +++ b/aliyun-net-sdk-aicontent/AiContent/Transform/V20240611/Personalizedtxt2imgQueryInferenceJobInfoResponseUnmarshaller.cs @@ -35,9 +35,21 @@ public static Personalizedtxt2imgQueryInferenceJobInfoResponse Unmarshall(Unmars personalizedtxt2imgQueryInferenceJobInfoResponse.Success = _ctx.BooleanValue("Personalizedtxt2imgQueryInferenceJobInfo.success"); personalizedtxt2imgQueryInferenceJobInfoResponse.ErrCode = _ctx.StringValue("Personalizedtxt2imgQueryInferenceJobInfo.errCode"); personalizedtxt2imgQueryInferenceJobInfoResponse.ErrMessage = _ctx.StringValue("Personalizedtxt2imgQueryInferenceJobInfo.errMessage"); + personalizedtxt2imgQueryInferenceJobInfoResponse.HttpStatusCode = _ctx.IntegerValue("Personalizedtxt2imgQueryInferenceJobInfo.httpStatusCode"); Personalizedtxt2imgQueryInferenceJobInfoResponse.Personalizedtxt2imgQueryInferenceJobInfo_Data data = new Personalizedtxt2imgQueryInferenceJobInfoResponse.Personalizedtxt2imgQueryInferenceJobInfo_Data(); - data.ModelTrainStatus = _ctx.StringValue("Personalizedtxt2imgQueryInferenceJobInfo.Data.modelTrainStatus"); + data.Id = _ctx.StringValue("Personalizedtxt2imgQueryInferenceJobInfo.Data.id"); + data.PromptId = _ctx.StringValue("Personalizedtxt2imgQueryInferenceJobInfo.Data.promptId"); + data.ModelId = _ctx.StringValue("Personalizedtxt2imgQueryInferenceJobInfo.Data.modelId"); + data.JobStatus = _ctx.StringValue("Personalizedtxt2imgQueryInferenceJobInfo.Data.jobStatus"); + data.JobTrainProgress = _ctx.DoubleValue("Personalizedtxt2imgQueryInferenceJobInfo.Data.jobTrainProgress"); + data.CreateTime = _ctx.StringValue("Personalizedtxt2imgQueryInferenceJobInfo.Data.createTime"); + + List data_resultImageUrl = new List(); + for (int i = 0; i < _ctx.Length("Personalizedtxt2imgQueryInferenceJobInfo.Data.ResultImageUrl.Length"); i++) { + data_resultImageUrl.Add(_ctx.StringValue("Personalizedtxt2imgQueryInferenceJobInfo.Data.ResultImageUrl["+ i +"]")); + } + data.ResultImageUrl = data_resultImageUrl; personalizedtxt2imgQueryInferenceJobInfoResponse.Data = data; return personalizedtxt2imgQueryInferenceJobInfoResponse; diff --git a/aliyun-net-sdk-aicontent/AiContent/Transform/V20240611/Personalizedtxt2imgQueryModelTrainJobListResponseUnmarshaller.cs b/aliyun-net-sdk-aicontent/AiContent/Transform/V20240611/Personalizedtxt2imgQueryModelTrainJobListResponseUnmarshaller.cs index 29fbada94..ec4a26c9a 100644 --- a/aliyun-net-sdk-aicontent/AiContent/Transform/V20240611/Personalizedtxt2imgQueryModelTrainJobListResponseUnmarshaller.cs +++ b/aliyun-net-sdk-aicontent/AiContent/Transform/V20240611/Personalizedtxt2imgQueryModelTrainJobListResponseUnmarshaller.cs @@ -35,6 +35,7 @@ public static Personalizedtxt2imgQueryModelTrainJobListResponse Unmarshall(Unmar personalizedtxt2imgQueryModelTrainJobListResponse.Success = _ctx.BooleanValue("Personalizedtxt2imgQueryModelTrainJobList.success"); personalizedtxt2imgQueryModelTrainJobListResponse.ErrCode = _ctx.StringValue("Personalizedtxt2imgQueryModelTrainJobList.errCode"); personalizedtxt2imgQueryModelTrainJobListResponse.ErrMessage = _ctx.StringValue("Personalizedtxt2imgQueryModelTrainJobList.errMessage"); + personalizedtxt2imgQueryModelTrainJobListResponse.HttpStatusCode = _ctx.IntegerValue("Personalizedtxt2imgQueryModelTrainJobList.httpStatusCode"); List personalizedtxt2imgQueryModelTrainJobListResponse_data = new List(); for (int i = 0; i < _ctx.Length("Personalizedtxt2imgQueryModelTrainJobList.Data.Length"); i++) { diff --git a/aliyun-net-sdk-aicontent/AiContent/Transform/V20240611/Personalizedtxt2imgQueryModelTrainStatusResponseUnmarshaller.cs b/aliyun-net-sdk-aicontent/AiContent/Transform/V20240611/Personalizedtxt2imgQueryModelTrainStatusResponseUnmarshaller.cs index 565dffd6b..f99bc1cdd 100644 --- a/aliyun-net-sdk-aicontent/AiContent/Transform/V20240611/Personalizedtxt2imgQueryModelTrainStatusResponseUnmarshaller.cs +++ b/aliyun-net-sdk-aicontent/AiContent/Transform/V20240611/Personalizedtxt2imgQueryModelTrainStatusResponseUnmarshaller.cs @@ -35,6 +35,7 @@ public static Personalizedtxt2imgQueryModelTrainStatusResponse Unmarshall(Unmars personalizedtxt2imgQueryModelTrainStatusResponse.Success = _ctx.BooleanValue("Personalizedtxt2imgQueryModelTrainStatus.success"); personalizedtxt2imgQueryModelTrainStatusResponse.ErrCode = _ctx.StringValue("Personalizedtxt2imgQueryModelTrainStatus.errCode"); personalizedtxt2imgQueryModelTrainStatusResponse.ErrMessage = _ctx.StringValue("Personalizedtxt2imgQueryModelTrainStatus.errMessage"); + personalizedtxt2imgQueryModelTrainStatusResponse.HttpStatusCode = _ctx.IntegerValue("Personalizedtxt2imgQueryModelTrainStatus.httpStatusCode"); Personalizedtxt2imgQueryModelTrainStatusResponse.Personalizedtxt2imgQueryModelTrainStatus_Data data = new Personalizedtxt2imgQueryModelTrainStatusResponse.Personalizedtxt2imgQueryModelTrainStatus_Data(); data.ModelTrainStatus = _ctx.StringValue("Personalizedtxt2imgQueryModelTrainStatus.Data.modelTrainStatus"); diff --git a/aliyun-net-sdk-aicontent/aliyun-net-sdk-aicontent.vs2017.csproj b/aliyun-net-sdk-aicontent/aliyun-net-sdk-aicontent.vs2017.csproj index 63afdba41..b0965f52c 100644 --- a/aliyun-net-sdk-aicontent/aliyun-net-sdk-aicontent.vs2017.csproj +++ b/aliyun-net-sdk-aicontent/aliyun-net-sdk-aicontent.vs2017.csproj @@ -3,7 +3,7 @@ netstandard2.0;net45 Aliyun.Acs.AiContent - 1.0.0 + 1.0.1 Alibaba Cloud ©2009-2019 Alibaba Cloud false