type of response is changed
This commit is contained in:
parent
3160d4d558
commit
2ba57fe71c
|
@ -78,8 +78,12 @@ export namespace CreateMemberReferrerResponse {
|
|||
export class Result extends jspb.Message {
|
||||
hasMemberReferrer(): boolean;
|
||||
clearMemberReferrer(): void;
|
||||
getMemberReferrer(): models_member_referrer_pb.MemberReferrer | undefined;
|
||||
setMemberReferrer(value?: models_member_referrer_pb.MemberReferrer): void;
|
||||
getMemberReferrer():
|
||||
| models_member_referrer_pb.MemberReferrerModel
|
||||
| undefined;
|
||||
setMemberReferrer(
|
||||
value?: models_member_referrer_pb.MemberReferrerModel
|
||||
): void;
|
||||
|
||||
serializeBinary(): Uint8Array;
|
||||
toObject(includeInstance?: boolean): Result.AsObject;
|
||||
|
@ -101,7 +105,7 @@ export namespace CreateMemberReferrerResponse {
|
|||
|
||||
export namespace Result {
|
||||
export type AsObject = {
|
||||
memberReferrer?: models_member_referrer_pb.MemberReferrer.AsObject;
|
||||
memberReferrer?: models_member_referrer_pb.MemberReferrerModel.AsObject;
|
||||
};
|
||||
}
|
||||
}
|
||||
|
|
|
@ -867,7 +867,7 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
|
|||
obj = {
|
||||
memberReferrer:
|
||||
(f = msg.getMemberReferrer()) &&
|
||||
models_member_referrer_pb.MemberReferrer.toObject(
|
||||
models_member_referrer_pb.MemberReferrerModel.toObject(
|
||||
includeInstance,
|
||||
f
|
||||
),
|
||||
|
@ -912,10 +912,11 @@ proto.bet.beteran.c2se.member_referrer.CreateMemberReferrerResponse.Result.deser
|
|||
var field = reader.getFieldNumber();
|
||||
switch (field) {
|
||||
case 1:
|
||||
var value = new models_member_referrer_pb.MemberReferrer();
|
||||
var value = new models_member_referrer_pb.MemberReferrerModel();
|
||||
reader.readMessage(
|
||||
value,
|
||||
models_member_referrer_pb.MemberReferrer.deserializeBinaryFromReader
|
||||
models_member_referrer_pb.MemberReferrerModel
|
||||
.deserializeBinaryFromReader
|
||||
);
|
||||
msg.setMemberReferrer(value);
|
||||
break;
|
||||
|
@ -956,28 +957,28 @@ proto.bet.beteran.c2se.member_referrer.CreateMemberReferrerResponse.Result.seria
|
|||
writer.writeMessage(
|
||||
1,
|
||||
f,
|
||||
models_member_referrer_pb.MemberReferrer.serializeBinaryToWriter
|
||||
models_member_referrer_pb.MemberReferrerModel.serializeBinaryToWriter
|
||||
);
|
||||
}
|
||||
};
|
||||
|
||||
/**
|
||||
* optional bet.beteran.member_referrer.MemberReferrer member_referrer = 1;
|
||||
* @return {?proto.bet.beteran.member_referrer.MemberReferrer}
|
||||
* optional bet.beteran.member_referrer.MemberReferrerModel member_referrer = 1;
|
||||
* @return {?proto.bet.beteran.member_referrer.MemberReferrerModel}
|
||||
*/
|
||||
proto.bet.beteran.c2se.member_referrer.CreateMemberReferrerResponse.Result.prototype.getMemberReferrer =
|
||||
function () {
|
||||
return /** @type{?proto.bet.beteran.member_referrer.MemberReferrer} */ (
|
||||
return /** @type{?proto.bet.beteran.member_referrer.MemberReferrerModel} */ (
|
||||
jspb.Message.getWrapperField(
|
||||
this,
|
||||
models_member_referrer_pb.MemberReferrer,
|
||||
models_member_referrer_pb.MemberReferrerModel,
|
||||
1
|
||||
)
|
||||
);
|
||||
};
|
||||
|
||||
/**
|
||||
* @param {?proto.bet.beteran.member_referrer.MemberReferrer|undefined} value
|
||||
* @param {?proto.bet.beteran.member_referrer.MemberReferrerModel|undefined} value
|
||||
* @return {!proto.bet.beteran.c2se.member_referrer.CreateMemberReferrerResponse.Result} returns this
|
||||
*/
|
||||
proto.bet.beteran.c2se.member_referrer.CreateMemberReferrerResponse.Result.prototype.setMemberReferrer =
|
||||
|
|
Loading…
Reference in New Issue
Block a user