All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.aliyun.dingtalkworkflow_1_0.models.ProcessForecastResponseBody Maven / Gradle / Ivy

There is a newer version: 2.1.67
Show newest version
// This file is auto-generated, don't edit it. Thanks.
package com.aliyun.dingtalkworkflow_1_0.models;

import com.aliyun.tea.*;

public class ProcessForecastResponseBody extends TeaModel {
    @NameInMap("result")
    public ProcessForecastResponseBodyResult result;

    public static ProcessForecastResponseBody build(java.util.Map map) throws Exception {
        ProcessForecastResponseBody self = new ProcessForecastResponseBody();
        return TeaModel.build(map, self);
    }

    public ProcessForecastResponseBody setResult(ProcessForecastResponseBodyResult result) {
        this.result = result;
        return this;
    }
    public ProcessForecastResponseBodyResult getResult() {
        return this.result;
    }

    public static class ProcessForecastResponseBodyResultWorkflowActivityRulesWorkflowActorActorSelectionRangeApprovals extends TeaModel {
        @NameInMap("userName")
        public String userName;

        @NameInMap("workNo")
        public String workNo;

        public static ProcessForecastResponseBodyResultWorkflowActivityRulesWorkflowActorActorSelectionRangeApprovals build(java.util.Map map) throws Exception {
            ProcessForecastResponseBodyResultWorkflowActivityRulesWorkflowActorActorSelectionRangeApprovals self = new ProcessForecastResponseBodyResultWorkflowActivityRulesWorkflowActorActorSelectionRangeApprovals();
            return TeaModel.build(map, self);
        }

        public ProcessForecastResponseBodyResultWorkflowActivityRulesWorkflowActorActorSelectionRangeApprovals setUserName(String userName) {
            this.userName = userName;
            return this;
        }
        public String getUserName() {
            return this.userName;
        }

        public ProcessForecastResponseBodyResultWorkflowActivityRulesWorkflowActorActorSelectionRangeApprovals setWorkNo(String workNo) {
            this.workNo = workNo;
            return this;
        }
        public String getWorkNo() {
            return this.workNo;
        }

    }

    public static class ProcessForecastResponseBodyResultWorkflowActivityRulesWorkflowActorActorSelectionRangeLabels extends TeaModel {
        @NameInMap("labelNames")
        public String labelNames;

        @NameInMap("labels")
        public String labels;

        public static ProcessForecastResponseBodyResultWorkflowActivityRulesWorkflowActorActorSelectionRangeLabels build(java.util.Map map) throws Exception {
            ProcessForecastResponseBodyResultWorkflowActivityRulesWorkflowActorActorSelectionRangeLabels self = new ProcessForecastResponseBodyResultWorkflowActivityRulesWorkflowActorActorSelectionRangeLabels();
            return TeaModel.build(map, self);
        }

        public ProcessForecastResponseBodyResultWorkflowActivityRulesWorkflowActorActorSelectionRangeLabels setLabelNames(String labelNames) {
            this.labelNames = labelNames;
            return this;
        }
        public String getLabelNames() {
            return this.labelNames;
        }

        public ProcessForecastResponseBodyResultWorkflowActivityRulesWorkflowActorActorSelectionRangeLabels setLabels(String labels) {
            this.labels = labels;
            return this;
        }
        public String getLabels() {
            return this.labels;
        }

    }

    public static class ProcessForecastResponseBodyResultWorkflowActivityRulesWorkflowActorActorSelectionRange extends TeaModel {
        @NameInMap("approvals")
        public java.util.List approvals;

        @NameInMap("labels")
        public java.util.List labels;

        public static ProcessForecastResponseBodyResultWorkflowActivityRulesWorkflowActorActorSelectionRange build(java.util.Map map) throws Exception {
            ProcessForecastResponseBodyResultWorkflowActivityRulesWorkflowActorActorSelectionRange self = new ProcessForecastResponseBodyResultWorkflowActivityRulesWorkflowActorActorSelectionRange();
            return TeaModel.build(map, self);
        }

        public ProcessForecastResponseBodyResultWorkflowActivityRulesWorkflowActorActorSelectionRange setApprovals(java.util.List approvals) {
            this.approvals = approvals;
            return this;
        }
        public java.util.List getApprovals() {
            return this.approvals;
        }

        public ProcessForecastResponseBodyResultWorkflowActivityRulesWorkflowActorActorSelectionRange setLabels(java.util.List labels) {
            this.labels = labels;
            return this;
        }
        public java.util.List getLabels() {
            return this.labels;
        }

    }

    public static class ProcessForecastResponseBodyResultWorkflowActivityRulesWorkflowActor extends TeaModel {
        /**
         * example:
         * 

ALL:并行,ONE_BY_ONE:串行

*/ @NameInMap("actorActivateType") public String actorActivateType; /** * example: *

manual_e203_14a3_895a_45ad

*/ @NameInMap("actorKey") public String actorKey; @NameInMap("actorSelectionRange") public ProcessForecastResponseBodyResultWorkflowActivityRulesWorkflowActorActorSelectionRange actorSelectionRange; /** * example: *

allStaff:全公司,approvals:指定成员,labels:角色

*/ @NameInMap("actorSelectionType") public String actorSelectionType; /** * example: *

approver:审批人,notifier:抄送人,audit:办理人

*/ @NameInMap("actorType") public String actorType; /** * example: *

true

*/ @NameInMap("allowedMulti") public Boolean allowedMulti; /** * example: *

ONE_BY_ONE:依次审批,AND:会签审批,OR:或签审批

*/ @NameInMap("approvalMethod") public String approvalMethod; /** * example: *

MANUAL:人工审批,AUTO_AGREE:自动通过,AUTO_REFUSE:自动拒绝

*/ @NameInMap("approvalType") public String approvalType; /** * example: *

true

*/ @NameInMap("required") public Boolean required; public static ProcessForecastResponseBodyResultWorkflowActivityRulesWorkflowActor build(java.util.Map map) throws Exception { ProcessForecastResponseBodyResultWorkflowActivityRulesWorkflowActor self = new ProcessForecastResponseBodyResultWorkflowActivityRulesWorkflowActor(); return TeaModel.build(map, self); } public ProcessForecastResponseBodyResultWorkflowActivityRulesWorkflowActor setActorActivateType(String actorActivateType) { this.actorActivateType = actorActivateType; return this; } public String getActorActivateType() { return this.actorActivateType; } public ProcessForecastResponseBodyResultWorkflowActivityRulesWorkflowActor setActorKey(String actorKey) { this.actorKey = actorKey; return this; } public String getActorKey() { return this.actorKey; } public ProcessForecastResponseBodyResultWorkflowActivityRulesWorkflowActor setActorSelectionRange(ProcessForecastResponseBodyResultWorkflowActivityRulesWorkflowActorActorSelectionRange actorSelectionRange) { this.actorSelectionRange = actorSelectionRange; return this; } public ProcessForecastResponseBodyResultWorkflowActivityRulesWorkflowActorActorSelectionRange getActorSelectionRange() { return this.actorSelectionRange; } public ProcessForecastResponseBodyResultWorkflowActivityRulesWorkflowActor setActorSelectionType(String actorSelectionType) { this.actorSelectionType = actorSelectionType; return this; } public String getActorSelectionType() { return this.actorSelectionType; } public ProcessForecastResponseBodyResultWorkflowActivityRulesWorkflowActor setActorType(String actorType) { this.actorType = actorType; return this; } public String getActorType() { return this.actorType; } public ProcessForecastResponseBodyResultWorkflowActivityRulesWorkflowActor setAllowedMulti(Boolean allowedMulti) { this.allowedMulti = allowedMulti; return this; } public Boolean getAllowedMulti() { return this.allowedMulti; } public ProcessForecastResponseBodyResultWorkflowActivityRulesWorkflowActor setApprovalMethod(String approvalMethod) { this.approvalMethod = approvalMethod; return this; } public String getApprovalMethod() { return this.approvalMethod; } public ProcessForecastResponseBodyResultWorkflowActivityRulesWorkflowActor setApprovalType(String approvalType) { this.approvalType = approvalType; return this; } public String getApprovalType() { return this.approvalType; } public ProcessForecastResponseBodyResultWorkflowActivityRulesWorkflowActor setRequired(Boolean required) { this.required = required; return this; } public Boolean getRequired() { return this.required; } } public static class ProcessForecastResponseBodyResultWorkflowActivityRules extends TeaModel { /** * example: *

1918_5cd3

*/ @NameInMap("activityId") public String activityId; /** * example: *

审批人

*/ @NameInMap("activityName") public String activityName; /** * example: *

包括 target_select、target_approval 等

*/ @NameInMap("activityType") public String activityType; /** * example: *

true

*/ @NameInMap("isTargetSelect") public Boolean isTargetSelect; /** * example: *

1918_5cd3

*/ @NameInMap("prevActivityId") public String prevActivityId; @NameInMap("workflowActor") public ProcessForecastResponseBodyResultWorkflowActivityRulesWorkflowActor workflowActor; public static ProcessForecastResponseBodyResultWorkflowActivityRules build(java.util.Map map) throws Exception { ProcessForecastResponseBodyResultWorkflowActivityRules self = new ProcessForecastResponseBodyResultWorkflowActivityRules(); return TeaModel.build(map, self); } public ProcessForecastResponseBodyResultWorkflowActivityRules setActivityId(String activityId) { this.activityId = activityId; return this; } public String getActivityId() { return this.activityId; } public ProcessForecastResponseBodyResultWorkflowActivityRules setActivityName(String activityName) { this.activityName = activityName; return this; } public String getActivityName() { return this.activityName; } public ProcessForecastResponseBodyResultWorkflowActivityRules setActivityType(String activityType) { this.activityType = activityType; return this; } public String getActivityType() { return this.activityType; } public ProcessForecastResponseBodyResultWorkflowActivityRules setIsTargetSelect(Boolean isTargetSelect) { this.isTargetSelect = isTargetSelect; return this; } public Boolean getIsTargetSelect() { return this.isTargetSelect; } public ProcessForecastResponseBodyResultWorkflowActivityRules setPrevActivityId(String prevActivityId) { this.prevActivityId = prevActivityId; return this; } public String getPrevActivityId() { return this.prevActivityId; } public ProcessForecastResponseBodyResultWorkflowActivityRules setWorkflowActor(ProcessForecastResponseBodyResultWorkflowActivityRulesWorkflowActor workflowActor) { this.workflowActor = workflowActor; return this; } public ProcessForecastResponseBodyResultWorkflowActivityRulesWorkflowActor getWorkflowActor() { return this.workflowActor; } } public static class ProcessForecastResponseBodyResultWorkflowForecastNodes extends TeaModel { /** *

This parameter is required.

* * example: *

1cc3_959a

*/ @NameInMap("activityId") public String activityId; /** *

This parameter is required.

* * example: *

line-random-1cc3_959a-831a_607b

*/ @NameInMap("outId") public String outId; public static ProcessForecastResponseBodyResultWorkflowForecastNodes build(java.util.Map map) throws Exception { ProcessForecastResponseBodyResultWorkflowForecastNodes self = new ProcessForecastResponseBodyResultWorkflowForecastNodes(); return TeaModel.build(map, self); } public ProcessForecastResponseBodyResultWorkflowForecastNodes setActivityId(String activityId) { this.activityId = activityId; return this; } public String getActivityId() { return this.activityId; } public ProcessForecastResponseBodyResultWorkflowForecastNodes setOutId(String outId) { this.outId = outId; return this; } public String getOutId() { return this.outId; } } public static class ProcessForecastResponseBodyResult extends TeaModel { /** *

This parameter is required.

* * example: *

true

*/ @NameInMap("isForecastSuccess") public Boolean isForecastSuccess; /** *

This parameter is required.

* * example: *

true

*/ @NameInMap("isStaticWorkflow") public Boolean isStaticWorkflow; /** *

This parameter is required.

* * example: *

PROC-2B60E506-D6CB-43F3-B661-359B27F90947

*/ @NameInMap("processCode") public String processCode; /** *

This parameter is required.

* * example: *

63657309999

*/ @NameInMap("processId") public Long processId; /** *

This parameter is required.

* * example: *

2665246100805992

*/ @NameInMap("userId") public String userId; @NameInMap("workflowActivityRules") public java.util.List workflowActivityRules; /** *

This parameter is required.

*/ @NameInMap("workflowForecastNodes") public java.util.List workflowForecastNodes; public static ProcessForecastResponseBodyResult build(java.util.Map map) throws Exception { ProcessForecastResponseBodyResult self = new ProcessForecastResponseBodyResult(); return TeaModel.build(map, self); } public ProcessForecastResponseBodyResult setIsForecastSuccess(Boolean isForecastSuccess) { this.isForecastSuccess = isForecastSuccess; return this; } public Boolean getIsForecastSuccess() { return this.isForecastSuccess; } public ProcessForecastResponseBodyResult setIsStaticWorkflow(Boolean isStaticWorkflow) { this.isStaticWorkflow = isStaticWorkflow; return this; } public Boolean getIsStaticWorkflow() { return this.isStaticWorkflow; } public ProcessForecastResponseBodyResult setProcessCode(String processCode) { this.processCode = processCode; return this; } public String getProcessCode() { return this.processCode; } public ProcessForecastResponseBodyResult setProcessId(Long processId) { this.processId = processId; return this; } public Long getProcessId() { return this.processId; } public ProcessForecastResponseBodyResult setUserId(String userId) { this.userId = userId; return this; } public String getUserId() { return this.userId; } public ProcessForecastResponseBodyResult setWorkflowActivityRules(java.util.List workflowActivityRules) { this.workflowActivityRules = workflowActivityRules; return this; } public java.util.List getWorkflowActivityRules() { return this.workflowActivityRules; } public ProcessForecastResponseBodyResult setWorkflowForecastNodes(java.util.List workflowForecastNodes) { this.workflowForecastNodes = workflowForecastNodes; return this; } public java.util.List getWorkflowForecastNodes() { return this.workflowForecastNodes; } } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy