Class CreateFlowsByTemplatesRequest


  • public class CreateFlowsByTemplatesRequest
    extends AbstractModel
    • Constructor Detail

      • CreateFlowsByTemplatesRequest

        public CreateFlowsByTemplatesRequest()
      • CreateFlowsByTemplatesRequest

        public CreateFlowsByTemplatesRequest​(CreateFlowsByTemplatesRequest source)
        NOTE: Any ambiguous key set via .set("AnyKey", "value") will be a shallow copy, and any explicit key, i.e Foo, set via .setFoo("value") will be a deep copy.
    • Method Detail

      • getAgent

        public Agent getAgent()
        Get 应用相关信息。 此接口Agent.ProxyOrganizationOpenId、Agent. ProxyOperator.OpenId、Agent.AppId 均必填。
        Returns:
        Agent 应用相关信息。 此接口Agent.ProxyOrganizationOpenId、Agent. ProxyOperator.OpenId、Agent.AppId 均必填。
      • setAgent

        public void setAgent​(Agent Agent)
        Set 应用相关信息。 此接口Agent.ProxyOrganizationOpenId、Agent. ProxyOperator.OpenId、Agent.AppId 均必填。
        Parameters:
        Agent - 应用相关信息。 此接口Agent.ProxyOrganizationOpenId、Agent. ProxyOperator.OpenId、Agent.AppId 均必填。
      • getFlowInfos

        public FlowInfo[] getFlowInfos()
        Get 要创建的合同信息列表,最多支持一次创建20个合同
        Returns:
        FlowInfos 要创建的合同信息列表,最多支持一次创建20个合同
      • setFlowInfos

        public void setFlowInfos​(FlowInfo[] FlowInfos)
        Set 要创建的合同信息列表,最多支持一次创建20个合同
        Parameters:
        FlowInfos - 要创建的合同信息列表,最多支持一次创建20个合同
      • getNeedPreview

        public Boolean getNeedPreview()
        Get 是否为预览模式;默认为false,即非预览模式,此时发起合同并返回FlowIds;若为预览模式,不会发起合同,会返回PreviewUrls; 预览链接有效期300秒; 同时,如果预览的文件中指定了动态表格控件,需要进行异步合成;此时此接口返回的是合成前的文档预览链接,而合成完成后的文档预览链接会通过:回调通知的方式、或使用返回的TaskInfo中的TaskId通过ChannelGetTaskResultApi接口查询;
        Returns:
        NeedPreview 是否为预览模式;默认为false,即非预览模式,此时发起合同并返回FlowIds;若为预览模式,不会发起合同,会返回PreviewUrls; 预览链接有效期300秒; 同时,如果预览的文件中指定了动态表格控件,需要进行异步合成;此时此接口返回的是合成前的文档预览链接,而合成完成后的文档预览链接会通过:回调通知的方式、或使用返回的TaskInfo中的TaskId通过ChannelGetTaskResultApi接口查询;
      • setNeedPreview

        public void setNeedPreview​(Boolean NeedPreview)
        Set 是否为预览模式;默认为false,即非预览模式,此时发起合同并返回FlowIds;若为预览模式,不会发起合同,会返回PreviewUrls; 预览链接有效期300秒; 同时,如果预览的文件中指定了动态表格控件,需要进行异步合成;此时此接口返回的是合成前的文档预览链接,而合成完成后的文档预览链接会通过:回调通知的方式、或使用返回的TaskInfo中的TaskId通过ChannelGetTaskResultApi接口查询;
        Parameters:
        NeedPreview - 是否为预览模式;默认为false,即非预览模式,此时发起合同并返回FlowIds;若为预览模式,不会发起合同,会返回PreviewUrls; 预览链接有效期300秒; 同时,如果预览的文件中指定了动态表格控件,需要进行异步合成;此时此接口返回的是合成前的文档预览链接,而合成完成后的文档预览链接会通过:回调通知的方式、或使用返回的TaskInfo中的TaskId通过ChannelGetTaskResultApi接口查询;
      • getPreviewType

        public Long getPreviewType()
        Get 预览链接类型 默认:0-文件流, 1- H5链接 注意:此参数在NeedPreview 为true 时有效,
        Returns:
        PreviewType 预览链接类型 默认:0-文件流, 1- H5链接 注意:此参数在NeedPreview 为true 时有效,
      • setPreviewType

        public void setPreviewType​(Long PreviewType)
        Set 预览链接类型 默认:0-文件流, 1- H5链接 注意:此参数在NeedPreview 为true 时有效,
        Parameters:
        PreviewType - 预览链接类型 默认:0-文件流, 1- H5链接 注意:此参数在NeedPreview 为true 时有效,
      • getOperator

        @Deprecated
        public UserInfo getOperator()
        Deprecated.
        Get 操作者的信息,不用传
        Returns:
        Operator 操作者的信息,不用传
      • setOperator

        @Deprecated
        public void setOperator​(UserInfo Operator)
        Deprecated.
        Set 操作者的信息,不用传
        Parameters:
        Operator - 操作者的信息,不用传