v3

package
v0.0.64 Latest Latest
Warning

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

Go to latest
Published: Sep 29, 2021 License: Apache-2.0, BSD-2-Clause, BSD-3-Clause Imports: 4 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 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)

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

func (*GslClient) EnableSimCard

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

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

func (*GslClient) ListFlowBySimCards

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

批量查询实体卡流量

func (*GslClient) ListProPricePlans

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

查询套餐列表信息

func (*GslClient) ListSimCards

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

查询SIM卡列表

func (*GslClient) ListSimPoolMembers

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

查询流量池成员列表

func (*GslClient) ListSimPools

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

查询流量池列表

func (*GslClient) ListSimPricePlans

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

sim卡套餐列表查询

func (*GslClient) RegisterImei

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

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

func (*GslClient) ResetSimCard

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

创建复机申请,返回业务受理单号。1~2个工作日完成复机操作。

func (*GslClient) SetExceedCutNet

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

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

func (*GslClient) SetSpeedValue

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

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

func (*GslClient) ShowRealNamed

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

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

func (*GslClient) ShowSimCard

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

查询SIM卡详情

func (*GslClient) StartStopNet

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

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

func (*GslClient) StopSimCard

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

创建停机申请,返回业务受理单号。1~2个工作日完成停机操作。

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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