This is a creation in Article, where the information may have evolved or changed.
Extended
The key point of this SDK is not to implement the Ali Big Fish 3 API, but to provide users with a self-expanding framework, "SMS Send Record Query" interface as an example.
type alibabaaliqinfcsmsnumqueryrequest struct {bizid string ' JSON: "biz_id" ' Recnum string ' js On: "Rec_num" ' Querydate string ' JSON: "Query_date" ' CurrentPage string ' json: ' Current_page ' ' PageSize string ' JSON: ' Page_size '}func newalibabaaliqinfcsmsnumqueryrequest () *alibabaaliqinfcsmsnumqueryrequest {return new ( Alibabaaliqinfcsmsnumqueryrequest)}func (req *alibabaaliqinfcsmsnumqueryrequest) getmethodname () string {return ' Alibaba.aliqin.fc.sms.num.query "}func (req *alibabaaliqinfcsmsnumqueryrequest) paramsisvalid () error {if Len (req. recnum) = = 0 {return errors. New ("Rec_num is required")} If Len (req. querydate) = = 0 {return errors. New ("Query_date is required")} If Len (req. currentpage) = = 0 {return errors. New ("Current_page is required")} If Len (req. PageSize) = = 0 {return errors. New ("Page_size is required")} return nil}
This is almost all the code of "SMS Send Record Query", which can be found to be very simple