v3

package
v0.0.90 Latest Latest
Warning

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

Go to latest
Published: May 26, 2022 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 GenReqDefForDeleteRealName

func GenReqDefForDeleteRealName() *def.HttpRequestDef

func GenReqDefForEnableSimCard

func GenReqDefForEnableSimCard() *def.HttpRequestDef

func GenReqDefForListFlowBySimCards

func GenReqDefForListFlowBySimCards() *def.HttpRequestDef

func GenReqDefForListProPricePlans

func GenReqDefForListProPricePlans() *def.HttpRequestDef

func GenReqDefForListSimCards

func GenReqDefForListSimCards() *def.HttpRequestDef

func GenReqDefForListSimPoolMembers

func GenReqDefForListSimPoolMembers() *def.HttpRequestDef

func GenReqDefForListSimPools

func GenReqDefForListSimPools() *def.HttpRequestDef

func GenReqDefForListSimPricePlans

func GenReqDefForListSimPricePlans() *def.HttpRequestDef

func GenReqDefForRegisterImei

func GenReqDefForRegisterImei() *def.HttpRequestDef

func GenReqDefForResetSimCard

func GenReqDefForResetSimCard() *def.HttpRequestDef

func GenReqDefForSetExceedCutNet

func GenReqDefForSetExceedCutNet() *def.HttpRequestDef

func GenReqDefForSetSpeedValue

func GenReqDefForSetSpeedValue() *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 GslClientBuilder

func GslClientBuilder() *http_client.HcHttpClientBuilder

Types

type DeleteRealNameInvoker added in v0.0.90

type DeleteRealNameInvoker struct {
	*invoker.BaseInvoker
}

func (*DeleteRealNameInvoker) Invoke added in v0.0.90

type EnableSimCardInvoker added in v0.0.90

type EnableSimCardInvoker struct {
	*invoker.BaseInvoker
}

func (*EnableSimCardInvoker) Invoke added in v0.0.90

type GslClient

type GslClient struct {
	HcClient *http_client.HcHttpClient
}

func NewGslClient

func NewGslClient(hcClient *http_client.HcHttpClient) *GslClient

func (*GslClient) DeleteRealName

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

DeleteRealName 清除实名认证信息

清除实名认证信息,接口只支持电信卡调用

详细说明请参考华为云API Explorer。 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) EnableSimCard

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

EnableSimCard 激活实体卡

创建激活实体卡申请,返回业务受理单号。1~2个工作日完成激活操作。

详细说明请参考华为云API Explorer。 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) ListFlowBySimCards

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

ListFlowBySimCards 批量查询实体卡流量

批量查询实体卡流量

详细说明请参考华为云API Explorer。 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) ListProPricePlans

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

ListProPricePlans 查询套餐列表信息

查询套餐列表信息

详细说明请参考华为云API Explorer。 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) ListSimCards

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

ListSimCards 查询SIM卡列表

查询SIM卡列表

详细说明请参考华为云API Explorer。 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) ListSimPoolMembers

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

ListSimPoolMembers 查询流量池成员列表

查询流量池成员列表

详细说明请参考华为云API Explorer。 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 查询流量池列表

查询流量池列表

详细说明请参考华为云API Explorer。 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可能会有多个套餐

详细说明请参考华为云API Explorer。 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) RegisterImei

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

RegisterImei SIM卡机卡重绑

支持固定机卡重绑(需要上传IMEI,将SIM卡绑定到指定IMEI的设备)和普通机卡重绑(会清除之前绑定的设备,将SIM卡绑定到正在使用的设备),单卡每月只允许重绑2次,接口只支持电信卡调用。

详细说明请参考华为云API Explorer。 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个工作日完成复机操作。

详细说明请参考华为云API Explorer。 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) SetExceedCutNet

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

SetExceedCutNet SIM卡达量断网/恢复在用

SIM卡达量断网/恢复在用,只支持电信卡。

详细说明请参考华为云API Explorer。 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) SetSpeedValue

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

SetSpeedValue 实体卡限速

实体卡限速接口,支持电信和联通实体卡调用。

详细说明请参考华为云API Explorer。 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) ShowRealNamed

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

ShowRealNamed 查询SIM卡实名认证信息

实时查询SIM卡实名认证信息。

详细说明请参考华为云API Explorer。 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卡详情

详细说明请参考华为云API Explorer。 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卡申请断网/恢复在用,只支持电信卡。

详细说明请参考华为云API Explorer。 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个工作日完成停机操作。

详细说明请参考华为云API Explorer。 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卡单卡停机

type ListFlowBySimCardsInvoker added in v0.0.90

type ListFlowBySimCardsInvoker struct {
	*invoker.BaseInvoker
}

func (*ListFlowBySimCardsInvoker) Invoke added in v0.0.90

type ListProPricePlansInvoker added in v0.0.90

type ListProPricePlansInvoker struct {
	*invoker.BaseInvoker
}

func (*ListProPricePlansInvoker) Invoke added in v0.0.90

type ListSimCardsInvoker added in v0.0.90

type ListSimCardsInvoker struct {
	*invoker.BaseInvoker
}

func (*ListSimCardsInvoker) Invoke added in v0.0.90

type ListSimPoolMembersInvoker added in v0.0.90

type ListSimPoolMembersInvoker struct {
	*invoker.BaseInvoker
}

func (*ListSimPoolMembersInvoker) Invoke added in v0.0.90

type ListSimPoolsInvoker added in v0.0.90

type ListSimPoolsInvoker struct {
	*invoker.BaseInvoker
}

func (*ListSimPoolsInvoker) Invoke added in v0.0.90

type ListSimPricePlansInvoker added in v0.0.90

type ListSimPricePlansInvoker struct {
	*invoker.BaseInvoker
}

func (*ListSimPricePlansInvoker) Invoke added in v0.0.90

type RegisterImeiInvoker added in v0.0.90

type RegisterImeiInvoker struct {
	*invoker.BaseInvoker
}

func (*RegisterImeiInvoker) Invoke added in v0.0.90

type ResetSimCardInvoker added in v0.0.90

type ResetSimCardInvoker struct {
	*invoker.BaseInvoker
}

func (*ResetSimCardInvoker) Invoke added in v0.0.90

type SetExceedCutNetInvoker added in v0.0.90

type SetExceedCutNetInvoker struct {
	*invoker.BaseInvoker
}

func (*SetExceedCutNetInvoker) Invoke added in v0.0.90

type SetSpeedValueInvoker added in v0.0.90

type SetSpeedValueInvoker struct {
	*invoker.BaseInvoker
}

func (*SetSpeedValueInvoker) Invoke added in v0.0.90

type ShowRealNamedInvoker added in v0.0.90

type ShowRealNamedInvoker struct {
	*invoker.BaseInvoker
}

func (*ShowRealNamedInvoker) Invoke added in v0.0.90

type ShowSimCardInvoker added in v0.0.90

type ShowSimCardInvoker struct {
	*invoker.BaseInvoker
}

func (*ShowSimCardInvoker) Invoke added in v0.0.90

type StartStopNetInvoker added in v0.0.90

type StartStopNetInvoker struct {
	*invoker.BaseInvoker
}

func (*StartStopNetInvoker) Invoke added in v0.0.90

type StopSimCardInvoker added in v0.0.90

type StopSimCardInvoker struct {
	*invoker.BaseInvoker
}

func (*StopSimCardInvoker) Invoke added in v0.0.90

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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