Profile

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Nov 7, 2020 License: Apache-2.0 Imports: 7 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

View Source
var GoUnusedProtection__ int
View Source
var TPlatformProfileServiceGetExtDataResult_Success_DEFAULT string
View Source
var TPlatformProfileServiceRemoveSocialInfoResult_Success_DEFAULT bool
View Source
var TPlatformProfileServiceRemoveTrustedEmailResult_Success_DEFAULT bool
View Source
var TPlatformProfileServiceRemoveTrustedMobileResult_Success_DEFAULT bool
View Source
var TPlatformProfileServiceSetExtDataResult_Success_DEFAULT string
View Source
var TPlatformProfileServiceSetSocialInfoResult_Success_DEFAULT bool
View Source
var TPlatformProfileServiceSetTrustedEmailResult_Success_DEFAULT bool
View Source
var TPlatformProfileServiceSetTrustedMobileResult_Success_DEFAULT bool

Functions

This section is empty.

Types

type TData

type TData *TPlatformProfile

func TDataPtr

func TDataPtr(v TData) *TData

type TDataResult_

type TDataResult_ struct {
	ErrorCode TErrorCode        `thrift:"errorCode,1" db:"errorCode" json:"errorCode"`
	Data      *TPlatformProfile `thrift:"data,2" db:"data" json:"data,omitempty"`
}

Attributes:

  • ErrorCode
  • Data
var TDataServiceRGetDataResult_Success_DEFAULT *TDataResult_

func NewTDataResult_

func NewTDataResult_() *TDataResult_

func (*TDataResult_) GetData

func (p *TDataResult_) GetData() *TPlatformProfile

func (*TDataResult_) GetErrorCode

func (p *TDataResult_) GetErrorCode() TErrorCode

func (*TDataResult_) IsSetData

func (p *TDataResult_) IsSetData() bool

func (*TDataResult_) Read

func (p *TDataResult_) Read(iprot thrift.TProtocol) error

func (*TDataResult_) ReadField1

func (p *TDataResult_) ReadField1(iprot thrift.TProtocol) error

func (*TDataResult_) ReadField2

func (p *TDataResult_) ReadField2(iprot thrift.TProtocol) error

func (*TDataResult_) String

func (p *TDataResult_) String() string

func (*TDataResult_) Write

func (p *TDataResult_) Write(oprot thrift.TProtocol) error

type TDataService

type TDataService interface {
	TDataServiceR

	// Parameters:
	//  - Key
	//  - Data
	PutData(ctx context.Context, key TKey, data *TPlatformProfile) (r TErrorCode, err error)
}

type TDataServiceClient

type TDataServiceClient struct {
	*TDataServiceRClient
	// contains filtered or unexported fields
}

func NewTDataServiceClient

func NewTDataServiceClient(c thrift.TClient) *TDataServiceClient

func NewTDataServiceClientFactory deprecated

func NewTDataServiceClientFactory(t thrift.TTransport, f thrift.TProtocolFactory) *TDataServiceClient

Deprecated: Use NewTDataService instead

func NewTDataServiceClientProtocol deprecated

func NewTDataServiceClientProtocol(t thrift.TTransport, iprot thrift.TProtocol, oprot thrift.TProtocol) *TDataServiceClient

Deprecated: Use NewTDataService instead

func (*TDataServiceClient) PutData

func (p *TDataServiceClient) PutData(ctx context.Context, key TKey, data *TPlatformProfile) (r TErrorCode, err error)

Parameters:

  • Key
  • Data

type TDataServiceProcessor

type TDataServiceProcessor struct {
	*TDataServiceRProcessor
}

func NewTDataServiceProcessor

func NewTDataServiceProcessor(handler TDataService) *TDataServiceProcessor

type TDataServicePutDataArgs

type TDataServicePutDataArgs struct {
	Key  TKey              `thrift:"key,1" db:"key" json:"key"`
	Data *TPlatformProfile `thrift:"data,2" db:"data" json:"data"`
}

Attributes:

  • Key
  • Data

func NewTDataServicePutDataArgs

func NewTDataServicePutDataArgs() *TDataServicePutDataArgs

func (*TDataServicePutDataArgs) GetData

func (*TDataServicePutDataArgs) GetKey

func (p *TDataServicePutDataArgs) GetKey() TKey

func (*TDataServicePutDataArgs) IsSetData

func (p *TDataServicePutDataArgs) IsSetData() bool

func (*TDataServicePutDataArgs) Read

func (*TDataServicePutDataArgs) ReadField1

func (p *TDataServicePutDataArgs) ReadField1(iprot thrift.TProtocol) error

func (*TDataServicePutDataArgs) ReadField2

func (p *TDataServicePutDataArgs) ReadField2(iprot thrift.TProtocol) error

func (*TDataServicePutDataArgs) String

func (p *TDataServicePutDataArgs) String() string

func (*TDataServicePutDataArgs) Write

type TDataServicePutDataResult

type TDataServicePutDataResult struct {
	Success *TErrorCode `thrift:"success,0" db:"success" json:"success,omitempty"`
}

Attributes:

  • Success

func NewTDataServicePutDataResult

func NewTDataServicePutDataResult() *TDataServicePutDataResult

func (*TDataServicePutDataResult) GetSuccess

func (p *TDataServicePutDataResult) GetSuccess() TErrorCode

func (*TDataServicePutDataResult) IsSetSuccess

func (p *TDataServicePutDataResult) IsSetSuccess() bool

func (*TDataServicePutDataResult) Read

func (*TDataServicePutDataResult) ReadField0

func (p *TDataServicePutDataResult) ReadField0(iprot thrift.TProtocol) error

func (*TDataServicePutDataResult) String

func (p *TDataServicePutDataResult) String() string

func (*TDataServicePutDataResult) Write

type TDataServiceR

type TDataServiceR interface {
	// Parameters:
	//  - Key
	GetData(ctx context.Context, key TKey) (r *TDataResult_, err error)
}

type TDataServiceRClient

type TDataServiceRClient struct {
	// contains filtered or unexported fields
}

func NewTDataServiceRClient

func NewTDataServiceRClient(c thrift.TClient) *TDataServiceRClient

func NewTDataServiceRClientFactory deprecated

func NewTDataServiceRClientFactory(t thrift.TTransport, f thrift.TProtocolFactory) *TDataServiceRClient

Deprecated: Use NewTDataServiceR instead

func NewTDataServiceRClientProtocol deprecated

func NewTDataServiceRClientProtocol(t thrift.TTransport, iprot thrift.TProtocol, oprot thrift.TProtocol) *TDataServiceRClient

Deprecated: Use NewTDataServiceR instead

func (*TDataServiceRClient) GetData

func (p *TDataServiceRClient) GetData(ctx context.Context, key TKey) (r *TDataResult_, err error)

Parameters:

  • Key

type TDataServiceRGetDataArgs

type TDataServiceRGetDataArgs struct {
	Key TKey `thrift:"key,1" db:"key" json:"key"`
}

Attributes:

  • Key

func NewTDataServiceRGetDataArgs

func NewTDataServiceRGetDataArgs() *TDataServiceRGetDataArgs

func (*TDataServiceRGetDataArgs) GetKey

func (p *TDataServiceRGetDataArgs) GetKey() TKey

func (*TDataServiceRGetDataArgs) Read

func (*TDataServiceRGetDataArgs) ReadField1

func (p *TDataServiceRGetDataArgs) ReadField1(iprot thrift.TProtocol) error

func (*TDataServiceRGetDataArgs) String

func (p *TDataServiceRGetDataArgs) String() string

func (*TDataServiceRGetDataArgs) Write

type TDataServiceRGetDataResult

type TDataServiceRGetDataResult struct {
	Success *TDataResult_ `thrift:"success,0" db:"success" json:"success,omitempty"`
}

Attributes:

  • Success

func NewTDataServiceRGetDataResult

func NewTDataServiceRGetDataResult() *TDataServiceRGetDataResult

func (*TDataServiceRGetDataResult) GetSuccess

func (p *TDataServiceRGetDataResult) GetSuccess() *TDataResult_

func (*TDataServiceRGetDataResult) IsSetSuccess

func (p *TDataServiceRGetDataResult) IsSetSuccess() bool

func (*TDataServiceRGetDataResult) Read

func (*TDataServiceRGetDataResult) ReadField0

func (p *TDataServiceRGetDataResult) ReadField0(iprot thrift.TProtocol) error

func (*TDataServiceRGetDataResult) String

func (p *TDataServiceRGetDataResult) String() string

func (*TDataServiceRGetDataResult) Write

type TDataServiceRProcessor

type TDataServiceRProcessor struct {
	// contains filtered or unexported fields
}

func NewTDataServiceRProcessor

func NewTDataServiceRProcessor(handler TDataServiceR) *TDataServiceRProcessor

func (*TDataServiceRProcessor) AddToProcessorMap

func (p *TDataServiceRProcessor) AddToProcessorMap(key string, processor thrift.TProcessorFunction)

func (*TDataServiceRProcessor) GetProcessorFunction

func (p *TDataServiceRProcessor) GetProcessorFunction(key string) (processor thrift.TProcessorFunction, ok bool)

func (*TDataServiceRProcessor) Process

func (p *TDataServiceRProcessor) Process(ctx context.Context, iprot, oprot thrift.TProtocol) (success bool, err thrift.TException)

func (*TDataServiceRProcessor) ProcessorMap

type TErrorCode

type TErrorCode int64
const (
	TErrorCode_EGood        TErrorCode = 0
	TErrorCode_ENotFound    TErrorCode = -1
	TErrorCode_EUnknown     TErrorCode = -2
	TErrorCode_EDataExisted TErrorCode = -3
)
var TDataServicePutDataResult_Success_DEFAULT TErrorCode

func TErrorCodeFromString

func TErrorCodeFromString(s string) (TErrorCode, error)

func TErrorCodePtr

func TErrorCodePtr(v TErrorCode) *TErrorCode

func (TErrorCode) MarshalText

func (p TErrorCode) MarshalText() ([]byte, error)

func (*TErrorCode) Scan

func (p *TErrorCode) Scan(value interface{}) error

func (TErrorCode) String

func (p TErrorCode) String() string

func (*TErrorCode) UnmarshalText

func (p *TErrorCode) UnmarshalText(text []byte) error

func (*TErrorCode) Value

func (p *TErrorCode) Value() (driver.Value, error)

type TKey

type TKey int64

func TKeyPtr

func TKeyPtr(v TKey) *TKey

type TPlatformProfile

type TPlatformProfile struct {
	Username        string                     `thrift:"username,1" db:"username" json:"username"`
	DisplayName     string                     `thrift:"displayName,2" db:"displayName" json:"displayName"`
	TrustedEmails   map[string]bool            `thrift:"trustedEmails,3" db:"trustedEmails" json:"trustedEmails"`
	TrustedMobiles  map[string]bool            `thrift:"trustedMobiles,4" db:"trustedMobiles" json:"trustedMobiles"`
	PublicKeys      []string                   `thrift:"publicKeys,5" db:"publicKeys" json:"publicKeys"`
	ExtData         map[string]string          `thrift:"ExtData,6" db:"ExtData" json:"ExtData"`
	ConnectedSocial map[string]*TSocialProfile `thrift:"connectedSocial,7" db:"connectedSocial" json:"connectedSocial"`
}

Attributes:

  • Username
  • DisplayName
  • TrustedEmails
  • TrustedMobiles
  • PublicKeys
  • ExtData
  • ConnectedSocial
var TDataResult__Data_DEFAULT *TPlatformProfile
var TDataServicePutDataArgs_Data_DEFAULT *TPlatformProfile

func NewTPlatformProfile

func NewTPlatformProfile() *TPlatformProfile

func (*TPlatformProfile) GetConnectedSocial

func (p *TPlatformProfile) GetConnectedSocial() map[string]*TSocialProfile

func (*TPlatformProfile) GetDisplayName

func (p *TPlatformProfile) GetDisplayName() string

func (*TPlatformProfile) GetExtData

func (p *TPlatformProfile) GetExtData() map[string]string

func (*TPlatformProfile) GetPublicKeys

func (p *TPlatformProfile) GetPublicKeys() []string

func (*TPlatformProfile) GetTrustedEmails

func (p *TPlatformProfile) GetTrustedEmails() map[string]bool

func (*TPlatformProfile) GetTrustedMobiles

func (p *TPlatformProfile) GetTrustedMobiles() map[string]bool

func (*TPlatformProfile) GetUsername

func (p *TPlatformProfile) GetUsername() string

func (*TPlatformProfile) Read

func (p *TPlatformProfile) Read(iprot thrift.TProtocol) error

func (*TPlatformProfile) ReadField1

func (p *TPlatformProfile) ReadField1(iprot thrift.TProtocol) error

func (*TPlatformProfile) ReadField2

func (p *TPlatformProfile) ReadField2(iprot thrift.TProtocol) error

func (*TPlatformProfile) ReadField3

func (p *TPlatformProfile) ReadField3(iprot thrift.TProtocol) error

func (*TPlatformProfile) ReadField4

func (p *TPlatformProfile) ReadField4(iprot thrift.TProtocol) error

func (*TPlatformProfile) ReadField5

func (p *TPlatformProfile) ReadField5(iprot thrift.TProtocol) error

func (*TPlatformProfile) ReadField6

func (p *TPlatformProfile) ReadField6(iprot thrift.TProtocol) error

func (*TPlatformProfile) ReadField7

func (p *TPlatformProfile) ReadField7(iprot thrift.TProtocol) error

func (*TPlatformProfile) String

func (p *TPlatformProfile) String() string

func (*TPlatformProfile) Write

func (p *TPlatformProfile) Write(oprot thrift.TProtocol) error

type TPlatformProfileService

type TPlatformProfileService interface {
	TDataService

	// Parameters:
	//  - UID
	//  - ExtKey
	//  - ExtValue
	SetExtData(ctx context.Context, uid TKey, extKey string, extValue string) (r string, err error)
	// Parameters:
	//  - UID
	//  - ExtKey
	GetExtData(ctx context.Context, uid TKey, extKey string) (r string, err error)
	// Parameters:
	//  - UID
	//  - Email
	//  - IsTrusted
	SetTrustedEmail(ctx context.Context, uid TKey, email string, isTrusted bool) (r bool, err error)
	// Parameters:
	//  - UID
	//  - Email
	RemoveTrustedEmail(ctx context.Context, uid TKey, email string) (r bool, err error)
	// Parameters:
	//  - UID
	//  - Email
	//  - IsTrusted
	SetTrustedMobile(ctx context.Context, uid TKey, email string, isTrusted bool) (r bool, err error)
	// Parameters:
	//  - UID
	//  - Mobile
	RemoveTrustedMobile(ctx context.Context, uid TKey, mobile string) (r bool, err error)
	// Parameters:
	//  - UID
	//  - SocialType
	//  - SocialProfile
	SetSocialInfo(ctx context.Context, uid TKey, socialType string, socialProfile *TSocialProfile) (r bool, err error)
	// Parameters:
	//  - UID
	//  - SocialType
	//  - SocialProfile
	RemoveSocialInfo(ctx context.Context, uid TKey, socialType string, socialProfile *TSocialProfile) (r bool, err error)
}

type TPlatformProfileServiceClient

type TPlatformProfileServiceClient struct {
	*TDataServiceClient
	// contains filtered or unexported fields
}

func NewTPlatformProfileServiceClient

func NewTPlatformProfileServiceClient(c thrift.TClient) *TPlatformProfileServiceClient

func NewTPlatformProfileServiceClientFactory deprecated

func NewTPlatformProfileServiceClientFactory(t thrift.TTransport, f thrift.TProtocolFactory) *TPlatformProfileServiceClient

Deprecated: Use NewTPlatformProfileService instead

func NewTPlatformProfileServiceClientProtocol deprecated

func NewTPlatformProfileServiceClientProtocol(t thrift.TTransport, iprot thrift.TProtocol, oprot thrift.TProtocol) *TPlatformProfileServiceClient

Deprecated: Use NewTPlatformProfileService instead

func (*TPlatformProfileServiceClient) GetExtData

func (p *TPlatformProfileServiceClient) GetExtData(ctx context.Context, uid TKey, extKey string) (r string, err error)

Parameters:

  • UID
  • ExtKey

func (*TPlatformProfileServiceClient) RemoveSocialInfo

func (p *TPlatformProfileServiceClient) RemoveSocialInfo(ctx context.Context, uid TKey, socialType string, socialProfile *TSocialProfile) (r bool, err error)

Parameters:

  • UID
  • SocialType
  • SocialProfile

func (*TPlatformProfileServiceClient) RemoveTrustedEmail

func (p *TPlatformProfileServiceClient) RemoveTrustedEmail(ctx context.Context, uid TKey, email string) (r bool, err error)

Parameters:

  • UID
  • Email

func (*TPlatformProfileServiceClient) RemoveTrustedMobile

func (p *TPlatformProfileServiceClient) RemoveTrustedMobile(ctx context.Context, uid TKey, mobile string) (r bool, err error)

Parameters:

  • UID
  • Mobile

func (*TPlatformProfileServiceClient) SetExtData

func (p *TPlatformProfileServiceClient) SetExtData(ctx context.Context, uid TKey, extKey string, extValue string) (r string, err error)

Parameters:

  • UID
  • ExtKey
  • ExtValue

func (*TPlatformProfileServiceClient) SetSocialInfo

func (p *TPlatformProfileServiceClient) SetSocialInfo(ctx context.Context, uid TKey, socialType string, socialProfile *TSocialProfile) (r bool, err error)

Parameters:

  • UID
  • SocialType
  • SocialProfile

func (*TPlatformProfileServiceClient) SetTrustedEmail

func (p *TPlatformProfileServiceClient) SetTrustedEmail(ctx context.Context, uid TKey, email string, isTrusted bool) (r bool, err error)

Parameters:

  • UID
  • Email
  • IsTrusted

func (*TPlatformProfileServiceClient) SetTrustedMobile

func (p *TPlatformProfileServiceClient) SetTrustedMobile(ctx context.Context, uid TKey, email string, isTrusted bool) (r bool, err error)

Parameters:

  • UID
  • Email
  • IsTrusted

type TPlatformProfileServiceGetExtDataArgs

type TPlatformProfileServiceGetExtDataArgs struct {
	UID    TKey   `thrift:"uid,1" db:"uid" json:"uid"`
	ExtKey string `thrift:"extKey,2" db:"extKey" json:"extKey"`
}

Attributes:

  • UID
  • ExtKey

func NewTPlatformProfileServiceGetExtDataArgs

func NewTPlatformProfileServiceGetExtDataArgs() *TPlatformProfileServiceGetExtDataArgs

func (*TPlatformProfileServiceGetExtDataArgs) GetExtKey

func (*TPlatformProfileServiceGetExtDataArgs) GetUID

func (*TPlatformProfileServiceGetExtDataArgs) Read

func (*TPlatformProfileServiceGetExtDataArgs) ReadField1

func (*TPlatformProfileServiceGetExtDataArgs) ReadField2

func (*TPlatformProfileServiceGetExtDataArgs) String

func (*TPlatformProfileServiceGetExtDataArgs) Write

type TPlatformProfileServiceGetExtDataResult

type TPlatformProfileServiceGetExtDataResult struct {
	Success *string `thrift:"success,0" db:"success" json:"success,omitempty"`
}

Attributes:

  • Success

func NewTPlatformProfileServiceGetExtDataResult

func NewTPlatformProfileServiceGetExtDataResult() *TPlatformProfileServiceGetExtDataResult

func (*TPlatformProfileServiceGetExtDataResult) GetSuccess

func (*TPlatformProfileServiceGetExtDataResult) IsSetSuccess

func (*TPlatformProfileServiceGetExtDataResult) Read

func (*TPlatformProfileServiceGetExtDataResult) ReadField0

func (*TPlatformProfileServiceGetExtDataResult) String

func (*TPlatformProfileServiceGetExtDataResult) Write

type TPlatformProfileServiceProcessor

type TPlatformProfileServiceProcessor struct {
	*TDataServiceProcessor
}

type TPlatformProfileServiceRemoveSocialInfoArgs

type TPlatformProfileServiceRemoveSocialInfoArgs struct {
	UID           TKey            `thrift:"uid,1" db:"uid" json:"uid"`
	SocialType    string          `thrift:"socialType,2" db:"socialType" json:"socialType"`
	SocialProfile *TSocialProfile `thrift:"socialProfile,3" db:"socialProfile" json:"socialProfile"`
}

Attributes:

  • UID
  • SocialType
  • SocialProfile

func NewTPlatformProfileServiceRemoveSocialInfoArgs

func NewTPlatformProfileServiceRemoveSocialInfoArgs() *TPlatformProfileServiceRemoveSocialInfoArgs

func (*TPlatformProfileServiceRemoveSocialInfoArgs) GetSocialProfile

func (*TPlatformProfileServiceRemoveSocialInfoArgs) GetSocialType

func (*TPlatformProfileServiceRemoveSocialInfoArgs) GetUID

func (*TPlatformProfileServiceRemoveSocialInfoArgs) IsSetSocialProfile

func (p *TPlatformProfileServiceRemoveSocialInfoArgs) IsSetSocialProfile() bool

func (*TPlatformProfileServiceRemoveSocialInfoArgs) Read

func (*TPlatformProfileServiceRemoveSocialInfoArgs) ReadField1

func (*TPlatformProfileServiceRemoveSocialInfoArgs) ReadField2

func (*TPlatformProfileServiceRemoveSocialInfoArgs) ReadField3

func (*TPlatformProfileServiceRemoveSocialInfoArgs) String

func (*TPlatformProfileServiceRemoveSocialInfoArgs) Write

type TPlatformProfileServiceRemoveSocialInfoResult

type TPlatformProfileServiceRemoveSocialInfoResult struct {
	Success *bool `thrift:"success,0" db:"success" json:"success,omitempty"`
}

Attributes:

  • Success

func NewTPlatformProfileServiceRemoveSocialInfoResult

func NewTPlatformProfileServiceRemoveSocialInfoResult() *TPlatformProfileServiceRemoveSocialInfoResult

func (*TPlatformProfileServiceRemoveSocialInfoResult) GetSuccess

func (*TPlatformProfileServiceRemoveSocialInfoResult) IsSetSuccess

func (*TPlatformProfileServiceRemoveSocialInfoResult) Read

func (*TPlatformProfileServiceRemoveSocialInfoResult) ReadField0

func (*TPlatformProfileServiceRemoveSocialInfoResult) String

func (*TPlatformProfileServiceRemoveSocialInfoResult) Write

type TPlatformProfileServiceRemoveTrustedEmailArgs

type TPlatformProfileServiceRemoveTrustedEmailArgs struct {
	UID   TKey   `thrift:"uid,1" db:"uid" json:"uid"`
	Email string `thrift:"email,2" db:"email" json:"email"`
}

Attributes:

  • UID
  • Email

func NewTPlatformProfileServiceRemoveTrustedEmailArgs

func NewTPlatformProfileServiceRemoveTrustedEmailArgs() *TPlatformProfileServiceRemoveTrustedEmailArgs

func (*TPlatformProfileServiceRemoveTrustedEmailArgs) GetEmail

func (*TPlatformProfileServiceRemoveTrustedEmailArgs) GetUID

func (*TPlatformProfileServiceRemoveTrustedEmailArgs) Read

func (*TPlatformProfileServiceRemoveTrustedEmailArgs) ReadField1

func (*TPlatformProfileServiceRemoveTrustedEmailArgs) ReadField2

func (*TPlatformProfileServiceRemoveTrustedEmailArgs) String

func (*TPlatformProfileServiceRemoveTrustedEmailArgs) Write

type TPlatformProfileServiceRemoveTrustedEmailResult

type TPlatformProfileServiceRemoveTrustedEmailResult struct {
	Success *bool `thrift:"success,0" db:"success" json:"success,omitempty"`
}

Attributes:

  • Success

func NewTPlatformProfileServiceRemoveTrustedEmailResult

func NewTPlatformProfileServiceRemoveTrustedEmailResult() *TPlatformProfileServiceRemoveTrustedEmailResult

func (*TPlatformProfileServiceRemoveTrustedEmailResult) GetSuccess

func (*TPlatformProfileServiceRemoveTrustedEmailResult) IsSetSuccess

func (*TPlatformProfileServiceRemoveTrustedEmailResult) Read

func (*TPlatformProfileServiceRemoveTrustedEmailResult) ReadField0

func (*TPlatformProfileServiceRemoveTrustedEmailResult) String

func (*TPlatformProfileServiceRemoveTrustedEmailResult) Write

type TPlatformProfileServiceRemoveTrustedMobileArgs

type TPlatformProfileServiceRemoveTrustedMobileArgs struct {
	UID    TKey   `thrift:"uid,1" db:"uid" json:"uid"`
	Mobile string `thrift:"mobile,2" db:"mobile" json:"mobile"`
}

Attributes:

  • UID
  • Mobile

func NewTPlatformProfileServiceRemoveTrustedMobileArgs

func NewTPlatformProfileServiceRemoveTrustedMobileArgs() *TPlatformProfileServiceRemoveTrustedMobileArgs

func (*TPlatformProfileServiceRemoveTrustedMobileArgs) GetMobile

func (*TPlatformProfileServiceRemoveTrustedMobileArgs) GetUID

func (*TPlatformProfileServiceRemoveTrustedMobileArgs) Read

func (*TPlatformProfileServiceRemoveTrustedMobileArgs) ReadField1

func (*TPlatformProfileServiceRemoveTrustedMobileArgs) ReadField2

func (*TPlatformProfileServiceRemoveTrustedMobileArgs) String

func (*TPlatformProfileServiceRemoveTrustedMobileArgs) Write

type TPlatformProfileServiceRemoveTrustedMobileResult

type TPlatformProfileServiceRemoveTrustedMobileResult struct {
	Success *bool `thrift:"success,0" db:"success" json:"success,omitempty"`
}

Attributes:

  • Success

func NewTPlatformProfileServiceRemoveTrustedMobileResult

func NewTPlatformProfileServiceRemoveTrustedMobileResult() *TPlatformProfileServiceRemoveTrustedMobileResult

func (*TPlatformProfileServiceRemoveTrustedMobileResult) GetSuccess

func (*TPlatformProfileServiceRemoveTrustedMobileResult) IsSetSuccess

func (*TPlatformProfileServiceRemoveTrustedMobileResult) Read

func (*TPlatformProfileServiceRemoveTrustedMobileResult) ReadField0

func (*TPlatformProfileServiceRemoveTrustedMobileResult) String

func (*TPlatformProfileServiceRemoveTrustedMobileResult) Write

type TPlatformProfileServiceSetExtDataArgs

type TPlatformProfileServiceSetExtDataArgs struct {
	UID      TKey   `thrift:"uid,1" db:"uid" json:"uid"`
	ExtKey   string `thrift:"extKey,2" db:"extKey" json:"extKey"`
	ExtValue string `thrift:"extValue,3" db:"extValue" json:"extValue"`
}

Attributes:

  • UID
  • ExtKey
  • ExtValue

func NewTPlatformProfileServiceSetExtDataArgs

func NewTPlatformProfileServiceSetExtDataArgs() *TPlatformProfileServiceSetExtDataArgs

func (*TPlatformProfileServiceSetExtDataArgs) GetExtKey

func (*TPlatformProfileServiceSetExtDataArgs) GetExtValue

func (*TPlatformProfileServiceSetExtDataArgs) GetUID

func (*TPlatformProfileServiceSetExtDataArgs) Read

func (*TPlatformProfileServiceSetExtDataArgs) ReadField1

func (*TPlatformProfileServiceSetExtDataArgs) ReadField2

func (*TPlatformProfileServiceSetExtDataArgs) ReadField3

func (*TPlatformProfileServiceSetExtDataArgs) String

func (*TPlatformProfileServiceSetExtDataArgs) Write

type TPlatformProfileServiceSetExtDataResult

type TPlatformProfileServiceSetExtDataResult struct {
	Success *string `thrift:"success,0" db:"success" json:"success,omitempty"`
}

Attributes:

  • Success

func NewTPlatformProfileServiceSetExtDataResult

func NewTPlatformProfileServiceSetExtDataResult() *TPlatformProfileServiceSetExtDataResult

func (*TPlatformProfileServiceSetExtDataResult) GetSuccess

func (*TPlatformProfileServiceSetExtDataResult) IsSetSuccess

func (*TPlatformProfileServiceSetExtDataResult) Read

func (*TPlatformProfileServiceSetExtDataResult) ReadField0

func (*TPlatformProfileServiceSetExtDataResult) String

func (*TPlatformProfileServiceSetExtDataResult) Write

type TPlatformProfileServiceSetSocialInfoArgs

type TPlatformProfileServiceSetSocialInfoArgs struct {
	UID           TKey            `thrift:"uid,1" db:"uid" json:"uid"`
	SocialType    string          `thrift:"socialType,2" db:"socialType" json:"socialType"`
	SocialProfile *TSocialProfile `thrift:"socialProfile,3" db:"socialProfile" json:"socialProfile"`
}

Attributes:

  • UID
  • SocialType
  • SocialProfile

func NewTPlatformProfileServiceSetSocialInfoArgs

func NewTPlatformProfileServiceSetSocialInfoArgs() *TPlatformProfileServiceSetSocialInfoArgs

func (*TPlatformProfileServiceSetSocialInfoArgs) GetSocialProfile

func (*TPlatformProfileServiceSetSocialInfoArgs) GetSocialType

func (*TPlatformProfileServiceSetSocialInfoArgs) GetUID

func (*TPlatformProfileServiceSetSocialInfoArgs) IsSetSocialProfile

func (p *TPlatformProfileServiceSetSocialInfoArgs) IsSetSocialProfile() bool

func (*TPlatformProfileServiceSetSocialInfoArgs) Read

func (*TPlatformProfileServiceSetSocialInfoArgs) ReadField1

func (*TPlatformProfileServiceSetSocialInfoArgs) ReadField2

func (*TPlatformProfileServiceSetSocialInfoArgs) ReadField3

func (*TPlatformProfileServiceSetSocialInfoArgs) String

func (*TPlatformProfileServiceSetSocialInfoArgs) Write

type TPlatformProfileServiceSetSocialInfoResult

type TPlatformProfileServiceSetSocialInfoResult struct {
	Success *bool `thrift:"success,0" db:"success" json:"success,omitempty"`
}

Attributes:

  • Success

func NewTPlatformProfileServiceSetSocialInfoResult

func NewTPlatformProfileServiceSetSocialInfoResult() *TPlatformProfileServiceSetSocialInfoResult

func (*TPlatformProfileServiceSetSocialInfoResult) GetSuccess

func (*TPlatformProfileServiceSetSocialInfoResult) IsSetSuccess

func (*TPlatformProfileServiceSetSocialInfoResult) Read

func (*TPlatformProfileServiceSetSocialInfoResult) ReadField0

func (*TPlatformProfileServiceSetSocialInfoResult) String

func (*TPlatformProfileServiceSetSocialInfoResult) Write

type TPlatformProfileServiceSetTrustedEmailArgs

type TPlatformProfileServiceSetTrustedEmailArgs struct {
	UID       TKey   `thrift:"uid,1" db:"uid" json:"uid"`
	Email     string `thrift:"email,2" db:"email" json:"email"`
	IsTrusted bool   `thrift:"isTrusted,3" db:"isTrusted" json:"isTrusted"`
}

Attributes:

  • UID
  • Email
  • IsTrusted

func NewTPlatformProfileServiceSetTrustedEmailArgs

func NewTPlatformProfileServiceSetTrustedEmailArgs() *TPlatformProfileServiceSetTrustedEmailArgs

func (*TPlatformProfileServiceSetTrustedEmailArgs) GetEmail

func (*TPlatformProfileServiceSetTrustedEmailArgs) GetIsTrusted

func (*TPlatformProfileServiceSetTrustedEmailArgs) GetUID

func (*TPlatformProfileServiceSetTrustedEmailArgs) Read

func (*TPlatformProfileServiceSetTrustedEmailArgs) ReadField1

func (*TPlatformProfileServiceSetTrustedEmailArgs) ReadField2

func (*TPlatformProfileServiceSetTrustedEmailArgs) ReadField3

func (*TPlatformProfileServiceSetTrustedEmailArgs) String

func (*TPlatformProfileServiceSetTrustedEmailArgs) Write

type TPlatformProfileServiceSetTrustedEmailResult

type TPlatformProfileServiceSetTrustedEmailResult struct {
	Success *bool `thrift:"success,0" db:"success" json:"success,omitempty"`
}

Attributes:

  • Success

func NewTPlatformProfileServiceSetTrustedEmailResult

func NewTPlatformProfileServiceSetTrustedEmailResult() *TPlatformProfileServiceSetTrustedEmailResult

func (*TPlatformProfileServiceSetTrustedEmailResult) GetSuccess

func (*TPlatformProfileServiceSetTrustedEmailResult) IsSetSuccess

func (*TPlatformProfileServiceSetTrustedEmailResult) Read

func (*TPlatformProfileServiceSetTrustedEmailResult) ReadField0

func (*TPlatformProfileServiceSetTrustedEmailResult) String

func (*TPlatformProfileServiceSetTrustedEmailResult) Write

type TPlatformProfileServiceSetTrustedMobileArgs

type TPlatformProfileServiceSetTrustedMobileArgs struct {
	UID       TKey   `thrift:"uid,1" db:"uid" json:"uid"`
	Email     string `thrift:"email,2" db:"email" json:"email"`
	IsTrusted bool   `thrift:"isTrusted,3" db:"isTrusted" json:"isTrusted"`
}

Attributes:

  • UID
  • Email
  • IsTrusted

func NewTPlatformProfileServiceSetTrustedMobileArgs

func NewTPlatformProfileServiceSetTrustedMobileArgs() *TPlatformProfileServiceSetTrustedMobileArgs

func (*TPlatformProfileServiceSetTrustedMobileArgs) GetEmail

func (*TPlatformProfileServiceSetTrustedMobileArgs) GetIsTrusted

func (*TPlatformProfileServiceSetTrustedMobileArgs) GetUID

func (*TPlatformProfileServiceSetTrustedMobileArgs) Read

func (*TPlatformProfileServiceSetTrustedMobileArgs) ReadField1

func (*TPlatformProfileServiceSetTrustedMobileArgs) ReadField2

func (*TPlatformProfileServiceSetTrustedMobileArgs) ReadField3

func (*TPlatformProfileServiceSetTrustedMobileArgs) String

func (*TPlatformProfileServiceSetTrustedMobileArgs) Write

type TPlatformProfileServiceSetTrustedMobileResult

type TPlatformProfileServiceSetTrustedMobileResult struct {
	Success *bool `thrift:"success,0" db:"success" json:"success,omitempty"`
}

Attributes:

  • Success

func NewTPlatformProfileServiceSetTrustedMobileResult

func NewTPlatformProfileServiceSetTrustedMobileResult() *TPlatformProfileServiceSetTrustedMobileResult

func (*TPlatformProfileServiceSetTrustedMobileResult) GetSuccess

func (*TPlatformProfileServiceSetTrustedMobileResult) IsSetSuccess

func (*TPlatformProfileServiceSetTrustedMobileResult) Read

func (*TPlatformProfileServiceSetTrustedMobileResult) ReadField0

func (*TPlatformProfileServiceSetTrustedMobileResult) String

func (*TPlatformProfileServiceSetTrustedMobileResult) Write

type TSocialProfile

type TSocialProfile struct {
	Sid   string `thrift:"sid,1" db:"sid" json:"sid"`
	Name  string `thrift:"name,2" db:"name" json:"name"`
	Email string `thrift:"email,3" db:"email" json:"email"`
}

Attributes:

  • Sid
  • Name
  • Email
var TPlatformProfileServiceRemoveSocialInfoArgs_SocialProfile_DEFAULT *TSocialProfile
var TPlatformProfileServiceSetSocialInfoArgs_SocialProfile_DEFAULT *TSocialProfile

func NewTSocialProfile

func NewTSocialProfile() *TSocialProfile

func (*TSocialProfile) GetEmail

func (p *TSocialProfile) GetEmail() string

func (*TSocialProfile) GetName

func (p *TSocialProfile) GetName() string

func (*TSocialProfile) GetSid

func (p *TSocialProfile) GetSid() string

func (*TSocialProfile) Read

func (p *TSocialProfile) Read(iprot thrift.TProtocol) error

func (*TSocialProfile) ReadField1

func (p *TSocialProfile) ReadField1(iprot thrift.TProtocol) error

func (*TSocialProfile) ReadField2

func (p *TSocialProfile) ReadField2(iprot thrift.TProtocol) error

func (*TSocialProfile) ReadField3

func (p *TSocialProfile) ReadField3(iprot thrift.TProtocol) error

func (*TSocialProfile) String

func (p *TSocialProfile) String() string

func (*TSocialProfile) Write

func (p *TSocialProfile) Write(oprot thrift.TProtocol) error

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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