Documentation
¶
Overview ¶
This file is auto-generated, don't edit it. Thanks. *
*
Index ¶
- type Client
- func (client *Client) GetEndpoint(productId *string, regionId *string, endpointRule *string, network *string, ...) (_result *string, _err error)
- func (client *Client) GridQuery(dataType *string, request *GridQueryRequest) (_result *GridQueryResponse, _err error)
- func (client *Client) GridQueryWithOptions(dataType *string, request *GridQueryRequest, headers map[string]*string, ...) (_result *GridQueryResponse, _err error)
- func (client *Client) Init(config *openapi.Config) (_err error)
- type GridQueryRequest
- func (s GridQueryRequest) GoString() string
- func (s *GridQueryRequest) SetElement(v string) *GridQueryRequest
- func (s *GridQueryRequest) SetForecastTimestamp(v string) *GridQueryRequest
- func (s *GridQueryRequest) SetLatitude(v float64) *GridQueryRequest
- func (s *GridQueryRequest) SetLongitude(v float64) *GridQueryRequest
- func (s *GridQueryRequest) SetPageNo(v int32) *GridQueryRequest
- func (s *GridQueryRequest) SetPageSize(v int32) *GridQueryRequest
- func (s *GridQueryRequest) SetProduct(v string) *GridQueryRequest
- func (s *GridQueryRequest) SetReportTimestamp(v string) *GridQueryRequest
- func (s GridQueryRequest) String() string
- type GridQueryResponse
- func (s GridQueryResponse) GoString() string
- func (s *GridQueryResponse) SetBody(v *GridQueryResponseBody) *GridQueryResponse
- func (s *GridQueryResponse) SetHeaders(v map[string]*string) *GridQueryResponse
- func (s *GridQueryResponse) SetStatusCode(v int32) *GridQueryResponse
- func (s GridQueryResponse) String() string
- type GridQueryResponseBody
- func (s GridQueryResponseBody) GoString() string
- func (s *GridQueryResponseBody) SetCode(v int64) *GridQueryResponseBody
- func (s *GridQueryResponseBody) SetMessage(v string) *GridQueryResponseBody
- func (s *GridQueryResponseBody) SetModule(v *GridQueryResponseBodyModule) *GridQueryResponseBody
- func (s *GridQueryResponseBody) SetRequestId(v string) *GridQueryResponseBody
- func (s *GridQueryResponseBody) SetSuccess(v bool) *GridQueryResponseBody
- func (s GridQueryResponseBody) String() string
- type GridQueryResponseBodyModule
- func (s GridQueryResponseBodyModule) GoString() string
- func (s *GridQueryResponseBodyModule) SetList(v []*GridQueryResponseBodyModuleList) *GridQueryResponseBodyModule
- func (s *GridQueryResponseBodyModule) SetPageNo(v int32) *GridQueryResponseBodyModule
- func (s *GridQueryResponseBodyModule) SetPageSize(v int32) *GridQueryResponseBodyModule
- func (s GridQueryResponseBodyModule) String() string
- type GridQueryResponseBodyModuleList
- func (s GridQueryResponseBodyModuleList) GoString() string
- func (s *GridQueryResponseBodyModuleList) SetDataType(v string) *GridQueryResponseBodyModuleList
- func (s *GridQueryResponseBodyModuleList) SetElement(v string) *GridQueryResponseBodyModuleList
- func (s *GridQueryResponseBodyModuleList) SetElementUnit(v string) *GridQueryResponseBodyModuleList
- func (s *GridQueryResponseBodyModuleList) SetForecastTimestamp(v string) *GridQueryResponseBodyModuleList
- func (s *GridQueryResponseBodyModuleList) SetLatitude(v float64) *GridQueryResponseBodyModuleList
- func (s *GridQueryResponseBodyModuleList) SetLongitude(v float64) *GridQueryResponseBodyModuleList
- func (s *GridQueryResponseBodyModuleList) SetReportTimestamp(v string) *GridQueryResponseBodyModuleList
- func (s *GridQueryResponseBodyModuleList) SetValue(v float64) *GridQueryResponseBodyModuleList
- func (s GridQueryResponseBodyModuleList) String() string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
func (*Client) GetEndpoint ¶
func (*Client) GridQuery ¶
func (client *Client) GridQuery(dataType *string, request *GridQueryRequest) (_result *GridQueryResponse, _err error)
func (*Client) GridQueryWithOptions ¶
func (client *Client) GridQueryWithOptions(dataType *string, request *GridQueryRequest, headers map[string]*string, runtime *util.RuntimeOptions) (_result *GridQueryResponse, _err error)
type GridQueryRequest ¶
type GridQueryRequest struct { Element *string `json:"element,omitempty" xml:"element,omitempty"` ForecastTimestamp *string `json:"forecastTimestamp,omitempty" xml:"forecastTimestamp,omitempty"` Latitude *float64 `json:"latitude,omitempty" xml:"latitude,omitempty"` Longitude *float64 `json:"longitude,omitempty" xml:"longitude,omitempty"` PageNo *int32 `json:"pageNo,omitempty" xml:"pageNo,omitempty"` PageSize *int32 `json:"pageSize,omitempty" xml:"pageSize,omitempty"` Product *string `json:"product,omitempty" xml:"product,omitempty"` ReportTimestamp *string `json:"reportTimestamp,omitempty" xml:"reportTimestamp,omitempty"` }
func (GridQueryRequest) GoString ¶
func (s GridQueryRequest) GoString() string
func (*GridQueryRequest) SetElement ¶
func (s *GridQueryRequest) SetElement(v string) *GridQueryRequest
func (*GridQueryRequest) SetForecastTimestamp ¶
func (s *GridQueryRequest) SetForecastTimestamp(v string) *GridQueryRequest
func (*GridQueryRequest) SetLatitude ¶
func (s *GridQueryRequest) SetLatitude(v float64) *GridQueryRequest
func (*GridQueryRequest) SetLongitude ¶
func (s *GridQueryRequest) SetLongitude(v float64) *GridQueryRequest
func (*GridQueryRequest) SetPageNo ¶
func (s *GridQueryRequest) SetPageNo(v int32) *GridQueryRequest
func (*GridQueryRequest) SetPageSize ¶
func (s *GridQueryRequest) SetPageSize(v int32) *GridQueryRequest
func (*GridQueryRequest) SetProduct ¶
func (s *GridQueryRequest) SetProduct(v string) *GridQueryRequest
func (*GridQueryRequest) SetReportTimestamp ¶
func (s *GridQueryRequest) SetReportTimestamp(v string) *GridQueryRequest
func (GridQueryRequest) String ¶
func (s GridQueryRequest) String() string
type GridQueryResponse ¶
type GridQueryResponse struct { Headers map[string]*string `json:"headers,omitempty" xml:"headers,omitempty"` StatusCode *int32 `json:"statusCode,omitempty" xml:"statusCode,omitempty"` Body *GridQueryResponseBody `json:"body,omitempty" xml:"body,omitempty"` }
func (GridQueryResponse) GoString ¶
func (s GridQueryResponse) GoString() string
func (*GridQueryResponse) SetBody ¶
func (s *GridQueryResponse) SetBody(v *GridQueryResponseBody) *GridQueryResponse
func (*GridQueryResponse) SetHeaders ¶
func (s *GridQueryResponse) SetHeaders(v map[string]*string) *GridQueryResponse
func (*GridQueryResponse) SetStatusCode ¶
func (s *GridQueryResponse) SetStatusCode(v int32) *GridQueryResponse
func (GridQueryResponse) String ¶
func (s GridQueryResponse) String() string
type GridQueryResponseBody ¶
type GridQueryResponseBody struct { Code *int64 `json:"code,omitempty" xml:"code,omitempty"` Message *string `json:"message,omitempty" xml:"message,omitempty"` Module *GridQueryResponseBodyModule `json:"module,omitempty" xml:"module,omitempty" type:"Struct"` RequestId *string `json:"requestId,omitempty" xml:"requestId,omitempty"` Success *bool `json:"success,omitempty" xml:"success,omitempty"` }
func (GridQueryResponseBody) GoString ¶
func (s GridQueryResponseBody) GoString() string
func (*GridQueryResponseBody) SetCode ¶
func (s *GridQueryResponseBody) SetCode(v int64) *GridQueryResponseBody
func (*GridQueryResponseBody) SetMessage ¶
func (s *GridQueryResponseBody) SetMessage(v string) *GridQueryResponseBody
func (*GridQueryResponseBody) SetModule ¶
func (s *GridQueryResponseBody) SetModule(v *GridQueryResponseBodyModule) *GridQueryResponseBody
func (*GridQueryResponseBody) SetRequestId ¶
func (s *GridQueryResponseBody) SetRequestId(v string) *GridQueryResponseBody
func (*GridQueryResponseBody) SetSuccess ¶
func (s *GridQueryResponseBody) SetSuccess(v bool) *GridQueryResponseBody
func (GridQueryResponseBody) String ¶
func (s GridQueryResponseBody) String() string
type GridQueryResponseBodyModule ¶
type GridQueryResponseBodyModule struct { List []*GridQueryResponseBodyModuleList `json:"list,omitempty" xml:"list,omitempty" type:"Repeated"` PageNo *int32 `json:"pageNo,omitempty" xml:"pageNo,omitempty"` PageSize *int32 `json:"pageSize,omitempty" xml:"pageSize,omitempty"` }
func (GridQueryResponseBodyModule) GoString ¶
func (s GridQueryResponseBodyModule) GoString() string
func (*GridQueryResponseBodyModule) SetList ¶
func (s *GridQueryResponseBodyModule) SetList(v []*GridQueryResponseBodyModuleList) *GridQueryResponseBodyModule
func (*GridQueryResponseBodyModule) SetPageNo ¶
func (s *GridQueryResponseBodyModule) SetPageNo(v int32) *GridQueryResponseBodyModule
func (*GridQueryResponseBodyModule) SetPageSize ¶
func (s *GridQueryResponseBodyModule) SetPageSize(v int32) *GridQueryResponseBodyModule
func (GridQueryResponseBodyModule) String ¶
func (s GridQueryResponseBodyModule) String() string
type GridQueryResponseBodyModuleList ¶
type GridQueryResponseBodyModuleList struct { DataType *string `json:"dataType,omitempty" xml:"dataType,omitempty"` Element *string `json:"element,omitempty" xml:"element,omitempty"` ElementUnit *string `json:"elementUnit,omitempty" xml:"elementUnit,omitempty"` ForecastTimestamp *string `json:"forecastTimestamp,omitempty" xml:"forecastTimestamp,omitempty"` Latitude *float64 `json:"latitude,omitempty" xml:"latitude,omitempty"` Longitude *float64 `json:"longitude,omitempty" xml:"longitude,omitempty"` ReportTimestamp *string `json:"reportTimestamp,omitempty" xml:"reportTimestamp,omitempty"` Value *float64 `json:"value,omitempty" xml:"value,omitempty"` }
func (GridQueryResponseBodyModuleList) GoString ¶
func (s GridQueryResponseBodyModuleList) GoString() string
func (*GridQueryResponseBodyModuleList) SetDataType ¶
func (s *GridQueryResponseBodyModuleList) SetDataType(v string) *GridQueryResponseBodyModuleList
func (*GridQueryResponseBodyModuleList) SetElement ¶
func (s *GridQueryResponseBodyModuleList) SetElement(v string) *GridQueryResponseBodyModuleList
func (*GridQueryResponseBodyModuleList) SetElementUnit ¶
func (s *GridQueryResponseBodyModuleList) SetElementUnit(v string) *GridQueryResponseBodyModuleList
func (*GridQueryResponseBodyModuleList) SetForecastTimestamp ¶
func (s *GridQueryResponseBodyModuleList) SetForecastTimestamp(v string) *GridQueryResponseBodyModuleList
func (*GridQueryResponseBodyModuleList) SetLatitude ¶
func (s *GridQueryResponseBodyModuleList) SetLatitude(v float64) *GridQueryResponseBodyModuleList
func (*GridQueryResponseBodyModuleList) SetLongitude ¶
func (s *GridQueryResponseBodyModuleList) SetLongitude(v float64) *GridQueryResponseBodyModuleList
func (*GridQueryResponseBodyModuleList) SetReportTimestamp ¶
func (s *GridQueryResponseBodyModuleList) SetReportTimestamp(v string) *GridQueryResponseBodyModuleList
func (*GridQueryResponseBodyModuleList) SetValue ¶
func (s *GridQueryResponseBodyModuleList) SetValue(v float64) *GridQueryResponseBodyModuleList
func (GridQueryResponseBodyModuleList) String ¶
func (s GridQueryResponseBodyModuleList) String() string
Click to show internal directories.
Click to hide internal directories.