Documentation ¶
Overview ¶
Package passport code generated by oapi sdk gen
Package passport code generated by oapi sdk gen
Index ¶
- Constants
- type Credentials
- type CredentialsBuilder
- type IdpCredential
- type IdpCredentialId
- type IdpCredentialIdBuilder
- type MaskSession
- type MaskSessionBuilder
- func (builder *MaskSessionBuilder) Build() *MaskSession
- func (builder *MaskSessionBuilder) CreateTime(createTime int64) *MaskSessionBuilder
- func (builder *MaskSessionBuilder) TerminalType(terminalType int) *MaskSessionBuilder
- func (builder *MaskSessionBuilder) UserId(userId string) *MaskSessionBuilder
- type PassportService
- type QuerySessionPathReqBodyBuilder
- type QuerySessionReq
- type QuerySessionReqBody
- type QuerySessionReqBodyBuilder
- type QuerySessionReqBuilder
- type QuerySessionResp
- type QuerySessionRespData
Constants ¶
View Source
const ( UserIdTypeOpenId = "open_id" UserIdTypeUnionId = "union_id" UserIdTypeUserId = "user_id" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Credentials ¶
type CredentialsBuilder ¶
type CredentialsBuilder struct {
// contains filtered or unexported fields
}
builder开始
func NewCredentialsBuilder ¶
func NewCredentialsBuilder() *CredentialsBuilder
func (*CredentialsBuilder) Build ¶
func (builder *CredentialsBuilder) Build() *Credentials
func (*CredentialsBuilder) Email ¶
func (builder *CredentialsBuilder) Email(email string) *CredentialsBuilder
func (*CredentialsBuilder) Mobile ¶
func (builder *CredentialsBuilder) Mobile(mobile string) *CredentialsBuilder
func (*CredentialsBuilder) UserId ¶
func (builder *CredentialsBuilder) UserId(userId string) *CredentialsBuilder
type IdpCredential ¶
type IdpCredential struct { }
type IdpCredentialId ¶
type IdpCredentialId struct {
IdpCredentialId *string `json:"idp_credential_id,omitempty"`
}
type IdpCredentialIdBuilder ¶
type IdpCredentialIdBuilder struct {
// contains filtered or unexported fields
}
builder开始
func NewIdpCredentialIdBuilder ¶
func NewIdpCredentialIdBuilder() *IdpCredentialIdBuilder
func (*IdpCredentialIdBuilder) Build ¶
func (builder *IdpCredentialIdBuilder) Build() *IdpCredentialId
func (*IdpCredentialIdBuilder) IdpCredentialId ¶
func (builder *IdpCredentialIdBuilder) IdpCredentialId(idpCredentialId string) *IdpCredentialIdBuilder
type MaskSession ¶
type MaskSessionBuilder ¶
type MaskSessionBuilder struct {
// contains filtered or unexported fields
}
builder开始
func NewMaskSessionBuilder ¶
func NewMaskSessionBuilder() *MaskSessionBuilder
func (*MaskSessionBuilder) Build ¶
func (builder *MaskSessionBuilder) Build() *MaskSession
func (*MaskSessionBuilder) CreateTime ¶
func (builder *MaskSessionBuilder) CreateTime(createTime int64) *MaskSessionBuilder
func (*MaskSessionBuilder) TerminalType ¶
func (builder *MaskSessionBuilder) TerminalType(terminalType int) *MaskSessionBuilder
func (*MaskSessionBuilder) UserId ¶
func (builder *MaskSessionBuilder) UserId(userId string) *MaskSessionBuilder
type PassportService ¶
type PassportService struct { Session *session // contains filtered or unexported fields }
业务域服务定义
type QuerySessionPathReqBodyBuilder ¶
type QuerySessionPathReqBodyBuilder struct {
// contains filtered or unexported fields
}
上传文件path开始
func NewQuerySessionPathReqBodyBuilder ¶
func NewQuerySessionPathReqBodyBuilder() *QuerySessionPathReqBodyBuilder
func (*QuerySessionPathReqBodyBuilder) Build ¶
func (builder *QuerySessionPathReqBodyBuilder) Build() (*QuerySessionReqBody, error)
func (*QuerySessionPathReqBodyBuilder) UserIds ¶
func (builder *QuerySessionPathReqBodyBuilder) UserIds(userIds []string) *QuerySessionPathReqBodyBuilder
type QuerySessionReq ¶
type QuerySessionReq struct { Body *QuerySessionReqBody `body:""` // contains filtered or unexported fields }
type QuerySessionReqBody ¶
type QuerySessionReqBody struct {
UserIds []string `json:"user_ids,omitempty"`
}
type QuerySessionReqBodyBuilder ¶
type QuerySessionReqBodyBuilder struct {
// contains filtered or unexported fields
}
func NewQuerySessionReqBodyBuilder ¶
func NewQuerySessionReqBodyBuilder() *QuerySessionReqBodyBuilder
生成body的New构造器
func (*QuerySessionReqBodyBuilder) Build ¶
func (builder *QuerySessionReqBodyBuilder) Build() *QuerySessionReqBody
1.3 生成body的build方法
func (*QuerySessionReqBodyBuilder) UserIds ¶
func (builder *QuerySessionReqBodyBuilder) UserIds(userIds []string) *QuerySessionReqBodyBuilder
1.2 生成body的builder属性方法
type QuerySessionReqBuilder ¶
type QuerySessionReqBuilder struct {
// contains filtered or unexported fields
}
1.4 生成请求的builder结构体
func NewQuerySessionReqBuilder ¶
func NewQuerySessionReqBuilder() *QuerySessionReqBuilder
生成请求的New构造器
func (*QuerySessionReqBuilder) Body ¶
func (builder *QuerySessionReqBuilder) Body(body *QuerySessionReqBody) *QuerySessionReqBuilder
func (*QuerySessionReqBuilder) Build ¶
func (builder *QuerySessionReqBuilder) Build() *QuerySessionReq
1.5 生成请求的builder的build方法
func (*QuerySessionReqBuilder) UserIdType ¶
func (builder *QuerySessionReqBuilder) UserIdType(userIdType string) *QuerySessionReqBuilder
1.5 生成请求的builder属性方法
type QuerySessionResp ¶
type QuerySessionResp struct { *larkcore.ApiResp `json:"-"` larkcore.CodeError Data *QuerySessionRespData `json:"data"` }
func (*QuerySessionResp) Success ¶
func (resp *QuerySessionResp) Success() bool
type QuerySessionRespData ¶
type QuerySessionRespData struct {
MaskSessions []*MaskSession `json:"mask_sessions,omitempty"`
}
Click to show internal directories.
Click to hide internal directories.