Table of Contents

Class TagsImageV2Response

Namespace
SKIT.FlurlHttpClient.ByteDance.MicroApp.Models
Assembly
DH.SKIT.FlurlHttpClient.ByteDance.MicroApp.dll

表示 [POST] /v2/tags/image 接口的响应。

public class TagsImageV2Response : ByteDanceMicroAppResponse, ICommonResponse
Inheritance
TagsImageV2Response
Implements
ICommonResponse
Inherited Members

Constructors

TagsImageV2Response()

public TagsImageV2Response()

Properties

ErrorCode

获取字节小程序 API 返回的详细错误号。

[JsonPropertyName("code")]
public override long ErrorCode { get; set; }

Property Value

long

ErrorId

获取或设置错误 ID。

[JsonPropertyName("error_id")]
public string? ErrorId { get; set; }

Property Value

string

ErrorMessage

获取字节小程序 API 返回的错误描述。

[JsonPropertyName("exception")]
public override string? ErrorMessage { get; set; }

Property Value

string

ResultList

获取或设置检测结果列表。

[JsonPropertyName("data")]
public TagsImageV2Response.Types.Result[] ResultList { get; set; }

Property Value

Result[]

Methods

IsSuccessful()

获取一个值,该值指示调用字节小程序 API 是否成功(即 HTTP 状态码为 200、且 "errcode" 值为 0)。

public override bool IsSuccessful()

Returns

bool