oauth2_1_0

package
v2.0.83 Latest Latest
Warning

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

Go to latest
Published: Jan 31, 2024 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) CreateJsapiTicket

func (client *Client) CreateJsapiTicket() (_result *CreateJsapiTicketResponse, _err error)

func (*Client) CreateJsapiTicketWithOptions

func (client *Client) CreateJsapiTicketWithOptions(headers *CreateJsapiTicketHeaders, runtime *util.RuntimeOptions) (_result *CreateJsapiTicketResponse, _err error)

func (*Client) GetAccessToken

func (client *Client) GetAccessToken(request *GetAccessTokenRequest) (_result *GetAccessTokenResponse, _err error)

func (*Client) GetAccessTokenWithOptions

func (client *Client) GetAccessTokenWithOptions(request *GetAccessTokenRequest, headers map[string]*string, runtime *util.RuntimeOptions) (_result *GetAccessTokenResponse, _err error)

func (*Client) GetAuthInfo

func (client *Client) GetAuthInfo(request *GetAuthInfoRequest) (_result *GetAuthInfoResponse, _err error)

func (*Client) GetAuthInfoWithOptions

func (client *Client) GetAuthInfoWithOptions(request *GetAuthInfoRequest, headers *GetAuthInfoHeaders, runtime *util.RuntimeOptions) (_result *GetAuthInfoResponse, _err error)

func (*Client) GetCorpAccessToken

func (client *Client) GetCorpAccessToken(request *GetCorpAccessTokenRequest) (_result *GetCorpAccessTokenResponse, _err error)

func (*Client) GetCorpAccessTokenWithOptions

func (client *Client) GetCorpAccessTokenWithOptions(request *GetCorpAccessTokenRequest, headers map[string]*string, runtime *util.RuntimeOptions) (_result *GetCorpAccessTokenResponse, _err error)

func (*Client) GetPersonalAuthRule

func (client *Client) GetPersonalAuthRule() (_result *GetPersonalAuthRuleResponse, _err error)

func (*Client) GetPersonalAuthRuleWithOptions

func (client *Client) GetPersonalAuthRuleWithOptions(headers *GetPersonalAuthRuleHeaders, runtime *util.RuntimeOptions) (_result *GetPersonalAuthRuleResponse, _err error)

func (*Client) GetSsoAccessToken

func (client *Client) GetSsoAccessToken(request *GetSsoAccessTokenRequest) (_result *GetSsoAccessTokenResponse, _err error)

func (*Client) GetSsoAccessTokenWithOptions

func (client *Client) GetSsoAccessTokenWithOptions(request *GetSsoAccessTokenRequest, headers map[string]*string, runtime *util.RuntimeOptions) (_result *GetSsoAccessTokenResponse, _err error)

func (*Client) GetSsoUserInfo

func (client *Client) GetSsoUserInfo(request *GetSsoUserInfoRequest) (_result *GetSsoUserInfoResponse, _err error)

func (*Client) GetSsoUserInfoWithOptions

func (client *Client) GetSsoUserInfoWithOptions(request *GetSsoUserInfoRequest, headers *GetSsoUserInfoHeaders, runtime *util.RuntimeOptions) (_result *GetSsoUserInfoResponse, _err error)

func (*Client) GetSuiteAccessToken

func (client *Client) GetSuiteAccessToken(request *GetSuiteAccessTokenRequest) (_result *GetSuiteAccessTokenResponse, _err error)

func (*Client) GetSuiteAccessTokenWithOptions

func (client *Client) GetSuiteAccessTokenWithOptions(request *GetSuiteAccessTokenRequest, headers map[string]*string, runtime *util.RuntimeOptions) (_result *GetSuiteAccessTokenResponse, _err error)

func (*Client) GetToken added in v2.0.83

func (client *Client) GetToken(corpId *string, request *GetTokenRequest) (_result *GetTokenResponse, _err error)

func (*Client) GetTokenWithOptions added in v2.0.83

func (client *Client) GetTokenWithOptions(corpId *string, request *GetTokenRequest, headers map[string]*string, runtime *util.RuntimeOptions) (_result *GetTokenResponse, _err error)

func (*Client) GetUserToken

func (client *Client) GetUserToken(request *GetUserTokenRequest) (_result *GetUserTokenResponse, _err error)

func (*Client) GetUserTokenWithOptions

func (client *Client) GetUserTokenWithOptions(request *GetUserTokenRequest, headers map[string]*string, runtime *util.RuntimeOptions) (_result *GetUserTokenResponse, _err error)

func (*Client) Init

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

type CreateJsapiTicketHeaders

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

func (s CreateJsapiTicketHeaders) GoString() string

func (*CreateJsapiTicketHeaders) SetCommonHeaders

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

func (*CreateJsapiTicketHeaders) SetXAcsDingtalkAccessToken

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

func (CreateJsapiTicketHeaders) String

func (s CreateJsapiTicketHeaders) String() string

type CreateJsapiTicketResponse

type CreateJsapiTicketResponse struct {
	Headers    map[string]*string             `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                         `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *CreateJsapiTicketResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (CreateJsapiTicketResponse) GoString

func (s CreateJsapiTicketResponse) GoString() string

func (*CreateJsapiTicketResponse) SetBody

func (*CreateJsapiTicketResponse) SetHeaders

func (*CreateJsapiTicketResponse) SetStatusCode

func (CreateJsapiTicketResponse) String

func (s CreateJsapiTicketResponse) String() string

type CreateJsapiTicketResponseBody

type CreateJsapiTicketResponseBody struct {
	ExpireIn    *int64  `json:"expireIn,omitempty" xml:"expireIn,omitempty"`
	JsapiTicket *string `json:"jsapiTicket,omitempty" xml:"jsapiTicket,omitempty"`
}

func (CreateJsapiTicketResponseBody) GoString

func (*CreateJsapiTicketResponseBody) SetExpireIn

func (*CreateJsapiTicketResponseBody) SetJsapiTicket

func (CreateJsapiTicketResponseBody) String

type GetAccessTokenRequest

type GetAccessTokenRequest struct {
	AppKey    *string `json:"appKey,omitempty" xml:"appKey,omitempty"`
	AppSecret *string `json:"appSecret,omitempty" xml:"appSecret,omitempty"`
}

func (GetAccessTokenRequest) GoString

func (s GetAccessTokenRequest) GoString() string

func (*GetAccessTokenRequest) SetAppKey

func (*GetAccessTokenRequest) SetAppSecret

func (GetAccessTokenRequest) String

func (s GetAccessTokenRequest) String() string

type GetAccessTokenResponse

type GetAccessTokenResponse struct {
	Headers    map[string]*string          `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                      `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *GetAccessTokenResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (GetAccessTokenResponse) GoString

func (s GetAccessTokenResponse) GoString() string

func (*GetAccessTokenResponse) SetBody

func (*GetAccessTokenResponse) SetHeaders

func (*GetAccessTokenResponse) SetStatusCode

func (GetAccessTokenResponse) String

func (s GetAccessTokenResponse) String() string

type GetAccessTokenResponseBody

type GetAccessTokenResponseBody struct {
	AccessToken *string `json:"accessToken,omitempty" xml:"accessToken,omitempty"`
	ExpireIn    *int64  `json:"expireIn,omitempty" xml:"expireIn,omitempty"`
}

func (GetAccessTokenResponseBody) GoString

func (s GetAccessTokenResponseBody) GoString() string

func (*GetAccessTokenResponseBody) SetAccessToken

func (*GetAccessTokenResponseBody) SetExpireIn

func (GetAccessTokenResponseBody) String

type GetAuthInfoHeaders

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

func (s GetAuthInfoHeaders) GoString() string

func (*GetAuthInfoHeaders) SetCommonHeaders

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

func (*GetAuthInfoHeaders) SetXAcsDingtalkAccessToken

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

func (GetAuthInfoHeaders) String

func (s GetAuthInfoHeaders) String() string

type GetAuthInfoRequest

type GetAuthInfoRequest struct {
	AuthCorpId *string `json:"authCorpId,omitempty" xml:"authCorpId,omitempty"`
}

func (GetAuthInfoRequest) GoString

func (s GetAuthInfoRequest) GoString() string

func (*GetAuthInfoRequest) SetAuthCorpId

func (s *GetAuthInfoRequest) SetAuthCorpId(v string) *GetAuthInfoRequest

func (GetAuthInfoRequest) String

func (s GetAuthInfoRequest) String() string

type GetAuthInfoResponse

type GetAuthInfoResponse struct {
	Headers    map[string]*string       `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                   `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *GetAuthInfoResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (GetAuthInfoResponse) GoString

func (s GetAuthInfoResponse) GoString() string

func (*GetAuthInfoResponse) SetBody

func (*GetAuthInfoResponse) SetHeaders

func (s *GetAuthInfoResponse) SetHeaders(v map[string]*string) *GetAuthInfoResponse

func (*GetAuthInfoResponse) SetStatusCode

func (s *GetAuthInfoResponse) SetStatusCode(v int32) *GetAuthInfoResponse

func (GetAuthInfoResponse) String

func (s GetAuthInfoResponse) String() string

type GetAuthInfoResponseBody

type GetAuthInfoResponseBody struct {
	AuthAppInfo  *GetAuthInfoResponseBodyAuthAppInfo  `json:"authAppInfo,omitempty" xml:"authAppInfo,omitempty" type:"Struct"`
	AuthCorpInfo *GetAuthInfoResponseBodyAuthCorpInfo `json:"authCorpInfo,omitempty" xml:"authCorpInfo,omitempty" type:"Struct"`
	AuthUserInfo *GetAuthInfoResponseBodyAuthUserInfo `json:"authUserInfo,omitempty" xml:"authUserInfo,omitempty" type:"Struct"`
}

func (GetAuthInfoResponseBody) GoString

func (s GetAuthInfoResponseBody) GoString() string

func (*GetAuthInfoResponseBody) SetAuthAppInfo

func (*GetAuthInfoResponseBody) SetAuthCorpInfo

func (*GetAuthInfoResponseBody) SetAuthUserInfo

func (GetAuthInfoResponseBody) String

func (s GetAuthInfoResponseBody) String() string

type GetAuthInfoResponseBodyAuthAppInfo

type GetAuthInfoResponseBodyAuthAppInfo struct {
	AgentList []*GetAuthInfoResponseBodyAuthAppInfoAgentList `json:"agentList,omitempty" xml:"agentList,omitempty" type:"Repeated"`
}

func (GetAuthInfoResponseBodyAuthAppInfo) GoString

func (GetAuthInfoResponseBodyAuthAppInfo) String

type GetAuthInfoResponseBodyAuthAppInfoAgentList

type GetAuthInfoResponseBodyAuthAppInfoAgentList struct {
	AdminList []*string `json:"adminList,omitempty" xml:"adminList,omitempty" type:"Repeated"`
	AgentId   *int64    `json:"agentId,omitempty" xml:"agentId,omitempty"`
	AgentName *string   `json:"agentName,omitempty" xml:"agentName,omitempty"`
	AppId     *int64    `json:"appId,omitempty" xml:"appId,omitempty"`
}

func (GetAuthInfoResponseBodyAuthAppInfoAgentList) GoString

func (*GetAuthInfoResponseBodyAuthAppInfoAgentList) SetAdminList

func (*GetAuthInfoResponseBodyAuthAppInfoAgentList) SetAgentId

func (*GetAuthInfoResponseBodyAuthAppInfoAgentList) SetAgentName

func (*GetAuthInfoResponseBodyAuthAppInfoAgentList) SetAppId

func (GetAuthInfoResponseBodyAuthAppInfoAgentList) String

type GetAuthInfoResponseBodyAuthCorpInfo

type GetAuthInfoResponseBodyAuthCorpInfo struct {
	AuthChannel     *string `json:"authChannel,omitempty" xml:"authChannel,omitempty"`
	AuthChannelType *string `json:"authChannelType,omitempty" xml:"authChannelType,omitempty"`
	AuthLevel       *int64  `json:"authLevel,omitempty" xml:"authLevel,omitempty"`
	CorpLogoUrl     *string `json:"corpLogoUrl,omitempty" xml:"corpLogoUrl,omitempty"`
	CorpName        *string `json:"corpName,omitempty" xml:"corpName,omitempty"`
	Industry        *string `json:"industry,omitempty" xml:"industry,omitempty"`
	InviteCode      *string `json:"inviteCode,omitempty" xml:"inviteCode,omitempty"`
	InviteUrl       *string `json:"inviteUrl,omitempty" xml:"inviteUrl,omitempty"`
	LicenseCode     *string `json:"licenseCode,omitempty" xml:"licenseCode,omitempty"`
}

func (GetAuthInfoResponseBodyAuthCorpInfo) GoString

func (*GetAuthInfoResponseBodyAuthCorpInfo) SetAuthChannel

func (*GetAuthInfoResponseBodyAuthCorpInfo) SetAuthChannelType

func (*GetAuthInfoResponseBodyAuthCorpInfo) SetAuthLevel

func (*GetAuthInfoResponseBodyAuthCorpInfo) SetCorpLogoUrl

func (*GetAuthInfoResponseBodyAuthCorpInfo) SetCorpName

func (*GetAuthInfoResponseBodyAuthCorpInfo) SetIndustry

func (*GetAuthInfoResponseBodyAuthCorpInfo) SetInviteCode

func (*GetAuthInfoResponseBodyAuthCorpInfo) SetInviteUrl

func (*GetAuthInfoResponseBodyAuthCorpInfo) SetLicenseCode

func (GetAuthInfoResponseBodyAuthCorpInfo) String

type GetAuthInfoResponseBodyAuthUserInfo

type GetAuthInfoResponseBodyAuthUserInfo struct {
	UserId *string `json:"userId,omitempty" xml:"userId,omitempty"`
}

func (GetAuthInfoResponseBodyAuthUserInfo) GoString

func (*GetAuthInfoResponseBodyAuthUserInfo) SetUserId

func (GetAuthInfoResponseBodyAuthUserInfo) String

type GetCorpAccessTokenRequest

type GetCorpAccessTokenRequest struct {
	AuthCorpId  *string `json:"authCorpId,omitempty" xml:"authCorpId,omitempty"`
	SuiteKey    *string `json:"suiteKey,omitempty" xml:"suiteKey,omitempty"`
	SuiteSecret *string `json:"suiteSecret,omitempty" xml:"suiteSecret,omitempty"`
	SuiteTicket *string `json:"suiteTicket,omitempty" xml:"suiteTicket,omitempty"`
}

func (GetCorpAccessTokenRequest) GoString

func (s GetCorpAccessTokenRequest) GoString() string

func (*GetCorpAccessTokenRequest) SetAuthCorpId

func (*GetCorpAccessTokenRequest) SetSuiteKey

func (*GetCorpAccessTokenRequest) SetSuiteSecret

func (*GetCorpAccessTokenRequest) SetSuiteTicket

func (GetCorpAccessTokenRequest) String

func (s GetCorpAccessTokenRequest) String() string

type GetCorpAccessTokenResponse

type GetCorpAccessTokenResponse struct {
	Headers    map[string]*string              `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                          `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *GetCorpAccessTokenResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (GetCorpAccessTokenResponse) GoString

func (s GetCorpAccessTokenResponse) GoString() string

func (*GetCorpAccessTokenResponse) SetBody

func (*GetCorpAccessTokenResponse) SetHeaders

func (*GetCorpAccessTokenResponse) SetStatusCode

func (GetCorpAccessTokenResponse) String

type GetCorpAccessTokenResponseBody

type GetCorpAccessTokenResponseBody struct {
	AccessToken *string `json:"accessToken,omitempty" xml:"accessToken,omitempty"`
	ExpireIn    *int64  `json:"expireIn,omitempty" xml:"expireIn,omitempty"`
}

func (GetCorpAccessTokenResponseBody) GoString

func (*GetCorpAccessTokenResponseBody) SetAccessToken

func (*GetCorpAccessTokenResponseBody) SetExpireIn

func (GetCorpAccessTokenResponseBody) String

type GetPersonalAuthRuleHeaders

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

func (s GetPersonalAuthRuleHeaders) GoString() string

func (*GetPersonalAuthRuleHeaders) SetCommonHeaders

func (*GetPersonalAuthRuleHeaders) SetXAcsDingtalkAccessToken

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

func (GetPersonalAuthRuleHeaders) String

type GetPersonalAuthRuleResponse

type GetPersonalAuthRuleResponse struct {
	Headers    map[string]*string               `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                           `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *GetPersonalAuthRuleResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (GetPersonalAuthRuleResponse) GoString

func (s GetPersonalAuthRuleResponse) GoString() string

func (*GetPersonalAuthRuleResponse) SetBody

func (*GetPersonalAuthRuleResponse) SetHeaders

func (*GetPersonalAuthRuleResponse) SetStatusCode

func (GetPersonalAuthRuleResponse) String

type GetPersonalAuthRuleResponseBody

type GetPersonalAuthRuleResponseBody struct {
	Result []*GetPersonalAuthRuleResponseBodyResult `json:"result,omitempty" xml:"result,omitempty" type:"Repeated"`
}

func (GetPersonalAuthRuleResponseBody) GoString

func (GetPersonalAuthRuleResponseBody) String

type GetPersonalAuthRuleResponseBodyResult

type GetPersonalAuthRuleResponseBodyResult struct {
	AuthItems []*string `json:"authItems,omitempty" xml:"authItems,omitempty" type:"Repeated"`
	Resource  *string   `json:"resource,omitempty" xml:"resource,omitempty"`
}

func (GetPersonalAuthRuleResponseBodyResult) GoString

func (*GetPersonalAuthRuleResponseBodyResult) SetAuthItems

func (*GetPersonalAuthRuleResponseBodyResult) SetResource

func (GetPersonalAuthRuleResponseBodyResult) String

type GetSsoAccessTokenRequest

type GetSsoAccessTokenRequest struct {
	Corpid    *string `json:"corpid,omitempty" xml:"corpid,omitempty"`
	SsoSecret *string `json:"ssoSecret,omitempty" xml:"ssoSecret,omitempty"`
}

func (GetSsoAccessTokenRequest) GoString

func (s GetSsoAccessTokenRequest) GoString() string

func (*GetSsoAccessTokenRequest) SetCorpid

func (*GetSsoAccessTokenRequest) SetSsoSecret

func (GetSsoAccessTokenRequest) String

func (s GetSsoAccessTokenRequest) String() string

type GetSsoAccessTokenResponse

type GetSsoAccessTokenResponse struct {
	Headers    map[string]*string             `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                         `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *GetSsoAccessTokenResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (GetSsoAccessTokenResponse) GoString

func (s GetSsoAccessTokenResponse) GoString() string

func (*GetSsoAccessTokenResponse) SetBody

func (*GetSsoAccessTokenResponse) SetHeaders

func (*GetSsoAccessTokenResponse) SetStatusCode

func (GetSsoAccessTokenResponse) String

func (s GetSsoAccessTokenResponse) String() string

type GetSsoAccessTokenResponseBody

type GetSsoAccessTokenResponseBody struct {
	AccessToken *string `json:"accessToken,omitempty" xml:"accessToken,omitempty"`
	ExpireIn    *int64  `json:"expireIn,omitempty" xml:"expireIn,omitempty"`
}

func (GetSsoAccessTokenResponseBody) GoString

func (*GetSsoAccessTokenResponseBody) SetAccessToken

func (*GetSsoAccessTokenResponseBody) SetExpireIn

func (GetSsoAccessTokenResponseBody) String

type GetSsoUserInfoHeaders

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

func (s GetSsoUserInfoHeaders) GoString() string

func (*GetSsoUserInfoHeaders) SetCommonHeaders

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

func (*GetSsoUserInfoHeaders) SetXAcsDingtalkAccessToken

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

func (GetSsoUserInfoHeaders) String

func (s GetSsoUserInfoHeaders) String() string

type GetSsoUserInfoRequest

type GetSsoUserInfoRequest struct {
	Code *string `json:"code,omitempty" xml:"code,omitempty"`
}

func (GetSsoUserInfoRequest) GoString

func (s GetSsoUserInfoRequest) GoString() string

func (*GetSsoUserInfoRequest) SetCode

func (GetSsoUserInfoRequest) String

func (s GetSsoUserInfoRequest) String() string

type GetSsoUserInfoResponse

type GetSsoUserInfoResponse struct {
	Headers    map[string]*string          `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                      `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *GetSsoUserInfoResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (GetSsoUserInfoResponse) GoString

func (s GetSsoUserInfoResponse) GoString() string

func (*GetSsoUserInfoResponse) SetBody

func (*GetSsoUserInfoResponse) SetHeaders

func (*GetSsoUserInfoResponse) SetStatusCode

func (GetSsoUserInfoResponse) String

func (s GetSsoUserInfoResponse) String() string

type GetSsoUserInfoResponseBody

type GetSsoUserInfoResponseBody struct {
	Avatar   *string `json:"avatar,omitempty" xml:"avatar,omitempty"`
	CorpId   *string `json:"corpId,omitempty" xml:"corpId,omitempty"`
	CorpName *string `json:"corpName,omitempty" xml:"corpName,omitempty"`
	Email    *string `json:"email,omitempty" xml:"email,omitempty"`
	IsAdmin  *bool   `json:"isAdmin,omitempty" xml:"isAdmin,omitempty"`
	UserId   *string `json:"userId,omitempty" xml:"userId,omitempty"`
	UserName *string `json:"userName,omitempty" xml:"userName,omitempty"`
}

func (GetSsoUserInfoResponseBody) GoString

func (s GetSsoUserInfoResponseBody) GoString() string

func (*GetSsoUserInfoResponseBody) SetAvatar

func (*GetSsoUserInfoResponseBody) SetCorpId

func (*GetSsoUserInfoResponseBody) SetCorpName

func (*GetSsoUserInfoResponseBody) SetEmail

func (*GetSsoUserInfoResponseBody) SetIsAdmin

func (*GetSsoUserInfoResponseBody) SetUserId

func (*GetSsoUserInfoResponseBody) SetUserName

func (GetSsoUserInfoResponseBody) String

type GetSuiteAccessTokenRequest

type GetSuiteAccessTokenRequest struct {
	SuiteKey    *string `json:"suiteKey,omitempty" xml:"suiteKey,omitempty"`
	SuiteSecret *string `json:"suiteSecret,omitempty" xml:"suiteSecret,omitempty"`
	SuiteTicket *string `json:"suiteTicket,omitempty" xml:"suiteTicket,omitempty"`
}

func (GetSuiteAccessTokenRequest) GoString

func (s GetSuiteAccessTokenRequest) GoString() string

func (*GetSuiteAccessTokenRequest) SetSuiteKey

func (*GetSuiteAccessTokenRequest) SetSuiteSecret

func (*GetSuiteAccessTokenRequest) SetSuiteTicket

func (GetSuiteAccessTokenRequest) String

type GetSuiteAccessTokenResponse

type GetSuiteAccessTokenResponse struct {
	Headers    map[string]*string               `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                           `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *GetSuiteAccessTokenResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (GetSuiteAccessTokenResponse) GoString

func (s GetSuiteAccessTokenResponse) GoString() string

func (*GetSuiteAccessTokenResponse) SetBody

func (*GetSuiteAccessTokenResponse) SetHeaders

func (*GetSuiteAccessTokenResponse) SetStatusCode

func (GetSuiteAccessTokenResponse) String

type GetSuiteAccessTokenResponseBody

type GetSuiteAccessTokenResponseBody struct {
	AccessToken *string `json:"accessToken,omitempty" xml:"accessToken,omitempty"`
	ExpireIn    *int64  `json:"expireIn,omitempty" xml:"expireIn,omitempty"`
}

func (GetSuiteAccessTokenResponseBody) GoString

func (*GetSuiteAccessTokenResponseBody) SetAccessToken

func (*GetSuiteAccessTokenResponseBody) SetExpireIn

func (GetSuiteAccessTokenResponseBody) String

type GetTokenRequest added in v2.0.83

type GetTokenRequest struct {
	ClientId     *string `json:"client_id,omitempty" xml:"client_id,omitempty"`
	ClientSecret *string `json:"client_secret,omitempty" xml:"client_secret,omitempty"`
	GrantType    *string `json:"grant_type,omitempty" xml:"grant_type,omitempty"`
}

func (GetTokenRequest) GoString added in v2.0.83

func (s GetTokenRequest) GoString() string

func (*GetTokenRequest) SetClientId added in v2.0.83

func (s *GetTokenRequest) SetClientId(v string) *GetTokenRequest

func (*GetTokenRequest) SetClientSecret added in v2.0.83

func (s *GetTokenRequest) SetClientSecret(v string) *GetTokenRequest

func (*GetTokenRequest) SetGrantType added in v2.0.83

func (s *GetTokenRequest) SetGrantType(v string) *GetTokenRequest

func (GetTokenRequest) String added in v2.0.83

func (s GetTokenRequest) String() string

type GetTokenResponse added in v2.0.83

type GetTokenResponse struct {
	Headers    map[string]*string    `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *GetTokenResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (GetTokenResponse) GoString added in v2.0.83

func (s GetTokenResponse) GoString() string

func (*GetTokenResponse) SetBody added in v2.0.83

func (*GetTokenResponse) SetHeaders added in v2.0.83

func (s *GetTokenResponse) SetHeaders(v map[string]*string) *GetTokenResponse

func (*GetTokenResponse) SetStatusCode added in v2.0.83

func (s *GetTokenResponse) SetStatusCode(v int32) *GetTokenResponse

func (GetTokenResponse) String added in v2.0.83

func (s GetTokenResponse) String() string

type GetTokenResponseBody added in v2.0.83

type GetTokenResponseBody struct {
	AccessToken *string `json:"access_token,omitempty" xml:"access_token,omitempty"`
	ExpiresIn   *int32  `json:"expires_in,omitempty" xml:"expires_in,omitempty"`
}

func (GetTokenResponseBody) GoString added in v2.0.83

func (s GetTokenResponseBody) GoString() string

func (*GetTokenResponseBody) SetAccessToken added in v2.0.83

func (s *GetTokenResponseBody) SetAccessToken(v string) *GetTokenResponseBody

func (*GetTokenResponseBody) SetExpiresIn added in v2.0.83

func (s *GetTokenResponseBody) SetExpiresIn(v int32) *GetTokenResponseBody

func (GetTokenResponseBody) String added in v2.0.83

func (s GetTokenResponseBody) String() string

type GetUserTokenRequest

type GetUserTokenRequest struct {
	ClientId     *string `json:"clientId,omitempty" xml:"clientId,omitempty"`
	ClientSecret *string `json:"clientSecret,omitempty" xml:"clientSecret,omitempty"`
	Code         *string `json:"code,omitempty" xml:"code,omitempty"`
	GrantType    *string `json:"grantType,omitempty" xml:"grantType,omitempty"`
	RefreshToken *string `json:"refreshToken,omitempty" xml:"refreshToken,omitempty"`
}

func (GetUserTokenRequest) GoString

func (s GetUserTokenRequest) GoString() string

func (*GetUserTokenRequest) SetClientId

func (s *GetUserTokenRequest) SetClientId(v string) *GetUserTokenRequest

func (*GetUserTokenRequest) SetClientSecret

func (s *GetUserTokenRequest) SetClientSecret(v string) *GetUserTokenRequest

func (*GetUserTokenRequest) SetCode

func (*GetUserTokenRequest) SetGrantType

func (s *GetUserTokenRequest) SetGrantType(v string) *GetUserTokenRequest

func (*GetUserTokenRequest) SetRefreshToken

func (s *GetUserTokenRequest) SetRefreshToken(v string) *GetUserTokenRequest

func (GetUserTokenRequest) String

func (s GetUserTokenRequest) String() string

type GetUserTokenResponse

type GetUserTokenResponse struct {
	Headers    map[string]*string        `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                    `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *GetUserTokenResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (GetUserTokenResponse) GoString

func (s GetUserTokenResponse) GoString() string

func (*GetUserTokenResponse) SetBody

func (*GetUserTokenResponse) SetHeaders

func (s *GetUserTokenResponse) SetHeaders(v map[string]*string) *GetUserTokenResponse

func (*GetUserTokenResponse) SetStatusCode

func (s *GetUserTokenResponse) SetStatusCode(v int32) *GetUserTokenResponse

func (GetUserTokenResponse) String

func (s GetUserTokenResponse) String() string

type GetUserTokenResponseBody

type GetUserTokenResponseBody struct {
	AccessToken  *string `json:"accessToken,omitempty" xml:"accessToken,omitempty"`
	CorpId       *string `json:"corpId,omitempty" xml:"corpId,omitempty"`
	ExpireIn     *int64  `json:"expireIn,omitempty" xml:"expireIn,omitempty"`
	RefreshToken *string `json:"refreshToken,omitempty" xml:"refreshToken,omitempty"`
}

func (GetUserTokenResponseBody) GoString

func (s GetUserTokenResponseBody) GoString() string

func (*GetUserTokenResponseBody) SetAccessToken

func (*GetUserTokenResponseBody) SetCorpId

func (*GetUserTokenResponseBody) SetExpireIn

func (*GetUserTokenResponseBody) SetRefreshToken

func (GetUserTokenResponseBody) String

func (s GetUserTokenResponseBody) String() string

Jump to

Keyboard shortcuts

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