index
int64
repo_id
string
file_path
string
content
string
0
java-sources/com/aliyun/alibabacloud-sophonsoar20220728/3.0.0/com/aliyun/sdk/service/sophonsoar20220728
java-sources/com/aliyun/alibabacloud-sophonsoar20220728/3.0.0/com/aliyun/sdk/service/sophonsoar20220728/models/DescribeFieldResponse.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.sophonsoar20220728.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link DescribeFieldResponse} extends {@link TeaModel} * * <p>DescribeFieldResponse</p> */ public class DescribeFieldResponse extends Response { @com.aliyun.core.annotation.NameInMap("headers") private java.util.Map<String, String> headers; @com.aliyun.core.annotation.NameInMap("statusCode") private Integer statusCode; @com.aliyun.core.annotation.NameInMap("body") private DescribeFieldResponseBody body; private DescribeFieldResponse(BuilderImpl builder) { super(builder); this.headers = builder.headers; this.statusCode = builder.statusCode; this.body = builder.body; } public static DescribeFieldResponse create() { return new BuilderImpl().build(); } @Override public Builder toBuilder() { return new BuilderImpl(this); } /** * @return headers */ public java.util.Map<String, String> getHeaders() { return this.headers; } /** * @return statusCode */ public Integer getStatusCode() { return this.statusCode; } /** * @return body */ public DescribeFieldResponseBody getBody() { return this.body; } public interface Builder extends Response.Builder<DescribeFieldResponse, Builder> { Builder headers(java.util.Map<String, String> headers); Builder statusCode(Integer statusCode); Builder body(DescribeFieldResponseBody body); @Override DescribeFieldResponse build(); } private static final class BuilderImpl extends Response.BuilderImpl<DescribeFieldResponse, Builder> implements Builder { private java.util.Map<String, String> headers; private Integer statusCode; private DescribeFieldResponseBody body; private BuilderImpl() { super(); } private BuilderImpl(DescribeFieldResponse response) { super(response); this.headers = response.headers; this.statusCode = response.statusCode; this.body = response.body; } /** * headers. */ @Override public Builder headers(java.util.Map<String, String> headers) { this.headers = headers; return this; } /** * statusCode. */ @Override public Builder statusCode(Integer statusCode) { this.statusCode = statusCode; return this; } /** * body. */ @Override public Builder body(DescribeFieldResponseBody body) { this.body = body; return this; } @Override public DescribeFieldResponse build() { return new DescribeFieldResponse(this); } } }
0
java-sources/com/aliyun/alibabacloud-sophonsoar20220728/3.0.0/com/aliyun/sdk/service/sophonsoar20220728
java-sources/com/aliyun/alibabacloud-sophonsoar20220728/3.0.0/com/aliyun/sdk/service/sophonsoar20220728/models/DescribeFieldResponseBody.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.sophonsoar20220728.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link DescribeFieldResponseBody} extends {@link TeaModel} * * <p>DescribeFieldResponseBody</p> */ public class DescribeFieldResponseBody extends TeaModel { @com.aliyun.core.annotation.NameInMap("Fields") private String fields; @com.aliyun.core.annotation.NameInMap("Name") private String name; @com.aliyun.core.annotation.NameInMap("RequestId") private String requestId; private DescribeFieldResponseBody(Builder builder) { this.fields = builder.fields; this.name = builder.name; this.requestId = builder.requestId; } public static Builder builder() { return new Builder(); } public static DescribeFieldResponseBody create() { return builder().build(); } public Builder toBuilder() { return new Builder(this); } /** * @return fields */ public String getFields() { return this.fields; } /** * @return name */ public String getName() { return this.name; } /** * @return requestId */ public String getRequestId() { return this.requestId; } public static final class Builder { private String fields; private String name; private String requestId; private Builder() { } private Builder(DescribeFieldResponseBody model) { this.fields = model.fields; this.name = model.name; this.requestId = model.requestId; } /** * <p>The configuration content.</p> * * <strong>example:</strong> * <p>[&quot;ip&quot;,&quot;name&quot;,&quot;hostinfo&quot;,&quot;md5&quot;]</p> */ public Builder fields(String fields) { this.fields = fields; return this; } /** * <p>The name of the global configuration.</p> * * <strong>example:</strong> * <p>soar_filed_tags</p> */ public Builder name(String name) { this.name = name; return this; } /** * <p>The request ID.</p> * * <strong>example:</strong> * <p>BCDE6498-83CC-50A1-8307-3D5A539C42F8</p> */ public Builder requestId(String requestId) { this.requestId = requestId; return this; } public DescribeFieldResponseBody build() { return new DescribeFieldResponseBody(this); } } }
0
java-sources/com/aliyun/alibabacloud-sophonsoar20220728/3.0.0/com/aliyun/sdk/service/sophonsoar20220728
java-sources/com/aliyun/alibabacloud-sophonsoar20220728/3.0.0/com/aliyun/sdk/service/sophonsoar20220728/models/DescribeGroupProductionsRequest.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.sophonsoar20220728.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link DescribeGroupProductionsRequest} extends {@link RequestModel} * * <p>DescribeGroupProductionsRequest</p> */ public class DescribeGroupProductionsRequest extends Request { @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("Lang") private String lang; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("RoleFor") private Long roleFor; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("RoleType") private String roleType; private DescribeGroupProductionsRequest(Builder builder) { super(builder); this.lang = builder.lang; this.roleFor = builder.roleFor; this.roleType = builder.roleType; } public static Builder builder() { return new Builder(); } public static DescribeGroupProductionsRequest create() { return builder().build(); } @Override public Builder toBuilder() { return new Builder(this); } /** * @return lang */ public String getLang() { return this.lang; } /** * @return roleFor */ public Long getRoleFor() { return this.roleFor; } /** * @return roleType */ public String getRoleType() { return this.roleType; } public static final class Builder extends Request.Builder<DescribeGroupProductionsRequest, Builder> { private String lang; private Long roleFor; private String roleType; private Builder() { super(); } private Builder(DescribeGroupProductionsRequest request) { super(request); this.lang = request.lang; this.roleFor = request.roleFor; this.roleType = request.roleType; } /** * Lang. */ public Builder lang(String lang) { this.putQueryParameter("Lang", lang); this.lang = lang; return this; } /** * RoleFor. */ public Builder roleFor(Long roleFor) { this.putQueryParameter("RoleFor", roleFor); this.roleFor = roleFor; return this; } /** * RoleType. */ public Builder roleType(String roleType) { this.putQueryParameter("RoleType", roleType); this.roleType = roleType; return this; } @Override public DescribeGroupProductionsRequest build() { return new DescribeGroupProductionsRequest(this); } } }
0
java-sources/com/aliyun/alibabacloud-sophonsoar20220728/3.0.0/com/aliyun/sdk/service/sophonsoar20220728
java-sources/com/aliyun/alibabacloud-sophonsoar20220728/3.0.0/com/aliyun/sdk/service/sophonsoar20220728/models/DescribeGroupProductionsResponse.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.sophonsoar20220728.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link DescribeGroupProductionsResponse} extends {@link TeaModel} * * <p>DescribeGroupProductionsResponse</p> */ public class DescribeGroupProductionsResponse extends Response { @com.aliyun.core.annotation.NameInMap("headers") private java.util.Map<String, String> headers; @com.aliyun.core.annotation.NameInMap("statusCode") private Integer statusCode; @com.aliyun.core.annotation.NameInMap("body") private DescribeGroupProductionsResponseBody body; private DescribeGroupProductionsResponse(BuilderImpl builder) { super(builder); this.headers = builder.headers; this.statusCode = builder.statusCode; this.body = builder.body; } public static DescribeGroupProductionsResponse create() { return new BuilderImpl().build(); } @Override public Builder toBuilder() { return new BuilderImpl(this); } /** * @return headers */ public java.util.Map<String, String> getHeaders() { return this.headers; } /** * @return statusCode */ public Integer getStatusCode() { return this.statusCode; } /** * @return body */ public DescribeGroupProductionsResponseBody getBody() { return this.body; } public interface Builder extends Response.Builder<DescribeGroupProductionsResponse, Builder> { Builder headers(java.util.Map<String, String> headers); Builder statusCode(Integer statusCode); Builder body(DescribeGroupProductionsResponseBody body); @Override DescribeGroupProductionsResponse build(); } private static final class BuilderImpl extends Response.BuilderImpl<DescribeGroupProductionsResponse, Builder> implements Builder { private java.util.Map<String, String> headers; private Integer statusCode; private DescribeGroupProductionsResponseBody body; private BuilderImpl() { super(); } private BuilderImpl(DescribeGroupProductionsResponse response) { super(response); this.headers = response.headers; this.statusCode = response.statusCode; this.body = response.body; } /** * headers. */ @Override public Builder headers(java.util.Map<String, String> headers) { this.headers = headers; return this; } /** * statusCode. */ @Override public Builder statusCode(Integer statusCode) { this.statusCode = statusCode; return this; } /** * body. */ @Override public Builder body(DescribeGroupProductionsResponseBody body) { this.body = body; return this; } @Override public DescribeGroupProductionsResponse build() { return new DescribeGroupProductionsResponse(this); } } }
0
java-sources/com/aliyun/alibabacloud-sophonsoar20220728/3.0.0/com/aliyun/sdk/service/sophonsoar20220728
java-sources/com/aliyun/alibabacloud-sophonsoar20220728/3.0.0/com/aliyun/sdk/service/sophonsoar20220728/models/DescribeGroupProductionsResponseBody.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.sophonsoar20220728.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link DescribeGroupProductionsResponseBody} extends {@link TeaModel} * * <p>DescribeGroupProductionsResponseBody</p> */ public class DescribeGroupProductionsResponseBody extends TeaModel { @com.aliyun.core.annotation.NameInMap("Data") private java.util.List<Data> data; @com.aliyun.core.annotation.NameInMap("Page") private Page page; @com.aliyun.core.annotation.NameInMap("RequestId") private String requestId; private DescribeGroupProductionsResponseBody(Builder builder) { this.data = builder.data; this.page = builder.page; this.requestId = builder.requestId; } public static Builder builder() { return new Builder(); } public static DescribeGroupProductionsResponseBody create() { return builder().build(); } public Builder toBuilder() { return new Builder(this); } /** * @return data */ public java.util.List<Data> getData() { return this.data; } /** * @return page */ public Page getPage() { return this.page; } /** * @return requestId */ public String getRequestId() { return this.requestId; } public static final class Builder { private java.util.List<Data> data; private Page page; private String requestId; private Builder() { } private Builder(DescribeGroupProductionsResponseBody model) { this.data = model.data; this.page = model.page; this.requestId = model.requestId; } /** * Data. */ public Builder data(java.util.List<Data> data) { this.data = data; return this; } /** * Page. */ public Builder page(Page page) { this.page = page; return this; } /** * RequestId. */ public Builder requestId(String requestId) { this.requestId = requestId; return this; } public DescribeGroupProductionsResponseBody build() { return new DescribeGroupProductionsResponseBody(this); } } /** * * {@link DescribeGroupProductionsResponseBody} extends {@link TeaModel} * * <p>DescribeGroupProductionsResponseBody</p> */ public static class PolicyList extends TeaModel { @com.aliyun.core.annotation.NameInMap("PolicyName") private String policyName; @com.aliyun.core.annotation.NameInMap("Type") private String type; private PolicyList(Builder builder) { this.policyName = builder.policyName; this.type = builder.type; } public static Builder builder() { return new Builder(); } public static PolicyList create() { return builder().build(); } /** * @return policyName */ public String getPolicyName() { return this.policyName; } /** * @return type */ public String getType() { return this.type; } public static final class Builder { private String policyName; private String type; private Builder() { } private Builder(PolicyList model) { this.policyName = model.policyName; this.type = model.type; } /** * PolicyName. */ public Builder policyName(String policyName) { this.policyName = policyName; return this; } /** * Type. */ public Builder type(String type) { this.type = type; return this; } public PolicyList build() { return new PolicyList(this); } } } /** * * {@link DescribeGroupProductionsResponseBody} extends {@link TeaModel} * * <p>DescribeGroupProductionsResponseBody</p> */ public static class Productions extends TeaModel { @com.aliyun.core.annotation.NameInMap("Code") private String code; @com.aliyun.core.annotation.NameInMap("DefaultDomain") private String defaultDomain; @com.aliyun.core.annotation.NameInMap("DefaultVersion") private String defaultVersion; @com.aliyun.core.annotation.NameInMap("Description") private String description; @com.aliyun.core.annotation.NameInMap("FullDomains") private java.util.List<String> fullDomains; @com.aliyun.core.annotation.NameInMap("Group") private String group; @com.aliyun.core.annotation.NameInMap("Name") private String name; @com.aliyun.core.annotation.NameInMap("PolicyList") private java.util.List<PolicyList> policyList; @com.aliyun.core.annotation.NameInMap("RamCode") private String ramCode; @com.aliyun.core.annotation.NameInMap("ShortName") private String shortName; @com.aliyun.core.annotation.NameInMap("Source") private String source; @com.aliyun.core.annotation.NameInMap("Versions") private java.util.List<String> versions; private Productions(Builder builder) { this.code = builder.code; this.defaultDomain = builder.defaultDomain; this.defaultVersion = builder.defaultVersion; this.description = builder.description; this.fullDomains = builder.fullDomains; this.group = builder.group; this.name = builder.name; this.policyList = builder.policyList; this.ramCode = builder.ramCode; this.shortName = builder.shortName; this.source = builder.source; this.versions = builder.versions; } public static Builder builder() { return new Builder(); } public static Productions create() { return builder().build(); } /** * @return code */ public String getCode() { return this.code; } /** * @return defaultDomain */ public String getDefaultDomain() { return this.defaultDomain; } /** * @return defaultVersion */ public String getDefaultVersion() { return this.defaultVersion; } /** * @return description */ public String getDescription() { return this.description; } /** * @return fullDomains */ public java.util.List<String> getFullDomains() { return this.fullDomains; } /** * @return group */ public String getGroup() { return this.group; } /** * @return name */ public String getName() { return this.name; } /** * @return policyList */ public java.util.List<PolicyList> getPolicyList() { return this.policyList; } /** * @return ramCode */ public String getRamCode() { return this.ramCode; } /** * @return shortName */ public String getShortName() { return this.shortName; } /** * @return source */ public String getSource() { return this.source; } /** * @return versions */ public java.util.List<String> getVersions() { return this.versions; } public static final class Builder { private String code; private String defaultDomain; private String defaultVersion; private String description; private java.util.List<String> fullDomains; private String group; private String name; private java.util.List<PolicyList> policyList; private String ramCode; private String shortName; private String source; private java.util.List<String> versions; private Builder() { } private Builder(Productions model) { this.code = model.code; this.defaultDomain = model.defaultDomain; this.defaultVersion = model.defaultVersion; this.description = model.description; this.fullDomains = model.fullDomains; this.group = model.group; this.name = model.name; this.policyList = model.policyList; this.ramCode = model.ramCode; this.shortName = model.shortName; this.source = model.source; this.versions = model.versions; } /** * Code. */ public Builder code(String code) { this.code = code; return this; } /** * DefaultDomain. */ public Builder defaultDomain(String defaultDomain) { this.defaultDomain = defaultDomain; return this; } /** * DefaultVersion. */ public Builder defaultVersion(String defaultVersion) { this.defaultVersion = defaultVersion; return this; } /** * Description. */ public Builder description(String description) { this.description = description; return this; } /** * FullDomains. */ public Builder fullDomains(java.util.List<String> fullDomains) { this.fullDomains = fullDomains; return this; } /** * Group. */ public Builder group(String group) { this.group = group; return this; } /** * Name. */ public Builder name(String name) { this.name = name; return this; } /** * PolicyList. */ public Builder policyList(java.util.List<PolicyList> policyList) { this.policyList = policyList; return this; } /** * RamCode. */ public Builder ramCode(String ramCode) { this.ramCode = ramCode; return this; } /** * ShortName. */ public Builder shortName(String shortName) { this.shortName = shortName; return this; } /** * Source. */ public Builder source(String source) { this.source = source; return this; } /** * Versions. */ public Builder versions(java.util.List<String> versions) { this.versions = versions; return this; } public Productions build() { return new Productions(this); } } } /** * * {@link DescribeGroupProductionsResponseBody} extends {@link TeaModel} * * <p>DescribeGroupProductionsResponseBody</p> */ public static class Data extends TeaModel { @com.aliyun.core.annotation.NameInMap("GroupName") private String groupName; @com.aliyun.core.annotation.NameInMap("Productions") private java.util.List<Productions> productions; private Data(Builder builder) { this.groupName = builder.groupName; this.productions = builder.productions; } public static Builder builder() { return new Builder(); } public static Data create() { return builder().build(); } /** * @return groupName */ public String getGroupName() { return this.groupName; } /** * @return productions */ public java.util.List<Productions> getProductions() { return this.productions; } public static final class Builder { private String groupName; private java.util.List<Productions> productions; private Builder() { } private Builder(Data model) { this.groupName = model.groupName; this.productions = model.productions; } /** * GroupName. */ public Builder groupName(String groupName) { this.groupName = groupName; return this; } /** * Productions. */ public Builder productions(java.util.List<Productions> productions) { this.productions = productions; return this; } public Data build() { return new Data(this); } } } /** * * {@link DescribeGroupProductionsResponseBody} extends {@link TeaModel} * * <p>DescribeGroupProductionsResponseBody</p> */ public static class Page extends TeaModel { @com.aliyun.core.annotation.NameInMap("PageNumber") private Integer pageNumber; @com.aliyun.core.annotation.NameInMap("PageSize") private Integer pageSize; @com.aliyun.core.annotation.NameInMap("TotalCount") private Integer totalCount; private Page(Builder builder) { this.pageNumber = builder.pageNumber; this.pageSize = builder.pageSize; this.totalCount = builder.totalCount; } public static Builder builder() { return new Builder(); } public static Page create() { return builder().build(); } /** * @return pageNumber */ public Integer getPageNumber() { return this.pageNumber; } /** * @return pageSize */ public Integer getPageSize() { return this.pageSize; } /** * @return totalCount */ public Integer getTotalCount() { return this.totalCount; } public static final class Builder { private Integer pageNumber; private Integer pageSize; private Integer totalCount; private Builder() { } private Builder(Page model) { this.pageNumber = model.pageNumber; this.pageSize = model.pageSize; this.totalCount = model.totalCount; } /** * PageNumber. */ public Builder pageNumber(Integer pageNumber) { this.pageNumber = pageNumber; return this; } /** * PageSize. */ public Builder pageSize(Integer pageSize) { this.pageSize = pageSize; return this; } /** * TotalCount. */ public Builder totalCount(Integer totalCount) { this.totalCount = totalCount; return this; } public Page build() { return new Page(this); } } } }
0
java-sources/com/aliyun/alibabacloud-sophonsoar20220728/3.0.0/com/aliyun/sdk/service/sophonsoar20220728
java-sources/com/aliyun/alibabacloud-sophonsoar20220728/3.0.0/com/aliyun/sdk/service/sophonsoar20220728/models/DescribeLatestRecordSchemaRequest.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.sophonsoar20220728.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link DescribeLatestRecordSchemaRequest} extends {@link RequestModel} * * <p>DescribeLatestRecordSchemaRequest</p> */ public class DescribeLatestRecordSchemaRequest extends Request { @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("Lang") private String lang; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("PlaybookUuid") @com.aliyun.core.annotation.Validation(required = true) private String playbookUuid; private DescribeLatestRecordSchemaRequest(Builder builder) { super(builder); this.lang = builder.lang; this.playbookUuid = builder.playbookUuid; } public static Builder builder() { return new Builder(); } public static DescribeLatestRecordSchemaRequest create() { return builder().build(); } @Override public Builder toBuilder() { return new Builder(this); } /** * @return lang */ public String getLang() { return this.lang; } /** * @return playbookUuid */ public String getPlaybookUuid() { return this.playbookUuid; } public static final class Builder extends Request.Builder<DescribeLatestRecordSchemaRequest, Builder> { private String lang; private String playbookUuid; private Builder() { super(); } private Builder(DescribeLatestRecordSchemaRequest request) { super(request); this.lang = request.lang; this.playbookUuid = request.playbookUuid; } /** * <p>The language of the content within the request and response. Default value: <strong>zh</strong>. Valid values:</p> * <ul> * <li><strong>zh</strong>: Chinese</li> * <li><strong>en</strong>: English</li> * </ul> * * <strong>example:</strong> * <p>zh</p> */ public Builder lang(String lang) { this.putQueryParameter("Lang", lang); this.lang = lang; return this; } /** * <p>The UUID of the playbook.</p> * <blockquote> * <p> You can call the <a href="~~DescribePlaybooks~~">DescribePlaybooks</a>operation to query the UUIDs of playbooks.</p> * </blockquote> * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>c5c88b5e-97ca-435d-8c20-xxxxxx</p> */ public Builder playbookUuid(String playbookUuid) { this.putQueryParameter("PlaybookUuid", playbookUuid); this.playbookUuid = playbookUuid; return this; } @Override public DescribeLatestRecordSchemaRequest build() { return new DescribeLatestRecordSchemaRequest(this); } } }
0
java-sources/com/aliyun/alibabacloud-sophonsoar20220728/3.0.0/com/aliyun/sdk/service/sophonsoar20220728
java-sources/com/aliyun/alibabacloud-sophonsoar20220728/3.0.0/com/aliyun/sdk/service/sophonsoar20220728/models/DescribeLatestRecordSchemaResponse.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.sophonsoar20220728.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link DescribeLatestRecordSchemaResponse} extends {@link TeaModel} * * <p>DescribeLatestRecordSchemaResponse</p> */ public class DescribeLatestRecordSchemaResponse extends Response { @com.aliyun.core.annotation.NameInMap("headers") private java.util.Map<String, String> headers; @com.aliyun.core.annotation.NameInMap("statusCode") private Integer statusCode; @com.aliyun.core.annotation.NameInMap("body") private DescribeLatestRecordSchemaResponseBody body; private DescribeLatestRecordSchemaResponse(BuilderImpl builder) { super(builder); this.headers = builder.headers; this.statusCode = builder.statusCode; this.body = builder.body; } public static DescribeLatestRecordSchemaResponse create() { return new BuilderImpl().build(); } @Override public Builder toBuilder() { return new BuilderImpl(this); } /** * @return headers */ public java.util.Map<String, String> getHeaders() { return this.headers; } /** * @return statusCode */ public Integer getStatusCode() { return this.statusCode; } /** * @return body */ public DescribeLatestRecordSchemaResponseBody getBody() { return this.body; } public interface Builder extends Response.Builder<DescribeLatestRecordSchemaResponse, Builder> { Builder headers(java.util.Map<String, String> headers); Builder statusCode(Integer statusCode); Builder body(DescribeLatestRecordSchemaResponseBody body); @Override DescribeLatestRecordSchemaResponse build(); } private static final class BuilderImpl extends Response.BuilderImpl<DescribeLatestRecordSchemaResponse, Builder> implements Builder { private java.util.Map<String, String> headers; private Integer statusCode; private DescribeLatestRecordSchemaResponseBody body; private BuilderImpl() { super(); } private BuilderImpl(DescribeLatestRecordSchemaResponse response) { super(response); this.headers = response.headers; this.statusCode = response.statusCode; this.body = response.body; } /** * headers. */ @Override public Builder headers(java.util.Map<String, String> headers) { this.headers = headers; return this; } /** * statusCode. */ @Override public Builder statusCode(Integer statusCode) { this.statusCode = statusCode; return this; } /** * body. */ @Override public Builder body(DescribeLatestRecordSchemaResponseBody body) { this.body = body; return this; } @Override public DescribeLatestRecordSchemaResponse build() { return new DescribeLatestRecordSchemaResponse(this); } } }
0
java-sources/com/aliyun/alibabacloud-sophonsoar20220728/3.0.0/com/aliyun/sdk/service/sophonsoar20220728
java-sources/com/aliyun/alibabacloud-sophonsoar20220728/3.0.0/com/aliyun/sdk/service/sophonsoar20220728/models/DescribeLatestRecordSchemaResponseBody.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.sophonsoar20220728.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link DescribeLatestRecordSchemaResponseBody} extends {@link TeaModel} * * <p>DescribeLatestRecordSchemaResponseBody</p> */ public class DescribeLatestRecordSchemaResponseBody extends TeaModel { @com.aliyun.core.annotation.NameInMap("PlaybookNodeSchema") private PlaybookNodeSchema playbookNodeSchema; @com.aliyun.core.annotation.NameInMap("RequestId") private String requestId; private DescribeLatestRecordSchemaResponseBody(Builder builder) { this.playbookNodeSchema = builder.playbookNodeSchema; this.requestId = builder.requestId; } public static Builder builder() { return new Builder(); } public static DescribeLatestRecordSchemaResponseBody create() { return builder().build(); } public Builder toBuilder() { return new Builder(this); } /** * @return playbookNodeSchema */ public PlaybookNodeSchema getPlaybookNodeSchema() { return this.playbookNodeSchema; } /** * @return requestId */ public String getRequestId() { return this.requestId; } public static final class Builder { private PlaybookNodeSchema playbookNodeSchema; private String requestId; private Builder() { } private Builder(DescribeLatestRecordSchemaResponseBody model) { this.playbookNodeSchema = model.playbookNodeSchema; this.requestId = model.requestId; } /** * <p>The output structure information of the playbook.</p> */ public Builder playbookNodeSchema(PlaybookNodeSchema playbookNodeSchema) { this.playbookNodeSchema = playbookNodeSchema; return this; } /** * <p>The request ID.</p> * * <strong>example:</strong> * <p>10B92EE1-4597-593B-A131-7A17D25EF5C9</p> */ public Builder requestId(String requestId) { this.requestId = requestId; return this; } public DescribeLatestRecordSchemaResponseBody build() { return new DescribeLatestRecordSchemaResponseBody(this); } } /** * * {@link DescribeLatestRecordSchemaResponseBody} extends {@link TeaModel} * * <p>DescribeLatestRecordSchemaResponseBody</p> */ public static class NodeSchema extends TeaModel { @com.aliyun.core.annotation.NameInMap("ActionName") private String actionName; @com.aliyun.core.annotation.NameInMap("ComponentName") private String componentName; @com.aliyun.core.annotation.NameInMap("NodeName") private String nodeName; @com.aliyun.core.annotation.NameInMap("OutputFields") private java.util.List<String> outputFields; private NodeSchema(Builder builder) { this.actionName = builder.actionName; this.componentName = builder.componentName; this.nodeName = builder.nodeName; this.outputFields = builder.outputFields; } public static Builder builder() { return new Builder(); } public static NodeSchema create() { return builder().build(); } /** * @return actionName */ public String getActionName() { return this.actionName; } /** * @return componentName */ public String getComponentName() { return this.componentName; } /** * @return nodeName */ public String getNodeName() { return this.nodeName; } /** * @return outputFields */ public java.util.List<String> getOutputFields() { return this.outputFields; } public static final class Builder { private String actionName; private String componentName; private String nodeName; private java.util.List<String> outputFields; private Builder() { } private Builder(NodeSchema model) { this.actionName = model.actionName; this.componentName = model.componentName; this.nodeName = model.nodeName; this.outputFields = model.outputFields; } /** * <p>The action name of the component.</p> * * <strong>example:</strong> * <p>formatedata</p> */ public Builder actionName(String actionName) { this.actionName = actionName; return this; } /** * <p>The name of the component.</p> * * <strong>example:</strong> * <p>DataFormat</p> */ public Builder componentName(String componentName) { this.componentName = componentName; return this; } /** * <p>The name of the node.</p> * * <strong>example:</strong> * <p>DataFormat_1</p> */ public Builder nodeName(String nodeName) { this.nodeName = nodeName; return this; } /** * <p>The output fields.</p> */ public Builder outputFields(java.util.List<String> outputFields) { this.outputFields = outputFields; return this; } public NodeSchema build() { return new NodeSchema(this); } } } /** * * {@link DescribeLatestRecordSchemaResponseBody} extends {@link TeaModel} * * <p>DescribeLatestRecordSchemaResponseBody</p> */ public static class PlaybookNodeSchema extends TeaModel { @com.aliyun.core.annotation.NameInMap("NodeSchema") private java.util.List<NodeSchema> nodeSchema; private PlaybookNodeSchema(Builder builder) { this.nodeSchema = builder.nodeSchema; } public static Builder builder() { return new Builder(); } public static PlaybookNodeSchema create() { return builder().build(); } /** * @return nodeSchema */ public java.util.List<NodeSchema> getNodeSchema() { return this.nodeSchema; } public static final class Builder { private java.util.List<NodeSchema> nodeSchema; private Builder() { } private Builder(PlaybookNodeSchema model) { this.nodeSchema = model.nodeSchema; } /** * <p>The structure information.</p> */ public Builder nodeSchema(java.util.List<NodeSchema> nodeSchema) { this.nodeSchema = nodeSchema; return this; } public PlaybookNodeSchema build() { return new PlaybookNodeSchema(this); } } } }
0
java-sources/com/aliyun/alibabacloud-sophonsoar20220728/3.0.0/com/aliyun/sdk/service/sophonsoar20220728
java-sources/com/aliyun/alibabacloud-sophonsoar20220728/3.0.0/com/aliyun/sdk/service/sophonsoar20220728/models/DescribeNodeParamTagsRequest.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.sophonsoar20220728.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link DescribeNodeParamTagsRequest} extends {@link RequestModel} * * <p>DescribeNodeParamTagsRequest</p> */ public class DescribeNodeParamTagsRequest extends Request { @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("Lang") private String lang; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("NodeName") @com.aliyun.core.annotation.Validation(required = true) private String nodeName; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("PlaybookUuid") @com.aliyun.core.annotation.Validation(required = true) private String playbookUuid; private DescribeNodeParamTagsRequest(Builder builder) { super(builder); this.lang = builder.lang; this.nodeName = builder.nodeName; this.playbookUuid = builder.playbookUuid; } public static Builder builder() { return new Builder(); } public static DescribeNodeParamTagsRequest create() { return builder().build(); } @Override public Builder toBuilder() { return new Builder(this); } /** * @return lang */ public String getLang() { return this.lang; } /** * @return nodeName */ public String getNodeName() { return this.nodeName; } /** * @return playbookUuid */ public String getPlaybookUuid() { return this.playbookUuid; } public static final class Builder extends Request.Builder<DescribeNodeParamTagsRequest, Builder> { private String lang; private String nodeName; private String playbookUuid; private Builder() { super(); } private Builder(DescribeNodeParamTagsRequest request) { super(request); this.lang = request.lang; this.nodeName = request.nodeName; this.playbookUuid = request.playbookUuid; } /** * <p>The language of the content within the request and response. Valid values:</p> * <ul> * <li><strong>zh</strong>: Chinese</li> * <li><strong>en</strong>: English</li> * </ul> * * <strong>example:</strong> * <p>zh</p> */ public Builder lang(String lang) { this.putQueryParameter("Lang", lang); this.lang = lang; return this; } /** * <p>The name of the node.</p> * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>python3_2</p> */ public Builder nodeName(String nodeName) { this.putQueryParameter("NodeName", nodeName); this.nodeName = nodeName; return this; } /** * <p>The playbook UUID.</p> * <blockquote> * <p> You can call the <a href="~~DescribePlaybooks~~">DescribePlaybooks</a>operation to query the playbook UUID.</p> * </blockquote> * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>ac343acc-1a61-4084-9a1c-xxxxxxx</p> */ public Builder playbookUuid(String playbookUuid) { this.putQueryParameter("PlaybookUuid", playbookUuid); this.playbookUuid = playbookUuid; return this; } @Override public DescribeNodeParamTagsRequest build() { return new DescribeNodeParamTagsRequest(this); } } }
0
java-sources/com/aliyun/alibabacloud-sophonsoar20220728/3.0.0/com/aliyun/sdk/service/sophonsoar20220728
java-sources/com/aliyun/alibabacloud-sophonsoar20220728/3.0.0/com/aliyun/sdk/service/sophonsoar20220728/models/DescribeNodeParamTagsResponse.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.sophonsoar20220728.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link DescribeNodeParamTagsResponse} extends {@link TeaModel} * * <p>DescribeNodeParamTagsResponse</p> */ public class DescribeNodeParamTagsResponse extends Response { @com.aliyun.core.annotation.NameInMap("headers") private java.util.Map<String, String> headers; @com.aliyun.core.annotation.NameInMap("statusCode") private Integer statusCode; @com.aliyun.core.annotation.NameInMap("body") private DescribeNodeParamTagsResponseBody body; private DescribeNodeParamTagsResponse(BuilderImpl builder) { super(builder); this.headers = builder.headers; this.statusCode = builder.statusCode; this.body = builder.body; } public static DescribeNodeParamTagsResponse create() { return new BuilderImpl().build(); } @Override public Builder toBuilder() { return new BuilderImpl(this); } /** * @return headers */ public java.util.Map<String, String> getHeaders() { return this.headers; } /** * @return statusCode */ public Integer getStatusCode() { return this.statusCode; } /** * @return body */ public DescribeNodeParamTagsResponseBody getBody() { return this.body; } public interface Builder extends Response.Builder<DescribeNodeParamTagsResponse, Builder> { Builder headers(java.util.Map<String, String> headers); Builder statusCode(Integer statusCode); Builder body(DescribeNodeParamTagsResponseBody body); @Override DescribeNodeParamTagsResponse build(); } private static final class BuilderImpl extends Response.BuilderImpl<DescribeNodeParamTagsResponse, Builder> implements Builder { private java.util.Map<String, String> headers; private Integer statusCode; private DescribeNodeParamTagsResponseBody body; private BuilderImpl() { super(); } private BuilderImpl(DescribeNodeParamTagsResponse response) { super(response); this.headers = response.headers; this.statusCode = response.statusCode; this.body = response.body; } /** * headers. */ @Override public Builder headers(java.util.Map<String, String> headers) { this.headers = headers; return this; } /** * statusCode. */ @Override public Builder statusCode(Integer statusCode) { this.statusCode = statusCode; return this; } /** * body. */ @Override public Builder body(DescribeNodeParamTagsResponseBody body) { this.body = body; return this; } @Override public DescribeNodeParamTagsResponse build() { return new DescribeNodeParamTagsResponse(this); } } }
0
java-sources/com/aliyun/alibabacloud-sophonsoar20220728/3.0.0/com/aliyun/sdk/service/sophonsoar20220728
java-sources/com/aliyun/alibabacloud-sophonsoar20220728/3.0.0/com/aliyun/sdk/service/sophonsoar20220728/models/DescribeNodeParamTagsResponseBody.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.sophonsoar20220728.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link DescribeNodeParamTagsResponseBody} extends {@link TeaModel} * * <p>DescribeNodeParamTagsResponseBody</p> */ public class DescribeNodeParamTagsResponseBody extends TeaModel { @com.aliyun.core.annotation.NameInMap("ParamReferredPaths") private java.util.List<ParamReferredPaths> paramReferredPaths; @com.aliyun.core.annotation.NameInMap("RequestId") private String requestId; private DescribeNodeParamTagsResponseBody(Builder builder) { this.paramReferredPaths = builder.paramReferredPaths; this.requestId = builder.requestId; } public static Builder builder() { return new Builder(); } public static DescribeNodeParamTagsResponseBody create() { return builder().build(); } public Builder toBuilder() { return new Builder(this); } /** * @return paramReferredPaths */ public java.util.List<ParamReferredPaths> getParamReferredPaths() { return this.paramReferredPaths; } /** * @return requestId */ public String getRequestId() { return this.requestId; } public static final class Builder { private java.util.List<ParamReferredPaths> paramReferredPaths; private String requestId; private Builder() { } private Builder(DescribeNodeParamTagsResponseBody model) { this.paramReferredPaths = model.paramReferredPaths; this.requestId = model.requestId; } /** * <p>The configuration of the recommended path.</p> */ public Builder paramReferredPaths(java.util.List<ParamReferredPaths> paramReferredPaths) { this.paramReferredPaths = paramReferredPaths; return this; } /** * <p>The request ID.</p> * * <strong>example:</strong> * <p>6BE94351-712A-505D-A40A-BC77CC8254A9</p> */ public Builder requestId(String requestId) { this.requestId = requestId; return this; } public DescribeNodeParamTagsResponseBody build() { return new DescribeNodeParamTagsResponseBody(this); } } /** * * {@link DescribeNodeParamTagsResponseBody} extends {@link TeaModel} * * <p>DescribeNodeParamTagsResponseBody</p> */ public static class ParamReferredPaths extends TeaModel { @com.aliyun.core.annotation.NameInMap("ParamName") private String paramName; @com.aliyun.core.annotation.NameInMap("ReferredPath") private java.util.List<String> referredPath; private ParamReferredPaths(Builder builder) { this.paramName = builder.paramName; this.referredPath = builder.referredPath; } public static Builder builder() { return new Builder(); } public static ParamReferredPaths create() { return builder().build(); } /** * @return paramName */ public String getParamName() { return this.paramName; } /** * @return referredPath */ public java.util.List<String> getReferredPath() { return this.referredPath; } public static final class Builder { private String paramName; private java.util.List<String> referredPath; private Builder() { } private Builder(ParamReferredPaths model) { this.paramName = model.paramName; this.referredPath = model.referredPath; } /** * <p>The name of the upstream node.</p> * * <strong>example:</strong> * <p>DataFormat_1</p> */ public Builder paramName(String paramName) { this.paramName = paramName; return this; } /** * <p>The paths.</p> */ public Builder referredPath(java.util.List<String> referredPath) { this.referredPath = referredPath; return this; } public ParamReferredPaths build() { return new ParamReferredPaths(this); } } } }
0
java-sources/com/aliyun/alibabacloud-sophonsoar20220728/3.0.0/com/aliyun/sdk/service/sophonsoar20220728
java-sources/com/aliyun/alibabacloud-sophonsoar20220728/3.0.0/com/aliyun/sdk/service/sophonsoar20220728/models/DescribeNodeUsedInfosRequest.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.sophonsoar20220728.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link DescribeNodeUsedInfosRequest} extends {@link RequestModel} * * <p>DescribeNodeUsedInfosRequest</p> */ public class DescribeNodeUsedInfosRequest extends Request { @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("Lang") private String lang; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("NodeName") @com.aliyun.core.annotation.Validation(required = true) private String nodeName; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("PlaybookUuid") @com.aliyun.core.annotation.Validation(required = true) private String playbookUuid; private DescribeNodeUsedInfosRequest(Builder builder) { super(builder); this.lang = builder.lang; this.nodeName = builder.nodeName; this.playbookUuid = builder.playbookUuid; } public static Builder builder() { return new Builder(); } public static DescribeNodeUsedInfosRequest create() { return builder().build(); } @Override public Builder toBuilder() { return new Builder(this); } /** * @return lang */ public String getLang() { return this.lang; } /** * @return nodeName */ public String getNodeName() { return this.nodeName; } /** * @return playbookUuid */ public String getPlaybookUuid() { return this.playbookUuid; } public static final class Builder extends Request.Builder<DescribeNodeUsedInfosRequest, Builder> { private String lang; private String nodeName; private String playbookUuid; private Builder() { super(); } private Builder(DescribeNodeUsedInfosRequest request) { super(request); this.lang = request.lang; this.nodeName = request.nodeName; this.playbookUuid = request.playbookUuid; } /** * <p>The language of the content within the request and response. Valid values:</p> * <ul> * <li><strong>zh</strong>: Chinese</li> * <li><strong>en</strong>: English</li> * </ul> * * <strong>example:</strong> * <p>zh</p> */ public Builder lang(String lang) { this.putQueryParameter("Lang", lang); this.lang = lang; return this; } /** * <p>The node name of the component.</p> * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>python3_2</p> */ public Builder nodeName(String nodeName) { this.putQueryParameter("NodeName", nodeName); this.nodeName = nodeName; return this; } /** * <p>The playbook UUID.</p> * <blockquote> * <p> You can call the <a href="~~DescribePlaybooks~~">DescribePlaybooks</a>operation to query the playbook UUID.</p> * </blockquote> * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>ac343acc-1a61-4084-9a1c-xxxx</p> */ public Builder playbookUuid(String playbookUuid) { this.putQueryParameter("PlaybookUuid", playbookUuid); this.playbookUuid = playbookUuid; return this; } @Override public DescribeNodeUsedInfosRequest build() { return new DescribeNodeUsedInfosRequest(this); } } }
0
java-sources/com/aliyun/alibabacloud-sophonsoar20220728/3.0.0/com/aliyun/sdk/service/sophonsoar20220728
java-sources/com/aliyun/alibabacloud-sophonsoar20220728/3.0.0/com/aliyun/sdk/service/sophonsoar20220728/models/DescribeNodeUsedInfosResponse.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.sophonsoar20220728.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link DescribeNodeUsedInfosResponse} extends {@link TeaModel} * * <p>DescribeNodeUsedInfosResponse</p> */ public class DescribeNodeUsedInfosResponse extends Response { @com.aliyun.core.annotation.NameInMap("headers") private java.util.Map<String, String> headers; @com.aliyun.core.annotation.NameInMap("statusCode") private Integer statusCode; @com.aliyun.core.annotation.NameInMap("body") private DescribeNodeUsedInfosResponseBody body; private DescribeNodeUsedInfosResponse(BuilderImpl builder) { super(builder); this.headers = builder.headers; this.statusCode = builder.statusCode; this.body = builder.body; } public static DescribeNodeUsedInfosResponse create() { return new BuilderImpl().build(); } @Override public Builder toBuilder() { return new BuilderImpl(this); } /** * @return headers */ public java.util.Map<String, String> getHeaders() { return this.headers; } /** * @return statusCode */ public Integer getStatusCode() { return this.statusCode; } /** * @return body */ public DescribeNodeUsedInfosResponseBody getBody() { return this.body; } public interface Builder extends Response.Builder<DescribeNodeUsedInfosResponse, Builder> { Builder headers(java.util.Map<String, String> headers); Builder statusCode(Integer statusCode); Builder body(DescribeNodeUsedInfosResponseBody body); @Override DescribeNodeUsedInfosResponse build(); } private static final class BuilderImpl extends Response.BuilderImpl<DescribeNodeUsedInfosResponse, Builder> implements Builder { private java.util.Map<String, String> headers; private Integer statusCode; private DescribeNodeUsedInfosResponseBody body; private BuilderImpl() { super(); } private BuilderImpl(DescribeNodeUsedInfosResponse response) { super(response); this.headers = response.headers; this.statusCode = response.statusCode; this.body = response.body; } /** * headers. */ @Override public Builder headers(java.util.Map<String, String> headers) { this.headers = headers; return this; } /** * statusCode. */ @Override public Builder statusCode(Integer statusCode) { this.statusCode = statusCode; return this; } /** * body. */ @Override public Builder body(DescribeNodeUsedInfosResponseBody body) { this.body = body; return this; } @Override public DescribeNodeUsedInfosResponse build() { return new DescribeNodeUsedInfosResponse(this); } } }
0
java-sources/com/aliyun/alibabacloud-sophonsoar20220728/3.0.0/com/aliyun/sdk/service/sophonsoar20220728
java-sources/com/aliyun/alibabacloud-sophonsoar20220728/3.0.0/com/aliyun/sdk/service/sophonsoar20220728/models/DescribeNodeUsedInfosResponseBody.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.sophonsoar20220728.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link DescribeNodeUsedInfosResponseBody} extends {@link TeaModel} * * <p>DescribeNodeUsedInfosResponseBody</p> */ public class DescribeNodeUsedInfosResponseBody extends TeaModel { @com.aliyun.core.annotation.NameInMap("NodeUsedInfos") private String nodeUsedInfos; @com.aliyun.core.annotation.NameInMap("RequestId") private String requestId; private DescribeNodeUsedInfosResponseBody(Builder builder) { this.nodeUsedInfos = builder.nodeUsedInfos; this.requestId = builder.requestId; } public static Builder builder() { return new Builder(); } public static DescribeNodeUsedInfosResponseBody create() { return builder().build(); } public Builder toBuilder() { return new Builder(this); } /** * @return nodeUsedInfos */ public String getNodeUsedInfos() { return this.nodeUsedInfos; } /** * @return requestId */ public String getRequestId() { return this.requestId; } public static final class Builder { private String nodeUsedInfos; private String requestId; private Builder() { } private Builder(DescribeNodeUsedInfosResponseBody model) { this.nodeUsedInfos = model.nodeUsedInfos; this.requestId = model.requestId; } /** * <p>The node reference information. The value is in the JSON format and contains the following fields:</p> * <ul> * <li><p><strong>action</strong>: the referencing action. This field contains the following information:</p> * <ul> * <li><strong>name</strong>: the name of the referencing node.</li> * <li><strong>inputParams</strong>: the parameter settings of the referencing node.</li> * </ul> * </li> * </ul> * * <strong>example:</strong> * <p>{ * &quot;action&quot;: [ * { * &quot;name&quot;: &quot;query_books&quot;, * &quot;inputParams&quot;: [ * { * &quot;referInfos&quot;: [ * &quot;${play_group.datalist.*.ids}&quot; * ], * &quot;name&quot;: &quot;querySql&quot; * } * ] * } * ] * }</p> */ public Builder nodeUsedInfos(String nodeUsedInfos) { this.nodeUsedInfos = nodeUsedInfos; return this; } /** * <p>The request ID.</p> * * <strong>example:</strong> * <p>3B10F836-C2B1-54FA-AB59-7591B548FB59</p> */ public Builder requestId(String requestId) { this.requestId = requestId; return this; } public DescribeNodeUsedInfosResponseBody build() { return new DescribeNodeUsedInfosResponseBody(this); } } }
0
java-sources/com/aliyun/alibabacloud-sophonsoar20220728/3.0.0/com/aliyun/sdk/service/sophonsoar20220728
java-sources/com/aliyun/alibabacloud-sophonsoar20220728/3.0.0/com/aliyun/sdk/service/sophonsoar20220728/models/DescribeNotifyTemplateListRequest.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.sophonsoar20220728.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link DescribeNotifyTemplateListRequest} extends {@link RequestModel} * * <p>DescribeNotifyTemplateListRequest</p> */ public class DescribeNotifyTemplateListRequest extends Request { @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("Lang") private String lang; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("RoleFor") private Long roleFor; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("RoleType") private String roleType; private DescribeNotifyTemplateListRequest(Builder builder) { super(builder); this.lang = builder.lang; this.roleFor = builder.roleFor; this.roleType = builder.roleType; } public static Builder builder() { return new Builder(); } public static DescribeNotifyTemplateListRequest create() { return builder().build(); } @Override public Builder toBuilder() { return new Builder(this); } /** * @return lang */ public String getLang() { return this.lang; } /** * @return roleFor */ public Long getRoleFor() { return this.roleFor; } /** * @return roleType */ public String getRoleType() { return this.roleType; } public static final class Builder extends Request.Builder<DescribeNotifyTemplateListRequest, Builder> { private String lang; private Long roleFor; private String roleType; private Builder() { super(); } private Builder(DescribeNotifyTemplateListRequest request) { super(request); this.lang = request.lang; this.roleFor = request.roleFor; this.roleType = request.roleType; } /** * Lang. */ public Builder lang(String lang) { this.putQueryParameter("Lang", lang); this.lang = lang; return this; } /** * RoleFor. */ public Builder roleFor(Long roleFor) { this.putQueryParameter("RoleFor", roleFor); this.roleFor = roleFor; return this; } /** * RoleType. */ public Builder roleType(String roleType) { this.putQueryParameter("RoleType", roleType); this.roleType = roleType; return this; } @Override public DescribeNotifyTemplateListRequest build() { return new DescribeNotifyTemplateListRequest(this); } } }
0
java-sources/com/aliyun/alibabacloud-sophonsoar20220728/3.0.0/com/aliyun/sdk/service/sophonsoar20220728
java-sources/com/aliyun/alibabacloud-sophonsoar20220728/3.0.0/com/aliyun/sdk/service/sophonsoar20220728/models/DescribeNotifyTemplateListResponse.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.sophonsoar20220728.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link DescribeNotifyTemplateListResponse} extends {@link TeaModel} * * <p>DescribeNotifyTemplateListResponse</p> */ public class DescribeNotifyTemplateListResponse extends Response { @com.aliyun.core.annotation.NameInMap("headers") private java.util.Map<String, String> headers; @com.aliyun.core.annotation.NameInMap("statusCode") private Integer statusCode; @com.aliyun.core.annotation.NameInMap("body") private DescribeNotifyTemplateListResponseBody body; private DescribeNotifyTemplateListResponse(BuilderImpl builder) { super(builder); this.headers = builder.headers; this.statusCode = builder.statusCode; this.body = builder.body; } public static DescribeNotifyTemplateListResponse create() { return new BuilderImpl().build(); } @Override public Builder toBuilder() { return new BuilderImpl(this); } /** * @return headers */ public java.util.Map<String, String> getHeaders() { return this.headers; } /** * @return statusCode */ public Integer getStatusCode() { return this.statusCode; } /** * @return body */ public DescribeNotifyTemplateListResponseBody getBody() { return this.body; } public interface Builder extends Response.Builder<DescribeNotifyTemplateListResponse, Builder> { Builder headers(java.util.Map<String, String> headers); Builder statusCode(Integer statusCode); Builder body(DescribeNotifyTemplateListResponseBody body); @Override DescribeNotifyTemplateListResponse build(); } private static final class BuilderImpl extends Response.BuilderImpl<DescribeNotifyTemplateListResponse, Builder> implements Builder { private java.util.Map<String, String> headers; private Integer statusCode; private DescribeNotifyTemplateListResponseBody body; private BuilderImpl() { super(); } private BuilderImpl(DescribeNotifyTemplateListResponse response) { super(response); this.headers = response.headers; this.statusCode = response.statusCode; this.body = response.body; } /** * headers. */ @Override public Builder headers(java.util.Map<String, String> headers) { this.headers = headers; return this; } /** * statusCode. */ @Override public Builder statusCode(Integer statusCode) { this.statusCode = statusCode; return this; } /** * body. */ @Override public Builder body(DescribeNotifyTemplateListResponseBody body) { this.body = body; return this; } @Override public DescribeNotifyTemplateListResponse build() { return new DescribeNotifyTemplateListResponse(this); } } }
0
java-sources/com/aliyun/alibabacloud-sophonsoar20220728/3.0.0/com/aliyun/sdk/service/sophonsoar20220728
java-sources/com/aliyun/alibabacloud-sophonsoar20220728/3.0.0/com/aliyun/sdk/service/sophonsoar20220728/models/DescribeNotifyTemplateListResponseBody.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.sophonsoar20220728.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link DescribeNotifyTemplateListResponseBody} extends {@link TeaModel} * * <p>DescribeNotifyTemplateListResponseBody</p> */ public class DescribeNotifyTemplateListResponseBody extends TeaModel { @com.aliyun.core.annotation.NameInMap("Data") private java.util.List<Data> data; @com.aliyun.core.annotation.NameInMap("Page") private Page page; @com.aliyun.core.annotation.NameInMap("RequestId") private String requestId; private DescribeNotifyTemplateListResponseBody(Builder builder) { this.data = builder.data; this.page = builder.page; this.requestId = builder.requestId; } public static Builder builder() { return new Builder(); } public static DescribeNotifyTemplateListResponseBody create() { return builder().build(); } public Builder toBuilder() { return new Builder(this); } /** * @return data */ public java.util.List<Data> getData() { return this.data; } /** * @return page */ public Page getPage() { return this.page; } /** * @return requestId */ public String getRequestId() { return this.requestId; } public static final class Builder { private java.util.List<Data> data; private Page page; private String requestId; private Builder() { } private Builder(DescribeNotifyTemplateListResponseBody model) { this.data = model.data; this.page = model.page; this.requestId = model.requestId; } /** * Data. */ public Builder data(java.util.List<Data> data) { this.data = data; return this; } /** * Page. */ public Builder page(Page page) { this.page = page; return this; } /** * RequestId. */ public Builder requestId(String requestId) { this.requestId = requestId; return this; } public DescribeNotifyTemplateListResponseBody build() { return new DescribeNotifyTemplateListResponseBody(this); } } /** * * {@link DescribeNotifyTemplateListResponseBody} extends {@link TeaModel} * * <p>DescribeNotifyTemplateListResponseBody</p> */ public static class Data extends TeaModel { @com.aliyun.core.annotation.NameInMap("Content") private String content; @com.aliyun.core.annotation.NameInMap("EventId") private String eventId; @com.aliyun.core.annotation.NameInMap("Params") private String params; @com.aliyun.core.annotation.NameInMap("Subject") private String subject; @com.aliyun.core.annotation.NameInMap("TemplateName") private String templateName; private Data(Builder builder) { this.content = builder.content; this.eventId = builder.eventId; this.params = builder.params; this.subject = builder.subject; this.templateName = builder.templateName; } public static Builder builder() { return new Builder(); } public static Data create() { return builder().build(); } /** * @return content */ public String getContent() { return this.content; } /** * @return eventId */ public String getEventId() { return this.eventId; } /** * @return params */ public String getParams() { return this.params; } /** * @return subject */ public String getSubject() { return this.subject; } /** * @return templateName */ public String getTemplateName() { return this.templateName; } public static final class Builder { private String content; private String eventId; private String params; private String subject; private String templateName; private Builder() { } private Builder(Data model) { this.content = model.content; this.eventId = model.eventId; this.params = model.params; this.subject = model.subject; this.templateName = model.templateName; } /** * Content. */ public Builder content(String content) { this.content = content; return this; } /** * EventId. */ public Builder eventId(String eventId) { this.eventId = eventId; return this; } /** * Params. */ public Builder params(String params) { this.params = params; return this; } /** * Subject. */ public Builder subject(String subject) { this.subject = subject; return this; } /** * TemplateName. */ public Builder templateName(String templateName) { this.templateName = templateName; return this; } public Data build() { return new Data(this); } } } /** * * {@link DescribeNotifyTemplateListResponseBody} extends {@link TeaModel} * * <p>DescribeNotifyTemplateListResponseBody</p> */ public static class Page extends TeaModel { @com.aliyun.core.annotation.NameInMap("PageNumber") private Integer pageNumber; @com.aliyun.core.annotation.NameInMap("PageSize") private Integer pageSize; @com.aliyun.core.annotation.NameInMap("TotalCount") private Integer totalCount; private Page(Builder builder) { this.pageNumber = builder.pageNumber; this.pageSize = builder.pageSize; this.totalCount = builder.totalCount; } public static Builder builder() { return new Builder(); } public static Page create() { return builder().build(); } /** * @return pageNumber */ public Integer getPageNumber() { return this.pageNumber; } /** * @return pageSize */ public Integer getPageSize() { return this.pageSize; } /** * @return totalCount */ public Integer getTotalCount() { return this.totalCount; } public static final class Builder { private Integer pageNumber; private Integer pageSize; private Integer totalCount; private Builder() { } private Builder(Page model) { this.pageNumber = model.pageNumber; this.pageSize = model.pageSize; this.totalCount = model.totalCount; } /** * PageNumber. */ public Builder pageNumber(Integer pageNumber) { this.pageNumber = pageNumber; return this; } /** * PageSize. */ public Builder pageSize(Integer pageSize) { this.pageSize = pageSize; return this; } /** * TotalCount. */ public Builder totalCount(Integer totalCount) { this.totalCount = totalCount; return this; } public Page build() { return new Page(this); } } } }
0
java-sources/com/aliyun/alibabacloud-sophonsoar20220728/3.0.0/com/aliyun/sdk/service/sophonsoar20220728
java-sources/com/aliyun/alibabacloud-sophonsoar20220728/3.0.0/com/aliyun/sdk/service/sophonsoar20220728/models/DescribeOpenApiInfoRequest.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.sophonsoar20220728.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link DescribeOpenApiInfoRequest} extends {@link RequestModel} * * <p>DescribeOpenApiInfoRequest</p> */ public class DescribeOpenApiInfoRequest extends Request { @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("ApiName") @com.aliyun.core.annotation.Validation(required = true) private String apiName; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("ApiVersion") @com.aliyun.core.annotation.Validation(required = true) private String apiVersion; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("Lang") private String lang; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("PopCode") @com.aliyun.core.annotation.Validation(required = true) private String popCode; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("RoleFor") private Long roleFor; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("RoleType") private String roleType; private DescribeOpenApiInfoRequest(Builder builder) { super(builder); this.apiName = builder.apiName; this.apiVersion = builder.apiVersion; this.lang = builder.lang; this.popCode = builder.popCode; this.roleFor = builder.roleFor; this.roleType = builder.roleType; } public static Builder builder() { return new Builder(); } public static DescribeOpenApiInfoRequest create() { return builder().build(); } @Override public Builder toBuilder() { return new Builder(this); } /** * @return apiName */ public String getApiName() { return this.apiName; } /** * @return apiVersion */ public String getApiVersion() { return this.apiVersion; } /** * @return lang */ public String getLang() { return this.lang; } /** * @return popCode */ public String getPopCode() { return this.popCode; } /** * @return roleFor */ public Long getRoleFor() { return this.roleFor; } /** * @return roleType */ public String getRoleType() { return this.roleType; } public static final class Builder extends Request.Builder<DescribeOpenApiInfoRequest, Builder> { private String apiName; private String apiVersion; private String lang; private String popCode; private Long roleFor; private String roleType; private Builder() { super(); } private Builder(DescribeOpenApiInfoRequest request) { super(request); this.apiName = request.apiName; this.apiVersion = request.apiVersion; this.lang = request.lang; this.popCode = request.popCode; this.roleFor = request.roleFor; this.roleType = request.roleType; } /** * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>DescribePopApiItemList</p> */ public Builder apiName(String apiName) { this.putQueryParameter("ApiName", apiName); this.apiName = apiName; return this; } /** * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>2018-12-03</p> */ public Builder apiVersion(String apiVersion) { this.putQueryParameter("ApiVersion", apiVersion); this.apiVersion = apiVersion; return this; } /** * Lang. */ public Builder lang(String lang) { this.putQueryParameter("Lang", lang); this.lang = lang; return this; } /** * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>Sas</p> */ public Builder popCode(String popCode) { this.putQueryParameter("PopCode", popCode); this.popCode = popCode; return this; } /** * RoleFor. */ public Builder roleFor(Long roleFor) { this.putQueryParameter("RoleFor", roleFor); this.roleFor = roleFor; return this; } /** * RoleType. */ public Builder roleType(String roleType) { this.putQueryParameter("RoleType", roleType); this.roleType = roleType; return this; } @Override public DescribeOpenApiInfoRequest build() { return new DescribeOpenApiInfoRequest(this); } } }
0
java-sources/com/aliyun/alibabacloud-sophonsoar20220728/3.0.0/com/aliyun/sdk/service/sophonsoar20220728
java-sources/com/aliyun/alibabacloud-sophonsoar20220728/3.0.0/com/aliyun/sdk/service/sophonsoar20220728/models/DescribeOpenApiInfoResponse.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.sophonsoar20220728.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link DescribeOpenApiInfoResponse} extends {@link TeaModel} * * <p>DescribeOpenApiInfoResponse</p> */ public class DescribeOpenApiInfoResponse extends Response { @com.aliyun.core.annotation.NameInMap("headers") private java.util.Map<String, String> headers; @com.aliyun.core.annotation.NameInMap("statusCode") private Integer statusCode; @com.aliyun.core.annotation.NameInMap("body") private DescribeOpenApiInfoResponseBody body; private DescribeOpenApiInfoResponse(BuilderImpl builder) { super(builder); this.headers = builder.headers; this.statusCode = builder.statusCode; this.body = builder.body; } public static DescribeOpenApiInfoResponse create() { return new BuilderImpl().build(); } @Override public Builder toBuilder() { return new BuilderImpl(this); } /** * @return headers */ public java.util.Map<String, String> getHeaders() { return this.headers; } /** * @return statusCode */ public Integer getStatusCode() { return this.statusCode; } /** * @return body */ public DescribeOpenApiInfoResponseBody getBody() { return this.body; } public interface Builder extends Response.Builder<DescribeOpenApiInfoResponse, Builder> { Builder headers(java.util.Map<String, String> headers); Builder statusCode(Integer statusCode); Builder body(DescribeOpenApiInfoResponseBody body); @Override DescribeOpenApiInfoResponse build(); } private static final class BuilderImpl extends Response.BuilderImpl<DescribeOpenApiInfoResponse, Builder> implements Builder { private java.util.Map<String, String> headers; private Integer statusCode; private DescribeOpenApiInfoResponseBody body; private BuilderImpl() { super(); } private BuilderImpl(DescribeOpenApiInfoResponse response) { super(response); this.headers = response.headers; this.statusCode = response.statusCode; this.body = response.body; } /** * headers. */ @Override public Builder headers(java.util.Map<String, String> headers) { this.headers = headers; return this; } /** * statusCode. */ @Override public Builder statusCode(Integer statusCode) { this.statusCode = statusCode; return this; } /** * body. */ @Override public Builder body(DescribeOpenApiInfoResponseBody body) { this.body = body; return this; } @Override public DescribeOpenApiInfoResponse build() { return new DescribeOpenApiInfoResponse(this); } } }
0
java-sources/com/aliyun/alibabacloud-sophonsoar20220728/3.0.0/com/aliyun/sdk/service/sophonsoar20220728
java-sources/com/aliyun/alibabacloud-sophonsoar20220728/3.0.0/com/aliyun/sdk/service/sophonsoar20220728/models/DescribeOpenApiInfoResponseBody.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.sophonsoar20220728.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link DescribeOpenApiInfoResponseBody} extends {@link TeaModel} * * <p>DescribeOpenApiInfoResponseBody</p> */ public class DescribeOpenApiInfoResponseBody extends TeaModel { @com.aliyun.core.annotation.NameInMap("Data") private Data data; @com.aliyun.core.annotation.NameInMap("RequestId") private String requestId; private DescribeOpenApiInfoResponseBody(Builder builder) { this.data = builder.data; this.requestId = builder.requestId; } public static Builder builder() { return new Builder(); } public static DescribeOpenApiInfoResponseBody create() { return builder().build(); } public Builder toBuilder() { return new Builder(this); } /** * @return data */ public Data getData() { return this.data; } /** * @return requestId */ public String getRequestId() { return this.requestId; } public static final class Builder { private Data data; private String requestId; private Builder() { } private Builder(DescribeOpenApiInfoResponseBody model) { this.data = model.data; this.requestId = model.requestId; } /** * Data. */ public Builder data(Data data) { this.data = data; return this; } /** * RequestId. */ public Builder requestId(String requestId) { this.requestId = requestId; return this; } public DescribeOpenApiInfoResponseBody build() { return new DescribeOpenApiInfoResponseBody(this); } } /** * * {@link DescribeOpenApiInfoResponseBody} extends {@link TeaModel} * * <p>DescribeOpenApiInfoResponseBody</p> */ public static class Data extends TeaModel { @com.aliyun.core.annotation.NameInMap("Description") private String description; @com.aliyun.core.annotation.NameInMap("InputParams") private String inputParams; @com.aliyun.core.annotation.NameInMap("OutputParams") private String outputParams; @com.aliyun.core.annotation.NameInMap("ResponseDemo") private String responseDemo; @com.aliyun.core.annotation.NameInMap("Summary") private String summary; @com.aliyun.core.annotation.NameInMap("Title") private String title; private Data(Builder builder) { this.description = builder.description; this.inputParams = builder.inputParams; this.outputParams = builder.outputParams; this.responseDemo = builder.responseDemo; this.summary = builder.summary; this.title = builder.title; } public static Builder builder() { return new Builder(); } public static Data create() { return builder().build(); } /** * @return description */ public String getDescription() { return this.description; } /** * @return inputParams */ public String getInputParams() { return this.inputParams; } /** * @return outputParams */ public String getOutputParams() { return this.outputParams; } /** * @return responseDemo */ public String getResponseDemo() { return this.responseDemo; } /** * @return summary */ public String getSummary() { return this.summary; } /** * @return title */ public String getTitle() { return this.title; } public static final class Builder { private String description; private String inputParams; private String outputParams; private String responseDemo; private String summary; private String title; private Builder() { } private Builder(Data model) { this.description = model.description; this.inputParams = model.inputParams; this.outputParams = model.outputParams; this.responseDemo = model.responseDemo; this.summary = model.summary; this.title = model.title; } /** * Description. */ public Builder description(String description) { this.description = description; return this; } /** * InputParams. */ public Builder inputParams(String inputParams) { this.inputParams = inputParams; return this; } /** * OutputParams. */ public Builder outputParams(String outputParams) { this.outputParams = outputParams; return this; } /** * ResponseDemo. */ public Builder responseDemo(String responseDemo) { this.responseDemo = responseDemo; return this; } /** * Summary. */ public Builder summary(String summary) { this.summary = summary; return this; } /** * Title. */ public Builder title(String title) { this.title = title; return this; } public Data build() { return new Data(this); } } } }
0
java-sources/com/aliyun/alibabacloud-sophonsoar20220728/3.0.0/com/aliyun/sdk/service/sophonsoar20220728
java-sources/com/aliyun/alibabacloud-sophonsoar20220728/3.0.0/com/aliyun/sdk/service/sophonsoar20220728/models/DescribeOpenApiListRequest.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.sophonsoar20220728.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link DescribeOpenApiListRequest} extends {@link RequestModel} * * <p>DescribeOpenApiListRequest</p> */ public class DescribeOpenApiListRequest extends Request { @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("ApiName") private String apiName; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("ApiVersion") @com.aliyun.core.annotation.Validation(required = true) private String apiVersion; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("Lang") private String lang; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("PopCode") @com.aliyun.core.annotation.Validation(required = true) private String popCode; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("RoleFor") private Long roleFor; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("RoleType") private String roleType; private DescribeOpenApiListRequest(Builder builder) { super(builder); this.apiName = builder.apiName; this.apiVersion = builder.apiVersion; this.lang = builder.lang; this.popCode = builder.popCode; this.roleFor = builder.roleFor; this.roleType = builder.roleType; } public static Builder builder() { return new Builder(); } public static DescribeOpenApiListRequest create() { return builder().build(); } @Override public Builder toBuilder() { return new Builder(this); } /** * @return apiName */ public String getApiName() { return this.apiName; } /** * @return apiVersion */ public String getApiVersion() { return this.apiVersion; } /** * @return lang */ public String getLang() { return this.lang; } /** * @return popCode */ public String getPopCode() { return this.popCode; } /** * @return roleFor */ public Long getRoleFor() { return this.roleFor; } /** * @return roleType */ public String getRoleType() { return this.roleType; } public static final class Builder extends Request.Builder<DescribeOpenApiListRequest, Builder> { private String apiName; private String apiVersion; private String lang; private String popCode; private Long roleFor; private String roleType; private Builder() { super(); } private Builder(DescribeOpenApiListRequest request) { super(request); this.apiName = request.apiName; this.apiVersion = request.apiVersion; this.lang = request.lang; this.popCode = request.popCode; this.roleFor = request.roleFor; this.roleType = request.roleType; } /** * ApiName. */ public Builder apiName(String apiName) { this.putQueryParameter("ApiName", apiName); this.apiName = apiName; return this; } /** * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>2021-10-01</p> */ public Builder apiVersion(String apiVersion) { this.putQueryParameter("ApiVersion", apiVersion); this.apiVersion = apiVersion; return this; } /** * Lang. */ public Builder lang(String lang) { this.putQueryParameter("Lang", lang); this.lang = lang; return this; } /** * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>Sas</p> */ public Builder popCode(String popCode) { this.putQueryParameter("PopCode", popCode); this.popCode = popCode; return this; } /** * RoleFor. */ public Builder roleFor(Long roleFor) { this.putQueryParameter("RoleFor", roleFor); this.roleFor = roleFor; return this; } /** * RoleType. */ public Builder roleType(String roleType) { this.putQueryParameter("RoleType", roleType); this.roleType = roleType; return this; } @Override public DescribeOpenApiListRequest build() { return new DescribeOpenApiListRequest(this); } } }
0
java-sources/com/aliyun/alibabacloud-sophonsoar20220728/3.0.0/com/aliyun/sdk/service/sophonsoar20220728
java-sources/com/aliyun/alibabacloud-sophonsoar20220728/3.0.0/com/aliyun/sdk/service/sophonsoar20220728/models/DescribeOpenApiListResponse.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.sophonsoar20220728.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link DescribeOpenApiListResponse} extends {@link TeaModel} * * <p>DescribeOpenApiListResponse</p> */ public class DescribeOpenApiListResponse extends Response { @com.aliyun.core.annotation.NameInMap("headers") private java.util.Map<String, String> headers; @com.aliyun.core.annotation.NameInMap("statusCode") private Integer statusCode; @com.aliyun.core.annotation.NameInMap("body") private DescribeOpenApiListResponseBody body; private DescribeOpenApiListResponse(BuilderImpl builder) { super(builder); this.headers = builder.headers; this.statusCode = builder.statusCode; this.body = builder.body; } public static DescribeOpenApiListResponse create() { return new BuilderImpl().build(); } @Override public Builder toBuilder() { return new BuilderImpl(this); } /** * @return headers */ public java.util.Map<String, String> getHeaders() { return this.headers; } /** * @return statusCode */ public Integer getStatusCode() { return this.statusCode; } /** * @return body */ public DescribeOpenApiListResponseBody getBody() { return this.body; } public interface Builder extends Response.Builder<DescribeOpenApiListResponse, Builder> { Builder headers(java.util.Map<String, String> headers); Builder statusCode(Integer statusCode); Builder body(DescribeOpenApiListResponseBody body); @Override DescribeOpenApiListResponse build(); } private static final class BuilderImpl extends Response.BuilderImpl<DescribeOpenApiListResponse, Builder> implements Builder { private java.util.Map<String, String> headers; private Integer statusCode; private DescribeOpenApiListResponseBody body; private BuilderImpl() { super(); } private BuilderImpl(DescribeOpenApiListResponse response) { super(response); this.headers = response.headers; this.statusCode = response.statusCode; this.body = response.body; } /** * headers. */ @Override public Builder headers(java.util.Map<String, String> headers) { this.headers = headers; return this; } /** * statusCode. */ @Override public Builder statusCode(Integer statusCode) { this.statusCode = statusCode; return this; } /** * body. */ @Override public Builder body(DescribeOpenApiListResponseBody body) { this.body = body; return this; } @Override public DescribeOpenApiListResponse build() { return new DescribeOpenApiListResponse(this); } } }
0
java-sources/com/aliyun/alibabacloud-sophonsoar20220728/3.0.0/com/aliyun/sdk/service/sophonsoar20220728
java-sources/com/aliyun/alibabacloud-sophonsoar20220728/3.0.0/com/aliyun/sdk/service/sophonsoar20220728/models/DescribeOpenApiListResponseBody.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.sophonsoar20220728.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link DescribeOpenApiListResponseBody} extends {@link TeaModel} * * <p>DescribeOpenApiListResponseBody</p> */ public class DescribeOpenApiListResponseBody extends TeaModel { @com.aliyun.core.annotation.NameInMap("Data") private Data data; @com.aliyun.core.annotation.NameInMap("RequestId") private String requestId; private DescribeOpenApiListResponseBody(Builder builder) { this.data = builder.data; this.requestId = builder.requestId; } public static Builder builder() { return new Builder(); } public static DescribeOpenApiListResponseBody create() { return builder().build(); } public Builder toBuilder() { return new Builder(this); } /** * @return data */ public Data getData() { return this.data; } /** * @return requestId */ public String getRequestId() { return this.requestId; } public static final class Builder { private Data data; private String requestId; private Builder() { } private Builder(DescribeOpenApiListResponseBody model) { this.data = model.data; this.requestId = model.requestId; } /** * Data. */ public Builder data(Data data) { this.data = data; return this; } /** * RequestId. */ public Builder requestId(String requestId) { this.requestId = requestId; return this; } public DescribeOpenApiListResponseBody build() { return new DescribeOpenApiListResponseBody(this); } } /** * * {@link DescribeOpenApiListResponseBody} extends {@link TeaModel} * * <p>DescribeOpenApiListResponseBody</p> */ public static class Data extends TeaModel { @com.aliyun.core.annotation.NameInMap("Code") private String code; @com.aliyun.core.annotation.NameInMap("Directories") private Object directories; @com.aliyun.core.annotation.NameInMap("Version") private String version; private Data(Builder builder) { this.code = builder.code; this.directories = builder.directories; this.version = builder.version; } public static Builder builder() { return new Builder(); } public static Data create() { return builder().build(); } /** * @return code */ public String getCode() { return this.code; } /** * @return directories */ public Object getDirectories() { return this.directories; } /** * @return version */ public String getVersion() { return this.version; } public static final class Builder { private String code; private Object directories; private String version; private Builder() { } private Builder(Data model) { this.code = model.code; this.directories = model.directories; this.version = model.version; } /** * Code. */ public Builder code(String code) { this.code = code; return this; } /** * Directories. */ public Builder directories(Object directories) { this.directories = directories; return this; } /** * Version. */ public Builder version(String version) { this.version = version; return this; } public Data build() { return new Data(this); } } } }
0
java-sources/com/aliyun/alibabacloud-sophonsoar20220728/3.0.0/com/aliyun/sdk/service/sophonsoar20220728
java-sources/com/aliyun/alibabacloud-sophonsoar20220728/3.0.0/com/aliyun/sdk/service/sophonsoar20220728/models/DescribePlaybookInputOutputRequest.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.sophonsoar20220728.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link DescribePlaybookInputOutputRequest} extends {@link RequestModel} * * <p>DescribePlaybookInputOutputRequest</p> */ public class DescribePlaybookInputOutputRequest extends Request { @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("Lang") private String lang; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("PlaybookUuid") @com.aliyun.core.annotation.Validation(required = true) private String playbookUuid; private DescribePlaybookInputOutputRequest(Builder builder) { super(builder); this.lang = builder.lang; this.playbookUuid = builder.playbookUuid; } public static Builder builder() { return new Builder(); } public static DescribePlaybookInputOutputRequest create() { return builder().build(); } @Override public Builder toBuilder() { return new Builder(this); } /** * @return lang */ public String getLang() { return this.lang; } /** * @return playbookUuid */ public String getPlaybookUuid() { return this.playbookUuid; } public static final class Builder extends Request.Builder<DescribePlaybookInputOutputRequest, Builder> { private String lang; private String playbookUuid; private Builder() { super(); } private Builder(DescribePlaybookInputOutputRequest request) { super(request); this.lang = request.lang; this.playbookUuid = request.playbookUuid; } /** * <p>The language of the content within the request and response. Default value: <strong>zh</strong>. Valid values:</p> * <ul> * <li><strong>zh</strong>: Chinese</li> * <li><strong>en</strong>: English</li> * </ul> * * <strong>example:</strong> * <p>zh</p> */ public Builder lang(String lang) { this.putQueryParameter("Lang", lang); this.lang = lang; return this; } /** * <p>The UUID of the playbook.</p> * <blockquote> * <p> You can call the <a href="~~DescribePlaybooks~~">DescribePlaybooks</a>operation to query the UUIDs of playbooks.</p> * </blockquote> * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>b724d2b0-3c3b-4223-9bfd-xxxxxxx</p> */ public Builder playbookUuid(String playbookUuid) { this.putQueryParameter("PlaybookUuid", playbookUuid); this.playbookUuid = playbookUuid; return this; } @Override public DescribePlaybookInputOutputRequest build() { return new DescribePlaybookInputOutputRequest(this); } } }
0
java-sources/com/aliyun/alibabacloud-sophonsoar20220728/3.0.0/com/aliyun/sdk/service/sophonsoar20220728
java-sources/com/aliyun/alibabacloud-sophonsoar20220728/3.0.0/com/aliyun/sdk/service/sophonsoar20220728/models/DescribePlaybookInputOutputResponse.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.sophonsoar20220728.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link DescribePlaybookInputOutputResponse} extends {@link TeaModel} * * <p>DescribePlaybookInputOutputResponse</p> */ public class DescribePlaybookInputOutputResponse extends Response { @com.aliyun.core.annotation.NameInMap("headers") private java.util.Map<String, String> headers; @com.aliyun.core.annotation.NameInMap("statusCode") private Integer statusCode; @com.aliyun.core.annotation.NameInMap("body") private DescribePlaybookInputOutputResponseBody body; private DescribePlaybookInputOutputResponse(BuilderImpl builder) { super(builder); this.headers = builder.headers; this.statusCode = builder.statusCode; this.body = builder.body; } public static DescribePlaybookInputOutputResponse create() { return new BuilderImpl().build(); } @Override public Builder toBuilder() { return new BuilderImpl(this); } /** * @return headers */ public java.util.Map<String, String> getHeaders() { return this.headers; } /** * @return statusCode */ public Integer getStatusCode() { return this.statusCode; } /** * @return body */ public DescribePlaybookInputOutputResponseBody getBody() { return this.body; } public interface Builder extends Response.Builder<DescribePlaybookInputOutputResponse, Builder> { Builder headers(java.util.Map<String, String> headers); Builder statusCode(Integer statusCode); Builder body(DescribePlaybookInputOutputResponseBody body); @Override DescribePlaybookInputOutputResponse build(); } private static final class BuilderImpl extends Response.BuilderImpl<DescribePlaybookInputOutputResponse, Builder> implements Builder { private java.util.Map<String, String> headers; private Integer statusCode; private DescribePlaybookInputOutputResponseBody body; private BuilderImpl() { super(); } private BuilderImpl(DescribePlaybookInputOutputResponse response) { super(response); this.headers = response.headers; this.statusCode = response.statusCode; this.body = response.body; } /** * headers. */ @Override public Builder headers(java.util.Map<String, String> headers) { this.headers = headers; return this; } /** * statusCode. */ @Override public Builder statusCode(Integer statusCode) { this.statusCode = statusCode; return this; } /** * body. */ @Override public Builder body(DescribePlaybookInputOutputResponseBody body) { this.body = body; return this; } @Override public DescribePlaybookInputOutputResponse build() { return new DescribePlaybookInputOutputResponse(this); } } }
0
java-sources/com/aliyun/alibabacloud-sophonsoar20220728/3.0.0/com/aliyun/sdk/service/sophonsoar20220728
java-sources/com/aliyun/alibabacloud-sophonsoar20220728/3.0.0/com/aliyun/sdk/service/sophonsoar20220728/models/DescribePlaybookInputOutputResponseBody.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.sophonsoar20220728.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link DescribePlaybookInputOutputResponseBody} extends {@link TeaModel} * * <p>DescribePlaybookInputOutputResponseBody</p> */ public class DescribePlaybookInputOutputResponseBody extends TeaModel { @com.aliyun.core.annotation.NameInMap("Config") private Config config; @com.aliyun.core.annotation.NameInMap("RequestId") private String requestId; private DescribePlaybookInputOutputResponseBody(Builder builder) { this.config = builder.config; this.requestId = builder.requestId; } public static Builder builder() { return new Builder(); } public static DescribePlaybookInputOutputResponseBody create() { return builder().build(); } public Builder toBuilder() { return new Builder(this); } /** * @return config */ public Config getConfig() { return this.config; } /** * @return requestId */ public String getRequestId() { return this.requestId; } public static final class Builder { private Config config; private String requestId; private Builder() { } private Builder(DescribePlaybookInputOutputResponseBody model) { this.config = model.config; this.requestId = model.requestId; } /** * <p>The configurations.</p> */ public Builder config(Config config) { this.config = config; return this; } /** * <p>The request ID.</p> * * <strong>example:</strong> * <p>688B4CCD-5272-5DCF-9D76-FE5EFEF545F8</p> */ public Builder requestId(String requestId) { this.requestId = requestId; return this; } public DescribePlaybookInputOutputResponseBody build() { return new DescribePlaybookInputOutputResponseBody(this); } } /** * * {@link DescribePlaybookInputOutputResponseBody} extends {@link TeaModel} * * <p>DescribePlaybookInputOutputResponseBody</p> */ public static class Config extends TeaModel { @com.aliyun.core.annotation.NameInMap("ExeConfig") private String exeConfig; @com.aliyun.core.annotation.NameInMap("InputParams") private String inputParams; @com.aliyun.core.annotation.NameInMap("OutputParams") private String outputParams; @com.aliyun.core.annotation.NameInMap("ParamType") private String paramType; @com.aliyun.core.annotation.NameInMap("PlaybookUuid") private String playbookUuid; private Config(Builder builder) { this.exeConfig = builder.exeConfig; this.inputParams = builder.inputParams; this.outputParams = builder.outputParams; this.paramType = builder.paramType; this.playbookUuid = builder.playbookUuid; } public static Builder builder() { return new Builder(); } public static Config create() { return builder().build(); } /** * @return exeConfig */ public String getExeConfig() { return this.exeConfig; } /** * @return inputParams */ public String getInputParams() { return this.inputParams; } /** * @return outputParams */ public String getOutputParams() { return this.outputParams; } /** * @return paramType */ public String getParamType() { return this.paramType; } /** * @return playbookUuid */ public String getPlaybookUuid() { return this.playbookUuid; } public static final class Builder { private String exeConfig; private String inputParams; private String outputParams; private String paramType; private String playbookUuid; private Builder() { } private Builder(Config model) { this.exeConfig = model.exeConfig; this.inputParams = model.inputParams; this.outputParams = model.outputParams; this.paramType = model.paramType; this.playbookUuid = model.playbookUuid; } /** * <p>The execution method of the playbook is in JSONObject format.</p> */ public Builder exeConfig(String exeConfig) { this.exeConfig = exeConfig; return this; } /** * <p>The input parameter configuration of the playbook. The value is a JSON array.</p> * * <strong>example:</strong> * <p>[ * { * &quot;typeName&quot;: &quot;String&quot;, * &quot;dataClass&quot;: &quot;normal&quot;, * &quot;dataType&quot;: &quot;String&quot;, * &quot;description&quot;: &quot;period&quot;, * &quot;example&quot;: &quot;&quot;, * &quot;name&quot;: &quot;period&quot;, * &quot;required&quot;: false * } * ]</p> */ public Builder inputParams(String inputParams) { this.inputParams = inputParams; return this; } /** * <p>The output parameter configuration. This parameter is unavailable and is always left empty.</p> * * <strong>example:</strong> * <p>[]</p> */ public Builder outputParams(String outputParams) { this.outputParams = outputParams; return this; } /** * <p>The input parameter type of the playbook. Valid values:</p> * <ul> * <li><strong>template-ip</strong></li> * <li><strong>template-file</strong></li> * <li><strong>template-process</strong></li> * <li><strong>custom</strong></li> * </ul> * * <strong>example:</strong> * <p>custom</p> */ public Builder paramType(String paramType) { this.paramType = paramType; return this; } /** * <p>The UUID of the playbook.</p> * * <strong>example:</strong> * <p>9030076b-6733-4842-b05a-xxxxxx</p> */ public Builder playbookUuid(String playbookUuid) { this.playbookUuid = playbookUuid; return this; } public Config build() { return new Config(this); } } } }
0
java-sources/com/aliyun/alibabacloud-sophonsoar20220728/3.0.0/com/aliyun/sdk/service/sophonsoar20220728
java-sources/com/aliyun/alibabacloud-sophonsoar20220728/3.0.0/com/aliyun/sdk/service/sophonsoar20220728/models/DescribePlaybookMetricsRequest.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.sophonsoar20220728.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link DescribePlaybookMetricsRequest} extends {@link RequestModel} * * <p>DescribePlaybookMetricsRequest</p> */ public class DescribePlaybookMetricsRequest extends Request { @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("Lang") private String lang; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("PlaybookUuid") @com.aliyun.core.annotation.Validation(required = true) private String playbookUuid; private DescribePlaybookMetricsRequest(Builder builder) { super(builder); this.lang = builder.lang; this.playbookUuid = builder.playbookUuid; } public static Builder builder() { return new Builder(); } public static DescribePlaybookMetricsRequest create() { return builder().build(); } @Override public Builder toBuilder() { return new Builder(this); } /** * @return lang */ public String getLang() { return this.lang; } /** * @return playbookUuid */ public String getPlaybookUuid() { return this.playbookUuid; } public static final class Builder extends Request.Builder<DescribePlaybookMetricsRequest, Builder> { private String lang; private String playbookUuid; private Builder() { super(); } private Builder(DescribePlaybookMetricsRequest request) { super(request); this.lang = request.lang; this.playbookUuid = request.playbookUuid; } /** * <p>The language of the content within the request and response. Default value: <strong>zh</strong>. Valid values:</p> * <ul> * <li><strong>zh</strong>: Chinese</li> * <li><strong>en</strong>: English</li> * </ul> * * <strong>example:</strong> * <p>zh</p> */ public Builder lang(String lang) { this.putQueryParameter("Lang", lang); this.lang = lang; return this; } /** * <p>The UUID of the playbook.</p> * <blockquote> * <p> You can call the <a href="~~DescribePlaybooks~~">DescribePlaybooks</a>operation to query the UUIDs of playbooks.</p> * </blockquote> * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>2a687089-d4dd-47d4-9709-xxxxxx</p> */ public Builder playbookUuid(String playbookUuid) { this.putQueryParameter("PlaybookUuid", playbookUuid); this.playbookUuid = playbookUuid; return this; } @Override public DescribePlaybookMetricsRequest build() { return new DescribePlaybookMetricsRequest(this); } } }
0
java-sources/com/aliyun/alibabacloud-sophonsoar20220728/3.0.0/com/aliyun/sdk/service/sophonsoar20220728
java-sources/com/aliyun/alibabacloud-sophonsoar20220728/3.0.0/com/aliyun/sdk/service/sophonsoar20220728/models/DescribePlaybookMetricsResponse.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.sophonsoar20220728.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link DescribePlaybookMetricsResponse} extends {@link TeaModel} * * <p>DescribePlaybookMetricsResponse</p> */ public class DescribePlaybookMetricsResponse extends Response { @com.aliyun.core.annotation.NameInMap("headers") private java.util.Map<String, String> headers; @com.aliyun.core.annotation.NameInMap("statusCode") private Integer statusCode; @com.aliyun.core.annotation.NameInMap("body") private DescribePlaybookMetricsResponseBody body; private DescribePlaybookMetricsResponse(BuilderImpl builder) { super(builder); this.headers = builder.headers; this.statusCode = builder.statusCode; this.body = builder.body; } public static DescribePlaybookMetricsResponse create() { return new BuilderImpl().build(); } @Override public Builder toBuilder() { return new BuilderImpl(this); } /** * @return headers */ public java.util.Map<String, String> getHeaders() { return this.headers; } /** * @return statusCode */ public Integer getStatusCode() { return this.statusCode; } /** * @return body */ public DescribePlaybookMetricsResponseBody getBody() { return this.body; } public interface Builder extends Response.Builder<DescribePlaybookMetricsResponse, Builder> { Builder headers(java.util.Map<String, String> headers); Builder statusCode(Integer statusCode); Builder body(DescribePlaybookMetricsResponseBody body); @Override DescribePlaybookMetricsResponse build(); } private static final class BuilderImpl extends Response.BuilderImpl<DescribePlaybookMetricsResponse, Builder> implements Builder { private java.util.Map<String, String> headers; private Integer statusCode; private DescribePlaybookMetricsResponseBody body; private BuilderImpl() { super(); } private BuilderImpl(DescribePlaybookMetricsResponse response) { super(response); this.headers = response.headers; this.statusCode = response.statusCode; this.body = response.body; } /** * headers. */ @Override public Builder headers(java.util.Map<String, String> headers) { this.headers = headers; return this; } /** * statusCode. */ @Override public Builder statusCode(Integer statusCode) { this.statusCode = statusCode; return this; } /** * body. */ @Override public Builder body(DescribePlaybookMetricsResponseBody body) { this.body = body; return this; } @Override public DescribePlaybookMetricsResponse build() { return new DescribePlaybookMetricsResponse(this); } } }
0
java-sources/com/aliyun/alibabacloud-sophonsoar20220728/3.0.0/com/aliyun/sdk/service/sophonsoar20220728
java-sources/com/aliyun/alibabacloud-sophonsoar20220728/3.0.0/com/aliyun/sdk/service/sophonsoar20220728/models/DescribePlaybookMetricsResponseBody.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.sophonsoar20220728.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link DescribePlaybookMetricsResponseBody} extends {@link TeaModel} * * <p>DescribePlaybookMetricsResponseBody</p> */ public class DescribePlaybookMetricsResponseBody extends TeaModel { @com.aliyun.core.annotation.NameInMap("Metrics") private Metrics metrics; @com.aliyun.core.annotation.NameInMap("RequestId") private String requestId; private DescribePlaybookMetricsResponseBody(Builder builder) { this.metrics = builder.metrics; this.requestId = builder.requestId; } public static Builder builder() { return new Builder(); } public static DescribePlaybookMetricsResponseBody create() { return builder().build(); } public Builder toBuilder() { return new Builder(this); } /** * @return metrics */ public Metrics getMetrics() { return this.metrics; } /** * @return requestId */ public String getRequestId() { return this.requestId; } public static final class Builder { private Metrics metrics; private String requestId; private Builder() { } private Builder(DescribePlaybookMetricsResponseBody model) { this.metrics = model.metrics; this.requestId = model.requestId; } /** * <p>The details of the playbook.</p> */ public Builder metrics(Metrics metrics) { this.metrics = metrics; return this; } /** * <p>The request ID.</p> * * <strong>example:</strong> * <p>567D3D0B-2153-5860-BF9A-F9DEED55FB73</p> */ public Builder requestId(String requestId) { this.requestId = requestId; return this; } public DescribePlaybookMetricsResponseBody build() { return new DescribePlaybookMetricsResponseBody(this); } } /** * * {@link DescribePlaybookMetricsResponseBody} extends {@link TeaModel} * * <p>DescribePlaybookMetricsResponseBody</p> */ public static class Metrics extends TeaModel { @com.aliyun.core.annotation.NameInMap("Active") private Integer active; @com.aliyun.core.annotation.NameInMap("Description") private String description; @com.aliyun.core.annotation.NameInMap("DisplayName") private String displayName; @com.aliyun.core.annotation.NameInMap("FailNum") private Integer failNum; @com.aliyun.core.annotation.NameInMap("GmtCreate") private Long gmtCreate; @com.aliyun.core.annotation.NameInMap("HistoryMd5") private Integer historyMd5; @com.aliyun.core.annotation.NameInMap("LastRuntime") private Long lastRuntime; @com.aliyun.core.annotation.NameInMap("OwnType") private String ownType; @com.aliyun.core.annotation.NameInMap("PlaybookUuid") private String playbookUuid; @com.aliyun.core.annotation.NameInMap("SuccNum") private Integer succNum; private Metrics(Builder builder) { this.active = builder.active; this.description = builder.description; this.displayName = builder.displayName; this.failNum = builder.failNum; this.gmtCreate = builder.gmtCreate; this.historyMd5 = builder.historyMd5; this.lastRuntime = builder.lastRuntime; this.ownType = builder.ownType; this.playbookUuid = builder.playbookUuid; this.succNum = builder.succNum; } public static Builder builder() { return new Builder(); } public static Metrics create() { return builder().build(); } /** * @return active */ public Integer getActive() { return this.active; } /** * @return description */ public String getDescription() { return this.description; } /** * @return displayName */ public String getDisplayName() { return this.displayName; } /** * @return failNum */ public Integer getFailNum() { return this.failNum; } /** * @return gmtCreate */ public Long getGmtCreate() { return this.gmtCreate; } /** * @return historyMd5 */ public Integer getHistoryMd5() { return this.historyMd5; } /** * @return lastRuntime */ public Long getLastRuntime() { return this.lastRuntime; } /** * @return ownType */ public String getOwnType() { return this.ownType; } /** * @return playbookUuid */ public String getPlaybookUuid() { return this.playbookUuid; } /** * @return succNum */ public Integer getSuccNum() { return this.succNum; } public static final class Builder { private Integer active; private String description; private String displayName; private Integer failNum; private Long gmtCreate; private Integer historyMd5; private Long lastRuntime; private String ownType; private String playbookUuid; private Integer succNum; private Builder() { } private Builder(Metrics model) { this.active = model.active; this.description = model.description; this.displayName = model.displayName; this.failNum = model.failNum; this.gmtCreate = model.gmtCreate; this.historyMd5 = model.historyMd5; this.lastRuntime = model.lastRuntime; this.ownType = model.ownType; this.playbookUuid = model.playbookUuid; this.succNum = model.succNum; } /** * <p>The status of the playbook. Valid values:</p> * <ul> * <li><strong>1</strong>: enabled</li> * <li><strong>0</strong>: disabled</li> * </ul> * * <strong>example:</strong> * <p>1</p> */ public Builder active(Integer active) { this.active = active; return this; } /** * <p>The description of the playbook.</p> * * <strong>example:</strong> * <p>This is a playbook for waf processing</p> */ public Builder description(String description) { this.description = description; return this; } /** * <p>The name of the playbook.</p> * * <strong>example:</strong> * <p>demo name</p> */ public Builder displayName(String displayName) { this.displayName = displayName; return this; } /** * <p>The number of the tasks that are created for the playbook and failed to run.</p> * * <strong>example:</strong> * <p>10</p> */ public Builder failNum(Integer failNum) { this.failNum = failNum; return this; } /** * <p>The time when the playbook was created. The value is a 13-digit timestamp.</p> * * <strong>example:</strong> * <p>1655277397000</p> */ public Builder gmtCreate(Long gmtCreate) { this.gmtCreate = gmtCreate; return this; } /** * <p>The number of historical versions of the playbook.</p> * * <strong>example:</strong> * <p>10</p> */ public Builder historyMd5(Integer historyMd5) { this.historyMd5 = historyMd5; return this; } /** * <p>The time when the playbook was last run. The value is a 13-digit timestamp.</p> * * <strong>example:</strong> * <p>1683526277415</p> */ public Builder lastRuntime(Long lastRuntime) { this.lastRuntime = lastRuntime; return this; } /** * <p>The type of the playbook. Valid values:</p> * <ul> * <li><strong>preset</strong>: predefined playbook</li> * <li><strong>user</strong>: custom playbook</li> * </ul> * * <strong>example:</strong> * <p>user</p> */ public Builder ownType(String ownType) { this.ownType = ownType; return this; } /** * <p>The UUID of the playbook.</p> * * <strong>example:</strong> * <p>0fbc9bdb-9ae3-4ef4-a709-xxxxx</p> */ public Builder playbookUuid(String playbookUuid) { this.playbookUuid = playbookUuid; return this; } /** * <p>The number of the tasks that are created for the playbook and were successfully run.</p> * * <strong>example:</strong> * <p>100</p> */ public Builder succNum(Integer succNum) { this.succNum = succNum; return this; } public Metrics build() { return new Metrics(this); } } } }
0
java-sources/com/aliyun/alibabacloud-sophonsoar20220728/3.0.0/com/aliyun/sdk/service/sophonsoar20220728
java-sources/com/aliyun/alibabacloud-sophonsoar20220728/3.0.0/com/aliyun/sdk/service/sophonsoar20220728/models/DescribePlaybookNodesOutputRequest.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.sophonsoar20220728.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link DescribePlaybookNodesOutputRequest} extends {@link RequestModel} * * <p>DescribePlaybookNodesOutputRequest</p> */ public class DescribePlaybookNodesOutputRequest extends Request { @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("Lang") private String lang; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("NodeName") @com.aliyun.core.annotation.Validation(required = true) private String nodeName; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("PlaybookUuid") @com.aliyun.core.annotation.Validation(required = true) private String playbookUuid; private DescribePlaybookNodesOutputRequest(Builder builder) { super(builder); this.lang = builder.lang; this.nodeName = builder.nodeName; this.playbookUuid = builder.playbookUuid; } public static Builder builder() { return new Builder(); } public static DescribePlaybookNodesOutputRequest create() { return builder().build(); } @Override public Builder toBuilder() { return new Builder(this); } /** * @return lang */ public String getLang() { return this.lang; } /** * @return nodeName */ public String getNodeName() { return this.nodeName; } /** * @return playbookUuid */ public String getPlaybookUuid() { return this.playbookUuid; } public static final class Builder extends Request.Builder<DescribePlaybookNodesOutputRequest, Builder> { private String lang; private String nodeName; private String playbookUuid; private Builder() { super(); } private Builder(DescribePlaybookNodesOutputRequest request) { super(request); this.lang = request.lang; this.nodeName = request.nodeName; this.playbookUuid = request.playbookUuid; } /** * <p>The language of the content within the request and response. Default value: <strong>zh</strong>. Valid values:</p> * <ul> * <li><strong>zh</strong>: Chinese</li> * <li><strong>en</strong>: English</li> * </ul> * * <strong>example:</strong> * <p>zh</p> */ public Builder lang(String lang) { this.putQueryParameter("Lang", lang); this.lang = lang; return this; } /** * <p>The name of the component node.</p> * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>DataFormat_1</p> */ public Builder nodeName(String nodeName) { this.putQueryParameter("NodeName", nodeName); this.nodeName = nodeName; return this; } /** * <p>The UUID of the playbook.</p> * <blockquote> * <p> You can call the <a href="~~DescribePlaybooks~~">DescribePlaybooks</a>operation to query the UUIDs of playbooks.</p> * </blockquote> * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>ac343acc-1a61-4084-9a1c-xxxxx</p> */ public Builder playbookUuid(String playbookUuid) { this.putQueryParameter("PlaybookUuid", playbookUuid); this.playbookUuid = playbookUuid; return this; } @Override public DescribePlaybookNodesOutputRequest build() { return new DescribePlaybookNodesOutputRequest(this); } } }
0
java-sources/com/aliyun/alibabacloud-sophonsoar20220728/3.0.0/com/aliyun/sdk/service/sophonsoar20220728
java-sources/com/aliyun/alibabacloud-sophonsoar20220728/3.0.0/com/aliyun/sdk/service/sophonsoar20220728/models/DescribePlaybookNodesOutputResponse.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.sophonsoar20220728.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link DescribePlaybookNodesOutputResponse} extends {@link TeaModel} * * <p>DescribePlaybookNodesOutputResponse</p> */ public class DescribePlaybookNodesOutputResponse extends Response { @com.aliyun.core.annotation.NameInMap("headers") private java.util.Map<String, String> headers; @com.aliyun.core.annotation.NameInMap("statusCode") private Integer statusCode; @com.aliyun.core.annotation.NameInMap("body") private DescribePlaybookNodesOutputResponseBody body; private DescribePlaybookNodesOutputResponse(BuilderImpl builder) { super(builder); this.headers = builder.headers; this.statusCode = builder.statusCode; this.body = builder.body; } public static DescribePlaybookNodesOutputResponse create() { return new BuilderImpl().build(); } @Override public Builder toBuilder() { return new BuilderImpl(this); } /** * @return headers */ public java.util.Map<String, String> getHeaders() { return this.headers; } /** * @return statusCode */ public Integer getStatusCode() { return this.statusCode; } /** * @return body */ public DescribePlaybookNodesOutputResponseBody getBody() { return this.body; } public interface Builder extends Response.Builder<DescribePlaybookNodesOutputResponse, Builder> { Builder headers(java.util.Map<String, String> headers); Builder statusCode(Integer statusCode); Builder body(DescribePlaybookNodesOutputResponseBody body); @Override DescribePlaybookNodesOutputResponse build(); } private static final class BuilderImpl extends Response.BuilderImpl<DescribePlaybookNodesOutputResponse, Builder> implements Builder { private java.util.Map<String, String> headers; private Integer statusCode; private DescribePlaybookNodesOutputResponseBody body; private BuilderImpl() { super(); } private BuilderImpl(DescribePlaybookNodesOutputResponse response) { super(response); this.headers = response.headers; this.statusCode = response.statusCode; this.body = response.body; } /** * headers. */ @Override public Builder headers(java.util.Map<String, String> headers) { this.headers = headers; return this; } /** * statusCode. */ @Override public Builder statusCode(Integer statusCode) { this.statusCode = statusCode; return this; } /** * body. */ @Override public Builder body(DescribePlaybookNodesOutputResponseBody body) { this.body = body; return this; } @Override public DescribePlaybookNodesOutputResponse build() { return new DescribePlaybookNodesOutputResponse(this); } } }
0
java-sources/com/aliyun/alibabacloud-sophonsoar20220728/3.0.0/com/aliyun/sdk/service/sophonsoar20220728
java-sources/com/aliyun/alibabacloud-sophonsoar20220728/3.0.0/com/aliyun/sdk/service/sophonsoar20220728/models/DescribePlaybookNodesOutputResponseBody.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.sophonsoar20220728.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link DescribePlaybookNodesOutputResponseBody} extends {@link TeaModel} * * <p>DescribePlaybookNodesOutputResponseBody</p> */ public class DescribePlaybookNodesOutputResponseBody extends TeaModel { @com.aliyun.core.annotation.NameInMap("PlaybookNodesOutput") private PlaybookNodesOutput playbookNodesOutput; @com.aliyun.core.annotation.NameInMap("RequestId") private String requestId; private DescribePlaybookNodesOutputResponseBody(Builder builder) { this.playbookNodesOutput = builder.playbookNodesOutput; this.requestId = builder.requestId; } public static Builder builder() { return new Builder(); } public static DescribePlaybookNodesOutputResponseBody create() { return builder().build(); } public Builder toBuilder() { return new Builder(this); } /** * @return playbookNodesOutput */ public PlaybookNodesOutput getPlaybookNodesOutput() { return this.playbookNodesOutput; } /** * @return requestId */ public String getRequestId() { return this.requestId; } public static final class Builder { private PlaybookNodesOutput playbookNodesOutput; private String requestId; private Builder() { } private Builder(DescribePlaybookNodesOutputResponseBody model) { this.playbookNodesOutput = model.playbookNodesOutput; this.requestId = model.requestId; } /** * <p>The output data of the component node.</p> */ public Builder playbookNodesOutput(PlaybookNodesOutput playbookNodesOutput) { this.playbookNodesOutput = playbookNodesOutput; return this; } /** * <p>The request ID.</p> * * <strong>example:</strong> * <p>A491170C-FE1F-520E-83D4-72ED205B72ED</p> */ public Builder requestId(String requestId) { this.requestId = requestId; return this; } public DescribePlaybookNodesOutputResponseBody build() { return new DescribePlaybookNodesOutputResponseBody(this); } } /** * * {@link DescribePlaybookNodesOutputResponseBody} extends {@link TeaModel} * * <p>DescribePlaybookNodesOutputResponseBody</p> */ public static class PlaybookNodesOutput extends TeaModel { @com.aliyun.core.annotation.NameInMap("NodeName") private String nodeName; @com.aliyun.core.annotation.NameInMap("NodeOutput") private String nodeOutput; private PlaybookNodesOutput(Builder builder) { this.nodeName = builder.nodeName; this.nodeOutput = builder.nodeOutput; } public static Builder builder() { return new Builder(); } public static PlaybookNodesOutput create() { return builder().build(); } /** * @return nodeName */ public String getNodeName() { return this.nodeName; } /** * @return nodeOutput */ public String getNodeOutput() { return this.nodeOutput; } public static final class Builder { private String nodeName; private String nodeOutput; private Builder() { } private Builder(PlaybookNodesOutput model) { this.nodeName = model.nodeName; this.nodeOutput = model.nodeOutput; } /** * <p>The name of the component node.</p> * * <strong>example:</strong> * <p>DataFormat_1</p> */ public Builder nodeName(String nodeName) { this.nodeName = nodeName; return this; } /** * <p>The historical output data of the component node. The value is in the JSON string format. If no data is found, the parameter is left empty.</p> * * <strong>example:</strong> * <p>{ * &quot;datalist&quot;: [ * { * &quot;score&quot;: &quot;10&quot;, * &quot;ip&quot;: &quot;1.1.1.1&quot; * } * ], * &quot;total_data_successful&quot;: 1, * &quot;filter_total_data&quot;: 1, * &quot;total_data&quot;: 1, * &quot;total_exe_successful&quot;: 1, * &quot;total_exe&quot;: 1, * &quot;total_data_with_dup&quot;: 1, * &quot;filter_total_data_successful&quot;: 1, * &quot;status&quot;: true * }</p> */ public Builder nodeOutput(String nodeOutput) { this.nodeOutput = nodeOutput; return this; } public PlaybookNodesOutput build() { return new PlaybookNodesOutput(this); } } } }
0
java-sources/com/aliyun/alibabacloud-sophonsoar20220728/3.0.0/com/aliyun/sdk/service/sophonsoar20220728
java-sources/com/aliyun/alibabacloud-sophonsoar20220728/3.0.0/com/aliyun/sdk/service/sophonsoar20220728/models/DescribePlaybookNumberMetricsRequest.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.sophonsoar20220728.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link DescribePlaybookNumberMetricsRequest} extends {@link RequestModel} * * <p>DescribePlaybookNumberMetricsRequest</p> */ public class DescribePlaybookNumberMetricsRequest extends Request { @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("Lang") private String lang; private DescribePlaybookNumberMetricsRequest(Builder builder) { super(builder); this.lang = builder.lang; } public static Builder builder() { return new Builder(); } public static DescribePlaybookNumberMetricsRequest create() { return builder().build(); } @Override public Builder toBuilder() { return new Builder(this); } /** * @return lang */ public String getLang() { return this.lang; } public static final class Builder extends Request.Builder<DescribePlaybookNumberMetricsRequest, Builder> { private String lang; private Builder() { super(); } private Builder(DescribePlaybookNumberMetricsRequest request) { super(request); this.lang = request.lang; } /** * <p>The language of the content within the request and response. Valid values:</p> * <ul> * <li><strong>zh</strong> (default): Chinese</li> * <li><strong>en</strong>: English</li> * </ul> * * <strong>example:</strong> * <p>zh</p> */ public Builder lang(String lang) { this.putQueryParameter("Lang", lang); this.lang = lang; return this; } @Override public DescribePlaybookNumberMetricsRequest build() { return new DescribePlaybookNumberMetricsRequest(this); } } }
0
java-sources/com/aliyun/alibabacloud-sophonsoar20220728/3.0.0/com/aliyun/sdk/service/sophonsoar20220728
java-sources/com/aliyun/alibabacloud-sophonsoar20220728/3.0.0/com/aliyun/sdk/service/sophonsoar20220728/models/DescribePlaybookNumberMetricsResponse.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.sophonsoar20220728.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link DescribePlaybookNumberMetricsResponse} extends {@link TeaModel} * * <p>DescribePlaybookNumberMetricsResponse</p> */ public class DescribePlaybookNumberMetricsResponse extends Response { @com.aliyun.core.annotation.NameInMap("headers") private java.util.Map<String, String> headers; @com.aliyun.core.annotation.NameInMap("statusCode") private Integer statusCode; @com.aliyun.core.annotation.NameInMap("body") private DescribePlaybookNumberMetricsResponseBody body; private DescribePlaybookNumberMetricsResponse(BuilderImpl builder) { super(builder); this.headers = builder.headers; this.statusCode = builder.statusCode; this.body = builder.body; } public static DescribePlaybookNumberMetricsResponse create() { return new BuilderImpl().build(); } @Override public Builder toBuilder() { return new BuilderImpl(this); } /** * @return headers */ public java.util.Map<String, String> getHeaders() { return this.headers; } /** * @return statusCode */ public Integer getStatusCode() { return this.statusCode; } /** * @return body */ public DescribePlaybookNumberMetricsResponseBody getBody() { return this.body; } public interface Builder extends Response.Builder<DescribePlaybookNumberMetricsResponse, Builder> { Builder headers(java.util.Map<String, String> headers); Builder statusCode(Integer statusCode); Builder body(DescribePlaybookNumberMetricsResponseBody body); @Override DescribePlaybookNumberMetricsResponse build(); } private static final class BuilderImpl extends Response.BuilderImpl<DescribePlaybookNumberMetricsResponse, Builder> implements Builder { private java.util.Map<String, String> headers; private Integer statusCode; private DescribePlaybookNumberMetricsResponseBody body; private BuilderImpl() { super(); } private BuilderImpl(DescribePlaybookNumberMetricsResponse response) { super(response); this.headers = response.headers; this.statusCode = response.statusCode; this.body = response.body; } /** * headers. */ @Override public Builder headers(java.util.Map<String, String> headers) { this.headers = headers; return this; } /** * statusCode. */ @Override public Builder statusCode(Integer statusCode) { this.statusCode = statusCode; return this; } /** * body. */ @Override public Builder body(DescribePlaybookNumberMetricsResponseBody body) { this.body = body; return this; } @Override public DescribePlaybookNumberMetricsResponse build() { return new DescribePlaybookNumberMetricsResponse(this); } } }
0
java-sources/com/aliyun/alibabacloud-sophonsoar20220728/3.0.0/com/aliyun/sdk/service/sophonsoar20220728
java-sources/com/aliyun/alibabacloud-sophonsoar20220728/3.0.0/com/aliyun/sdk/service/sophonsoar20220728/models/DescribePlaybookNumberMetricsResponseBody.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.sophonsoar20220728.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link DescribePlaybookNumberMetricsResponseBody} extends {@link TeaModel} * * <p>DescribePlaybookNumberMetricsResponseBody</p> */ public class DescribePlaybookNumberMetricsResponseBody extends TeaModel { @com.aliyun.core.annotation.NameInMap("Metrics") private Metrics metrics; @com.aliyun.core.annotation.NameInMap("RequestId") private String requestId; private DescribePlaybookNumberMetricsResponseBody(Builder builder) { this.metrics = builder.metrics; this.requestId = builder.requestId; } public static Builder builder() { return new Builder(); } public static DescribePlaybookNumberMetricsResponseBody create() { return builder().build(); } public Builder toBuilder() { return new Builder(this); } /** * @return metrics */ public Metrics getMetrics() { return this.metrics; } /** * @return requestId */ public String getRequestId() { return this.requestId; } public static final class Builder { private Metrics metrics; private String requestId; private Builder() { } private Builder(DescribePlaybookNumberMetricsResponseBody model) { this.metrics = model.metrics; this.requestId = model.requestId; } /** * <p>The statistics.</p> */ public Builder metrics(Metrics metrics) { this.metrics = metrics; return this; } /** * <p>The request ID.</p> * * <strong>example:</strong> * <p>D4CC979E-3D5B-5A6A-BC87-C93C9E861C7B</p> */ public Builder requestId(String requestId) { this.requestId = requestId; return this; } public DescribePlaybookNumberMetricsResponseBody build() { return new DescribePlaybookNumberMetricsResponseBody(this); } } /** * * {@link DescribePlaybookNumberMetricsResponseBody} extends {@link TeaModel} * * <p>DescribePlaybookNumberMetricsResponseBody</p> */ public static class Metrics extends TeaModel { @com.aliyun.core.annotation.NameInMap("StartUpNum") private Integer startUpNum; @com.aliyun.core.annotation.NameInMap("TotalNum") private Integer totalNum; private Metrics(Builder builder) { this.startUpNum = builder.startUpNum; this.totalNum = builder.totalNum; } public static Builder builder() { return new Builder(); } public static Metrics create() { return builder().build(); } /** * @return startUpNum */ public Integer getStartUpNum() { return this.startUpNum; } /** * @return totalNum */ public Integer getTotalNum() { return this.totalNum; } public static final class Builder { private Integer startUpNum; private Integer totalNum; private Builder() { } private Builder(Metrics model) { this.startUpNum = model.startUpNum; this.totalNum = model.totalNum; } /** * <p>The number of enabled playbooks.</p> * * <strong>example:</strong> * <p>50</p> */ public Builder startUpNum(Integer startUpNum) { this.startUpNum = startUpNum; return this; } /** * <p>The total number of playbooks.</p> * * <strong>example:</strong> * <p>100</p> */ public Builder totalNum(Integer totalNum) { this.totalNum = totalNum; return this; } public Metrics build() { return new Metrics(this); } } } }
0
java-sources/com/aliyun/alibabacloud-sophonsoar20220728/3.0.0/com/aliyun/sdk/service/sophonsoar20220728
java-sources/com/aliyun/alibabacloud-sophonsoar20220728/3.0.0/com/aliyun/sdk/service/sophonsoar20220728/models/DescribePlaybookReleasesRequest.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.sophonsoar20220728.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link DescribePlaybookReleasesRequest} extends {@link RequestModel} * * <p>DescribePlaybookReleasesRequest</p> */ public class DescribePlaybookReleasesRequest extends Request { @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("Lang") private String lang; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("PageNumber") private Integer pageNumber; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("PageSize") private Integer pageSize; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("PlaybookUuid") @com.aliyun.core.annotation.Validation(required = true) private String playbookUuid; private DescribePlaybookReleasesRequest(Builder builder) { super(builder); this.lang = builder.lang; this.pageNumber = builder.pageNumber; this.pageSize = builder.pageSize; this.playbookUuid = builder.playbookUuid; } public static Builder builder() { return new Builder(); } public static DescribePlaybookReleasesRequest create() { return builder().build(); } @Override public Builder toBuilder() { return new Builder(this); } /** * @return lang */ public String getLang() { return this.lang; } /** * @return pageNumber */ public Integer getPageNumber() { return this.pageNumber; } /** * @return pageSize */ public Integer getPageSize() { return this.pageSize; } /** * @return playbookUuid */ public String getPlaybookUuid() { return this.playbookUuid; } public static final class Builder extends Request.Builder<DescribePlaybookReleasesRequest, Builder> { private String lang; private Integer pageNumber; private Integer pageSize; private String playbookUuid; private Builder() { super(); } private Builder(DescribePlaybookReleasesRequest request) { super(request); this.lang = request.lang; this.pageNumber = request.pageNumber; this.pageSize = request.pageSize; this.playbookUuid = request.playbookUuid; } /** * <p>The language of the content within the request and response. Default value: <strong>zh</strong>. Valid values:</p> * <ul> * <li><strong>zh</strong>: Chinese</li> * <li><strong>en</strong>: English</li> * </ul> * * <strong>example:</strong> * <p>zh</p> */ public Builder lang(String lang) { this.putQueryParameter("Lang", lang); this.lang = lang; return this; } /** * <p>The page number. Default value: 1. Pages start from page 1.</p> * * <strong>example:</strong> * <p>1</p> */ public Builder pageNumber(Integer pageNumber) { this.putQueryParameter("PageNumber", pageNumber); this.pageNumber = pageNumber; return this; } /** * <p>The number of entries per page. Default value: 10. If you do not specify the PageSize parameter, 10 entries are returned by default.</p> * <blockquote> * <p> We recommend that you do not leave this parameter empty.</p> * </blockquote> * * <strong>example:</strong> * <p>10</p> */ public Builder pageSize(Integer pageSize) { this.putQueryParameter("PageSize", pageSize); this.pageSize = pageSize; return this; } /** * <p>The playbook UUID.</p> * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>ac343acc-1a61-4084-9a1c-xxxx</p> */ public Builder playbookUuid(String playbookUuid) { this.putQueryParameter("PlaybookUuid", playbookUuid); this.playbookUuid = playbookUuid; return this; } @Override public DescribePlaybookReleasesRequest build() { return new DescribePlaybookReleasesRequest(this); } } }
0
java-sources/com/aliyun/alibabacloud-sophonsoar20220728/3.0.0/com/aliyun/sdk/service/sophonsoar20220728
java-sources/com/aliyun/alibabacloud-sophonsoar20220728/3.0.0/com/aliyun/sdk/service/sophonsoar20220728/models/DescribePlaybookReleasesResponse.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.sophonsoar20220728.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link DescribePlaybookReleasesResponse} extends {@link TeaModel} * * <p>DescribePlaybookReleasesResponse</p> */ public class DescribePlaybookReleasesResponse extends Response { @com.aliyun.core.annotation.NameInMap("headers") private java.util.Map<String, String> headers; @com.aliyun.core.annotation.NameInMap("statusCode") private Integer statusCode; @com.aliyun.core.annotation.NameInMap("body") private DescribePlaybookReleasesResponseBody body; private DescribePlaybookReleasesResponse(BuilderImpl builder) { super(builder); this.headers = builder.headers; this.statusCode = builder.statusCode; this.body = builder.body; } public static DescribePlaybookReleasesResponse create() { return new BuilderImpl().build(); } @Override public Builder toBuilder() { return new BuilderImpl(this); } /** * @return headers */ public java.util.Map<String, String> getHeaders() { return this.headers; } /** * @return statusCode */ public Integer getStatusCode() { return this.statusCode; } /** * @return body */ public DescribePlaybookReleasesResponseBody getBody() { return this.body; } public interface Builder extends Response.Builder<DescribePlaybookReleasesResponse, Builder> { Builder headers(java.util.Map<String, String> headers); Builder statusCode(Integer statusCode); Builder body(DescribePlaybookReleasesResponseBody body); @Override DescribePlaybookReleasesResponse build(); } private static final class BuilderImpl extends Response.BuilderImpl<DescribePlaybookReleasesResponse, Builder> implements Builder { private java.util.Map<String, String> headers; private Integer statusCode; private DescribePlaybookReleasesResponseBody body; private BuilderImpl() { super(); } private BuilderImpl(DescribePlaybookReleasesResponse response) { super(response); this.headers = response.headers; this.statusCode = response.statusCode; this.body = response.body; } /** * headers. */ @Override public Builder headers(java.util.Map<String, String> headers) { this.headers = headers; return this; } /** * statusCode. */ @Override public Builder statusCode(Integer statusCode) { this.statusCode = statusCode; return this; } /** * body. */ @Override public Builder body(DescribePlaybookReleasesResponseBody body) { this.body = body; return this; } @Override public DescribePlaybookReleasesResponse build() { return new DescribePlaybookReleasesResponse(this); } } }
0
java-sources/com/aliyun/alibabacloud-sophonsoar20220728/3.0.0/com/aliyun/sdk/service/sophonsoar20220728
java-sources/com/aliyun/alibabacloud-sophonsoar20220728/3.0.0/com/aliyun/sdk/service/sophonsoar20220728/models/DescribePlaybookReleasesResponseBody.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.sophonsoar20220728.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link DescribePlaybookReleasesResponseBody} extends {@link TeaModel} * * <p>DescribePlaybookReleasesResponseBody</p> */ public class DescribePlaybookReleasesResponseBody extends TeaModel { @com.aliyun.core.annotation.NameInMap("Page") private Page page; @com.aliyun.core.annotation.NameInMap("Records") private java.util.List<Records> records; @com.aliyun.core.annotation.NameInMap("RequestId") private String requestId; private DescribePlaybookReleasesResponseBody(Builder builder) { this.page = builder.page; this.records = builder.records; this.requestId = builder.requestId; } public static Builder builder() { return new Builder(); } public static DescribePlaybookReleasesResponseBody create() { return builder().build(); } public Builder toBuilder() { return new Builder(this); } /** * @return page */ public Page getPage() { return this.page; } /** * @return records */ public java.util.List<Records> getRecords() { return this.records; } /** * @return requestId */ public String getRequestId() { return this.requestId; } public static final class Builder { private Page page; private java.util.List<Records> records; private String requestId; private Builder() { } private Builder(DescribePlaybookReleasesResponseBody model) { this.page = model.page; this.records = model.records; this.requestId = model.requestId; } /** * <p>The pagination information.</p> */ public Builder page(Page page) { this.page = page; return this; } /** * <p>The information about the playbook version.</p> */ public Builder records(java.util.List<Records> records) { this.records = records; return this; } /** * <p>The request ID.</p> * * <strong>example:</strong> * <p>3DFBE11C-6EB6-5166-92D6-3397796AFE1E</p> */ public Builder requestId(String requestId) { this.requestId = requestId; return this; } public DescribePlaybookReleasesResponseBody build() { return new DescribePlaybookReleasesResponseBody(this); } } /** * * {@link DescribePlaybookReleasesResponseBody} extends {@link TeaModel} * * <p>DescribePlaybookReleasesResponseBody</p> */ public static class Page extends TeaModel { @com.aliyun.core.annotation.NameInMap("PageNumber") private Integer pageNumber; @com.aliyun.core.annotation.NameInMap("PageSize") private Integer pageSize; @com.aliyun.core.annotation.NameInMap("TotalCount") private Integer totalCount; private Page(Builder builder) { this.pageNumber = builder.pageNumber; this.pageSize = builder.pageSize; this.totalCount = builder.totalCount; } public static Builder builder() { return new Builder(); } public static Page create() { return builder().build(); } /** * @return pageNumber */ public Integer getPageNumber() { return this.pageNumber; } /** * @return pageSize */ public Integer getPageSize() { return this.pageSize; } /** * @return totalCount */ public Integer getTotalCount() { return this.totalCount; } public static final class Builder { private Integer pageNumber; private Integer pageSize; private Integer totalCount; private Builder() { } private Builder(Page model) { this.pageNumber = model.pageNumber; this.pageSize = model.pageSize; this.totalCount = model.totalCount; } /** * <p>The page number.</p> * * <strong>example:</strong> * <p>1</p> */ public Builder pageNumber(Integer pageNumber) { this.pageNumber = pageNumber; return this; } /** * <p>The number of entries per page.</p> * * <strong>example:</strong> * <p>10</p> */ public Builder pageSize(Integer pageSize) { this.pageSize = pageSize; return this; } /** * <p>The total number of entries returned.</p> * * <strong>example:</strong> * <p>100</p> */ public Builder totalCount(Integer totalCount) { this.totalCount = totalCount; return this; } public Page build() { return new Page(this); } } } /** * * {@link DescribePlaybookReleasesResponseBody} extends {@link TeaModel} * * <p>DescribePlaybookReleasesResponseBody</p> */ public static class Records extends TeaModel { @com.aliyun.core.annotation.NameInMap("Creator") private String creator; @com.aliyun.core.annotation.NameInMap("Description") private String description; @com.aliyun.core.annotation.NameInMap("GmtCreate") private Long gmtCreate; @com.aliyun.core.annotation.NameInMap("GmtModified") private Long gmtModified; @com.aliyun.core.annotation.NameInMap("Id") private Integer id; @com.aliyun.core.annotation.NameInMap("TaskflowMd5") private String taskflowMd5; private Records(Builder builder) { this.creator = builder.creator; this.description = builder.description; this.gmtCreate = builder.gmtCreate; this.gmtModified = builder.gmtModified; this.id = builder.id; this.taskflowMd5 = builder.taskflowMd5; } public static Builder builder() { return new Builder(); } public static Records create() { return builder().build(); } /** * @return creator */ public String getCreator() { return this.creator; } /** * @return description */ public String getDescription() { return this.description; } /** * @return gmtCreate */ public Long getGmtCreate() { return this.gmtCreate; } /** * @return gmtModified */ public Long getGmtModified() { return this.gmtModified; } /** * @return id */ public Integer getId() { return this.id; } /** * @return taskflowMd5 */ public String getTaskflowMd5() { return this.taskflowMd5; } public static final class Builder { private String creator; private String description; private Long gmtCreate; private Long gmtModified; private Integer id; private String taskflowMd5; private Builder() { } private Builder(Records model) { this.creator = model.creator; this.description = model.description; this.gmtCreate = model.gmtCreate; this.gmtModified = model.gmtModified; this.id = model.id; this.taskflowMd5 = model.taskflowMd5; } /** * <p>The ID of the Alibaba Cloud account that is used to publish the version.</p> * * <strong>example:</strong> * <p>145xxxx985</p> */ public Builder creator(String creator) { this.creator = creator; return this; } /** * <p>The description of the layer version.</p> * * <strong>example:</strong> * <p>This is a new version</p> */ public Builder description(String description) { this.description = description; return this; } /** * <p>The time when the version was created. The value is a 13-digit timestamp.</p> * * <strong>example:</strong> * <p>1655277397000</p> */ public Builder gmtCreate(Long gmtCreate) { this.gmtCreate = gmtCreate; return this; } /** * <p>The time when the version was modified. The value is a 13-digit timestamp.</p> * * <strong>example:</strong> * <p>1691460804000</p> */ public Builder gmtModified(Long gmtModified) { this.gmtModified = gmtModified; return this; } /** * <p>The record ID.</p> * * <strong>example:</strong> * <p>80xxx</p> */ public Builder id(Integer id) { this.id = id; return this; } /** * <p>The MD5 value configured for the published version of the playbook.</p> * * <strong>example:</strong> * <p>be0a4ef084dd174abe47xxxxx</p> */ public Builder taskflowMd5(String taskflowMd5) { this.taskflowMd5 = taskflowMd5; return this; } public Records build() { return new Records(this); } } } }
0
java-sources/com/aliyun/alibabacloud-sophonsoar20220728/3.0.0/com/aliyun/sdk/service/sophonsoar20220728
java-sources/com/aliyun/alibabacloud-sophonsoar20220728/3.0.0/com/aliyun/sdk/service/sophonsoar20220728/models/DescribePlaybookRequest.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.sophonsoar20220728.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link DescribePlaybookRequest} extends {@link RequestModel} * * <p>DescribePlaybookRequest</p> */ public class DescribePlaybookRequest extends Request { @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("DebugFlag") private Integer debugFlag; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("Lang") private String lang; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("PlaybookUuid") @com.aliyun.core.annotation.Validation(required = true) private String playbookUuid; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("TaskflowMd5") private String taskflowMd5; private DescribePlaybookRequest(Builder builder) { super(builder); this.debugFlag = builder.debugFlag; this.lang = builder.lang; this.playbookUuid = builder.playbookUuid; this.taskflowMd5 = builder.taskflowMd5; } public static Builder builder() { return new Builder(); } public static DescribePlaybookRequest create() { return builder().build(); } @Override public Builder toBuilder() { return new Builder(this); } /** * @return debugFlag */ public Integer getDebugFlag() { return this.debugFlag; } /** * @return lang */ public String getLang() { return this.lang; } /** * @return playbookUuid */ public String getPlaybookUuid() { return this.playbookUuid; } /** * @return taskflowMd5 */ public String getTaskflowMd5() { return this.taskflowMd5; } public static final class Builder extends Request.Builder<DescribePlaybookRequest, Builder> { private Integer debugFlag; private String lang; private String playbookUuid; private String taskflowMd5; private Builder() { super(); } private Builder(DescribePlaybookRequest request) { super(request); this.debugFlag = request.debugFlag; this.lang = request.lang; this.playbookUuid = request.playbookUuid; this.taskflowMd5 = request.taskflowMd5; } /** * <p>The flag that indicates whether the playbook is of the debugging or published version. Valid values:</p> * <ul> * <li><strong>1</strong>: playbook of the debugging version</li> * <li><strong>0</strong>: playbook of the published version</li> * </ul> * * <strong>example:</strong> * <p>0</p> */ public Builder debugFlag(Integer debugFlag) { this.putQueryParameter("DebugFlag", debugFlag); this.debugFlag = debugFlag; return this; } /** * <p>The language of the content within the request and response. Default value: <strong>zh</strong>. Valid values:</p> * <ul> * <li><strong>zh</strong>: Chinese</li> * <li><strong>en</strong>: English</li> * </ul> * * <strong>example:</strong> * <p>zh</p> */ public Builder lang(String lang) { this.putQueryParameter("Lang", lang); this.lang = lang; return this; } /** * <p>The UUID of the playbook.</p> * <blockquote> * <p> You can call the <a href="~~DescribePlaybooks~~">DescribePlaybooks</a>operation to query the UUIDs of playbooks.</p> * </blockquote> * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>9030076b-6733-4842-b05a-xxxxx</p> */ public Builder playbookUuid(String playbookUuid) { this.putQueryParameter("PlaybookUuid", playbookUuid); this.playbookUuid = playbookUuid; return this; } /** * <p>The MD5 hash value of the playbook.</p> * * <strong>example:</strong> * <p>7a8f608dc64c242632aa578xxxxx</p> */ public Builder taskflowMd5(String taskflowMd5) { this.putQueryParameter("TaskflowMd5", taskflowMd5); this.taskflowMd5 = taskflowMd5; return this; } @Override public DescribePlaybookRequest build() { return new DescribePlaybookRequest(this); } } }
0
java-sources/com/aliyun/alibabacloud-sophonsoar20220728/3.0.0/com/aliyun/sdk/service/sophonsoar20220728
java-sources/com/aliyun/alibabacloud-sophonsoar20220728/3.0.0/com/aliyun/sdk/service/sophonsoar20220728/models/DescribePlaybookResponse.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.sophonsoar20220728.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link DescribePlaybookResponse} extends {@link TeaModel} * * <p>DescribePlaybookResponse</p> */ public class DescribePlaybookResponse extends Response { @com.aliyun.core.annotation.NameInMap("headers") private java.util.Map<String, String> headers; @com.aliyun.core.annotation.NameInMap("statusCode") private Integer statusCode; @com.aliyun.core.annotation.NameInMap("body") private DescribePlaybookResponseBody body; private DescribePlaybookResponse(BuilderImpl builder) { super(builder); this.headers = builder.headers; this.statusCode = builder.statusCode; this.body = builder.body; } public static DescribePlaybookResponse create() { return new BuilderImpl().build(); } @Override public Builder toBuilder() { return new BuilderImpl(this); } /** * @return headers */ public java.util.Map<String, String> getHeaders() { return this.headers; } /** * @return statusCode */ public Integer getStatusCode() { return this.statusCode; } /** * @return body */ public DescribePlaybookResponseBody getBody() { return this.body; } public interface Builder extends Response.Builder<DescribePlaybookResponse, Builder> { Builder headers(java.util.Map<String, String> headers); Builder statusCode(Integer statusCode); Builder body(DescribePlaybookResponseBody body); @Override DescribePlaybookResponse build(); } private static final class BuilderImpl extends Response.BuilderImpl<DescribePlaybookResponse, Builder> implements Builder { private java.util.Map<String, String> headers; private Integer statusCode; private DescribePlaybookResponseBody body; private BuilderImpl() { super(); } private BuilderImpl(DescribePlaybookResponse response) { super(response); this.headers = response.headers; this.statusCode = response.statusCode; this.body = response.body; } /** * headers. */ @Override public Builder headers(java.util.Map<String, String> headers) { this.headers = headers; return this; } /** * statusCode. */ @Override public Builder statusCode(Integer statusCode) { this.statusCode = statusCode; return this; } /** * body. */ @Override public Builder body(DescribePlaybookResponseBody body) { this.body = body; return this; } @Override public DescribePlaybookResponse build() { return new DescribePlaybookResponse(this); } } }
0
java-sources/com/aliyun/alibabacloud-sophonsoar20220728/3.0.0/com/aliyun/sdk/service/sophonsoar20220728
java-sources/com/aliyun/alibabacloud-sophonsoar20220728/3.0.0/com/aliyun/sdk/service/sophonsoar20220728/models/DescribePlaybookResponseBody.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.sophonsoar20220728.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link DescribePlaybookResponseBody} extends {@link TeaModel} * * <p>DescribePlaybookResponseBody</p> */ public class DescribePlaybookResponseBody extends TeaModel { @com.aliyun.core.annotation.NameInMap("Playbook") private Playbook playbook; @com.aliyun.core.annotation.NameInMap("RequestId") private String requestId; private DescribePlaybookResponseBody(Builder builder) { this.playbook = builder.playbook; this.requestId = builder.requestId; } public static Builder builder() { return new Builder(); } public static DescribePlaybookResponseBody create() { return builder().build(); } public Builder toBuilder() { return new Builder(this); } /** * @return playbook */ public Playbook getPlaybook() { return this.playbook; } /** * @return requestId */ public String getRequestId() { return this.requestId; } public static final class Builder { private Playbook playbook; private String requestId; private Builder() { } private Builder(DescribePlaybookResponseBody model) { this.playbook = model.playbook; this.requestId = model.requestId; } /** * <p>The configuration of the playbook.</p> */ public Builder playbook(Playbook playbook) { this.playbook = playbook; return this; } /** * <p>The request ID.</p> * * <strong>example:</strong> * <p>2989BC59-E9F0-5C83-B453-B368857649C8</p> */ public Builder requestId(String requestId) { this.requestId = requestId; return this; } public DescribePlaybookResponseBody build() { return new DescribePlaybookResponseBody(this); } } /** * * {@link DescribePlaybookResponseBody} extends {@link TeaModel} * * <p>DescribePlaybookResponseBody</p> */ public static class Playbook extends TeaModel { @com.aliyun.core.annotation.NameInMap("Description") private String description; @com.aliyun.core.annotation.NameInMap("DisplayName") private String displayName; @com.aliyun.core.annotation.NameInMap("FailExeNum") private Integer failExeNum; @com.aliyun.core.annotation.NameInMap("GmtCreate") private String gmtCreate; @com.aliyun.core.annotation.NameInMap("GmtModified") private String gmtModified; @com.aliyun.core.annotation.NameInMap("InputParams") private String inputParams; @com.aliyun.core.annotation.NameInMap("LastExeTime") private Long lastExeTime; @com.aliyun.core.annotation.NameInMap("OnlineActive") private Boolean onlineActive; @com.aliyun.core.annotation.NameInMap("OnlineReleaseTaskflowMd5") private String onlineReleaseTaskflowMd5; @com.aliyun.core.annotation.NameInMap("OwnType") private String ownType; @com.aliyun.core.annotation.NameInMap("PlaybookUuid") private String playbookUuid; @com.aliyun.core.annotation.NameInMap("SuccessExeNum") private Integer successExeNum; @com.aliyun.core.annotation.NameInMap("Taskflow") private String taskflow; @com.aliyun.core.annotation.NameInMap("TaskflowType") private String taskflowType; private Playbook(Builder builder) { this.description = builder.description; this.displayName = builder.displayName; this.failExeNum = builder.failExeNum; this.gmtCreate = builder.gmtCreate; this.gmtModified = builder.gmtModified; this.inputParams = builder.inputParams; this.lastExeTime = builder.lastExeTime; this.onlineActive = builder.onlineActive; this.onlineReleaseTaskflowMd5 = builder.onlineReleaseTaskflowMd5; this.ownType = builder.ownType; this.playbookUuid = builder.playbookUuid; this.successExeNum = builder.successExeNum; this.taskflow = builder.taskflow; this.taskflowType = builder.taskflowType; } public static Builder builder() { return new Builder(); } public static Playbook create() { return builder().build(); } /** * @return description */ public String getDescription() { return this.description; } /** * @return displayName */ public String getDisplayName() { return this.displayName; } /** * @return failExeNum */ public Integer getFailExeNum() { return this.failExeNum; } /** * @return gmtCreate */ public String getGmtCreate() { return this.gmtCreate; } /** * @return gmtModified */ public String getGmtModified() { return this.gmtModified; } /** * @return inputParams */ public String getInputParams() { return this.inputParams; } /** * @return lastExeTime */ public Long getLastExeTime() { return this.lastExeTime; } /** * @return onlineActive */ public Boolean getOnlineActive() { return this.onlineActive; } /** * @return onlineReleaseTaskflowMd5 */ public String getOnlineReleaseTaskflowMd5() { return this.onlineReleaseTaskflowMd5; } /** * @return ownType */ public String getOwnType() { return this.ownType; } /** * @return playbookUuid */ public String getPlaybookUuid() { return this.playbookUuid; } /** * @return successExeNum */ public Integer getSuccessExeNum() { return this.successExeNum; } /** * @return taskflow */ public String getTaskflow() { return this.taskflow; } /** * @return taskflowType */ public String getTaskflowType() { return this.taskflowType; } public static final class Builder { private String description; private String displayName; private Integer failExeNum; private String gmtCreate; private String gmtModified; private String inputParams; private Long lastExeTime; private Boolean onlineActive; private String onlineReleaseTaskflowMd5; private String ownType; private String playbookUuid; private Integer successExeNum; private String taskflow; private String taskflowType; private Builder() { } private Builder(Playbook model) { this.description = model.description; this.displayName = model.displayName; this.failExeNum = model.failExeNum; this.gmtCreate = model.gmtCreate; this.gmtModified = model.gmtModified; this.inputParams = model.inputParams; this.lastExeTime = model.lastExeTime; this.onlineActive = model.onlineActive; this.onlineReleaseTaskflowMd5 = model.onlineReleaseTaskflowMd5; this.ownType = model.ownType; this.playbookUuid = model.playbookUuid; this.successExeNum = model.successExeNum; this.taskflow = model.taskflow; this.taskflowType = model.taskflowType; } /** * <p>The description of the playbook.</p> * * <strong>example:</strong> * <p>demo playbook</p> */ public Builder description(String description) { this.description = description; return this; } /** * <p>The display name of the playbook.</p> * * <strong>example:</strong> * <p>demo_test</p> */ public Builder displayName(String displayName) { this.displayName = displayName; return this; } /** * <p>The number of times that the playbook failed to be run.</p> * * <strong>example:</strong> * <p>1</p> */ public Builder failExeNum(Integer failExeNum) { this.failExeNum = failExeNum; return this; } /** * <p>The creation time of the playbook. The value is a 13-digit timestamp.</p> * * <strong>example:</strong> * <p>1665288858000</p> */ public Builder gmtCreate(String gmtCreate) { this.gmtCreate = gmtCreate; return this; } /** * <p>The modification time of the playbook. The value is a 13-digit timestamp.</p> * * <strong>example:</strong> * <p>1677482519000</p> */ public Builder gmtModified(String gmtModified) { this.gmtModified = gmtModified; return this; } /** * <p>The input parameter configuration of the playbook. The value is a JSON array.</p> * <blockquote> * <p> For more information, see <a href="~~DescribePlaybookInputOutput~~">DescribePlaybookInputOutput</a>.</p> * </blockquote> * * <strong>example:</strong> * <p>[ * { * &quot;typeName&quot;: &quot;String&quot;, * &quot;dataClass&quot;: &quot;normal&quot;, * &quot;dataType&quot;: &quot;String&quot;, * &quot;description&quot;: &quot;period&quot;, * &quot;example&quot;: &quot;&quot;, * &quot;name&quot;: &quot;period&quot;, * &quot;required&quot;: false * } * ]</p> */ public Builder inputParams(String inputParams) { this.inputParams = inputParams; return this; } /** * <p>The time when the playbook was last run. The value is a 13-digit timestamp.</p> * * <strong>example:</strong> * <p>1665288858000</p> */ public Builder lastExeTime(Long lastExeTime) { this.lastExeTime = lastExeTime; return this; } /** * <p>The status of the playbook. Valid values:</p> * <ul> * <li><strong>0</strong>: disabled</li> * <li><strong>1</strong>: enabled</li> * </ul> * * <strong>example:</strong> * <p>0</p> */ public Builder onlineActive(Boolean onlineActive) { this.onlineActive = onlineActive; return this; } /** * <p>The MD5 hash value in the latest published version of the playbook.</p> * * <strong>example:</strong> * <p>asdfsdfe232-e2b2-44fd-b2cc-xxxxx</p> */ public Builder onlineReleaseTaskflowMd5(String onlineReleaseTaskflowMd5) { this.onlineReleaseTaskflowMd5 = onlineReleaseTaskflowMd5; return this; } /** * <p>The type of the playbook. Valid values:</p> * <ul> * <li><strong>preset</strong>: predefined playbook</li> * <li><strong>user</strong>: custom playbook</li> * </ul> * * <strong>example:</strong> * <p>preset</p> */ public Builder ownType(String ownType) { this.ownType = ownType; return this; } /** * <p>The UUID of the playbook.</p> * * <strong>example:</strong> * <p>8db257d3-e2b2-44fd-b2cc-xxxxx</p> */ public Builder playbookUuid(String playbookUuid) { this.playbookUuid = playbookUuid; return this; } /** * <p>The number of times that the playbook was successfully run.</p> * * <strong>example:</strong> * <p>100</p> */ public Builder successExeNum(Integer successExeNum) { this.successExeNum = successExeNum; return this; } /** * <p>The XML configuration of the playbook.</p> * * <strong>example:</strong> * <?xml version="1.0" encoding="UTF-8"?><p>&lt;bpmn:definitions xmlns:xsi=&quot;<a href="http://www.w3.org/2001/XMLSchema-instance">http://www.w3.org/2001/XMLSchema-instance</a>&quot; xmlns:bpmn=&quot;<a href="http://www.omg.org/spec/BPMN/20100524/MODEL">http://www.omg.org/spec/BPMN/20100524/MODEL</a>&quot; xmlns:bpmndi=&quot;<a href="http://www.omg.org/spec/BPMN/20100524/DI">http://www.omg.org/spec/BPMN/20100524/DI</a>&quot; xmlns:dc=&quot;<a href="http://www.omg.org/spec/DD/20100524/DC">http://www.omg.org/spec/DD/20100524/DC</a>&quot; targetNamespace=&quot;<a href="http://bpmn.io/schema/bpmn">http://bpmn.io/schema/bpmn</a>&quot; id=&quot;Definitions_1&quot;&gt;&lt;bpmn:process id=&quot;Process_1&quot; isExecutable=&quot;false&quot;&gt;&lt;bpmn:startEvent id=&quot;StartEvent_1&quot;/&gt;</bpmn:process>&lt;bpmndi:BPMNDiagram id=&quot;BPMNDiagram_1&quot;&gt;&lt;bpmndi:BPMNPlane id=&quot;BPMNPlane_1&quot; bpmnElement=&quot;Process_1&quot;&gt;&lt;bpmndi:BPMNShape id=&quot;_BPMNShape_StartEvent_2&quot; bpmnElement=&quot;StartEvent_1&quot;&gt;&lt;dc:Bounds height=&quot;36.0&quot; width=&quot;36.0&quot; x=&quot;173.0&quot; y=&quot;102.0&quot;/&gt;</bpmndi:BPMNShape></bpmndi:BPMNPlane></bpmndi:BPMNDiagram></bpmn:definitions></p> */ public Builder taskflow(String taskflow) { this.taskflow = taskflow; return this; } /** * <p>The playbook configuration type.</p> * <ul> * <li><strong>xml</strong>: XML format.</li> * <li><strong>x6</strong>: JSON format.</li> * </ul> * * <strong>example:</strong> * <p>xml</p> */ public Builder taskflowType(String taskflowType) { this.taskflowType = taskflowType; return this; } public Playbook build() { return new Playbook(this); } } } }
0
java-sources/com/aliyun/alibabacloud-sophonsoar20220728/3.0.0/com/aliyun/sdk/service/sophonsoar20220728
java-sources/com/aliyun/alibabacloud-sophonsoar20220728/3.0.0/com/aliyun/sdk/service/sophonsoar20220728/models/DescribePlaybooksRequest.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.sophonsoar20220728.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link DescribePlaybooksRequest} extends {@link RequestModel} * * <p>DescribePlaybooksRequest</p> */ public class DescribePlaybooksRequest extends Request { @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("Active") private Integer active; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("EndMillis") private Long endMillis; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("Lang") private String lang; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("Name") private String name; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("Order") private String order; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("OwnType") private String ownType; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("PageNumber") private Long pageNumber; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("PageSize") private Integer pageSize; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("ParamTypes") private String paramTypes; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("PlaybookUuid") private String playbookUuid; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("PlaybookUuids") private String playbookUuids; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("Sort") private String sort; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("StartMillis") private Long startMillis; private DescribePlaybooksRequest(Builder builder) { super(builder); this.active = builder.active; this.endMillis = builder.endMillis; this.lang = builder.lang; this.name = builder.name; this.order = builder.order; this.ownType = builder.ownType; this.pageNumber = builder.pageNumber; this.pageSize = builder.pageSize; this.paramTypes = builder.paramTypes; this.playbookUuid = builder.playbookUuid; this.playbookUuids = builder.playbookUuids; this.sort = builder.sort; this.startMillis = builder.startMillis; } public static Builder builder() { return new Builder(); } public static DescribePlaybooksRequest create() { return builder().build(); } @Override public Builder toBuilder() { return new Builder(this); } /** * @return active */ public Integer getActive() { return this.active; } /** * @return endMillis */ public Long getEndMillis() { return this.endMillis; } /** * @return lang */ public String getLang() { return this.lang; } /** * @return name */ public String getName() { return this.name; } /** * @return order */ public String getOrder() { return this.order; } /** * @return ownType */ public String getOwnType() { return this.ownType; } /** * @return pageNumber */ public Long getPageNumber() { return this.pageNumber; } /** * @return pageSize */ public Integer getPageSize() { return this.pageSize; } /** * @return paramTypes */ public String getParamTypes() { return this.paramTypes; } /** * @return playbookUuid */ public String getPlaybookUuid() { return this.playbookUuid; } /** * @return playbookUuids */ public String getPlaybookUuids() { return this.playbookUuids; } /** * @return sort */ public String getSort() { return this.sort; } /** * @return startMillis */ public Long getStartMillis() { return this.startMillis; } public static final class Builder extends Request.Builder<DescribePlaybooksRequest, Builder> { private Integer active; private Long endMillis; private String lang; private String name; private String order; private String ownType; private Long pageNumber; private Integer pageSize; private String paramTypes; private String playbookUuid; private String playbookUuids; private String sort; private Long startMillis; private Builder() { super(); } private Builder(DescribePlaybooksRequest request) { super(request); this.active = request.active; this.endMillis = request.endMillis; this.lang = request.lang; this.name = request.name; this.order = request.order; this.ownType = request.ownType; this.pageNumber = request.pageNumber; this.pageSize = request.pageSize; this.paramTypes = request.paramTypes; this.playbookUuid = request.playbookUuid; this.playbookUuids = request.playbookUuids; this.sort = request.sort; this.startMillis = request.startMillis; } /** * <p>Activation status of the playbook. Values:</p> * <ul> * <li><strong>1</strong>: Indicates the playbook is activated.</li> * <li><strong>0</strong>: Indicates the playbook is not activated.</li> * </ul> * * <strong>example:</strong> * <p>1</p> */ public Builder active(Integer active) { this.putQueryParameter("Active", active); this.active = active; return this; } /** * <p>End time for the query, in 13-digit timestamp format.</p> * * <strong>example:</strong> * <p>1683858064361</p> */ public Builder endMillis(Long endMillis) { this.putQueryParameter("EndMillis", endMillis); this.endMillis = endMillis; return this; } /** * <p>Specifies the language type for the request and response, default is <strong>zh</strong>. Values:</p> * <ul> * <li><strong>zh</strong>: Chinese.</li> * <li><strong>en</strong>: English.</li> * </ul> * * <strong>example:</strong> * <p>zh</p> */ public Builder lang(String lang) { this.putQueryParameter("Lang", lang); this.lang = lang; return this; } /** * <p>The name of the playbook.</p> * * <strong>example:</strong> * <p>demo_playbook</p> */ public Builder name(String name) { this.putQueryParameter("Name", name); this.name = name; return this; } /** * <p>The sorting logic, with a default value of <strong>desc</strong>. Values:</p> * <ul> * <li><strong>desc</strong>: Descending order.</li> * <li><strong>asc</strong>: Ascending order.</li> * </ul> * * <strong>example:</strong> * <p>desc</p> */ public Builder order(String order) { this.putQueryParameter("Order", order); this.order = order; return this; } /** * <p>Type of the playbook. Values:</p> * <ul> * <li><strong>preset</strong>: Predefined playbook.</li> * <li><strong>user</strong>: Custom playbook.</li> * </ul> * * <strong>example:</strong> * <p>user</p> */ public Builder ownType(String ownType) { this.putQueryParameter("OwnType", ownType); this.ownType = ownType; return this; } /** * <p>Sets the page number from which to start displaying the query results. The default value is 1, indicating the first page.</p> * * <strong>example:</strong> * <p>1</p> */ public Builder pageNumber(Long pageNumber) { this.putQueryParameter("PageNumber", pageNumber); this.pageNumber = pageNumber; return this; } /** * <p>Specifies the maximum number of items to display per page in a paginated query. The default number of items per page is 20. If the PageSize parameter is empty, it will return 10 items by default.</p> * <blockquote> * <p>It is recommended that the PageSize value is not empty.</p> * </blockquote> * * <strong>example:</strong> * <p>10</p> */ public Builder pageSize(Integer pageSize) { this.putQueryParameter("PageSize", pageSize); this.pageSize = pageSize; return this; } /** * <p>The trigger method for the playbook, with a default value of <strong>query all</strong>. Values:</p> * <ul> * <li><strong>template-incident</strong>: Security incident.</li> * <li><strong>template-ip</strong>: IP entity.</li> * <li><strong>template-file</strong>: File entity.</li> * <li><strong>template-process</strong>: Process entity.</li> * <li><strong>template-alert</strong>: Security alert.</li> * <li><strong>template-domain</strong>: Domain entity.</li> * <li><strong>template-container</strong>: Container entity.</li> * <li><strong>template-host</strong>: Host entity.</li> * <li><strong>template-custom</strong>: Custom.</li> * </ul> * * <strong>example:</strong> * <p>template-alert</p> */ public Builder paramTypes(String paramTypes) { this.putQueryParameter("ParamTypes", paramTypes); this.paramTypes = paramTypes; return this; } /** * <p>The UUID of the playbook.</p> * <blockquote> * <p>You can use the UUID to query specific playbook information.</p> * <ul> * <li>Call the <a href="~~DescribePlaybooks~~">DescribePlaybooks</a> API to obtain this parameter.</li> * </ul> * </blockquote> * * <strong>example:</strong> * <p>8baa6cff-319e-4ede-97bc-1xxxxxx</p> */ public Builder playbookUuid(String playbookUuid) { this.putQueryParameter("PlaybookUuid", playbookUuid); this.playbookUuid = playbookUuid; return this; } /** * <p>UUID List of the playbook.</p> * <p>Note You can use the UUID list to query specific playbook information. * Call the DescribePlaybooks API to obtain this parameter.</p> * * <strong>example:</strong> * <p>8baa6cff-319e-4ede-97bc-1xxxxxx,7745e6cff-319e-4ede-97bc-1xxxxxx</p> */ public Builder playbookUuids(String playbookUuids) { this.putQueryParameter("PlaybookUuids", playbookUuids); this.playbookUuids = playbookUuids; return this; } /** * <p>The sorting basis, with a default value of <strong>1</strong>. Values:</p> * <ul> * <li><strong>1</strong>: Last modified time.</li> * <li><strong>2</strong>: Most recent execution time.</li> * </ul> * * <strong>example:</strong> * <p>1</p> */ public Builder sort(String sort) { this.putQueryParameter("Sort", sort); this.sort = sort; return this; } /** * <p>Start time for the query, in 13-digit timestamp format.</p> * * <strong>example:</strong> * <p>1683526277415</p> */ public Builder startMillis(Long startMillis) { this.putQueryParameter("StartMillis", startMillis); this.startMillis = startMillis; return this; } @Override public DescribePlaybooksRequest build() { return new DescribePlaybooksRequest(this); } } }
0
java-sources/com/aliyun/alibabacloud-sophonsoar20220728/3.0.0/com/aliyun/sdk/service/sophonsoar20220728
java-sources/com/aliyun/alibabacloud-sophonsoar20220728/3.0.0/com/aliyun/sdk/service/sophonsoar20220728/models/DescribePlaybooksResponse.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.sophonsoar20220728.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link DescribePlaybooksResponse} extends {@link TeaModel} * * <p>DescribePlaybooksResponse</p> */ public class DescribePlaybooksResponse extends Response { @com.aliyun.core.annotation.NameInMap("headers") private java.util.Map<String, String> headers; @com.aliyun.core.annotation.NameInMap("statusCode") private Integer statusCode; @com.aliyun.core.annotation.NameInMap("body") private DescribePlaybooksResponseBody body; private DescribePlaybooksResponse(BuilderImpl builder) { super(builder); this.headers = builder.headers; this.statusCode = builder.statusCode; this.body = builder.body; } public static DescribePlaybooksResponse create() { return new BuilderImpl().build(); } @Override public Builder toBuilder() { return new BuilderImpl(this); } /** * @return headers */ public java.util.Map<String, String> getHeaders() { return this.headers; } /** * @return statusCode */ public Integer getStatusCode() { return this.statusCode; } /** * @return body */ public DescribePlaybooksResponseBody getBody() { return this.body; } public interface Builder extends Response.Builder<DescribePlaybooksResponse, Builder> { Builder headers(java.util.Map<String, String> headers); Builder statusCode(Integer statusCode); Builder body(DescribePlaybooksResponseBody body); @Override DescribePlaybooksResponse build(); } private static final class BuilderImpl extends Response.BuilderImpl<DescribePlaybooksResponse, Builder> implements Builder { private java.util.Map<String, String> headers; private Integer statusCode; private DescribePlaybooksResponseBody body; private BuilderImpl() { super(); } private BuilderImpl(DescribePlaybooksResponse response) { super(response); this.headers = response.headers; this.statusCode = response.statusCode; this.body = response.body; } /** * headers. */ @Override public Builder headers(java.util.Map<String, String> headers) { this.headers = headers; return this; } /** * statusCode. */ @Override public Builder statusCode(Integer statusCode) { this.statusCode = statusCode; return this; } /** * body. */ @Override public Builder body(DescribePlaybooksResponseBody body) { this.body = body; return this; } @Override public DescribePlaybooksResponse build() { return new DescribePlaybooksResponse(this); } } }
0
java-sources/com/aliyun/alibabacloud-sophonsoar20220728/3.0.0/com/aliyun/sdk/service/sophonsoar20220728
java-sources/com/aliyun/alibabacloud-sophonsoar20220728/3.0.0/com/aliyun/sdk/service/sophonsoar20220728/models/DescribePlaybooksResponseBody.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.sophonsoar20220728.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link DescribePlaybooksResponseBody} extends {@link TeaModel} * * <p>DescribePlaybooksResponseBody</p> */ public class DescribePlaybooksResponseBody extends TeaModel { @com.aliyun.core.annotation.NameInMap("Page") private Page page; @com.aliyun.core.annotation.NameInMap("Playbooks") private java.util.List<Playbooks> playbooks; @com.aliyun.core.annotation.NameInMap("RequestId") private String requestId; private DescribePlaybooksResponseBody(Builder builder) { this.page = builder.page; this.playbooks = builder.playbooks; this.requestId = builder.requestId; } public static Builder builder() { return new Builder(); } public static DescribePlaybooksResponseBody create() { return builder().build(); } public Builder toBuilder() { return new Builder(this); } /** * @return page */ public Page getPage() { return this.page; } /** * @return playbooks */ public java.util.List<Playbooks> getPlaybooks() { return this.playbooks; } /** * @return requestId */ public String getRequestId() { return this.requestId; } public static final class Builder { private Page page; private java.util.List<Playbooks> playbooks; private String requestId; private Builder() { } private Builder(DescribePlaybooksResponseBody model) { this.page = model.page; this.playbooks = model.playbooks; this.requestId = model.requestId; } /** * <p>Pagination query information.</p> */ public Builder page(Page page) { this.page = page; return this; } /** * <p>List of playbooks.</p> */ public Builder playbooks(java.util.List<Playbooks> playbooks) { this.playbooks = playbooks; return this; } /** * <p>The ID of the current request, generated by Alibaba Cloud as a unique identifier for troubleshooting and problem localization.</p> * * <strong>example:</strong> * <p>138B5AB7-<strong><strong>-5814-87A3-E3E</strong></strong>F207E</p> */ public Builder requestId(String requestId) { this.requestId = requestId; return this; } public DescribePlaybooksResponseBody build() { return new DescribePlaybooksResponseBody(this); } } /** * * {@link DescribePlaybooksResponseBody} extends {@link TeaModel} * * <p>DescribePlaybooksResponseBody</p> */ public static class Page extends TeaModel { @com.aliyun.core.annotation.NameInMap("PageNumber") private Integer pageNumber; @com.aliyun.core.annotation.NameInMap("PageSize") private Integer pageSize; @com.aliyun.core.annotation.NameInMap("TotalCount") private Integer totalCount; private Page(Builder builder) { this.pageNumber = builder.pageNumber; this.pageSize = builder.pageSize; this.totalCount = builder.totalCount; } public static Builder builder() { return new Builder(); } public static Page create() { return builder().build(); } /** * @return pageNumber */ public Integer getPageNumber() { return this.pageNumber; } /** * @return pageSize */ public Integer getPageSize() { return this.pageSize; } /** * @return totalCount */ public Integer getTotalCount() { return this.totalCount; } public static final class Builder { private Integer pageNumber; private Integer pageSize; private Integer totalCount; private Builder() { } private Builder(Page model) { this.pageNumber = model.pageNumber; this.pageSize = model.pageSize; this.totalCount = model.totalCount; } /** * <p>The page number in pagination queries.</p> * * <strong>example:</strong> * <p>1</p> */ public Builder pageNumber(Integer pageNumber) { this.pageNumber = pageNumber; return this; } /** * <p>The number of items per page in pagination queries.</p> * * <strong>example:</strong> * <p>10</p> */ public Builder pageSize(Integer pageSize) { this.pageSize = pageSize; return this; } /** * <p>The total number of items found.</p> * * <strong>example:</strong> * <p>100</p> */ public Builder totalCount(Integer totalCount) { this.totalCount = totalCount; return this; } public Page build() { return new Page(this); } } } /** * * {@link DescribePlaybooksResponseBody} extends {@link TeaModel} * * <p>DescribePlaybooksResponseBody</p> */ public static class Playbooks extends TeaModel { @com.aliyun.core.annotation.NameInMap("Active") private Integer active; @com.aliyun.core.annotation.NameInMap("DisplayName") private String displayName; @com.aliyun.core.annotation.NameInMap("GmtCreate") private Long gmtCreate; @com.aliyun.core.annotation.NameInMap("GmtModified") private String gmtModified; @com.aliyun.core.annotation.NameInMap("LastRuntime") private Long lastRuntime; @com.aliyun.core.annotation.NameInMap("OwnType") private String ownType; @com.aliyun.core.annotation.NameInMap("ParamType") private String paramType; @com.aliyun.core.annotation.NameInMap("PlaybookUuid") private String playbookUuid; private Playbooks(Builder builder) { this.active = builder.active; this.displayName = builder.displayName; this.gmtCreate = builder.gmtCreate; this.gmtModified = builder.gmtModified; this.lastRuntime = builder.lastRuntime; this.ownType = builder.ownType; this.paramType = builder.paramType; this.playbookUuid = builder.playbookUuid; } public static Builder builder() { return new Builder(); } public static Playbooks create() { return builder().build(); } /** * @return active */ public Integer getActive() { return this.active; } /** * @return displayName */ public String getDisplayName() { return this.displayName; } /** * @return gmtCreate */ public Long getGmtCreate() { return this.gmtCreate; } /** * @return gmtModified */ public String getGmtModified() { return this.gmtModified; } /** * @return lastRuntime */ public Long getLastRuntime() { return this.lastRuntime; } /** * @return ownType */ public String getOwnType() { return this.ownType; } /** * @return paramType */ public String getParamType() { return this.paramType; } /** * @return playbookUuid */ public String getPlaybookUuid() { return this.playbookUuid; } public static final class Builder { private Integer active; private String displayName; private Long gmtCreate; private String gmtModified; private Long lastRuntime; private String ownType; private String paramType; private String playbookUuid; private Builder() { } private Builder(Playbooks model) { this.active = model.active; this.displayName = model.displayName; this.gmtCreate = model.gmtCreate; this.gmtModified = model.gmtModified; this.lastRuntime = model.lastRuntime; this.ownType = model.ownType; this.paramType = model.paramType; this.playbookUuid = model.playbookUuid; } /** * <p>The status indicator of the playbook. Values:</p> * <ul> * <li><strong>1</strong>: Indicates the playbook is activated.</li> * <li><strong>0</strong>: Indicates the playbook is deactivated.</li> * </ul> * * <strong>example:</strong> * <p>1</p> */ public Builder active(Integer active) { this.active = active; return this; } /** * <p>The display name of the playbook.</p> * * <strong>example:</strong> * <p>demo_playbook</p> */ public Builder displayName(String displayName) { this.displayName = displayName; return this; } /** * <p>The creation time of the playbook, in 13-digit timestamp format.</p> * * <strong>example:</strong> * <p>1683526277415</p> */ public Builder gmtCreate(Long gmtCreate) { this.gmtCreate = gmtCreate; return this; } /** * <p>The modification time of the playbook.</p> * * <strong>example:</strong> * <p>1681396398000</p> */ public Builder gmtModified(String gmtModified) { this.gmtModified = gmtModified; return this; } /** * <p>The last execution time of the playbook, in 13-digit timestamp format.</p> * * <strong>example:</strong> * <p>1683526277415</p> */ public Builder lastRuntime(Long lastRuntime) { this.lastRuntime = lastRuntime; return this; } /** * <p>The type of the playbook. Values:</p> * <ul> * <li><strong>preset</strong>: Predefined playbook.</li> * <li><strong>user</strong>: Custom playbook.</li> * </ul> * * <strong>example:</strong> * <p>user</p> */ public Builder ownType(String ownType) { this.ownType = ownType; return this; } /** * <p>The trigger method for the playbook, with a default value of <strong>query all</strong>. Possible values are:</p> * <ul> * <li><strong>template-incident</strong>: Security incident.</li> * <li><strong>template-ip</strong>: IP entity.</li> * <li><strong>template-file</strong>: File entity.</li> * <li><strong>template-process</strong>: Process entity.</li> * <li><strong>template-alert</strong>: Security alert.</li> * <li><strong>template-domain</strong>: Domain entity.</li> * <li><strong>template-container</strong>: Container entity.</li> * <li><strong>template-host</strong>: Host entity.</li> * </ul> * * <strong>example:</strong> * <p>template-alert</p> */ public Builder paramType(String paramType) { this.paramType = paramType; return this; } /** * <p>The UUID of the playbook.</p> * * <strong>example:</strong> * <p>bb5a8640-a14f-44ef-8376-cxxxxx</p> */ public Builder playbookUuid(String playbookUuid) { this.playbookUuid = playbookUuid; return this; } public Playbooks build() { return new Playbooks(this); } } } }
0
java-sources/com/aliyun/alibabacloud-sophonsoar20220728/3.0.0/com/aliyun/sdk/service/sophonsoar20220728
java-sources/com/aliyun/alibabacloud-sophonsoar20220728/3.0.0/com/aliyun/sdk/service/sophonsoar20220728/models/DescribePopApiItemListRequest.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.sophonsoar20220728.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link DescribePopApiItemListRequest} extends {@link RequestModel} * * <p>DescribePopApiItemListRequest</p> */ public class DescribePopApiItemListRequest extends Request { @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("ApiName") private String apiName; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("ApiVersion") @com.aliyun.core.annotation.Validation(required = true) private String apiVersion; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("Env") @com.aliyun.core.annotation.Validation(required = true) private String env; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("Lang") private String lang; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("PopCode") @com.aliyun.core.annotation.Validation(required = true) private String popCode; private DescribePopApiItemListRequest(Builder builder) { super(builder); this.apiName = builder.apiName; this.apiVersion = builder.apiVersion; this.env = builder.env; this.lang = builder.lang; this.popCode = builder.popCode; } public static Builder builder() { return new Builder(); } public static DescribePopApiItemListRequest create() { return builder().build(); } @Override public Builder toBuilder() { return new Builder(this); } /** * @return apiName */ public String getApiName() { return this.apiName; } /** * @return apiVersion */ public String getApiVersion() { return this.apiVersion; } /** * @return env */ public String getEnv() { return this.env; } /** * @return lang */ public String getLang() { return this.lang; } /** * @return popCode */ public String getPopCode() { return this.popCode; } public static final class Builder extends Request.Builder<DescribePopApiItemListRequest, Builder> { private String apiName; private String apiVersion; private String env; private String lang; private String popCode; private Builder() { super(); } private Builder(DescribePopApiItemListRequest request) { super(request); this.apiName = request.apiName; this.apiVersion = request.apiVersion; this.env = request.env; this.lang = request.lang; this.popCode = request.popCode; } /** * <p>The API operation name of the Alibaba Cloud service. Fuzzy match is supported.</p> * * <strong>example:</strong> * <p>DescribePopApiItemList</p> */ public Builder apiName(String apiName) { this.putQueryParameter("ApiName", apiName); this.apiName = apiName; return this; } /** * <p>The version number of the API.</p> * <blockquote> * <p> You can call the <a href="~~DescribePopApiVersionList~~">DescribePopApiVersionList</a> operation to query the version number.</p> * </blockquote> * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>2018-12-03</p> */ public Builder apiVersion(String apiVersion) { this.putQueryParameter("ApiVersion", apiVersion); this.apiVersion = apiVersion; return this; } /** * <p>The environment in which the API operation parameters are used. Set the value to online.</p> * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>online</p> */ public Builder env(String env) { this.putQueryParameter("Env", env); this.env = env; return this; } /** * <p>The language of the content within the request and response. Valid values:</p> * <ul> * <li><strong>zh</strong> (default): Chinese</li> * <li><strong>en</strong>: English</li> * </ul> * * <strong>example:</strong> * <p>zh</p> */ public Builder lang(String lang) { this.putQueryParameter("Lang", lang); this.lang = lang; return this; } /** * <p>The POP code of the Alibaba Cloud service.</p> * <blockquote> * <p> You can call the <a href="~~DescribeApiList~~">DescribeApiList</a> operation to query the POP code.</p> * </blockquote> * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>Sas</p> */ public Builder popCode(String popCode) { this.putQueryParameter("PopCode", popCode); this.popCode = popCode; return this; } @Override public DescribePopApiItemListRequest build() { return new DescribePopApiItemListRequest(this); } } }
0
java-sources/com/aliyun/alibabacloud-sophonsoar20220728/3.0.0/com/aliyun/sdk/service/sophonsoar20220728
java-sources/com/aliyun/alibabacloud-sophonsoar20220728/3.0.0/com/aliyun/sdk/service/sophonsoar20220728/models/DescribePopApiItemListResponse.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.sophonsoar20220728.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link DescribePopApiItemListResponse} extends {@link TeaModel} * * <p>DescribePopApiItemListResponse</p> */ public class DescribePopApiItemListResponse extends Response { @com.aliyun.core.annotation.NameInMap("headers") private java.util.Map<String, String> headers; @com.aliyun.core.annotation.NameInMap("statusCode") private Integer statusCode; @com.aliyun.core.annotation.NameInMap("body") private DescribePopApiItemListResponseBody body; private DescribePopApiItemListResponse(BuilderImpl builder) { super(builder); this.headers = builder.headers; this.statusCode = builder.statusCode; this.body = builder.body; } public static DescribePopApiItemListResponse create() { return new BuilderImpl().build(); } @Override public Builder toBuilder() { return new BuilderImpl(this); } /** * @return headers */ public java.util.Map<String, String> getHeaders() { return this.headers; } /** * @return statusCode */ public Integer getStatusCode() { return this.statusCode; } /** * @return body */ public DescribePopApiItemListResponseBody getBody() { return this.body; } public interface Builder extends Response.Builder<DescribePopApiItemListResponse, Builder> { Builder headers(java.util.Map<String, String> headers); Builder statusCode(Integer statusCode); Builder body(DescribePopApiItemListResponseBody body); @Override DescribePopApiItemListResponse build(); } private static final class BuilderImpl extends Response.BuilderImpl<DescribePopApiItemListResponse, Builder> implements Builder { private java.util.Map<String, String> headers; private Integer statusCode; private DescribePopApiItemListResponseBody body; private BuilderImpl() { super(); } private BuilderImpl(DescribePopApiItemListResponse response) { super(response); this.headers = response.headers; this.statusCode = response.statusCode; this.body = response.body; } /** * headers. */ @Override public Builder headers(java.util.Map<String, String> headers) { this.headers = headers; return this; } /** * statusCode. */ @Override public Builder statusCode(Integer statusCode) { this.statusCode = statusCode; return this; } /** * body. */ @Override public Builder body(DescribePopApiItemListResponseBody body) { this.body = body; return this; } @Override public DescribePopApiItemListResponse build() { return new DescribePopApiItemListResponse(this); } } }
0
java-sources/com/aliyun/alibabacloud-sophonsoar20220728/3.0.0/com/aliyun/sdk/service/sophonsoar20220728
java-sources/com/aliyun/alibabacloud-sophonsoar20220728/3.0.0/com/aliyun/sdk/service/sophonsoar20220728/models/DescribePopApiItemListResponseBody.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.sophonsoar20220728.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link DescribePopApiItemListResponseBody} extends {@link TeaModel} * * <p>DescribePopApiItemListResponseBody</p> */ public class DescribePopApiItemListResponseBody extends TeaModel { @com.aliyun.core.annotation.NameInMap("Names") private java.util.List<String> names; @com.aliyun.core.annotation.NameInMap("PopCode") private String popCode; @com.aliyun.core.annotation.NameInMap("RequestId") private String requestId; @com.aliyun.core.annotation.NameInMap("Total") private Long total; @com.aliyun.core.annotation.NameInMap("Version") private String version; private DescribePopApiItemListResponseBody(Builder builder) { this.names = builder.names; this.popCode = builder.popCode; this.requestId = builder.requestId; this.total = builder.total; this.version = builder.version; } public static Builder builder() { return new Builder(); } public static DescribePopApiItemListResponseBody create() { return builder().build(); } public Builder toBuilder() { return new Builder(this); } /** * @return names */ public java.util.List<String> getNames() { return this.names; } /** * @return popCode */ public String getPopCode() { return this.popCode; } /** * @return requestId */ public String getRequestId() { return this.requestId; } /** * @return total */ public Long getTotal() { return this.total; } /** * @return version */ public String getVersion() { return this.version; } public static final class Builder { private java.util.List<String> names; private String popCode; private String requestId; private Long total; private String version; private Builder() { } private Builder(DescribePopApiItemListResponseBody model) { this.names = model.names; this.popCode = model.popCode; this.requestId = model.requestId; this.total = model.total; this.version = model.version; } /** * <p>The names of API operations.</p> */ public Builder names(java.util.List<String> names) { this.names = names; return this; } /** * <p>The POP code of the Alibaba Cloud service.</p> * * <strong>example:</strong> * <p>Sas</p> */ public Builder popCode(String popCode) { this.popCode = popCode; return this; } /** * <p>The request ID.</p> * * <strong>example:</strong> * <p>6336D603-7028-52DE-AD88-E34AA5248355</p> */ public Builder requestId(String requestId) { this.requestId = requestId; return this; } /** * <p>The total number of entries returned.</p> * * <strong>example:</strong> * <p>100</p> */ public Builder total(Long total) { this.total = total; return this; } /** * <p>The version number of the API for the Alibaba Cloud service.</p> * * <strong>example:</strong> * <p>2018-12-03</p> */ public Builder version(String version) { this.version = version; return this; } public DescribePopApiItemListResponseBody build() { return new DescribePopApiItemListResponseBody(this); } } }
0
java-sources/com/aliyun/alibabacloud-sophonsoar20220728/3.0.0/com/aliyun/sdk/service/sophonsoar20220728
java-sources/com/aliyun/alibabacloud-sophonsoar20220728/3.0.0/com/aliyun/sdk/service/sophonsoar20220728/models/DescribePopApiRequest.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.sophonsoar20220728.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link DescribePopApiRequest} extends {@link RequestModel} * * <p>DescribePopApiRequest</p> */ public class DescribePopApiRequest extends Request { @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("ApiName") @com.aliyun.core.annotation.Validation(required = true) private String apiName; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("ApiVersion") @com.aliyun.core.annotation.Validation(required = true) private String apiVersion; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("Env") @com.aliyun.core.annotation.Validation(required = true) private String env; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("PopCode") @com.aliyun.core.annotation.Validation(required = true) private String popCode; private DescribePopApiRequest(Builder builder) { super(builder); this.apiName = builder.apiName; this.apiVersion = builder.apiVersion; this.env = builder.env; this.popCode = builder.popCode; } public static Builder builder() { return new Builder(); } public static DescribePopApiRequest create() { return builder().build(); } @Override public Builder toBuilder() { return new Builder(this); } /** * @return apiName */ public String getApiName() { return this.apiName; } /** * @return apiVersion */ public String getApiVersion() { return this.apiVersion; } /** * @return env */ public String getEnv() { return this.env; } /** * @return popCode */ public String getPopCode() { return this.popCode; } public static final class Builder extends Request.Builder<DescribePopApiRequest, Builder> { private String apiName; private String apiVersion; private String env; private String popCode; private Builder() { super(); } private Builder(DescribePopApiRequest request) { super(request); this.apiName = request.apiName; this.apiVersion = request.apiVersion; this.env = request.env; this.popCode = request.popCode; } /** * <p>The operation name of the Alibaba Cloud service.</p> * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>DescribeInstanceInfo</p> */ public Builder apiName(String apiName) { this.putQueryParameter("ApiName", apiName); this.apiName = apiName; return this; } /** * <p>The version number of the API.</p> * <blockquote> * <p> You can call the <a href="~~DescribePopApiVersionList~~">DescribePopApiVersionList</a> operation to query the version number.</p> * </blockquote> * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>2021-10-01</p> */ public Builder apiVersion(String apiVersion) { this.putQueryParameter("ApiVersion", apiVersion); this.apiVersion = apiVersion; return this; } /** * <p>The environment in which the API operation parameter is used. Set the value to online.</p> * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>online</p> */ public Builder env(String env) { this.putQueryParameter("Env", env); this.env = env; return this; } /** * <p>The POP code of the Alibaba Cloud service.</p> * <blockquote> * <p> You can call the <a href="~~DescribeApiList~~">DescribeApiList</a> operation to query the POP code.</p> * </blockquote> * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>Sas</p> */ public Builder popCode(String popCode) { this.putQueryParameter("PopCode", popCode); this.popCode = popCode; return this; } @Override public DescribePopApiRequest build() { return new DescribePopApiRequest(this); } } }
0
java-sources/com/aliyun/alibabacloud-sophonsoar20220728/3.0.0/com/aliyun/sdk/service/sophonsoar20220728
java-sources/com/aliyun/alibabacloud-sophonsoar20220728/3.0.0/com/aliyun/sdk/service/sophonsoar20220728/models/DescribePopApiResponse.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.sophonsoar20220728.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link DescribePopApiResponse} extends {@link TeaModel} * * <p>DescribePopApiResponse</p> */ public class DescribePopApiResponse extends Response { @com.aliyun.core.annotation.NameInMap("headers") private java.util.Map<String, String> headers; @com.aliyun.core.annotation.NameInMap("statusCode") private Integer statusCode; @com.aliyun.core.annotation.NameInMap("body") private DescribePopApiResponseBody body; private DescribePopApiResponse(BuilderImpl builder) { super(builder); this.headers = builder.headers; this.statusCode = builder.statusCode; this.body = builder.body; } public static DescribePopApiResponse create() { return new BuilderImpl().build(); } @Override public Builder toBuilder() { return new BuilderImpl(this); } /** * @return headers */ public java.util.Map<String, String> getHeaders() { return this.headers; } /** * @return statusCode */ public Integer getStatusCode() { return this.statusCode; } /** * @return body */ public DescribePopApiResponseBody getBody() { return this.body; } public interface Builder extends Response.Builder<DescribePopApiResponse, Builder> { Builder headers(java.util.Map<String, String> headers); Builder statusCode(Integer statusCode); Builder body(DescribePopApiResponseBody body); @Override DescribePopApiResponse build(); } private static final class BuilderImpl extends Response.BuilderImpl<DescribePopApiResponse, Builder> implements Builder { private java.util.Map<String, String> headers; private Integer statusCode; private DescribePopApiResponseBody body; private BuilderImpl() { super(); } private BuilderImpl(DescribePopApiResponse response) { super(response); this.headers = response.headers; this.statusCode = response.statusCode; this.body = response.body; } /** * headers. */ @Override public Builder headers(java.util.Map<String, String> headers) { this.headers = headers; return this; } /** * statusCode. */ @Override public Builder statusCode(Integer statusCode) { this.statusCode = statusCode; return this; } /** * body. */ @Override public Builder body(DescribePopApiResponseBody body) { this.body = body; return this; } @Override public DescribePopApiResponse build() { return new DescribePopApiResponse(this); } } }
0
java-sources/com/aliyun/alibabacloud-sophonsoar20220728/3.0.0/com/aliyun/sdk/service/sophonsoar20220728
java-sources/com/aliyun/alibabacloud-sophonsoar20220728/3.0.0/com/aliyun/sdk/service/sophonsoar20220728/models/DescribePopApiResponseBody.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.sophonsoar20220728.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link DescribePopApiResponseBody} extends {@link TeaModel} * * <p>DescribePopApiResponseBody</p> */ public class DescribePopApiResponseBody extends TeaModel { @com.aliyun.core.annotation.NameInMap("ApiName") private String apiName; @com.aliyun.core.annotation.NameInMap("OpenApiMetaList") private java.util.List<OpenApiMetaList> openApiMetaList; @com.aliyun.core.annotation.NameInMap("PopCode") private String popCode; @com.aliyun.core.annotation.NameInMap("RequestId") private String requestId; @com.aliyun.core.annotation.NameInMap("Version") private String version; private DescribePopApiResponseBody(Builder builder) { this.apiName = builder.apiName; this.openApiMetaList = builder.openApiMetaList; this.popCode = builder.popCode; this.requestId = builder.requestId; this.version = builder.version; } public static Builder builder() { return new Builder(); } public static DescribePopApiResponseBody create() { return builder().build(); } public Builder toBuilder() { return new Builder(this); } /** * @return apiName */ public String getApiName() { return this.apiName; } /** * @return openApiMetaList */ public java.util.List<OpenApiMetaList> getOpenApiMetaList() { return this.openApiMetaList; } /** * @return popCode */ public String getPopCode() { return this.popCode; } /** * @return requestId */ public String getRequestId() { return this.requestId; } /** * @return version */ public String getVersion() { return this.version; } public static final class Builder { private String apiName; private java.util.List<OpenApiMetaList> openApiMetaList; private String popCode; private String requestId; private String version; private Builder() { } private Builder(DescribePopApiResponseBody model) { this.apiName = model.apiName; this.openApiMetaList = model.openApiMetaList; this.popCode = model.popCode; this.requestId = model.requestId; this.version = model.version; } /** * <p>The name of the API.</p> * * <strong>example:</strong> * <p>AddAssetCleanConfig</p> */ public Builder apiName(String apiName) { this.apiName = apiName; return this; } /** * <p>The information about the API.</p> */ public Builder openApiMetaList(java.util.List<OpenApiMetaList> openApiMetaList) { this.openApiMetaList = openApiMetaList; return this; } /** * <p>The POP code of the Alibaba Cloud service.</p> * * <strong>example:</strong> * <p>Sas</p> */ public Builder popCode(String popCode) { this.popCode = popCode; return this; } /** * <p>The request ID.</p> * * <strong>example:</strong> * <p>1A01B0BA-CFC4-5813-9EB0-A5DA15FA95AE</p> */ public Builder requestId(String requestId) { this.requestId = requestId; return this; } /** * <p>The version of the API.</p> * * <strong>example:</strong> * <p>2019-09-10</p> */ public Builder version(String version) { this.version = version; return this; } public DescribePopApiResponseBody build() { return new DescribePopApiResponseBody(this); } } /** * * {@link DescribePopApiResponseBody} extends {@link TeaModel} * * <p>DescribePopApiResponseBody</p> */ public static class OpenApiMetaList extends TeaModel { @com.aliyun.core.annotation.NameInMap("Description") private String description; @com.aliyun.core.annotation.NameInMap("ExampleValue") private String exampleValue; @com.aliyun.core.annotation.NameInMap("Name") private String name; @com.aliyun.core.annotation.NameInMap("Required") private Boolean required; @com.aliyun.core.annotation.NameInMap("Type") private String type; private OpenApiMetaList(Builder builder) { this.description = builder.description; this.exampleValue = builder.exampleValue; this.name = builder.name; this.required = builder.required; this.type = builder.type; } public static Builder builder() { return new Builder(); } public static OpenApiMetaList create() { return builder().build(); } /** * @return description */ public String getDescription() { return this.description; } /** * @return exampleValue */ public String getExampleValue() { return this.exampleValue; } /** * @return name */ public String getName() { return this.name; } /** * @return required */ public Boolean getRequired() { return this.required; } /** * @return type */ public String getType() { return this.type; } public static final class Builder { private String description; private String exampleValue; private String name; private Boolean required; private String type; private Builder() { } private Builder(OpenApiMetaList model) { this.description = model.description; this.exampleValue = model.exampleValue; this.name = model.name; this.required = model.required; this.type = model.type; } /** * <p>The parameter description.</p> * * <strong>example:</strong> * <p>demo parameter</p> */ public Builder description(String description) { this.description = description; return this; } /** * <p>The example value.</p> * * <strong>example:</strong> * <p>12.xx.xx.xx</p> */ public Builder exampleValue(String exampleValue) { this.exampleValue = exampleValue; return this; } /** * <p>The parameter name.</p> * * <strong>example:</strong> * <p>DescribePopApi</p> */ public Builder name(String name) { this.name = name; return this; } /** * <p>Indicates whether the parameter is required.</p> * <ul> * <li>true</li> * <li>false</li> * </ul> * * <strong>example:</strong> * <p>false</p> */ public Builder required(Boolean required) { this.required = required; return this; } /** * <p>The data type of the parameter field. Valid values:</p> * <ul> * <li><strong>string</strong></li> * <li><strong>boolean</strong></li> * <li><strong>integer</strong></li> * <li><strong>long</strong></li> * </ul> * * <strong>example:</strong> * <p>string</p> */ public Builder type(String type) { this.type = type; return this; } public OpenApiMetaList build() { return new OpenApiMetaList(this); } } } }
0
java-sources/com/aliyun/alibabacloud-sophonsoar20220728/3.0.0/com/aliyun/sdk/service/sophonsoar20220728
java-sources/com/aliyun/alibabacloud-sophonsoar20220728/3.0.0/com/aliyun/sdk/service/sophonsoar20220728/models/DescribeProcessStatisticsRequest.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.sophonsoar20220728.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link DescribeProcessStatisticsRequest} extends {@link RequestModel} * * <p>DescribeProcessStatisticsRequest</p> */ public class DescribeProcessStatisticsRequest extends Request { @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("Lang") private String lang; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("RoleFor") private String roleFor; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("RoleType") private String roleType; private DescribeProcessStatisticsRequest(Builder builder) { super(builder); this.lang = builder.lang; this.roleFor = builder.roleFor; this.roleType = builder.roleType; } public static Builder builder() { return new Builder(); } public static DescribeProcessStatisticsRequest create() { return builder().build(); } @Override public Builder toBuilder() { return new Builder(this); } /** * @return lang */ public String getLang() { return this.lang; } /** * @return roleFor */ public String getRoleFor() { return this.roleFor; } /** * @return roleType */ public String getRoleType() { return this.roleType; } public static final class Builder extends Request.Builder<DescribeProcessStatisticsRequest, Builder> { private String lang; private String roleFor; private String roleType; private Builder() { super(); } private Builder(DescribeProcessStatisticsRequest request) { super(request); this.lang = request.lang; this.roleFor = request.roleFor; this.roleType = request.roleType; } /** * Lang. */ public Builder lang(String lang) { this.putQueryParameter("Lang", lang); this.lang = lang; return this; } /** * RoleFor. */ public Builder roleFor(String roleFor) { this.putQueryParameter("RoleFor", roleFor); this.roleFor = roleFor; return this; } /** * RoleType. */ public Builder roleType(String roleType) { this.putQueryParameter("RoleType", roleType); this.roleType = roleType; return this; } @Override public DescribeProcessStatisticsRequest build() { return new DescribeProcessStatisticsRequest(this); } } }
0
java-sources/com/aliyun/alibabacloud-sophonsoar20220728/3.0.0/com/aliyun/sdk/service/sophonsoar20220728
java-sources/com/aliyun/alibabacloud-sophonsoar20220728/3.0.0/com/aliyun/sdk/service/sophonsoar20220728/models/DescribeProcessStatisticsResponse.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.sophonsoar20220728.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link DescribeProcessStatisticsResponse} extends {@link TeaModel} * * <p>DescribeProcessStatisticsResponse</p> */ public class DescribeProcessStatisticsResponse extends Response { @com.aliyun.core.annotation.NameInMap("headers") private java.util.Map<String, String> headers; @com.aliyun.core.annotation.NameInMap("statusCode") private Integer statusCode; @com.aliyun.core.annotation.NameInMap("body") private DescribeProcessStatisticsResponseBody body; private DescribeProcessStatisticsResponse(BuilderImpl builder) { super(builder); this.headers = builder.headers; this.statusCode = builder.statusCode; this.body = builder.body; } public static DescribeProcessStatisticsResponse create() { return new BuilderImpl().build(); } @Override public Builder toBuilder() { return new BuilderImpl(this); } /** * @return headers */ public java.util.Map<String, String> getHeaders() { return this.headers; } /** * @return statusCode */ public Integer getStatusCode() { return this.statusCode; } /** * @return body */ public DescribeProcessStatisticsResponseBody getBody() { return this.body; } public interface Builder extends Response.Builder<DescribeProcessStatisticsResponse, Builder> { Builder headers(java.util.Map<String, String> headers); Builder statusCode(Integer statusCode); Builder body(DescribeProcessStatisticsResponseBody body); @Override DescribeProcessStatisticsResponse build(); } private static final class BuilderImpl extends Response.BuilderImpl<DescribeProcessStatisticsResponse, Builder> implements Builder { private java.util.Map<String, String> headers; private Integer statusCode; private DescribeProcessStatisticsResponseBody body; private BuilderImpl() { super(); } private BuilderImpl(DescribeProcessStatisticsResponse response) { super(response); this.headers = response.headers; this.statusCode = response.statusCode; this.body = response.body; } /** * headers. */ @Override public Builder headers(java.util.Map<String, String> headers) { this.headers = headers; return this; } /** * statusCode. */ @Override public Builder statusCode(Integer statusCode) { this.statusCode = statusCode; return this; } /** * body. */ @Override public Builder body(DescribeProcessStatisticsResponseBody body) { this.body = body; return this; } @Override public DescribeProcessStatisticsResponse build() { return new DescribeProcessStatisticsResponse(this); } } }
0
java-sources/com/aliyun/alibabacloud-sophonsoar20220728/3.0.0/com/aliyun/sdk/service/sophonsoar20220728
java-sources/com/aliyun/alibabacloud-sophonsoar20220728/3.0.0/com/aliyun/sdk/service/sophonsoar20220728/models/DescribeProcessStatisticsResponseBody.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.sophonsoar20220728.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link DescribeProcessStatisticsResponseBody} extends {@link TeaModel} * * <p>DescribeProcessStatisticsResponseBody</p> */ public class DescribeProcessStatisticsResponseBody extends TeaModel { @com.aliyun.core.annotation.NameInMap("Metrics") private Metrics metrics; @com.aliyun.core.annotation.NameInMap("RequestId") private String requestId; private DescribeProcessStatisticsResponseBody(Builder builder) { this.metrics = builder.metrics; this.requestId = builder.requestId; } public static Builder builder() { return new Builder(); } public static DescribeProcessStatisticsResponseBody create() { return builder().build(); } public Builder toBuilder() { return new Builder(this); } /** * @return metrics */ public Metrics getMetrics() { return this.metrics; } /** * @return requestId */ public String getRequestId() { return this.requestId; } public static final class Builder { private Metrics metrics; private String requestId; private Builder() { } private Builder(DescribeProcessStatisticsResponseBody model) { this.metrics = model.metrics; this.requestId = model.requestId; } /** * Metrics. */ public Builder metrics(Metrics metrics) { this.metrics = metrics; return this; } /** * RequestId. */ public Builder requestId(String requestId) { this.requestId = requestId; return this; } public DescribeProcessStatisticsResponseBody build() { return new DescribeProcessStatisticsResponseBody(this); } } /** * * {@link DescribeProcessStatisticsResponseBody} extends {@link TeaModel} * * <p>DescribeProcessStatisticsResponseBody</p> */ public static class Metrics extends TeaModel { @com.aliyun.core.annotation.NameInMap("BanFileNum") private Integer banFileNum; @com.aliyun.core.annotation.NameInMap("BanIpNum") private Integer banIpNum; @com.aliyun.core.annotation.NameInMap("BanProcessNum") private Integer banProcessNum; @com.aliyun.core.annotation.NameInMap("TaskNum") private Integer taskNum; private Metrics(Builder builder) { this.banFileNum = builder.banFileNum; this.banIpNum = builder.banIpNum; this.banProcessNum = builder.banProcessNum; this.taskNum = builder.taskNum; } public static Builder builder() { return new Builder(); } public static Metrics create() { return builder().build(); } /** * @return banFileNum */ public Integer getBanFileNum() { return this.banFileNum; } /** * @return banIpNum */ public Integer getBanIpNum() { return this.banIpNum; } /** * @return banProcessNum */ public Integer getBanProcessNum() { return this.banProcessNum; } /** * @return taskNum */ public Integer getTaskNum() { return this.taskNum; } public static final class Builder { private Integer banFileNum; private Integer banIpNum; private Integer banProcessNum; private Integer taskNum; private Builder() { } private Builder(Metrics model) { this.banFileNum = model.banFileNum; this.banIpNum = model.banIpNum; this.banProcessNum = model.banProcessNum; this.taskNum = model.taskNum; } /** * BanFileNum. */ public Builder banFileNum(Integer banFileNum) { this.banFileNum = banFileNum; return this; } /** * BanIpNum. */ public Builder banIpNum(Integer banIpNum) { this.banIpNum = banIpNum; return this; } /** * BanProcessNum. */ public Builder banProcessNum(Integer banProcessNum) { this.banProcessNum = banProcessNum; return this; } /** * TaskNum. */ public Builder taskNum(Integer taskNum) { this.taskNum = taskNum; return this; } public Metrics build() { return new Metrics(this); } } } }
0
java-sources/com/aliyun/alibabacloud-sophonsoar20220728/3.0.0/com/aliyun/sdk/service/sophonsoar20220728
java-sources/com/aliyun/alibabacloud-sophonsoar20220728/3.0.0/com/aliyun/sdk/service/sophonsoar20220728/models/DescribeProcessTaskCountRequest.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.sophonsoar20220728.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link DescribeProcessTaskCountRequest} extends {@link RequestModel} * * <p>DescribeProcessTaskCountRequest</p> */ public class DescribeProcessTaskCountRequest extends Request { @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("EntityUuidList") @com.aliyun.core.annotation.Validation(required = true) private java.util.List<String> entityUuidList; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("Lang") private String lang; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("RoleFor") private Long roleFor; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("RoleType") private String roleType; private DescribeProcessTaskCountRequest(Builder builder) { super(builder); this.entityUuidList = builder.entityUuidList; this.lang = builder.lang; this.roleFor = builder.roleFor; this.roleType = builder.roleType; } public static Builder builder() { return new Builder(); } public static DescribeProcessTaskCountRequest create() { return builder().build(); } @Override public Builder toBuilder() { return new Builder(this); } /** * @return entityUuidList */ public java.util.List<String> getEntityUuidList() { return this.entityUuidList; } /** * @return lang */ public String getLang() { return this.lang; } /** * @return roleFor */ public Long getRoleFor() { return this.roleFor; } /** * @return roleType */ public String getRoleType() { return this.roleType; } public static final class Builder extends Request.Builder<DescribeProcessTaskCountRequest, Builder> { private java.util.List<String> entityUuidList; private String lang; private Long roleFor; private String roleType; private Builder() { super(); } private Builder(DescribeProcessTaskCountRequest request) { super(request); this.entityUuidList = request.entityUuidList; this.lang = request.lang; this.roleFor = request.roleFor; this.roleType = request.roleType; } /** * <p>Collection of entity UUIDs.</p> * <p>This parameter is required.</p> */ public Builder entityUuidList(java.util.List<String> entityUuidList) { this.putQueryParameter("EntityUuidList", entityUuidList); this.entityUuidList = entityUuidList; return this; } /** * <p>Language type for request and response messages. Values:</p> * <ul> * <li><p><strong>zh</strong> (default): Chinese.</p> * </li> * <li><p><strong>en</strong>: English.</p> * </li> * </ul> * * <strong>example:</strong> * <p>zh</p> */ public Builder lang(String lang) { this.putQueryParameter("Lang", lang); this.lang = lang; return this; } /** * <p>User ID for administrators to switch to other member&quot;s perspective.</p> * * <strong>example:</strong> * <p>104739******259</p> */ public Builder roleFor(Long roleFor) { this.putQueryParameter("RoleFor", roleFor); this.roleFor = roleFor; return this; } /** * <p>View type.</p> * <ul> * <li><strong>0</strong>: Current Alibaba Cloud account view.</li> * <li><strong>1</strong>: View for all accounts under the enterprise.</li> * </ul> * * <strong>example:</strong> * <p>0</p> */ public Builder roleType(String roleType) { this.putQueryParameter("RoleType", roleType); this.roleType = roleType; return this; } @Override public DescribeProcessTaskCountRequest build() { return new DescribeProcessTaskCountRequest(this); } } }
0
java-sources/com/aliyun/alibabacloud-sophonsoar20220728/3.0.0/com/aliyun/sdk/service/sophonsoar20220728
java-sources/com/aliyun/alibabacloud-sophonsoar20220728/3.0.0/com/aliyun/sdk/service/sophonsoar20220728/models/DescribeProcessTaskCountResponse.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.sophonsoar20220728.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link DescribeProcessTaskCountResponse} extends {@link TeaModel} * * <p>DescribeProcessTaskCountResponse</p> */ public class DescribeProcessTaskCountResponse extends Response { @com.aliyun.core.annotation.NameInMap("headers") private java.util.Map<String, String> headers; @com.aliyun.core.annotation.NameInMap("statusCode") private Integer statusCode; @com.aliyun.core.annotation.NameInMap("body") private DescribeProcessTaskCountResponseBody body; private DescribeProcessTaskCountResponse(BuilderImpl builder) { super(builder); this.headers = builder.headers; this.statusCode = builder.statusCode; this.body = builder.body; } public static DescribeProcessTaskCountResponse create() { return new BuilderImpl().build(); } @Override public Builder toBuilder() { return new BuilderImpl(this); } /** * @return headers */ public java.util.Map<String, String> getHeaders() { return this.headers; } /** * @return statusCode */ public Integer getStatusCode() { return this.statusCode; } /** * @return body */ public DescribeProcessTaskCountResponseBody getBody() { return this.body; } public interface Builder extends Response.Builder<DescribeProcessTaskCountResponse, Builder> { Builder headers(java.util.Map<String, String> headers); Builder statusCode(Integer statusCode); Builder body(DescribeProcessTaskCountResponseBody body); @Override DescribeProcessTaskCountResponse build(); } private static final class BuilderImpl extends Response.BuilderImpl<DescribeProcessTaskCountResponse, Builder> implements Builder { private java.util.Map<String, String> headers; private Integer statusCode; private DescribeProcessTaskCountResponseBody body; private BuilderImpl() { super(); } private BuilderImpl(DescribeProcessTaskCountResponse response) { super(response); this.headers = response.headers; this.statusCode = response.statusCode; this.body = response.body; } /** * headers. */ @Override public Builder headers(java.util.Map<String, String> headers) { this.headers = headers; return this; } /** * statusCode. */ @Override public Builder statusCode(Integer statusCode) { this.statusCode = statusCode; return this; } /** * body. */ @Override public Builder body(DescribeProcessTaskCountResponseBody body) { this.body = body; return this; } @Override public DescribeProcessTaskCountResponse build() { return new DescribeProcessTaskCountResponse(this); } } }
0
java-sources/com/aliyun/alibabacloud-sophonsoar20220728/3.0.0/com/aliyun/sdk/service/sophonsoar20220728
java-sources/com/aliyun/alibabacloud-sophonsoar20220728/3.0.0/com/aliyun/sdk/service/sophonsoar20220728/models/DescribeProcessTaskCountResponseBody.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.sophonsoar20220728.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link DescribeProcessTaskCountResponseBody} extends {@link TeaModel} * * <p>DescribeProcessTaskCountResponseBody</p> */ public class DescribeProcessTaskCountResponseBody extends TeaModel { @com.aliyun.core.annotation.NameInMap("Data") private java.util.List<Data> data; @com.aliyun.core.annotation.NameInMap("RequestId") private String requestId; private DescribeProcessTaskCountResponseBody(Builder builder) { this.data = builder.data; this.requestId = builder.requestId; } public static Builder builder() { return new Builder(); } public static DescribeProcessTaskCountResponseBody create() { return builder().build(); } public Builder toBuilder() { return new Builder(this); } /** * @return data */ public java.util.List<Data> getData() { return this.data; } /** * @return requestId */ public String getRequestId() { return this.requestId; } public static final class Builder { private java.util.List<Data> data; private String requestId; private Builder() { } private Builder(DescribeProcessTaskCountResponseBody model) { this.data = model.data; this.requestId = model.requestId; } /** * <p>Transmitted data.</p> */ public Builder data(java.util.List<Data> data) { this.data = data; return this; } /** * <p>The ID of this call request, which is a unique identifier generated by Alibaba Cloud for this request, used for troubleshooting and problem localization.</p> * * <strong>example:</strong> * <p>e866cce0-****-41de-817e-****8d5e2650</p> */ public Builder requestId(String requestId) { this.requestId = requestId; return this; } public DescribeProcessTaskCountResponseBody build() { return new DescribeProcessTaskCountResponseBody(this); } } /** * * {@link DescribeProcessTaskCountResponseBody} extends {@link TeaModel} * * <p>DescribeProcessTaskCountResponseBody</p> */ public static class Data extends TeaModel { @com.aliyun.core.annotation.NameInMap("Count") private Long count; @com.aliyun.core.annotation.NameInMap("EntityUuid") private String entityUuid; private Data(Builder builder) { this.count = builder.count; this.entityUuid = builder.entityUuid; } public static Builder builder() { return new Builder(); } public static Data create() { return builder().build(); } /** * @return count */ public Long getCount() { return this.count; } /** * @return entityUuid */ public String getEntityUuid() { return this.entityUuid; } public static final class Builder { private Long count; private String entityUuid; private Builder() { } private Builder(Data model) { this.count = model.count; this.entityUuid = model.entityUuid; } /** * <p>Count.</p> * * <strong>example:</strong> * <p>67</p> */ public Builder count(Long count) { this.count = count; return this; } /** * <p>Entity UUID.</p> * * <strong>example:</strong> * <p>a680c9ae-<strong><strong>-4c39-</strong></strong>-0302****fc8e</p> */ public Builder entityUuid(String entityUuid) { this.entityUuid = entityUuid; return this; } public Data build() { return new Data(this); } } } }
0
java-sources/com/aliyun/alibabacloud-sophonsoar20220728/3.0.0/com/aliyun/sdk/service/sophonsoar20220728
java-sources/com/aliyun/alibabacloud-sophonsoar20220728/3.0.0/com/aliyun/sdk/service/sophonsoar20220728/models/DescribeProcessTasksRequest.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.sophonsoar20220728.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link DescribeProcessTasksRequest} extends {@link RequestModel} * * <p>DescribeProcessTasksRequest</p> */ public class DescribeProcessTasksRequest extends Request { @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("Direction") private String direction; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("EntityName") private String entityName; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("EntityType") private String entityType; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("EntityUuid") private String entityUuid; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("EventUuid") private String eventUuid; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("OrderField") private String orderField; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("PageNumber") private Long pageNumber; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("PageSize") private Integer pageSize; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("ParamContent") private String paramContent; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("ProcessActionEnd") private Long processActionEnd; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("ProcessActionStart") private Long processActionStart; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("ProcessRemoveEnd") private Long processRemoveEnd; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("ProcessRemoveStart") private Long processRemoveStart; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("ProcessStrategyUuid") private String processStrategyUuid; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("SceneCode") private String sceneCode; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("Scope") private String scope; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("Source") private String source; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("TaskId") private String taskId; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("TaskStatus") private String taskStatus; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("TriggerSource") private String triggerSource; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("YunCode") private String yunCode; private DescribeProcessTasksRequest(Builder builder) { super(builder); this.direction = builder.direction; this.entityName = builder.entityName; this.entityType = builder.entityType; this.entityUuid = builder.entityUuid; this.eventUuid = builder.eventUuid; this.orderField = builder.orderField; this.pageNumber = builder.pageNumber; this.pageSize = builder.pageSize; this.paramContent = builder.paramContent; this.processActionEnd = builder.processActionEnd; this.processActionStart = builder.processActionStart; this.processRemoveEnd = builder.processRemoveEnd; this.processRemoveStart = builder.processRemoveStart; this.processStrategyUuid = builder.processStrategyUuid; this.sceneCode = builder.sceneCode; this.scope = builder.scope; this.source = builder.source; this.taskId = builder.taskId; this.taskStatus = builder.taskStatus; this.triggerSource = builder.triggerSource; this.yunCode = builder.yunCode; } public static Builder builder() { return new Builder(); } public static DescribeProcessTasksRequest create() { return builder().build(); } @Override public Builder toBuilder() { return new Builder(this); } /** * @return direction */ public String getDirection() { return this.direction; } /** * @return entityName */ public String getEntityName() { return this.entityName; } /** * @return entityType */ public String getEntityType() { return this.entityType; } /** * @return entityUuid */ public String getEntityUuid() { return this.entityUuid; } /** * @return eventUuid */ public String getEventUuid() { return this.eventUuid; } /** * @return orderField */ public String getOrderField() { return this.orderField; } /** * @return pageNumber */ public Long getPageNumber() { return this.pageNumber; } /** * @return pageSize */ public Integer getPageSize() { return this.pageSize; } /** * @return paramContent */ public String getParamContent() { return this.paramContent; } /** * @return processActionEnd */ public Long getProcessActionEnd() { return this.processActionEnd; } /** * @return processActionStart */ public Long getProcessActionStart() { return this.processActionStart; } /** * @return processRemoveEnd */ public Long getProcessRemoveEnd() { return this.processRemoveEnd; } /** * @return processRemoveStart */ public Long getProcessRemoveStart() { return this.processRemoveStart; } /** * @return processStrategyUuid */ public String getProcessStrategyUuid() { return this.processStrategyUuid; } /** * @return sceneCode */ public String getSceneCode() { return this.sceneCode; } /** * @return scope */ public String getScope() { return this.scope; } /** * @return source */ public String getSource() { return this.source; } /** * @return taskId */ public String getTaskId() { return this.taskId; } /** * @return taskStatus */ public String getTaskStatus() { return this.taskStatus; } /** * @return triggerSource */ public String getTriggerSource() { return this.triggerSource; } /** * @return yunCode */ public String getYunCode() { return this.yunCode; } public static final class Builder extends Request.Builder<DescribeProcessTasksRequest, Builder> { private String direction; private String entityName; private String entityType; private String entityUuid; private String eventUuid; private String orderField; private Long pageNumber; private Integer pageSize; private String paramContent; private Long processActionEnd; private Long processActionStart; private Long processRemoveEnd; private Long processRemoveStart; private String processStrategyUuid; private String sceneCode; private String scope; private String source; private String taskId; private String taskStatus; private String triggerSource; private String yunCode; private Builder() { super(); } private Builder(DescribeProcessTasksRequest request) { super(request); this.direction = request.direction; this.entityName = request.entityName; this.entityType = request.entityType; this.entityUuid = request.entityUuid; this.eventUuid = request.eventUuid; this.orderField = request.orderField; this.pageNumber = request.pageNumber; this.pageSize = request.pageSize; this.paramContent = request.paramContent; this.processActionEnd = request.processActionEnd; this.processActionStart = request.processActionStart; this.processRemoveEnd = request.processRemoveEnd; this.processRemoveStart = request.processRemoveStart; this.processStrategyUuid = request.processStrategyUuid; this.sceneCode = request.sceneCode; this.scope = request.scope; this.source = request.source; this.taskId = request.taskId; this.taskStatus = request.taskStatus; this.triggerSource = request.triggerSource; this.yunCode = request.yunCode; } /** * <p>The sort order. Valid values:</p> * <ul> * <li><strong>desc</strong> (default)</li> * <li><strong>asc</strong></li> * </ul> * * <strong>example:</strong> * <p>desc</p> */ public Builder direction(String direction) { this.putQueryParameter("Direction", direction); this.direction = direction; return this; } /** * <p>The name of the handling entity.</p> * * <strong>example:</strong> * <p>127.0.0.1</p> */ public Builder entityName(String entityName) { this.putQueryParameter("EntityName", entityName); this.entityName = entityName; return this; } /** * <p>The type of the handling entity. Valid values:</p> * <ul> * <li><strong>ip</strong></li> * <li><strong>file</strong></li> * <li><strong>process</strong></li> * </ul> * * <strong>example:</strong> * <p>ip</p> */ public Builder entityType(String entityType) { this.putQueryParameter("EntityType", entityType); this.entityType = entityType; return this; } /** * EntityUuid. */ public Builder entityUuid(String entityUuid) { this.putQueryParameter("EntityUuid", entityUuid); this.entityUuid = entityUuid; return this; } /** * EventUuid. */ public Builder eventUuid(String eventUuid) { this.putQueryParameter("EventUuid", eventUuid); this.eventUuid = eventUuid; return this; } /** * <p>The field that you use to sort the result.</p> * <blockquote> * <p> You can obtain the field from the response result.</p> * </blockquote> * * <strong>example:</strong> * <p>gmtCreate</p> */ public Builder orderField(String orderField) { this.putQueryParameter("OrderField", orderField); this.orderField = orderField; return this; } /** * <p>The page number. Default value: 1. Pages start from page 1.</p> * * <strong>example:</strong> * <p>1</p> */ public Builder pageNumber(Long pageNumber) { this.putQueryParameter("PageNumber", pageNumber); this.pageNumber = pageNumber; return this; } /** * <p>The number of entries per page. Default value: 10. If you do not specify the PageSize parameter, 10 entries are returned by default.</p> * <blockquote> * <p> We recommend that you do not leave this parameter empty.</p> * </blockquote> * * <strong>example:</strong> * <p>10</p> */ public Builder pageSize(Integer pageSize) { this.putQueryParameter("PageSize", pageSize); this.pageSize = pageSize; return this; } /** * <p>The handling entity, handling scenario, or handling parameter that is used for fuzzy match.</p> * * <strong>example:</strong> * <p>12.x.x.x</p> */ public Builder paramContent(String paramContent) { this.putQueryParameter("ParamContent", paramContent); this.paramContent = paramContent; return this; } /** * <p>The end of the time range for a handling task. The value is a 13-digit timestamp.</p> * * <strong>example:</strong> * <p>1700031183572</p> */ public Builder processActionEnd(Long processActionEnd) { this.putQueryParameter("ProcessActionEnd", processActionEnd); this.processActionEnd = processActionEnd; return this; } /** * <p>The beginning of the time range for a handling task. The value is a 13-digit timestamp.</p> * * <strong>example:</strong> * <p>1700031183572</p> */ public Builder processActionStart(Long processActionStart) { this.putQueryParameter("ProcessActionStart", processActionStart); this.processActionStart = processActionStart; return this; } /** * <p>The end of the time range for an unblocking task. The value is a 13-digit timestamp.</p> * * <strong>example:</strong> * <p>1700031183572</p> */ public Builder processRemoveEnd(Long processRemoveEnd) { this.putQueryParameter("ProcessRemoveEnd", processRemoveEnd); this.processRemoveEnd = processRemoveEnd; return this; } /** * <p>The beginning of the time range for an unblocking task. The value is a 13-digit timestamp.</p> * * <strong>example:</strong> * <p>1700031183572</p> */ public Builder processRemoveStart(Long processRemoveStart) { this.putQueryParameter("ProcessRemoveStart", processRemoveStart); this.processRemoveStart = processRemoveStart; return this; } /** * <p>The UUID of the handling policy.</p> * <blockquote> * <p> You can call the <a href="https://help.aliyun.com/document_detail/2584440.html">ListDisposeStrategy</a> operation to query the UUID of the handling policy.</p> * </blockquote> * * <strong>example:</strong> * <p>92af3c79-1754-4646-9366-9ddbd1e45536_xxxx</p> */ public Builder processStrategyUuid(String processStrategyUuid) { this.putQueryParameter("ProcessStrategyUuid", processStrategyUuid); this.processStrategyUuid = processStrategyUuid; return this; } /** * <p>The scenario code of the handling task.</p> * <blockquote> * <p> You can call the <a href="~~DescribeEnumItems~~">DescribeEnumItems</a> operation to query the scenario code of the handling task. This parameter is available when you set <strong>EnumType</strong> to <strong>process</strong>.</p> * </blockquote> * * <strong>example:</strong> * <p>event_xxx_whole_process</p> */ public Builder sceneCode(String sceneCode) { this.putQueryParameter("SceneCode", sceneCode); this.sceneCode = sceneCode; return this; } /** * <p>The ID of the Alibaba Cloud account that is specified in the handling task.</p> * * <strong>example:</strong> * <p>125xxxxx9870</p> */ public Builder scope(String scope) { this.putQueryParameter("Scope", scope); this.scope = scope; return this; } /** * <p>The triggering source of the handling task. The value is a string array. Valid values:</p> * <ul> * <li><strong>system</strong>: triggered when you manually handle an event</li> * <li><strong>custom</strong>: triggered by an event based on an automatic response rule</li> * <li><strong>custom_alert</strong>: triggered by an alert based on an automatic response rule</li> * <li><strong>soar-manual</strong>: triggered when you use SOAR to manually run a playbook</li> * <li><strong>soar-mdr</strong>: triggered by Managed Security Service</li> * </ul> * * <strong>example:</strong> * <p>[&quot;system&quot;]</p> */ public Builder source(String source) { this.putQueryParameter("Source", source); this.source = source; return this; } /** * <p>The unique identifier of the handling task.</p> * <blockquote> * <p> This parameter is used to query a specific task. You can obtain the value from the response result.</p> * </blockquote> * * <strong>example:</strong> * <p>150xxxxxxxxx95066</p> */ public Builder taskId(String taskId) { this.putQueryParameter("TaskId", taskId); this.taskId = taskId; return this; } /** * <p>The status of the handling task. The value is a string. Valid values:</p> * <ul> * <li><strong>11</strong>: being handled</li> * <li><strong>21</strong>: being blocked</li> * <li><strong>22</strong>: being quarantined</li> * <li><strong>23</strong>: completed</li> * <li><strong>24</strong>: added to the whitelist</li> * <li><strong>20</strong>: successful</li> * <li><strong>90</strong>: failed</li> * <li><strong>91</strong>: unblocking failed</li> * <li><strong>92</strong>: restoring quarantined files failed</li> * </ul> * * <strong>example:</strong> * <p>[&quot;11&quot;,&quot;21&quot;]</p> */ public Builder taskStatus(String taskStatus) { this.putQueryParameter("TaskStatus", taskStatus); this.taskStatus = taskStatus; return this; } /** * TriggerSource. */ public Builder triggerSource(String triggerSource) { this.putQueryParameter("TriggerSource", triggerSource); this.triggerSource = triggerSource; return this; } /** * <p>The cloud service that is associated with the handling task. The value is a string. Valid values:</p> * <ul> * <li><strong>WAF</strong>: Web Application Firewall (WAF)</li> * <li><strong>CFW</strong>: Cloud Firewall</li> * <li><strong>Aegis</strong>: Security Center</li> * </ul> * * <strong>example:</strong> * <p>[&quot;WAF&quot;]</p> */ public Builder yunCode(String yunCode) { this.putQueryParameter("YunCode", yunCode); this.yunCode = yunCode; return this; } @Override public DescribeProcessTasksRequest build() { return new DescribeProcessTasksRequest(this); } } }
0
java-sources/com/aliyun/alibabacloud-sophonsoar20220728/3.0.0/com/aliyun/sdk/service/sophonsoar20220728
java-sources/com/aliyun/alibabacloud-sophonsoar20220728/3.0.0/com/aliyun/sdk/service/sophonsoar20220728/models/DescribeProcessTasksResponse.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.sophonsoar20220728.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link DescribeProcessTasksResponse} extends {@link TeaModel} * * <p>DescribeProcessTasksResponse</p> */ public class DescribeProcessTasksResponse extends Response { @com.aliyun.core.annotation.NameInMap("headers") private java.util.Map<String, String> headers; @com.aliyun.core.annotation.NameInMap("statusCode") private Integer statusCode; @com.aliyun.core.annotation.NameInMap("body") private DescribeProcessTasksResponseBody body; private DescribeProcessTasksResponse(BuilderImpl builder) { super(builder); this.headers = builder.headers; this.statusCode = builder.statusCode; this.body = builder.body; } public static DescribeProcessTasksResponse create() { return new BuilderImpl().build(); } @Override public Builder toBuilder() { return new BuilderImpl(this); } /** * @return headers */ public java.util.Map<String, String> getHeaders() { return this.headers; } /** * @return statusCode */ public Integer getStatusCode() { return this.statusCode; } /** * @return body */ public DescribeProcessTasksResponseBody getBody() { return this.body; } public interface Builder extends Response.Builder<DescribeProcessTasksResponse, Builder> { Builder headers(java.util.Map<String, String> headers); Builder statusCode(Integer statusCode); Builder body(DescribeProcessTasksResponseBody body); @Override DescribeProcessTasksResponse build(); } private static final class BuilderImpl extends Response.BuilderImpl<DescribeProcessTasksResponse, Builder> implements Builder { private java.util.Map<String, String> headers; private Integer statusCode; private DescribeProcessTasksResponseBody body; private BuilderImpl() { super(); } private BuilderImpl(DescribeProcessTasksResponse response) { super(response); this.headers = response.headers; this.statusCode = response.statusCode; this.body = response.body; } /** * headers. */ @Override public Builder headers(java.util.Map<String, String> headers) { this.headers = headers; return this; } /** * statusCode. */ @Override public Builder statusCode(Integer statusCode) { this.statusCode = statusCode; return this; } /** * body. */ @Override public Builder body(DescribeProcessTasksResponseBody body) { this.body = body; return this; } @Override public DescribeProcessTasksResponse build() { return new DescribeProcessTasksResponse(this); } } }
0
java-sources/com/aliyun/alibabacloud-sophonsoar20220728/3.0.0/com/aliyun/sdk/service/sophonsoar20220728
java-sources/com/aliyun/alibabacloud-sophonsoar20220728/3.0.0/com/aliyun/sdk/service/sophonsoar20220728/models/DescribeProcessTasksResponseBody.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.sophonsoar20220728.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link DescribeProcessTasksResponseBody} extends {@link TeaModel} * * <p>DescribeProcessTasksResponseBody</p> */ public class DescribeProcessTasksResponseBody extends TeaModel { @com.aliyun.core.annotation.NameInMap("Page") private Page page; @com.aliyun.core.annotation.NameInMap("ProcessTasks") private java.util.List<ProcessTasks> processTasks; @com.aliyun.core.annotation.NameInMap("RequestId") private String requestId; private DescribeProcessTasksResponseBody(Builder builder) { this.page = builder.page; this.processTasks = builder.processTasks; this.requestId = builder.requestId; } public static Builder builder() { return new Builder(); } public static DescribeProcessTasksResponseBody create() { return builder().build(); } public Builder toBuilder() { return new Builder(this); } /** * @return page */ public Page getPage() { return this.page; } /** * @return processTasks */ public java.util.List<ProcessTasks> getProcessTasks() { return this.processTasks; } /** * @return requestId */ public String getRequestId() { return this.requestId; } public static final class Builder { private Page page; private java.util.List<ProcessTasks> processTasks; private String requestId; private Builder() { } private Builder(DescribeProcessTasksResponseBody model) { this.page = model.page; this.processTasks = model.processTasks; this.requestId = model.requestId; } /** * <p>The pagination information.</p> */ public Builder page(Page page) { this.page = page; return this; } /** * <p>The handling tasks.</p> */ public Builder processTasks(java.util.List<ProcessTasks> processTasks) { this.processTasks = processTasks; return this; } /** * <p>The request ID.</p> * * <strong>example:</strong> * <p>E7698CFB-4E1C-5840-8EC9-691B86729E94</p> */ public Builder requestId(String requestId) { this.requestId = requestId; return this; } public DescribeProcessTasksResponseBody build() { return new DescribeProcessTasksResponseBody(this); } } /** * * {@link DescribeProcessTasksResponseBody} extends {@link TeaModel} * * <p>DescribeProcessTasksResponseBody</p> */ public static class Page extends TeaModel { @com.aliyun.core.annotation.NameInMap("PageNumber") private Integer pageNumber; @com.aliyun.core.annotation.NameInMap("PageSize") private Integer pageSize; @com.aliyun.core.annotation.NameInMap("TotalCount") private Integer totalCount; private Page(Builder builder) { this.pageNumber = builder.pageNumber; this.pageSize = builder.pageSize; this.totalCount = builder.totalCount; } public static Builder builder() { return new Builder(); } public static Page create() { return builder().build(); } /** * @return pageNumber */ public Integer getPageNumber() { return this.pageNumber; } /** * @return pageSize */ public Integer getPageSize() { return this.pageSize; } /** * @return totalCount */ public Integer getTotalCount() { return this.totalCount; } public static final class Builder { private Integer pageNumber; private Integer pageSize; private Integer totalCount; private Builder() { } private Builder(Page model) { this.pageNumber = model.pageNumber; this.pageSize = model.pageSize; this.totalCount = model.totalCount; } /** * <p>The page number.</p> * * <strong>example:</strong> * <p>1</p> */ public Builder pageNumber(Integer pageNumber) { this.pageNumber = pageNumber; return this; } /** * <p>The number of entries per page.</p> * * <strong>example:</strong> * <p>10</p> */ public Builder pageSize(Integer pageSize) { this.pageSize = pageSize; return this; } /** * <p>The total number of entries returned.</p> * * <strong>example:</strong> * <p>30</p> */ public Builder totalCount(Integer totalCount) { this.totalCount = totalCount; return this; } public Page build() { return new Page(this); } } } /** * * {@link DescribeProcessTasksResponseBody} extends {@link TeaModel} * * <p>DescribeProcessTasksResponseBody</p> */ public static class ProcessTasks extends TeaModel { @com.aliyun.core.annotation.NameInMap("Creator") private String creator; @com.aliyun.core.annotation.NameInMap("EntityName") private String entityName; @com.aliyun.core.annotation.NameInMap("EntityType") private String entityType; @com.aliyun.core.annotation.NameInMap("EntityUuid") private String entityUuid; @com.aliyun.core.annotation.NameInMap("ErrCode") private String errCode; @com.aliyun.core.annotation.NameInMap("ErrMsg") private String errMsg; @com.aliyun.core.annotation.NameInMap("ErrTip") private String errTip; @com.aliyun.core.annotation.NameInMap("EventUuid") private String eventUuid; @com.aliyun.core.annotation.NameInMap("GmtCreateMillis") private Long gmtCreateMillis; @com.aliyun.core.annotation.NameInMap("GmtModifiedMillis") private Long gmtModifiedMillis; @com.aliyun.core.annotation.NameInMap("InputParams") private String inputParams; @com.aliyun.core.annotation.NameInMap("ProcessStrategyUuid") private String processStrategyUuid; @com.aliyun.core.annotation.NameInMap("ProcessTime") private Long processTime; @com.aliyun.core.annotation.NameInMap("RemoveTime") private Long removeTime; @com.aliyun.core.annotation.NameInMap("ReqUuid") private String reqUuid; @com.aliyun.core.annotation.NameInMap("SceneCode") private String sceneCode; @com.aliyun.core.annotation.NameInMap("SceneName") private String sceneName; @com.aliyun.core.annotation.NameInMap("Scope") private String scope; @com.aliyun.core.annotation.NameInMap("Source") private String source; @com.aliyun.core.annotation.NameInMap("TaskId") private String taskId; @com.aliyun.core.annotation.NameInMap("TaskStatus") private Integer taskStatus; @com.aliyun.core.annotation.NameInMap("TriggerSource") private String triggerSource; @com.aliyun.core.annotation.NameInMap("YunCode") private String yunCode; private ProcessTasks(Builder builder) { this.creator = builder.creator; this.entityName = builder.entityName; this.entityType = builder.entityType; this.entityUuid = builder.entityUuid; this.errCode = builder.errCode; this.errMsg = builder.errMsg; this.errTip = builder.errTip; this.eventUuid = builder.eventUuid; this.gmtCreateMillis = builder.gmtCreateMillis; this.gmtModifiedMillis = builder.gmtModifiedMillis; this.inputParams = builder.inputParams; this.processStrategyUuid = builder.processStrategyUuid; this.processTime = builder.processTime; this.removeTime = builder.removeTime; this.reqUuid = builder.reqUuid; this.sceneCode = builder.sceneCode; this.sceneName = builder.sceneName; this.scope = builder.scope; this.source = builder.source; this.taskId = builder.taskId; this.taskStatus = builder.taskStatus; this.triggerSource = builder.triggerSource; this.yunCode = builder.yunCode; } public static Builder builder() { return new Builder(); } public static ProcessTasks create() { return builder().build(); } /** * @return creator */ public String getCreator() { return this.creator; } /** * @return entityName */ public String getEntityName() { return this.entityName; } /** * @return entityType */ public String getEntityType() { return this.entityType; } /** * @return entityUuid */ public String getEntityUuid() { return this.entityUuid; } /** * @return errCode */ public String getErrCode() { return this.errCode; } /** * @return errMsg */ public String getErrMsg() { return this.errMsg; } /** * @return errTip */ public String getErrTip() { return this.errTip; } /** * @return eventUuid */ public String getEventUuid() { return this.eventUuid; } /** * @return gmtCreateMillis */ public Long getGmtCreateMillis() { return this.gmtCreateMillis; } /** * @return gmtModifiedMillis */ public Long getGmtModifiedMillis() { return this.gmtModifiedMillis; } /** * @return inputParams */ public String getInputParams() { return this.inputParams; } /** * @return processStrategyUuid */ public String getProcessStrategyUuid() { return this.processStrategyUuid; } /** * @return processTime */ public Long getProcessTime() { return this.processTime; } /** * @return removeTime */ public Long getRemoveTime() { return this.removeTime; } /** * @return reqUuid */ public String getReqUuid() { return this.reqUuid; } /** * @return sceneCode */ public String getSceneCode() { return this.sceneCode; } /** * @return sceneName */ public String getSceneName() { return this.sceneName; } /** * @return scope */ public String getScope() { return this.scope; } /** * @return source */ public String getSource() { return this.source; } /** * @return taskId */ public String getTaskId() { return this.taskId; } /** * @return taskStatus */ public Integer getTaskStatus() { return this.taskStatus; } /** * @return triggerSource */ public String getTriggerSource() { return this.triggerSource; } /** * @return yunCode */ public String getYunCode() { return this.yunCode; } public static final class Builder { private String creator; private String entityName; private String entityType; private String entityUuid; private String errCode; private String errMsg; private String errTip; private String eventUuid; private Long gmtCreateMillis; private Long gmtModifiedMillis; private String inputParams; private String processStrategyUuid; private Long processTime; private Long removeTime; private String reqUuid; private String sceneCode; private String sceneName; private String scope; private String source; private String taskId; private Integer taskStatus; private String triggerSource; private String yunCode; private Builder() { } private Builder(ProcessTasks model) { this.creator = model.creator; this.entityName = model.entityName; this.entityType = model.entityType; this.entityUuid = model.entityUuid; this.errCode = model.errCode; this.errMsg = model.errMsg; this.errTip = model.errTip; this.eventUuid = model.eventUuid; this.gmtCreateMillis = model.gmtCreateMillis; this.gmtModifiedMillis = model.gmtModifiedMillis; this.inputParams = model.inputParams; this.processStrategyUuid = model.processStrategyUuid; this.processTime = model.processTime; this.removeTime = model.removeTime; this.reqUuid = model.reqUuid; this.sceneCode = model.sceneCode; this.sceneName = model.sceneName; this.scope = model.scope; this.source = model.source; this.taskId = model.taskId; this.taskStatus = model.taskStatus; this.triggerSource = model.triggerSource; this.yunCode = model.yunCode; } /** * <p>The ID of the Alibaba Cloud account that is used to submit the handling task.</p> * * <strong>example:</strong> * <p>123xxxx355</p> */ public Builder creator(String creator) { this.creator = creator; return this; } /** * <p>The name of the handling entity.</p> * * <strong>example:</strong> * <p>1.1.1.x</p> */ public Builder entityName(String entityName) { this.entityName = entityName; return this; } /** * <p>The type of the handling entity.</p> * * <strong>example:</strong> * <p>ip</p> */ public Builder entityType(String entityType) { this.entityType = entityType; return this; } /** * EntityUuid. */ public Builder entityUuid(String entityUuid) { this.entityUuid = entityUuid; return this; } /** * <p>The error code returned if the call failed.</p> * * <strong>example:</strong> * <p>sts_openapi.Info.DefenseSceneNotSupported</p> */ public Builder errCode(String errCode) { this.errCode = errCode; return this; } /** * <p>The error message returned if the call failed.</p> * * <strong>example:</strong> * <p>ParamError : The parameters of your request are invalid</p> */ public Builder errMsg(String errMsg) { this.errMsg = errMsg; return this; } /** * <p>The error tip returned if the call failed.</p> * * <strong>example:</strong> * <p>Verify that the input parameters of the components are correct</p> */ public Builder errTip(String errTip) { this.errTip = errTip; return this; } /** * EventUuid. */ public Builder eventUuid(String eventUuid) { this.eventUuid = eventUuid; return this; } /** * <p>The creation time of the handling task. The value is a 13-digit timestamp.</p> * * <strong>example:</strong> * <p>1700031183572</p> */ public Builder gmtCreateMillis(Long gmtCreateMillis) { this.gmtCreateMillis = gmtCreateMillis; return this; } /** * <p>The modification time of the handling task. The value is a 13-digit timestamp.</p> * * <strong>example:</strong> * <p>1700031183572</p> */ public Builder gmtModifiedMillis(Long gmtModifiedMillis) { this.gmtModifiedMillis = gmtModifiedMillis; return this; } /** * <p>The input parameter of the handling task.</p> * * <strong>example:</strong> * <p>{&quot;groupuuid&quot;:&quot;c6a9b1df-f4ac-4078-bef4-99xxxxxx&quot;}</p> */ public Builder inputParams(String inputParams) { this.inputParams = inputParams; return this; } /** * <p>The ID of the associated policy.</p> * * <strong>example:</strong> * <p>92af3c79-1754-4646-9366-9ddbd1e45536_xxxx</p> */ public Builder processStrategyUuid(String processStrategyUuid) { this.processStrategyUuid = processStrategyUuid; return this; } /** * <p>The delivery time of the handling task. The value is a 13-digit timestamp.</p> * * <strong>example:</strong> * <p>1700031183572</p> */ public Builder processTime(Long processTime) { this.processTime = processTime; return this; } /** * <p>The unblocking time of the handling task. The value is a 13-digit timestamp.</p> * * <strong>example:</strong> * <p>1700031183572</p> */ public Builder removeTime(Long removeTime) { this.removeTime = removeTime; return this; } /** * ReqUuid. */ public Builder reqUuid(String reqUuid) { this.reqUuid = reqUuid; return this; } /** * <p>The scenario code of the handling task.</p> * * <strong>example:</strong> * <p>event_xxx_whole_process</p> */ public Builder sceneCode(String sceneCode) { this.sceneCode = sceneCode; return this; } /** * <p>The scenario name of the handling task.</p> * * <strong>example:</strong> * <p>waf_whole_process</p> */ public Builder sceneName(String sceneName) { this.sceneName = sceneName; return this; } /** * <p>The ID of the Alibaba Cloud account that is specified in the handling task.</p> * * <strong>example:</strong> * <p>123xxxxx234</p> */ public Builder scope(String scope) { this.scope = scope; return this; } /** * <p>The submission source of the handling task.</p> * * <strong>example:</strong> * <p>system</p> */ public Builder source(String source) { this.source = source; return this; } /** * <p>The unique identifier of the handling task.</p> * * <strong>example:</strong> * <p>150xxxxxxxxx95066</p> */ public Builder taskId(String taskId) { this.taskId = taskId; return this; } /** * <p>The status of the handling task.</p> * * <strong>example:</strong> * <p>11</p> */ public Builder taskStatus(Integer taskStatus) { this.taskStatus = taskStatus; return this; } /** * TriggerSource. */ public Builder triggerSource(String triggerSource) { this.triggerSource = triggerSource; return this; } /** * <p>The code of the cloud service that is associated with the handling task.</p> * * <strong>example:</strong> * <p>WAF</p> */ public Builder yunCode(String yunCode) { this.yunCode = yunCode; return this; } public ProcessTasks build() { return new ProcessTasks(this); } } } }
0
java-sources/com/aliyun/alibabacloud-sophonsoar20220728/3.0.0/com/aliyun/sdk/service/sophonsoar20220728
java-sources/com/aliyun/alibabacloud-sophonsoar20220728/3.0.0/com/aliyun/sdk/service/sophonsoar20220728/models/DescribeSoarRecordActionOutputListRequest.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.sophonsoar20220728.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link DescribeSoarRecordActionOutputListRequest} extends {@link RequestModel} * * <p>DescribeSoarRecordActionOutputListRequest</p> */ public class DescribeSoarRecordActionOutputListRequest extends Request { @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("ActionUuid") @com.aliyun.core.annotation.Validation(required = true) private String actionUuid; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("Lang") private String lang; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("PageNumber") @com.aliyun.core.annotation.Validation(required = true) private Integer pageNumber; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("PageSize") @com.aliyun.core.annotation.Validation(required = true) private Integer pageSize; private DescribeSoarRecordActionOutputListRequest(Builder builder) { super(builder); this.actionUuid = builder.actionUuid; this.lang = builder.lang; this.pageNumber = builder.pageNumber; this.pageSize = builder.pageSize; } public static Builder builder() { return new Builder(); } public static DescribeSoarRecordActionOutputListRequest create() { return builder().build(); } @Override public Builder toBuilder() { return new Builder(this); } /** * @return actionUuid */ public String getActionUuid() { return this.actionUuid; } /** * @return lang */ public String getLang() { return this.lang; } /** * @return pageNumber */ public Integer getPageNumber() { return this.pageNumber; } /** * @return pageSize */ public Integer getPageSize() { return this.pageSize; } public static final class Builder extends Request.Builder<DescribeSoarRecordActionOutputListRequest, Builder> { private String actionUuid; private String lang; private Integer pageNumber; private Integer pageSize; private Builder() { super(); } private Builder(DescribeSoarRecordActionOutputListRequest request) { super(request); this.actionUuid = request.actionUuid; this.lang = request.lang; this.pageNumber = request.pageNumber; this.pageSize = request.pageSize; } /** * <p>The UUID of the component action.</p> * <blockquote> * <p> You can call the <a href="~~DescribeSoarTaskAndActions~~">DescribeSoarTaskAndActions</a> operation to query the UUID.</p> * </blockquote> * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>2202c90d-fa93-4726-bc32-xxxxxx</p> */ public Builder actionUuid(String actionUuid) { this.putQueryParameter("ActionUuid", actionUuid); this.actionUuid = actionUuid; return this; } /** * <p>The language of the content within the request and response. Default value: <strong>zh</strong>. Valid values:</p> * <ul> * <li><strong>zh</strong>: Chinese</li> * <li><strong>en</strong>: English</li> * </ul> * * <strong>example:</strong> * <p>zh</p> */ public Builder lang(String lang) { this.putQueryParameter("Lang", lang); this.lang = lang; return this; } /** * <p>The page number. Default value: 1. Pages start from page 1.</p> * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>1</p> */ public Builder pageNumber(Integer pageNumber) { this.putQueryParameter("PageNumber", pageNumber); this.pageNumber = pageNumber; return this; } /** * <p>The number of entries per page. Default value: 10. If you leave this parameter empty, 10 entries are returned on each page.</p> * <blockquote> * <p> We recommend that you do not leave this parameter empty.</p> * </blockquote> * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>10</p> */ public Builder pageSize(Integer pageSize) { this.putQueryParameter("PageSize", pageSize); this.pageSize = pageSize; return this; } @Override public DescribeSoarRecordActionOutputListRequest build() { return new DescribeSoarRecordActionOutputListRequest(this); } } }
0
java-sources/com/aliyun/alibabacloud-sophonsoar20220728/3.0.0/com/aliyun/sdk/service/sophonsoar20220728
java-sources/com/aliyun/alibabacloud-sophonsoar20220728/3.0.0/com/aliyun/sdk/service/sophonsoar20220728/models/DescribeSoarRecordActionOutputListResponse.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.sophonsoar20220728.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link DescribeSoarRecordActionOutputListResponse} extends {@link TeaModel} * * <p>DescribeSoarRecordActionOutputListResponse</p> */ public class DescribeSoarRecordActionOutputListResponse extends Response { @com.aliyun.core.annotation.NameInMap("headers") private java.util.Map<String, String> headers; @com.aliyun.core.annotation.NameInMap("statusCode") private Integer statusCode; @com.aliyun.core.annotation.NameInMap("body") private DescribeSoarRecordActionOutputListResponseBody body; private DescribeSoarRecordActionOutputListResponse(BuilderImpl builder) { super(builder); this.headers = builder.headers; this.statusCode = builder.statusCode; this.body = builder.body; } public static DescribeSoarRecordActionOutputListResponse create() { return new BuilderImpl().build(); } @Override public Builder toBuilder() { return new BuilderImpl(this); } /** * @return headers */ public java.util.Map<String, String> getHeaders() { return this.headers; } /** * @return statusCode */ public Integer getStatusCode() { return this.statusCode; } /** * @return body */ public DescribeSoarRecordActionOutputListResponseBody getBody() { return this.body; } public interface Builder extends Response.Builder<DescribeSoarRecordActionOutputListResponse, Builder> { Builder headers(java.util.Map<String, String> headers); Builder statusCode(Integer statusCode); Builder body(DescribeSoarRecordActionOutputListResponseBody body); @Override DescribeSoarRecordActionOutputListResponse build(); } private static final class BuilderImpl extends Response.BuilderImpl<DescribeSoarRecordActionOutputListResponse, Builder> implements Builder { private java.util.Map<String, String> headers; private Integer statusCode; private DescribeSoarRecordActionOutputListResponseBody body; private BuilderImpl() { super(); } private BuilderImpl(DescribeSoarRecordActionOutputListResponse response) { super(response); this.headers = response.headers; this.statusCode = response.statusCode; this.body = response.body; } /** * headers. */ @Override public Builder headers(java.util.Map<String, String> headers) { this.headers = headers; return this; } /** * statusCode. */ @Override public Builder statusCode(Integer statusCode) { this.statusCode = statusCode; return this; } /** * body. */ @Override public Builder body(DescribeSoarRecordActionOutputListResponseBody body) { this.body = body; return this; } @Override public DescribeSoarRecordActionOutputListResponse build() { return new DescribeSoarRecordActionOutputListResponse(this); } } }
0
java-sources/com/aliyun/alibabacloud-sophonsoar20220728/3.0.0/com/aliyun/sdk/service/sophonsoar20220728
java-sources/com/aliyun/alibabacloud-sophonsoar20220728/3.0.0/com/aliyun/sdk/service/sophonsoar20220728/models/DescribeSoarRecordActionOutputListResponseBody.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.sophonsoar20220728.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link DescribeSoarRecordActionOutputListResponseBody} extends {@link TeaModel} * * <p>DescribeSoarRecordActionOutputListResponseBody</p> */ public class DescribeSoarRecordActionOutputListResponseBody extends TeaModel { @com.aliyun.core.annotation.NameInMap("ActionOutputs") private String actionOutputs; @com.aliyun.core.annotation.NameInMap("PageNumber") private Integer pageNumber; @com.aliyun.core.annotation.NameInMap("PageSize") private Integer pageSize; @com.aliyun.core.annotation.NameInMap("RequestId") private String requestId; @com.aliyun.core.annotation.NameInMap("TotalCount") private Integer totalCount; private DescribeSoarRecordActionOutputListResponseBody(Builder builder) { this.actionOutputs = builder.actionOutputs; this.pageNumber = builder.pageNumber; this.pageSize = builder.pageSize; this.requestId = builder.requestId; this.totalCount = builder.totalCount; } public static Builder builder() { return new Builder(); } public static DescribeSoarRecordActionOutputListResponseBody create() { return builder().build(); } public Builder toBuilder() { return new Builder(this); } /** * @return actionOutputs */ public String getActionOutputs() { return this.actionOutputs; } /** * @return pageNumber */ public Integer getPageNumber() { return this.pageNumber; } /** * @return pageSize */ public Integer getPageSize() { return this.pageSize; } /** * @return requestId */ public String getRequestId() { return this.requestId; } /** * @return totalCount */ public Integer getTotalCount() { return this.totalCount; } public static final class Builder { private String actionOutputs; private Integer pageNumber; private Integer pageSize; private String requestId; private Integer totalCount; private Builder() { } private Builder(DescribeSoarRecordActionOutputListResponseBody model) { this.actionOutputs = model.actionOutputs; this.pageNumber = model.pageNumber; this.pageSize = model.pageSize; this.requestId = model.requestId; this.totalCount = model.totalCount; } /** * <p>The data that is returned when the component action is performed. The value is a JSON array.</p> * <blockquote> * <p> The format of the output data is determined by the component that is configured when the playbook is written.</p> * </blockquote> * * <strong>example:</strong> * <p>[ * { * &quot;a&quot;: &quot;a&quot;, * &quot;taskname&quot;: &quot;92af3c79-1754-4646-9366-9ddbd1e45536_xxxx&quot;, * &quot;log_time&quot;: 1699868849000 * } * ]</p> */ public Builder actionOutputs(String actionOutputs) { this.actionOutputs = actionOutputs; return this; } /** * <p>The page number. Default value: 1.</p> * * <strong>example:</strong> * <p>1</p> */ public Builder pageNumber(Integer pageNumber) { this.pageNumber = pageNumber; return this; } /** * <p>The number of entries per page. Default value: 10.</p> * * <strong>example:</strong> * <p>10</p> */ public Builder pageSize(Integer pageSize) { this.pageSize = pageSize; return this; } /** * <p>The request ID.</p> * * <strong>example:</strong> * <p>6A2BF9CF-3E32-5E45-A79B-8F67E0A4FE90</p> */ public Builder requestId(String requestId) { this.requestId = requestId; return this; } /** * <p>The total number of pages returned.</p> * * <strong>example:</strong> * <p>100</p> */ public Builder totalCount(Integer totalCount) { this.totalCount = totalCount; return this; } public DescribeSoarRecordActionOutputListResponseBody build() { return new DescribeSoarRecordActionOutputListResponseBody(this); } } }
0
java-sources/com/aliyun/alibabacloud-sophonsoar20220728/3.0.0/com/aliyun/sdk/service/sophonsoar20220728
java-sources/com/aliyun/alibabacloud-sophonsoar20220728/3.0.0/com/aliyun/sdk/service/sophonsoar20220728/models/DescribeSoarRecordInOutputRequest.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.sophonsoar20220728.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link DescribeSoarRecordInOutputRequest} extends {@link RequestModel} * * <p>DescribeSoarRecordInOutputRequest</p> */ public class DescribeSoarRecordInOutputRequest extends Request { @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("ActionUuid") @com.aliyun.core.annotation.Validation(required = true) private String actionUuid; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("Lang") private String lang; private DescribeSoarRecordInOutputRequest(Builder builder) { super(builder); this.actionUuid = builder.actionUuid; this.lang = builder.lang; } public static Builder builder() { return new Builder(); } public static DescribeSoarRecordInOutputRequest create() { return builder().build(); } @Override public Builder toBuilder() { return new Builder(this); } /** * @return actionUuid */ public String getActionUuid() { return this.actionUuid; } /** * @return lang */ public String getLang() { return this.lang; } public static final class Builder extends Request.Builder<DescribeSoarRecordInOutputRequest, Builder> { private String actionUuid; private String lang; private Builder() { super(); } private Builder(DescribeSoarRecordInOutputRequest request) { super(request); this.actionUuid = request.actionUuid; this.lang = request.lang; } /** * <p>The UUID of the component action.</p> * <blockquote> * <p> You can call the <a href="~~DescribeSoarTaskAndActions~~">DescribeSoarTaskAndActions</a> operation to query the UUIDs of component actions.</p> * </blockquote> * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>0531ff66-dd05-4f24-84bf-xxxxxxxx</p> */ public Builder actionUuid(String actionUuid) { this.putQueryParameter("ActionUuid", actionUuid); this.actionUuid = actionUuid; return this; } /** * <p>The language of the content within the request and the response. Valid values:</p> * <ul> * <li><strong>zh</strong> (default): Chinese</li> * <li><strong>en</strong>: English</li> * </ul> * * <strong>example:</strong> * <p>zh</p> */ public Builder lang(String lang) { this.putQueryParameter("Lang", lang); this.lang = lang; return this; } @Override public DescribeSoarRecordInOutputRequest build() { return new DescribeSoarRecordInOutputRequest(this); } } }
0
java-sources/com/aliyun/alibabacloud-sophonsoar20220728/3.0.0/com/aliyun/sdk/service/sophonsoar20220728
java-sources/com/aliyun/alibabacloud-sophonsoar20220728/3.0.0/com/aliyun/sdk/service/sophonsoar20220728/models/DescribeSoarRecordInOutputResponse.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.sophonsoar20220728.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link DescribeSoarRecordInOutputResponse} extends {@link TeaModel} * * <p>DescribeSoarRecordInOutputResponse</p> */ public class DescribeSoarRecordInOutputResponse extends Response { @com.aliyun.core.annotation.NameInMap("headers") private java.util.Map<String, String> headers; @com.aliyun.core.annotation.NameInMap("statusCode") private Integer statusCode; @com.aliyun.core.annotation.NameInMap("body") private DescribeSoarRecordInOutputResponseBody body; private DescribeSoarRecordInOutputResponse(BuilderImpl builder) { super(builder); this.headers = builder.headers; this.statusCode = builder.statusCode; this.body = builder.body; } public static DescribeSoarRecordInOutputResponse create() { return new BuilderImpl().build(); } @Override public Builder toBuilder() { return new BuilderImpl(this); } /** * @return headers */ public java.util.Map<String, String> getHeaders() { return this.headers; } /** * @return statusCode */ public Integer getStatusCode() { return this.statusCode; } /** * @return body */ public DescribeSoarRecordInOutputResponseBody getBody() { return this.body; } public interface Builder extends Response.Builder<DescribeSoarRecordInOutputResponse, Builder> { Builder headers(java.util.Map<String, String> headers); Builder statusCode(Integer statusCode); Builder body(DescribeSoarRecordInOutputResponseBody body); @Override DescribeSoarRecordInOutputResponse build(); } private static final class BuilderImpl extends Response.BuilderImpl<DescribeSoarRecordInOutputResponse, Builder> implements Builder { private java.util.Map<String, String> headers; private Integer statusCode; private DescribeSoarRecordInOutputResponseBody body; private BuilderImpl() { super(); } private BuilderImpl(DescribeSoarRecordInOutputResponse response) { super(response); this.headers = response.headers; this.statusCode = response.statusCode; this.body = response.body; } /** * headers. */ @Override public Builder headers(java.util.Map<String, String> headers) { this.headers = headers; return this; } /** * statusCode. */ @Override public Builder statusCode(Integer statusCode) { this.statusCode = statusCode; return this; } /** * body. */ @Override public Builder body(DescribeSoarRecordInOutputResponseBody body) { this.body = body; return this; } @Override public DescribeSoarRecordInOutputResponse build() { return new DescribeSoarRecordInOutputResponse(this); } } }
0
java-sources/com/aliyun/alibabacloud-sophonsoar20220728/3.0.0/com/aliyun/sdk/service/sophonsoar20220728
java-sources/com/aliyun/alibabacloud-sophonsoar20220728/3.0.0/com/aliyun/sdk/service/sophonsoar20220728/models/DescribeSoarRecordInOutputResponseBody.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.sophonsoar20220728.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link DescribeSoarRecordInOutputResponseBody} extends {@link TeaModel} * * <p>DescribeSoarRecordInOutputResponseBody</p> */ public class DescribeSoarRecordInOutputResponseBody extends TeaModel { @com.aliyun.core.annotation.NameInMap("InOutputInfo") private String inOutputInfo; @com.aliyun.core.annotation.NameInMap("RequestId") private String requestId; private DescribeSoarRecordInOutputResponseBody(Builder builder) { this.inOutputInfo = builder.inOutputInfo; this.requestId = builder.requestId; } public static Builder builder() { return new Builder(); } public static DescribeSoarRecordInOutputResponseBody create() { return builder().build(); } public Builder toBuilder() { return new Builder(this); } /** * @return inOutputInfo */ public String getInOutputInfo() { return this.inOutputInfo; } /** * @return requestId */ public String getRequestId() { return this.requestId; } public static final class Builder { private String inOutputInfo; private String requestId; private Builder() { } private Builder(DescribeSoarRecordInOutputResponseBody model) { this.inOutputInfo = model.inOutputInfo; this.requestId = model.requestId; } /** * <p>The execution result of the component action.</p> * * <strong>example:</strong> * <p>{ * &quot;actionUuid&quot;: &quot;3896a25d-4967-493c-942e-4e60f27da1f7-xxxxx&quot;, * &quot;outputSummary&quot;: { * &quot;datalist&quot;: [ * { * &quot;a&quot;: &quot;a&quot; * } * ], * &quot;total_data_successful&quot;: 1, * &quot;total_data&quot;: 1, * &quot;total_exe_successful&quot;: 1, * &quot;total_exe&quot;: 1, * &quot;total_data_with_dup&quot;: 1, * &quot;status&quot;: true * }, * &quot;outputSchema&quot;: { * &quot;a&quot;: &quot;String&quot;, * &quot;startTime&quot;: &quot;DateTime&quot; * }, * &quot;inputParams&quot;: { * &quot;inputData&quot;: [ * { * &quot;outputFields&quot;: { * &quot;a&quot;: &quot;a&quot; * } * } * ], * &quot;totalSize&quot;: 1 * }, * &quot;startTime&quot;: &quot;2023-11-13 17:47:28.645&quot;, * &quot;taskName&quot;: &quot;92af3c79-1754-4646-9366-9ddbxxxxx&quot; * }</p> */ public Builder inOutputInfo(String inOutputInfo) { this.inOutputInfo = inOutputInfo; return this; } /** * <p>The request ID.</p> * * <strong>example:</strong> * <p>372D8B41-AF8D-573A-9B3F-0924950F241F</p> */ public Builder requestId(String requestId) { this.requestId = requestId; return this; } public DescribeSoarRecordInOutputResponseBody build() { return new DescribeSoarRecordInOutputResponseBody(this); } } }
0
java-sources/com/aliyun/alibabacloud-sophonsoar20220728/3.0.0/com/aliyun/sdk/service/sophonsoar20220728
java-sources/com/aliyun/alibabacloud-sophonsoar20220728/3.0.0/com/aliyun/sdk/service/sophonsoar20220728/models/DescribeSoarRecordsRequest.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.sophonsoar20220728.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link DescribeSoarRecordsRequest} extends {@link RequestModel} * * <p>DescribeSoarRecordsRequest</p> */ public class DescribeSoarRecordsRequest extends Request { @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("EndMillis") private Long endMillis; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("Lang") private String lang; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("PageNumber") private Integer pageNumber; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("PageSize") private Integer pageSize; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("PlaybookUuid") @com.aliyun.core.annotation.Validation(required = true) private String playbookUuid; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("RequestUuid") private String requestUuid; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("StartMillis") private Long startMillis; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("TaskStatus") private String taskStatus; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("TaskflowMd5") private String taskflowMd5; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("TriggerUser") private String triggerUser; private DescribeSoarRecordsRequest(Builder builder) { super(builder); this.endMillis = builder.endMillis; this.lang = builder.lang; this.pageNumber = builder.pageNumber; this.pageSize = builder.pageSize; this.playbookUuid = builder.playbookUuid; this.requestUuid = builder.requestUuid; this.startMillis = builder.startMillis; this.taskStatus = builder.taskStatus; this.taskflowMd5 = builder.taskflowMd5; this.triggerUser = builder.triggerUser; } public static Builder builder() { return new Builder(); } public static DescribeSoarRecordsRequest create() { return builder().build(); } @Override public Builder toBuilder() { return new Builder(this); } /** * @return endMillis */ public Long getEndMillis() { return this.endMillis; } /** * @return lang */ public String getLang() { return this.lang; } /** * @return pageNumber */ public Integer getPageNumber() { return this.pageNumber; } /** * @return pageSize */ public Integer getPageSize() { return this.pageSize; } /** * @return playbookUuid */ public String getPlaybookUuid() { return this.playbookUuid; } /** * @return requestUuid */ public String getRequestUuid() { return this.requestUuid; } /** * @return startMillis */ public Long getStartMillis() { return this.startMillis; } /** * @return taskStatus */ public String getTaskStatus() { return this.taskStatus; } /** * @return taskflowMd5 */ public String getTaskflowMd5() { return this.taskflowMd5; } /** * @return triggerUser */ public String getTriggerUser() { return this.triggerUser; } public static final class Builder extends Request.Builder<DescribeSoarRecordsRequest, Builder> { private Long endMillis; private String lang; private Integer pageNumber; private Integer pageSize; private String playbookUuid; private String requestUuid; private Long startMillis; private String taskStatus; private String taskflowMd5; private String triggerUser; private Builder() { super(); } private Builder(DescribeSoarRecordsRequest request) { super(request); this.endMillis = request.endMillis; this.lang = request.lang; this.pageNumber = request.pageNumber; this.pageSize = request.pageSize; this.playbookUuid = request.playbookUuid; this.requestUuid = request.requestUuid; this.startMillis = request.startMillis; this.taskStatus = request.taskStatus; this.taskflowMd5 = request.taskflowMd5; this.triggerUser = request.triggerUser; } /** * <p>The end time of the task execution, in 13-digit timestamp format.</p> * * <strong>example:</strong> * <p>1683772744953</p> */ public Builder endMillis(Long endMillis) { this.putQueryParameter("EndMillis", endMillis); this.endMillis = endMillis; return this; } /** * <p>Set the language type for requests and received messages. The default is <strong>zh</strong>. Values:</p> * <ul> * <li><strong>zh</strong>: Chinese</li> * <li><strong>en</strong>: English</li> * </ul> * * <strong>example:</strong> * <p>zh</p> */ public Builder lang(String lang) { this.putQueryParameter("Lang", lang); this.lang = lang; return this; } /** * <p>Set which page to start displaying the query results from. The default value is 1, indicating the first page.</p> * * <strong>example:</strong> * <p>1</p> */ public Builder pageNumber(Integer pageNumber) { this.putQueryParameter("PageNumber", pageNumber); this.pageNumber = pageNumber; return this; } /** * <p>Specify the maximum number of data entries per page when performing a paginated query. The default number of entries per page is 20. If the PageSize parameter is empty, it will return 10 entries by default.</p> * <blockquote> * <p>It is recommended not to leave the PageSize value empty.</p> * </blockquote> * * <strong>example:</strong> * <p>10</p> */ public Builder pageSize(Integer pageSize) { this.putQueryParameter("PageSize", pageSize); this.pageSize = pageSize; return this; } /** * <p>The UUID of the playbook.</p> * <blockquote> * <p>You can obtain this parameter by calling the <a href="~~DescribePlaybooks~~">DescribePlaybooks</a> interface.</p> * </blockquote> * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>8f55e76d-b5d5-4720-9cd7-xxxxx</p> */ public Builder playbookUuid(String playbookUuid) { this.putQueryParameter("PlaybookUuid", playbookUuid); this.playbookUuid = playbookUuid; return this; } /** * <p>UUID of the playbook task execution.</p> * <blockquote> * <p>You can obtain this parameter by calling the <a href="https://help.aliyun.com/document_detail/2627455.html">DescribeSoarRecords</a> interface.</p> * </blockquote> * * <strong>example:</strong> * <p>6d412cfa-0905-4567-8a83-xxxxxx</p> */ public Builder requestUuid(String requestUuid) { this.putQueryParameter("RequestUuid", requestUuid); this.requestUuid = requestUuid; return this; } /** * <p>The start time of the task execution, in 13-digit timestamp format.</p> * * <strong>example:</strong> * <p>1683526284584</p> */ public Builder startMillis(Long startMillis) { this.putQueryParameter("StartMillis", startMillis); this.startMillis = startMillis; return this; } /** * <p>The status of the task execution. Values:</p> * <ul> * <li><strong>success</strong>: Successful task.</li> * <li><strong>failed</strong>: Failed task.</li> * <li><strong>inprogress</strong>: Task in progress</li> * </ul> * * <strong>example:</strong> * <p>inprogress</p> */ public Builder taskStatus(String taskStatus) { this.putQueryParameter("TaskStatus", taskStatus); this.taskStatus = taskStatus; return this; } /** * <p>The MD5 value of the playbook configuration.</p> * * <strong>example:</strong> * <p>be0a4ef084dd174abe478df52xxxxx</p> */ public Builder taskflowMd5(String taskflowMd5) { this.putQueryParameter("TaskflowMd5", taskflowMd5); this.taskflowMd5 = taskflowMd5; return this; } /** * <p>The Alibaba Cloud account ID that executed the playbook task.</p> * * <strong>example:</strong> * <p>127xxxx4392</p> */ public Builder triggerUser(String triggerUser) { this.putQueryParameter("TriggerUser", triggerUser); this.triggerUser = triggerUser; return this; } @Override public DescribeSoarRecordsRequest build() { return new DescribeSoarRecordsRequest(this); } } }
0
java-sources/com/aliyun/alibabacloud-sophonsoar20220728/3.0.0/com/aliyun/sdk/service/sophonsoar20220728
java-sources/com/aliyun/alibabacloud-sophonsoar20220728/3.0.0/com/aliyun/sdk/service/sophonsoar20220728/models/DescribeSoarRecordsResponse.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.sophonsoar20220728.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link DescribeSoarRecordsResponse} extends {@link TeaModel} * * <p>DescribeSoarRecordsResponse</p> */ public class DescribeSoarRecordsResponse extends Response { @com.aliyun.core.annotation.NameInMap("headers") private java.util.Map<String, String> headers; @com.aliyun.core.annotation.NameInMap("statusCode") private Integer statusCode; @com.aliyun.core.annotation.NameInMap("body") private DescribeSoarRecordsResponseBody body; private DescribeSoarRecordsResponse(BuilderImpl builder) { super(builder); this.headers = builder.headers; this.statusCode = builder.statusCode; this.body = builder.body; } public static DescribeSoarRecordsResponse create() { return new BuilderImpl().build(); } @Override public Builder toBuilder() { return new BuilderImpl(this); } /** * @return headers */ public java.util.Map<String, String> getHeaders() { return this.headers; } /** * @return statusCode */ public Integer getStatusCode() { return this.statusCode; } /** * @return body */ public DescribeSoarRecordsResponseBody getBody() { return this.body; } public interface Builder extends Response.Builder<DescribeSoarRecordsResponse, Builder> { Builder headers(java.util.Map<String, String> headers); Builder statusCode(Integer statusCode); Builder body(DescribeSoarRecordsResponseBody body); @Override DescribeSoarRecordsResponse build(); } private static final class BuilderImpl extends Response.BuilderImpl<DescribeSoarRecordsResponse, Builder> implements Builder { private java.util.Map<String, String> headers; private Integer statusCode; private DescribeSoarRecordsResponseBody body; private BuilderImpl() { super(); } private BuilderImpl(DescribeSoarRecordsResponse response) { super(response); this.headers = response.headers; this.statusCode = response.statusCode; this.body = response.body; } /** * headers. */ @Override public Builder headers(java.util.Map<String, String> headers) { this.headers = headers; return this; } /** * statusCode. */ @Override public Builder statusCode(Integer statusCode) { this.statusCode = statusCode; return this; } /** * body. */ @Override public Builder body(DescribeSoarRecordsResponseBody body) { this.body = body; return this; } @Override public DescribeSoarRecordsResponse build() { return new DescribeSoarRecordsResponse(this); } } }
0
java-sources/com/aliyun/alibabacloud-sophonsoar20220728/3.0.0/com/aliyun/sdk/service/sophonsoar20220728
java-sources/com/aliyun/alibabacloud-sophonsoar20220728/3.0.0/com/aliyun/sdk/service/sophonsoar20220728/models/DescribeSoarRecordsResponseBody.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.sophonsoar20220728.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link DescribeSoarRecordsResponseBody} extends {@link TeaModel} * * <p>DescribeSoarRecordsResponseBody</p> */ public class DescribeSoarRecordsResponseBody extends TeaModel { @com.aliyun.core.annotation.NameInMap("Page") @com.aliyun.core.annotation.Validation(required = true) private Page page; @com.aliyun.core.annotation.NameInMap("RequestId") private String requestId; @com.aliyun.core.annotation.NameInMap("SoarExecuteRecords") private java.util.List<SoarExecuteRecords> soarExecuteRecords; private DescribeSoarRecordsResponseBody(Builder builder) { this.page = builder.page; this.requestId = builder.requestId; this.soarExecuteRecords = builder.soarExecuteRecords; } public static Builder builder() { return new Builder(); } public static DescribeSoarRecordsResponseBody create() { return builder().build(); } public Builder toBuilder() { return new Builder(this); } /** * @return page */ public Page getPage() { return this.page; } /** * @return requestId */ public String getRequestId() { return this.requestId; } /** * @return soarExecuteRecords */ public java.util.List<SoarExecuteRecords> getSoarExecuteRecords() { return this.soarExecuteRecords; } public static final class Builder { private Page page; private String requestId; private java.util.List<SoarExecuteRecords> soarExecuteRecords; private Builder() { } private Builder(DescribeSoarRecordsResponseBody model) { this.page = model.page; this.requestId = model.requestId; this.soarExecuteRecords = model.soarExecuteRecords; } /** * <p>Information displayed on the page.</p> * <p>This parameter is required.</p> */ public Builder page(Page page) { this.page = page; return this; } /** * <p>The ID of the current request, generated by Alibaba Cloud as a unique identifier for the request, which can be used for troubleshooting and problem localization.</p> * * <strong>example:</strong> * <p>601C2DAC-6A67-5237-BEE8-5BF1CEE96296</p> */ public Builder requestId(String requestId) { this.requestId = requestId; return this; } /** * <p>Execution record result set.</p> */ public Builder soarExecuteRecords(java.util.List<SoarExecuteRecords> soarExecuteRecords) { this.soarExecuteRecords = soarExecuteRecords; return this; } public DescribeSoarRecordsResponseBody build() { return new DescribeSoarRecordsResponseBody(this); } } /** * * {@link DescribeSoarRecordsResponseBody} extends {@link TeaModel} * * <p>DescribeSoarRecordsResponseBody</p> */ public static class Page extends TeaModel { @com.aliyun.core.annotation.NameInMap("PageNumber") private Integer pageNumber; @com.aliyun.core.annotation.NameInMap("PageSize") private Integer pageSize; @com.aliyun.core.annotation.NameInMap("TotalCount") private Integer totalCount; private Page(Builder builder) { this.pageNumber = builder.pageNumber; this.pageSize = builder.pageSize; this.totalCount = builder.totalCount; } public static Builder builder() { return new Builder(); } public static Page create() { return builder().build(); } /** * @return pageNumber */ public Integer getPageNumber() { return this.pageNumber; } /** * @return pageSize */ public Integer getPageSize() { return this.pageSize; } /** * @return totalCount */ public Integer getTotalCount() { return this.totalCount; } public static final class Builder { private Integer pageNumber; private Integer pageSize; private Integer totalCount; private Builder() { } private Builder(Page model) { this.pageNumber = model.pageNumber; this.pageSize = model.pageSize; this.totalCount = model.totalCount; } /** * <p>The current page number in paginated queries.</p> * * <strong>example:</strong> * <p>1</p> */ public Builder pageNumber(Integer pageNumber) { this.pageNumber = pageNumber; return this; } /** * <p>The number of items per page in paginated queries.</p> * * <strong>example:</strong> * <p>10</p> */ public Builder pageSize(Integer pageSize) { this.pageSize = pageSize; return this; } /** * <p>The total number of queried items.</p> * * <strong>example:</strong> * <p>22</p> */ public Builder totalCount(Integer totalCount) { this.totalCount = totalCount; return this; } public Page build() { return new Page(this); } } } /** * * {@link DescribeSoarRecordsResponseBody} extends {@link TeaModel} * * <p>DescribeSoarRecordsResponseBody</p> */ public static class SoarExecuteRecords extends TeaModel { @com.aliyun.core.annotation.NameInMap("EndTime") private Long endTime; @com.aliyun.core.annotation.NameInMap("ErrorMsg") private String errorMsg; @com.aliyun.core.annotation.NameInMap("RawEventReq") private String rawEventReq; @com.aliyun.core.annotation.NameInMap("RequestUuid") private String requestUuid; @com.aliyun.core.annotation.NameInMap("ResultMessage") private String resultMessage; @com.aliyun.core.annotation.NameInMap("StartTime") private Long startTime; @com.aliyun.core.annotation.NameInMap("Status") private String status; @com.aliyun.core.annotation.NameInMap("TaskName") private String taskName; @com.aliyun.core.annotation.NameInMap("TaskType") private String taskType; @com.aliyun.core.annotation.NameInMap("TaskflowMd5") private String taskflowMd5; @com.aliyun.core.annotation.NameInMap("TriggerType") private String triggerType; @com.aliyun.core.annotation.NameInMap("TriggerUser") private String triggerUser; private SoarExecuteRecords(Builder builder) { this.endTime = builder.endTime; this.errorMsg = builder.errorMsg; this.rawEventReq = builder.rawEventReq; this.requestUuid = builder.requestUuid; this.resultMessage = builder.resultMessage; this.startTime = builder.startTime; this.status = builder.status; this.taskName = builder.taskName; this.taskType = builder.taskType; this.taskflowMd5 = builder.taskflowMd5; this.triggerType = builder.triggerType; this.triggerUser = builder.triggerUser; } public static Builder builder() { return new Builder(); } public static SoarExecuteRecords create() { return builder().build(); } /** * @return endTime */ public Long getEndTime() { return this.endTime; } /** * @return errorMsg */ public String getErrorMsg() { return this.errorMsg; } /** * @return rawEventReq */ public String getRawEventReq() { return this.rawEventReq; } /** * @return requestUuid */ public String getRequestUuid() { return this.requestUuid; } /** * @return resultMessage */ public String getResultMessage() { return this.resultMessage; } /** * @return startTime */ public Long getStartTime() { return this.startTime; } /** * @return status */ public String getStatus() { return this.status; } /** * @return taskName */ public String getTaskName() { return this.taskName; } /** * @return taskType */ public String getTaskType() { return this.taskType; } /** * @return taskflowMd5 */ public String getTaskflowMd5() { return this.taskflowMd5; } /** * @return triggerType */ public String getTriggerType() { return this.triggerType; } /** * @return triggerUser */ public String getTriggerUser() { return this.triggerUser; } public static final class Builder { private Long endTime; private String errorMsg; private String rawEventReq; private String requestUuid; private String resultMessage; private Long startTime; private String status; private String taskName; private String taskType; private String taskflowMd5; private String triggerType; private String triggerUser; private Builder() { } private Builder(SoarExecuteRecords model) { this.endTime = model.endTime; this.errorMsg = model.errorMsg; this.rawEventReq = model.rawEventReq; this.requestUuid = model.requestUuid; this.resultMessage = model.resultMessage; this.startTime = model.startTime; this.status = model.status; this.taskName = model.taskName; this.taskType = model.taskType; this.taskflowMd5 = model.taskflowMd5; this.triggerType = model.triggerType; this.triggerUser = model.triggerUser; } /** * <p>The end time of the component execution, in 13-digit timestamp format.</p> * * <strong>example:</strong> * <p>1686294686000</p> */ public Builder endTime(Long endTime) { this.endTime = endTime; return this; } /** * <p>The error message of the playbook task. This field is empty when the task succeeds.</p> * * <strong>example:</strong> * <p>stime not match</p> */ public Builder errorMsg(String errorMsg) { this.errorMsg = errorMsg; return this; } /** * <p>The request parameters of the playbook task.</p> * * <strong>example:</strong> * <p>{ * &quot;input1&quot;: &quot;xx.xx.xx.xx&quot;, * &quot;input2&quot;: &quot;7d&quot; * }</p> */ public Builder rawEventReq(String rawEventReq) { this.rawEventReq = rawEventReq; return this; } /** * <p>The request ID of the playbook task, a unique ID for each task run.</p> * * <strong>example:</strong> * <p>ba1ec480-aa90-4bb6-a1a7-9e311ae79321</p> */ public Builder requestUuid(String requestUuid) { this.requestUuid = requestUuid; return this; } /** * <p>The return information of the playbook, defined by the user within the playbook.</p> * * <strong>example:</strong> * <p>Playbook finish</p> */ public Builder resultMessage(String resultMessage) { this.resultMessage = resultMessage; return this; } /** * <p>The start time of the task execution, in 13-digit timestamp format.</p> * * <strong>example:</strong> * <p>1675823338433</p> */ public Builder startTime(Long startTime) { this.startTime = startTime; return this; } /** * <p>The status of the playbook task. Values:</p> * <ul> * <li><strong>success</strong>: Indicates successful execution.</li> * <li><strong>fail</strong>: Indicates failed execution.</li> * <li><strong>running</strong>: Indicates the task is running</li> * </ul> * * <strong>example:</strong> * <p>success</p> */ public Builder status(String status) { this.status = status; return this; } /** * <p>The name of the playbook task, which is the same as the playbook&quot;s UUID.</p> * * <strong>example:</strong> * <p>82848ebc-eaff-4791-acd4-xxxxx</p> */ public Builder taskName(String taskName) { this.taskName = taskName; return this; } /** * <p>The type of the playbook task, with values:</p> * <ul> * <li><strong>general</strong>: Represents a general playbook task.</li> * <li><strong>standard</strong>: Represents a component execution task.</li> * </ul> * * <strong>example:</strong> * <p>standard</p> */ public Builder taskType(String taskType) { this.taskType = taskType; return this; } /** * <p>The MD5 value of the playbook configuration.</p> * * <strong>example:</strong> * <p>dea65a3db87fb9bd84bbxxxxx</p> */ public Builder taskflowMd5(String taskflowMd5) { this.taskflowMd5 = taskflowMd5; return this; } /** * <p>The type of the playbook task. Values:</p> * <ul> * <li><strong>debug</strong>: Indicates a debugging task.</li> * <li><strong>manual</strong>: Indicates a manual task.</li> * <li><strong>siem</strong>: Indicates a task triggered by an event or alert.</li> * </ul> * * <strong>example:</strong> * <p>debug</p> */ public Builder triggerType(String triggerType) { this.triggerType = triggerType; return this; } /** * <p>The Alibaba Cloud account ID that executes the playbook task.</p> * * <strong>example:</strong> * <p>127xxxx4392</p> */ public Builder triggerUser(String triggerUser) { this.triggerUser = triggerUser; return this; } public SoarExecuteRecords build() { return new SoarExecuteRecords(this); } } } }
0
java-sources/com/aliyun/alibabacloud-sophonsoar20220728/3.0.0/com/aliyun/sdk/service/sophonsoar20220728
java-sources/com/aliyun/alibabacloud-sophonsoar20220728/3.0.0/com/aliyun/sdk/service/sophonsoar20220728/models/DescribeSoarTaskAndActionsRequest.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.sophonsoar20220728.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link DescribeSoarTaskAndActionsRequest} extends {@link RequestModel} * * <p>DescribeSoarTaskAndActionsRequest</p> */ public class DescribeSoarTaskAndActionsRequest extends Request { @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("Lang") private String lang; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("RequestUuid") private String requestUuid; private DescribeSoarTaskAndActionsRequest(Builder builder) { super(builder); this.lang = builder.lang; this.requestUuid = builder.requestUuid; } public static Builder builder() { return new Builder(); } public static DescribeSoarTaskAndActionsRequest create() { return builder().build(); } @Override public Builder toBuilder() { return new Builder(this); } /** * @return lang */ public String getLang() { return this.lang; } /** * @return requestUuid */ public String getRequestUuid() { return this.requestUuid; } public static final class Builder extends Request.Builder<DescribeSoarTaskAndActionsRequest, Builder> { private String lang; private String requestUuid; private Builder() { super(); } private Builder(DescribeSoarTaskAndActionsRequest request) { super(request); this.lang = request.lang; this.requestUuid = request.requestUuid; } /** * <p>The language of the content within the request and response.</p> * <ul> * <li><strong>zh</strong>: Chinese (default)</li> * <li><strong>en</strong>: English</li> * </ul> * * <strong>example:</strong> * <p>zh</p> */ public Builder lang(String lang) { this.putQueryParameter("Lang", lang); this.lang = lang; return this; } /** * <p>The playbook UUID.</p> * * <strong>example:</strong> * <p>1077f2f9-25e8-42d9-bfdf-1528e1313f6d</p> */ public Builder requestUuid(String requestUuid) { this.putQueryParameter("RequestUuid", requestUuid); this.requestUuid = requestUuid; return this; } @Override public DescribeSoarTaskAndActionsRequest build() { return new DescribeSoarTaskAndActionsRequest(this); } } }
0
java-sources/com/aliyun/alibabacloud-sophonsoar20220728/3.0.0/com/aliyun/sdk/service/sophonsoar20220728
java-sources/com/aliyun/alibabacloud-sophonsoar20220728/3.0.0/com/aliyun/sdk/service/sophonsoar20220728/models/DescribeSoarTaskAndActionsResponse.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.sophonsoar20220728.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link DescribeSoarTaskAndActionsResponse} extends {@link TeaModel} * * <p>DescribeSoarTaskAndActionsResponse</p> */ public class DescribeSoarTaskAndActionsResponse extends Response { @com.aliyun.core.annotation.NameInMap("headers") private java.util.Map<String, String> headers; @com.aliyun.core.annotation.NameInMap("statusCode") private Integer statusCode; @com.aliyun.core.annotation.NameInMap("body") private DescribeSoarTaskAndActionsResponseBody body; private DescribeSoarTaskAndActionsResponse(BuilderImpl builder) { super(builder); this.headers = builder.headers; this.statusCode = builder.statusCode; this.body = builder.body; } public static DescribeSoarTaskAndActionsResponse create() { return new BuilderImpl().build(); } @Override public Builder toBuilder() { return new BuilderImpl(this); } /** * @return headers */ public java.util.Map<String, String> getHeaders() { return this.headers; } /** * @return statusCode */ public Integer getStatusCode() { return this.statusCode; } /** * @return body */ public DescribeSoarTaskAndActionsResponseBody getBody() { return this.body; } public interface Builder extends Response.Builder<DescribeSoarTaskAndActionsResponse, Builder> { Builder headers(java.util.Map<String, String> headers); Builder statusCode(Integer statusCode); Builder body(DescribeSoarTaskAndActionsResponseBody body); @Override DescribeSoarTaskAndActionsResponse build(); } private static final class BuilderImpl extends Response.BuilderImpl<DescribeSoarTaskAndActionsResponse, Builder> implements Builder { private java.util.Map<String, String> headers; private Integer statusCode; private DescribeSoarTaskAndActionsResponseBody body; private BuilderImpl() { super(); } private BuilderImpl(DescribeSoarTaskAndActionsResponse response) { super(response); this.headers = response.headers; this.statusCode = response.statusCode; this.body = response.body; } /** * headers. */ @Override public Builder headers(java.util.Map<String, String> headers) { this.headers = headers; return this; } /** * statusCode. */ @Override public Builder statusCode(Integer statusCode) { this.statusCode = statusCode; return this; } /** * body. */ @Override public Builder body(DescribeSoarTaskAndActionsResponseBody body) { this.body = body; return this; } @Override public DescribeSoarTaskAndActionsResponse build() { return new DescribeSoarTaskAndActionsResponse(this); } } }
0
java-sources/com/aliyun/alibabacloud-sophonsoar20220728/3.0.0/com/aliyun/sdk/service/sophonsoar20220728
java-sources/com/aliyun/alibabacloud-sophonsoar20220728/3.0.0/com/aliyun/sdk/service/sophonsoar20220728/models/DescribeSoarTaskAndActionsResponseBody.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.sophonsoar20220728.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link DescribeSoarTaskAndActionsResponseBody} extends {@link TeaModel} * * <p>DescribeSoarTaskAndActionsResponseBody</p> */ public class DescribeSoarTaskAndActionsResponseBody extends TeaModel { @com.aliyun.core.annotation.NameInMap("Details") private Details details; @com.aliyun.core.annotation.NameInMap("RequestId") private String requestId; private DescribeSoarTaskAndActionsResponseBody(Builder builder) { this.details = builder.details; this.requestId = builder.requestId; } public static Builder builder() { return new Builder(); } public static DescribeSoarTaskAndActionsResponseBody create() { return builder().build(); } public Builder toBuilder() { return new Builder(this); } /** * @return details */ public Details getDetails() { return this.details; } /** * @return requestId */ public String getRequestId() { return this.requestId; } public static final class Builder { private Details details; private String requestId; private Builder() { } private Builder(DescribeSoarTaskAndActionsResponseBody model) { this.details = model.details; this.requestId = model.requestId; } /** * <p>The execution details of each task.</p> */ public Builder details(Details details) { this.details = details; return this; } /** * <p>The request ID.</p> * * <strong>example:</strong> * <p>18017A93-3D5D-503A-8308-914543F1CBA3</p> */ public Builder requestId(String requestId) { this.requestId = requestId; return this; } public DescribeSoarTaskAndActionsResponseBody build() { return new DescribeSoarTaskAndActionsResponseBody(this); } } /** * * {@link DescribeSoarTaskAndActionsResponseBody} extends {@link TeaModel} * * <p>DescribeSoarTaskAndActionsResponseBody</p> */ public static class Actions extends TeaModel { @com.aliyun.core.annotation.NameInMap("Action") private String action; @com.aliyun.core.annotation.NameInMap("ActionUuid") private String actionUuid; @com.aliyun.core.annotation.NameInMap("AssetName") private String assetName; @com.aliyun.core.annotation.NameInMap("Component") private String component; @com.aliyun.core.annotation.NameInMap("EndTime") private Long endTime; @com.aliyun.core.annotation.NameInMap("NodeName") private String nodeName; @com.aliyun.core.annotation.NameInMap("RequestUuid") private String requestUuid; @com.aliyun.core.annotation.NameInMap("StartTime") private Long startTime; @com.aliyun.core.annotation.NameInMap("Status") private String status; @com.aliyun.core.annotation.NameInMap("TaskName") private String taskName; @com.aliyun.core.annotation.NameInMap("TaskStatus") private String taskStatus; @com.aliyun.core.annotation.NameInMap("TriggerUser") private String triggerUser; private Actions(Builder builder) { this.action = builder.action; this.actionUuid = builder.actionUuid; this.assetName = builder.assetName; this.component = builder.component; this.endTime = builder.endTime; this.nodeName = builder.nodeName; this.requestUuid = builder.requestUuid; this.startTime = builder.startTime; this.status = builder.status; this.taskName = builder.taskName; this.taskStatus = builder.taskStatus; this.triggerUser = builder.triggerUser; } public static Builder builder() { return new Builder(); } public static Actions create() { return builder().build(); } /** * @return action */ public String getAction() { return this.action; } /** * @return actionUuid */ public String getActionUuid() { return this.actionUuid; } /** * @return assetName */ public String getAssetName() { return this.assetName; } /** * @return component */ public String getComponent() { return this.component; } /** * @return endTime */ public Long getEndTime() { return this.endTime; } /** * @return nodeName */ public String getNodeName() { return this.nodeName; } /** * @return requestUuid */ public String getRequestUuid() { return this.requestUuid; } /** * @return startTime */ public Long getStartTime() { return this.startTime; } /** * @return status */ public String getStatus() { return this.status; } /** * @return taskName */ public String getTaskName() { return this.taskName; } /** * @return taskStatus */ public String getTaskStatus() { return this.taskStatus; } /** * @return triggerUser */ public String getTriggerUser() { return this.triggerUser; } public static final class Builder { private String action; private String actionUuid; private String assetName; private String component; private Long endTime; private String nodeName; private String requestUuid; private Long startTime; private String status; private String taskName; private String taskStatus; private String triggerUser; private Builder() { } private Builder(Actions model) { this.action = model.action; this.actionUuid = model.actionUuid; this.assetName = model.assetName; this.component = model.component; this.endTime = model.endTime; this.nodeName = model.nodeName; this.requestUuid = model.requestUuid; this.startTime = model.startTime; this.status = model.status; this.taskName = model.taskName; this.taskStatus = model.taskStatus; this.triggerUser = model.triggerUser; } /** * <p>The action name of the component.</p> * * <strong>example:</strong> * <p>formatdata</p> */ public Builder action(String action) { this.action = action; return this; } /** * <p>The UUID of the component execution record.</p> * * <strong>example:</strong> * <p>091be399-a937-4276-af78-xxxxxxxx</p> */ public Builder actionUuid(String actionUuid) { this.actionUuid = actionUuid; return this; } /** * <p>The name of the asset that is used by the component.</p> * * <strong>example:</strong> * <p>SLS Asset</p> */ public Builder assetName(String assetName) { this.assetName = assetName; return this; } /** * <p>The component name.</p> * * <strong>example:</strong> * <p>DataFormat</p> */ public Builder component(String component) { this.component = component; return this; } /** * <p>The end of the time range during which the component is run. The value is a 13-digit timestamp.</p> * * <strong>example:</strong> * <p>1699868848766</p> */ public Builder endTime(Long endTime) { this.endTime = endTime; return this; } /** * <p>The custom name of the node in the component.</p> * * <strong>example:</strong> * <p>DataFormat_1</p> */ public Builder nodeName(String nodeName) { this.nodeName = nodeName; return this; } /** * <p>The request ID of the task. The value is unique.</p> * * <strong>example:</strong> * <p>8dac16c6-7411-4116-8d70-xxxxxxx</p> */ public Builder requestUuid(String requestUuid) { this.requestUuid = requestUuid; return this; } /** * <p>The beginning of the time range during which the component is run. The value is a 13-digit timestamp.</p> * * <strong>example:</strong> * <p>1699868848731</p> */ public Builder startTime(Long startTime) { this.startTime = startTime; return this; } /** * <p>The running result of the component. Valid values:</p> * <ul> * <li><strong>success</strong></li> * <li><strong>fail</strong></li> * </ul> * * <strong>example:</strong> * <p>success</p> */ public Builder status(String status) { this.status = status; return this; } /** * <p>The name of the task. The value is the same as the playbook UUID.</p> * * <strong>example:</strong> * <p>ed127287-6699-4e4d-b986-xxxxxxx</p> */ public Builder taskName(String taskName) { this.taskName = taskName; return this; } /** * <p>The status of the triggered component action.</p> * <blockquote> * <p> This parameter is disabled and left empty.</p> * </blockquote> * * <strong>example:</strong> * <p>NULL</p> */ public Builder taskStatus(String taskStatus) { this.taskStatus = taskStatus; return this; } /** * <p>The ID of the Alibaba Cloud account that is used to execute the task.</p> * * <strong>example:</strong> * <p>127xxxx4392</p> */ public Builder triggerUser(String triggerUser) { this.triggerUser = triggerUser; return this; } public Actions build() { return new Actions(this); } } } /** * * {@link DescribeSoarTaskAndActionsResponseBody} extends {@link TeaModel} * * <p>DescribeSoarTaskAndActionsResponseBody</p> */ public static class Details extends TeaModel { @com.aliyun.core.annotation.NameInMap("Actions") private java.util.List<Actions> actions; @com.aliyun.core.annotation.NameInMap("EndTime") private Long endTime; @com.aliyun.core.annotation.NameInMap("ErrorMsg") private String errorMsg; @com.aliyun.core.annotation.NameInMap("RawEventReq") private String rawEventReq; @com.aliyun.core.annotation.NameInMap("RequestUuid") private String requestUuid; @com.aliyun.core.annotation.NameInMap("ResultLevel") private String resultLevel; @com.aliyun.core.annotation.NameInMap("ResultMessage") private String resultMessage; @com.aliyun.core.annotation.NameInMap("StartTime") private Long startTime; @com.aliyun.core.annotation.NameInMap("Status") private String status; @com.aliyun.core.annotation.NameInMap("TaskFlowMd5") private String taskFlowMd5; @com.aliyun.core.annotation.NameInMap("TaskName") private String taskName; @com.aliyun.core.annotation.NameInMap("TaskTenantId") private String taskTenantId; @com.aliyun.core.annotation.NameInMap("TriggerType") private String triggerType; @com.aliyun.core.annotation.NameInMap("TriggerUser") private String triggerUser; private Details(Builder builder) { this.actions = builder.actions; this.endTime = builder.endTime; this.errorMsg = builder.errorMsg; this.rawEventReq = builder.rawEventReq; this.requestUuid = builder.requestUuid; this.resultLevel = builder.resultLevel; this.resultMessage = builder.resultMessage; this.startTime = builder.startTime; this.status = builder.status; this.taskFlowMd5 = builder.taskFlowMd5; this.taskName = builder.taskName; this.taskTenantId = builder.taskTenantId; this.triggerType = builder.triggerType; this.triggerUser = builder.triggerUser; } public static Builder builder() { return new Builder(); } public static Details create() { return builder().build(); } /** * @return actions */ public java.util.List<Actions> getActions() { return this.actions; } /** * @return endTime */ public Long getEndTime() { return this.endTime; } /** * @return errorMsg */ public String getErrorMsg() { return this.errorMsg; } /** * @return rawEventReq */ public String getRawEventReq() { return this.rawEventReq; } /** * @return requestUuid */ public String getRequestUuid() { return this.requestUuid; } /** * @return resultLevel */ public String getResultLevel() { return this.resultLevel; } /** * @return resultMessage */ public String getResultMessage() { return this.resultMessage; } /** * @return startTime */ public Long getStartTime() { return this.startTime; } /** * @return status */ public String getStatus() { return this.status; } /** * @return taskFlowMd5 */ public String getTaskFlowMd5() { return this.taskFlowMd5; } /** * @return taskName */ public String getTaskName() { return this.taskName; } /** * @return taskTenantId */ public String getTaskTenantId() { return this.taskTenantId; } /** * @return triggerType */ public String getTriggerType() { return this.triggerType; } /** * @return triggerUser */ public String getTriggerUser() { return this.triggerUser; } public static final class Builder { private java.util.List<Actions> actions; private Long endTime; private String errorMsg; private String rawEventReq; private String requestUuid; private String resultLevel; private String resultMessage; private Long startTime; private String status; private String taskFlowMd5; private String taskName; private String taskTenantId; private String triggerType; private String triggerUser; private Builder() { } private Builder(Details model) { this.actions = model.actions; this.endTime = model.endTime; this.errorMsg = model.errorMsg; this.rawEventReq = model.rawEventReq; this.requestUuid = model.requestUuid; this.resultLevel = model.resultLevel; this.resultMessage = model.resultMessage; this.startTime = model.startTime; this.status = model.status; this.taskFlowMd5 = model.taskFlowMd5; this.taskName = model.taskName; this.taskTenantId = model.taskTenantId; this.triggerType = model.triggerType; this.triggerUser = model.triggerUser; } /** * <p>The list of component actions during the running of the playbook.</p> */ public Builder actions(java.util.List<Actions> actions) { this.actions = actions; return this; } /** * <p>The end of the time range during which the playbook is run. The value is a 13-digit timestamp.</p> * * <strong>example:</strong> * <p>1699868848767</p> */ public Builder endTime(Long endTime) { this.endTime = endTime; return this; } /** * <p>The error message of the task. If the task is successful, this field is empty.</p> * * <strong>example:</strong> * <p>stime not match</p> */ public Builder errorMsg(String errorMsg) { this.errorMsg = errorMsg; return this; } /** * <p>The request parameters of the task.</p> * * <strong>example:</strong> * <p>{ * &quot;input1&quot;: &quot;xx.xx.xx.xx&quot;, * &quot;input2&quot;: &quot;7d&quot; * }</p> */ public Builder rawEventReq(String rawEventReq) { this.rawEventReq = rawEventReq; return this; } /** * <p>The request ID of the task. The value is unique.</p> * * <strong>example:</strong> * <p>17f75844-75cc-4174-86da-cec07a690142</p> */ public Builder requestUuid(String requestUuid) { this.requestUuid = requestUuid; return this; } /** * <p>The flag of the task. For debugging tasks, the value is <strong>DEBUG</strong>. For other tasks, the parameter is left empty.</p> * * <strong>example:</strong> * <p>DEBUG</p> */ public Builder resultLevel(String resultLevel) { this.resultLevel = resultLevel; return this; } /** * <p>The returned information about the playbook. You can define the value in the playbook.</p> * * <strong>example:</strong> * <p>deubug playbook finished</p> */ public Builder resultMessage(String resultMessage) { this.resultMessage = resultMessage; return this; } /** * <p>The beginning of the time range during which the playbook is run. The value is a 13-digit timestamp.</p> * * <strong>example:</strong> * <p>1699868848645</p> */ public Builder startTime(Long startTime) { this.startTime = startTime; return this; } /** * <p>The task status. Valid values:</p> * <ul> * <li><strong>success</strong></li> * <li><strong>fail</strong></li> * <li><strong>running</strong></li> * </ul> * * <strong>example:</strong> * <p>success</p> */ public Builder status(String status) { this.status = status; return this; } /** * <p>The MD5 value of the playbook.</p> * * <strong>example:</strong> * <p>ed127287-6699-4e4d-b986-9f770879xxx</p> */ public Builder taskFlowMd5(String taskFlowMd5) { this.taskFlowMd5 = taskFlowMd5; return this; } /** * <p>The name of the task. The value is the same as the playbook UUID.</p> * * <strong>example:</strong> * <p>92af3c79-1754-4646-9366-9ddbd1e45536</p> */ public Builder taskName(String taskName) { this.taskName = taskName; return this; } /** * <p>The ID of the Alibaba Cloud account to which the task belongs.</p> * * <strong>example:</strong> * <p>127xxxx4392</p> */ public Builder taskTenantId(String taskTenantId) { this.taskTenantId = taskTenantId; return this; } /** * <p>The task type. Valid values:</p> * <ul> * <li><strong>debug</strong>: a debugging task</li> * <li><strong>manual</strong>: a manual task</li> * <li><strong>siem</strong>: an event-triggered task</li> * </ul> * * <strong>example:</strong> * <p>siem</p> */ public Builder triggerType(String triggerType) { this.triggerType = triggerType; return this; } /** * <p>The ID of the Alibaba Cloud account that triggers the task.</p> * * <strong>example:</strong> * <p>127xxxx4392</p> */ public Builder triggerUser(String triggerUser) { this.triggerUser = triggerUser; return this; } public Details build() { return new Details(this); } } } }
0
java-sources/com/aliyun/alibabacloud-sophonsoar20220728/3.0.0/com/aliyun/sdk/service/sophonsoar20220728
java-sources/com/aliyun/alibabacloud-sophonsoar20220728/3.0.0/com/aliyun/sdk/service/sophonsoar20220728/models/DescribeSophonCommandsRequest.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.sophonsoar20220728.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link DescribeSophonCommandsRequest} extends {@link RequestModel} * * <p>DescribeSophonCommandsRequest</p> */ public class DescribeSophonCommandsRequest extends Request { @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("Name") private String name; private DescribeSophonCommandsRequest(Builder builder) { super(builder); this.name = builder.name; } public static Builder builder() { return new Builder(); } public static DescribeSophonCommandsRequest create() { return builder().build(); } @Override public Builder toBuilder() { return new Builder(this); } /** * @return name */ public String getName() { return this.name; } public static final class Builder extends Request.Builder<DescribeSophonCommandsRequest, Builder> { private String name; private Builder() { super(); } private Builder(DescribeSophonCommandsRequest request) { super(request); this.name = request.name; } /** * <p>The name of the command. Fuzzy match is supported.</p> * * <strong>example:</strong> * <p>waf_process</p> */ public Builder name(String name) { this.putQueryParameter("Name", name); this.name = name; return this; } @Override public DescribeSophonCommandsRequest build() { return new DescribeSophonCommandsRequest(this); } } }
0
java-sources/com/aliyun/alibabacloud-sophonsoar20220728/3.0.0/com/aliyun/sdk/service/sophonsoar20220728
java-sources/com/aliyun/alibabacloud-sophonsoar20220728/3.0.0/com/aliyun/sdk/service/sophonsoar20220728/models/DescribeSophonCommandsResponse.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.sophonsoar20220728.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link DescribeSophonCommandsResponse} extends {@link TeaModel} * * <p>DescribeSophonCommandsResponse</p> */ public class DescribeSophonCommandsResponse extends Response { @com.aliyun.core.annotation.NameInMap("headers") private java.util.Map<String, String> headers; @com.aliyun.core.annotation.NameInMap("statusCode") private Integer statusCode; @com.aliyun.core.annotation.NameInMap("body") private DescribeSophonCommandsResponseBody body; private DescribeSophonCommandsResponse(BuilderImpl builder) { super(builder); this.headers = builder.headers; this.statusCode = builder.statusCode; this.body = builder.body; } public static DescribeSophonCommandsResponse create() { return new BuilderImpl().build(); } @Override public Builder toBuilder() { return new BuilderImpl(this); } /** * @return headers */ public java.util.Map<String, String> getHeaders() { return this.headers; } /** * @return statusCode */ public Integer getStatusCode() { return this.statusCode; } /** * @return body */ public DescribeSophonCommandsResponseBody getBody() { return this.body; } public interface Builder extends Response.Builder<DescribeSophonCommandsResponse, Builder> { Builder headers(java.util.Map<String, String> headers); Builder statusCode(Integer statusCode); Builder body(DescribeSophonCommandsResponseBody body); @Override DescribeSophonCommandsResponse build(); } private static final class BuilderImpl extends Response.BuilderImpl<DescribeSophonCommandsResponse, Builder> implements Builder { private java.util.Map<String, String> headers; private Integer statusCode; private DescribeSophonCommandsResponseBody body; private BuilderImpl() { super(); } private BuilderImpl(DescribeSophonCommandsResponse response) { super(response); this.headers = response.headers; this.statusCode = response.statusCode; this.body = response.body; } /** * headers. */ @Override public Builder headers(java.util.Map<String, String> headers) { this.headers = headers; return this; } /** * statusCode. */ @Override public Builder statusCode(Integer statusCode) { this.statusCode = statusCode; return this; } /** * body. */ @Override public Builder body(DescribeSophonCommandsResponseBody body) { this.body = body; return this; } @Override public DescribeSophonCommandsResponse build() { return new DescribeSophonCommandsResponse(this); } } }
0
java-sources/com/aliyun/alibabacloud-sophonsoar20220728/3.0.0/com/aliyun/sdk/service/sophonsoar20220728
java-sources/com/aliyun/alibabacloud-sophonsoar20220728/3.0.0/com/aliyun/sdk/service/sophonsoar20220728/models/DescribeSophonCommandsResponseBody.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.sophonsoar20220728.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link DescribeSophonCommandsResponseBody} extends {@link TeaModel} * * <p>DescribeSophonCommandsResponseBody</p> */ public class DescribeSophonCommandsResponseBody extends TeaModel { @com.aliyun.core.annotation.NameInMap("Data") private java.util.List<Data> data; @com.aliyun.core.annotation.NameInMap("RequestId") private String requestId; private DescribeSophonCommandsResponseBody(Builder builder) { this.data = builder.data; this.requestId = builder.requestId; } public static Builder builder() { return new Builder(); } public static DescribeSophonCommandsResponseBody create() { return builder().build(); } public Builder toBuilder() { return new Builder(this); } /** * @return data */ public java.util.List<Data> getData() { return this.data; } /** * @return requestId */ public String getRequestId() { return this.requestId; } public static final class Builder { private java.util.List<Data> data; private String requestId; private Builder() { } private Builder(DescribeSophonCommandsResponseBody model) { this.data = model.data; this.requestId = model.requestId; } /** * <p>The commands.</p> */ public Builder data(java.util.List<Data> data) { this.data = data; return this; } /** * <p>The request ID.</p> * * <strong>example:</strong> * <p>1E1EC464-3BD7-518F-9937-BCC12E6855FE</p> */ public Builder requestId(String requestId) { this.requestId = requestId; return this; } public DescribeSophonCommandsResponseBody build() { return new DescribeSophonCommandsResponseBody(this); } } /** * * {@link DescribeSophonCommandsResponseBody} extends {@link TeaModel} * * <p>DescribeSophonCommandsResponseBody</p> */ public static class ParamConfig extends TeaModel { @com.aliyun.core.annotation.NameInMap("CheckField") private String checkField; @com.aliyun.core.annotation.NameInMap("Field") private String field; @com.aliyun.core.annotation.NameInMap("Necessary") private Boolean necessary; @com.aliyun.core.annotation.NameInMap("Value") private String value; private ParamConfig(Builder builder) { this.checkField = builder.checkField; this.field = builder.field; this.necessary = builder.necessary; this.value = builder.value; } public static Builder builder() { return new Builder(); } public static ParamConfig create() { return builder().build(); } /** * @return checkField */ public String getCheckField() { return this.checkField; } /** * @return field */ public String getField() { return this.field; } /** * @return necessary */ public Boolean getNecessary() { return this.necessary; } /** * @return value */ public String getValue() { return this.value; } public static final class Builder { private String checkField; private String field; private Boolean necessary; private String value; private Builder() { } private Builder(ParamConfig model) { this.checkField = model.checkField; this.field = model.field; this.necessary = model.necessary; this.value = model.value; } /** * <p>The regular expression that is used to check the format of the parameter value. If the parameter is left empty, the check is not performed.</p> * * <strong>example:</strong> * <p>[0-9]{4}.[0-9]{4}.[0-9]{4}.[0-9]{4}</p> */ public Builder checkField(String checkField) { this.checkField = checkField; return this; } /** * <p>The name of the parameter.</p> * * <strong>example:</strong> * <p>ip</p> */ public Builder field(String field) { this.field = field; return this; } /** * <p>Indicates whether the parameter is required. Valid values:</p> * <ul> * <li><strong>true</strong> (default)</li> * <li><strong>false</strong></li> * </ul> * * <strong>example:</strong> * <p>true</p> */ public Builder necessary(Boolean necessary) { this.necessary = necessary; return this; } /** * <p>The value of the parameter.</p> * * <strong>example:</strong> * <p>12.xx.xx.xx</p> */ public Builder value(String value) { this.value = value; return this; } public ParamConfig build() { return new ParamConfig(this); } } } /** * * {@link DescribeSophonCommandsResponseBody} extends {@link TeaModel} * * <p>DescribeSophonCommandsResponseBody</p> */ public static class Data extends TeaModel { @com.aliyun.core.annotation.NameInMap("Description") private String description; @com.aliyun.core.annotation.NameInMap("DisplayName") private String displayName; @com.aliyun.core.annotation.NameInMap("Name") private String name; @com.aliyun.core.annotation.NameInMap("ParamConfig") private java.util.List<ParamConfig> paramConfig; private Data(Builder builder) { this.description = builder.description; this.displayName = builder.displayName; this.name = builder.name; this.paramConfig = builder.paramConfig; } public static Builder builder() { return new Builder(); } public static Data create() { return builder().build(); } /** * @return description */ public String getDescription() { return this.description; } /** * @return displayName */ public String getDisplayName() { return this.displayName; } /** * @return name */ public String getName() { return this.name; } /** * @return paramConfig */ public java.util.List<ParamConfig> getParamConfig() { return this.paramConfig; } public static final class Builder { private String description; private String displayName; private String name; private java.util.List<ParamConfig> paramConfig; private Builder() { } private Builder(Data model) { this.description = model.description; this.displayName = model.displayName; this.name = model.name; this.paramConfig = model.paramConfig; } /** * <p>The description of the command.</p> * * <strong>example:</strong> * <p>This is a action of processing for WAF</p> */ public Builder description(String description) { this.description = description; return this; } /** * <p>The display name of the command.</p> * * <strong>example:</strong> * <p>WAF Process IP</p> */ public Builder displayName(String displayName) { this.displayName = displayName; return this; } /** * <p>The name of the command.</p> * * <strong>example:</strong> * <p>waf_process_ip_v2</p> */ public Builder name(String name) { this.name = name; return this; } /** * <p>The parameter configurations.</p> */ public Builder paramConfig(java.util.List<ParamConfig> paramConfig) { this.paramConfig = paramConfig; return this; } public Data build() { return new Data(this); } } } }
0
java-sources/com/aliyun/alibabacloud-sophonsoar20220728/3.0.0/com/aliyun/sdk/service/sophonsoar20220728
java-sources/com/aliyun/alibabacloud-sophonsoar20220728/3.0.0/com/aliyun/sdk/service/sophonsoar20220728/models/DescribeVendorApiListRequest.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.sophonsoar20220728.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link DescribeVendorApiListRequest} extends {@link RequestModel} * * <p>DescribeVendorApiListRequest</p> */ public class DescribeVendorApiListRequest extends Request { @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("ApiName") private String apiName; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("KeyWord") private String keyWord; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("PageNumber") private Integer pageNumber; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("PageSize") private Long pageSize; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("ProductCode") private String productCode; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("VendorCode") private String vendorCode; private DescribeVendorApiListRequest(Builder builder) { super(builder); this.apiName = builder.apiName; this.keyWord = builder.keyWord; this.pageNumber = builder.pageNumber; this.pageSize = builder.pageSize; this.productCode = builder.productCode; this.vendorCode = builder.vendorCode; } public static Builder builder() { return new Builder(); } public static DescribeVendorApiListRequest create() { return builder().build(); } @Override public Builder toBuilder() { return new Builder(this); } /** * @return apiName */ public String getApiName() { return this.apiName; } /** * @return keyWord */ public String getKeyWord() { return this.keyWord; } /** * @return pageNumber */ public Integer getPageNumber() { return this.pageNumber; } /** * @return pageSize */ public Long getPageSize() { return this.pageSize; } /** * @return productCode */ public String getProductCode() { return this.productCode; } /** * @return vendorCode */ public String getVendorCode() { return this.vendorCode; } public static final class Builder extends Request.Builder<DescribeVendorApiListRequest, Builder> { private String apiName; private String keyWord; private Integer pageNumber; private Long pageSize; private String productCode; private String vendorCode; private Builder() { super(); } private Builder(DescribeVendorApiListRequest request) { super(request); this.apiName = request.apiName; this.keyWord = request.keyWord; this.pageNumber = request.pageNumber; this.pageSize = request.pageSize; this.productCode = request.productCode; this.vendorCode = request.vendorCode; } /** * ApiName. */ public Builder apiName(String apiName) { this.putQueryParameter("ApiName", apiName); this.apiName = apiName; return this; } /** * KeyWord. */ public Builder keyWord(String keyWord) { this.putQueryParameter("KeyWord", keyWord); this.keyWord = keyWord; return this; } /** * PageNumber. */ public Builder pageNumber(Integer pageNumber) { this.putQueryParameter("PageNumber", pageNumber); this.pageNumber = pageNumber; return this; } /** * PageSize. */ public Builder pageSize(Long pageSize) { this.putQueryParameter("PageSize", pageSize); this.pageSize = pageSize; return this; } /** * ProductCode. */ public Builder productCode(String productCode) { this.putQueryParameter("ProductCode", productCode); this.productCode = productCode; return this; } /** * VendorCode. */ public Builder vendorCode(String vendorCode) { this.putQueryParameter("VendorCode", vendorCode); this.vendorCode = vendorCode; return this; } @Override public DescribeVendorApiListRequest build() { return new DescribeVendorApiListRequest(this); } } }
0
java-sources/com/aliyun/alibabacloud-sophonsoar20220728/3.0.0/com/aliyun/sdk/service/sophonsoar20220728
java-sources/com/aliyun/alibabacloud-sophonsoar20220728/3.0.0/com/aliyun/sdk/service/sophonsoar20220728/models/DescribeVendorApiListResponse.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.sophonsoar20220728.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link DescribeVendorApiListResponse} extends {@link TeaModel} * * <p>DescribeVendorApiListResponse</p> */ public class DescribeVendorApiListResponse extends Response { @com.aliyun.core.annotation.NameInMap("headers") private java.util.Map<String, String> headers; @com.aliyun.core.annotation.NameInMap("statusCode") private Integer statusCode; @com.aliyun.core.annotation.NameInMap("body") private DescribeVendorApiListResponseBody body; private DescribeVendorApiListResponse(BuilderImpl builder) { super(builder); this.headers = builder.headers; this.statusCode = builder.statusCode; this.body = builder.body; } public static DescribeVendorApiListResponse create() { return new BuilderImpl().build(); } @Override public Builder toBuilder() { return new BuilderImpl(this); } /** * @return headers */ public java.util.Map<String, String> getHeaders() { return this.headers; } /** * @return statusCode */ public Integer getStatusCode() { return this.statusCode; } /** * @return body */ public DescribeVendorApiListResponseBody getBody() { return this.body; } public interface Builder extends Response.Builder<DescribeVendorApiListResponse, Builder> { Builder headers(java.util.Map<String, String> headers); Builder statusCode(Integer statusCode); Builder body(DescribeVendorApiListResponseBody body); @Override DescribeVendorApiListResponse build(); } private static final class BuilderImpl extends Response.BuilderImpl<DescribeVendorApiListResponse, Builder> implements Builder { private java.util.Map<String, String> headers; private Integer statusCode; private DescribeVendorApiListResponseBody body; private BuilderImpl() { super(); } private BuilderImpl(DescribeVendorApiListResponse response) { super(response); this.headers = response.headers; this.statusCode = response.statusCode; this.body = response.body; } /** * headers. */ @Override public Builder headers(java.util.Map<String, String> headers) { this.headers = headers; return this; } /** * statusCode. */ @Override public Builder statusCode(Integer statusCode) { this.statusCode = statusCode; return this; } /** * body. */ @Override public Builder body(DescribeVendorApiListResponseBody body) { this.body = body; return this; } @Override public DescribeVendorApiListResponse build() { return new DescribeVendorApiListResponse(this); } } }
0
java-sources/com/aliyun/alibabacloud-sophonsoar20220728/3.0.0/com/aliyun/sdk/service/sophonsoar20220728
java-sources/com/aliyun/alibabacloud-sophonsoar20220728/3.0.0/com/aliyun/sdk/service/sophonsoar20220728/models/DescribeVendorApiListResponseBody.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.sophonsoar20220728.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link DescribeVendorApiListResponseBody} extends {@link TeaModel} * * <p>DescribeVendorApiListResponseBody</p> */ public class DescribeVendorApiListResponseBody extends TeaModel { @com.aliyun.core.annotation.NameInMap("ApiList") private java.util.List<ApiList> apiList; @com.aliyun.core.annotation.NameInMap("Page") private Page page; @com.aliyun.core.annotation.NameInMap("RequestId") private String requestId; private DescribeVendorApiListResponseBody(Builder builder) { this.apiList = builder.apiList; this.page = builder.page; this.requestId = builder.requestId; } public static Builder builder() { return new Builder(); } public static DescribeVendorApiListResponseBody create() { return builder().build(); } public Builder toBuilder() { return new Builder(this); } /** * @return apiList */ public java.util.List<ApiList> getApiList() { return this.apiList; } /** * @return page */ public Page getPage() { return this.page; } /** * @return requestId */ public String getRequestId() { return this.requestId; } public static final class Builder { private java.util.List<ApiList> apiList; private Page page; private String requestId; private Builder() { } private Builder(DescribeVendorApiListResponseBody model) { this.apiList = model.apiList; this.page = model.page; this.requestId = model.requestId; } /** * ApiList. */ public Builder apiList(java.util.List<ApiList> apiList) { this.apiList = apiList; return this; } /** * Page. */ public Builder page(Page page) { this.page = page; return this; } /** * RequestId. */ public Builder requestId(String requestId) { this.requestId = requestId; return this; } public DescribeVendorApiListResponseBody build() { return new DescribeVendorApiListResponseBody(this); } } /** * * {@link DescribeVendorApiListResponseBody} extends {@link TeaModel} * * <p>DescribeVendorApiListResponseBody</p> */ public static class ApiList extends TeaModel { @com.aliyun.core.annotation.NameInMap("AdvanceConfig") private String advanceConfig; @com.aliyun.core.annotation.NameInMap("ApiName") private String apiName; @com.aliyun.core.annotation.NameInMap("ApiVersion") private String apiVersion; @com.aliyun.core.annotation.NameInMap("Method") private String method; @com.aliyun.core.annotation.NameInMap("NeedAdvanceConfig") private Boolean needAdvanceConfig; @com.aliyun.core.annotation.NameInMap("NeedPageInfo") private Boolean needPageInfo; @com.aliyun.core.annotation.NameInMap("PageInfo") private String pageInfo; @com.aliyun.core.annotation.NameInMap("Parameter") private String parameter; @com.aliyun.core.annotation.NameInMap("ProductCode") private String productCode; @com.aliyun.core.annotation.NameInMap("ProductDomain") private String productDomain; @com.aliyun.core.annotation.NameInMap("ProductName") private String productName; @com.aliyun.core.annotation.NameInMap("Protocol") private String protocol; @com.aliyun.core.annotation.NameInMap("VendorCode") private String vendorCode; private ApiList(Builder builder) { this.advanceConfig = builder.advanceConfig; this.apiName = builder.apiName; this.apiVersion = builder.apiVersion; this.method = builder.method; this.needAdvanceConfig = builder.needAdvanceConfig; this.needPageInfo = builder.needPageInfo; this.pageInfo = builder.pageInfo; this.parameter = builder.parameter; this.productCode = builder.productCode; this.productDomain = builder.productDomain; this.productName = builder.productName; this.protocol = builder.protocol; this.vendorCode = builder.vendorCode; } public static Builder builder() { return new Builder(); } public static ApiList create() { return builder().build(); } /** * @return advanceConfig */ public String getAdvanceConfig() { return this.advanceConfig; } /** * @return apiName */ public String getApiName() { return this.apiName; } /** * @return apiVersion */ public String getApiVersion() { return this.apiVersion; } /** * @return method */ public String getMethod() { return this.method; } /** * @return needAdvanceConfig */ public Boolean getNeedAdvanceConfig() { return this.needAdvanceConfig; } /** * @return needPageInfo */ public Boolean getNeedPageInfo() { return this.needPageInfo; } /** * @return pageInfo */ public String getPageInfo() { return this.pageInfo; } /** * @return parameter */ public String getParameter() { return this.parameter; } /** * @return productCode */ public String getProductCode() { return this.productCode; } /** * @return productDomain */ public String getProductDomain() { return this.productDomain; } /** * @return productName */ public String getProductName() { return this.productName; } /** * @return protocol */ public String getProtocol() { return this.protocol; } /** * @return vendorCode */ public String getVendorCode() { return this.vendorCode; } public static final class Builder { private String advanceConfig; private String apiName; private String apiVersion; private String method; private Boolean needAdvanceConfig; private Boolean needPageInfo; private String pageInfo; private String parameter; private String productCode; private String productDomain; private String productName; private String protocol; private String vendorCode; private Builder() { } private Builder(ApiList model) { this.advanceConfig = model.advanceConfig; this.apiName = model.apiName; this.apiVersion = model.apiVersion; this.method = model.method; this.needAdvanceConfig = model.needAdvanceConfig; this.needPageInfo = model.needPageInfo; this.pageInfo = model.pageInfo; this.parameter = model.parameter; this.productCode = model.productCode; this.productDomain = model.productDomain; this.productName = model.productName; this.protocol = model.protocol; this.vendorCode = model.vendorCode; } /** * AdvanceConfig. */ public Builder advanceConfig(String advanceConfig) { this.advanceConfig = advanceConfig; return this; } /** * ApiName. */ public Builder apiName(String apiName) { this.apiName = apiName; return this; } /** * ApiVersion. */ public Builder apiVersion(String apiVersion) { this.apiVersion = apiVersion; return this; } /** * Method. */ public Builder method(String method) { this.method = method; return this; } /** * NeedAdvanceConfig. */ public Builder needAdvanceConfig(Boolean needAdvanceConfig) { this.needAdvanceConfig = needAdvanceConfig; return this; } /** * NeedPageInfo. */ public Builder needPageInfo(Boolean needPageInfo) { this.needPageInfo = needPageInfo; return this; } /** * PageInfo. */ public Builder pageInfo(String pageInfo) { this.pageInfo = pageInfo; return this; } /** * Parameter. */ public Builder parameter(String parameter) { this.parameter = parameter; return this; } /** * ProductCode. */ public Builder productCode(String productCode) { this.productCode = productCode; return this; } /** * ProductDomain. */ public Builder productDomain(String productDomain) { this.productDomain = productDomain; return this; } /** * ProductName. */ public Builder productName(String productName) { this.productName = productName; return this; } /** * Protocol. */ public Builder protocol(String protocol) { this.protocol = protocol; return this; } /** * VendorCode. */ public Builder vendorCode(String vendorCode) { this.vendorCode = vendorCode; return this; } public ApiList build() { return new ApiList(this); } } } /** * * {@link DescribeVendorApiListResponseBody} extends {@link TeaModel} * * <p>DescribeVendorApiListResponseBody</p> */ public static class Page extends TeaModel { @com.aliyun.core.annotation.NameInMap("PageNumber") private Long pageNumber; @com.aliyun.core.annotation.NameInMap("PageSize") private Integer pageSize; @com.aliyun.core.annotation.NameInMap("TotalCount") private Long totalCount; private Page(Builder builder) { this.pageNumber = builder.pageNumber; this.pageSize = builder.pageSize; this.totalCount = builder.totalCount; } public static Builder builder() { return new Builder(); } public static Page create() { return builder().build(); } /** * @return pageNumber */ public Long getPageNumber() { return this.pageNumber; } /** * @return pageSize */ public Integer getPageSize() { return this.pageSize; } /** * @return totalCount */ public Long getTotalCount() { return this.totalCount; } public static final class Builder { private Long pageNumber; private Integer pageSize; private Long totalCount; private Builder() { } private Builder(Page model) { this.pageNumber = model.pageNumber; this.pageSize = model.pageSize; this.totalCount = model.totalCount; } /** * PageNumber. */ public Builder pageNumber(Long pageNumber) { this.pageNumber = pageNumber; return this; } /** * PageSize. */ public Builder pageSize(Integer pageSize) { this.pageSize = pageSize; return this; } /** * TotalCount. */ public Builder totalCount(Long totalCount) { this.totalCount = totalCount; return this; } public Page build() { return new Page(this); } } } }
0
java-sources/com/aliyun/alibabacloud-sophonsoar20220728/3.0.0/com/aliyun/sdk/service/sophonsoar20220728
java-sources/com/aliyun/alibabacloud-sophonsoar20220728/3.0.0/com/aliyun/sdk/service/sophonsoar20220728/models/DescriberPython3ScriptLogsRequest.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.sophonsoar20220728.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link DescriberPython3ScriptLogsRequest} extends {@link RequestModel} * * <p>DescriberPython3ScriptLogsRequest</p> */ public class DescriberPython3ScriptLogsRequest extends Request { @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("Lang") private String lang; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("RequestUuid") @com.aliyun.core.annotation.Validation(required = true) private String requestUuid; private DescriberPython3ScriptLogsRequest(Builder builder) { super(builder); this.lang = builder.lang; this.requestUuid = builder.requestUuid; } public static Builder builder() { return new Builder(); } public static DescriberPython3ScriptLogsRequest create() { return builder().build(); } @Override public Builder toBuilder() { return new Builder(this); } /** * @return lang */ public String getLang() { return this.lang; } /** * @return requestUuid */ public String getRequestUuid() { return this.requestUuid; } public static final class Builder extends Request.Builder<DescriberPython3ScriptLogsRequest, Builder> { private String lang; private String requestUuid; private Builder() { super(); } private Builder(DescriberPython3ScriptLogsRequest request) { super(request); this.lang = request.lang; this.requestUuid = request.requestUuid; } /** * <p>The language of the content within the request and response. Valid values:</p> * <ul> * <li><strong>zh</strong> (default): Chinese</li> * <li><strong>en</strong>: English</li> * </ul> * * <strong>example:</strong> * <p>zh</p> */ public Builder lang(String lang) { this.putQueryParameter("Lang", lang); this.lang = lang; return this; } /** * <p>The UUID that is returned when the Python3 script is run.</p> * <blockquote> * <p> You can call the <a href="~~RunPython3Script~~">RunPython3Script</a> operation to query the UUID.</p> * </blockquote> * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>69edc2b4-c95c-424f-9114-xxxxxxx</p> */ public Builder requestUuid(String requestUuid) { this.putQueryParameter("RequestUuid", requestUuid); this.requestUuid = requestUuid; return this; } @Override public DescriberPython3ScriptLogsRequest build() { return new DescriberPython3ScriptLogsRequest(this); } } }
0
java-sources/com/aliyun/alibabacloud-sophonsoar20220728/3.0.0/com/aliyun/sdk/service/sophonsoar20220728
java-sources/com/aliyun/alibabacloud-sophonsoar20220728/3.0.0/com/aliyun/sdk/service/sophonsoar20220728/models/DescriberPython3ScriptLogsResponse.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.sophonsoar20220728.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link DescriberPython3ScriptLogsResponse} extends {@link TeaModel} * * <p>DescriberPython3ScriptLogsResponse</p> */ public class DescriberPython3ScriptLogsResponse extends Response { @com.aliyun.core.annotation.NameInMap("headers") private java.util.Map<String, String> headers; @com.aliyun.core.annotation.NameInMap("statusCode") private Integer statusCode; @com.aliyun.core.annotation.NameInMap("body") private DescriberPython3ScriptLogsResponseBody body; private DescriberPython3ScriptLogsResponse(BuilderImpl builder) { super(builder); this.headers = builder.headers; this.statusCode = builder.statusCode; this.body = builder.body; } public static DescriberPython3ScriptLogsResponse create() { return new BuilderImpl().build(); } @Override public Builder toBuilder() { return new BuilderImpl(this); } /** * @return headers */ public java.util.Map<String, String> getHeaders() { return this.headers; } /** * @return statusCode */ public Integer getStatusCode() { return this.statusCode; } /** * @return body */ public DescriberPython3ScriptLogsResponseBody getBody() { return this.body; } public interface Builder extends Response.Builder<DescriberPython3ScriptLogsResponse, Builder> { Builder headers(java.util.Map<String, String> headers); Builder statusCode(Integer statusCode); Builder body(DescriberPython3ScriptLogsResponseBody body); @Override DescriberPython3ScriptLogsResponse build(); } private static final class BuilderImpl extends Response.BuilderImpl<DescriberPython3ScriptLogsResponse, Builder> implements Builder { private java.util.Map<String, String> headers; private Integer statusCode; private DescriberPython3ScriptLogsResponseBody body; private BuilderImpl() { super(); } private BuilderImpl(DescriberPython3ScriptLogsResponse response) { super(response); this.headers = response.headers; this.statusCode = response.statusCode; this.body = response.body; } /** * headers. */ @Override public Builder headers(java.util.Map<String, String> headers) { this.headers = headers; return this; } /** * statusCode. */ @Override public Builder statusCode(Integer statusCode) { this.statusCode = statusCode; return this; } /** * body. */ @Override public Builder body(DescriberPython3ScriptLogsResponseBody body) { this.body = body; return this; } @Override public DescriberPython3ScriptLogsResponse build() { return new DescriberPython3ScriptLogsResponse(this); } } }
0
java-sources/com/aliyun/alibabacloud-sophonsoar20220728/3.0.0/com/aliyun/sdk/service/sophonsoar20220728
java-sources/com/aliyun/alibabacloud-sophonsoar20220728/3.0.0/com/aliyun/sdk/service/sophonsoar20220728/models/DescriberPython3ScriptLogsResponseBody.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.sophonsoar20220728.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link DescriberPython3ScriptLogsResponseBody} extends {@link TeaModel} * * <p>DescriberPython3ScriptLogsResponseBody</p> */ public class DescriberPython3ScriptLogsResponseBody extends TeaModel { @com.aliyun.core.annotation.NameInMap("RequestId") private String requestId; @com.aliyun.core.annotation.NameInMap("RunResult") private String runResult; private DescriberPython3ScriptLogsResponseBody(Builder builder) { this.requestId = builder.requestId; this.runResult = builder.runResult; } public static Builder builder() { return new Builder(); } public static DescriberPython3ScriptLogsResponseBody create() { return builder().build(); } public Builder toBuilder() { return new Builder(this); } /** * @return requestId */ public String getRequestId() { return this.requestId; } /** * @return runResult */ public String getRunResult() { return this.runResult; } public static final class Builder { private String requestId; private String runResult; private Builder() { } private Builder(DescriberPython3ScriptLogsResponseBody model) { this.requestId = model.requestId; this.runResult = model.runResult; } /** * <p>The request ID.</p> * * <strong>example:</strong> * <p>D22D8A0C-6E86-57B2-A142-929184122AB1</p> */ public Builder requestId(String requestId) { this.requestId = requestId; return this; } /** * <p>The operational logs of the Python3 script.</p> * * <strong>example:</strong> * <p>{ * &quot;logs&quot;: [ * { * &quot;message&quot;: &quot;function input is {}&quot; * } * ] * }</p> */ public Builder runResult(String runResult) { this.runResult = runResult; return this; } public DescriberPython3ScriptLogsResponseBody build() { return new DescriberPython3ScriptLogsResponseBody(this); } } }
0
java-sources/com/aliyun/alibabacloud-sophonsoar20220728/3.0.0/com/aliyun/sdk/service/sophonsoar20220728
java-sources/com/aliyun/alibabacloud-sophonsoar20220728/3.0.0/com/aliyun/sdk/service/sophonsoar20220728/models/ModifyComponentAssetRequest.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.sophonsoar20220728.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link ModifyComponentAssetRequest} extends {@link RequestModel} * * <p>ModifyComponentAssetRequest</p> */ public class ModifyComponentAssetRequest extends Request { @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("AssetConfig") @com.aliyun.core.annotation.Validation(required = true) private String assetConfig; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("Lang") private String lang; private ModifyComponentAssetRequest(Builder builder) { super(builder); this.assetConfig = builder.assetConfig; this.lang = builder.lang; } public static Builder builder() { return new Builder(); } public static ModifyComponentAssetRequest create() { return builder().build(); } @Override public Builder toBuilder() { return new Builder(this); } /** * @return assetConfig */ public String getAssetConfig() { return this.assetConfig; } /** * @return lang */ public String getLang() { return this.lang; } public static final class Builder extends Request.Builder<ModifyComponentAssetRequest, Builder> { private String assetConfig; private String lang; private Builder() { super(); } private Builder(ModifyComponentAssetRequest request) { super(request); this.assetConfig = request.assetConfig; this.lang = request.lang; } /** * <p>The configuration of the asset. The value is a JSON object.</p> * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>{ * &quot;name&quot;: &quot;test asset&quot;, * &quot;componentName&quot;: &quot;SLS&quot;, * &quot;params&quot;: [ * { * &quot;name&quot;: &quot;end_point&quot;, * &quot;value&quot;: &quot;xxx&quot; * }, * { * &quot;name&quot;: &quot;sub_id&quot;, * &quot;value&quot;: &quot;xxxx&quot; * }, * { * &quot;name&quot;: &quot;access_key&quot;, * &quot;value&quot;: &quot;xxxx&quot; * } * ] * }</p> */ public Builder assetConfig(String assetConfig) { this.putQueryParameter("AssetConfig", assetConfig); this.assetConfig = assetConfig; return this; } /** * <p>The language of the content within the request and response.</p> * <ul> * <li><strong>zh</strong>: Chinese (default)</li> * <li><strong>en</strong>: English</li> * </ul> * * <strong>example:</strong> * <p>zh</p> */ public Builder lang(String lang) { this.putQueryParameter("Lang", lang); this.lang = lang; return this; } @Override public ModifyComponentAssetRequest build() { return new ModifyComponentAssetRequest(this); } } }
0
java-sources/com/aliyun/alibabacloud-sophonsoar20220728/3.0.0/com/aliyun/sdk/service/sophonsoar20220728
java-sources/com/aliyun/alibabacloud-sophonsoar20220728/3.0.0/com/aliyun/sdk/service/sophonsoar20220728/models/ModifyComponentAssetResponse.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.sophonsoar20220728.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link ModifyComponentAssetResponse} extends {@link TeaModel} * * <p>ModifyComponentAssetResponse</p> */ public class ModifyComponentAssetResponse extends Response { @com.aliyun.core.annotation.NameInMap("headers") private java.util.Map<String, String> headers; @com.aliyun.core.annotation.NameInMap("statusCode") private Integer statusCode; @com.aliyun.core.annotation.NameInMap("body") private ModifyComponentAssetResponseBody body; private ModifyComponentAssetResponse(BuilderImpl builder) { super(builder); this.headers = builder.headers; this.statusCode = builder.statusCode; this.body = builder.body; } public static ModifyComponentAssetResponse create() { return new BuilderImpl().build(); } @Override public Builder toBuilder() { return new BuilderImpl(this); } /** * @return headers */ public java.util.Map<String, String> getHeaders() { return this.headers; } /** * @return statusCode */ public Integer getStatusCode() { return this.statusCode; } /** * @return body */ public ModifyComponentAssetResponseBody getBody() { return this.body; } public interface Builder extends Response.Builder<ModifyComponentAssetResponse, Builder> { Builder headers(java.util.Map<String, String> headers); Builder statusCode(Integer statusCode); Builder body(ModifyComponentAssetResponseBody body); @Override ModifyComponentAssetResponse build(); } private static final class BuilderImpl extends Response.BuilderImpl<ModifyComponentAssetResponse, Builder> implements Builder { private java.util.Map<String, String> headers; private Integer statusCode; private ModifyComponentAssetResponseBody body; private BuilderImpl() { super(); } private BuilderImpl(ModifyComponentAssetResponse response) { super(response); this.headers = response.headers; this.statusCode = response.statusCode; this.body = response.body; } /** * headers. */ @Override public Builder headers(java.util.Map<String, String> headers) { this.headers = headers; return this; } /** * statusCode. */ @Override public Builder statusCode(Integer statusCode) { this.statusCode = statusCode; return this; } /** * body. */ @Override public Builder body(ModifyComponentAssetResponseBody body) { this.body = body; return this; } @Override public ModifyComponentAssetResponse build() { return new ModifyComponentAssetResponse(this); } } }
0
java-sources/com/aliyun/alibabacloud-sophonsoar20220728/3.0.0/com/aliyun/sdk/service/sophonsoar20220728
java-sources/com/aliyun/alibabacloud-sophonsoar20220728/3.0.0/com/aliyun/sdk/service/sophonsoar20220728/models/ModifyComponentAssetResponseBody.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.sophonsoar20220728.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link ModifyComponentAssetResponseBody} extends {@link TeaModel} * * <p>ModifyComponentAssetResponseBody</p> */ public class ModifyComponentAssetResponseBody extends TeaModel { @com.aliyun.core.annotation.NameInMap("RequestId") private String requestId; private ModifyComponentAssetResponseBody(Builder builder) { this.requestId = builder.requestId; } public static Builder builder() { return new Builder(); } public static ModifyComponentAssetResponseBody create() { return builder().build(); } public Builder toBuilder() { return new Builder(this); } /** * @return requestId */ public String getRequestId() { return this.requestId; } public static final class Builder { private String requestId; private Builder() { } private Builder(ModifyComponentAssetResponseBody model) { this.requestId = model.requestId; } /** * <p>The request ID.</p> * * <strong>example:</strong> * <p>1C5F11E9-464E-51F0-9296-43BB312A0557</p> */ public Builder requestId(String requestId) { this.requestId = requestId; return this; } public ModifyComponentAssetResponseBody build() { return new ModifyComponentAssetResponseBody(this); } } }
0
java-sources/com/aliyun/alibabacloud-sophonsoar20220728/3.0.0/com/aliyun/sdk/service/sophonsoar20220728
java-sources/com/aliyun/alibabacloud-sophonsoar20220728/3.0.0/com/aliyun/sdk/service/sophonsoar20220728/models/ModifyPlaybookInputOutputRequest.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.sophonsoar20220728.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link ModifyPlaybookInputOutputRequest} extends {@link RequestModel} * * <p>ModifyPlaybookInputOutputRequest</p> */ public class ModifyPlaybookInputOutputRequest extends Request { @com.aliyun.core.annotation.Body @com.aliyun.core.annotation.NameInMap("ExeConfig") private String exeConfig; @com.aliyun.core.annotation.Body @com.aliyun.core.annotation.NameInMap("InputParams") @com.aliyun.core.annotation.Validation(required = true) private String inputParams; @com.aliyun.core.annotation.Body @com.aliyun.core.annotation.NameInMap("Lang") private String lang; @com.aliyun.core.annotation.Body @com.aliyun.core.annotation.NameInMap("OutputParams") @com.aliyun.core.annotation.Validation(required = true) private String outputParams; @com.aliyun.core.annotation.Body @com.aliyun.core.annotation.NameInMap("ParamType") private String paramType; @com.aliyun.core.annotation.Body @com.aliyun.core.annotation.NameInMap("PlaybookUuid") @com.aliyun.core.annotation.Validation(required = true) private String playbookUuid; private ModifyPlaybookInputOutputRequest(Builder builder) { super(builder); this.exeConfig = builder.exeConfig; this.inputParams = builder.inputParams; this.lang = builder.lang; this.outputParams = builder.outputParams; this.paramType = builder.paramType; this.playbookUuid = builder.playbookUuid; } public static Builder builder() { return new Builder(); } public static ModifyPlaybookInputOutputRequest create() { return builder().build(); } @Override public Builder toBuilder() { return new Builder(this); } /** * @return exeConfig */ public String getExeConfig() { return this.exeConfig; } /** * @return inputParams */ public String getInputParams() { return this.inputParams; } /** * @return lang */ public String getLang() { return this.lang; } /** * @return outputParams */ public String getOutputParams() { return this.outputParams; } /** * @return paramType */ public String getParamType() { return this.paramType; } /** * @return playbookUuid */ public String getPlaybookUuid() { return this.playbookUuid; } public static final class Builder extends Request.Builder<ModifyPlaybookInputOutputRequest, Builder> { private String exeConfig; private String inputParams; private String lang; private String outputParams; private String paramType; private String playbookUuid; private Builder() { super(); } private Builder(ModifyPlaybookInputOutputRequest request) { super(request); this.exeConfig = request.exeConfig; this.inputParams = request.inputParams; this.lang = request.lang; this.outputParams = request.outputParams; this.paramType = request.paramType; this.playbookUuid = request.playbookUuid; } /** * <p>The executed mode of a playbook. The value is a JSON array.</p> */ public Builder exeConfig(String exeConfig) { this.putBodyParameter("ExeConfig", exeConfig); this.exeConfig = exeConfig; return this; } /** * <p>The configuration of the input parameters. The value is a JSON array.</p> * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>[ * { * &quot;typeName&quot;: &quot;String&quot;, * &quot;dataClass&quot;: &quot;normal&quot;, * &quot;dataType&quot;: &quot;String&quot;, * &quot;description&quot;: &quot;period&quot;, * &quot;example&quot;: &quot;&quot;, * &quot;name&quot;: &quot;period&quot;, * &quot;required&quot;: false * } * ]</p> */ public Builder inputParams(String inputParams) { this.putBodyParameter("InputParams", inputParams); this.inputParams = inputParams; return this; } /** * <p>The language of the content within the request and response.</p> * <ul> * <li><strong>zh</strong>: Chinese (default)</li> * <li><strong>en</strong>: English</li> * </ul> * * <strong>example:</strong> * <p>zh</p> */ public Builder lang(String lang) { this.putBodyParameter("Lang", lang); this.lang = lang; return this; } /** * <p>The configuration of the output parameters. This parameter is unavailable. Leave it empty.</p> * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>[]</p> */ public Builder outputParams(String outputParams) { this.putBodyParameter("OutputParams", outputParams); this.outputParams = outputParams; return this; } /** * <p>The input parameter type.</p> * <ul> * <li><strong>template-ip</strong></li> * <li><strong>template-file</strong></li> * <li><strong>template-process</strong></li> * <li><strong>custom</strong></li> * </ul> * * <strong>example:</strong> * <p>custom</p> */ public Builder paramType(String paramType) { this.putBodyParameter("ParamType", paramType); this.paramType = paramType; return this; } /** * <p>The UUID of the playbook.</p> * <blockquote> * <p> You can call the <a href="~~DescribePlaybooks~~">DescribePlaybooks</a>operation to query the playbook UUID.</p> * </blockquote> * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>8baa6cff-319e-4ede-97bc-xxxxxxx</p> */ public Builder playbookUuid(String playbookUuid) { this.putBodyParameter("PlaybookUuid", playbookUuid); this.playbookUuid = playbookUuid; return this; } @Override public ModifyPlaybookInputOutputRequest build() { return new ModifyPlaybookInputOutputRequest(this); } } }
0
java-sources/com/aliyun/alibabacloud-sophonsoar20220728/3.0.0/com/aliyun/sdk/service/sophonsoar20220728
java-sources/com/aliyun/alibabacloud-sophonsoar20220728/3.0.0/com/aliyun/sdk/service/sophonsoar20220728/models/ModifyPlaybookInputOutputResponse.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.sophonsoar20220728.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link ModifyPlaybookInputOutputResponse} extends {@link TeaModel} * * <p>ModifyPlaybookInputOutputResponse</p> */ public class ModifyPlaybookInputOutputResponse extends Response { @com.aliyun.core.annotation.NameInMap("headers") private java.util.Map<String, String> headers; @com.aliyun.core.annotation.NameInMap("statusCode") private Integer statusCode; @com.aliyun.core.annotation.NameInMap("body") private ModifyPlaybookInputOutputResponseBody body; private ModifyPlaybookInputOutputResponse(BuilderImpl builder) { super(builder); this.headers = builder.headers; this.statusCode = builder.statusCode; this.body = builder.body; } public static ModifyPlaybookInputOutputResponse create() { return new BuilderImpl().build(); } @Override public Builder toBuilder() { return new BuilderImpl(this); } /** * @return headers */ public java.util.Map<String, String> getHeaders() { return this.headers; } /** * @return statusCode */ public Integer getStatusCode() { return this.statusCode; } /** * @return body */ public ModifyPlaybookInputOutputResponseBody getBody() { return this.body; } public interface Builder extends Response.Builder<ModifyPlaybookInputOutputResponse, Builder> { Builder headers(java.util.Map<String, String> headers); Builder statusCode(Integer statusCode); Builder body(ModifyPlaybookInputOutputResponseBody body); @Override ModifyPlaybookInputOutputResponse build(); } private static final class BuilderImpl extends Response.BuilderImpl<ModifyPlaybookInputOutputResponse, Builder> implements Builder { private java.util.Map<String, String> headers; private Integer statusCode; private ModifyPlaybookInputOutputResponseBody body; private BuilderImpl() { super(); } private BuilderImpl(ModifyPlaybookInputOutputResponse response) { super(response); this.headers = response.headers; this.statusCode = response.statusCode; this.body = response.body; } /** * headers. */ @Override public Builder headers(java.util.Map<String, String> headers) { this.headers = headers; return this; } /** * statusCode. */ @Override public Builder statusCode(Integer statusCode) { this.statusCode = statusCode; return this; } /** * body. */ @Override public Builder body(ModifyPlaybookInputOutputResponseBody body) { this.body = body; return this; } @Override public ModifyPlaybookInputOutputResponse build() { return new ModifyPlaybookInputOutputResponse(this); } } }
0
java-sources/com/aliyun/alibabacloud-sophonsoar20220728/3.0.0/com/aliyun/sdk/service/sophonsoar20220728
java-sources/com/aliyun/alibabacloud-sophonsoar20220728/3.0.0/com/aliyun/sdk/service/sophonsoar20220728/models/ModifyPlaybookInputOutputResponseBody.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.sophonsoar20220728.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link ModifyPlaybookInputOutputResponseBody} extends {@link TeaModel} * * <p>ModifyPlaybookInputOutputResponseBody</p> */ public class ModifyPlaybookInputOutputResponseBody extends TeaModel { @com.aliyun.core.annotation.NameInMap("RequestId") private String requestId; private ModifyPlaybookInputOutputResponseBody(Builder builder) { this.requestId = builder.requestId; } public static Builder builder() { return new Builder(); } public static ModifyPlaybookInputOutputResponseBody create() { return builder().build(); } public Builder toBuilder() { return new Builder(this); } /** * @return requestId */ public String getRequestId() { return this.requestId; } public static final class Builder { private String requestId; private Builder() { } private Builder(ModifyPlaybookInputOutputResponseBody model) { this.requestId = model.requestId; } /** * <p>The request ID.</p> * * <strong>example:</strong> * <p>8DDC07CE-D41B-5142-8D91-469462719C77</p> */ public Builder requestId(String requestId) { this.requestId = requestId; return this; } public ModifyPlaybookInputOutputResponseBody build() { return new ModifyPlaybookInputOutputResponseBody(this); } } }
0
java-sources/com/aliyun/alibabacloud-sophonsoar20220728/3.0.0/com/aliyun/sdk/service/sophonsoar20220728
java-sources/com/aliyun/alibabacloud-sophonsoar20220728/3.0.0/com/aliyun/sdk/service/sophonsoar20220728/models/ModifyPlaybookInstanceStatusRequest.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.sophonsoar20220728.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link ModifyPlaybookInstanceStatusRequest} extends {@link RequestModel} * * <p>ModifyPlaybookInstanceStatusRequest</p> */ public class ModifyPlaybookInstanceStatusRequest extends Request { @com.aliyun.core.annotation.Body @com.aliyun.core.annotation.NameInMap("Active") @com.aliyun.core.annotation.Validation(required = true) private Integer active; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("Lang") private String lang; @com.aliyun.core.annotation.Body @com.aliyun.core.annotation.NameInMap("PlaybookUuid") @com.aliyun.core.annotation.Validation(required = true) private String playbookUuid; private ModifyPlaybookInstanceStatusRequest(Builder builder) { super(builder); this.active = builder.active; this.lang = builder.lang; this.playbookUuid = builder.playbookUuid; } public static Builder builder() { return new Builder(); } public static ModifyPlaybookInstanceStatusRequest create() { return builder().build(); } @Override public Builder toBuilder() { return new Builder(this); } /** * @return active */ public Integer getActive() { return this.active; } /** * @return lang */ public String getLang() { return this.lang; } /** * @return playbookUuid */ public String getPlaybookUuid() { return this.playbookUuid; } public static final class Builder extends Request.Builder<ModifyPlaybookInstanceStatusRequest, Builder> { private Integer active; private String lang; private String playbookUuid; private Builder() { super(); } private Builder(ModifyPlaybookInstanceStatusRequest request) { super(request); this.active = request.active; this.lang = request.lang; this.playbookUuid = request.playbookUuid; } /** * <p>The playbook status. Valid values:</p> * <ul> * <li><strong>1</strong>: starts the playbook.</li> * <li><strong>0</strong>: stops the playbook.</li> * </ul> * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>1</p> */ public Builder active(Integer active) { this.putBodyParameter("Active", active); this.active = active; return this; } /** * <p>The language of the content within the request and response. Default value: <strong>zh</strong>. Valid values:</p> * <ul> * <li><strong>zh</strong>: Chinese</li> * <li><strong>en</strong>: English</li> * </ul> * * <strong>example:</strong> * <p>zh</p> */ public Builder lang(String lang) { this.putQueryParameter("Lang", lang); this.lang = lang; return this; } /** * <p>The playbook UUID.</p> * <blockquote> * <p> You can call the <a href="~~DescribePlaybooks~~">DescribePlaybooks</a> operation to query the playbook UUID.</p> * </blockquote> * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>9fcd3829-80ff-4681-be1e-xxxxxxxx</p> */ public Builder playbookUuid(String playbookUuid) { this.putBodyParameter("PlaybookUuid", playbookUuid); this.playbookUuid = playbookUuid; return this; } @Override public ModifyPlaybookInstanceStatusRequest build() { return new ModifyPlaybookInstanceStatusRequest(this); } } }
0
java-sources/com/aliyun/alibabacloud-sophonsoar20220728/3.0.0/com/aliyun/sdk/service/sophonsoar20220728
java-sources/com/aliyun/alibabacloud-sophonsoar20220728/3.0.0/com/aliyun/sdk/service/sophonsoar20220728/models/ModifyPlaybookInstanceStatusResponse.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.sophonsoar20220728.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link ModifyPlaybookInstanceStatusResponse} extends {@link TeaModel} * * <p>ModifyPlaybookInstanceStatusResponse</p> */ public class ModifyPlaybookInstanceStatusResponse extends Response { @com.aliyun.core.annotation.NameInMap("headers") private java.util.Map<String, String> headers; @com.aliyun.core.annotation.NameInMap("statusCode") private Integer statusCode; @com.aliyun.core.annotation.NameInMap("body") private ModifyPlaybookInstanceStatusResponseBody body; private ModifyPlaybookInstanceStatusResponse(BuilderImpl builder) { super(builder); this.headers = builder.headers; this.statusCode = builder.statusCode; this.body = builder.body; } public static ModifyPlaybookInstanceStatusResponse create() { return new BuilderImpl().build(); } @Override public Builder toBuilder() { return new BuilderImpl(this); } /** * @return headers */ public java.util.Map<String, String> getHeaders() { return this.headers; } /** * @return statusCode */ public Integer getStatusCode() { return this.statusCode; } /** * @return body */ public ModifyPlaybookInstanceStatusResponseBody getBody() { return this.body; } public interface Builder extends Response.Builder<ModifyPlaybookInstanceStatusResponse, Builder> { Builder headers(java.util.Map<String, String> headers); Builder statusCode(Integer statusCode); Builder body(ModifyPlaybookInstanceStatusResponseBody body); @Override ModifyPlaybookInstanceStatusResponse build(); } private static final class BuilderImpl extends Response.BuilderImpl<ModifyPlaybookInstanceStatusResponse, Builder> implements Builder { private java.util.Map<String, String> headers; private Integer statusCode; private ModifyPlaybookInstanceStatusResponseBody body; private BuilderImpl() { super(); } private BuilderImpl(ModifyPlaybookInstanceStatusResponse response) { super(response); this.headers = response.headers; this.statusCode = response.statusCode; this.body = response.body; } /** * headers. */ @Override public Builder headers(java.util.Map<String, String> headers) { this.headers = headers; return this; } /** * statusCode. */ @Override public Builder statusCode(Integer statusCode) { this.statusCode = statusCode; return this; } /** * body. */ @Override public Builder body(ModifyPlaybookInstanceStatusResponseBody body) { this.body = body; return this; } @Override public ModifyPlaybookInstanceStatusResponse build() { return new ModifyPlaybookInstanceStatusResponse(this); } } }
0
java-sources/com/aliyun/alibabacloud-sophonsoar20220728/3.0.0/com/aliyun/sdk/service/sophonsoar20220728
java-sources/com/aliyun/alibabacloud-sophonsoar20220728/3.0.0/com/aliyun/sdk/service/sophonsoar20220728/models/ModifyPlaybookInstanceStatusResponseBody.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.sophonsoar20220728.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link ModifyPlaybookInstanceStatusResponseBody} extends {@link TeaModel} * * <p>ModifyPlaybookInstanceStatusResponseBody</p> */ public class ModifyPlaybookInstanceStatusResponseBody extends TeaModel { @com.aliyun.core.annotation.NameInMap("RequestId") private String requestId; private ModifyPlaybookInstanceStatusResponseBody(Builder builder) { this.requestId = builder.requestId; } public static Builder builder() { return new Builder(); } public static ModifyPlaybookInstanceStatusResponseBody create() { return builder().build(); } public Builder toBuilder() { return new Builder(this); } /** * @return requestId */ public String getRequestId() { return this.requestId; } public static final class Builder { private String requestId; private Builder() { } private Builder(ModifyPlaybookInstanceStatusResponseBody model) { this.requestId = model.requestId; } /** * <p>The request ID.</p> * * <strong>example:</strong> * <p>C2A32830-2842-5F8F-B4ED-E4783E400BBE</p> */ public Builder requestId(String requestId) { this.requestId = requestId; return this; } public ModifyPlaybookInstanceStatusResponseBody build() { return new ModifyPlaybookInstanceStatusResponseBody(this); } } }
0
java-sources/com/aliyun/alibabacloud-sophonsoar20220728/3.0.0/com/aliyun/sdk/service/sophonsoar20220728
java-sources/com/aliyun/alibabacloud-sophonsoar20220728/3.0.0/com/aliyun/sdk/service/sophonsoar20220728/models/ModifyPlaybookRequest.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.sophonsoar20220728.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link ModifyPlaybookRequest} extends {@link RequestModel} * * <p>ModifyPlaybookRequest</p> */ public class ModifyPlaybookRequest extends Request { @com.aliyun.core.annotation.Body @com.aliyun.core.annotation.NameInMap("Description") private String description; @com.aliyun.core.annotation.Body @com.aliyun.core.annotation.NameInMap("DisplayName") @com.aliyun.core.annotation.Validation(required = true) private String displayName; @com.aliyun.core.annotation.Body @com.aliyun.core.annotation.NameInMap("Lang") private String lang; @com.aliyun.core.annotation.Body @com.aliyun.core.annotation.NameInMap("PlaybookUuid") @com.aliyun.core.annotation.Validation(required = true) private String playbookUuid; @com.aliyun.core.annotation.Body @com.aliyun.core.annotation.NameInMap("Taskflow") private String taskflow; private ModifyPlaybookRequest(Builder builder) { super(builder); this.description = builder.description; this.displayName = builder.displayName; this.lang = builder.lang; this.playbookUuid = builder.playbookUuid; this.taskflow = builder.taskflow; } public static Builder builder() { return new Builder(); } public static ModifyPlaybookRequest create() { return builder().build(); } @Override public Builder toBuilder() { return new Builder(this); } /** * @return description */ public String getDescription() { return this.description; } /** * @return displayName */ public String getDisplayName() { return this.displayName; } /** * @return lang */ public String getLang() { return this.lang; } /** * @return playbookUuid */ public String getPlaybookUuid() { return this.playbookUuid; } /** * @return taskflow */ public String getTaskflow() { return this.taskflow; } public static final class Builder extends Request.Builder<ModifyPlaybookRequest, Builder> { private String description; private String displayName; private String lang; private String playbookUuid; private String taskflow; private Builder() { super(); } private Builder(ModifyPlaybookRequest request) { super(request); this.description = request.description; this.displayName = request.displayName; this.lang = request.lang; this.playbookUuid = request.playbookUuid; this.taskflow = request.taskflow; } /** * <p>The description of the playbook.</p> * * <strong>example:</strong> * <p>demo test task</p> */ public Builder description(String description) { this.putBodyParameter("Description", description); this.description = description; return this; } /** * <p>The display name of the playbook.</p> * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>aliyun_waf_test_playbook</p> */ public Builder displayName(String displayName) { this.putBodyParameter("DisplayName", displayName); this.displayName = displayName; return this; } /** * <p>The language of the content within the request and response. Valid values:</p> * <ul> * <li><strong>zh</strong> (default): Chinese</li> * <li><strong>en</strong>: English</li> * </ul> * * <strong>example:</strong> * <p>zh</p> */ public Builder lang(String lang) { this.putBodyParameter("Lang", lang); this.lang = lang; return this; } /** * <p>The UUID of the playbook.</p> * <blockquote> * <p> You can call the <a href="~~DescribePlaybooks~~">DescribePlaybooks</a>operation to query the UUIDs of playbooks.</p> * </blockquote> * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>8baa6cff-319e-4ede-97bc-1586c35e61f8</p> */ public Builder playbookUuid(String playbookUuid) { this.putBodyParameter("PlaybookUuid", playbookUuid); this.playbookUuid = playbookUuid; return this; } /** * <p>The XML configuration of the playbook.</p> * * <strong>example:</strong> * <?xml version="1.0" encoding="UTF-8"?><p>&lt;bpmn:definitions xmlns:xsi=&quot;<a href="http://www.w3.org/2001/XMLSchema-instance">http://www.w3.org/2001/XMLSchema-instance</a>&quot; xmlns:bpmn=&quot;<a href="http://www.omg.org/spec/BPMN/20100524/MODEL">http://www.omg.org/spec/BPMN/20100524/MODEL</a>&quot; xmlns:bpmndi=&quot;<a href="http://www.omg.org/spec/BPMN/20100524/DI">http://www.omg.org/spec/BPMN/20100524/DI</a>&quot; xmlns:dc=&quot;<a href="http://www.omg.org/spec/DD/20100524/DC">http://www.omg.org/spec/DD/20100524/DC</a>&quot; targetNamespace=&quot;<a href="http://bpmn.io/schema/bpmn">http://bpmn.io/schema/bpmn</a>&quot; id=&quot;Definitions_1&quot;&gt;&lt;bpmn:process id=&quot;Process_1&quot; isExecutable=&quot;false&quot;&gt;&lt;bpmn:startEvent id=&quot;StartEvent_1&quot;/&gt;</bpmn:process>&lt;bpmndi:BPMNDiagram id=&quot;BPMNDiagram_1&quot;&gt;&lt;bpmndi:BPMNPlane id=&quot;BPMNPlane_1&quot; bpmnElement=&quot;Process_1&quot;&gt;&lt;bpmndi:BPMNShape id=&quot;_BPMNShape_StartEvent_2&quot; bpmnElement=&quot;StartEvent_1&quot;&gt;&lt;dc:Bounds height=&quot;36.0&quot; width=&quot;36.0&quot; x=&quot;173.0&quot; y=&quot;102.0&quot;/&gt;</bpmndi:BPMNShape></bpmndi:BPMNPlane></bpmndi:BPMNDiagram></bpmn:definitions></p> */ public Builder taskflow(String taskflow) { this.putBodyParameter("Taskflow", taskflow); this.taskflow = taskflow; return this; } @Override public ModifyPlaybookRequest build() { return new ModifyPlaybookRequest(this); } } }
0
java-sources/com/aliyun/alibabacloud-sophonsoar20220728/3.0.0/com/aliyun/sdk/service/sophonsoar20220728
java-sources/com/aliyun/alibabacloud-sophonsoar20220728/3.0.0/com/aliyun/sdk/service/sophonsoar20220728/models/ModifyPlaybookResponse.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.sophonsoar20220728.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link ModifyPlaybookResponse} extends {@link TeaModel} * * <p>ModifyPlaybookResponse</p> */ public class ModifyPlaybookResponse extends Response { @com.aliyun.core.annotation.NameInMap("headers") private java.util.Map<String, String> headers; @com.aliyun.core.annotation.NameInMap("statusCode") private Integer statusCode; @com.aliyun.core.annotation.NameInMap("body") private ModifyPlaybookResponseBody body; private ModifyPlaybookResponse(BuilderImpl builder) { super(builder); this.headers = builder.headers; this.statusCode = builder.statusCode; this.body = builder.body; } public static ModifyPlaybookResponse create() { return new BuilderImpl().build(); } @Override public Builder toBuilder() { return new BuilderImpl(this); } /** * @return headers */ public java.util.Map<String, String> getHeaders() { return this.headers; } /** * @return statusCode */ public Integer getStatusCode() { return this.statusCode; } /** * @return body */ public ModifyPlaybookResponseBody getBody() { return this.body; } public interface Builder extends Response.Builder<ModifyPlaybookResponse, Builder> { Builder headers(java.util.Map<String, String> headers); Builder statusCode(Integer statusCode); Builder body(ModifyPlaybookResponseBody body); @Override ModifyPlaybookResponse build(); } private static final class BuilderImpl extends Response.BuilderImpl<ModifyPlaybookResponse, Builder> implements Builder { private java.util.Map<String, String> headers; private Integer statusCode; private ModifyPlaybookResponseBody body; private BuilderImpl() { super(); } private BuilderImpl(ModifyPlaybookResponse response) { super(response); this.headers = response.headers; this.statusCode = response.statusCode; this.body = response.body; } /** * headers. */ @Override public Builder headers(java.util.Map<String, String> headers) { this.headers = headers; return this; } /** * statusCode. */ @Override public Builder statusCode(Integer statusCode) { this.statusCode = statusCode; return this; } /** * body. */ @Override public Builder body(ModifyPlaybookResponseBody body) { this.body = body; return this; } @Override public ModifyPlaybookResponse build() { return new ModifyPlaybookResponse(this); } } }
0
java-sources/com/aliyun/alibabacloud-sophonsoar20220728/3.0.0/com/aliyun/sdk/service/sophonsoar20220728
java-sources/com/aliyun/alibabacloud-sophonsoar20220728/3.0.0/com/aliyun/sdk/service/sophonsoar20220728/models/ModifyPlaybookResponseBody.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.sophonsoar20220728.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link ModifyPlaybookResponseBody} extends {@link TeaModel} * * <p>ModifyPlaybookResponseBody</p> */ public class ModifyPlaybookResponseBody extends TeaModel { @com.aliyun.core.annotation.NameInMap("RequestId") private String requestId; private ModifyPlaybookResponseBody(Builder builder) { this.requestId = builder.requestId; } public static Builder builder() { return new Builder(); } public static ModifyPlaybookResponseBody create() { return builder().build(); } public Builder toBuilder() { return new Builder(this); } /** * @return requestId */ public String getRequestId() { return this.requestId; } public static final class Builder { private String requestId; private Builder() { } private Builder(ModifyPlaybookResponseBody model) { this.requestId = model.requestId; } /** * <p>The request ID.</p> * * <strong>example:</strong> * <p>9B584F84-D66A-5525-8E7B-05612A903ABF</p> */ public Builder requestId(String requestId) { this.requestId = requestId; return this; } public ModifyPlaybookResponseBody build() { return new ModifyPlaybookResponseBody(this); } } }
0
java-sources/com/aliyun/alibabacloud-sophonsoar20220728/3.0.0/com/aliyun/sdk/service/sophonsoar20220728
java-sources/com/aliyun/alibabacloud-sophonsoar20220728/3.0.0/com/aliyun/sdk/service/sophonsoar20220728/models/PublishPlaybookRequest.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.sophonsoar20220728.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link PublishPlaybookRequest} extends {@link RequestModel} * * <p>PublishPlaybookRequest</p> */ public class PublishPlaybookRequest extends Request { @com.aliyun.core.annotation.Body @com.aliyun.core.annotation.NameInMap("Description") @com.aliyun.core.annotation.Validation(maxLength = 128) private String description; @com.aliyun.core.annotation.Body @com.aliyun.core.annotation.NameInMap("PlaybookUuid") @com.aliyun.core.annotation.Validation(required = true) private String playbookUuid; private PublishPlaybookRequest(Builder builder) { super(builder); this.description = builder.description; this.playbookUuid = builder.playbookUuid; } public static Builder builder() { return new Builder(); } public static PublishPlaybookRequest create() { return builder().build(); } @Override public Builder toBuilder() { return new Builder(this); } /** * @return description */ public String getDescription() { return this.description; } /** * @return playbookUuid */ public String getPlaybookUuid() { return this.playbookUuid; } public static final class Builder extends Request.Builder<PublishPlaybookRequest, Builder> { private String description; private String playbookUuid; private Builder() { super(); } private Builder(PublishPlaybookRequest request) { super(request); this.description = request.description; this.playbookUuid = request.playbookUuid; } /** * <p>The description of the released version.</p> * * <strong>example:</strong> * <p>This is a waf processing playbook</p> */ public Builder description(String description) { this.putBodyParameter("Description", description); this.description = description; return this; } /** * <p>The playbook UUID.</p> * <blockquote> * <p> You can call the <a href="~~DescribePlaybooks~~">DescribePlaybooks</a> operation to query the playbook UUID.</p> * </blockquote> * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>ac343acc-1a61-4084-9a1c-xxxxxxx</p> */ public Builder playbookUuid(String playbookUuid) { this.putBodyParameter("PlaybookUuid", playbookUuid); this.playbookUuid = playbookUuid; return this; } @Override public PublishPlaybookRequest build() { return new PublishPlaybookRequest(this); } } }
0
java-sources/com/aliyun/alibabacloud-sophonsoar20220728/3.0.0/com/aliyun/sdk/service/sophonsoar20220728
java-sources/com/aliyun/alibabacloud-sophonsoar20220728/3.0.0/com/aliyun/sdk/service/sophonsoar20220728/models/PublishPlaybookResponse.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.sophonsoar20220728.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link PublishPlaybookResponse} extends {@link TeaModel} * * <p>PublishPlaybookResponse</p> */ public class PublishPlaybookResponse extends Response { @com.aliyun.core.annotation.NameInMap("headers") private java.util.Map<String, String> headers; @com.aliyun.core.annotation.NameInMap("statusCode") private Integer statusCode; @com.aliyun.core.annotation.NameInMap("body") private PublishPlaybookResponseBody body; private PublishPlaybookResponse(BuilderImpl builder) { super(builder); this.headers = builder.headers; this.statusCode = builder.statusCode; this.body = builder.body; } public static PublishPlaybookResponse create() { return new BuilderImpl().build(); } @Override public Builder toBuilder() { return new BuilderImpl(this); } /** * @return headers */ public java.util.Map<String, String> getHeaders() { return this.headers; } /** * @return statusCode */ public Integer getStatusCode() { return this.statusCode; } /** * @return body */ public PublishPlaybookResponseBody getBody() { return this.body; } public interface Builder extends Response.Builder<PublishPlaybookResponse, Builder> { Builder headers(java.util.Map<String, String> headers); Builder statusCode(Integer statusCode); Builder body(PublishPlaybookResponseBody body); @Override PublishPlaybookResponse build(); } private static final class BuilderImpl extends Response.BuilderImpl<PublishPlaybookResponse, Builder> implements Builder { private java.util.Map<String, String> headers; private Integer statusCode; private PublishPlaybookResponseBody body; private BuilderImpl() { super(); } private BuilderImpl(PublishPlaybookResponse response) { super(response); this.headers = response.headers; this.statusCode = response.statusCode; this.body = response.body; } /** * headers. */ @Override public Builder headers(java.util.Map<String, String> headers) { this.headers = headers; return this; } /** * statusCode. */ @Override public Builder statusCode(Integer statusCode) { this.statusCode = statusCode; return this; } /** * body. */ @Override public Builder body(PublishPlaybookResponseBody body) { this.body = body; return this; } @Override public PublishPlaybookResponse build() { return new PublishPlaybookResponse(this); } } }
0
java-sources/com/aliyun/alibabacloud-sophonsoar20220728/3.0.0/com/aliyun/sdk/service/sophonsoar20220728
java-sources/com/aliyun/alibabacloud-sophonsoar20220728/3.0.0/com/aliyun/sdk/service/sophonsoar20220728/models/PublishPlaybookResponseBody.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.sophonsoar20220728.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link PublishPlaybookResponseBody} extends {@link TeaModel} * * <p>PublishPlaybookResponseBody</p> */ public class PublishPlaybookResponseBody extends TeaModel { @com.aliyun.core.annotation.NameInMap("RequestId") private String requestId; private PublishPlaybookResponseBody(Builder builder) { this.requestId = builder.requestId; } public static Builder builder() { return new Builder(); } public static PublishPlaybookResponseBody create() { return builder().build(); } public Builder toBuilder() { return new Builder(this); } /** * @return requestId */ public String getRequestId() { return this.requestId; } public static final class Builder { private String requestId; private Builder() { } private Builder(PublishPlaybookResponseBody model) { this.requestId = model.requestId; } /** * <p>The request ID.</p> * * <strong>example:</strong> * <p>C513FCEA-D71F-5E50-ADC4-FCF8C5DCF6BF</p> */ public Builder requestId(String requestId) { this.requestId = requestId; return this; } public PublishPlaybookResponseBody build() { return new PublishPlaybookResponseBody(this); } } }
0
java-sources/com/aliyun/alibabacloud-sophonsoar20220728/3.0.0/com/aliyun/sdk/service/sophonsoar20220728
java-sources/com/aliyun/alibabacloud-sophonsoar20220728/3.0.0/com/aliyun/sdk/service/sophonsoar20220728/models/QueryTreeDataRequest.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.sophonsoar20220728.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link QueryTreeDataRequest} extends {@link RequestModel} * * <p>QueryTreeDataRequest</p> */ public class QueryTreeDataRequest extends Request { @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("Lang") private String lang; private QueryTreeDataRequest(Builder builder) { super(builder); this.lang = builder.lang; } public static Builder builder() { return new Builder(); } public static QueryTreeDataRequest create() { return builder().build(); } @Override public Builder toBuilder() { return new Builder(this); } /** * @return lang */ public String getLang() { return this.lang; } public static final class Builder extends Request.Builder<QueryTreeDataRequest, Builder> { private String lang; private Builder() { super(); } private Builder(QueryTreeDataRequest request) { super(request); this.lang = request.lang; } /** * <p>The language of the content within the response. Valid values:</p> * <ul> * <li><strong>zh</strong>: Chinese (default)</li> * <li><strong>en</strong>: English</li> * </ul> * * <strong>example:</strong> * <p>zh</p> */ public Builder lang(String lang) { this.putQueryParameter("Lang", lang); this.lang = lang; return this; } @Override public QueryTreeDataRequest build() { return new QueryTreeDataRequest(this); } } }
0
java-sources/com/aliyun/alibabacloud-sophonsoar20220728/3.0.0/com/aliyun/sdk/service/sophonsoar20220728
java-sources/com/aliyun/alibabacloud-sophonsoar20220728/3.0.0/com/aliyun/sdk/service/sophonsoar20220728/models/QueryTreeDataResponse.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.sophonsoar20220728.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link QueryTreeDataResponse} extends {@link TeaModel} * * <p>QueryTreeDataResponse</p> */ public class QueryTreeDataResponse extends Response { @com.aliyun.core.annotation.NameInMap("headers") private java.util.Map<String, String> headers; @com.aliyun.core.annotation.NameInMap("statusCode") private Integer statusCode; @com.aliyun.core.annotation.NameInMap("body") private QueryTreeDataResponseBody body; private QueryTreeDataResponse(BuilderImpl builder) { super(builder); this.headers = builder.headers; this.statusCode = builder.statusCode; this.body = builder.body; } public static QueryTreeDataResponse create() { return new BuilderImpl().build(); } @Override public Builder toBuilder() { return new BuilderImpl(this); } /** * @return headers */ public java.util.Map<String, String> getHeaders() { return this.headers; } /** * @return statusCode */ public Integer getStatusCode() { return this.statusCode; } /** * @return body */ public QueryTreeDataResponseBody getBody() { return this.body; } public interface Builder extends Response.Builder<QueryTreeDataResponse, Builder> { Builder headers(java.util.Map<String, String> headers); Builder statusCode(Integer statusCode); Builder body(QueryTreeDataResponseBody body); @Override QueryTreeDataResponse build(); } private static final class BuilderImpl extends Response.BuilderImpl<QueryTreeDataResponse, Builder> implements Builder { private java.util.Map<String, String> headers; private Integer statusCode; private QueryTreeDataResponseBody body; private BuilderImpl() { super(); } private BuilderImpl(QueryTreeDataResponse response) { super(response); this.headers = response.headers; this.statusCode = response.statusCode; this.body = response.body; } /** * headers. */ @Override public Builder headers(java.util.Map<String, String> headers) { this.headers = headers; return this; } /** * statusCode. */ @Override public Builder statusCode(Integer statusCode) { this.statusCode = statusCode; return this; } /** * body. */ @Override public Builder body(QueryTreeDataResponseBody body) { this.body = body; return this; } @Override public QueryTreeDataResponse build() { return new QueryTreeDataResponse(this); } } }
0
java-sources/com/aliyun/alibabacloud-sophonsoar20220728/3.0.0/com/aliyun/sdk/service/sophonsoar20220728
java-sources/com/aliyun/alibabacloud-sophonsoar20220728/3.0.0/com/aliyun/sdk/service/sophonsoar20220728/models/QueryTreeDataResponseBody.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.sophonsoar20220728.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link QueryTreeDataResponseBody} extends {@link TeaModel} * * <p>QueryTreeDataResponseBody</p> */ public class QueryTreeDataResponseBody extends TeaModel { @com.aliyun.core.annotation.NameInMap("Playbooks") private String playbooks; @com.aliyun.core.annotation.NameInMap("RequestId") private String requestId; private QueryTreeDataResponseBody(Builder builder) { this.playbooks = builder.playbooks; this.requestId = builder.requestId; } public static Builder builder() { return new Builder(); } public static QueryTreeDataResponseBody create() { return builder().build(); } public Builder toBuilder() { return new Builder(this); } /** * @return playbooks */ public String getPlaybooks() { return this.playbooks; } /** * @return requestId */ public String getRequestId() { return this.requestId; } public static final class Builder { private String playbooks; private String requestId; private Builder() { } private Builder(QueryTreeDataResponseBody model) { this.playbooks = model.playbooks; this.requestId = model.requestId; } /** * <p>The returned information about the playbook. The value is a JSON string.</p> * * <strong>example:</strong> * <p>[ * { * &quot;playbook&quot;: { * &quot;active&quot;: false, * &quot;displayName&quot;: &quot;test_playbook&quot;, * &quot;playbookUuid&quot;: &quot;09a20455-3d3a-424c-a1df-xxxxxx&quot; * } * } * ]</p> */ public Builder playbooks(String playbooks) { this.playbooks = playbooks; return this; } /** * <p>The request ID.</p> * * <strong>example:</strong> * <p>EF2ECA2D-D8E6-5021-BF5C-19DD6D52C5B2</p> */ public Builder requestId(String requestId) { this.requestId = requestId; return this; } public QueryTreeDataResponseBody build() { return new QueryTreeDataResponseBody(this); } } }
0
java-sources/com/aliyun/alibabacloud-sophonsoar20220728/3.0.0/com/aliyun/sdk/service/sophonsoar20220728
java-sources/com/aliyun/alibabacloud-sophonsoar20220728/3.0.0/com/aliyun/sdk/service/sophonsoar20220728/models/RenamePlaybookNodeRequest.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.sophonsoar20220728.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link RenamePlaybookNodeRequest} extends {@link RequestModel} * * <p>RenamePlaybookNodeRequest</p> */ public class RenamePlaybookNodeRequest extends Request { @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("Lang") private String lang; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("NewNodeName") @com.aliyun.core.annotation.Validation(required = true) private String newNodeName; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("OldNodeName") @com.aliyun.core.annotation.Validation(required = true) private String oldNodeName; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("PlaybookUuid") @com.aliyun.core.annotation.Validation(required = true) private String playbookUuid; private RenamePlaybookNodeRequest(Builder builder) { super(builder); this.lang = builder.lang; this.newNodeName = builder.newNodeName; this.oldNodeName = builder.oldNodeName; this.playbookUuid = builder.playbookUuid; } public static Builder builder() { return new Builder(); } public static RenamePlaybookNodeRequest create() { return builder().build(); } @Override public Builder toBuilder() { return new Builder(this); } /** * @return lang */ public String getLang() { return this.lang; } /** * @return newNodeName */ public String getNewNodeName() { return this.newNodeName; } /** * @return oldNodeName */ public String getOldNodeName() { return this.oldNodeName; } /** * @return playbookUuid */ public String getPlaybookUuid() { return this.playbookUuid; } public static final class Builder extends Request.Builder<RenamePlaybookNodeRequest, Builder> { private String lang; private String newNodeName; private String oldNodeName; private String playbookUuid; private Builder() { super(); } private Builder(RenamePlaybookNodeRequest request) { super(request); this.lang = request.lang; this.newNodeName = request.newNodeName; this.oldNodeName = request.oldNodeName; this.playbookUuid = request.playbookUuid; } /** * <p>The language of the content within the request and the response. Valid values:</p> * <ul> * <li><strong>zh</strong> (default): Chinese</li> * <li><strong>en</strong>: English</li> * </ul> * * <strong>example:</strong> * <p>zh</p> */ public Builder lang(String lang) { this.putQueryParameter("Lang", lang); this.lang = lang; return this; } /** * <p>The new name of the node.</p> * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>waf_process</p> */ public Builder newNodeName(String newNodeName) { this.putQueryParameter("NewNodeName", newNodeName); this.newNodeName = newNodeName; return this; } /** * <p>The original name of the node.</p> * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>firewall_process</p> */ public Builder oldNodeName(String oldNodeName) { this.putQueryParameter("OldNodeName", oldNodeName); this.oldNodeName = oldNodeName; return this; } /** * <p>The UUID of the playbook.</p> * <blockquote> * <p> You can call the <a href="~~DescribePlaybooks~~">DescribePlaybooks</a>operation to query the UUIDs of playbooks.</p> * </blockquote> * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>ac343acc-1a61-4084-9a1c-xxxxxxxx</p> */ public Builder playbookUuid(String playbookUuid) { this.putQueryParameter("PlaybookUuid", playbookUuid); this.playbookUuid = playbookUuid; return this; } @Override public RenamePlaybookNodeRequest build() { return new RenamePlaybookNodeRequest(this); } } }
0
java-sources/com/aliyun/alibabacloud-sophonsoar20220728/3.0.0/com/aliyun/sdk/service/sophonsoar20220728
java-sources/com/aliyun/alibabacloud-sophonsoar20220728/3.0.0/com/aliyun/sdk/service/sophonsoar20220728/models/RenamePlaybookNodeResponse.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.sophonsoar20220728.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link RenamePlaybookNodeResponse} extends {@link TeaModel} * * <p>RenamePlaybookNodeResponse</p> */ public class RenamePlaybookNodeResponse extends Response { @com.aliyun.core.annotation.NameInMap("headers") private java.util.Map<String, String> headers; @com.aliyun.core.annotation.NameInMap("statusCode") private Integer statusCode; @com.aliyun.core.annotation.NameInMap("body") private RenamePlaybookNodeResponseBody body; private RenamePlaybookNodeResponse(BuilderImpl builder) { super(builder); this.headers = builder.headers; this.statusCode = builder.statusCode; this.body = builder.body; } public static RenamePlaybookNodeResponse create() { return new BuilderImpl().build(); } @Override public Builder toBuilder() { return new BuilderImpl(this); } /** * @return headers */ public java.util.Map<String, String> getHeaders() { return this.headers; } /** * @return statusCode */ public Integer getStatusCode() { return this.statusCode; } /** * @return body */ public RenamePlaybookNodeResponseBody getBody() { return this.body; } public interface Builder extends Response.Builder<RenamePlaybookNodeResponse, Builder> { Builder headers(java.util.Map<String, String> headers); Builder statusCode(Integer statusCode); Builder body(RenamePlaybookNodeResponseBody body); @Override RenamePlaybookNodeResponse build(); } private static final class BuilderImpl extends Response.BuilderImpl<RenamePlaybookNodeResponse, Builder> implements Builder { private java.util.Map<String, String> headers; private Integer statusCode; private RenamePlaybookNodeResponseBody body; private BuilderImpl() { super(); } private BuilderImpl(RenamePlaybookNodeResponse response) { super(response); this.headers = response.headers; this.statusCode = response.statusCode; this.body = response.body; } /** * headers. */ @Override public Builder headers(java.util.Map<String, String> headers) { this.headers = headers; return this; } /** * statusCode. */ @Override public Builder statusCode(Integer statusCode) { this.statusCode = statusCode; return this; } /** * body. */ @Override public Builder body(RenamePlaybookNodeResponseBody body) { this.body = body; return this; } @Override public RenamePlaybookNodeResponse build() { return new RenamePlaybookNodeResponse(this); } } }