report_1_0

package
v1.6.11 Latest Latest
Warning

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

Go to latest
Published: Oct 18, 2023 License: Apache-2.0 Imports: 5 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) CreateTemplates

func (client *Client) CreateTemplates(request *CreateTemplatesRequest) (_result *CreateTemplatesResponse, _err error)

func (*Client) CreateTemplatesWithOptions

func (client *Client) CreateTemplatesWithOptions(request *CreateTemplatesRequest, headers *CreateTemplatesHeaders, runtime *util.RuntimeOptions) (_result *CreateTemplatesResponse, _err error)

func (*Client) Init

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

type CreateTemplatesHeaders

type CreateTemplatesHeaders 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 (CreateTemplatesHeaders) GoString

func (s CreateTemplatesHeaders) GoString() string

func (*CreateTemplatesHeaders) SetCommonHeaders

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

func (*CreateTemplatesHeaders) SetXAcsDingtalkAccessToken

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

func (CreateTemplatesHeaders) String

func (s CreateTemplatesHeaders) String() string

type CreateTemplatesRequest

type CreateTemplatesRequest struct {
	AllowAddReceivers           *bool                           `json:"allowAddReceivers,omitempty" xml:"allowAddReceivers,omitempty"`
	AllowEdit                   *bool                           `json:"allowEdit,omitempty" xml:"allowEdit,omitempty"`
	AllowGetLocation            *bool                           `json:"allowGetLocation,omitempty" xml:"allowGetLocation,omitempty"`
	AuthDeptIds                 []*string                       `json:"authDeptIds,omitempty" xml:"authDeptIds,omitempty" type:"Repeated"`
	AuthUserIds                 []*string                       `json:"authUserIds,omitempty" xml:"authUserIds,omitempty" type:"Repeated"`
	Creator                     *string                         `json:"creator,omitempty" xml:"creator,omitempty"`
	DefaultReceivedCids         []*string                       `json:"defaultReceivedCids,omitempty" xml:"defaultReceivedCids,omitempty" type:"Repeated"`
	DefaultReceivedMasterLevels []*string                       `json:"defaultReceivedMasterLevels,omitempty" xml:"defaultReceivedMasterLevels,omitempty" type:"Repeated"`
	DefaultReceivers            []*string                       `json:"defaultReceivers,omitempty" xml:"defaultReceivers,omitempty" type:"Repeated"`
	Fields                      []*CreateTemplatesRequestFields `json:"fields,omitempty" xml:"fields,omitempty" type:"Repeated"`
	MaxWordCount                *int32                          `json:"maxWordCount,omitempty" xml:"maxWordCount,omitempty"`
	MinWordCount                *int32                          `json:"minWordCount,omitempty" xml:"minWordCount,omitempty"`
	Name                        *string                         `json:"name,omitempty" xml:"name,omitempty"`
	TemplateManagers            []*string                       `json:"templateManagers,omitempty" xml:"templateManagers,omitempty" type:"Repeated"`
}

func (CreateTemplatesRequest) GoString

func (s CreateTemplatesRequest) GoString() string

func (*CreateTemplatesRequest) SetAllowAddReceivers

func (s *CreateTemplatesRequest) SetAllowAddReceivers(v bool) *CreateTemplatesRequest

func (*CreateTemplatesRequest) SetAllowEdit

func (*CreateTemplatesRequest) SetAllowGetLocation

func (s *CreateTemplatesRequest) SetAllowGetLocation(v bool) *CreateTemplatesRequest

func (*CreateTemplatesRequest) SetAuthDeptIds

func (s *CreateTemplatesRequest) SetAuthDeptIds(v []*string) *CreateTemplatesRequest

func (*CreateTemplatesRequest) SetAuthUserIds

func (s *CreateTemplatesRequest) SetAuthUserIds(v []*string) *CreateTemplatesRequest

func (*CreateTemplatesRequest) SetCreator

func (*CreateTemplatesRequest) SetDefaultReceivedCids

func (s *CreateTemplatesRequest) SetDefaultReceivedCids(v []*string) *CreateTemplatesRequest

func (*CreateTemplatesRequest) SetDefaultReceivedMasterLevels

func (s *CreateTemplatesRequest) SetDefaultReceivedMasterLevels(v []*string) *CreateTemplatesRequest

func (*CreateTemplatesRequest) SetDefaultReceivers

func (s *CreateTemplatesRequest) SetDefaultReceivers(v []*string) *CreateTemplatesRequest

func (*CreateTemplatesRequest) SetFields

func (*CreateTemplatesRequest) SetMaxWordCount

func (s *CreateTemplatesRequest) SetMaxWordCount(v int32) *CreateTemplatesRequest

func (*CreateTemplatesRequest) SetMinWordCount

func (s *CreateTemplatesRequest) SetMinWordCount(v int32) *CreateTemplatesRequest

func (*CreateTemplatesRequest) SetName

func (*CreateTemplatesRequest) SetTemplateManagers

func (s *CreateTemplatesRequest) SetTemplateManagers(v []*string) *CreateTemplatesRequest

func (CreateTemplatesRequest) String

func (s CreateTemplatesRequest) String() string

type CreateTemplatesRequestFields

type CreateTemplatesRequestFields struct {
	DataType  *int32                                 `json:"dataType,omitempty" xml:"dataType,omitempty"`
	DataValue *CreateTemplatesRequestFieldsDataValue `json:"dataValue,omitempty" xml:"dataValue,omitempty" type:"Struct"`
	FieldName *string                                `json:"fieldName,omitempty" xml:"fieldName,omitempty"`
	Need      *bool                                  `json:"need,omitempty" xml:"need,omitempty"`
	Order     *int32                                 `json:"order,omitempty" xml:"order,omitempty"`
	Sort      *int32                                 `json:"sort,omitempty" xml:"sort,omitempty"`
}

func (CreateTemplatesRequestFields) GoString

func (s CreateTemplatesRequestFields) GoString() string

func (*CreateTemplatesRequestFields) SetDataType

func (*CreateTemplatesRequestFields) SetFieldName

func (*CreateTemplatesRequestFields) SetNeed

func (*CreateTemplatesRequestFields) SetOrder

func (*CreateTemplatesRequestFields) SetSort

func (CreateTemplatesRequestFields) String

type CreateTemplatesRequestFieldsDataValue

type CreateTemplatesRequestFieldsDataValue struct {
	OpenInfo    *CreateTemplatesRequestFieldsDataValueOpenInfo `json:"openInfo,omitempty" xml:"openInfo,omitempty" type:"Struct"`
	Options     []*string                                      `json:"options,omitempty" xml:"options,omitempty" type:"Repeated"`
	Placeholder *string                                        `json:"placeholder,omitempty" xml:"placeholder,omitempty"`
}

func (CreateTemplatesRequestFieldsDataValue) GoString

func (*CreateTemplatesRequestFieldsDataValue) SetOptions

func (*CreateTemplatesRequestFieldsDataValue) SetPlaceholder

func (CreateTemplatesRequestFieldsDataValue) String

type CreateTemplatesRequestFieldsDataValueOpenInfo

type CreateTemplatesRequestFieldsDataValueOpenInfo struct {
	Attribute map[string]*string `json:"attribute,omitempty" xml:"attribute,omitempty"`
	OpenId    *string            `json:"openId,omitempty" xml:"openId,omitempty"`
}

func (CreateTemplatesRequestFieldsDataValueOpenInfo) GoString

func (*CreateTemplatesRequestFieldsDataValueOpenInfo) SetAttribute

func (*CreateTemplatesRequestFieldsDataValueOpenInfo) SetOpenId

func (CreateTemplatesRequestFieldsDataValueOpenInfo) String

type CreateTemplatesResponse

type CreateTemplatesResponse struct {
	Headers    map[string]*string           `json:"headers,omitempty" xml:"headers,omitempty" require:"true"`
	StatusCode *int32                       `json:"statusCode,omitempty" xml:"statusCode,omitempty" require:"true"`
	Body       *CreateTemplatesResponseBody `json:"body,omitempty" xml:"body,omitempty" require:"true"`
}

func (CreateTemplatesResponse) GoString

func (s CreateTemplatesResponse) GoString() string

func (*CreateTemplatesResponse) SetBody

func (*CreateTemplatesResponse) SetHeaders

func (*CreateTemplatesResponse) SetStatusCode

func (CreateTemplatesResponse) String

func (s CreateTemplatesResponse) String() string

type CreateTemplatesResponseBody

type CreateTemplatesResponseBody struct {
	TemplateId *string `json:"templateId,omitempty" xml:"templateId,omitempty"`
}

func (CreateTemplatesResponseBody) GoString

func (s CreateTemplatesResponseBody) GoString() string

func (*CreateTemplatesResponseBody) SetTemplateId

func (CreateTemplatesResponseBody) String

Jump to

Keyboard shortcuts

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