Documentation
¶
Index ¶
- type CloseIotCardRequest
- type CloseIotCardResponse
- type CloseIotCardResult
- type CloseIotFlowRequest
- type CloseIotFlowResponse
- type CloseIotFlowResult
- type GprsRealtimeInfoRequest
- type GprsRealtimeInfoResponse
- type GprsRealtimeInfoResult
- type GprsStatusRequest
- type GprsStatusResponse
- type GprsStatusResult
- type LifeStatusRequest
- type LifeStatusResponse
- type LifeStatusResult
- type OnOffStatusRequest
- type OnOffStatusResponse
- type OnOffStatusResult
- type OpenIotCardRequest
- type OpenIotCardResponse
- type OpenIotCardResult
- type OpenIotFlowRequest
- type OpenIotFlowResponse
- type OpenIotFlowResult
- type OperateRequest
- type OperateResponse
- type OperateResult
- type SearchRequest
- type SearchResponse
- type SearchResult
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CloseIotCardRequest ¶
type CloseIotCardRequest struct {
core.JDCloudRequest
/* Region ID */
RegionId string `json:"regionId"`
/* 物联网卡号码列表(单次提交最多不超过200个号码) */
Iccids []string `json:"iccids"`
}
func NewCloseIotCardRequest ¶
func NewCloseIotCardRequest( regionId string, iccids []string, ) *CloseIotCardRequest
* param regionId: Region ID (Required) * param iccids: 物联网卡号码列表(单次提交最多不超过200个号码) (Required) * * @Deprecated, not compatible when mandatory parameters changed
func NewCloseIotCardRequestWithAllParams ¶
func NewCloseIotCardRequestWithAllParams( regionId string, iccids []string, ) *CloseIotCardRequest
* param regionId: Region ID (Required) * param iccids: 物联网卡号码列表(单次提交最多不超过200个号码) (Required)
func NewCloseIotCardRequestWithoutParam ¶
func NewCloseIotCardRequestWithoutParam() *CloseIotCardRequest
This constructor has better compatible ability when API parameters changed
func (CloseIotCardRequest) GetRegionId ¶
func (r CloseIotCardRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*CloseIotCardRequest) SetIccids ¶
func (r *CloseIotCardRequest) SetIccids(iccids []string)
param iccids: 物联网卡号码列表(单次提交最多不超过200个号码)(Required)
func (*CloseIotCardRequest) SetRegionId ¶
func (r *CloseIotCardRequest) SetRegionId(regionId string)
param regionId: Region ID(Required)
type CloseIotCardResponse ¶
type CloseIotCardResponse struct {
RequestID string `json:"requestId"`
Error core.ErrorResponse `json:"error"`
Result CloseIotCardResult `json:"result"`
}
type CloseIotCardResult ¶
type CloseIotCardResult struct {
Status string `json:"status"`
Message string `json:"message"`
Result []iotlink.OperationIotlinkResp `json:"result"`
}
type CloseIotFlowRequest ¶
type CloseIotFlowRequest struct {
core.JDCloudRequest
/* Region ID */
RegionId string `json:"regionId"`
/* 物联网卡号码列表(单次提交最多不超过200个号码) */
Iccids []string `json:"iccids"`
}
func NewCloseIotFlowRequest ¶
func NewCloseIotFlowRequest( regionId string, iccids []string, ) *CloseIotFlowRequest
* param regionId: Region ID (Required) * param iccids: 物联网卡号码列表(单次提交最多不超过200个号码) (Required) * * @Deprecated, not compatible when mandatory parameters changed
func NewCloseIotFlowRequestWithAllParams ¶
func NewCloseIotFlowRequestWithAllParams( regionId string, iccids []string, ) *CloseIotFlowRequest
* param regionId: Region ID (Required) * param iccids: 物联网卡号码列表(单次提交最多不超过200个号码) (Required)
func NewCloseIotFlowRequestWithoutParam ¶
func NewCloseIotFlowRequestWithoutParam() *CloseIotFlowRequest
This constructor has better compatible ability when API parameters changed
func (CloseIotFlowRequest) GetRegionId ¶
func (r CloseIotFlowRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*CloseIotFlowRequest) SetIccids ¶
func (r *CloseIotFlowRequest) SetIccids(iccids []string)
param iccids: 物联网卡号码列表(单次提交最多不超过200个号码)(Required)
func (*CloseIotFlowRequest) SetRegionId ¶
func (r *CloseIotFlowRequest) SetRegionId(regionId string)
param regionId: Region ID(Required)
type CloseIotFlowResponse ¶
type CloseIotFlowResponse struct {
RequestID string `json:"requestId"`
Error core.ErrorResponse `json:"error"`
Result CloseIotFlowResult `json:"result"`
}
type CloseIotFlowResult ¶
type CloseIotFlowResult struct {
Status string `json:"status"`
Message string `json:"message"`
Result []iotlink.OperationIotlinkResp `json:"result"`
}
type GprsRealtimeInfoRequest ¶
type GprsRealtimeInfoRequest struct {
core.JDCloudRequest
/* Region ID */
RegionId string `json:"regionId"`
/* 物联网卡iccid */
Iccid string `json:"iccid"`
}
func NewGprsRealtimeInfoRequest ¶
func NewGprsRealtimeInfoRequest( regionId string, iccid string, ) *GprsRealtimeInfoRequest
* param regionId: Region ID (Required) * param iccid: 物联网卡iccid (Required) * * @Deprecated, not compatible when mandatory parameters changed
func NewGprsRealtimeInfoRequestWithAllParams ¶
func NewGprsRealtimeInfoRequestWithAllParams( regionId string, iccid string, ) *GprsRealtimeInfoRequest
* param regionId: Region ID (Required) * param iccid: 物联网卡iccid (Required)
func NewGprsRealtimeInfoRequestWithoutParam ¶
func NewGprsRealtimeInfoRequestWithoutParam() *GprsRealtimeInfoRequest
This constructor has better compatible ability when API parameters changed
func (GprsRealtimeInfoRequest) GetRegionId ¶
func (r GprsRealtimeInfoRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*GprsRealtimeInfoRequest) SetIccid ¶
func (r *GprsRealtimeInfoRequest) SetIccid(iccid string)
param iccid: 物联网卡iccid(Required)
func (*GprsRealtimeInfoRequest) SetRegionId ¶
func (r *GprsRealtimeInfoRequest) SetRegionId(regionId string)
param regionId: Region ID(Required)
type GprsRealtimeInfoResponse ¶
type GprsRealtimeInfoResponse struct {
RequestID string `json:"requestId"`
Error core.ErrorResponse `json:"error"`
Result GprsRealtimeInfoResult `json:"result"`
}
type GprsRealtimeInfoResult ¶
type GprsRealtimeInfoResult struct {
Status string `json:"status"`
Message string `json:"message"`
Result iotlink.GprsRealtimeInfoResp `json:"result"`
}
type GprsStatusRequest ¶
type GprsStatusRequest struct {
core.JDCloudRequest
/* Region ID */
RegionId string `json:"regionId"`
/* 物联网卡iccid */
Iccid string `json:"iccid"`
}
func NewGprsStatusRequest ¶
func NewGprsStatusRequest( regionId string, iccid string, ) *GprsStatusRequest
* param regionId: Region ID (Required) * param iccid: 物联网卡iccid (Required) * * @Deprecated, not compatible when mandatory parameters changed
func NewGprsStatusRequestWithAllParams ¶
func NewGprsStatusRequestWithAllParams( regionId string, iccid string, ) *GprsStatusRequest
* param regionId: Region ID (Required) * param iccid: 物联网卡iccid (Required)
func NewGprsStatusRequestWithoutParam ¶
func NewGprsStatusRequestWithoutParam() *GprsStatusRequest
This constructor has better compatible ability when API parameters changed
func (GprsStatusRequest) GetRegionId ¶
func (r GprsStatusRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*GprsStatusRequest) SetIccid ¶
func (r *GprsStatusRequest) SetIccid(iccid string)
param iccid: 物联网卡iccid(Required)
func (*GprsStatusRequest) SetRegionId ¶
func (r *GprsStatusRequest) SetRegionId(regionId string)
param regionId: Region ID(Required)
type GprsStatusResponse ¶
type GprsStatusResponse struct {
RequestID string `json:"requestId"`
Error core.ErrorResponse `json:"error"`
Result GprsStatusResult `json:"result"`
}
type GprsStatusResult ¶
type GprsStatusResult struct {
Status string `json:"status"`
Message string `json:"message"`
Result iotlink.GprsStatusResp `json:"result"`
}
type LifeStatusRequest ¶
type LifeStatusRequest struct {
core.JDCloudRequest
/* Region ID */
RegionId string `json:"regionId"`
/* 物联网卡iccid */
Iccid string `json:"iccid"`
}
func NewLifeStatusRequest ¶
func NewLifeStatusRequest( regionId string, iccid string, ) *LifeStatusRequest
* param regionId: Region ID (Required) * param iccid: 物联网卡iccid (Required) * * @Deprecated, not compatible when mandatory parameters changed
func NewLifeStatusRequestWithAllParams ¶
func NewLifeStatusRequestWithAllParams( regionId string, iccid string, ) *LifeStatusRequest
* param regionId: Region ID (Required) * param iccid: 物联网卡iccid (Required)
func NewLifeStatusRequestWithoutParam ¶
func NewLifeStatusRequestWithoutParam() *LifeStatusRequest
This constructor has better compatible ability when API parameters changed
func (LifeStatusRequest) GetRegionId ¶
func (r LifeStatusRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*LifeStatusRequest) SetIccid ¶
func (r *LifeStatusRequest) SetIccid(iccid string)
param iccid: 物联网卡iccid(Required)
func (*LifeStatusRequest) SetRegionId ¶
func (r *LifeStatusRequest) SetRegionId(regionId string)
param regionId: Region ID(Required)
type LifeStatusResponse ¶
type LifeStatusResponse struct {
RequestID string `json:"requestId"`
Error core.ErrorResponse `json:"error"`
Result LifeStatusResult `json:"result"`
}
type LifeStatusResult ¶
type LifeStatusResult struct {
Status string `json:"status"`
Message string `json:"message"`
Result iotlink.LifeStatusResp `json:"result"`
}
type OnOffStatusRequest ¶
type OnOffStatusRequest struct {
core.JDCloudRequest
/* Region ID */
RegionId string `json:"regionId"`
/* 物联网卡iccid */
Iccid string `json:"iccid"`
}
func NewOnOffStatusRequest ¶
func NewOnOffStatusRequest( regionId string, iccid string, ) *OnOffStatusRequest
* param regionId: Region ID (Required) * param iccid: 物联网卡iccid (Required) * * @Deprecated, not compatible when mandatory parameters changed
func NewOnOffStatusRequestWithAllParams ¶
func NewOnOffStatusRequestWithAllParams( regionId string, iccid string, ) *OnOffStatusRequest
* param regionId: Region ID (Required) * param iccid: 物联网卡iccid (Required)
func NewOnOffStatusRequestWithoutParam ¶
func NewOnOffStatusRequestWithoutParam() *OnOffStatusRequest
This constructor has better compatible ability when API parameters changed
func (OnOffStatusRequest) GetRegionId ¶
func (r OnOffStatusRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*OnOffStatusRequest) SetIccid ¶
func (r *OnOffStatusRequest) SetIccid(iccid string)
param iccid: 物联网卡iccid(Required)
func (*OnOffStatusRequest) SetRegionId ¶
func (r *OnOffStatusRequest) SetRegionId(regionId string)
param regionId: Region ID(Required)
type OnOffStatusResponse ¶
type OnOffStatusResponse struct {
RequestID string `json:"requestId"`
Error core.ErrorResponse `json:"error"`
Result OnOffStatusResult `json:"result"`
}
type OnOffStatusResult ¶
type OnOffStatusResult struct {
Status string `json:"status"`
Message string `json:"message"`
Result iotlink.OnOffStatusResp `json:"result"`
}
type OpenIotCardRequest ¶
type OpenIotCardRequest struct {
core.JDCloudRequest
/* Region ID */
RegionId string `json:"regionId"`
/* 物联网卡号码列表(单次提交最多不超过200个号码) */
Iccids []string `json:"iccids"`
}
func NewOpenIotCardRequest ¶
func NewOpenIotCardRequest( regionId string, iccids []string, ) *OpenIotCardRequest
* param regionId: Region ID (Required) * param iccids: 物联网卡号码列表(单次提交最多不超过200个号码) (Required) * * @Deprecated, not compatible when mandatory parameters changed
func NewOpenIotCardRequestWithAllParams ¶
func NewOpenIotCardRequestWithAllParams( regionId string, iccids []string, ) *OpenIotCardRequest
* param regionId: Region ID (Required) * param iccids: 物联网卡号码列表(单次提交最多不超过200个号码) (Required)
func NewOpenIotCardRequestWithoutParam ¶
func NewOpenIotCardRequestWithoutParam() *OpenIotCardRequest
This constructor has better compatible ability when API parameters changed
func (OpenIotCardRequest) GetRegionId ¶
func (r OpenIotCardRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*OpenIotCardRequest) SetIccids ¶
func (r *OpenIotCardRequest) SetIccids(iccids []string)
param iccids: 物联网卡号码列表(单次提交最多不超过200个号码)(Required)
func (*OpenIotCardRequest) SetRegionId ¶
func (r *OpenIotCardRequest) SetRegionId(regionId string)
param regionId: Region ID(Required)
type OpenIotCardResponse ¶
type OpenIotCardResponse struct {
RequestID string `json:"requestId"`
Error core.ErrorResponse `json:"error"`
Result OpenIotCardResult `json:"result"`
}
type OpenIotCardResult ¶
type OpenIotCardResult struct {
Status string `json:"status"`
Message string `json:"message"`
Result []iotlink.OperationIotlinkResp `json:"result"`
}
type OpenIotFlowRequest ¶
type OpenIotFlowRequest struct {
core.JDCloudRequest
/* Region ID */
RegionId string `json:"regionId"`
/* 物联网卡号码列表(单次提交最多不超过200个号码) */
Iccids []string `json:"iccids"`
}
func NewOpenIotFlowRequest ¶
func NewOpenIotFlowRequest( regionId string, iccids []string, ) *OpenIotFlowRequest
* param regionId: Region ID (Required) * param iccids: 物联网卡号码列表(单次提交最多不超过200个号码) (Required) * * @Deprecated, not compatible when mandatory parameters changed
func NewOpenIotFlowRequestWithAllParams ¶
func NewOpenIotFlowRequestWithAllParams( regionId string, iccids []string, ) *OpenIotFlowRequest
* param regionId: Region ID (Required) * param iccids: 物联网卡号码列表(单次提交最多不超过200个号码) (Required)
func NewOpenIotFlowRequestWithoutParam ¶
func NewOpenIotFlowRequestWithoutParam() *OpenIotFlowRequest
This constructor has better compatible ability when API parameters changed
func (OpenIotFlowRequest) GetRegionId ¶
func (r OpenIotFlowRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*OpenIotFlowRequest) SetIccids ¶
func (r *OpenIotFlowRequest) SetIccids(iccids []string)
param iccids: 物联网卡号码列表(单次提交最多不超过200个号码)(Required)
func (*OpenIotFlowRequest) SetRegionId ¶
func (r *OpenIotFlowRequest) SetRegionId(regionId string)
param regionId: Region ID(Required)
type OpenIotFlowResponse ¶
type OpenIotFlowResponse struct {
RequestID string `json:"requestId"`
Error core.ErrorResponse `json:"error"`
Result OpenIotFlowResult `json:"result"`
}
type OpenIotFlowResult ¶
type OpenIotFlowResult struct {
Status string `json:"status"`
Message string `json:"message"`
Result []iotlink.OperationIotlinkResp `json:"result"`
}
type OperateRequest ¶ added in v1.20.0
type OperateRequest struct {
core.JDCloudRequest
/* Region ID */
RegionId string `json:"regionId"`
/* 物联网卡操作请求类型 */
RequestType string `json:"requestType"`
/* 物联网卡操作请求参数json串 */
RequestParam string `json:"requestParam"`
}
func NewOperateRequest ¶ added in v1.20.0
func NewOperateRequest( regionId string, requestType string, requestParam string, ) *OperateRequest
* param regionId: Region ID (Required) * param requestType: 物联网卡操作请求类型 (Required) * param requestParam: 物联网卡操作请求参数json串 (Required) * * @Deprecated, not compatible when mandatory parameters changed
func NewOperateRequestWithAllParams ¶ added in v1.20.0
func NewOperateRequestWithAllParams( regionId string, requestType string, requestParam string, ) *OperateRequest
* param regionId: Region ID (Required) * param requestType: 物联网卡操作请求类型 (Required) * param requestParam: 物联网卡操作请求参数json串 (Required)
func NewOperateRequestWithoutParam ¶ added in v1.20.0
func NewOperateRequestWithoutParam() *OperateRequest
This constructor has better compatible ability when API parameters changed
func (OperateRequest) GetRegionId ¶ added in v1.20.0
func (r OperateRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*OperateRequest) SetRegionId ¶ added in v1.20.0
func (r *OperateRequest) SetRegionId(regionId string)
param regionId: Region ID(Required)
func (*OperateRequest) SetRequestParam ¶ added in v1.20.0
func (r *OperateRequest) SetRequestParam(requestParam string)
param requestParam: 物联网卡操作请求参数json串(Required)
func (*OperateRequest) SetRequestType ¶ added in v1.20.0
func (r *OperateRequest) SetRequestType(requestType string)
param requestType: 物联网卡操作请求类型(Required)
type OperateResponse ¶ added in v1.20.0
type OperateResponse struct {
RequestID string `json:"requestId"`
Error core.ErrorResponse `json:"error"`
Result OperateResult `json:"result"`
}
type OperateResult ¶ added in v1.20.0
type SearchRequest ¶ added in v1.20.0
type SearchRequest struct {
core.JDCloudRequest
/* Region ID */
RegionId string `json:"regionId"`
/* 物联网卡查询请求类型 */
RequestType string `json:"requestType"`
/* 物联网卡查询请求参数json串 */
RequestParam string `json:"requestParam"`
}
func NewSearchRequest ¶ added in v1.20.0
func NewSearchRequest( regionId string, requestType string, requestParam string, ) *SearchRequest
* param regionId: Region ID (Required) * param requestType: 物联网卡查询请求类型 (Required) * param requestParam: 物联网卡查询请求参数json串 (Required) * * @Deprecated, not compatible when mandatory parameters changed
func NewSearchRequestWithAllParams ¶ added in v1.20.0
func NewSearchRequestWithAllParams( regionId string, requestType string, requestParam string, ) *SearchRequest
* param regionId: Region ID (Required) * param requestType: 物联网卡查询请求类型 (Required) * param requestParam: 物联网卡查询请求参数json串 (Required)
func NewSearchRequestWithoutParam ¶ added in v1.20.0
func NewSearchRequestWithoutParam() *SearchRequest
This constructor has better compatible ability when API parameters changed
func (SearchRequest) GetRegionId ¶ added in v1.20.0
func (r SearchRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*SearchRequest) SetRegionId ¶ added in v1.20.0
func (r *SearchRequest) SetRegionId(regionId string)
param regionId: Region ID(Required)
func (*SearchRequest) SetRequestParam ¶ added in v1.20.0
func (r *SearchRequest) SetRequestParam(requestParam string)
param requestParam: 物联网卡查询请求参数json串(Required)
func (*SearchRequest) SetRequestType ¶ added in v1.20.0
func (r *SearchRequest) SetRequestType(requestType string)
param requestType: 物联网卡查询请求类型(Required)
type SearchResponse ¶ added in v1.20.0
type SearchResponse struct {
RequestID string `json:"requestId"`
Error core.ErrorResponse `json:"error"`
Result SearchResult `json:"result"`
}