v20190307

package
v1.0.931 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 28, 2024 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

View Source
const (

	// 操作失败。
	FAILEDOPERATION = "FailedOperation"

	// 参数错误。
	INVALIDPARAMETER = "InvalidParameter"

	// 参数取值错误。
	INVALIDPARAMETERVALUE = "InvalidParameterValue"

	// 资源不存在。
	RESOURCENOTFOUND = "ResourceNotFound"

	// 应用id不存在。
	RESOURCENOTFOUND_APPNOTFOUND = "ResourceNotFound.AppNotFound"
)
View Source
const APIVersion = "2019-03-07"

Variables

This section is empty.

Functions

This section is empty.

Types

type AppInfo

type AppInfo struct {
	// 应用ID
	Sdkappid *string `json:"Sdkappid,omitnil,omitempty" name:"Sdkappid"`

	// 应用key
	Appkey *string `json:"Appkey,omitnil,omitempty" name:"Appkey"`

	// 用户appid
	CloudAppid *string `json:"CloudAppid,omitnil,omitempty" name:"CloudAppid"`

	// 应用名称
	// 注意:此字段可能返回 null,表示取不到有效值。
	Name *string `json:"Name,omitnil,omitempty" name:"Name"`

	// 应用描述
	Description *string `json:"Description,omitnil,omitempty" name:"Description"`

	// 创建时间
	CreatedTime *string `json:"CreatedTime,omitnil,omitempty" name:"CreatedTime"`

	// 应用类型
	BizType *int64 `json:"BizType,omitnil,omitempty" name:"BizType"`

	// 用户Uin
	Uin *string `json:"Uin,omitnil,omitempty" name:"Uin"`
}

type CardInfo

type CardInfo struct {
	// 卡片ID
	Iccid *string `json:"Iccid,omitnil,omitempty" name:"Iccid"`

	// 卡电话号码
	// 注意:此字段可能返回 null,表示取不到有效值。
	Msisdn *string `json:"Msisdn,omitnil,omitempty" name:"Msisdn"`

	// 卡imsi
	// 注意:此字段可能返回 null,表示取不到有效值。
	Imsi *string `json:"Imsi,omitnil,omitempty" name:"Imsi"`

	// 卡imei
	// 注意:此字段可能返回 null,表示取不到有效值。
	Imei *string `json:"Imei,omitnil,omitempty" name:"Imei"`

	// 应用ID
	Sdkappid *string `json:"Sdkappid,omitnil,omitempty" name:"Sdkappid"`

	// 运营商编号
	Teleoperator *int64 `json:"Teleoperator,omitnil,omitempty" name:"Teleoperator"`

	// 卡片状态 1:未激活 2:激活 3:停卡 5:销卡
	CardStatus *int64 `json:"CardStatus,omitnil,omitempty" name:"CardStatus"`

	// 网络状态
	// 注意:此字段可能返回 null,表示取不到有效值。
	NetworkStatus *int64 `json:"NetworkStatus,omitnil,omitempty" name:"NetworkStatus"`

	// 激活时间
	// 注意:此字段可能返回 null,表示取不到有效值。
	ActivitedTime *string `json:"ActivitedTime,omitnil,omitempty" name:"ActivitedTime"`

	// 资费类型,1 单卡,2 流量池
	Type *int64 `json:"Type,omitnil,omitempty" name:"Type"`

	// 套餐类型
	// 注意:此字段可能返回 null,表示取不到有效值。
	ProductId *string `json:"ProductId,omitnil,omitempty" name:"ProductId"`

	// 流量池ID
	// 注意:此字段可能返回 null,表示取不到有效值。
	PoolId *string `json:"PoolId,omitnil,omitempty" name:"PoolId"`

	// 周期套餐流量使用
	// 注意:此字段可能返回 null,表示取不到有效值。
	DataUsedInPeriod *float64 `json:"DataUsedInPeriod,omitnil,omitempty" name:"DataUsedInPeriod"`

	// 周期套餐总量
	// 注意:此字段可能返回 null,表示取不到有效值。
	DataTotalInPeriod *float64 `json:"DataTotalInPeriod,omitnil,omitempty" name:"DataTotalInPeriod"`

	// 过期时间
	// 注意:此字段可能返回 null,表示取不到有效值。
	ProductExpiredTime *string `json:"ProductExpiredTime,omitnil,omitempty" name:"ProductExpiredTime"`

	// 描述信息
	// 注意:此字段可能返回 null,表示取不到有效值。
	Description *string `json:"Description,omitnil,omitempty" name:"Description"`

	// 创建时间
	CreatedTime *string `json:"CreatedTime,omitnil,omitempty" name:"CreatedTime"`

	// 修改时间
	ModifiedTime *string `json:"ModifiedTime,omitnil,omitempty" name:"ModifiedTime"`

	// 套餐周期
	// 注意:此字段可能返回 null,表示取不到有效值。
	PreorderCnt *int64 `json:"PreorderCnt,omitnil,omitempty" name:"PreorderCnt"`

	// 激活被回调标志
	// 注意:此字段可能返回 null,表示取不到有效值。
	IsActivated *int64 `json:"IsActivated,omitnil,omitempty" name:"IsActivated"`

	// 订单ID
	// 注意:此字段可能返回 null,表示取不到有效值。
	OrderId *string `json:"OrderId,omitnil,omitempty" name:"OrderId"`

	// 是否自动续费
	// 注意:此字段可能返回 null,表示取不到有效值。
	AutoRenew *int64 `json:"AutoRenew,omitnil,omitempty" name:"AutoRenew"`

	// 备注
	// 注意:此字段可能返回 null,表示取不到有效值。
	Remark *string `json:"Remark,omitnil,omitempty" name:"Remark"`

	// 0 不需要开通达量不停卡 1 需要开通达量不停卡
	// 注意:此字段可能返回 null,表示取不到有效值。
	AllowArrears *int64 `json:"AllowArrears,omitnil,omitempty" name:"AllowArrears"`

	// 是否开通短信0:未开短信 1:开通短信
	NeedSms *int64 `json:"NeedSms,omitnil,omitempty" name:"NeedSms"`

	// 供应商
	Provider *int64 `json:"Provider,omitnil,omitempty" name:"Provider"`

	// 实名认证 0:无 1:未实名 2:已实名
	// 注意:此字段可能返回 null,表示取不到有效值。
	CertificationState *int64 `json:"CertificationState,omitnil,omitempty" name:"CertificationState"`

	// 其他流量信息,流量分离统计其他流量
	// 注意:此字段可能返回 null,表示取不到有效值。
	OtherData *float64 `json:"OtherData,omitnil,omitempty" name:"OtherData"`
}

type CardList

type CardList struct {
	// 卡片总数
	Total *string `json:"Total,omitnil,omitempty" name:"Total"`

	// 卡片列表信息
	// 注意:此字段可能返回 null,表示取不到有效值。
	List []*CardInfo `json:"List,omitnil,omitempty" name:"List"`
}

type Client

type Client struct {
	common.Client
}

func NewClient

func NewClient(credential common.CredentialIface, region string, clientProfile *profile.ClientProfile) (client *Client, err error)

func NewClientWithSecretId

func NewClientWithSecretId(secretId, secretKey, region string) (client *Client, err error)

Deprecated

func (*Client) DescribeApp

func (c *Client) DescribeApp(request *DescribeAppRequest) (response *DescribeAppResponse, err error)

DescribeApp 根据应用id查询物联卡应用详情

可能返回的错误码:

FAILEDOPERATION = "FailedOperation"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
RESOURCENOTFOUND = "ResourceNotFound"

func (*Client) DescribeAppWithContext added in v1.0.324

func (c *Client) DescribeAppWithContext(ctx context.Context, request *DescribeAppRequest) (response *DescribeAppResponse, err error)

DescribeApp 根据应用id查询物联卡应用详情

可能返回的错误码:

FAILEDOPERATION = "FailedOperation"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
RESOURCENOTFOUND = "ResourceNotFound"

func (*Client) DescribeCard

func (c *Client) DescribeCard(request *DescribeCardRequest) (response *DescribeCardResponse, err error)

DescribeCard 查询卡片详细信息

可能返回的错误码:

FAILEDOPERATION = "FailedOperation"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
RESOURCENOTFOUND = "ResourceNotFound"

func (*Client) DescribeCardWithContext added in v1.0.324

func (c *Client) DescribeCardWithContext(ctx context.Context, request *DescribeCardRequest) (response *DescribeCardResponse, err error)

DescribeCard 查询卡片详细信息

可能返回的错误码:

FAILEDOPERATION = "FailedOperation"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
RESOURCENOTFOUND = "ResourceNotFound"

func (*Client) DescribeCards

func (c *Client) DescribeCards(request *DescribeCardsRequest) (response *DescribeCardsResponse, err error)

DescribeCards 查询卡片列表信息

可能返回的错误码:

FAILEDOPERATION = "FailedOperation"

func (*Client) DescribeCardsWithContext added in v1.0.324

func (c *Client) DescribeCardsWithContext(ctx context.Context, request *DescribeCardsRequest) (response *DescribeCardsResponse, err error)

DescribeCards 查询卡片列表信息

可能返回的错误码:

FAILEDOPERATION = "FailedOperation"

func (*Client) DescribeSms added in v1.0.466

func (c *Client) DescribeSms(request *DescribeSmsRequest) (response *DescribeSmsResponse, err error)

DescribeSms 查询短信列表

可能返回的错误码:

FAILEDOPERATION = "FailedOperation"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
RESOURCENOTFOUND = "ResourceNotFound"
RESOURCENOTFOUND_APPNOTFOUND = "ResourceNotFound.AppNotFound"

func (*Client) DescribeSmsWithContext added in v1.0.466

func (c *Client) DescribeSmsWithContext(ctx context.Context, request *DescribeSmsRequest) (response *DescribeSmsResponse, err error)

DescribeSms 查询短信列表

可能返回的错误码:

FAILEDOPERATION = "FailedOperation"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
RESOURCENOTFOUND = "ResourceNotFound"
RESOURCENOTFOUND_APPNOTFOUND = "ResourceNotFound.AppNotFound"

func (*Client) ModifyUserCardRemark

func (c *Client) ModifyUserCardRemark(request *ModifyUserCardRemarkRequest) (response *ModifyUserCardRemarkResponse, err error)

ModifyUserCardRemark 编辑卡片备注

可能返回的错误码:

FAILEDOPERATION = "FailedOperation"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
RESOURCENOTFOUND = "ResourceNotFound"

func (*Client) ModifyUserCardRemarkWithContext added in v1.0.324

func (c *Client) ModifyUserCardRemarkWithContext(ctx context.Context, request *ModifyUserCardRemarkRequest) (response *ModifyUserCardRemarkResponse, err error)

ModifyUserCardRemark 编辑卡片备注

可能返回的错误码:

FAILEDOPERATION = "FailedOperation"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
RESOURCENOTFOUND = "ResourceNotFound"

func (*Client) PayForExtendData added in v1.0.486

func (c *Client) PayForExtendData(request *PayForExtendDataRequest) (response *PayForExtendDataResponse, err error)

PayForExtendData 购买套外流量包

可能返回的错误码:

FAILEDOPERATION = "FailedOperation"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
RESOURCENOTFOUND = "ResourceNotFound"

func (*Client) PayForExtendDataWithContext added in v1.0.486

func (c *Client) PayForExtendDataWithContext(ctx context.Context, request *PayForExtendDataRequest) (response *PayForExtendDataResponse, err error)

PayForExtendData 购买套外流量包

可能返回的错误码:

FAILEDOPERATION = "FailedOperation"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
RESOURCENOTFOUND = "ResourceNotFound"

func (*Client) RenewCards

func (c *Client) RenewCards(request *RenewCardsRequest) (response *RenewCardsResponse, err error)

RenewCards 批量为卡片续费,此接口建议调用至少间隔10s,如果出现返回deal lock failed相关的错误,请过10s再重试。

续费的必要条件:

1、单次续费的卡片不可以超过 100张。

2、接口只支持在控制台购买的卡片进行续费

3、销户和未激活的卡片不支持续费。

4、每张物联网卡,续费总周期不能超过24个月

可能返回的错误码:

FAILEDOPERATION = "FailedOperation"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
RESOURCENOTFOUND = "ResourceNotFound"
RESOURCENOTFOUND_APPNOTFOUND = "ResourceNotFound.AppNotFound"

func (*Client) RenewCardsWithContext added in v1.0.324

func (c *Client) RenewCardsWithContext(ctx context.Context, request *RenewCardsRequest) (response *RenewCardsResponse, err error)

RenewCards 批量为卡片续费,此接口建议调用至少间隔10s,如果出现返回deal lock failed相关的错误,请过10s再重试。

续费的必要条件:

1、单次续费的卡片不可以超过 100张。

2、接口只支持在控制台购买的卡片进行续费

3、销户和未激活的卡片不支持续费。

4、每张物联网卡,续费总周期不能超过24个月

可能返回的错误码:

FAILEDOPERATION = "FailedOperation"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
RESOURCENOTFOUND = "ResourceNotFound"
RESOURCENOTFOUND_APPNOTFOUND = "ResourceNotFound.AppNotFound"

func (*Client) SendMultiSms

func (c *Client) SendMultiSms(request *SendMultiSmsRequest) (response *SendMultiSmsResponse, err error)

SendMultiSms 群发短信

可能返回的错误码:

FAILEDOPERATION = "FailedOperation"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
RESOURCENOTFOUND = "ResourceNotFound"

func (*Client) SendMultiSmsWithContext added in v1.0.324

func (c *Client) SendMultiSmsWithContext(ctx context.Context, request *SendMultiSmsRequest) (response *SendMultiSmsResponse, err error)

SendMultiSms 群发短信

可能返回的错误码:

FAILEDOPERATION = "FailedOperation"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
RESOURCENOTFOUND = "ResourceNotFound"

func (*Client) SendSms

func (c *Client) SendSms(request *SendSmsRequest) (response *SendSmsResponse, err error)

SendSms 发送短信息接口

可能返回的错误码:

FAILEDOPERATION = "FailedOperation"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
RESOURCENOTFOUND = "ResourceNotFound"

func (*Client) SendSmsWithContext added in v1.0.324

func (c *Client) SendSmsWithContext(ctx context.Context, request *SendSmsRequest) (response *SendSmsResponse, err error)

SendSms 发送短信息接口

可能返回的错误码:

FAILEDOPERATION = "FailedOperation"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
RESOURCENOTFOUND = "ResourceNotFound"

type DescribeAppRequest

type DescribeAppRequest struct {
	*tchttp.BaseRequest

	// 物联卡应用ID
	Sdkappid *int64 `json:"Sdkappid,omitnil,omitempty" name:"Sdkappid"`
}

func NewDescribeAppRequest

func NewDescribeAppRequest() (request *DescribeAppRequest)

func (*DescribeAppRequest) FromJsonString

func (r *DescribeAppRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeAppRequest) ToJsonString

func (r *DescribeAppRequest) ToJsonString() string

type DescribeAppRequestParams added in v1.0.426

type DescribeAppRequestParams struct {
	// 物联卡应用ID
	Sdkappid *int64 `json:"Sdkappid,omitnil,omitempty" name:"Sdkappid"`
}

Predefined struct for user

type DescribeAppResponse

type DescribeAppResponse struct {
	*tchttp.BaseResponse
	Response *DescribeAppResponseParams `json:"Response"`
}

func NewDescribeAppResponse

func NewDescribeAppResponse() (response *DescribeAppResponse)

func (*DescribeAppResponse) FromJsonString

func (r *DescribeAppResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeAppResponse) ToJsonString

func (r *DescribeAppResponse) ToJsonString() string

type DescribeAppResponseParams added in v1.0.426

type DescribeAppResponseParams struct {
	// 应用信息详情
	// 注意:此字段可能返回 null,表示取不到有效值。
	Data *AppInfo `json:"Data,omitnil,omitempty" name:"Data"`

	// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type DescribeCardRequest

type DescribeCardRequest struct {
	*tchttp.BaseRequest

	// 应用ID
	Sdkappid *int64 `json:"Sdkappid,omitnil,omitempty" name:"Sdkappid"`

	// 卡片ID
	Iccid *string `json:"Iccid,omitnil,omitempty" name:"Iccid"`
}

func NewDescribeCardRequest

func NewDescribeCardRequest() (request *DescribeCardRequest)

func (*DescribeCardRequest) FromJsonString

func (r *DescribeCardRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeCardRequest) ToJsonString

func (r *DescribeCardRequest) ToJsonString() string

type DescribeCardRequestParams added in v1.0.426

type DescribeCardRequestParams struct {
	// 应用ID
	Sdkappid *int64 `json:"Sdkappid,omitnil,omitempty" name:"Sdkappid"`

	// 卡片ID
	Iccid *string `json:"Iccid,omitnil,omitempty" name:"Iccid"`
}

Predefined struct for user

type DescribeCardResponse

type DescribeCardResponse struct {
	*tchttp.BaseResponse
	Response *DescribeCardResponseParams `json:"Response"`
}

func NewDescribeCardResponse

func NewDescribeCardResponse() (response *DescribeCardResponse)

func (*DescribeCardResponse) FromJsonString

func (r *DescribeCardResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeCardResponse) ToJsonString

func (r *DescribeCardResponse) ToJsonString() string

type DescribeCardResponseParams added in v1.0.426

type DescribeCardResponseParams struct {
	// 卡片详细信息
	// 注意:此字段可能返回 null,表示取不到有效值。
	Data *CardInfo `json:"Data,omitnil,omitempty" name:"Data"`

	// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type DescribeCardsRequest

type DescribeCardsRequest struct {
	*tchttp.BaseRequest

	// 应用ID
	Sdkappid *string `json:"Sdkappid,omitnil,omitempty" name:"Sdkappid"`

	// 偏移值
	Offset *int64 `json:"Offset,omitnil,omitempty" name:"Offset"`

	// 列表限制
	Limit *int64 `json:"Limit,omitnil,omitempty" name:"Limit"`
}

func NewDescribeCardsRequest

func NewDescribeCardsRequest() (request *DescribeCardsRequest)

func (*DescribeCardsRequest) FromJsonString

func (r *DescribeCardsRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeCardsRequest) ToJsonString

func (r *DescribeCardsRequest) ToJsonString() string

type DescribeCardsRequestParams added in v1.0.426

type DescribeCardsRequestParams struct {
	// 应用ID
	Sdkappid *string `json:"Sdkappid,omitnil,omitempty" name:"Sdkappid"`

	// 偏移值
	Offset *int64 `json:"Offset,omitnil,omitempty" name:"Offset"`

	// 列表限制
	Limit *int64 `json:"Limit,omitnil,omitempty" name:"Limit"`
}

Predefined struct for user

type DescribeCardsResponse

type DescribeCardsResponse struct {
	*tchttp.BaseResponse
	Response *DescribeCardsResponseParams `json:"Response"`
}

func NewDescribeCardsResponse

func NewDescribeCardsResponse() (response *DescribeCardsResponse)

func (*DescribeCardsResponse) FromJsonString

func (r *DescribeCardsResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeCardsResponse) ToJsonString

func (r *DescribeCardsResponse) ToJsonString() string

type DescribeCardsResponseParams added in v1.0.426

type DescribeCardsResponseParams struct {
	// 卡片列表信息
	Data *CardList `json:"Data,omitnil,omitempty" name:"Data"`

	// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type DescribeSmsRequest added in v1.0.466

type DescribeSmsRequest struct {
	*tchttp.BaseRequest

	// 应用ID
	Sdkappid *int64 `json:"Sdkappid,omitnil,omitempty" name:"Sdkappid"`

	// 卡片ID
	Iccid *string `json:"Iccid,omitnil,omitempty" name:"Iccid"`

	// 卡片号码
	Msisdn *string `json:"Msisdn,omitnil,omitempty" name:"Msisdn"`

	// 短信类型
	SmsType *int64 `json:"SmsType,omitnil,omitempty" name:"SmsType"`

	// 开始时间  YYYY-MM-DD HH:mm:ss
	BeginTime *string `json:"BeginTime,omitnil,omitempty" name:"BeginTime"`

	// 结束时间  YYYY-MM-DD HH:mm:ss
	EndTime *string `json:"EndTime,omitnil,omitempty" name:"EndTime"`

	// 偏移量
	Offset *uint64 `json:"Offset,omitnil,omitempty" name:"Offset"`

	// 小于200
	Limit *uint64 `json:"Limit,omitnil,omitempty" name:"Limit"`
}

func NewDescribeSmsRequest added in v1.0.466

func NewDescribeSmsRequest() (request *DescribeSmsRequest)

func (*DescribeSmsRequest) FromJsonString added in v1.0.466

func (r *DescribeSmsRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeSmsRequest) ToJsonString added in v1.0.466

func (r *DescribeSmsRequest) ToJsonString() string

type DescribeSmsRequestParams added in v1.0.466

type DescribeSmsRequestParams struct {
	// 应用ID
	Sdkappid *int64 `json:"Sdkappid,omitnil,omitempty" name:"Sdkappid"`

	// 卡片ID
	Iccid *string `json:"Iccid,omitnil,omitempty" name:"Iccid"`

	// 卡片号码
	Msisdn *string `json:"Msisdn,omitnil,omitempty" name:"Msisdn"`

	// 短信类型
	SmsType *int64 `json:"SmsType,omitnil,omitempty" name:"SmsType"`

	// 开始时间  YYYY-MM-DD HH:mm:ss
	BeginTime *string `json:"BeginTime,omitnil,omitempty" name:"BeginTime"`

	// 结束时间  YYYY-MM-DD HH:mm:ss
	EndTime *string `json:"EndTime,omitnil,omitempty" name:"EndTime"`

	// 偏移量
	Offset *uint64 `json:"Offset,omitnil,omitempty" name:"Offset"`

	// 小于200
	Limit *uint64 `json:"Limit,omitnil,omitempty" name:"Limit"`
}

Predefined struct for user

type DescribeSmsResponse added in v1.0.466

type DescribeSmsResponse struct {
	*tchttp.BaseResponse
	Response *DescribeSmsResponseParams `json:"Response"`
}

func NewDescribeSmsResponse added in v1.0.466

func NewDescribeSmsResponse() (response *DescribeSmsResponse)

func (*DescribeSmsResponse) FromJsonString added in v1.0.466

func (r *DescribeSmsResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeSmsResponse) ToJsonString added in v1.0.466

func (r *DescribeSmsResponse) ToJsonString() string

type DescribeSmsResponseParams added in v1.0.466

type DescribeSmsResponseParams struct {
	// 总数
	// 注意:此字段可能返回 null,表示取不到有效值。
	Total *int64 `json:"Total,omitnil,omitempty" name:"Total"`

	// 短信列表
	// 注意:此字段可能返回 null,表示取不到有效值。
	List []*ResSms `json:"List,omitnil,omitempty" name:"List"`

	// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type ModifyUserCardRemarkRequest

type ModifyUserCardRemarkRequest struct {
	*tchttp.BaseRequest

	// 应用ID
	Sdkappid *int64 `json:"Sdkappid,omitnil,omitempty" name:"Sdkappid"`

	// 物联卡ICCID
	Iccid *string `json:"Iccid,omitnil,omitempty" name:"Iccid"`

	// 备注信息,限50字
	Remark *string `json:"Remark,omitnil,omitempty" name:"Remark"`
}

func NewModifyUserCardRemarkRequest

func NewModifyUserCardRemarkRequest() (request *ModifyUserCardRemarkRequest)

func (*ModifyUserCardRemarkRequest) FromJsonString

func (r *ModifyUserCardRemarkRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*ModifyUserCardRemarkRequest) ToJsonString

func (r *ModifyUserCardRemarkRequest) ToJsonString() string

type ModifyUserCardRemarkRequestParams added in v1.0.426

type ModifyUserCardRemarkRequestParams struct {
	// 应用ID
	Sdkappid *int64 `json:"Sdkappid,omitnil,omitempty" name:"Sdkappid"`

	// 物联卡ICCID
	Iccid *string `json:"Iccid,omitnil,omitempty" name:"Iccid"`

	// 备注信息,限50字
	Remark *string `json:"Remark,omitnil,omitempty" name:"Remark"`
}

Predefined struct for user

type ModifyUserCardRemarkResponse

type ModifyUserCardRemarkResponse struct {
	*tchttp.BaseResponse
	Response *ModifyUserCardRemarkResponseParams `json:"Response"`
}

func NewModifyUserCardRemarkResponse

func NewModifyUserCardRemarkResponse() (response *ModifyUserCardRemarkResponse)

func (*ModifyUserCardRemarkResponse) FromJsonString

func (r *ModifyUserCardRemarkResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*ModifyUserCardRemarkResponse) ToJsonString

func (r *ModifyUserCardRemarkResponse) ToJsonString() string

type ModifyUserCardRemarkResponseParams added in v1.0.426

type ModifyUserCardRemarkResponseParams struct {
	// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type PayForExtendDataRequest added in v1.0.486

type PayForExtendDataRequest struct {
	*tchttp.BaseRequest

	// 卡片ICCID
	Iccid *string `json:"Iccid,omitnil,omitempty" name:"Iccid"`

	// 套外流量,单位MB
	ExtentData *uint64 `json:"ExtentData,omitnil,omitempty" name:"ExtentData"`

	// 应用ID
	Sdkappid *uint64 `json:"Sdkappid,omitnil,omitempty" name:"Sdkappid"`
}

func NewPayForExtendDataRequest added in v1.0.486

func NewPayForExtendDataRequest() (request *PayForExtendDataRequest)

func (*PayForExtendDataRequest) FromJsonString added in v1.0.486

func (r *PayForExtendDataRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*PayForExtendDataRequest) ToJsonString added in v1.0.486

func (r *PayForExtendDataRequest) ToJsonString() string

type PayForExtendDataRequestParams added in v1.0.486

type PayForExtendDataRequestParams struct {
	// 卡片ICCID
	Iccid *string `json:"Iccid,omitnil,omitempty" name:"Iccid"`

	// 套外流量,单位MB
	ExtentData *uint64 `json:"ExtentData,omitnil,omitempty" name:"ExtentData"`

	// 应用ID
	Sdkappid *uint64 `json:"Sdkappid,omitnil,omitempty" name:"Sdkappid"`
}

Predefined struct for user

type PayForExtendDataResponse added in v1.0.486

type PayForExtendDataResponse struct {
	*tchttp.BaseResponse
	Response *PayForExtendDataResponseParams `json:"Response"`
}

func NewPayForExtendDataResponse added in v1.0.486

func NewPayForExtendDataResponse() (response *PayForExtendDataResponse)

func (*PayForExtendDataResponse) FromJsonString added in v1.0.486

func (r *PayForExtendDataResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*PayForExtendDataResponse) ToJsonString added in v1.0.486

func (r *PayForExtendDataResponse) ToJsonString() string

type PayForExtendDataResponseParams added in v1.0.486

type PayForExtendDataResponseParams struct {
	// 订单号
	Data *ResOrderIds `json:"Data,omitnil,omitempty" name:"Data"`

	// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type RenewCardsRequest

type RenewCardsRequest struct {
	*tchttp.BaseRequest

	// 应用ID
	Sdkappid *uint64 `json:"Sdkappid,omitnil,omitempty" name:"Sdkappid"`

	// 续费的iccid
	Iccids []*string `json:"Iccids,omitnil,omitempty" name:"Iccids"`

	// 续费的周期(单位:月)
	RenewNum *uint64 `json:"RenewNum,omitnil,omitempty" name:"RenewNum"`
}

func NewRenewCardsRequest

func NewRenewCardsRequest() (request *RenewCardsRequest)

func (*RenewCardsRequest) FromJsonString

func (r *RenewCardsRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*RenewCardsRequest) ToJsonString

func (r *RenewCardsRequest) ToJsonString() string

type RenewCardsRequestParams added in v1.0.426

type RenewCardsRequestParams struct {
	// 应用ID
	Sdkappid *uint64 `json:"Sdkappid,omitnil,omitempty" name:"Sdkappid"`

	// 续费的iccid
	Iccids []*string `json:"Iccids,omitnil,omitempty" name:"Iccids"`

	// 续费的周期(单位:月)
	RenewNum *uint64 `json:"RenewNum,omitnil,omitempty" name:"RenewNum"`
}

Predefined struct for user

type RenewCardsResponse

type RenewCardsResponse struct {
	*tchttp.BaseResponse
	Response *RenewCardsResponseParams `json:"Response"`
}

func NewRenewCardsResponse

func NewRenewCardsResponse() (response *RenewCardsResponse)

func (*RenewCardsResponse) FromJsonString

func (r *RenewCardsResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*RenewCardsResponse) ToJsonString

func (r *RenewCardsResponse) ToJsonString() string

type RenewCardsResponseParams added in v1.0.426

type RenewCardsResponseParams struct {
	// 续费成功的订单id
	// 注意:此字段可能返回 null,表示取不到有效值。
	Data *ResRenew `json:"Data,omitnil,omitempty" name:"Data"`

	// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type ResOrderIds added in v1.0.486

type ResOrderIds struct {
	// 每一张续费卡片的订单ID数组
	// 注意:此字段可能返回 null,表示取不到有效值。
	OrderIds []*string `json:"OrderIds,omitnil,omitempty" name:"OrderIds"`
}

type ResRenew

type ResRenew struct {
	// 每一张续费卡片的订单ID数组
	// 注意:此字段可能返回 null,表示取不到有效值。
	OrderIds []*string `json:"OrderIds,omitnil,omitempty" name:"OrderIds"`
}

type ResSms added in v1.0.466

type ResSms struct {
	// 卡片ID
	// 注意:此字段可能返回 null,表示取不到有效值。
	Iccid *string `json:"Iccid,omitnil,omitempty" name:"Iccid"`

	// 卡片号码
	// 注意:此字段可能返回 null,表示取不到有效值。
	Msisdn *string `json:"Msisdn,omitnil,omitempty" name:"Msisdn"`

	// 应用ID
	// 注意:此字段可能返回 null,表示取不到有效值。
	SdkAppid *int64 `json:"SdkAppid,omitnil,omitempty" name:"SdkAppid"`

	// 短信内容
	// 注意:此字段可能返回 null,表示取不到有效值。
	Content *string `json:"Content,omitnil,omitempty" name:"Content"`

	// 短信类型
	// 注意:此字段可能返回 null,表示取不到有效值。
	SmsType *int64 `json:"SmsType,omitnil,omitempty" name:"SmsType"`

	// 发送时间
	// 注意:此字段可能返回 null,表示取不到有效值。
	SendTime *string `json:"SendTime,omitnil,omitempty" name:"SendTime"`

	// 推送时间
	// 注意:此字段可能返回 null,表示取不到有效值。
	ReportTime *string `json:"ReportTime,omitnil,omitempty" name:"ReportTime"`

	// SUCC:成功  FAIL 失败
	// 注意:此字段可能返回 null,表示取不到有效值。
	Remark *string `json:"Remark,omitnil,omitempty" name:"Remark"`

	// 回执状态
	// 注意:此字段可能返回 null,表示取不到有效值。
	Status *int64 `json:"Status,omitnil,omitempty" name:"Status"`
}

type SendMultiSmsRequest

type SendMultiSmsRequest struct {
	*tchttp.BaseRequest

	// 应用ID
	Sdkappid *string `json:"Sdkappid,omitnil,omitempty" name:"Sdkappid"`

	// 卡片列表
	Iccids []*string `json:"Iccids,omitnil,omitempty" name:"Iccids"`

	// 短信内容 长度限制 70
	Content *string `json:"Content,omitnil,omitempty" name:"Content"`
}

func NewSendMultiSmsRequest

func NewSendMultiSmsRequest() (request *SendMultiSmsRequest)

func (*SendMultiSmsRequest) FromJsonString

func (r *SendMultiSmsRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*SendMultiSmsRequest) ToJsonString

func (r *SendMultiSmsRequest) ToJsonString() string

type SendMultiSmsRequestParams added in v1.0.426

type SendMultiSmsRequestParams struct {
	// 应用ID
	Sdkappid *string `json:"Sdkappid,omitnil,omitempty" name:"Sdkappid"`

	// 卡片列表
	Iccids []*string `json:"Iccids,omitnil,omitempty" name:"Iccids"`

	// 短信内容 长度限制 70
	Content *string `json:"Content,omitnil,omitempty" name:"Content"`
}

Predefined struct for user

type SendMultiSmsResponse

type SendMultiSmsResponse struct {
	*tchttp.BaseResponse
	Response *SendMultiSmsResponseParams `json:"Response"`
}

func NewSendMultiSmsResponse

func NewSendMultiSmsResponse() (response *SendMultiSmsResponse)

func (*SendMultiSmsResponse) FromJsonString

func (r *SendMultiSmsResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*SendMultiSmsResponse) ToJsonString

func (r *SendMultiSmsResponse) ToJsonString() string

type SendMultiSmsResponseParams added in v1.0.426

type SendMultiSmsResponseParams struct {
	// 短信流水数组
	// 注意:此字段可能返回 null,表示取不到有效值。
	Data []*SmsRet `json:"Data,omitnil,omitempty" name:"Data"`

	// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type SendSmsRequest

type SendSmsRequest struct {
	*tchttp.BaseRequest

	// 应用ID
	Sdkappid *int64 `json:"Sdkappid,omitnil,omitempty" name:"Sdkappid"`

	// 卡片ID
	Iccid *string `json:"Iccid,omitnil,omitempty" name:"Iccid"`

	// 短信内容长度70限制
	Content *string `json:"Content,omitnil,omitempty" name:"Content"`
}

func NewSendSmsRequest

func NewSendSmsRequest() (request *SendSmsRequest)

func (*SendSmsRequest) FromJsonString

func (r *SendSmsRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*SendSmsRequest) ToJsonString

func (r *SendSmsRequest) ToJsonString() string

type SendSmsRequestParams added in v1.0.426

type SendSmsRequestParams struct {
	// 应用ID
	Sdkappid *int64 `json:"Sdkappid,omitnil,omitempty" name:"Sdkappid"`

	// 卡片ID
	Iccid *string `json:"Iccid,omitnil,omitempty" name:"Iccid"`

	// 短信内容长度70限制
	Content *string `json:"Content,omitnil,omitempty" name:"Content"`
}

Predefined struct for user

type SendSmsResponse

type SendSmsResponse struct {
	*tchttp.BaseResponse
	Response *SendSmsResponseParams `json:"Response"`
}

func NewSendSmsResponse

func NewSendSmsResponse() (response *SendSmsResponse)

func (*SendSmsResponse) FromJsonString

func (r *SendSmsResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*SendSmsResponse) ToJsonString

func (r *SendSmsResponse) ToJsonString() string

type SendSmsResponseParams added in v1.0.426

type SendSmsResponseParams struct {
	// 短信流水信息
	// 注意:此字段可能返回 null,表示取不到有效值。
	Data *SmsSid `json:"Data,omitnil,omitempty" name:"Data"`

	// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type SmsRet

type SmsRet struct {
	// 该iccid请求状态
	Code *string `json:"Code,omitnil,omitempty" name:"Code"`

	// 短信发送返回信息
	Msg *string `json:"Msg,omitnil,omitempty" name:"Msg"`

	// 卡片ID
	Iccid *string `json:"Iccid,omitnil,omitempty" name:"Iccid"`

	// 流水ID
	Sid *string `json:"Sid,omitnil,omitempty" name:"Sid"`
}

type SmsSid

type SmsSid struct {
	// 卡片ID
	// 注意:此字段可能返回 null,表示取不到有效值。
	Iccid *string `json:"Iccid,omitnil,omitempty" name:"Iccid"`

	// 信息流水ID
	Sid *string `json:"Sid,omitnil,omitempty" name:"Sid"`
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL