v3

package
v0.1.120 Latest Latest
Warning

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

Go to latest
Published: Oct 31, 2024 License: Apache-2.0, BSD-2-Clause, BSD-3-Clause Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GenReqDefForAddNetworkSwitchPolicy added in v0.1.112

func GenReqDefForAddNetworkSwitchPolicy() *def.HttpRequestDef

func GenReqDefForBatchSetAttributes added in v0.0.92

func GenReqDefForBatchSetAttributes() *def.HttpRequestDef

func GenReqDefForBatchSetTags added in v0.0.92

func GenReqDefForBatchSetTags() *def.HttpRequestDef

func GenReqDefForCreateAttribute added in v0.0.92

func GenReqDefForCreateAttribute() *def.HttpRequestDef

func GenReqDefForCreateTag added in v0.0.92

func GenReqDefForCreateTag() *def.HttpRequestDef

func GenReqDefForDeleteRealName

func GenReqDefForDeleteRealName() *def.HttpRequestDef

func GenReqDefForDeleteTag added in v0.0.92

func GenReqDefForDeleteTag() *def.HttpRequestDef

func GenReqDefForDisableAttribute added in v0.0.92

func GenReqDefForDisableAttribute() *def.HttpRequestDef

func GenReqDefForEnableAttribute added in v0.0.92

func GenReqDefForEnableAttribute() *def.HttpRequestDef

func GenReqDefForEnableSimCard

func GenReqDefForEnableSimCard() *def.HttpRequestDef

func GenReqDefForListAttributes added in v0.0.92

func GenReqDefForListAttributes() *def.HttpRequestDef

func GenReqDefForListBackPoolMembers added in v0.1.10

func GenReqDefForListBackPoolMembers() *def.HttpRequestDef

func GenReqDefForListBackPools added in v0.1.10

func GenReqDefForListBackPools() *def.HttpRequestDef

func GenReqDefForListFlowBySimCards

func GenReqDefForListFlowBySimCards() *def.HttpRequestDef

func GenReqDefForListNetworkSwitchPolicies added in v0.1.112

func GenReqDefForListNetworkSwitchPolicies() *def.HttpRequestDef

func GenReqDefForListProPricePlans

func GenReqDefForListProPricePlans() *def.HttpRequestDef

func GenReqDefForListSimCardFlowPerDay added in v0.1.114

func GenReqDefForListSimCardFlowPerDay() *def.HttpRequestDef

func GenReqDefForListSimCards

func GenReqDefForListSimCards() *def.HttpRequestDef

func GenReqDefForListSimDeviceMultiply added in v0.1.112

func GenReqDefForListSimDeviceMultiply() *def.HttpRequestDef

func GenReqDefForListSimPoolMembers

func GenReqDefForListSimPoolMembers() *def.HttpRequestDef

func GenReqDefForListSimPools

func GenReqDefForListSimPools() *def.HttpRequestDef

func GenReqDefForListSimPricePlans

func GenReqDefForListSimPricePlans() *def.HttpRequestDef

func GenReqDefForListSmsDetails added in v0.1.35

func GenReqDefForListSmsDetails() *def.HttpRequestDef

func GenReqDefForListTags added in v0.0.92

func GenReqDefForListTags() *def.HttpRequestDef

func GenReqDefForListWorkOrderDetails added in v0.1.53

func GenReqDefForListWorkOrderDetails() *def.HttpRequestDef

func GenReqDefForListWorkOrders added in v0.1.53

func GenReqDefForListWorkOrders() *def.HttpRequestDef

func GenReqDefForRegisterImei

func GenReqDefForRegisterImei() *def.HttpRequestDef

func GenReqDefForResetSimCard

func GenReqDefForResetSimCard() *def.HttpRequestDef

func GenReqDefForSendSms added in v0.1.35

func GenReqDefForSendSms() *def.HttpRequestDef

func GenReqDefForSetExceedCutNet

func GenReqDefForSetExceedCutNet() *def.HttpRequestDef

func GenReqDefForSetNetworkSwitchPolicy added in v0.1.112

func GenReqDefForSetNetworkSwitchPolicy() *def.HttpRequestDef

func GenReqDefForSetSpeedValue

func GenReqDefForSetSpeedValue() *def.HttpRequestDef

func GenReqDefForShowMonthUsages added in v0.0.100

func GenReqDefForShowMonthUsages() *def.HttpRequestDef

func GenReqDefForShowRealNamed

func GenReqDefForShowRealNamed() *def.HttpRequestDef

func GenReqDefForShowSimCard

func GenReqDefForShowSimCard() *def.HttpRequestDef

func GenReqDefForStartStopNet

func GenReqDefForStartStopNet() *def.HttpRequestDef

func GenReqDefForStopSimCard

func GenReqDefForStopSimCard() *def.HttpRequestDef

func GenReqDefForSwitchNetwork added in v0.1.112

func GenReqDefForSwitchNetwork() *def.HttpRequestDef

func GenReqDefForUpdateAttribute added in v0.0.92

func GenReqDefForUpdateAttribute() *def.HttpRequestDef

func GslClientBuilder

func GslClientBuilder() *httpclient.HcHttpClientBuilder

Types

type AddNetworkSwitchPolicyInvoker added in v0.1.112

type AddNetworkSwitchPolicyInvoker struct {
	*invoker.BaseInvoker
}

func (*AddNetworkSwitchPolicyInvoker) GetBaseInvoker added in v0.1.118

func (i *AddNetworkSwitchPolicyInvoker) GetBaseInvoker() *invoker.BaseInvoker

func (*AddNetworkSwitchPolicyInvoker) Invoke added in v0.1.112

type BatchSetAttributesInvoker added in v0.0.92

type BatchSetAttributesInvoker struct {
	*invoker.BaseInvoker
}

func (*BatchSetAttributesInvoker) GetBaseInvoker added in v0.1.118

func (i *BatchSetAttributesInvoker) GetBaseInvoker() *invoker.BaseInvoker

func (*BatchSetAttributesInvoker) Invoke added in v0.0.92

type BatchSetTagsInvoker added in v0.0.92

type BatchSetTagsInvoker struct {
	*invoker.BaseInvoker
}

func (*BatchSetTagsInvoker) GetBaseInvoker added in v0.1.118

func (i *BatchSetTagsInvoker) GetBaseInvoker() *invoker.BaseInvoker

func (*BatchSetTagsInvoker) Invoke added in v0.0.92

type CreateAttributeInvoker added in v0.0.92

type CreateAttributeInvoker struct {
	*invoker.BaseInvoker
}

func (*CreateAttributeInvoker) GetBaseInvoker added in v0.1.118

func (i *CreateAttributeInvoker) GetBaseInvoker() *invoker.BaseInvoker

func (*CreateAttributeInvoker) Invoke added in v0.0.92

type CreateTagInvoker added in v0.0.92

type CreateTagInvoker struct {
	*invoker.BaseInvoker
}

func (*CreateTagInvoker) GetBaseInvoker added in v0.1.118

func (i *CreateTagInvoker) GetBaseInvoker() *invoker.BaseInvoker

func (*CreateTagInvoker) Invoke added in v0.0.92

type DeleteRealNameInvoker added in v0.0.90

type DeleteRealNameInvoker struct {
	*invoker.BaseInvoker
}

func (*DeleteRealNameInvoker) GetBaseInvoker added in v0.1.118

func (i *DeleteRealNameInvoker) GetBaseInvoker() *invoker.BaseInvoker

func (*DeleteRealNameInvoker) Invoke added in v0.0.90

type DeleteTagInvoker added in v0.0.92

type DeleteTagInvoker struct {
	*invoker.BaseInvoker
}

func (*DeleteTagInvoker) GetBaseInvoker added in v0.1.118

func (i *DeleteTagInvoker) GetBaseInvoker() *invoker.BaseInvoker

func (*DeleteTagInvoker) Invoke added in v0.0.92

type DisableAttributeInvoker added in v0.0.92

type DisableAttributeInvoker struct {
	*invoker.BaseInvoker
}

func (*DisableAttributeInvoker) GetBaseInvoker added in v0.1.118

func (i *DisableAttributeInvoker) GetBaseInvoker() *invoker.BaseInvoker

func (*DisableAttributeInvoker) Invoke added in v0.0.92

type EnableAttributeInvoker added in v0.0.92

type EnableAttributeInvoker struct {
	*invoker.BaseInvoker
}

func (*EnableAttributeInvoker) GetBaseInvoker added in v0.1.118

func (i *EnableAttributeInvoker) GetBaseInvoker() *invoker.BaseInvoker

func (*EnableAttributeInvoker) Invoke added in v0.0.92

type EnableSimCardInvoker added in v0.0.90

type EnableSimCardInvoker struct {
	*invoker.BaseInvoker
}

func (*EnableSimCardInvoker) GetBaseInvoker added in v0.1.118

func (i *EnableSimCardInvoker) GetBaseInvoker() *invoker.BaseInvoker

func (*EnableSimCardInvoker) Invoke added in v0.0.90

type GslClient

type GslClient struct {
	HcClient *httpclient.HcHttpClient
}

func NewGslClient

func NewGslClient(hcClient *httpclient.HcHttpClient) *GslClient

func (*GslClient) AddNetworkSwitchPolicy added in v0.1.112

AddNetworkSwitchPolicy 新增网络切换策略

新增网络切换策略

Please refer to HUAWEI cloud API Explorer for details.

func (*GslClient) AddNetworkSwitchPolicyInvoker added in v0.1.112

func (c *GslClient) AddNetworkSwitchPolicyInvoker(request *model.AddNetworkSwitchPolicyRequest) *AddNetworkSwitchPolicyInvoker

AddNetworkSwitchPolicyInvoker 新增网络切换策略

func (*GslClient) BatchSetAttributes added in v0.0.92

func (c *GslClient) BatchSetAttributes(request *model.BatchSetAttributesRequest) (*model.BatchSetAttributesResponse, error)

BatchSetAttributes 批量设置自定义属性接口

批量设置自定义属性接口

Please refer to HUAWEI cloud API Explorer for details.

func (*GslClient) BatchSetAttributesInvoker added in v0.0.92

func (c *GslClient) BatchSetAttributesInvoker(request *model.BatchSetAttributesRequest) *BatchSetAttributesInvoker

BatchSetAttributesInvoker 批量设置自定义属性接口

func (*GslClient) BatchSetTags added in v0.0.92

func (c *GslClient) BatchSetTags(request *model.BatchSetTagsRequest) (*model.BatchSetTagsResponse, error)

BatchSetTags 批量设置/取消设置标签接口

批量设置/取消设置标签接口

Please refer to HUAWEI cloud API Explorer for details.

func (*GslClient) BatchSetTagsInvoker added in v0.0.92

func (c *GslClient) BatchSetTagsInvoker(request *model.BatchSetTagsRequest) *BatchSetTagsInvoker

BatchSetTagsInvoker 批量设置/取消设置标签接口

func (*GslClient) CreateAttribute added in v0.0.92

func (c *GslClient) CreateAttribute(request *model.CreateAttributeRequest) (*model.CreateAttributeResponse, error)

CreateAttribute 用户新增自定义属性接口

用户新增自定义属性接口

Please refer to HUAWEI cloud API Explorer for details.

func (*GslClient) CreateAttributeInvoker added in v0.0.92

func (c *GslClient) CreateAttributeInvoker(request *model.CreateAttributeRequest) *CreateAttributeInvoker

CreateAttributeInvoker 用户新增自定义属性接口

func (*GslClient) CreateTag added in v0.0.92

func (c *GslClient) CreateTag(request *model.CreateTagRequest) (*model.CreateTagResponse, error)

CreateTag 用户添加标签

添加标签接口

Please refer to HUAWEI cloud API Explorer for details.

func (*GslClient) CreateTagInvoker added in v0.0.92

func (c *GslClient) CreateTagInvoker(request *model.CreateTagRequest) *CreateTagInvoker

CreateTagInvoker 用户添加标签

func (*GslClient) DeleteRealName

func (c *GslClient) DeleteRealName(request *model.DeleteRealNameRequest) (*model.DeleteRealNameResponse, error)

DeleteRealName 清除实名认证信息

清除实名认证信息,接口仅支持中国电信卡调用。注:由于运营商侧业务限制,建议您同一张SIM卡不要同时执行多种不同业务的操作。

Please refer to HUAWEI cloud API Explorer for details.

func (*GslClient) DeleteRealNameInvoker added in v0.0.90

func (c *GslClient) DeleteRealNameInvoker(request *model.DeleteRealNameRequest) *DeleteRealNameInvoker

DeleteRealNameInvoker 清除实名认证信息

func (*GslClient) DeleteTag added in v0.0.92

func (c *GslClient) DeleteTag(request *model.DeleteTagRequest) (*model.DeleteTagResponse, error)

DeleteTag 删除标签

删除标签

Please refer to HUAWEI cloud API Explorer for details.

func (*GslClient) DeleteTagInvoker added in v0.0.92

func (c *GslClient) DeleteTagInvoker(request *model.DeleteTagRequest) *DeleteTagInvoker

DeleteTagInvoker 删除标签

func (*GslClient) DisableAttribute added in v0.0.92

func (c *GslClient) DisableAttribute(request *model.DisableAttributeRequest) (*model.DisableAttributeResponse, error)

DisableAttribute 停用自定义属性接口

停用自定义属性接口

Please refer to HUAWEI cloud API Explorer for details.

func (*GslClient) DisableAttributeInvoker added in v0.0.92

func (c *GslClient) DisableAttributeInvoker(request *model.DisableAttributeRequest) *DisableAttributeInvoker

DisableAttributeInvoker 停用自定义属性接口

func (*GslClient) EnableAttribute added in v0.0.92

func (c *GslClient) EnableAttribute(request *model.EnableAttributeRequest) (*model.EnableAttributeResponse, error)

EnableAttribute 启用自定义属性接口

启用自定义属性接口

Please refer to HUAWEI cloud API Explorer for details.

func (*GslClient) EnableAttributeInvoker added in v0.0.92

func (c *GslClient) EnableAttributeInvoker(request *model.EnableAttributeRequest) *EnableAttributeInvoker

EnableAttributeInvoker 启用自定义属性接口

func (*GslClient) EnableSimCard

func (c *GslClient) EnableSimCard(request *model.EnableSimCardRequest) (*model.EnableSimCardResponse, error)

EnableSimCard 激活实体卡

创建激活实体卡申请,返回业务受理单号。1~2个工作日完成激活操作。注:由于运营商侧业务限制,建议您同一张SIM卡不要同时执行多种不同业务的操作。

Please refer to HUAWEI cloud API Explorer for details.

func (*GslClient) EnableSimCardInvoker added in v0.0.90

func (c *GslClient) EnableSimCardInvoker(request *model.EnableSimCardRequest) *EnableSimCardInvoker

EnableSimCardInvoker 激活实体卡

func (*GslClient) ListAttributes added in v0.0.92

func (c *GslClient) ListAttributes(request *model.ListAttributesRequest) (*model.ListAttributesResponse, error)

ListAttributes 查询自定义属性列表接口

查询自定义属性列表接口

Please refer to HUAWEI cloud API Explorer for details.

func (*GslClient) ListAttributesInvoker added in v0.0.92

func (c *GslClient) ListAttributesInvoker(request *model.ListAttributesRequest) *ListAttributesInvoker

ListAttributesInvoker 查询自定义属性列表接口

func (*GslClient) ListBackPoolMembers added in v0.1.10

ListBackPoolMembers 查询后向流量池成员列表

查询后向流量池成员列表

Please refer to HUAWEI cloud API Explorer for details.

func (*GslClient) ListBackPoolMembersInvoker added in v0.1.10

func (c *GslClient) ListBackPoolMembersInvoker(request *model.ListBackPoolMembersRequest) *ListBackPoolMembersInvoker

ListBackPoolMembersInvoker 查询后向流量池成员列表

func (*GslClient) ListBackPools added in v0.1.10

func (c *GslClient) ListBackPools(request *model.ListBackPoolsRequest) (*model.ListBackPoolsResponse, error)

ListBackPools 查询后向流量池列表

查询后向流量池列表

Please refer to HUAWEI cloud API Explorer for details.

func (*GslClient) ListBackPoolsInvoker added in v0.1.10

func (c *GslClient) ListBackPoolsInvoker(request *model.ListBackPoolsRequest) *ListBackPoolsInvoker

ListBackPoolsInvoker 查询后向流量池列表

func (*GslClient) ListFlowBySimCards

func (c *GslClient) ListFlowBySimCards(request *model.ListFlowBySimCardsRequest) (*model.ListFlowBySimCardsResponse, error)

ListFlowBySimCards 批量查询实体卡流量

批量查询实体卡流量

Please refer to HUAWEI cloud API Explorer for details.

func (*GslClient) ListFlowBySimCardsInvoker added in v0.0.90

func (c *GslClient) ListFlowBySimCardsInvoker(request *model.ListFlowBySimCardsRequest) *ListFlowBySimCardsInvoker

ListFlowBySimCardsInvoker 批量查询实体卡流量

func (*GslClient) ListNetworkSwitchPolicies added in v0.1.112

ListNetworkSwitchPolicies 查询策略列表

查询策略列表

Please refer to HUAWEI cloud API Explorer for details.

func (*GslClient) ListNetworkSwitchPoliciesInvoker added in v0.1.112

func (c *GslClient) ListNetworkSwitchPoliciesInvoker(request *model.ListNetworkSwitchPoliciesRequest) *ListNetworkSwitchPoliciesInvoker

ListNetworkSwitchPoliciesInvoker 查询策略列表

func (*GslClient) ListProPricePlans

func (c *GslClient) ListProPricePlans(request *model.ListProPricePlansRequest) (*model.ListProPricePlansResponse, error)

ListProPricePlans 查询套餐列表信息

查询套餐列表信息

Please refer to HUAWEI cloud API Explorer for details.

func (*GslClient) ListProPricePlansInvoker added in v0.0.90

func (c *GslClient) ListProPricePlansInvoker(request *model.ListProPricePlansRequest) *ListProPricePlansInvoker

ListProPricePlansInvoker 查询套餐列表信息

func (*GslClient) ListSimCardFlowPerDay added in v0.1.114

ListSimCardFlowPerDay 批量查询SIM卡日用量

批量查询SIM卡日用量接口,支持按天或按月查询。SIM卡标识和容器ID只能选一个参数,天和月也只能选一个参数

Please refer to HUAWEI cloud API Explorer for details.

func (*GslClient) ListSimCardFlowPerDayInvoker added in v0.1.114

func (c *GslClient) ListSimCardFlowPerDayInvoker(request *model.ListSimCardFlowPerDayRequest) *ListSimCardFlowPerDayInvoker

ListSimCardFlowPerDayInvoker 批量查询SIM卡日用量

func (*GslClient) ListSimCards

func (c *GslClient) ListSimCards(request *model.ListSimCardsRequest) (*model.ListSimCardsResponse, error)

ListSimCards 查询SIM卡列表

查询SIM卡列表

Please refer to HUAWEI cloud API Explorer for details.

func (*GslClient) ListSimCardsInvoker added in v0.0.90

func (c *GslClient) ListSimCardsInvoker(request *model.ListSimCardsRequest) *ListSimCardsInvoker

ListSimCardsInvoker 查询SIM卡列表

func (*GslClient) ListSimDeviceMultiply added in v0.1.112

ListSimDeviceMultiply 查询三网卡列表

通过cid或全量查询三网卡列表

Please refer to HUAWEI cloud API Explorer for details.

func (*GslClient) ListSimDeviceMultiplyInvoker added in v0.1.112

func (c *GslClient) ListSimDeviceMultiplyInvoker(request *model.ListSimDeviceMultiplyRequest) *ListSimDeviceMultiplyInvoker

ListSimDeviceMultiplyInvoker 查询三网卡列表

func (*GslClient) ListSimPoolMembers

func (c *GslClient) ListSimPoolMembers(request *model.ListSimPoolMembersRequest) (*model.ListSimPoolMembersResponse, error)

ListSimPoolMembers 查询流量池成员列表

查询流量池成员列表

Please refer to HUAWEI cloud API Explorer for details.

func (*GslClient) ListSimPoolMembersInvoker added in v0.0.90

func (c *GslClient) ListSimPoolMembersInvoker(request *model.ListSimPoolMembersRequest) *ListSimPoolMembersInvoker

ListSimPoolMembersInvoker 查询流量池成员列表

func (*GslClient) ListSimPools

func (c *GslClient) ListSimPools(request *model.ListSimPoolsRequest) (*model.ListSimPoolsResponse, error)

ListSimPools 查询流量池列表

查询流量池列表

Please refer to HUAWEI cloud API Explorer for details.

func (*GslClient) ListSimPoolsInvoker added in v0.0.90

func (c *GslClient) ListSimPoolsInvoker(request *model.ListSimPoolsRequest) *ListSimPoolsInvoker

ListSimPoolsInvoker 查询流量池列表

func (*GslClient) ListSimPricePlans

func (c *GslClient) ListSimPricePlans(request *model.ListSimPricePlansRequest) (*model.ListSimPricePlansResponse, error)

ListSimPricePlans sim卡套餐列表查询

SIM卡套餐列表查询,实体卡只会有一个套餐,eSIM/vSIM可能会有多个套餐

Please refer to HUAWEI cloud API Explorer for details.

func (*GslClient) ListSimPricePlansInvoker added in v0.0.90

func (c *GslClient) ListSimPricePlansInvoker(request *model.ListSimPricePlansRequest) *ListSimPricePlansInvoker

ListSimPricePlansInvoker sim卡套餐列表查询

func (*GslClient) ListSmsDetails added in v0.1.35

func (c *GslClient) ListSmsDetails(request *model.ListSmsDetailsRequest) (*model.ListSmsDetailsResponse, error)

ListSmsDetails 短信发送详情

短信发送详情,接口仅支持开通短信套餐的中国移动与中国电信卡调用

Please refer to HUAWEI cloud API Explorer for details.

func (*GslClient) ListSmsDetailsInvoker added in v0.1.35

func (c *GslClient) ListSmsDetailsInvoker(request *model.ListSmsDetailsRequest) *ListSmsDetailsInvoker

ListSmsDetailsInvoker 短信发送详情

func (*GslClient) ListTags added in v0.0.92

func (c *GslClient) ListTags(request *model.ListTagsRequest) (*model.ListTagsResponse, error)

ListTags 查询标签列表

查询标签列表

Please refer to HUAWEI cloud API Explorer for details.

func (*GslClient) ListTagsInvoker added in v0.0.92

func (c *GslClient) ListTagsInvoker(request *model.ListTagsRequest) *ListTagsInvoker

ListTagsInvoker 查询标签列表

func (*GslClient) ListWorkOrderDetails added in v0.1.53

ListWorkOrderDetails 分页查询业务受理明细

分页查询业务受理明细

Please refer to HUAWEI cloud API Explorer for details.

func (*GslClient) ListWorkOrderDetailsInvoker added in v0.1.53

func (c *GslClient) ListWorkOrderDetailsInvoker(request *model.ListWorkOrderDetailsRequest) *ListWorkOrderDetailsInvoker

ListWorkOrderDetailsInvoker 分页查询业务受理明细

func (*GslClient) ListWorkOrders added in v0.1.53

func (c *GslClient) ListWorkOrders(request *model.ListWorkOrdersRequest) (*model.ListWorkOrdersResponse, error)

ListWorkOrders 分页查询业务受理单

分页查询业务受理单

Please refer to HUAWEI cloud API Explorer for details.

func (*GslClient) ListWorkOrdersInvoker added in v0.1.53

func (c *GslClient) ListWorkOrdersInvoker(request *model.ListWorkOrdersRequest) *ListWorkOrdersInvoker

ListWorkOrdersInvoker 分页查询业务受理单

func (*GslClient) RegisterImei

func (c *GslClient) RegisterImei(request *model.RegisterImeiRequest) (*model.RegisterImeiResponse, error)

RegisterImei SIM卡机卡重绑

支持固定机卡重绑(需要上传IMEI,将SIM卡绑定到指定IMEI的设备)和普通机卡重绑(会清除之前绑定的设备,将SIM卡绑定到正在使用的设备),接口仅支持中国电信卡,中国移动卡调用。中国电信卡单卡每月只允许重绑2次,中国移动卡仅支持普通机卡重绑。注:由于运营商侧业务限制,建议您同一张SIM卡不要同时执行多种不同业务的操作。

Please refer to HUAWEI cloud API Explorer for details.

func (*GslClient) RegisterImeiInvoker added in v0.0.90

func (c *GslClient) RegisterImeiInvoker(request *model.RegisterImeiRequest) *RegisterImeiInvoker

RegisterImeiInvoker SIM卡机卡重绑

func (*GslClient) ResetSimCard

func (c *GslClient) ResetSimCard(request *model.ResetSimCardRequest) (*model.ResetSimCardResponse, error)

ResetSimCard SIM卡单卡复机

创建复机申请,返回业务受理单号。1~2个工作日完成复机操作。注:由于运营商侧业务限制,建议您同一张SIM卡不要同时执行多种不同业务的操作。

Please refer to HUAWEI cloud API Explorer for details.

func (*GslClient) ResetSimCardInvoker added in v0.0.90

func (c *GslClient) ResetSimCardInvoker(request *model.ResetSimCardRequest) *ResetSimCardInvoker

ResetSimCardInvoker SIM卡单卡复机

func (*GslClient) SendSms added in v0.1.35

func (c *GslClient) SendSms(request *model.SendSmsRequest) (*model.SendSmsResponse, error)

SendSms 发送短信

发送短信,接口仅支持开通短信套餐的中国移动与中国电信卡调用。

Please refer to HUAWEI cloud API Explorer for details.

func (*GslClient) SendSmsInvoker added in v0.1.35

func (c *GslClient) SendSmsInvoker(request *model.SendSmsRequest) *SendSmsInvoker

SendSmsInvoker 发送短信

func (*GslClient) SetExceedCutNet

func (c *GslClient) SetExceedCutNet(request *model.SetExceedCutNetRequest) (*model.SetExceedCutNetResponse, error)

SetExceedCutNet SIM卡达量断网/取消达量断网

SIM卡达量断网/取消达量断网,接口仅支持中国电信的卡以及中国联通、中国移动的组池卡调用。注:由于运营商侧业务限制,建议您同一张SIM卡不要同时执行多种不同业务的操作。

Please refer to HUAWEI cloud API Explorer for details.

func (*GslClient) SetExceedCutNetInvoker added in v0.0.90

func (c *GslClient) SetExceedCutNetInvoker(request *model.SetExceedCutNetRequest) *SetExceedCutNetInvoker

SetExceedCutNetInvoker SIM卡达量断网/取消达量断网

func (*GslClient) SetNetworkSwitchPolicy added in v0.1.112

SetNetworkSwitchPolicy SIM卡设置网络切换策略

SIM卡设置网络切换策略,接口仅支持三网卡调用。

Please refer to HUAWEI cloud API Explorer for details.

func (*GslClient) SetNetworkSwitchPolicyInvoker added in v0.1.112

func (c *GslClient) SetNetworkSwitchPolicyInvoker(request *model.SetNetworkSwitchPolicyRequest) *SetNetworkSwitchPolicyInvoker

SetNetworkSwitchPolicyInvoker SIM卡设置网络切换策略

func (*GslClient) SetSpeedValue

func (c *GslClient) SetSpeedValue(request *model.SetSpeedValueRequest) (*model.SetSpeedValueResponse, error)

SetSpeedValue 实体卡限速

实体卡限速接口,接口仅支持中国电信和中国联通实体卡调用。中国联通卡需要个人实名认证后才能使用限速功能。注:由于运营商侧业务限制,建议您同一张SIM卡不要同时执行多种不同业务的操作。

Please refer to HUAWEI cloud API Explorer for details.

func (*GslClient) SetSpeedValueInvoker added in v0.0.90

func (c *GslClient) SetSpeedValueInvoker(request *model.SetSpeedValueRequest) *SetSpeedValueInvoker

SetSpeedValueInvoker 实体卡限速

func (*GslClient) ShowMonthUsages added in v0.0.100

func (c *GslClient) ShowMonthUsages(request *model.ShowMonthUsagesRequest) (*model.ShowMonthUsagesResponse, error)

ShowMonthUsages 月用量统计

设备月用量统计

Please refer to HUAWEI cloud API Explorer for details.

func (*GslClient) ShowMonthUsagesInvoker added in v0.0.100

func (c *GslClient) ShowMonthUsagesInvoker(request *model.ShowMonthUsagesRequest) *ShowMonthUsagesInvoker

ShowMonthUsagesInvoker 月用量统计

func (*GslClient) ShowRealNamed

func (c *GslClient) ShowRealNamed(request *model.ShowRealNamedRequest) (*model.ShowRealNamedResponse, error)

ShowRealNamed 查询SIM卡实名认证信息

实时查询SIM卡实名认证信息,接口仅支持查询中国大陆运营商卡片的实名认证信息。

Please refer to HUAWEI cloud API Explorer for details.

func (*GslClient) ShowRealNamedInvoker added in v0.0.90

func (c *GslClient) ShowRealNamedInvoker(request *model.ShowRealNamedRequest) *ShowRealNamedInvoker

ShowRealNamedInvoker 查询SIM卡实名认证信息

func (*GslClient) ShowSimCard

func (c *GslClient) ShowSimCard(request *model.ShowSimCardRequest) (*model.ShowSimCardResponse, error)

ShowSimCard 查询SIM卡详情

查询SIM卡详情

Please refer to HUAWEI cloud API Explorer for details.

func (*GslClient) ShowSimCardInvoker added in v0.0.90

func (c *GslClient) ShowSimCardInvoker(request *model.ShowSimCardRequest) *ShowSimCardInvoker

ShowSimCardInvoker 查询SIM卡详情

func (*GslClient) StartStopNet

func (c *GslClient) StartStopNet(request *model.StartStopNetRequest) (*model.StartStopNetResponse, error)

StartStopNet SIM卡申请断网/恢复在用

SIM卡申请断网/恢复在用,接口仅支持中国电信卡调用。注:由于运营商侧业务限制,建议您同一张SIM卡不要同时执行多种不同业务的操作。

Please refer to HUAWEI cloud API Explorer for details.

func (*GslClient) StartStopNetInvoker added in v0.0.90

func (c *GslClient) StartStopNetInvoker(request *model.StartStopNetRequest) *StartStopNetInvoker

StartStopNetInvoker SIM卡申请断网/恢复在用

func (*GslClient) StopSimCard

func (c *GslClient) StopSimCard(request *model.StopSimCardRequest) (*model.StopSimCardResponse, error)

StopSimCard SIM卡单卡停机

创建停机申请,返回业务受理单号。1~2个工作日完成停机操作。注:由于运营商侧业务限制,建议您同一张SIM卡不要同时执行多种不同业务的操作。

Please refer to HUAWEI cloud API Explorer for details.

func (*GslClient) StopSimCardInvoker added in v0.0.90

func (c *GslClient) StopSimCardInvoker(request *model.StopSimCardRequest) *StopSimCardInvoker

StopSimCardInvoker SIM卡单卡停机

func (*GslClient) SwitchNetwork added in v0.1.112

func (c *GslClient) SwitchNetwork(request *model.SwitchNetworkRequest) (*model.SwitchNetworkResponse, error)

SwitchNetwork 切换网络

切换网络

Please refer to HUAWEI cloud API Explorer for details.

func (*GslClient) SwitchNetworkInvoker added in v0.1.112

func (c *GslClient) SwitchNetworkInvoker(request *model.SwitchNetworkRequest) *SwitchNetworkInvoker

SwitchNetworkInvoker 切换网络

func (*GslClient) UpdateAttribute added in v0.0.92

func (c *GslClient) UpdateAttribute(request *model.UpdateAttributeRequest) (*model.UpdateAttributeResponse, error)

UpdateAttribute 修改自定义属性接口

修改自定义属性接口

Please refer to HUAWEI cloud API Explorer for details.

func (*GslClient) UpdateAttributeInvoker added in v0.0.92

func (c *GslClient) UpdateAttributeInvoker(request *model.UpdateAttributeRequest) *UpdateAttributeInvoker

UpdateAttributeInvoker 修改自定义属性接口

type ListAttributesInvoker added in v0.0.92

type ListAttributesInvoker struct {
	*invoker.BaseInvoker
}

func (*ListAttributesInvoker) GetBaseInvoker added in v0.1.118

func (i *ListAttributesInvoker) GetBaseInvoker() *invoker.BaseInvoker

func (*ListAttributesInvoker) Invoke added in v0.0.92

type ListBackPoolMembersInvoker added in v0.1.10

type ListBackPoolMembersInvoker struct {
	*invoker.BaseInvoker
}

func (*ListBackPoolMembersInvoker) GetBaseInvoker added in v0.1.118

func (i *ListBackPoolMembersInvoker) GetBaseInvoker() *invoker.BaseInvoker

func (*ListBackPoolMembersInvoker) Invoke added in v0.1.10

type ListBackPoolsInvoker added in v0.1.10

type ListBackPoolsInvoker struct {
	*invoker.BaseInvoker
}

func (*ListBackPoolsInvoker) GetBaseInvoker added in v0.1.118

func (i *ListBackPoolsInvoker) GetBaseInvoker() *invoker.BaseInvoker

func (*ListBackPoolsInvoker) Invoke added in v0.1.10

type ListFlowBySimCardsInvoker added in v0.0.90

type ListFlowBySimCardsInvoker struct {
	*invoker.BaseInvoker
}

func (*ListFlowBySimCardsInvoker) GetBaseInvoker added in v0.1.118

func (i *ListFlowBySimCardsInvoker) GetBaseInvoker() *invoker.BaseInvoker

func (*ListFlowBySimCardsInvoker) Invoke added in v0.0.90

type ListNetworkSwitchPoliciesInvoker added in v0.1.112

type ListNetworkSwitchPoliciesInvoker struct {
	*invoker.BaseInvoker
}

func (*ListNetworkSwitchPoliciesInvoker) GetBaseInvoker added in v0.1.118

func (*ListNetworkSwitchPoliciesInvoker) Invoke added in v0.1.112

type ListProPricePlansInvoker added in v0.0.90

type ListProPricePlansInvoker struct {
	*invoker.BaseInvoker
}

func (*ListProPricePlansInvoker) GetBaseInvoker added in v0.1.118

func (i *ListProPricePlansInvoker) GetBaseInvoker() *invoker.BaseInvoker

func (*ListProPricePlansInvoker) Invoke added in v0.0.90

type ListSimCardFlowPerDayInvoker added in v0.1.114

type ListSimCardFlowPerDayInvoker struct {
	*invoker.BaseInvoker
}

func (*ListSimCardFlowPerDayInvoker) GetBaseInvoker added in v0.1.118

func (i *ListSimCardFlowPerDayInvoker) GetBaseInvoker() *invoker.BaseInvoker

func (*ListSimCardFlowPerDayInvoker) Invoke added in v0.1.114

type ListSimCardsInvoker added in v0.0.90

type ListSimCardsInvoker struct {
	*invoker.BaseInvoker
}

func (*ListSimCardsInvoker) GetBaseInvoker added in v0.1.118

func (i *ListSimCardsInvoker) GetBaseInvoker() *invoker.BaseInvoker

func (*ListSimCardsInvoker) Invoke added in v0.0.90

type ListSimDeviceMultiplyInvoker added in v0.1.112

type ListSimDeviceMultiplyInvoker struct {
	*invoker.BaseInvoker
}

func (*ListSimDeviceMultiplyInvoker) GetBaseInvoker added in v0.1.118

func (i *ListSimDeviceMultiplyInvoker) GetBaseInvoker() *invoker.BaseInvoker

func (*ListSimDeviceMultiplyInvoker) Invoke added in v0.1.112

type ListSimPoolMembersInvoker added in v0.0.90

type ListSimPoolMembersInvoker struct {
	*invoker.BaseInvoker
}

func (*ListSimPoolMembersInvoker) GetBaseInvoker added in v0.1.118

func (i *ListSimPoolMembersInvoker) GetBaseInvoker() *invoker.BaseInvoker

func (*ListSimPoolMembersInvoker) Invoke added in v0.0.90

type ListSimPoolsInvoker added in v0.0.90

type ListSimPoolsInvoker struct {
	*invoker.BaseInvoker
}

func (*ListSimPoolsInvoker) GetBaseInvoker added in v0.1.118

func (i *ListSimPoolsInvoker) GetBaseInvoker() *invoker.BaseInvoker

func (*ListSimPoolsInvoker) Invoke added in v0.0.90

type ListSimPricePlansInvoker added in v0.0.90

type ListSimPricePlansInvoker struct {
	*invoker.BaseInvoker
}

func (*ListSimPricePlansInvoker) GetBaseInvoker added in v0.1.118

func (i *ListSimPricePlansInvoker) GetBaseInvoker() *invoker.BaseInvoker

func (*ListSimPricePlansInvoker) Invoke added in v0.0.90

type ListSmsDetailsInvoker added in v0.1.35

type ListSmsDetailsInvoker struct {
	*invoker.BaseInvoker
}

func (*ListSmsDetailsInvoker) GetBaseInvoker added in v0.1.118

func (i *ListSmsDetailsInvoker) GetBaseInvoker() *invoker.BaseInvoker

func (*ListSmsDetailsInvoker) Invoke added in v0.1.35

type ListTagsInvoker added in v0.0.92

type ListTagsInvoker struct {
	*invoker.BaseInvoker
}

func (*ListTagsInvoker) GetBaseInvoker added in v0.1.118

func (i *ListTagsInvoker) GetBaseInvoker() *invoker.BaseInvoker

func (*ListTagsInvoker) Invoke added in v0.0.92

func (i *ListTagsInvoker) Invoke() (*model.ListTagsResponse, error)

type ListWorkOrderDetailsInvoker added in v0.1.53

type ListWorkOrderDetailsInvoker struct {
	*invoker.BaseInvoker
}

func (*ListWorkOrderDetailsInvoker) GetBaseInvoker added in v0.1.118

func (i *ListWorkOrderDetailsInvoker) GetBaseInvoker() *invoker.BaseInvoker

func (*ListWorkOrderDetailsInvoker) Invoke added in v0.1.53

type ListWorkOrdersInvoker added in v0.1.53

type ListWorkOrdersInvoker struct {
	*invoker.BaseInvoker
}

func (*ListWorkOrdersInvoker) GetBaseInvoker added in v0.1.118

func (i *ListWorkOrdersInvoker) GetBaseInvoker() *invoker.BaseInvoker

func (*ListWorkOrdersInvoker) Invoke added in v0.1.53

type RegisterImeiInvoker added in v0.0.90

type RegisterImeiInvoker struct {
	*invoker.BaseInvoker
}

func (*RegisterImeiInvoker) GetBaseInvoker added in v0.1.118

func (i *RegisterImeiInvoker) GetBaseInvoker() *invoker.BaseInvoker

func (*RegisterImeiInvoker) Invoke added in v0.0.90

type ResetSimCardInvoker added in v0.0.90

type ResetSimCardInvoker struct {
	*invoker.BaseInvoker
}

func (*ResetSimCardInvoker) GetBaseInvoker added in v0.1.118

func (i *ResetSimCardInvoker) GetBaseInvoker() *invoker.BaseInvoker

func (*ResetSimCardInvoker) Invoke added in v0.0.90

type SendSmsInvoker added in v0.1.35

type SendSmsInvoker struct {
	*invoker.BaseInvoker
}

func (*SendSmsInvoker) GetBaseInvoker added in v0.1.118

func (i *SendSmsInvoker) GetBaseInvoker() *invoker.BaseInvoker

func (*SendSmsInvoker) Invoke added in v0.1.35

func (i *SendSmsInvoker) Invoke() (*model.SendSmsResponse, error)

type SetExceedCutNetInvoker added in v0.0.90

type SetExceedCutNetInvoker struct {
	*invoker.BaseInvoker
}

func (*SetExceedCutNetInvoker) GetBaseInvoker added in v0.1.118

func (i *SetExceedCutNetInvoker) GetBaseInvoker() *invoker.BaseInvoker

func (*SetExceedCutNetInvoker) Invoke added in v0.0.90

type SetNetworkSwitchPolicyInvoker added in v0.1.112

type SetNetworkSwitchPolicyInvoker struct {
	*invoker.BaseInvoker
}

func (*SetNetworkSwitchPolicyInvoker) GetBaseInvoker added in v0.1.118

func (i *SetNetworkSwitchPolicyInvoker) GetBaseInvoker() *invoker.BaseInvoker

func (*SetNetworkSwitchPolicyInvoker) Invoke added in v0.1.112

type SetSpeedValueInvoker added in v0.0.90

type SetSpeedValueInvoker struct {
	*invoker.BaseInvoker
}

func (*SetSpeedValueInvoker) GetBaseInvoker added in v0.1.118

func (i *SetSpeedValueInvoker) GetBaseInvoker() *invoker.BaseInvoker

func (*SetSpeedValueInvoker) Invoke added in v0.0.90

type ShowMonthUsagesInvoker added in v0.0.100

type ShowMonthUsagesInvoker struct {
	*invoker.BaseInvoker
}

func (*ShowMonthUsagesInvoker) GetBaseInvoker added in v0.1.118

func (i *ShowMonthUsagesInvoker) GetBaseInvoker() *invoker.BaseInvoker

func (*ShowMonthUsagesInvoker) Invoke added in v0.0.100

type ShowRealNamedInvoker added in v0.0.90

type ShowRealNamedInvoker struct {
	*invoker.BaseInvoker
}

func (*ShowRealNamedInvoker) GetBaseInvoker added in v0.1.118

func (i *ShowRealNamedInvoker) GetBaseInvoker() *invoker.BaseInvoker

func (*ShowRealNamedInvoker) Invoke added in v0.0.90

type ShowSimCardInvoker added in v0.0.90

type ShowSimCardInvoker struct {
	*invoker.BaseInvoker
}

func (*ShowSimCardInvoker) GetBaseInvoker added in v0.1.118

func (i *ShowSimCardInvoker) GetBaseInvoker() *invoker.BaseInvoker

func (*ShowSimCardInvoker) Invoke added in v0.0.90

type StartStopNetInvoker added in v0.0.90

type StartStopNetInvoker struct {
	*invoker.BaseInvoker
}

func (*StartStopNetInvoker) GetBaseInvoker added in v0.1.118

func (i *StartStopNetInvoker) GetBaseInvoker() *invoker.BaseInvoker

func (*StartStopNetInvoker) Invoke added in v0.0.90

type StopSimCardInvoker added in v0.0.90

type StopSimCardInvoker struct {
	*invoker.BaseInvoker
}

func (*StopSimCardInvoker) GetBaseInvoker added in v0.1.118

func (i *StopSimCardInvoker) GetBaseInvoker() *invoker.BaseInvoker

func (*StopSimCardInvoker) Invoke added in v0.0.90

type SwitchNetworkInvoker added in v0.1.112

type SwitchNetworkInvoker struct {
	*invoker.BaseInvoker
}

func (*SwitchNetworkInvoker) GetBaseInvoker added in v0.1.118

func (i *SwitchNetworkInvoker) GetBaseInvoker() *invoker.BaseInvoker

func (*SwitchNetworkInvoker) Invoke added in v0.1.112

type UpdateAttributeInvoker added in v0.0.92

type UpdateAttributeInvoker struct {
	*invoker.BaseInvoker
}

func (*UpdateAttributeInvoker) GetBaseInvoker added in v0.1.118

func (i *UpdateAttributeInvoker) GetBaseInvoker() *invoker.BaseInvoker

func (*UpdateAttributeInvoker) Invoke added in v0.0.92

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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