swform_1_0

package
v1.5.32 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 31, 2023 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Overview

This file is auto-generated, don't edit it. Thanks. *

*

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

type Client struct {
	openapi.Client
}

func NewClient

func NewClient(config *openapi.Config) (*Client, error)

func (*Client) GetFormInstance

func (client *Client) GetFormInstance(formInstanceId *string, request *GetFormInstanceRequest) (_result *GetFormInstanceResponse, _err error)

func (*Client) GetFormInstanceWithOptions

func (client *Client) GetFormInstanceWithOptions(formInstanceId *string, request *GetFormInstanceRequest, headers *GetFormInstanceHeaders, runtime *util.RuntimeOptions) (_result *GetFormInstanceResponse, _err error)

func (*Client) Init

func (client *Client) Init(config *openapi.Config) (_err error)

func (*Client) ListFormInstances

func (client *Client) ListFormInstances(formCode *string, request *ListFormInstancesRequest) (_result *ListFormInstancesResponse, _err error)

func (*Client) ListFormInstancesWithOptions

func (client *Client) ListFormInstancesWithOptions(formCode *string, request *ListFormInstancesRequest, headers *ListFormInstancesHeaders, runtime *util.RuntimeOptions) (_result *ListFormInstancesResponse, _err error)

func (*Client) ListFormSchemasByCreator

func (client *Client) ListFormSchemasByCreator(request *ListFormSchemasByCreatorRequest) (_result *ListFormSchemasByCreatorResponse, _err error)

func (*Client) ListFormSchemasByCreatorWithOptions

func (client *Client) ListFormSchemasByCreatorWithOptions(request *ListFormSchemasByCreatorRequest, headers *ListFormSchemasByCreatorHeaders, runtime *util.RuntimeOptions) (_result *ListFormSchemasByCreatorResponse, _err error)

type GetFormInstanceHeaders

type GetFormInstanceHeaders struct {
	CommonHeaders           map[string]*string `json:"commonHeaders,omitempty" xml:"commonHeaders,omitempty"`
	XAcsDingtalkAccessToken *string            `json:"x-acs-dingtalk-access-token,omitempty" xml:"x-acs-dingtalk-access-token,omitempty"`
}

func (GetFormInstanceHeaders) GoString

func (s GetFormInstanceHeaders) GoString() string

func (*GetFormInstanceHeaders) SetCommonHeaders

func (s *GetFormInstanceHeaders) SetCommonHeaders(v map[string]*string) *GetFormInstanceHeaders

func (*GetFormInstanceHeaders) SetXAcsDingtalkAccessToken

func (s *GetFormInstanceHeaders) SetXAcsDingtalkAccessToken(v string) *GetFormInstanceHeaders

func (GetFormInstanceHeaders) String

func (s GetFormInstanceHeaders) String() string

type GetFormInstanceRequest

type GetFormInstanceRequest struct {
	// 填表类型。0表示通用填表,1表示教育版填表
	BizType *int32 `json:"bizType,omitempty" xml:"bizType,omitempty"`
}

func (GetFormInstanceRequest) GoString

func (s GetFormInstanceRequest) GoString() string

func (*GetFormInstanceRequest) SetBizType

func (GetFormInstanceRequest) String

func (s GetFormInstanceRequest) String() string

type GetFormInstanceResponse

type GetFormInstanceResponse struct {
	Headers map[string]*string           `json:"headers,omitempty" xml:"headers,omitempty" require:"true"`
	Body    *GetFormInstanceResponseBody `json:"body,omitempty" xml:"body,omitempty" require:"true"`
}

func (GetFormInstanceResponse) GoString

func (s GetFormInstanceResponse) GoString() string

func (*GetFormInstanceResponse) SetBody

func (*GetFormInstanceResponse) SetHeaders

func (GetFormInstanceResponse) String

func (s GetFormInstanceResponse) String() string

type GetFormInstanceResponseBody

type GetFormInstanceResponseBody struct {
	// 返回结果对象。
	Result *GetFormInstanceResponseBodyResult `json:"result,omitempty" xml:"result,omitempty" type:"Struct"`
	// 是否成功。
	Success *bool `json:"success,omitempty" xml:"success,omitempty"`
}

func (GetFormInstanceResponseBody) GoString

func (s GetFormInstanceResponseBody) GoString() string

func (*GetFormInstanceResponseBody) SetResult

func (*GetFormInstanceResponseBody) SetSuccess

func (GetFormInstanceResponseBody) String

type GetFormInstanceResponseBodyResult

type GetFormInstanceResponseBodyResult struct {
	// 创建时间。iso8601格式。
	CreateTime *string `json:"createTime,omitempty" xml:"createTime,omitempty"`
	// 创建者userid
	Creator *string `json:"creator,omitempty" xml:"creator,omitempty"`
	// 填表code,用此code可调接口获取填表实例列表。
	FormCode *string `json:"formCode,omitempty" xml:"formCode,omitempty"`
	// 表单内容列表。
	Forms []*GetFormInstanceResponseBodyResultForms `json:"forms,omitempty" xml:"forms,omitempty" type:"Repeated"`
	// 更新时间。iso8601格式。
	ModifyTime *string `json:"modifyTime,omitempty" xml:"modifyTime,omitempty"`
	// 填表名称。
	Title *string `json:"title,omitempty" xml:"title,omitempty"`
}

func (GetFormInstanceResponseBodyResult) GoString

func (*GetFormInstanceResponseBodyResult) SetCreateTime

func (*GetFormInstanceResponseBodyResult) SetCreator

func (*GetFormInstanceResponseBodyResult) SetFormCode

func (*GetFormInstanceResponseBodyResult) SetModifyTime

func (*GetFormInstanceResponseBodyResult) SetTitle

func (GetFormInstanceResponseBodyResult) String

type GetFormInstanceResponseBodyResultForms

type GetFormInstanceResponseBodyResultForms struct {
	// 表单控件key。
	Key *string `json:"key,omitempty" xml:"key,omitempty"`
	// 表单主题。  当label字段为空或不存在时,忽略这个label和value。
	Label *string `json:"label,omitempty" xml:"label,omitempty"`
	// 表单的值。
	Value *string `json:"value,omitempty" xml:"value,omitempty"`
}

func (GetFormInstanceResponseBodyResultForms) GoString

func (*GetFormInstanceResponseBodyResultForms) SetKey

func (*GetFormInstanceResponseBodyResultForms) SetLabel

func (*GetFormInstanceResponseBodyResultForms) SetValue

func (GetFormInstanceResponseBodyResultForms) String

type ListFormInstancesHeaders

type ListFormInstancesHeaders struct {
	CommonHeaders           map[string]*string `json:"commonHeaders,omitempty" xml:"commonHeaders,omitempty"`
	XAcsDingtalkAccessToken *string            `json:"x-acs-dingtalk-access-token,omitempty" xml:"x-acs-dingtalk-access-token,omitempty"`
}

func (ListFormInstancesHeaders) GoString

func (s ListFormInstancesHeaders) GoString() string

func (*ListFormInstancesHeaders) SetCommonHeaders

func (s *ListFormInstancesHeaders) SetCommonHeaders(v map[string]*string) *ListFormInstancesHeaders

func (*ListFormInstancesHeaders) SetXAcsDingtalkAccessToken

func (s *ListFormInstancesHeaders) SetXAcsDingtalkAccessToken(v string) *ListFormInstancesHeaders

func (ListFormInstancesHeaders) String

func (s ListFormInstancesHeaders) String() string

type ListFormInstancesRequest

type ListFormInstancesRequest struct {
	// 时间,必须是YYYY-MM-DD的格式。循环填表才需要传这个参数。
	ActionDate *string `json:"actionDate,omitempty" xml:"actionDate,omitempty"`
	// 填表类型。0表示通用填表,1表示教育版填表
	BizType *int32 `json:"bizType,omitempty" xml:"bizType,omitempty"`
	// 分页大小,最大100。
	MaxResults *int32 `json:"maxResults,omitempty" xml:"maxResults,omitempty"`
	// 分页起始,从0开始。当返回结果中hasMore为false时,表示没有下一页了。否则取返回结果中nextToken的值作为下一次请求的offset。
	NextToken *int32 `json:"nextToken,omitempty" xml:"nextToken,omitempty"`
}

func (ListFormInstancesRequest) GoString

func (s ListFormInstancesRequest) GoString() string

func (*ListFormInstancesRequest) SetActionDate

func (*ListFormInstancesRequest) SetBizType

func (*ListFormInstancesRequest) SetMaxResults

func (*ListFormInstancesRequest) SetNextToken

func (ListFormInstancesRequest) String

func (s ListFormInstancesRequest) String() string

type ListFormInstancesResponse

type ListFormInstancesResponse struct {
	Headers map[string]*string             `json:"headers,omitempty" xml:"headers,omitempty" require:"true"`
	Body    *ListFormInstancesResponseBody `json:"body,omitempty" xml:"body,omitempty" require:"true"`
}

func (ListFormInstancesResponse) GoString

func (s ListFormInstancesResponse) GoString() string

func (*ListFormInstancesResponse) SetBody

func (*ListFormInstancesResponse) SetHeaders

func (ListFormInstancesResponse) String

func (s ListFormInstancesResponse) String() string

type ListFormInstancesResponseBody

type ListFormInstancesResponseBody struct {
	// 返回结果对象。
	Result  *ListFormInstancesResponseBodyResult `json:"result,omitempty" xml:"result,omitempty" type:"Struct"`
	Success *bool                                `json:"success,omitempty" xml:"success,omitempty"`
}

func (ListFormInstancesResponseBody) GoString

func (*ListFormInstancesResponseBody) SetSuccess

func (ListFormInstancesResponseBody) String

type ListFormInstancesResponseBodyResult

type ListFormInstancesResponseBodyResult struct {
	// 是否还有下一页数据。
	HasMore *bool `json:"hasMore,omitempty" xml:"hasMore,omitempty"`
	// 填表实例列表。
	List []*ListFormInstancesResponseBodyResultList `json:"list,omitempty" xml:"list,omitempty" type:"Repeated"`
	// 下一次分页offset的值。
	NextToken *int64 `json:"nextToken,omitempty" xml:"nextToken,omitempty"`
}

func (ListFormInstancesResponseBodyResult) GoString

func (*ListFormInstancesResponseBodyResult) SetHasMore

func (*ListFormInstancesResponseBodyResult) SetNextToken

func (ListFormInstancesResponseBodyResult) String

type ListFormInstancesResponseBodyResultList

type ListFormInstancesResponseBodyResultList struct {
	// 创建时间。iso8601格式。
	CreateTime *string `json:"createTime,omitempty" xml:"createTime,omitempty"`
	// 填表code,用此code可调接口获取填表列表。
	FormCode *string `json:"formCode,omitempty" xml:"formCode,omitempty"`
	// 实例ID。
	FormInstanceId *string `json:"formInstanceId,omitempty" xml:"formInstanceId,omitempty"`
	// 表单内容列表。
	Forms []*ListFormInstancesResponseBodyResultListForms `json:"forms,omitempty" xml:"forms,omitempty" type:"Repeated"`
	// 更新时间。iso8601格式。
	ModifyTime *string `json:"modifyTime,omitempty" xml:"modifyTime,omitempty"`
	// 学生班级ID。
	StudentClassId *string `json:"studentClassId,omitempty" xml:"studentClassId,omitempty"`
	// 学生班级名称。
	StudentClassName *string `json:"studentClassName,omitempty" xml:"studentClassName,omitempty"`
	// 学生名称。
	StudentName *string `json:"studentName,omitempty" xml:"studentName,omitempty"`
	// 学生ID。
	StudentUserId *string `json:"studentUserId,omitempty" xml:"studentUserId,omitempty"`
	// 提交人的userid。
	SubmitterUserId *string `json:"submitterUserId,omitempty" xml:"submitterUserId,omitempty"`
	// 提交人姓名。
	SubmitterUserName *string `json:"submitterUserName,omitempty" xml:"submitterUserName,omitempty"`
	// 填表名称。
	Title *string `json:"title,omitempty" xml:"title,omitempty"`
}

func (ListFormInstancesResponseBodyResultList) GoString

func (*ListFormInstancesResponseBodyResultList) SetCreateTime

func (*ListFormInstancesResponseBodyResultList) SetFormCode

func (*ListFormInstancesResponseBodyResultList) SetFormInstanceId

func (*ListFormInstancesResponseBodyResultList) SetModifyTime

func (*ListFormInstancesResponseBodyResultList) SetStudentClassId

func (*ListFormInstancesResponseBodyResultList) SetStudentClassName

func (*ListFormInstancesResponseBodyResultList) SetStudentName

func (*ListFormInstancesResponseBodyResultList) SetStudentUserId

func (*ListFormInstancesResponseBodyResultList) SetSubmitterUserId

func (*ListFormInstancesResponseBodyResultList) SetSubmitterUserName

func (*ListFormInstancesResponseBodyResultList) SetTitle

func (ListFormInstancesResponseBodyResultList) String

type ListFormInstancesResponseBodyResultListForms

type ListFormInstancesResponseBodyResultListForms struct {
	// 表单控件key。
	Key *string `json:"key,omitempty" xml:"key,omitempty"`
	// 表单主题。  当label字段为空或不存在时,忽略这个label和value。
	Label *string `json:"label,omitempty" xml:"label,omitempty"`
	// 表单的值。
	Value *string `json:"value,omitempty" xml:"value,omitempty"`
}

func (ListFormInstancesResponseBodyResultListForms) GoString

func (*ListFormInstancesResponseBodyResultListForms) SetKey

func (*ListFormInstancesResponseBodyResultListForms) SetLabel

func (*ListFormInstancesResponseBodyResultListForms) SetValue

func (ListFormInstancesResponseBodyResultListForms) String

type ListFormSchemasByCreatorHeaders

type ListFormSchemasByCreatorHeaders struct {
	CommonHeaders           map[string]*string `json:"commonHeaders,omitempty" xml:"commonHeaders,omitempty"`
	XAcsDingtalkAccessToken *string            `json:"x-acs-dingtalk-access-token,omitempty" xml:"x-acs-dingtalk-access-token,omitempty"`
}

func (ListFormSchemasByCreatorHeaders) GoString

func (*ListFormSchemasByCreatorHeaders) SetCommonHeaders

func (*ListFormSchemasByCreatorHeaders) SetXAcsDingtalkAccessToken

func (ListFormSchemasByCreatorHeaders) String

type ListFormSchemasByCreatorRequest

type ListFormSchemasByCreatorRequest struct {
	// 填表类型。0表示通用填表,1表示教育版填表
	BizType *int32 `json:"bizType,omitempty" xml:"bizType,omitempty"`
	// 填表创建人userid
	Creator *string `json:"creator,omitempty" xml:"creator,omitempty"`
	// 分页大小,最大200
	MaxResults *int32 `json:"maxResults,omitempty" xml:"maxResults,omitempty"`
	// 分页游标,从0开始。后续取返回结果中nextToken的值。
	NextToken *int64 `json:"nextToken,omitempty" xml:"nextToken,omitempty"`
}

func (ListFormSchemasByCreatorRequest) GoString

func (*ListFormSchemasByCreatorRequest) SetBizType

func (*ListFormSchemasByCreatorRequest) SetCreator

func (*ListFormSchemasByCreatorRequest) SetMaxResults

func (*ListFormSchemasByCreatorRequest) SetNextToken

func (ListFormSchemasByCreatorRequest) String

type ListFormSchemasByCreatorResponse

type ListFormSchemasByCreatorResponse struct {
	Headers map[string]*string                    `json:"headers,omitempty" xml:"headers,omitempty" require:"true"`
	Body    *ListFormSchemasByCreatorResponseBody `json:"body,omitempty" xml:"body,omitempty" require:"true"`
}

func (ListFormSchemasByCreatorResponse) GoString

func (*ListFormSchemasByCreatorResponse) SetHeaders

func (ListFormSchemasByCreatorResponse) String

type ListFormSchemasByCreatorResponseBody

type ListFormSchemasByCreatorResponseBody struct {
	// 返回结果对象。
	Result *ListFormSchemasByCreatorResponseBodyResult `json:"result,omitempty" xml:"result,omitempty" type:"Struct"`
	// 是否成功。
	Success *bool `json:"success,omitempty" xml:"success,omitempty"`
}

func (ListFormSchemasByCreatorResponseBody) GoString

func (*ListFormSchemasByCreatorResponseBody) SetSuccess

func (ListFormSchemasByCreatorResponseBody) String

type ListFormSchemasByCreatorResponseBodyResult

type ListFormSchemasByCreatorResponseBodyResult struct {
	// 是否还有下一页数据。
	HasMore *bool `json:"hasMore,omitempty" xml:"hasMore,omitempty"`
	// 创建的填表列表。
	List []*ListFormSchemasByCreatorResponseBodyResultList `json:"list,omitempty" xml:"list,omitempty" type:"Repeated"`
	// 下一次分页offset的值。
	NextToken *int64 `json:"nextToken,omitempty" xml:"nextToken,omitempty"`
}

func (ListFormSchemasByCreatorResponseBodyResult) GoString

func (*ListFormSchemasByCreatorResponseBodyResult) SetHasMore

func (*ListFormSchemasByCreatorResponseBodyResult) SetNextToken

func (ListFormSchemasByCreatorResponseBodyResult) String

type ListFormSchemasByCreatorResponseBodyResultList

type ListFormSchemasByCreatorResponseBodyResultList struct {
	// 创建人。
	Creator *string `json:"creator,omitempty" xml:"creator,omitempty"`
	// 填表code,用此code可调接口获取填表列表。
	FormCode *string `json:"formCode,omitempty" xml:"formCode,omitempty"`
	// 填表提示。
	Memo *string `json:"memo,omitempty" xml:"memo,omitempty"`
	// 填表名称。
	Name *string `json:"name,omitempty" xml:"name,omitempty"`
	// 填表设置。
	Setting *ListFormSchemasByCreatorResponseBodyResultListSetting `json:"setting,omitempty" xml:"setting,omitempty" type:"Struct"`
}

func (ListFormSchemasByCreatorResponseBodyResultList) GoString

func (*ListFormSchemasByCreatorResponseBodyResultList) SetCreator

func (*ListFormSchemasByCreatorResponseBodyResultList) SetFormCode

func (*ListFormSchemasByCreatorResponseBodyResultList) SetMemo

func (*ListFormSchemasByCreatorResponseBodyResultList) SetName

func (ListFormSchemasByCreatorResponseBodyResultList) String

type ListFormSchemasByCreatorResponseBodyResultListSetting

type ListFormSchemasByCreatorResponseBodyResultListSetting struct {
	// 表单类型:  0:一次性填表  1:周期性填表
	BizType *int32 `json:"bizType,omitempty" xml:"bizType,omitempty"`
	// 创建时间。iso8601格式。
	CreateTime *string `json:"createTime,omitempty" xml:"createTime,omitempty"`
	// 截止时间。iso8601格式。
	EndTime *string `json:"endTime,omitempty" xml:"endTime,omitempty"`
	// 表单类型:  0:一次性填表  1:周期性填表
	FormType *int32 `json:"formType,omitempty" xml:"formType,omitempty"`
	// 填表周期,周一到周日分别用1-7表示。
	LoopDays []*int32 `json:"loopDays,omitempty" xml:"loopDays,omitempty" type:"Repeated"`
	// 循环执行的时间点。
	LoopTime *string `json:"loopTime,omitempty" xml:"loopTime,omitempty"`
	// 填表是否终止的标记。
	Stop *bool `json:"stop,omitempty" xml:"stop,omitempty"`
}

func (ListFormSchemasByCreatorResponseBodyResultListSetting) GoString

func (*ListFormSchemasByCreatorResponseBodyResultListSetting) SetBizType

func (*ListFormSchemasByCreatorResponseBodyResultListSetting) SetCreateTime

func (*ListFormSchemasByCreatorResponseBodyResultListSetting) SetEndTime

func (*ListFormSchemasByCreatorResponseBodyResultListSetting) SetFormType

func (*ListFormSchemasByCreatorResponseBodyResultListSetting) SetLoopDays

func (*ListFormSchemasByCreatorResponseBodyResultListSetting) SetLoopTime

func (*ListFormSchemasByCreatorResponseBodyResultListSetting) SetStop

func (ListFormSchemasByCreatorResponseBodyResultListSetting) String

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL