Documentation ¶
Index ¶
- func GenReqDefForDeleteRealName() *def.HttpRequestDef
- func GenReqDefForEnableSimCard() *def.HttpRequestDef
- func GenReqDefForListFlowBySimCards() *def.HttpRequestDef
- func GenReqDefForListProPricePlans() *def.HttpRequestDef
- func GenReqDefForListSimCards() *def.HttpRequestDef
- func GenReqDefForListSimPoolMembers() *def.HttpRequestDef
- func GenReqDefForListSimPools() *def.HttpRequestDef
- func GenReqDefForListSimPricePlans() *def.HttpRequestDef
- func GenReqDefForRegisterImei() *def.HttpRequestDef
- func GenReqDefForResetSimCard() *def.HttpRequestDef
- func GenReqDefForSetExceedCutNet() *def.HttpRequestDef
- func GenReqDefForSetSpeedValue() *def.HttpRequestDef
- func GenReqDefForShowRealNamed() *def.HttpRequestDef
- func GenReqDefForShowSimCard() *def.HttpRequestDef
- func GenReqDefForStartStopNet() *def.HttpRequestDef
- func GenReqDefForStopSimCard() *def.HttpRequestDef
- func GslClientBuilder() *http_client.HcHttpClientBuilder
- type GslClient
- func (c *GslClient) DeleteRealName(request *model.DeleteRealNameRequest) (*model.DeleteRealNameResponse, error)
- func (c *GslClient) EnableSimCard(request *model.EnableSimCardRequest) (*model.EnableSimCardResponse, error)
- func (c *GslClient) ListFlowBySimCards(request *model.ListFlowBySimCardsRequest) (*model.ListFlowBySimCardsResponse, error)
- func (c *GslClient) ListProPricePlans(request *model.ListProPricePlansRequest) (*model.ListProPricePlansResponse, error)
- func (c *GslClient) ListSimCards(request *model.ListSimCardsRequest) (*model.ListSimCardsResponse, error)
- func (c *GslClient) ListSimPoolMembers(request *model.ListSimPoolMembersRequest) (*model.ListSimPoolMembersResponse, error)
- func (c *GslClient) ListSimPools(request *model.ListSimPoolsRequest) (*model.ListSimPoolsResponse, error)
- func (c *GslClient) ListSimPricePlans(request *model.ListSimPricePlansRequest) (*model.ListSimPricePlansResponse, error)
- func (c *GslClient) RegisterImei(request *model.RegisterImeiRequest) (*model.RegisterImeiResponse, error)
- func (c *GslClient) ResetSimCard(request *model.ResetSimCardRequest) (*model.ResetSimCardResponse, error)
- func (c *GslClient) SetExceedCutNet(request *model.SetExceedCutNetRequest) (*model.SetExceedCutNetResponse, error)
- func (c *GslClient) SetSpeedValue(request *model.SetSpeedValueRequest) (*model.SetSpeedValueResponse, error)
- func (c *GslClient) ShowRealNamed(request *model.ShowRealNamedRequest) (*model.ShowRealNamedResponse, error)
- func (c *GslClient) ShowSimCard(request *model.ShowSimCardRequest) (*model.ShowSimCardResponse, error)
- func (c *GslClient) StartStopNet(request *model.StartStopNetRequest) (*model.StartStopNetResponse, error)
- func (c *GslClient) StopSimCard(request *model.StopSimCardRequest) (*model.StopSimCardResponse, error)
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)
清除实名认证信息
清除实名认证信息,接口只支持电信卡调用
详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.
func (*GslClient) EnableSimCard ¶
func (c *GslClient) EnableSimCard(request *model.EnableSimCardRequest) (*model.EnableSimCardResponse, error)
激活实体卡
创建激活实体卡申请,返回业务受理单号。1~2个工作日完成激活操作。
详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.
func (*GslClient) ListFlowBySimCards ¶
func (c *GslClient) ListFlowBySimCards(request *model.ListFlowBySimCardsRequest) (*model.ListFlowBySimCardsResponse, error)
批量查询实体卡流量
批量查询实体卡流量
详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.
func (*GslClient) ListProPricePlans ¶
func (c *GslClient) ListProPricePlans(request *model.ListProPricePlansRequest) (*model.ListProPricePlansResponse, error)
查询套餐列表信息
查询套餐列表信息
详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.
func (*GslClient) ListSimCards ¶
func (c *GslClient) ListSimCards(request *model.ListSimCardsRequest) (*model.ListSimCardsResponse, error)
查询SIM卡列表
查询SIM卡列表
详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.
func (*GslClient) ListSimPoolMembers ¶
func (c *GslClient) ListSimPoolMembers(request *model.ListSimPoolMembersRequest) (*model.ListSimPoolMembersResponse, error)
查询流量池成员列表
查询流量池成员列表
详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.
func (*GslClient) ListSimPools ¶
func (c *GslClient) ListSimPools(request *model.ListSimPoolsRequest) (*model.ListSimPoolsResponse, error)
查询流量池列表
查询流量池列表
详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.
func (*GslClient) ListSimPricePlans ¶
func (c *GslClient) ListSimPricePlans(request *model.ListSimPricePlansRequest) (*model.ListSimPricePlansResponse, error)
sim卡套餐列表查询
SIM卡套餐列表查询,实体卡只会有一个套餐,eSIM/vSIM可能会有多个套餐
详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.
func (*GslClient) RegisterImei ¶
func (c *GslClient) RegisterImei(request *model.RegisterImeiRequest) (*model.RegisterImeiResponse, error)
SIM卡机卡重绑
支持固定机卡重绑(需要上传IMEI,将SIM卡绑定到指定IMEI的设备)和普通机卡重绑(会清除之前绑定的设备,将SIM卡绑定到正在使用的设备),单卡每月只允许重绑2次,接口只支持电信卡调用。
详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.
func (*GslClient) ResetSimCard ¶
func (c *GslClient) ResetSimCard(request *model.ResetSimCardRequest) (*model.ResetSimCardResponse, error)
SIM卡单卡复机
创建复机申请,返回业务受理单号。1~2个工作日完成复机操作。
详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.
func (*GslClient) SetExceedCutNet ¶
func (c *GslClient) SetExceedCutNet(request *model.SetExceedCutNetRequest) (*model.SetExceedCutNetResponse, error)
SIM卡达量断网/恢复在用
SIM卡达量断网/恢复在用,只支持电信卡。
详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.
func (*GslClient) SetSpeedValue ¶
func (c *GslClient) SetSpeedValue(request *model.SetSpeedValueRequest) (*model.SetSpeedValueResponse, error)
实体卡限速
实体卡限速接口,支持电信和联通实体卡调用。
详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.
func (*GslClient) ShowRealNamed ¶
func (c *GslClient) ShowRealNamed(request *model.ShowRealNamedRequest) (*model.ShowRealNamedResponse, error)
查询SIM卡实名认证信息
实时查询SIM卡实名认证信息。
详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.
func (*GslClient) ShowSimCard ¶
func (c *GslClient) ShowSimCard(request *model.ShowSimCardRequest) (*model.ShowSimCardResponse, error)
查询SIM卡详情
查询SIM卡详情
详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.
func (*GslClient) StartStopNet ¶
func (c *GslClient) StartStopNet(request *model.StartStopNetRequest) (*model.StartStopNetResponse, error)
SIM卡申请断网/恢复在用
SIM卡申请断网/恢复在用,只支持电信卡。
详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.
func (*GslClient) StopSimCard ¶
func (c *GslClient) StopSimCard(request *model.StopSimCardRequest) (*model.StopSimCardResponse, error)
SIM卡单卡停机
创建停机申请,返回业务受理单号。1~2个工作日完成停机操作。
详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.