model

package
v0.0.69 Latest Latest
Warning

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

Go to latest
Published: Nov 25, 2021 License: Apache-2.0, BSD-2-Clause, BSD-3-Clause Imports: 5 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CutNetReq

type CutNetReq struct {
	Action string `json:"action"`
}

func (CutNetReq) String

func (o CutNetReq) String() string

type DeleteRealNameRequest

type DeleteRealNameRequest struct {
	SimCardId int64 `json:"sim_card_id"`
}

Request Object

func (DeleteRealNameRequest) String

func (o DeleteRealNameRequest) String() string

type DeleteRealNameResponse

type DeleteRealNameResponse struct {
	WorkOrderId    *int64 `json:"work_order_id,omitempty"`
	HttpStatusCode int    `json:"-"`
}

Response Object

func (DeleteRealNameResponse) String

func (o DeleteRealNameResponse) String() string

type DownUpTimeForSimCardReq

type DownUpTimeForSimCardReq struct {
	DownUpSwitch *int32 `json:"down_up_switch,omitempty"`
}

func (DownUpTimeForSimCardReq) String

func (o DownUpTimeForSimCardReq) String() string

type EnableSimCardRequest

type EnableSimCardRequest struct {
	SimCardId int64 `json:"sim_card_id"`
}

Request Object

func (EnableSimCardRequest) String

func (o EnableSimCardRequest) String() string

type EnableSimCardResponse

type EnableSimCardResponse struct {
	WorkOrderId    *int64 `json:"work_order_id,omitempty"`
	HttpStatusCode int    `json:"-"`
}

Response Object

func (EnableSimCardResponse) String

func (o EnableSimCardResponse) String() string

type ExceedCutNetReq

type ExceedCutNetReq struct {
	Action int32 `json:"action"`

	Quota *string `json:"quota,omitempty"`
}

func (ExceedCutNetReq) String

func (o ExceedCutNetReq) String() string

type ListFlowBySimCardsReq

type ListFlowBySimCardsReq struct {
	Iccids []string `json:"iccids"`
}

func (ListFlowBySimCardsReq) String

func (o ListFlowBySimCardsReq) String() string

type ListFlowBySimCardsRequest

type ListFlowBySimCardsRequest struct {
	Body *ListFlowBySimCardsReq `json:"body,omitempty"`
}

Request Object

func (ListFlowBySimCardsRequest) String

func (o ListFlowBySimCardsRequest) String() string

type ListFlowBySimCardsResponse

type ListFlowBySimCardsResponse struct {
	Body           *[]SimCardsFlowVo `json:"body,omitempty"`
	HttpStatusCode int               `json:"-"`
}

Response Object

func (ListFlowBySimCardsResponse) String

type ListProPricePlansRequest

type ListProPricePlansRequest struct {
	Limit *int64 `json:"limit,omitempty"`

	Offset *int64 `json:"offset,omitempty"`

	MainSearchKey *string `json:"main_search_key,omitempty"`

	FlowTotal *int64 `json:"flow_total,omitempty"`

	NetworkType *int64 `json:"network_type,omitempty"`

	LocationType *int64 `json:"location_type,omitempty"`

	CarrierType *int32 `json:"carrier_type,omitempty"`

	CountryType *int64 `json:"country_type,omitempty"`
}

Request Object

func (ListProPricePlansRequest) String

func (o ListProPricePlansRequest) String() string

type ListProPricePlansResponse

type ListProPricePlansResponse struct {
	Limit *int64 `json:"limit,omitempty"`

	Offset *int64 `json:"offset,omitempty"`

	Count *int64 `json:"count,omitempty"`

	PricePlans     *[]ProPricePlanVo `json:"price_plans,omitempty"`
	HttpStatusCode int               `json:"-"`
}

Response Object

func (ListProPricePlansResponse) String

func (o ListProPricePlansResponse) String() string

type ListSimCardsRequest

type ListSimCardsRequest struct {
	MainSearchType *int32 `json:"main_search_type,omitempty"`

	MainSearchKey *string `json:"main_search_key,omitempty"`

	Limit *int64 `json:"limit,omitempty"`

	Offset *int64 `json:"offset,omitempty"`

	SimStatus *int32 `json:"sim_status,omitempty"`

	DeviceStatus *int32 `json:"device_status,omitempty"`

	SimType *int32 `json:"sim_type,omitempty"`

	Order *ListSimCardsRequestOrder `json:"order,omitempty"`

	Sort *ListSimCardsRequestSort `json:"sort,omitempty"`

	Msisdn *string `json:"msisdn,omitempty"`

	CustomerAttribute1 *string `json:"customer_attribute1,omitempty"`

	CustomerAttribute2 *string `json:"customer_attribute2,omitempty"`

	CustomerAttribute3 *string `json:"customer_attribute3,omitempty"`

	CustomerAttribute4 *string `json:"customer_attribute4,omitempty"`

	CustomerAttribute5 *string `json:"customer_attribute5,omitempty"`

	CustomerAttribute6 *string `json:"customer_attribute6,omitempty"`

	RealNamed *bool `json:"real_named,omitempty"`
}

Request Object

func (ListSimCardsRequest) String

func (o ListSimCardsRequest) String() string

type ListSimCardsRequestOrder

type ListSimCardsRequestOrder struct {
	// contains filtered or unexported fields
}

func (ListSimCardsRequestOrder) MarshalJSON

func (c ListSimCardsRequestOrder) MarshalJSON() ([]byte, error)

func (*ListSimCardsRequestOrder) UnmarshalJSON

func (c *ListSimCardsRequestOrder) UnmarshalJSON(b []byte) error

type ListSimCardsRequestOrderEnum

type ListSimCardsRequestOrderEnum struct {
	ASC  ListSimCardsRequestOrder
	DESC ListSimCardsRequestOrder
}

func GetListSimCardsRequestOrderEnum

func GetListSimCardsRequestOrderEnum() ListSimCardsRequestOrderEnum

type ListSimCardsRequestSort

type ListSimCardsRequestSort struct {
	// contains filtered or unexported fields
}

func (ListSimCardsRequestSort) MarshalJSON

func (c ListSimCardsRequestSort) MarshalJSON() ([]byte, error)

func (*ListSimCardsRequestSort) UnmarshalJSON

func (c *ListSimCardsRequestSort) UnmarshalJSON(b []byte) error

type ListSimCardsRequestSortEnum

type ListSimCardsRequestSortEnum struct {
	CID       ListSimCardsRequestSort
	FLOW_USED ListSimCardsRequestSort
	FLOW_LEFT ListSimCardsRequestSort
}

func GetListSimCardsRequestSortEnum

func GetListSimCardsRequestSortEnum() ListSimCardsRequestSortEnum

type ListSimCardsResponse

type ListSimCardsResponse struct {
	Limit *int64 `json:"limit,omitempty"`

	Offset *int64 `json:"offset,omitempty"`

	Count *int64 `json:"count,omitempty"`

	SimCards       *[]SimDeviceVo `json:"sim_cards,omitempty"`
	HttpStatusCode int            `json:"-"`
}

Response Object

func (ListSimCardsResponse) String

func (o ListSimCardsResponse) String() string

type ListSimPoolMembersRequest

type ListSimPoolMembersRequest struct {
	SimPoolId int64 `json:"sim_pool_id"`

	Cid *string `json:"cid,omitempty"`

	Limit *int64 `json:"limit,omitempty"`

	Offset *int64 `json:"offset,omitempty"`

	BillingCycle string `json:"billing_cycle"`
}

Request Object

func (ListSimPoolMembersRequest) String

func (o ListSimPoolMembersRequest) String() string

type ListSimPoolMembersResponse

type ListSimPoolMembersResponse struct {
	Limit *int64 `json:"limit,omitempty"`

	Offset *int64 `json:"offset,omitempty"`

	Count *int64 `json:"count,omitempty"`

	PoolMembers    *[]PoolMemVo `json:"pool_members,omitempty"`
	HttpStatusCode int          `json:"-"`
}

Response Object

func (ListSimPoolMembersResponse) String

type ListSimPoolsRequest

type ListSimPoolsRequest struct {
	PoolName *string `json:"pool_name,omitempty"`

	Limit *int64 `json:"limit,omitempty"`

	Offset *int64 `json:"offset,omitempty"`

	BillingCycle *string `json:"billing_cycle,omitempty"`
}

Request Object

func (ListSimPoolsRequest) String

func (o ListSimPoolsRequest) String() string

type ListSimPoolsResponse

type ListSimPoolsResponse struct {
	Limit *int64 `json:"limit,omitempty"`

	Offset *int64 `json:"offset,omitempty"`

	Count *int64 `json:"count,omitempty"`

	Pools          *[]SimPoolVo `json:"pools,omitempty"`
	HttpStatusCode int          `json:"-"`
}

Response Object

func (ListSimPoolsResponse) String

func (o ListSimPoolsResponse) String() string

type ListSimPricePlansRequest

type ListSimPricePlansRequest struct {
	SimCardId int64 `json:"sim_card_id"`

	RealTime *bool `json:"real_time,omitempty"`

	Limit *int64 `json:"limit,omitempty"`

	Offset *int64 `json:"offset,omitempty"`
}

Request Object

func (ListSimPricePlansRequest) String

func (o ListSimPricePlansRequest) String() string

type ListSimPricePlansResponse

type ListSimPricePlansResponse struct {
	Body           *[]SimPricePlanVo `json:"body,omitempty"`
	HttpStatusCode int               `json:"-"`
}

Response Object

func (ListSimPricePlansResponse) String

func (o ListSimPricePlansResponse) String() string

type PoolMemVo

type PoolMemVo struct {
	Id *int64 `json:"id,omitempty"`

	Cid *string `json:"cid,omitempty"`

	SimPricePlanId *int64 `json:"sim_price_plan_id,omitempty"`

	FlowUsed *float64 `json:"flow_used,omitempty"`
}

func (PoolMemVo) String

func (o PoolMemVo) String() string

type ProPricePlanVo

type ProPricePlanVo struct {
	PricePlanId *string `json:"price_plan_id,omitempty"`

	PricePlanName *string `json:"price_plan_name,omitempty"`

	Description *string `json:"description,omitempty"`

	FlowTotal *int64 `json:"flow_total,omitempty"`

	PackageType *int32 `json:"package_type,omitempty"`

	Period *int32 `json:"period,omitempty"`

	PeriodType *int32 `json:"period_type,omitempty"`

	EffectType *int32 `json:"effect_type,omitempty"`

	SilentPeriodDay *int32 `json:"silent_period_day,omitempty"`

	SilentPeriodUnit *int32 `json:"silent_period_unit,omitempty"`

	AutoRenew *bool `json:"auto_renew,omitempty"`

	LocationDesc *string `json:"location_desc,omitempty"`

	LocationType *int32 `json:"location_type,omitempty"`

	SimType *int32 `json:"sim_type,omitempty"`

	CarrierType *int32 `json:"carrier_type,omitempty"`

	Price *int32 `json:"price,omitempty"`
}

func (ProPricePlanVo) String

func (o ProPricePlanVo) String() string

type RegisterImeiReq

type RegisterImeiReq struct {
	BindType int32 `json:"bind_type"`

	Imei *string `json:"imei,omitempty"`
}

func (RegisterImeiReq) String

func (o RegisterImeiReq) String() string

type RegisterImeiRequest

type RegisterImeiRequest struct {
	SimCardId int64 `json:"sim_card_id"`

	Body *RegisterImeiReq `json:"body,omitempty"`
}

Request Object

func (RegisterImeiRequest) String

func (o RegisterImeiRequest) String() string

type RegisterImeiResponse

type RegisterImeiResponse struct {
	WorkOrderId    *int64 `json:"work_order_id,omitempty"`
	HttpStatusCode int    `json:"-"`
}

Response Object

func (RegisterImeiResponse) String

func (o RegisterImeiResponse) String() string

type ResetSimCardRequest

type ResetSimCardRequest struct {
	SimCardId int64 `json:"sim_card_id"`

	Body *DownUpTimeForSimCardReq `json:"body,omitempty"`
}

Request Object

func (ResetSimCardRequest) String

func (o ResetSimCardRequest) String() string

type ResetSimCardResponse

type ResetSimCardResponse struct {
	WorkOrderId    *int64 `json:"work_order_id,omitempty"`
	HttpStatusCode int    `json:"-"`
}

Response Object

func (ResetSimCardResponse) String

func (o ResetSimCardResponse) String() string

type SetExceedCutNetRequest

type SetExceedCutNetRequest struct {
	SimCardId int64 `json:"sim_card_id"`

	Body *ExceedCutNetReq `json:"body,omitempty"`
}

Request Object

func (SetExceedCutNetRequest) String

func (o SetExceedCutNetRequest) String() string

type SetExceedCutNetResponse

type SetExceedCutNetResponse struct {
	WorkOrderId    *int64 `json:"work_order_id,omitempty"`
	HttpStatusCode int    `json:"-"`
}

Response Object

func (SetExceedCutNetResponse) String

func (o SetExceedCutNetResponse) String() string

type SetSpeedValueReq

type SetSpeedValueReq struct {
	SpeedValue int32 `json:"speed_value"`
}

func (SetSpeedValueReq) String

func (o SetSpeedValueReq) String() string

type SetSpeedValueRequest

type SetSpeedValueRequest struct {
	SimCardId int64 `json:"sim_card_id"`

	Body *SetSpeedValueReq `json:"body,omitempty"`
}

Request Object

func (SetSpeedValueRequest) String

func (o SetSpeedValueRequest) String() string

type SetSpeedValueResponse

type SetSpeedValueResponse struct {
	WorkOrderId    *int64 `json:"work_order_id,omitempty"`
	HttpStatusCode int    `json:"-"`
}

Response Object

func (SetSpeedValueResponse) String

func (o SetSpeedValueResponse) String() string

type ShowRealNamedRequest

type ShowRealNamedRequest struct {
	SimCardId int64 `json:"sim_card_id"`
}

Request Object

func (ShowRealNamedRequest) String

func (o ShowRealNamedRequest) String() string

type ShowRealNamedResponse

type ShowRealNamedResponse struct {
	Iccid *string `json:"iccid,omitempty"`

	RealNamed      *bool `json:"real_named,omitempty"`
	HttpStatusCode int   `json:"-"`
}

Response Object

func (ShowRealNamedResponse) String

func (o ShowRealNamedResponse) String() string

type ShowSimCardRequest

type ShowSimCardRequest struct {
	SimCardId int64 `json:"sim_card_id"`
}

Request Object

func (ShowSimCardRequest) String

func (o ShowSimCardRequest) String() string

type ShowSimCardResponse

type ShowSimCardResponse struct {
	SimCardId *int64 `json:"sim_card_id,omitempty"`

	AccountId *string `json:"account_id,omitempty"`

	Cid *string `json:"cid,omitempty"`

	SimPoolId *int64 `json:"sim_pool_id,omitempty"`

	Imei *string `json:"imei,omitempty"`

	SimStatus *int32 `json:"sim_status,omitempty"`

	DeviceStatus *int32 `json:"device_status,omitempty"`

	DeviceModel *string `json:"device_model,omitempty"`

	ActDate *string `json:"act_date,omitempty"`

	DeviceStatusDate *string `json:"device_status_date,omitempty"`

	NodeId *string `json:"node_id,omitempty"`

	Iccid *string `json:"iccid,omitempty"`

	NetworkType *string `json:"network_type,omitempty"`

	Dbm *string `json:"dbm,omitempty"`

	SignalLevel *string `json:"signal_level,omitempty"`

	SimType *int32 `json:"sim_type,omitempty"`

	TagNames *string `json:"tag_names,omitempty"`

	OrderId *int64 `json:"order_id,omitempty"`

	ExpireTime *string `json:"expire_time,omitempty"`

	PricePlanName *string `json:"price_plan_name,omitempty"`

	SimPricePlanId *int64 `json:"sim_price_plan_id,omitempty"`

	FlowLeft *float64 `json:"flow_left,omitempty"`

	FlowUsed *float64 `json:"flow_used,omitempty"`

	OperatorStatus *int32 `json:"operator_status,omitempty"`

	Msisdn *string `json:"msisdn,omitempty"`

	Imsi *string `json:"imsi,omitempty"`

	CustomerAttribute1 *string `json:"customer_attribute1,omitempty"`

	CustomerAttribute2 *string `json:"customer_attribute2,omitempty"`

	CustomerAttribute3 *string `json:"customer_attribute3,omitempty"`

	CustomerAttribute4 *string `json:"customer_attribute4,omitempty"`

	CustomerAttribute5 *string `json:"customer_attribute5,omitempty"`

	CustomerAttribute6 *string `json:"customer_attribute6,omitempty"`

	RealNamed *bool `json:"real_named,omitempty"`

	CutNetFlag *bool `json:"cut_net_flag,omitempty"`

	ExceedCutNetFlag *bool `json:"exceed_cut_net_flag,omitempty"`

	ExceedCutNetQuota *int32 `json:"exceed_cut_net_quota,omitempty"`

	ImeiBindRemainTimes *int32 `json:"imei_bind_remain_times,omitempty"`

	SpeedValue     *int32 `json:"speed_value,omitempty"`
	HttpStatusCode int    `json:"-"`
}

Response Object

func (ShowSimCardResponse) String

func (o ShowSimCardResponse) String() string

type SimCardsFlowVo

type SimCardsFlowVo struct {
	Id *int64 `json:"id,omitempty"`

	AccountId *string `json:"account_id,omitempty"`

	SimCardId *int64 `json:"sim_card_id,omitempty"`

	PricePlanId *string `json:"price_plan_id,omitempty"`

	PricePlanName *string `json:"price_plan_name,omitempty"`

	Iccid *string `json:"iccid,omitempty"`

	FlowTotal *float64 `json:"flow_total,omitempty"`

	FlowUsed *float64 `json:"flow_used,omitempty"`

	FlowLeft *float64 `json:"flow_left,omitempty"`
}

func (SimCardsFlowVo) String

func (o SimCardsFlowVo) String() string

type SimDeviceVo

type SimDeviceVo struct {
	SimCardId *int64 `json:"sim_card_id,omitempty"`

	AccountId *string `json:"account_id,omitempty"`

	Cid *string `json:"cid,omitempty"`

	SimPoolId *int64 `json:"sim_pool_id,omitempty"`

	Imei *string `json:"imei,omitempty"`

	SimStatus *int32 `json:"sim_status,omitempty"`

	DeviceStatus *int32 `json:"device_status,omitempty"`

	DeviceModel *string `json:"device_model,omitempty"`

	ActDate *string `json:"act_date,omitempty"`

	DeviceStatusDate *string `json:"device_status_date,omitempty"`

	NodeId *string `json:"node_id,omitempty"`

	Iccid *string `json:"iccid,omitempty"`

	NetworkType *string `json:"network_type,omitempty"`

	Dbm *string `json:"dbm,omitempty"`

	SignalLevel *string `json:"signal_level,omitempty"`

	SimType *int32 `json:"sim_type,omitempty"`

	TagNames *string `json:"tag_names,omitempty"`

	OrderId *int64 `json:"order_id,omitempty"`

	ExpireTime *string `json:"expire_time,omitempty"`

	PricePlanName *string `json:"price_plan_name,omitempty"`

	SimPricePlanId *int64 `json:"sim_price_plan_id,omitempty"`

	FlowLeft *float64 `json:"flow_left,omitempty"`

	FlowUsed *float64 `json:"flow_used,omitempty"`

	OperatorStatus *int32 `json:"operator_status,omitempty"`

	Msisdn *string `json:"msisdn,omitempty"`

	Imsi *string `json:"imsi,omitempty"`

	CustomerAttribute1 *string `json:"customer_attribute1,omitempty"`

	CustomerAttribute2 *string `json:"customer_attribute2,omitempty"`

	CustomerAttribute3 *string `json:"customer_attribute3,omitempty"`

	CustomerAttribute4 *string `json:"customer_attribute4,omitempty"`

	CustomerAttribute5 *string `json:"customer_attribute5,omitempty"`

	CustomerAttribute6 *string `json:"customer_attribute6,omitempty"`

	RealNamed *bool `json:"real_named,omitempty"`

	CutNetFlag *bool `json:"cut_net_flag,omitempty"`

	ExceedCutNetFlag *bool `json:"exceed_cut_net_flag,omitempty"`

	ExceedCutNetQuota *int32 `json:"exceed_cut_net_quota,omitempty"`

	ImeiBindRemainTimes *int32 `json:"imei_bind_remain_times,omitempty"`

	SpeedValue *int32 `json:"speed_value,omitempty"`
}

func (SimDeviceVo) String

func (o SimDeviceVo) String() string

type SimPoolVo

type SimPoolVo struct {
	Id *int64 `json:"id,omitempty"`

	PoolName *string `json:"pool_name,omitempty"`

	PricePlanName *string `json:"price_plan_name,omitempty"`

	PricePlanId *string `json:"price_plan_id,omitempty"`

	EffectiveTime *sdktime.SdkTime `json:"effective_time,omitempty"`

	ExpiredTime *sdktime.SdkTime `json:"expired_time,omitempty"`

	BillingCycle *string `json:"billing_cycle,omitempty"`

	FlowTotal *float64 `json:"flow_total,omitempty"`

	FlowUsed *float64 `json:"flow_used,omitempty"`

	FlowLeft *float64 `json:"flow_left,omitempty"`

	Quantity *int32 `json:"quantity,omitempty"`

	ModifyTime *sdktime.SdkTime `json:"modify_time,omitempty"`

	ActivatedSimQuantity *int32 `json:"activated_sim_quantity,omitempty"`

	InactiveSimQuantity *int32 `json:"inactive_sim_quantity,omitempty"`

	DisassembledSimQuantity *int32 `json:"disassembled_sim_quantity,omitempty"`

	OrderIds *string `json:"order_ids,omitempty"`
}

func (SimPoolVo) String

func (o SimPoolVo) String() string

type SimPricePlanVo

type SimPricePlanVo struct {
	Id *int64 `json:"id,omitempty"`

	AccountId *string `json:"account_id,omitempty"`

	SimCardId *int64 `json:"sim_card_id,omitempty"`

	Status *int32 `json:"status,omitempty"`

	PricePlanId *string `json:"price_plan_id,omitempty"`

	Cid *string `json:"cid,omitempty"`

	OrderId *string `json:"order_id,omitempty"`

	CreateTime *string `json:"create_time,omitempty"`

	ActiveTime *string `json:"active_time,omitempty"`

	StopTime *string `json:"stop_time,omitempty"`

	FlowTotal *float64 `json:"flow_total,omitempty"`

	FlowUsed *float64 `json:"flow_used,omitempty"`

	FlowLeft *float64 `json:"flow_left,omitempty"`

	Using *string `json:"using,omitempty"`

	PricePlanName *string `json:"price_plan_name,omitempty"`

	Description *string `json:"description,omitempty"`

	PackageType *int32 `json:"package_type,omitempty"`

	EffectType *int32 `json:"effect_type,omitempty"`

	SilentPeriodDay *int32 `json:"silent_period_day,omitempty"`

	SilentPeriodUnit *int32 `json:"silent_period_unit,omitempty"`

	AutoRenew *int32 `json:"auto_renew,omitempty"`

	LocationDesc *string `json:"location_desc,omitempty"`
}

func (SimPricePlanVo) String

func (o SimPricePlanVo) String() string

type StartStopNetRequest

type StartStopNetRequest struct {
	SimCardId int64 `json:"sim_card_id"`

	Body *CutNetReq `json:"body,omitempty"`
}

Request Object

func (StartStopNetRequest) String

func (o StartStopNetRequest) String() string

type StartStopNetResponse

type StartStopNetResponse struct {
	WorkOrderId    *int64 `json:"work_order_id,omitempty"`
	HttpStatusCode int    `json:"-"`
}

Response Object

func (StartStopNetResponse) String

func (o StartStopNetResponse) String() string

type StopSimCardRequest

type StopSimCardRequest struct {
	SimCardId int64 `json:"sim_card_id"`

	Body *DownUpTimeForSimCardReq `json:"body,omitempty"`
}

Request Object

func (StopSimCardRequest) String

func (o StopSimCardRequest) String() string

type StopSimCardResponse

type StopSimCardResponse struct {
	WorkOrderId    *int64 `json:"work_order_id,omitempty"`
	HttpStatusCode int    `json:"-"`
}

Response Object

func (StopSimCardResponse) String

func (o StopSimCardResponse) String() string

Jump to

Keyboard shortcuts

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