You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* Cast message to standard JavaScript object (all non-primitive values are deeply cloned)
25058
+
*/
25059
+
toObject(): SetPictureCropRequest.AsObject {
25060
+
return {
25061
+
pictureId: this.pictureId,
25062
+
cropLeft: this.cropLeft,
25063
+
cropTop: this.cropTop,
25064
+
cropWidth: this.cropWidth,
25065
+
cropHeight: this.cropHeight
25066
+
};
25067
+
}
25068
+
25069
+
/**
25070
+
* Convenience method to support JSON.stringify(message), replicates the structure of toObject()
25071
+
*/
25072
+
toJSON() {
25073
+
return this.toObject();
25074
+
}
25075
+
25076
+
/**
25077
+
* Cast message to JSON using protobuf JSON notation: https://developers.google.com/protocol-buffers/docs/proto3#json
25078
+
* Attention: output differs from toObject() e.g. enums are represented as names and not as numbers, Timestamp is an ISO Date string format etc.
25079
+
* If the message itself or some of descendant messages is google.protobuf.Any, you MUST provide a message pool as options. If not, the messagePool is not required
25080
+
*/
25081
+
toProtobufJSON(
25082
+
// @ts-ignore
25083
+
options?: ToProtobufJSONOptions
25084
+
): SetPictureCropRequest.AsProtobufJSON {
25085
+
return {
25086
+
pictureId: this.pictureId,
25087
+
cropLeft: this.cropLeft,
25088
+
cropTop: this.cropTop,
25089
+
cropWidth: this.cropWidth,
25090
+
cropHeight: this.cropHeight
25091
+
};
25092
+
}
25093
+
}
25094
+
export module SetPictureCropRequest {
25095
+
/**
25096
+
* Standard JavaScript object representation for SetPictureCropRequest
25097
+
*/
25098
+
export interface AsObject {
25099
+
pictureId: string;
25100
+
cropLeft: number;
25101
+
cropTop: number;
25102
+
cropWidth: number;
25103
+
cropHeight: number;
25104
+
}
25105
+
25106
+
/**
25107
+
* Protobuf JSON representation for SetPictureCropRequest
25108
+
*/
25109
+
export interface AsProtobufJSON {
25110
+
pictureId: string;
25111
+
cropLeft: number;
25112
+
cropTop: number;
25113
+
cropWidth: number;
25114
+
cropHeight: number;
25115
+
}
25116
+
}
25117
+
24903
25118
/**
24904
25119
* Message implementation for goautowp.DeleteSimilarRequest
0 commit comments